cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements
Share your feedback on the Document Scanning Experience in the Dropbox App right here.

Dropbox API Support & Feedback

Find help with the Dropbox API from other developers.

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Re: Basic App Authentication

Basic App Authentication

dpapanek
New member | Level 2
Go to solution

Hello!

 

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

 

Capture.PNG

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

 

 

 

1 Accepted Solution

Accepted Solutions

Greg-DB
Dropbox Staff
Go to solution

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.

View solution in original post

2 Replies 2

Greg-DB
Dropbox Staff
Go to solution

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.

dpapanek
New member | Level 2
Go to solution

Thank you for the quick response!

Need more support?