question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

No scopes included in response - Sample app

See original GitHub issue

Hi,

I’m using the sample app as the codebase and have included code from the drag and drop app to insert an image into the board. However, I’m getting the following error:

Uncaught (in promise) Error while command execution: Method 'create' requires scope 'boards:write'

In the app configuration, I’ve clicked these checkboxes and then the button.
image

I’ve also tried clicking on the Install app link from the app itself. image

However, when I check the console, no scopes are included in the response. image

How do I request scopes while getting an access token? Do I need to include additional query string parameters?

Any help will be much appreciated. Thanks!

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:6 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
ClydeDzcommented, Dec 12, 2020

That’s very interesting. I created a new app in Miro and did the steps again, and this time I’m getting back the scope. For some reason, the previous app that I was reusing didn’t work (although everything configured correctly).

0reactions
ahmedelgabricommented, Dec 10, 2020

Were you able to add the image to your miro board? Just to be clear - the app itself is working, but I cannot add the image to my board.

Yes everything worked fine for me.

In the steps listed above, you didn’t explicitly mention anything about boards:write scope, then how did the response contain that scope?

Sorry about that, I forgot to mention that I also had board:read & board:write scopes too.

Read more comments on GitHub >

github_iconTop Results From Across the Web

The application asked for scope that doesn't exist on the ...
1 Answer ... Hello anonymous user, as the error says the following scopes are not listed in your app registration. So to get...
Read more >
Sample Use Cases: Scopes and Claims - Auth0
Learn how to use scopes and claims with applications and APIs. ... No. Notice that in this example: The response_type parameter includes one...
Read more >
Working with OAuth2 scopes | Apigee Edge
App -specific scopes override the master list of scopes taken from the products that are included in the app. For information about the...
Read more >
OAuth Permission scopes - Slack API
How OAuth scopes govern what an app can or can not do on Slack. ... When a user is responding to your OAuth...
Read more >
dropbox api Oauth response "No scope requested can be ...
This error message indicates that none of the "scopes" being requested during the authorization flow are registered for the app.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found