Decoding error - when uploading video via curl

we are using CURL to upload a file located on a particular URL - to stream . However we keep getting this :
“result”: null,
“success”: false,
“errors”: [
“code”: 10004,
“message”: “Decoding Error”
“messages”: null

The same file when uploaded from the cloudflare backend - works fine.

Can you let us know what the “Decoding Error” means .

Here’s a sample video we’ve been trying to upload :


We are facing the same decoding error as shared abovd. Can someone share if they found a solution ? Please.

I had this error when I added stuff other than name to the meta field. Uploading with curl in PHP.

Stream returns this error if the request body is not a correctly formatted JSON document.
Would you mind sharing the request body of the request that failed request?