Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upGitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
System.NullReferenceException @ GetStatus() #134
Comments
|
Do you make sure spotify is running and connected before requesting the status? You can do this with |
|
Mh, I can confirm something isn't working correctly ATM, it seems like spotify changed something with OAuth tokens, gonna need some time to find out what tho. And btw, your |
|
@jipjan Yes, I check it before I call the function. |
|
But what is wrong with the OAuth? I'm using the API at this very moment and don't have any issues.. |
|
Do you have updated your Spotify (client)? |
|
Can you guys please test the following endpoint: https://open.spotify.com/token |
|
Don't know, my version is 1.0.50.41368.gbd68dbef |
|
And please test it within the API and with a browser. You can put a breakpoint in the |
|
nope, it's working, got: |
|
@jipjan I've the same version. hm.
|
|
Are those values gathered by the C# API client? Maybe just an issue on my side... |
|
I'm using the compiled .dll in my project atm, so it's kinda hard for me to test this. As far as I can see everything is working fine in my solution. |
|
Adding a "user-agent" Header in GetOAuthKey() method's WebClient worked for me. |
|
Can confirm. Adding a User-Agent header in the GetOAuthKey will do the trick to get the local api working again. |
…anges in the Spotify API
#134 Adds User-Agent in the OAuth request due to recent changes in th…
|
Will be published as a Hotfix in 2.13.1 within the next hours |
|
Hello, Maybe this issue is open again. Any Ideas? Struggling with this issue since a couple of days... |
|
A simple search would help in a lot of times... #254 |

Hi,

I get a System.NullReferenceException if I call the GetStatus() function.