Skip to content

Fix/auth 401 unauthorized - #115

Merged
Sholofly merged 2 commits into
devfrom
fix/auth-401-unauthorized
Oct 30, 2026
Merged

Sholofly merged 2 commits into
devfrom
fix/auth-401-unauthorized

Conversation

@Sholofly

Copy link
Copy Markdown
Owner

No description provided.

Sholofly and others added 2 commits October 30, 2026 21:33
A failed token request without a recognised error code was always a
connection error, so a 401 from a provider that does not send the
97401/97402 codes would not start re-authentication.

An HTTP 401 now raises LGHorizonApiUnauthorizedError, using the server
message when there is one. Known error codes still take precedence, and
other statuses (including 403) stay connection errors.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
@Sholofly
Sholofly merged commit cecbe33 into dev Oct 30, 2026
2 checks passed
@Sholofly
Sholofly deleted the fix/auth-401-unauthorized branch October 30, 2026 21:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant