We're making changes to the Community, so you may have received some notifications - thanks for your patience and welcome back. Learn more here.

Forum Discussion

  • Alexandra F.1's avatar
    Alexandra F.1
    New member | Level 1

    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

    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

    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 Staff rankDropbox Staff

    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 & Feedback

Find help with the Dropbox API from other developers.

5,875 PostsLatest Activity: 2 years ago
323 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!