Need to see if your shared folder is taking up space on your dropbox 👨💻? Find out how to check here.
Forum Discussion
icebeartellsnolies
6 months agoExplorer | Level 3
LANGCHAIN DOC LOADER CANT ACCESS; SAYS MISSING SCOPE
I am using langchain_community.document_loaders.DropboxLoader
the problem is with my api key. although in the permissions i have allowed files.metadata.read as well as write. but i get this error:
AuthError('missing_scope', TokenScopeError(required_scope='files.metadata.read')))
anyone knows a thing about it?
3 Replies
- iNeil6 months ago
Dropbox Community Moderator
Hi icebeartellsnolies ,
Once you’ve enabled the new scopes for your API app, you’ll need to re-authorize the app to generate a new access token for those scopes. As DB-Des mentioned, adding a scope to your app via the App Console does not retroactively apply that scope to existing access or refresh tokens. This issue is related to the access token, not the API key.If you're still experiencing difficulties, please provide the exact steps you've taken to reproduce the issue but do not include any access or refresh tokens.
Please note that you can use the Dropbox API Explorer to quickly test the Dropbox API with your access token.
- icebeartellsnolies6 months agoExplorer | Level 3
so i tried to generate my api key after updating the settings but i am unable to do so. it allows me only to generate my api key after i have confirmed the settings. in this case its impossible to do as is required
- DB-Des6 months ago
Dropbox Community Moderator
A 'missing_scope' error indicates that while the app is permitted to use that scope, the particular access token you're using to make the API call does not have that scope granted.
Please note that just adding a scope to your app via the App Console does not retroactively grant that scope to existing access tokens or refresh tokens. That being the case, to make any API calls that require that scope, you'll need to re-authorize the app to get a new access token (and refresh token, if being used) with that scope. For further information, please refer to the OAuth Guide and authorization documentation.
About Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.
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!