You might see that the Dropbox Community team have been busy working on some major updates to the Community itself! So, here is some info on what’s changed, what’s staying the same and what you can expect from the Dropbox Community overall.

Forum Discussion

Lechucico's avatar
Lechucico
Helpful | Level 6
8 years ago

Error (400) with redirect_uri

I have the following api:

 

guest1:8080/DropboxRest/app/dropbox/start: this url initializes everything and goes to dropbox for getting an access token.

 

guest1:8080/DropboxRest/app/dropbox/finish: this is the redirect_uri where dropbox have to redirect. Instead of that, I obtain a 400 error.

 

I've declared this url on Oauth2 Redirect URIs.

 

guest1 is just a hostname that goes to 172.28.128.3

 

What I'm missing?

  • I've just changed the guest1 for localhost and now it's working properly. Thanks anyway!

  • Sanchez's avatar
    Sanchez
    Icon for Dropbox Staff rankDropbox Staff

    Hey Lechucico, welcome to our forum!

    Well, shoot, this isn’t something I run into everyday here 😕. If you write in to our support team, one of our agents can dig in with you a bit further, and get your query to the right desk for assistance!

    Thanks, and have a great weekend 😎

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

    Lechucico To clarify, are you getting the 400 on guest1:8080/DropboxRest/app/dropbox/finish, or from Dropbox itself? Please share full Dropbox URL if that's where you're getting the error, as well as the full error message.

    • Lechucico's avatar
      Lechucico
      Helpful | Level 6

      I've just changed the guest1 for localhost and now it's working properly. Thanks anyway!

About Dropbox API Support & Feedback

Node avatar for Dropbox API Support & Feedback

Find help with the Dropbox API from other developers.

5,912 PostsLatest Activity: 12 hours ago
333 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!