We Want to Hear From You! What Do You Want to See on the Community? Tell us here!

Forum Discussion

dev_ninja's avatar
dev_ninja
Helpful | Level 5
2 years ago
Solved

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?

  • dev_ninja's avatar
    dev_ninja
    2 years ago

    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-DB's avatar
    Greg-DB
    Icon for Dropbox Community Moderator rankDropbox Community Moderator
    2 years ago

    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.

  • dev_ninja's avatar
    dev_ninja
    Helpful | Level 5
    2 years ago

    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_ninja's avatar
    dev_ninja
    Helpful | Level 5
    2 years ago

    Здравко 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

  • shsv382's avatar
    shsv382
    New member | Level 1
    6 months ago

    Hi! Seems you solved your problem! Which error code did you get with this error?

  • shsv382's avatar
    shsv382
    New member | Level 1
    6 months ago

    Thank you for feedback! Unfortunately, there's no description for this error in the documentation, otherwise I wouldn't have asked.

  • shsv382's avatar
    shsv382
    New member | Level 1
    6 months ago

    I will say more: I did not find this error even when searching for "insufficient_space" in the Javascript SDK github-repository

  • Greg-DB's avatar
    Greg-DB
    Icon for Dropbox Community Moderator rankDropbox Community Moderator
    6 months ago

    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. 

About Dropbox API Support & Feedback

Node avatar for Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.6,035 PostsLatest Activity: 2 hours ago
409 Following

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!