We're making changes to the Community, so you may have received some notifications - thanks for your patience and welcome back. Learn more here.

Forum Discussion

Kevmasgrande's avatar
Kevmasgrande
New member | Level 2
7 months ago

400 Error - Path root is not supported for sandbox app

I'm new to the dropbox API and getting an error I can't find a clear explanation for when building a Make.com automation.

 

[400] Error in call to API function "files/upload_session/start": Path root is not supported for sandbox app

 

Can anyone help me understand the nature of this error, and where I go to resolve it? I have a Scoped App with all the Files & Folders permissions active, and the make.com redirect in place.

  • Greg-DB's avatar
    Greg-DB
    Icon for Dropbox Staff rankDropbox Staff

    This error is indicating that the app is registered for the "app folder" access type but it is setting the 'Dropbox-API-Path-Root' header when calling the Dropbox API. 

     

    Apps with the app folder access type can't use the the 'Dropbox-API-Path-Root' header, because they are always automatically rooted to their app folder.

     

    To resolve this error, you should either not set that header, or if you do need to access content outside the app folder, register a new app with full Dropbox access instead.

About Dropbox API Support & Feedback

Find help with the Dropbox API from other developers.

5,875 PostsLatest Activity: 2 years ago
323 Following

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!