Error response format
Error fields
Error category. Common values:
ValidationError, NotFoundError, AuthenticationError, ExecutionError, TimeoutError.Human-readable error description explaining what went wrong.
Unique execution identifier. Use this to look up the execution in the dashboard or API.
Direct link to the execution details in the Reminix dashboard. Includes logs, input/output, and timing information.
The execution type:
invoke, chat, or workflow.Always
"failed" for error responses.How long the execution took in milliseconds before failing.
HTTP status codes
| Code | Meaning | Common Causes |
|---|---|---|
400 | Bad Request | Invalid input, missing required fields, schema validation failure |
401 | Unauthorized | Invalid or missing API key, expired token |
404 | Not Found | Agent doesn’t exist, invalid endpoint, conversation not found |
429 | Too Many Requests | Rate limit exceeded |
502 | Bad Gateway | Runtime error, agent crashed during execution |
504 | Gateway Timeout | Agent took too long to respond |
400 Bad Request
400 Bad Request
The request body failed validation. Check that all required fields are present and match the expected types.
401 Unauthorized
401 Unauthorized
502 Bad Gateway
502 Bad Gateway
The agent threw an unhandled error during execution. Check the execution URL in the dashboard for stack traces and logs.
504 Gateway Timeout
504 Gateway Timeout
The agent did not respond within the configured timeout. Consider optimizing the agent or increasing the timeout in your project settings.
Handling errors in the SDK
The SDK throws typed errors that you can catch and inspect.Runtime errors
When an agent throws an error during execution, Reminix wraps it and returns a502 Bad Gateway response. The original error message is included in the response.
Retry behavior
The SDK does not automatically retry failed requests. Implement retries in your application code for transient errors (502, 504, 429).
Next steps
Troubleshooting
Common failure modes and how to fix them.
TypeScript: Error Handling
Catch and handle errors from
@reminix/sdk.Python: Error Handling
Catch and handle errors from the Python SDK.
API Reference
Status codes and error shapes for every endpoint.