Need to see if your shared folder is taking up space on your dropbox 👨💻? Find out how to check here.
Forum Discussion
dwgabriel
5 years agoExplorer | Level 3
Dropbox UploadSession Start/Append/Finish with Fetch - TypeError:Failed to fetch
Hi guys, I'm using Fetch with Dropbox for file uploads on my website and it works fine for uploads <150 mb
(https://content.dropboxapi.com/2/files/upload)
However, when I attempt upload >150 ...
Greg-DB
Dropbox Community Moderator
5 years agoI'm not sure off hand what that error would indicate. (It's not an error from the Dropbox API itself.) Do you have a live sample page where I can plug in my own access token and test this out so I can take a look?
- dwgabriel5 years agoExplorer | Level 3
GREG! Thank you so much for answering.
Yes, just created a live page for you to test.
https://www.nebula.my/greg-dbIt uses the exact same code I showed in my post, just substituted my access token with the input.
- Greg-DB5 years ago
Dropbox Community Moderator
Thanks! I just tried this out but I don't see the "ERR_INVALID_HANDLE" error you mentioned, when attempting to upload a file larger than 150 MB. What browser/version are you using?
I do notice that you don't seem to be sending the session ID up properly on the /append_v2 calls. The parameters being sent look like:
{"cursor": {"session_id": "undefined","offset":"8000000"},"close":false}So, it seems you have a bug when you get or set the session ID. You'll need to make sure you supply that session ID value (as returned by /start), not undefined.
- dwgabriel5 years agoExplorer | Level 3
The ERR_INVALID_HANDLE comes from here, when you mouse over the Status column of the request.
I'm currently using Google Chrome - Version 89.0.4389.114 (Official Build) (64-bit)
Thanks Greg! I'll go fix that right away.
However, would the incorrect session_id header explain the Start session failing as well?
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!