not_found
The resource does not exist, was deleted, or is in a workspace you are not a member of.
What it means
The resource does not exist, was deleted, or is in a workspace you are not a member of.
How to fix it
Check the id, and check that X-Ken-Workspace-Id names the workspace that holds it.
Where it comes from
404 not_found from 347 endpoints, such as:
access-requests.cancelagent-permission-settings.getagent-permission-settings.updateagent-sandbox-auto-run-settings.getagent-sandbox-auto-run-settings.updateagent-sandbox-auto-run-settings.update-workspaceagent-sandbox-connections.disconnectagent-sandbox-connections.listagent-sandbox-runs.cancelagent-sandbox-runs.createagent-sandbox-runs.getagent-sandbox-runs.listagent-team.get-runwayagent-team.undo-actionagent-work-settings.getagent-work-settings.updateagent-work.create-claimagent-work.getagent-work.release-claimagent-work.submit-answers- and 327 more
The error body carries this code in error.code. Branch on the code, not on message. See the errors guide.