Hi, did you get this to work?
I'm now having a similar issue when trying to upload a file to the app data storage using the UI:
...
2022-05-11 07:12:38,900 [runtime.mgmt.webapp:ERROR] [CP Server Thread-8] [webapp.py:385 - process_multipart_common()] upload appdata status: 400
...