Skip to main content
Genseo returns stable error codes so API clients, CLIs, and agents can respond predictably.

Error response shape

Codes

CodeMeaningRetry behavior
invalid_api_keyMissing, malformed, or unknown API keyDo not retry without a new key
key_revokedThe key was deleted or revokedDo not retry; create a new key
key_expiredThe key has expiredDo not retry; create a new key
insufficient_scopeThe key cannot perform the requested actionDo not retry without changing access
project_forbiddenThe request targets a different projectFinal; do not retry
resource_not_foundThe resource is missing or belongs to another projectDo not assume it exists elsewhere
validation_errorRequest body or parameters are invalidFix the request before retrying
rate_limitedToo many requestsRetry with backoff
usage_limit_reachedThe project has reached an internal product limitWait, upgrade, or ask the user
generation_already_runningA generation job is already activeWait and read the resource later
integration_not_configuredPublishing requires a connected providerConfigure an integration first
mapping_requiredProvider field mapping is missingSave mapping before retrying

Agent recommendations

  • Show the stable code to the user when an action fails.
  • Treat authorization and project-boundary errors as final.
  • Back off on rate limits.
  • Never work around a project boundary by trying another ID.
  • For generation conflicts, wait before checking the post or keyword state again.