Skip to main content

Error Handling

The Heify API uses standard HTTP status codes to indicate the success or failure of requests. This guide explains how to handle errors effectively.

HTTP Status Codes


Error Response Format

All error responses follow a consistent JSON structure:

Example Error Response


Common Errors by Status Code

400 Bad Request

The most common error type. Occurs when the request is malformed or contains invalid parameters.

Common Causes

Error: "Missing required field: configuration_id"Solution: Ensure all required parameters are included in the request body.
Error: "Invalid JSON format"Solution: Validate your JSON before sending. Common issues:
  • Missing commas between fields
  • Trailing commas
  • Unescaped quotes in strings
Use a JSON validator or library to ensure correctness.
Error: "Unsupported audio format"Solution: Ensure your audio file is in a supported format:
  • Supported: aac, aiff, amr, asf, flac, mp3, ogg, wav, webm, m4a, mp4
  • Max size: 200 MB
  • Max duration: 2 hours (7200 seconds)
Error: "Invalid group value"Solution: Use only allowed group values:
  • PENDING_REVIEW
  • UNDER_REVIEW
  • ARCHIVED
  • "" (empty string to remove group)
Error: "Maximum of 20 configurations per client exceeded"Solution: Delete unused configurations before creating new ones:

Solutions

1

Verify account status

Check your account status and available resources in your Heify Dashboard
2

Contact support

If you believe this is an error, contact Heify support for assistance

403 Forbidden

Authentication failed. Your API key is invalid, missing, or inactive.

Common Causes

Example Fix


404 Not Found

Returned when a resource does not exist, or when the endpoint URL itself is incorrect.

Resource not found

The API returns 404 whenever a referenced resource (configuration, transcription, evaluator, or participant) does not exist in your account. Verify the ID is correct by listing the resource first:

Wrong endpoint URL

Common causes

  • Typo in the endpoint path
  • Using GET instead of POST
  • Incorrect base URL

429 Too Many Requests

You’ve exceeded the rate limit for the endpoint.

Solutions

Python
See the Rate Limits documentation for endpoint-specific limits.

500 Internal Server Error

An unexpected error occurred on Heify’s servers.

What to Do

1

Retry the request

The error may be temporary. Wait a few seconds and try again.
2

Contact support

If the issue persists, contact hola@heify.com or in the contact page.

Next Steps

Authentication

Learn how to authenticate your API requests

API Reference

Explore endpoint documentation