ambleloft

Errors and troubleshooting

Use error codes to choose the next step and business state to decide whether a retry is valid.

API REFERENCE

Browse contracts, signatures, fields and examples. Unspecified defaults are not inferred.

On this page

01Validation and authorization

Fix declarations, input and grants rather than hiding contract errors behind retries.

Field / APIContract
INVALID_ARGUMENT / INVALID_OUTPUTInput/output violates the contract; inspect schemas and bindings.
NOT_FOUND / UNSUPPORTEDMissing resource or unsupported host; check versions and IDs.
UNTRUSTED / DISABLED / FORBIDDENCheck trust, enablement and invocation scope.
GRANT_REQUIRED / INTERACTION_REQUIREDUse host page interaction to obtain consent; the Agent cannot fake confirmation.

02Runtime and concurrency

Keep requestId and effectStatus. Query uncertain business outcomes, especially before repeating writes.

Field / APIContract
CANCELLED / TIMEOUT / OUTCOME_UNKNOWNCancellation or timeout does not prove non-execution; query submissionId / invocationId.
BUSY / CONFLICTHandle concurrency and revision conflicts; reread before deciding.
ACTIVATION_FAILED / HOST_UNAVAILABLEInspect activation logs and host/service availability.
STORAGE_UNAVAILABLE / QUOTA_EXCEEDEDCheck storage availability or quota; avoid retry loops.
INTERNALPreserve diagnostics; unknown handler errors may map to INTERNAL.

03Diagnose common symptoms

Trace the chain: package → declaration → activation → discovery → confirmation → business service → output schema.

Field / APIContract
Icon missingVerify packaged assets, static PNG format and host compatibility.
Form missingCheck Skill directories, relative amble-form-ref paths and model tool calls.
Operation missingCheck id, handler registration, exposeTo, enablement and permissions.
No messageCheck UNSUPPORTED, publish status, receive/muted preferences and connection.
Action never completesHandler return is not completion; inspect reportActionResult.
SDK / CLI 0.1.0-alpha.9 · Contract baseline Compatibility and preview notes · Sample source