The operation failed with an error. [401] missing_scope

i’am trying to run a scenario to get a file link from a dropbox api call but it keeps popping an error “The operation failed with an error. [401] missing_scope”
this is a screen shot of my scenario

Hello @Magnetic_Atraction,

It seems your Dropbox API key isn’t scoped for the endpoint you’re trying to use.
The correct permission wasn’t given when you set up your API key.

I’m not familiar enough with Dropbox API, but you need to either add the scope or create a new key and include that scope if you’re not able to add to the existing.

me too i dont know about dropbox i’ve tried to create an api key but i failed

Good point, if it’s a built-in module all the required scopes should have been included when you created the connection. Perhaps it’s a bug.

Can you describe the type of Dropbox account you have and your role? Do you own it or on a team owned by someone else?

yes i own the dropbox account and it’s the basic one with 2go storage.
just to mention that this scenario is working fine on another account, but here it shows the scope error, wierd

I just realized it’s a Make an API Key module so there is still a chance whatever account you’re using still doesn’t have correct permission to do what you’re trying to do.

If you’re able, replicate the request in Postman or similar tool, and see if it works or you get the same or similar error. Maybe then you’ll catch an error that just wasn’t detected before.

You could also share details of the endpoint, query parameters, etc… you’re using and all the module settings and maybe someone will notice something that needs to be fixed? Just hide personal data of course.

Welcome to the Make community!

To get around this, you’ll need to create a custom Dropbox application with ALL the relevant scopes, and you can’t use Make’s default Dropbox connection.

For more information, go to Getting Started - Developers - Dropbox and click on the “App Console” tab.

Hope this helps! Let me know if there are any further questions or issues.

@samliew

P.S.: Investing some effort into the Make Academy will save you lots of time and frustration using Make.

1 Like

Hello…I’m getting the same error with Dropbox as well and looking for advice.

In another thread, the suggestion was to recreate the Dropbox connection but add ‘sharing.write’ under the Additional Scopes option. Unfortunately that did not work for me.

I see @samliew is suggesting a custom app, but that seems odd considering tutorials on Youtube are doing the exact same thing with the built-in Dropbox module that Make provides.

Yes its weird, personaly i quited using dropbox, instead i am using google drive

Hi @Magnetic_Atraction @Jonathan_Richey

For me it worked directly using the Make.com connection.

And when I ran the scenario then it created the shareable link

I have Dropbox Plus account, but ideally it should work for any Dropbox account.

I did try switching to Google Drive and I got the image to successfully upload to my drive account, but then it fails with the Instagram module.

Can you tell me what you used for the Photo URL filed in the IG module?

Thanks!

Right, I tried that as well.

The next module in my scenario is Instagram and I’m trying to create a photo post.

However when I try and use the Download URL or the URL variables I get the following error:

use the “web content link”

Magically, this started working for me today!

I did add the additional scope to my Dropbox connection (sharing.write) so I guess that was the solution?