Backendless Version
Cloud 9
Client SDK
REST
Application ID
7E2B6F4D-30C8-734C-FF85-4B835F84EB00
Expected Behavior
Please describe the expected behavior of the issue, starting from the first action.
- Sending a request as documented here: Save Files From Byte Arrays - Backendless REST API Documentation
- Getting a response about the success of it also as documented
Actual Behavior
I’m sending a request as specified by Save Files From Byte Arrays - Backendless REST API Documentation
Response is not useful to me - the error message seems to be empty:
_on_SendEvents_request_completed: 404 Data: "{"code":8002,"message":"Could not parse request with message: , status code 404, headers PUT /custom-domain-app-id-place/custom-domain-api-key-place/files/?path=binary/sessions/2727130063-23a50d41-61d7-11ec-84d9-806e6f6e6963_2022-06-09-14-37/events-6.txt",[…]
It is a PUT request to
https://belovedfrog.backendless.app/api/files/binary/sessions/xyz/events-4.txt
The documentation uses two different Content Types. In the example text/plain is used, which also used to work. The request does not succeed either with text/plain nor with multipart/form-data as Contnt Type.
From the error message it does look like the “custom-domain-app-id-place” is something that should be replaced by backendless, but isn’t. COuld that be the isue?