Skip to content
Trigora
Start building →

Errors

Failed HTTP calls return:

{ "error": { "code": "event_mismatch", "message": "..." } }

@trigora/client throws TrigoraRuntimeError with status and code. The Python client raises TrigoraError the same way. The CLI prints the message.

CodeWhen
unauthorizedMissing or rejected Cloud token
forbiddenToken cannot access the project
not_foundGeneric missing resource
program_not_foundstart or deploy target missing
project_not_foundX-Trigora-Project-Id is unknown
execution_not_foundBad execution id
execution_not_waitingSend or a wait operation against an Execution that is not waiting
event_mismatchEvent name does not match the current wait
execution_not_cancellableCancel is not valid for this status
invalid_inputBody failed validation
bad_requestMalformed request
conflictState conflict
compiler_failedFrontend rejected the Program
rate_limitedToo many requests
internal_errorHost or API failure

The compiler_failed code indicates that the Program did not compile. Update the source to use supported language semantics and compile it again; recovery is not involved. See Unsupported constructs.

A missing TRIGORA_TOKEN on a Cloud CLI command fails in the CLI before HTTP, with TRIGORA_TOKEN is not set.