I’m getting users from Confluence using
import { requestConfluence } from '@forge/bridge';
/* define variable accountId */
return await (
await requestConfluence(`/wiki/rest/api/user?accountId=${accountId}`, {
headers: {
Accept: 'application/json',
},
})
).json();
Recently, this has stopped working. When I try awaiting this, I get Error: An unexpected error occurred when fetching an auth token
. Am I doing something wrong? Can’t find anything in my code or the docs that changed.