Reference
Troubleshooting
The most frequent rejections, what they mean and how to fix them.
They all arrive as codes: the full list is in the error reference.
The file name is rejected
Before uploading anything, qi validate checks names against your tenant's rules and lists every reason per file.
| Code | What happens | What to do |
|---|---|---|
sharedNameInvalid | Shared tenant: the name is not Name[_KEY].ext, is longer than 80 characters or contains a slash. | Shorten the name to 80 characters and keep the key, if any, as the last segment. |
missingFieldstooManyFields | Own tenant: fields are missing. params carries found and expected (7 required). | Check the nomenclature: 7 required fields and up to 3 extras, separated by underscores. |
segmentCharsetsegmentHasDotsemptySegments | A segment has characters other than letters, digits and hyphens. params names it. | Replace spaces, accents and dots. qi rename and the --prefix and --suffix options change the name without touching the audio. |
invalidDateinvalidTimeinvalidDateLooksLikeTimeinvalidTimeLooksLikeDate | The date slot holds something shaped like a time: date and time are swapped. | Put the date (YYYYMMDD) first and the time (HHMMSS) after it. |
tenantMismatchcompanyMismatch | The second segment is not the API key's company. | Use the API key's tenant and company. In the CLI, --company checks the second segment. |
fileNameTooLong | The name is longer than 255 characters. | Shorten the extra segments. |
The file is rejected
| Code | What happens | What to do |
|---|---|---|
HTTP 406 | No file arrived, or its type is not one of the supported ones. | Audio: mp3, wav or flac. Text: txt, csv, json, jsonl, ndjson, eml, mbox, xml, vtt, srt or html. |
HTTP 413 | A file is over the endpoint's maximum size. | Audio up to 200 MB and text up to 5 MB per file. qi convert --to mp3 --mono shrinks a heavy recording. |
HTTP 400 | More than 10 files in one request. | Send 10 files per request. The CLI and the SDK batch them for you. |
durationOutOfRange | Audio: the duration is outside the range your company configured. | Check the duration range set for your company, or leave those recordings out. |
emptyFilenotUtf8 | Text: the file is not UTF-8. | Export the file again as UTF-8. |
malformedJsonjsonNotArraynoTurnsFound | Text: the file was read but no conversation turn was found. | In CSV, use speaker and message columns. In JSON, a list of turns. |
The plan or the balance falls short
| Code | What happens | What to do |
|---|---|---|
QUOTA_EXCEEDED | The QI token balance cannot cover the upload. No file was queued; details carries available and required. | Check the balance with qi usage. Top up, or upload fewer files. |
PLAN_EXPIRED | The plan has expired: data stays readable, new work is not accepted. | Renew or change plan from Billing. |
CHANNEL_NOT_ALLOWED | The plan does not accept uploads through this channel. | On Free, upload from the panel, the CLI, the SDK or MCP. The REST API needs a Pro plan; SFTP needs an Enterprise plan. |
MODULE_NOT_IN_PLAN | The module the route needs (Bot Analytics, for example) is not in your plan. | Move to a plan that includes the module. |
QI_WALLET_BUSY | The balance was busy with another operation. Temporary: retry. | Retry in a few seconds. |
Credentials and permissions
| Code | What happens | What to do |
|---|---|---|
HTTP 401 | X-API-KEY is missing, or the key does not exist, was revoked or expired. | Create a new key under API Keys and check which credentials you use with qi auth status. |
SCOPE_NOT_ALLOWED | The API key may only upload files. | Use a key with read permission to list or read interactions. |
I uploaded a file and it does not show up
Uploads are asynchronous: a 200 means the file was queued, not that results exist. Transcription and analysis take minutes. The interaction detail shows each stage; while one is pending, its result is not there yet. qi interactions wait waits for you.
If you list and do not see it, check the filters: without source_type, GET /interactions returns audio only, and without agent_type, human agents only. Ask for text or bots explicitly.
If a stage ends in error, the file was not processed: check the discards in the panel's upload monitor.