Need to see if your shared folder is taking up space on your dropbox 👨💻? Find out how to check here.
Forum Discussion
Sayak B.
10 years agoExplorer | Level 3
Dropbox API in C# how to reuse the session id of bulk file upload in case file could not be uploaded by any issue.
In case of uploading big file of more than 100 mb, if by some case the internet connection get dropped then how it will be possible to upload the same file from the chunk it has been failed to upload...
Sayak B.
10 years agoExplorer | Level 3
Finally I resolved the "incorrect_offset" issue by catching this exception and uploading the next slice. But the thing is after successful upload the file is corrupt. i.e. I am uploading zip file. that is corrupt and can not unzip by windows. What I am doing wrong and why it is happening ? can you please suggest what should be done ?
Greg-DB
Dropbox Community Moderator
10 years agoIt sounds like there may be a bug in your uploading logic. It's hard to say what it may be offhand, so I recommend adding some logging to your upload code to see where the issue may be and determine where the incorrect data is being sent up, or if you're sending the data out of order or something.
Have you tried uploading via the sample I linked to though? Does that work correctly for you?
- 0ylanmorisson9 years agoExplorer | Level 3
I'm facing the same issue here. How can I get the correct offset by using UploadSessionOffsetError.CorrectOffset ? Can you pls show me some sample code?
How can I pass the correct offset as the right cursor to the following method?
await client.Files.UploadSessionAppendV2Async(cursor, body: memStream);
- Greg-DB9 years ago
Dropbox Community Moderator
0ylanmorisson It looks like you opened another thread for this, so I'll follow up there.
About Dropbox API Support & Feedback
Find help with the Dropbox API from 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!