cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements
Are you interested in learning how media industry leaders use Dropbox Replay? Register for our webinar 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: 

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

Здравко
Legendary | 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.

Greg-DB
Dropbox Staff

@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.

Need more support?
Who's talking

Top contributors to this post

  • User avatar
    Greg-DB Dropbox Staff
  • User avatar
    Здравко Legendary | Level 20
What do Dropbox user levels mean?