[GH-ISSUE #4313] Microsoft account linking fails with error code 8 #1273

Closed
opened 2026-11-02 15:45:37 +07:00 by bsakaguchi · 2 comments
Owner

Originally created by @kira-horizon[bot] on GitHub (Oct 30, 2026).
Original GitHub issue: https://github.com/horizon-rust/horizon/issues/4313

Version: Nightly 2026-10-30 · fbd7288 · OS: Windows (copied from the report)

What I did: Linked my Microsoft account to Horizon
What happened: It didn't linked me and gave me error code 8
What I expected: Linked microsoft account to Horizon
Horizon version: as the game shows it (Nightly 2026-10-30 · fbd7288)
OS, CPU, GPU: Windows

Reported on Discord by 𝑀𝓊𝒸𝒽𝒶𝓁𝒞𝒵 in #horizon-bugs · Discord thread
Tags: install / launch

Attachments (Discord links expire after a while; the thread keeps them)

Opened by Kira from Discord. Replies from the reporter in the thread are added here as comments.

Originally created by @kira-horizon[bot] on GitHub (Oct 30, 2026). Original GitHub issue: https://github.com/horizon-rust/horizon/issues/4313 **Version:** Nightly 2026-10-30 · fbd7288 · **OS:** Windows <sub>(copied from the report)</sub> > What I did: Linked my Microsoft account to Horizon > What happened: It didn't linked me and gave me error code 8 > What I expected: Linked microsoft account to Horizon > Horizon version: as the game shows it (Nightly 2026-10-30 · fbd7288) > OS, CPU, GPU: Windows Reported on Discord by **𝑀𝓊𝒸𝒽𝒶𝓁𝒞𝒵** in #horizon-bugs · [Discord thread](https://discord.com/channels/1559227979002028052/1565663027422830722) Tags: install / launch **Attachments** (Discord links expire after a while; the thread keeps them) - [Snimek_obrazovky_2026-10-30_103949.png](https://cdn.discordapp.com/attachments/1565663027422830722/1565663027569754212/Snimek_obrazovky_2026-10-30_103949.png?ex=6ae5b8d2&is=6ae46752&hm=09ac15eaf47b93cbb338f18b964e837a940b461bce13551cf08528a1a7fa6187&) <sub>Opened by Kira from Discord. Replies from the reporter in the thread are added here as comments.</sub><!-- kira -->
bsakaguchi 2026-11-02 15:45:37 +07:00
Author
Owner

@ludovic111 commented on GitHub (Oct 30, 2026):

🤖 Agent: Ludovic's AI agent (Claude), not Ludovic himself.

Cause: the sign-in itself succeeded. What failed is saving it in Windows Credential Manager. Error 8 (ERROR_NOT_ENOUGH_MEMORY) is what Credential Manager returns when your store is full: it has an undocumented limit on its total size and then refuses every new entry, however small. It isn't your computer's memory. Other apps hit the same thing (GitHub Desktop, Visual Studio, VS Code), and the Xbox app and the Minecraft Launcher are known to leave hundreds of XblGrts… / Xbl|… entries there.

What to do now: open Credential Manager from the Start menu → Windows Credentials, remove entries you no longer use, then sign in again in Horizon's launcher. (cmdkey /list in a terminal lists them.) Removing an entry can sign the app that made it out. Horizon never deletes other apps' entries.

#4387 makes the launcher say exactly this instead of the bare code. It also stops a nearly full store from half-saving a renewed sign-in, which could log you out on the next start.

<!-- gh-comment-id:6523302754 --> @ludovic111 commented on GitHub (Oct 30, 2026): 🤖 Agent: Ludovic's AI agent (Claude), not Ludovic himself. **Cause:** the sign-in itself succeeded. What failed is saving it in **Windows Credential Manager**. Error 8 (`ERROR_NOT_ENOUGH_MEMORY`) is what Credential Manager returns when your store is **full**: it has an undocumented limit on its total size and then refuses every new entry, however small. It isn't your computer's memory. Other apps hit the same thing (GitHub Desktop, Visual Studio, VS Code), and the Xbox app and the Minecraft Launcher are known to leave hundreds of `XblGrts…` / `Xbl|…` entries there. **What to do now:** open **Credential Manager** from the Start menu → **Windows Credentials**, remove entries you no longer use, then sign in again in Horizon's launcher. (`cmdkey /list` in a terminal lists them.) Removing an entry can sign the app that made it out. Horizon never deletes other apps' entries. #4387 makes the launcher say exactly this instead of the bare code. It also stops a nearly full store from half-saving a renewed sign-in, which could log you out on the next start.
Author
Owner

@kacpherek commented on GitHub (Oct 30, 2026):

This looks fixed on main: Same Credential Manager error 8; #4387 (66f4bfbaa). Closing; if it still happens on the latest build, please reopen with your version and logs/latest.log.

<!-- gh-comment-id:6527789591 --> @kacpherek commented on GitHub (Oct 30, 2026): This looks fixed on main: Same Credential Manager error 8; #4387 (66f4bfbaa). Closing; if it still happens on the latest build, please reopen with your version and `logs/latest.log`.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
horizon-rust/horizon#1273
No description provided.