-
Notifications
You must be signed in to change notification settings - Fork 61
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
MissingParameters when using GetSessionTokenAsync #156
Comments
Hey @coczero , I'm not sure to be honest. I do not really use this library any more. My feeling would be that maybe Last.fm have changed their API, but their documentation looks the same to me. https://www.last.fm/api/mobileauth Does it say which parameters are missing? |
Unfortunately it doesn't say which parameter is missing, at least its not visible from the LastResponse object. |
Hi @coczero, |
Hi @tolbxela, I'm just using the LastAuth object.
|
I don't see here how did you create the _lastAuth object. The flow should be:
|
Can you take a look at the request returned from the Last.fm API? Adding a proxy like Fiddler or Wireshark would help you do this. @tolbxela there's an alternate constructor on It's possible @coczero that your Auth object is not being created correctly but I am just guessing at that. The proxy logs from Fiddler/Wireshark should indicate which parameter is wrong (I agree it'd be useful if this were surfaced in the |
@rikkit that could be really the reason of the "missing parameter" error @coczero If you put the project to your VS Solution, you can debug the whole data transfer without using of any extra tools. |
Sorry if you think I was repeating what you said @tolbxela, but I am aware @coczero has used this project for a while, so unless the way the auth in their app works has been changed recently, I think it's indicative that the way The answer will lie in the JSON sent back from Last.fm, we're agreed on that. |
@tolbxela no everything is still the same way it has been for months now. |
I have just tested the Mobile Auth path with my current project commit (a911958) and it works well with my API Key, user/pass. |
Check if your Last.FM API Key still valid. They could possibly revoke them, if you do too much requests. |
@tolbxela is there a convenient way to check if the key is still valid? |
There was one: https://last.fm/api/accounts/ |
I guess, you should try to debug it thoughtfully at first. :-) |
I can still scrobble with that api key tho (I am still logged in), so it probably isn't the api key. |
Ok so it seems like this is an oddity in my app - I just tried a very minimal example (tho with same api key) and it works there. I have to do some more investigation. |
Yea, this was the result of a recent merge, basically I didn't pass the Username in lol... |
Multiple users of my app have reported that the login does not work currently.
I have tested and verified this behaviour.
The GetSessionTokenAsync call returns a MissingParameters result.
Any idea what might be up with that?
Cheers,
Tim
The text was updated successfully, but these errors were encountered: