Your workflow is unique 👨‍💻 -  tell us how you use Dropbox here.

Forum Discussion

5 Replies

Replies have been turned off for this discussion
  • Alexandra F.1's avatar
    Alexandra F.1
    New member | Level 1
    10 years ago

    This could be a number of issues. Can you share the code snippet that calls the endpoint, and the full text of the error output? 

  • le h.'s avatar
    le h.
    New member | Level 1
    10 years ago

    Error in call to API function "users/get_current_account": Must provide HTTP header "Authorization" or URL parameter "authorization".

  • le h.'s avatar
    le h.
    New member | Level 1
    10 years ago

    public async Task<string> Httpclient(string link)
    {
    HttpClient client = new HttpClient();
    HttpResponseMessage response= await client.GetAsync(link);
    return await response.Content.ReadAsStringAsync();
    }

  • Greg-DB's avatar
    Greg-DB
    Icon for Dropbox Community Moderator rankDropbox Community Moderator
    9 years ago

    You're using a URL parameter named "access_token", but per the error message that should instead be named "authorization". (Or, you can use an Authorization header.)

About Dropbox API Support and Feedback

Node avatar for Dropbox API Support and Feedback
Get help with the Dropbox API from fellow developers and experts.

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!