cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements
We're looking to hear about your experience when using Dropbox in a web browser. What parts of Dropbox feels very slow to you and takes a lot of time to get done? What are you trying to do in the Dropbox web browser when you experience slowness? Tell us 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: 
1
Ask
2
Reply and help

Access Token Generate with api in php

Access Token Generate with api in php

Bhagwant Singh
New member | Level 2

I want to generate access token for the app, it is expiring with one use only.  How can i generate it.

I'm hittting https://www.dropbox.com/oauth2/authorize?client_id=clien_id&redirect_uri=http://localhost/script/dat...

in the url but it is asking me username name password. when I putt my username and password it showing me error (Please sign in with a work account.).

what permission need to be active to generate acess token

2 Replies 2

Re: Access Token Generate with api in php

Здравко
Super Collaborator | Level 20

Hi @Bhagwant Singh,

Since you're planning to use your script on your account only (personal, non team account), make sure no any team scope is active in your application' permissions! Seems like there is least one such scope and that's why it's forced/expected a team account to be logged in.

Hope this helps.

Re: Access Token Generate with api in php

Greg-DB
Dropboxer

@Bhagwant Singh Yes, as Здравко said, it sounds like you have enabled team scopes on your app, but don't have a team account. You can disable the team scopes on your app using the "Permissions" tab of the app's page on the App Console.

Who's talking

Top contributors to this post

  • User avatar
    Greg-DB Dropboxer
  • User avatar
    Здравко Super Collaborator | Level 20
What do Dropbox user levels mean?
Need more support?