Forum Discussion

brajMohan's avatar
brajMohan
Explorer | Level 3
5 years ago

What will be the error message for create paper API with new Dropbox account

As paper APIs are migrated for new Dropbox account, we want to show appropriate error message to inform about paper API migration to the user of our application, but in api analysis we found that we are getting insufficient permission error for create paper api call as below,

https://api.dropboxapi.com/2/paper/docs/create
{
    "error_summary": "insufficient_permissions/...",
    "error": {
        ".tag": "insufficient_permissions"
    }
}

Is this expected error message we will get for paper APIs with new account(created after Sept 19) or is it some another issue with the permissions?

 

  • Greg-DB's avatar
    Greg-DB
    Icon for Dropbox Staff rankDropbox Staff

    Yes, this is the expected error message for this endpoint for a new account with Paper documents as files in the Dropbox filesystem. 

     

    For reference, from the /2/paper/docs/create documentation:

    insufficient_permissions Void Your account does not have permissions to perform this action. This may be due to it only having access to Paper as files in the Dropbox filesystem. For more information, refer to the Paper Migration Guide.