FORBIDDEN
You don't have permission to do that.
HTTP status: 403
Why this happens
Authenticated, but lacking the scope or role for this action.
How to recover
Have an org admin grant the required role, or use a different API key with broader scopes.
Branching on this code
TypeScript
import { ApiError } from "@firecase/sdk";
try {
await firecase.someCall();
} catch (e) {
if (e instanceof ApiError && e.code === "FORBIDDEN") {
// recover here
}
throw e;
}