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

Forum Discussion

Konstantinos K.1's avatar
Konstantinos K.1
New member | Level 1
9 years ago

API errors 400 and 401

Hi everyone. I try to create an app and the debugger (GNU gdb 7.8 for MinGW 4.9.2 32 bit) gives me one time the error 401 and two times the error 400.

401: Bad or expired token. This can happen if the user or Dropbox revoked or expired an access token. To fix, you should re-authenticate the user.

400: Bad input parameter. Error message should indicate which one and why.

https://www.dropbox.com/developers-v1/core/docs

Do you have any idea how to solve it? I really don't know how to authenticate a user. Maybe debugger can tell me more details?

I use the OAuth 1.0

Thanks in advance. 

2 Replies

Replies have been turned off for this discussion
  • Greg-DB's avatar
    Greg-DB
    Icon for Dropbox Community Moderator rankDropbox Community Moderator
    9 years ago

    We'll be happy to help with any issues you're having with the Dropbox API, but I'll need some more information. Please reply with:


    - the name and version of the platform and SDK/library you are using, if any
    - the full text of the error/any output
    - the relevant code snippet(s)

  • Konstantinos K.1's avatar
    Konstantinos K.1
    New member | Level 1
    9 years ago

    Hi everyone again, I found the solution. The problem was on App key and App secret. I had put less (<) and greater (>) symbols, before and after them respectively.

    Imagine App key

    dfhsdf03459025tg

    and Secret key

    fdg84h40f8g8sap

    So, I put these ones:

    <dfhsdf03459025tg>

    <fdg84h40f8g8sap>

    Now it has been solved. Thanks.

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!