Skip to content

Crashes when linking account then throws out error when reopening program #165

Open

Description

@wreaver

Have tried 2 different accounts already and deleting the NSO-RPC folder on My Documents, but it always throws out the same result:

  1. Link account to NSO-RPC, program crashes.
  2. Reopen program, throws out error and closes until NSO-RPC folder is deleted.
  3. Repeat

This is the error in question:
Traceback (most recent call last):
File "cli.py", line 90, in update
File "api_init_.py", line 201, in getSelf
KeyError: 'result'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "app.py", line 836, in
File "app.py", line 342, in selfService
File "app.py", line 481, in changeState
File "app.py", line 478, in changeState
File "cli.py", line 95, in update
Exception: Cannot get session token properly

Activity

  1. MerakiMage commented on Nov 22, 2024

    @MerakiMage

    I'm running into the exact same issues; My log.txt looks like this:

    1732296935.437522: Successfully Connected to Discord.
    1732296935.437522: Failure with authorization: 'result'\Friends returns {"status": 9406, "errorMessage": "Unauthorized.", "correlationId": "eac1a088-ec65e7d6"}
    1732296935.437522: 'result'
    1732296935.437522: Login from imink
    1732296935.437522: 'result'
    1732296935.437522: Cannot get session token properly
    1732296988.727187: Successfully Connected to Discord.
    1732296988.727187: Failure with authorization: 'result'\Friends returns {"status": 9406, "errorMessage": "Unauthorized.", "correlationId": "2e138923-e381c1ae"}
    1732296988.727187: 'result'
    1732296988.727187: Login from file
    1732296988.727187: 'result'
    1732296988.727187: Cannot get session token properly

  2. HotaruBlaze commented on Nov 22, 2024

    @HotaruBlaze
    Contributor

    Yeah we're aware of the issue, its been reported in the discord and its being looked into.

    We know what broke but a fix is currently unknown.

    Edit: For more context for people who want to know, Nintendo changed something their side and broke it.
    See Below for an update

  3. HotaruBlaze commented on Dec 13, 2024

    @HotaruBlaze
    Contributor

    Nintendo has recently updated Nintendo Switch Online (NSO), breaking support for all third-party tools. Apps like s3s, nxapi, NSO-RPC and others are currently not working.

    Updating authentication credentials isn’t possible at the moment, and these services may remain unusable.

    Theirs currently no ETA for a fix.

  4. calamitycocoa2 commented on Dec 15, 2024

    @calamitycocoa2

    Sad :(

  5. luni-moon commented on Dec 16, 2024

    @luni-moon

    Nintendo has recently updated Nintendo Switch Online (NSO), breaking support for all third-party tools. Apps like s3s, nxapi, NSO-RPC and others are currently not working.

    Updating authentication credentials isn’t possible at the moment, and these services may remain unusable.

    Theirs currently no ETA for a fix.

    It may be a good idea to make a new issue or smth and pin this, as it seems a lot will be asking what's going on, as was I, but skimmed the other issues before doing so. I kinda figured they updated their API in some way.

  6. HotaruBlaze commented on Dec 16, 2024

    @HotaruBlaze
    Contributor

    Nintendo has recently updated Nintendo Switch Online (NSO), breaking support for all third-party tools. Apps like s3s, nxapi, NSO-RPC and others are currently not working.
    Updating authentication credentials isn’t possible at the moment, and these services may remain unusable.
    Theirs currently no ETA for a fix.

    It may be a good idea to make a new issue or smth and pin this, as it seems a lot will be asking what's going on, as was I, but skimmed the other issues before doing so. I kinda figured they updated their API in some way.

    Once this PR is merged #169, Their will be a disclamer in the readme at the top telling people its broken.

  7. pinned this issue on Jan 2, 2025
  8. added
    bug
    help wanted
    on Jan 2, 2025
  9. 1davi commented on Sep 17, 2025

    @1davi

    Any update on this?

  10. samuelthomas2774 commented on Sep 17, 2025

    @samuelthomas2774

    Any update on this?

    I'm not sure about the imink f-generation API used by NSO-RPC by default, but my f-generation API has worked with 3.0.3 since July (and since today 3.1.0). NSO-RPC can switch to this but it needs a lot of changes due to the additional requests required for request encryption.

  11. MCMi460 commented on Sep 17, 2025

    @MCMi460
    Owner

    NSO-RPC can switch to this but it needs a lot of changes due to the additional requests required for request encryption.

    If you're okay with this, then I'd love to make the changes! Thank you, @samuelthomas2774!

  12. samuelthomas2774 commented on Sep 17, 2025

    @samuelthomas2774

    If you're okay with this, then I'd love to make the changes! Thank you, @samuelthomas2774!

    Yes of course it's fine! I've just updated the documentation at https://github.com/samuelthomas2774/nxapi-znca-api, let me know if you have any questions.

    In addition to any changes necessary for it to work after the 3.0.1 update, I also ask if you use my API to make sure you request explicit user consent (e.g. a dialog explaining third-party API use when signing in/after updating), this is all documented there as well.

  13. MCMi460 commented on Sep 17, 2025

    @MCMi460
    Owner

    Will do—this sounds great.

    Thank you again!

  14. R1quelmer commented on Mar 15, 2026

    @R1quelmer

    Farei isso — parece ótimo.

    Muito obrigado novamente!

    any updates?

  15. tsuki2704 commented on Jul 1, 2026

    @tsuki2704

    Farei isso — parece ótimo.
    Muito obrigado novamente!

    any updates?

    so i think this project is dead?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bughelp wanted

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions