You might see that the Dropbox Community team have been busy working on some major updates to the Community itself! So, here is some info on what’s changed, what’s staying the same and what you can expect from the Dropbox Community overall.

Forum Discussion

notstrom's avatar
notstrom
Helpful | Level 6
2 years ago

Create a Dropboxdirectory from code

Hi   I want to create a directory from a C# program in Dropbox. When I run this from my desktop PC everything works perfectly. As soon as I run the program from my laptop I get the error message:...
  • Greg-DB's avatar
    2 years ago

    That error indicates that you're using an access token/app that does not have the 'files.content.write' scope enabled.

     

    To resolve that, you'll need to enable that 'files.content.write' scope for that particular app, by using the "Permissions" tab of the app's page on the App Console, while signed in to the account that owns that app.

     

    When making changes to the scopes for your app, to save the changes you'll need to click the "Submit" button in the bar at the bottom of the page. (Note that the bottom bar may be obscured by a cookie banner, if you haven't dismissed it yet, so be sure to do so first.)

     

    Also, be aware 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.

About Dropbox API Support & Feedback

Node avatar for Dropbox API Support & Feedback

Find help with the Dropbox API from other developers.

5,915 PostsLatest Activity: 5 hours ago
333 Following

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 or Facebook.

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!