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 🙂



 

Child Item
Child Item
Child Item

Accepted answers

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 🙂

All comments

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.

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 🙂

Child Item
Child Item