Skip to main content
The TalkPilot API uses standard HTTP status codes and returns structured error responses to help you handle failures gracefully.

Error response format

Every error response follows this structure:

HTTP status codes

Validation errors

When a request fails validation, the details array contains field-level errors:

Handling errors in code

JavaScript / TypeScript

Python

Debugging tips

  1. Check the request_id — Include it when contacting support for faster resolution
  2. Read details for validation errors — They tell you exactly which fields failed and why
  3. Check rate limit headers — If you’re getting 429s, inspect X-RateLimit-Remaining before retrying
  4. Verify permissions403 errors always include the missing permission in the message