bug: client.servers.fetch() not working due to missing permissions #33

Closed
opened 2026-02-16 12:26:50 -05:00 by yindo · 0 comments
Owner

Originally created by @xibn on GitHub (Oct 2, 2023).

What happened?

When using client.servers.fetch() to get the server promise for a specific server you are currently greeted with this lovely API response:

data: { error: { code: 401, reason: 'Unauthorized', description: 'The request requires user authentication.' } }

This is not a problem in v6 so I think most developers will be fine for the time being, but it's a pain in the ass when trying to use the v7 beta.

Originally created by @xibn on GitHub (Oct 2, 2023). ### What happened? When using `client.servers.fetch()` to get the server promise for a specific server you are currently greeted with this lovely API response: `data: { error: { code: 401, reason: 'Unauthorized', description: 'The request requires user authentication.' } }` This is not a problem in v6 so I think most developers will be fine for the time being, but it's a pain in the ass when trying to use the v7 beta.
yindo added the bug label 2026-02-16 12:26:50 -05:00
yindo closed this issue 2026-02-16 12:26:50 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: stoatchat/javascript-client-sdk#33