I'm trying to get a basic Dropbox API call going in PHP. I'm using the kunalvarma05/dropbox-php-sdk SDK.
I have a standard Dropbox account.
I registered an APP (Status: Development / Permission type: Scoped App(?)) I setup an APp Key and App Secret. I generated an Access Token.
I added permissions to the App, I just want to read files in a folder, download them and then delete them one by one.
I'm using the API explorer on https://dropbox.github.io/dropbox-api-v2-explorer/#files_get_metadata to test as my PHP code returns a Guzzle error: error":{".tag":"missing_scope","required_scope":"files.metadata.read"},"error_summary":"missing_scope/"
The API Explorer returns the same error with the Access Token inserted.
The Support Forums says I need to regenerate the Access Token as I added permissions. I tried to generate a new Access Token and got the error:
You must be a team administrator to perform this operation.
How must I re-generate the Access Token? I'm a single user Dropbox account. There is no one else. I tried to delete some of the App Permissions, but some are greyed out (makes no sense or logic) and I'm unable to change them.
Something so simple is so frustrating.