Skip to content

Errors and troubleshooting

Diagnose connection, input and recovery failures before retrying.

Read the error response

HTTP tool failures normally return an error object with code, message and traceId; validation errors can include details. Inspect the HTTP status as well. Proxies and body-size limits may return a different body, so tolerate non-JSON responses in production clients. Record the tool name, time, job ID and traceId for diagnosis, with credentials and private media URLs removed.

json
{
  "error": {
    "code": "INVALID_JSON",
    "message": "Malformed JSON",
    "traceId": "<diagnostic-id>"
  }
}

Common failures

SignalResolution
401 · UNAUTHORIZEDCheck the runtime workspace key and Bearer header, not the website login or provider key.
403 · FORBIDDENCheck read/write/admin scope, ownership and browser origin rules.
404 · NOT_FOUNDCheck the tool name, installed version and account ownership of the record.
400 · INVALID_JSONSend valid JSON with the correct content type.
UPLOAD_EXPIRED / UPLOAD_MISMATCHCreate a fresh intent if expired; otherwise recheck byte count and SHA-256 of the exact file.
REVISION_CONFLICTRead the latest snapshot, then reapply the edit without overwriting newer work.
413Reduce the body. Use the binary upload route for assets, not a base64 tool argument.

Retry rules

Retry read operations with a bounded delay for transient network failures. For a mutation with an uncertain response, recover the stored job or request first. Reusing an idempotency key is appropriate only for the same operation and payload. A changed brief, model or reference requires fresh preparation. Never interpret an interrupted connection as cancellation of provider work.

When a model is unavailable

Read capabilities again and inspect availability, input mode and missing requirements. A profile listed in a catalog is not proof that its key, balance or references are ready. Keep the selected model explicit; do not silently switch providers, drop reference media or downgrade to text-to-video. If the installed package lacks a documented feature, consult that release’s guide or update through its supported installation procedure.

This reference was last checked against rikoko 0.1.30 on October 21, 2026. The public installer has a separate version. Confirm exact schemas and model availability with your connected runtime.