samuelthomas2774 / nxapi

Nintendo Switch Online/Parental Controls app APIs. Show your Nintendo Switch presence in Discord, get friend notifications on desktop, and download and access SplatNet 2, NookLink, SplatNet 3 and Parental Controls data. Mirror of https://gitlab.fancy.org.uk/samuel/nxapi.git.
GNU Affero General Public License v3.0
427 stars 34 forks source link

502 Bad Gateway #77

Closed swindlesmccoop closed 1 year ago

swindlesmccoop commented 1 year ago

I assume problems with the server but not sure. I was getting API ratelimit errors earlier as well.

[Window Title]
nxapi-app

[Main Instruction]
Error restoring monitor for user 9aadc07eb1080ef9

[Content]
Error: [znca-api] Non-200 status code
    from https://nxapi-znca-api.fancy.org.uk/api/znca/f (502 Bad Gateway)
      '<!DOCTYPE html>\n<!--[if lt IE 7]> <html class="no-js ie6 oldie" lang="en-US"> <![endif]-->\n<!--[if I'... 6304 more characters
    at genf (file:///C:/Users/Swindles/AppData/Local/Programs/nxapi-app/resources/app/dist/bundle/chunk-users.js:8132:15)
    at process.processTicksAndRejections (node:internal/process/task_queues:96:5)
    at async ZncaApiNxapi.genf (file:///C:/Users/Swindles/AppData/Local/Programs/nxapi-app/resources/app/dist/bundle/chunk-users.js:8150:24)
    at async CoralApi.loginWithSessionToken (file:///C:/Users/Swindles/AppData/Local/Programs/nxapi-app/resources/app/dist/bundle/chunk-users.js:8496:23)
    at async CoralApi.createWithSessionToken (file:///C:/Users/Swindles/AppData/Local/Programs/nxapi-app/resources/app/dist/bundle/chunk-users.js:8481:22)
    at async getToken (file:///C:/Users/Swindles/AppData/Local/Programs/nxapi-app/resources/app/dist/bundle/chunk-users.js:8955:13)
    at async file:///C:/Users/Swindles/AppData/Local/Programs/nxapi-app/resources/app/dist/bundle/chunk-users.js:102283:35
    at async PresenceMonitorManager.start (file:///C:/Users/Swindles/AppData/Local/Programs/nxapi-app/resources/app/dist/bundle/app-main-bundle.js:1026:22)
    at async Store.restoreUserMonitorState (file:///C:/Users/Swindles/AppData/Local/Programs/nxapi-app/resources/app/dist/bundle/app-main-bundle.js:2243:13)
swindlesmccoop commented 1 year ago

Guess it just resolved itself