cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements
Update: Find information on Dropbox support during COVID-19 here
Close

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: 
Highlighted

insufficient_permissions error in paper doc api

Explorer | Level 3

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 from the list gives me result for download and folder info except one. Any doc api I call with this doc id gives me below error.

{
  "error_summary": "insufficient_permissions/...",
  "error": { ".tag": "insufficient_permissions" } }

 

I am using user endpoint to run these apis.

12 Replies 12

Re: insufficient_permissions error in paper doc api

Dropboxer
Dropboxer
Can you share the code and output for these calls so we can look into it? (Just make sure to redact your access token of course.) If you'd prefer to share privately, you can do so here: https://www.dropbox.com/developers/contact Thanks in advance!
Highlighted

Re: insufficient_permissions error in paper doc api

Explorer | 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"
  }
}

Highlighted

Re: insufficient_permissions error in paper doc api

Dropboxer
Dropboxer
Thanks! We're looking into it.
Highlighted

Re: insufficient_permissions error in paper doc api

Explorer | Level 3
Any update on the issue?
Highlighted

Re: insufficient_permissions error in paper doc api

Dropboxer
Dropboxer
I don't have an update on this yet. I'll follow up here once I do.
Highlighted

Re: insufficient_permissions error in paper doc api

Explorer | Level 3

Hi,

 

We are still not able to understand the error of insufficient_permission. Please could you check the issue?

Highlighted

Re: insufficient_permissions error in paper doc api

Dropboxer
Dropboxer

I don't have any news on this yet. I'll let you know when I do.

Highlighted

Re: insufficient_permissions error in paper doc api

New member | Level 2
New member | Level 2

I'm having the same issue with a few documents. I don't know the root cause but I've noticed that the documents that error are pretty old, I've created a few new ones and those seem to work fine.

Highlighted

Re: insufficient_permissions error in paper doc api

New member | Level 2
New member | Level 2

I have the same issue, even after I reset the oauth keys.

Polls
Do you know how to organize your files and folders?
We have created a guide on folder best practice, so you can get organized now check it out here.

Work Smarter with Dropbox

The way we work is changing. Share and discover new ways to work smarter with Dropbox in our community.

Sound good? Let's get started.
Need more support?