Forum Discussion

Aadi12's avatar
Aadi12
Explorer | Level 4
2 years ago

API not working

Hello Everyone!
I try to call "file/upload API but it show this error
Error: Error in call to API function "files/upload": Unexpected select user header. Your app does not have permission to use this feature

API That I used: https://content.dropboxapi.com/2/files/upload
and I also give the app access :  "files.content.write"

Please resolve my problem

  • Здравко's avatar
    Здравко
    Legendary | Level 20

    Hi Aadi12,

    The error message is clear enough, I think. As seems you have used 'Dropbox-API-Select-User' header in you request (either directly or through some SDK method), but your authorization/permission is NOT supposing it. 🤷 Just wipe it out. 😉

    Hope this helps.

    • Aadi12's avatar
      Aadi12
      Explorer | Level 4

      yup resolve problem thank you!

       

About Dropbox API Support & Feedback

Node avatar for Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.5,943 PostsLatest Activity: 28 minutes ago
351 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!