Announcements

Help Wizard

Step 1

NEXT STEP

FAQs

Please see below the most popular frequently asked questions.

Loading article...

Loading faqs...

VIEW ALL

Ongoing Issues

Please see below the current ongoing issues which are under investigation.

Loading issue...

Loading ongoing issues...

VIEW ALL

Scope Extension Approved, but still getting Illegal scope

Solved!

Scope Extension Approved, but still getting Illegal scope

I had an app approved for Quota Extension, but when I submitted the application I forgot the playlist-modify-public scope (which I had used along with other scopes during development).

Once I realized the issue I submitted a scope extension for the missing scope which has been approved.

Since that approval (it's been over 24 hours), I still get 400 result with an Illegal Scope message when authorizing.  If I remove that scope everything is fine.

Has a bug occurred or do I just need to be patient?


Here's the request - which is basically the same from before the quota extension:

authorize?response_type=code&client_id=[REDACTED]&state=[REDACTED]&redirect_uri=[REDACTED]&scope=playlist-modify-private%20playlist-modify-public%20streaming%20user-library-read%20ugc-image-upload%20user-read-email%20user-read-private&code_challenge=[REDACTED]&code_challenge_method=S256

Reply

Accepted Solutions
Marked as solution

Hi there and welcome to the forum!

 

We've investigated the issue, and unfortunately it looks like something went wrong when the missing scope was applied to your client id. We've made sure the changes are applied correctly. Please let me know if it's working as intended now.

View solution in original post

4 Replies
Marked as solution

Hi there and welcome to the forum!

 

We've investigated the issue, and unfortunately it looks like something went wrong when the missing scope was applied to your client id. We've made sure the changes are applied correctly. Please let me know if it's working as intended now.

Everything works correctly.  Thank you very much @ohej.

Hi there,

 

Is there a solution for this issue already? I have the same issue with my scopes.

 

```

export function getAuthenticationURL(){
    const client_id = '.....';
    let redirect_uri = 'http://localhost:3000/callback';
   
works fine ->    //let scope = "user-read-private user-read-email user-library-read"; //user-library-modify user-modify-playback-state
doesn't work ->    let scope = "user-read-private user-read-email user-library-read user-library-modify user-modify-playback-state";
   
    let url = 'https://accounts.spotify.com/authorize';
    url += '?response_type=token';
    url += '&client_id=' + encodeURIComponent(client_id);
    url += '&scope=' + encodeURIComponent(scope);
    url += '&redirect_uri=' + encodeURIComponent(redirect_uri);

    return url;
}
```

 

Thanks in advance

A similar error occurred again.

So, I cannot log in.

Suggested posts

Let's introduce ourselves!

Hey there you,   Yeah, you! 😁   Welcome - we're glad you joined the Spotify Community!   While you here, let's have a fun game and get…

ModeratorStaff / Moderator/ 4 years ago  in Social & Random