Forum Discussion

dpapanek's avatar
dpapanek
New member | Level 2
5 years ago
Solved

Basic App Authentication

Hello!

 

Is it possible to use basic app authentication as outlined in this article?

 

The response I am receiving is:

 

Error in call to API function "files/get_metadata": Invalid authorization value in HTTP header "Authorization": "Basic xxxxxxxxxxxxxxxxxxx
xxxxx".  Expecting "Bearer <oauth2-access-token>".

Any help is appreciated. Thank you!

 

Regards,

dpapanek

 

 

 

  • Each particular endpoint is only implemented to work with some type(s) of authentication, so you can only use whichever one(s) the particular endpoint happens to support. You can find which type(s) each endpoint supports in the documentation, under "AUTHENTICATION".

    For example, /2/files/get_metadata doesn't support app authentication, so you can't call it with that.

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

    Each particular endpoint is only implemented to work with some type(s) of authentication, so you can only use whichever one(s) the particular endpoint happens to support. You can find which type(s) each endpoint supports in the documentation, under "AUTHENTICATION".

    For example, /2/files/get_metadata doesn't support app authentication, so you can't call it with that.

About Dropbox API Support & Feedback

Node avatar for Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.5,950 PostsLatest Activity: 12 hours ago
352 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!