We Want to Hear From You! What Do You Want to See on the Community? Tell us here!
Forum Discussion
dev_ninja
2 years agoHelpful | Level 5
Insufficient_space error message even though I have a lot of free space
I have a dropbox app that uploads documents to folders on behalf of users. When I tested it in production,I kept getting an insufficient_space error
{
"error_summary": "path/insufficient_space/",
"error": {".tag": "path", "reason": {".tag": "insufficient_space"},
...
}
Tried with two different dropbox user accounts and checked that there were no shared files eating into the storage space. What else could cause this?
Hi @Здравко @Greg-DB , I was using a third party tool and logged the generated request for inspection. Turns out it was trying to upload files to the wrong user. My bad. Problem resolved now
Thanks for the assistance
10 Replies
- Greg-DB2 years ago
Dropbox Community Moderator
This error should indicate that there isn't enough storage space in the relevant account for the upload. I just tried the upload functionality on the API and it succeeded for me, so if you're seeing this erroneously, there may be some other variable that we'll need to look into. I see you've also written in to support so we'll follow up with you there shortly to check on this for you specifically.
- Здравко2 years agoLegendary | Level 20
Hi dev_ninja,
At the beginning it's good idea to check the actual space immediately after your code get that error. Logging this would show you how much is the exact space. 😉 Also, checking the actual user account might be helpful.
Good luck.
- dev_ninja2 years agoHelpful | Level 5
Hi @Здравко @Greg-DB , I was using a third party tool and logged the generated request for inspection. Turns out it was trying to upload files to the wrong user. My bad. Problem resolved now
Thanks for the assistance
- dev_ninja2 years agoHelpful | Level 5
Здравко Greg-DB
I was using a third party tool and logged the generated request for inspection. Turns out it was trying to upload files to the wrong user. Problem resolved now.Thanks for the assistance
- shsv3826 months agoNew member | Level 1
Hi! Seems you solved your problem! Which error code did you get with this error?
- Greg-DB6 months ago
Dropbox Community Moderator
shsv382 This issue was referring to getting a "path/insufficient_space" error when uploading a file, such as when calling the /2/files/upload endpoint. That kind of error would be sent with a 409 status code. You can find more information in the "Errors" documentation and Error Handling Guide.
- shsv3826 months agoNew member | Level 1
Thank you for feedback! Unfortunately, there's no description for this error in the documentation, otherwise I wouldn't have asked.
- shsv3826 months agoNew member | Level 1
I will say more: I did not find this error even when searching for "insufficient_space" in the Javascript SDK github-repository
- Greg-DB6 months ago
Dropbox Community Moderator
shsv382 Note that some error types are nested, so you'll need to expand the types to see the full information. To find the information for the "path" errors returned by /2/files/upload in the /2/files/upload documentation, for instance, start by expanding the documentation for "path" under "UploadError" in the /2/files/upload "Errors" section by clicking on its "UploadWriteFailed" type, and then clicking on the "WriteError" type. There you'll see "insufficient_space", among others.
- shsv3826 months agoNew member | Level 1
Thank you very much!
About Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.6,035 PostsLatest Activity: 2 hours ago
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 or Facebook.
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!