We’re Still Here to Help (Even Over the Holidays!) - find out more here.
Forum Discussion
saritafurtado
8 years agoExplorer | Level 3
insufficient_permissions error in paper doc api
Hi,
I am retreiving a list of docs using docs/list api. Then Im using the doc id to download and get folder info with docs/download and docs/get_folder_info apis respectively. All the doc ids f...
saritafurtado
8 years agoExplorer | Level 3
Please find below apis
------------------------- Doc list api -------------------------------
curl -X POST https://api.dropboxapi.com/2/paper/docs/list \
--header 'Authorization: Bearer xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx' \
--header 'Content-Type: application/json' \
--data '{}'
Response
{
"doc_ids": [
"fxbhYXaJ5wxyCeV2L39Ja",
"r8zJPDpkgjabrHVGYgTjX",
"GRi9LK2cRsWaliZKx1v0Z",
"sw1OEbgdSwotOEyzHp6Su",
"iSveJlpz5YLCMgSsiXXIw",
"VD8IN6mL544zImoDgFSzq",
"CrHcbZu2mBZZ1CTLQvPlC",
"f3iZK1HysnBhJpRWgssMI",
"rmvs7XWXwugR8H0Hz10rZ",
"abDU3F4134OqCdEDi808e",
"ODRcDwu5MF3ihzYkZLIxG",
"cMTTtjYSLSukyH0eyrXBo",
"hipH6jsblaRFkjlYwbF6u"
],
"cursor": {
"value": "ABUCTjUnw1F++PWiP8wa1X426ZG/m0rJAnz0C6Y01u93hFsjAsIg63UQL2O7sddVUEjy2l2XA8jqfjVqCdJkYySmJ3wkIorsEavdT/RB8Mas6QvWp8HE7ELDLe57XuxgIjM+5oJzLW1q43fqOIpezjeJx0iu9pDIz+LhA6LPJxt05dX7+wsteWQAPwTMq9svhcAhCTLKhoCZksvI/ofJ+LRIDzkhp6LKNbYNE8UnRPnyE8fCQjAMsm2O8VajjjaSTeld/z9SOuEvB+N0s7VtGMat8q+BLFN9/baUDnuuL6tpTDAXX+O8IapG95DBR/3M+JHMyxByxZ0J7kuZJ5nJaog6",
"expiration": "2018-07-31T04:32:55Z"
},
"has_more": false
}
------------------------- Doc download api -------------------------------
curl -X POST https://api.dropboxapi.com/2/paper/docs/download \
--header 'Authorization: Bearer xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx' \
--header 'Dropbox-API-Arg: {"doc_id":"fxbhYXaJ5wxyCeV2L39Ja","export_format":{".tag":"markdown"}}'
Response:
{
"error_summary": "insufficient_permissions/.",
"error": {
".tag": "insufficient_permissions"
}
}
schemacs
7 years agoNew member | Level 2
I have the same issue, even after I reset the oauth keys.
- Greg-DB7 years ago
Dropbox Community Moderator
Thanks for the notes! This is still open with engineering. I'll follow up here once I have an update.
- Shanness6 years agoNew member | Level 2
I'm having the same problem too. Is there an update for this?
- Greg-DB6 years ago
Dropbox Community Moderator
Shanness I still don't have an official update on this unfortunately. (For reference, it looks like this can occur due to some implementation details on the backend of how account migrations work with respect to Paper docs. That is, during the migration some extraneous doc IDs may be left over, but these don't actually refer to any distinct documents that the user doesn't already have access to via other doc IDs. So, it should be safe to ignore the failing doc IDs.)
The Paper API endpoints are deprecated though, so the team may not be able to prioritize fixing this, since these will be retired anyway. Please refer to the Paper Migration Guide for more information.
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!