mirror of
https://github.com/stoatchat/javascript-client-sdk.git
synced 2026-08-26 15:08:03 -04:00
bug: client.servers.fetch() not working due to missing permissions #33
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
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.