ModOrganizer2 / modorganizer

Mod manager for various PC games. Discord Server: https://discord.gg/ewUVAqyrQX if you would like to be more involved
http://www.nexusmods.com/skyrimspecialedition/mods/6194
GNU General Public License v3.0
2.06k stars 155 forks source link

Cannot link my Nexus account (MO2 "Failed to set API key") #2007

Closed MonkeyAdmirer closed 2 months ago

MonkeyAdmirer commented 2 months ago

The problem:

I was trying to link my Nexus account to MO2 so I could install mods directly. When I tried to connect the account by opening Nexus and clicking 'Authorise', MO2 said it had "Failed to set API key" so I tried it again by manually inputting the API key and the same issue persisted. I even regenerated new API keys and none of them worked.

To Reproduce:

Steps to reproduce the behavior:

  1. Go to 'Settings'
  2. Click on 'Nexus'
  3. Click on 'Connect to Nexus'
  4. Read the box in the right of the 'Nexus Connection' section

Environment:

Details:

If necessary, describe the problem you have been experiencing with more details and pictures. image I go here ^

image I click this ^

image I click authorise^

image This occurs ^

The same thing happens if I enter the API key manually.

Link to Mod Organizer logs:

mo_interface.log

Right click on the log window at the bottom of MO2, set log level to debug, restart Mo2 and reproduce the problem. To access the log files you can press the Open folder icon over the modlist and select "Open MO2 Logs folder".

USVFS: https://gist.github.com/MonkeyAdmirer/c7bc0a2e93e93e72c2afcd80c16d1fcc#file-usvfs-2024-04-05_22-47-20-log

Create a GIST which is a paste of your latest USVFS log, and link them here. Do NOT paste your full USVFS logs here, as it will make this issue very long and hard to read! If you are reporting a bug, always include the USVFS logs!

MO Interface: https://gist.github.com/MonkeyAdmirer/a86ee488526c93dc0b8d99c08f7bdcc2#file-mo_interface-log

Create a GIST which is a paste of your mo_interface logs, and link them here. Do NOT paste your full mo_interface logs here, as it will make this issue very long and hard to read! If you are reporting a bug, always include the mo_interface logs!

chaswa101 commented 2 months ago

I am having the same problem but on Windows 11.

dev-kreg commented 2 months ago

Same issue, Win 11 and I see this error in the console log:

[2024-04-15 22:10:27.677 E] Storing API key failed: Notenoughmemoryresourcesareavailabletoprocessthiscommand. (0x8)

jinchu18 commented 2 months ago

I get the same error in the console log as @dev-kreg

jinchu18 commented 2 months ago

I get the same error in the console log as @dev-kreg

For anyone with similar issue, go to credentials manager and delete the sso credential should be at the bottom of the list. then re-launch mo2 and reconnect nexus. worked for me

MonkeyAdmirer commented 2 months ago

I figured out the issue, it was because my credentials vault, (and probably yours too) was full and my computer didn’t have enough memory left in the vault so in order to add the nexus API key, you have to delete a credential from the vault using Credential Manager (search it in taskbar) and delete a credential that you don’t need to make space for the API key. After you do this, your computer will have enough space into store the API key and you will be able to link your nexus account.