We’re Still Here to Help (Even Over the Holidays!) - find out more here.
Forum Discussion
knoppys
6 years agoExplorer | Level 3
Dropzone and Upload Sessions
Yolo
Im using Dropzone.js to upload files to our server in the first instance.
In the secon Im streaming the file straight to a Dreopbox App folder. These files could be as big as 5-6GB so I...
Greg-DB
Dropbox Community Moderator
6 years agoAn 'incorrect_offset' error from /2/files/upload_session/append_v2 indicates that the call failed because the app supplied an incorrect "cursor.offset" value in the parameters. The app and the server need to agree about where in the upload process they are in order to upload exactly the right data.
I recommend adding some logging to determine where/when the code is using the incorrect offset.
The 'incorrect_offset' error should also include a 'correct_offset' value in the response body to indicate how far along the upload session on the server is. You can parse that out and use that to automatically restart at the correct part of the file.
By the way, I redacted it from your post, but you originally included your access token in your code. You should revoke that for your security.
About Discuss Dropbox Developer & API
Make connections with other developers
The Dropbox Community team is active from Monday to Friday. We try to respond to you as soon as we can, usually within 2 hours.
If you need more help you can view your support options (expected response time for an email or ticket is 24 hours), or contact us on X, Facebook or Instagram.
For more info on available support options for your Dropbox plan, see this article.
If you found the answer to your question in this Community thread, please 'like' the post to say thanks and to let us know it was useful!