Closed padi-dev-lucvt closed 11 months ago
Hi @padi-dev-lucvt Thanks for filing the issue.
I used the exact same code as your provided with different versions of the api client (including 2.13
) and I was able to upload the video without any issues.
If you're still facing this issue, I would recommend trying different video files, changing the file paths and changing the environment(for example try the code in a fresh docker container).
The code you've shown is completely correct.
I'll be closing this issue for now, but if for some reason you're having troubles, please feel free to reopen this. Thanks :)
Environment details
Code example
Response error
Invalid request. The number of bytes uploaded is required to be equal or greater than 262144, except for the final request (it's recommended to be the exact multiple of 262144). The received request contained 8192 bytes, which does not meet this requirement