Need to see if your shared folder is taking up space on your dropbox 👨‍💻? Find out how to check here.

Forum Discussion

abhikarn's avatar
abhikarn
Explorer | Level 3
6 years ago
Solved

Authentication for File getContent - https://content.dropboxapi.com/2/cloud_docs/get_content

Hi, While cosumning the api to get the file content ( https://content.dropboxapi.com/2/cloud_docs/get_content). I am facing an error mentioned below:   Error in call to API function "cloud_do...
  • Greg-DB's avatar
    Greg-DB
    6 years ago

    The /2/files/download endpoint is a "content-download" style endpoint, meaning it expects the parameters in the 'Dropbox-API-Arg' request header, not the request body. 

     

    You're sending your parameters in the request body, so it's returning that error. Move your parameter JSON to the 'Dropbox-API-Arg' request header instead.

About Dropbox API Support & Feedback

Node avatar for 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!