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

Getting {"code":0,"message":"Not Found"}

Solved!

Getting {"code":0,"message":"Not Found"}

 

Plan

Premium

Country

Italy

 

Windows 10

 

My Question or Issue
Hello there guys, i'm trying to develop a discord bot to control spotify. I've followed the spotify api documentation while using a c# wrapper. I've reached the point where i generate a url to request authorization from the user, but after requesting the authorization and clicking accept, i get this Error . 
This is my Code . Thanks for any kind fo help 🙂



 

Reply

Accepted Solutions
Marked as solution

I've fixed actually, what was happening was just part of the process. The user was getting redirected to the localhost redirect url and an access token was being provided. All i had to do was make the API Call and it would eventually work. Hope this can help somebody in the future 🙂

View solution in original post

2 Replies

It looks like you are mixing Authorization Code with Client Credentials.

To make it work, you will need to start over, and only use the code for Authorization or PKCE.

XimzendSpotify Star
Help others find this answer and click "Accept as Solution".
If you appreciate my answer, maybe give me a Like.
Note: I'm not a Spotify employee.
Marked as solution

I've fixed actually, what was happening was just part of the process. The user was getting redirected to the localhost redirect url and an access token was being provided. All i had to do was make the API Call and it would eventually work. Hope this can help somebody in the future 🙂

Suggested posts