Errors & Troubleshooting
Authentication Errors
| HTTP | Code | Description |
|---|---|---|
| 401 | AUTH_MISSING_TOKEN | Authorization token is missing |
| 401 | AUTH_INVALID_TOKEN | Token is invalid or expired |
| 403 | AUTH_UNAUTHORIZED | Insufficient permissions |
Validation Errors
| HTTP | Code | Description |
|---|---|---|
| 400 | VALIDATION_ERROR | Input data validation failed |
| 400 | INVALID_FILE_FORMAT | Unsupported file format |
| 400 | FILE_TOO_LARGE | File exceeds maximum size (50 MB) |
| 400 | INVALID_PHONE_NUMBER | Invalid phone number format |
| 400 | AUDIO_FILENAME_MISMATCH | File name doesn’t match audio_file_name in metadata |
| 404 | FILE_NOT_FOUND | File not found in S3 after upload |
Error Response Format
Metadata Errors
| Error | Description | Solution |
|---|---|---|
METADATA_EMPTY | CSV file is empty | Check your CSV file has content |
MISSING_COLUMNS | Required columns missing | Ensure all required columns are present |
EMPTY_CELL | Required field is empty | Fill in all required fields |
INVALID_DATETIME | Invalid date format | Use ISO 8601 or Unix timestamp |
INVALID_ANONYMIZED_TEXT | Invalid transcript format | Check role tags (see Transcription Format) |
INVALID_ARCHIVE_FORMAT | Invalid archive format | Use .zip format only |
API Key Errors
| HTTP | Description |
|---|---|
| 401 | Key not provided or invalid format |
| 403 | Key is inactive, deleted, or belongs to wrong firm |
Common Issues & Solutions
401 Unauthorized on API requests
Cause: Missing or invalid token. Solution:- Verify the
Authorization: Bearer <token>header is present - Check that your token hasn’t expired
- Request a new token from your administrator
400 INVALID_FILE_FORMAT (audio)
Cause: Unsupported audio file extension. Solution: Use one of the supported formats:.wav, .mp3, .flac, .ogg, .aiff, .au
400 FILE_TOO_LARGE
Cause: File exceeds 50 MB. Solution:- Compress the audio file
- Use batch upload for large volumes
400 AUDIO_FILENAME_MISMATCH
Cause: The uploaded file name doesn’t match the metadata. Solution:- Single upload: Ensure
metadata.audio_file_nameexactly matches the uploaded file name - Batch upload: Ensure
audio_file_namein CSV exactly matches the file name in the ZIP
403 Forbidden on Step 2 (S3 upload)
Cause: Presigned URL has expired (valid for 1 hour only). Solution: Go back to Step 1 and request new presigned URLs.404 File Not Found on Step 3
Cause: File wasn’t uploaded to S3 or S3 is still processing. Solution:- Verify Step 2 returned
200or204 - Add a 2–3 second delay between Step 2 and Step 3
MISSING_COLUMNS in CSV
Cause: Required CSV columns are missing. Solution: Check required columns for your upload type:- Audio batch upload
- Transcription upload
audio_file_nameclient_phone_numberoperator_namestart_timesegment_typeright_channelleft_channel
INVALID_ANONYMIZED_TEXT
Cause: Transcript text has invalid role tags. Solution:- Use supported tags:
<operator>,<client>(and localized variants) - Ensure there is text between every pair of tags
- Format:
<operator>text<client>text
INVALID_PHONE_NUMBER
Cause: Phone number doesn’t match expected format. Solution: Use 7–15 digits, optionally starting with+. Example: +77012345678
Files in ZIP not found
Cause: Invalid archive structure. Solution:- All audio files must be at the root of the ZIP (no folders)
- File names must exactly match the
audio_file_namevalues in CSV
Limits Reference
| Constraint | Value |
|---|---|
| Audio file size | 50 MB max (single upload) |
| CSV/ZIP size | 50 MB max (batch upload) |
| Presigned URL validity | 1 hour (3600 seconds) |
| Phone number | 7–15 digits, may start with + |
| Audio formats | .wav, .mp3, .flac, .ogg, .aiff, .au |
| Archive format | .zip only |
| Metadata format | .csv or .xlsx |
| Segments | At least one segment must exist in your organization |