forbidden
This caller may not act on this resource. Often the API key is not tied to a member of the workspace.
What it means
This caller may not act on this resource. Often the API key is not tied to a member of the workspace.
How to fix it
Use an API key that belongs to a member of the workspace who may act on this resource.
Where it comes from
403 forbidden from 80 endpoints, such as:
access-requests.cancelaccounts.updateagent-sandbox-auto-run-settings.update-workspaceagent-sandbox-runs.createagent-work.release-claimagent-work.submit-answersai-feedback.createai-feedback.deleteai-feedback.getai-feedback.listai-feedback.signalbooking-links.createbooking-links.listbooking-links.suggested-timesbooking-links.updatebookings.bulk-cancelbookings.bulk-reassignbookings.getbookings.listbookings.no-show- and 60 more
The error body carries this code in error.code. Branch on the code, not on message. See the errors guide.