Establish what failed
Run these reads using the same profile and environment as the failing command:context show reports effective local settings; it does not prove the API is reachable. auth whoami makes an authenticated API request. After selecting an authorized organization from the response, discover its projects:
Diagnose by symptom
These are diagnostic starting points, not a universal error schema for every deployed endpoint. Preserve the actual response privately when further diagnosis is needed.
A user can read, but an Agent cannot
Compare the successful and failing environments, rather than assuming they share credentials:- Verify the API base URL and effective organization/project IDs.
- Inspect the identity using
auth whoamiin each environment. A managed workspace may use workspace delegation instead of the user’s interactive credential. - Confirm that the failing identity can discover the required organization/project and perform a small read of the intended resource.
- Ask the administrator to check that identity’s access to the named operation and resource. Use the deployment’s actual permission vocabulary; there is no documented universal permission flag that fixes every endpoint.
Recover an uncertain write or run
A timeout or interrupted terminal can occur after the service accepted a request. Capture a returned operation/resource ID if one is available. Then inspect the resource or execution status using the appropriate read commands in execution workflows. For a create without a returned ID, inspect the relevant collection and reconcile candidate resources using your intended attributes and context before deciding whether to submit again. A second create or run may duplicate work. A failure in output projection with--query can also happen after a write succeeded. Removing the projection and reading current state helps establish what happened.
An expired polling timeout is a limit on how long your client waited; it is not evidence that the remote operation was canceled. Inspect its current status before starting another run.