NintendoSwitchRESTAPI icon indicating copy to clipboard operation
NintendoSwitchRESTAPI copied to clipboard

Account Login -- "Upgrade required."

Open joshbirnholz opened this issue 6 years ago • 4 comments

Everything is good up until the Account Login step at /v1/Account/Login.

I get returned an error message saying "Upgrade required." I assume this has to do with the new version of the Nintendo Switch Online app? At the least, I tried replacing all references to version 1.0.4 with 1.1.0 (which is the newest version) but then I get an "Invalid token." error on this step.

Any ideas?

joshbirnholz avatar Sep 16 '17 04:09 joshbirnholz

@joshbirnholz This problem is still unsolved. Nintendo introduced a new parameter called f which we (me and at least a few others with Splatoon-related projects/APIs) can't figure out how to generate yet.

https://twitter.com/mattisenhower/status/908460571191795713

So, at the moment, the only way to get/generate a cookie used to access SplatNet 2 is through the app itself.

frozenpandaman avatar Sep 16 '17 09:09 frozenpandaman

Just to update the conversation for anyone looking in the future…

See the s2s API docs for information on generating f.

…well, that is until a few hours ago today, when they changed the key used in the HMAC, so it doesn't generate valid tokens anymore. But I expect we'll get it working again soon, considering we did once before already… unless they changed more stuff we don't know about yet.

frozenpandaman avatar Sep 18 '18 12:09 frozenpandaman

Updated the API docs in #10 to reflect the current state of the f parameter. If there's more progress on the s2s issue, I'll update again accordingly.

ZekeSnider avatar Sep 25 '18 07:09 ZekeSnider

Heads up @ZekeSnider (and @joshbirnholz) that f generation is now fixed in splatnet2statink v1.4.0 & my API docs page updated.

frozenpandaman avatar Feb 04 '19 09:02 frozenpandaman