Skip to content

Troubleshoot Service Apps

Start with the App state and the exact error code. Do not repeatedly enable or invoke an App while it is doing background work; retained Job and Resident records show whether an earlier request is still active or needs recovery.

The App will not enable

What you seeWhat to do
needs-configurationInspect required secrets, model or Agent slots, and document-folder permissions. Bind or grant the missing item, then verify it.
needs-capabilityInspect the dependency. If one compatible Provider is available, setup can bind it; if several are available, choose one explicitly.
SECRET_BINDING_MISSINGBind the named required secret slot, then run nextclaw app secrets verify <app-id> --json.
SECRET_RESOLUTION_FAILEDCheck the configured secret source without exposing its value, then verify the slot again.

Useful commands:

bash
nextclaw app info <app-id> --json
nextclaw app secrets inspect <app-id> --json
nextclaw app ai-capabilities inspect <app-id> --json
nextclaw app dependencies inspect <app-id> --json

An Action failed

CodeMeaningNext step
WASI_CAPABILITY_DENIEDThe Component asked for access it was not grantedReview folder, domain, storage, or declared capability access
WASI_INPUT_SCHEMA_MISMATCHThe Action input does not match its declared shapeCorrect the input rather than retrying unchanged
WASI_GUEST_EXPORT_MISSINGThe package declares an Action the Component does not exposeUpdate or reinstall a matching App version
WASI_ABI_VERSION_MISMATCHThe Component and host contract are incompatibleUpdate the App or NextClaw to a compatible version
WASI_COMPONENT_TRAPThe Component stopped unexpectedlyInspect the redacted observation and contact the App author with the code
WASI_COMPONENT_FAILEDAnother Component runtime error occurredInspect the observation and retry only after correcting its reported cause

Read the saved observation instead of copying sensitive inputs into a support message:

bash
nextclaw app verification --app <app-id> --json

A long Job or Resident event is stuck

bash
nextclaw app jobs list <app-id> --json
nextclaw app jobs watch <app-id> <job-id> --json
nextclaw app resident-inbox list <app-id> --dead-letters --json

Request cancellation only if you no longer want the work. A Job becomes cancelled only after the runtime confirms it. A dead-letter Resident event can be replayed after you correct the cause; delivery is at least once, so the App should make repeated delivery safe.

Still blocked

Collect the App id, App version, action or Job id, error code, and the redacted verification record. Do not include secret values, tokens, or copied private documents in a report.

Released under the MIT License.