---
title: "The request is missing something or is not valid"
description: "The API could not accept your request because something in it is missing, wrongly written or not allowed. It answered 400 INVALIDREQUEST, and the message…"
canonical: "https://www.scriptivox.com/errors/request-invalid"
last-updated: "2026-11-24"
---

# The request is missing something or is not valid

> The message: "Invalid 'order'. Use 'desc' or 'asc'."

## What happened
The API could not accept your request because something in it is missing, wrongly written or not allowed. It answered `400 INVALID_REQUEST`, and the message says exactly what to fix. Nothing was started.

## Why it happens
The message names the one thing that is wrong. The common causes are:
- The body is not valid JSON, or it is not a JSON object.
- A field the API does not know. Request bodies are strict: a misspelled or extra field, such as `dirize` instead of `diarize`, is refused so that the typo does not go unnoticed. The message lists the fields that are allowed.
- The file source is wrong. A transcription needs exactly one of `upload_id` or `url`: none of them, or both, is refused. A `url` must be text, start with `http` or `https`, be a valid address and be under 2048 characters.
- To transcribe an earlier job again, `source_transcription_id` takes the place of `upload_id` and `url`, and it must be a job id as `POST /v1/transcribe` returned it, and the job must be completed. Sending it together with `upload_id` or `url` is refused.
- An option has the wrong type or value. `diarize` and `align` must be `true` or `false`; `speaker_count` is a whole number from 1 to 50 and needs `diarize` to be `true`; `speech_threshold` is a number from 0 to 1; `language` must be a supported language code such as `en`, `es` or `fr`.
- A `webhook_url` that cannot be used. It must be a valid `https://` address, and not a private or internal network address.
- A bad `Idempotency-Key`. It must be printable ASCII characters, and not empty or longer than the limit named in the message.
- A bad query on a list or a read. For `GET /v1/transcriptions`: an unknown `status`, a `from` or `to` that is not an ISO-8601 time, an `order` that is not `desc` or `asc`, a `limit` outside the allowed range, or a `cursor` that is not valid. For `GET /v1/transcribe/{id}`: a `format` that is not `json`, `srt`, `vtt` or `text`, or a caption option that is not valid.
- Feedback without enough words. A rating, a problem report or a "no speech" report needs at least 20 characters of your own words.

## What to do
1. Read the message: it names the field or rule.
2. Fix that one thing in the request, and send it again. The same request gives the same answer until you change it.
3. Check the field in the API reference, which lists every parameter with its type and allowed values.
4. If the message is about a link, check that it is a full address that starts with `https://` and opens in a browser.

### In Claude, ChatGPT and other AI apps
1. You see this when an app that uses an API key or API credits sends the API something it does not accept. The app usually fixes it on its own when you ask it to try again. If it keeps failing, tell the app what you want in plain words (the file or link, the language) and let it build the request again.

## Were you charged?
No. Nothing was started, so nothing was used.

## Still stuck?
Email support@scriptivox.com with:
- the email address of your Scriptivox account
- the `request_id` from the answer, and the request you sent with your key left out
- when it happened, with your time zone
- the exact message you saw

In Claude, ChatGPT or another AI app, you can also ask it to send us a problem report: it shows you the report first and sends it only when you say yes.

## For developers
`400 INVALID_REQUEST`, answered at once on the request, before any job exists. Sending the same request again never works: change what the message names. The API has dozens of different sentences for this code, each naming one problem. Some of them:

- `Invalid JSON in request body`
- `Unknown field(s): {fields}. Allowed: {allowed}.`
- `Send either upload_id (from POST /v1/upload) or url.`
- `Provide either upload_id or url, not both`
- `speaker_count requires diarize to be true`
- `speaker_count must be an integer between 1 and 50`
- `speech_threshold must be a number from 0 to 1`
- `Invalid language code "{language}". Use an ISO 639-1 code (e.g. "en", "es", "fr"). See docs for the full list of supported languages.`
- `Invalid webhook_url. Must be a valid HTTPS URL.`
- `webhook_url points to a private or internal network address`
- `Invalid URL format`
- `URL must use http or https protocol`
- `URL must be under 2048 characters`
- `Invalid Idempotency-Key. Must be 1..{max} printable ASCII characters.`
- `Invalid status "{status}". Allowed: {list}.`
- `Invalid format "{format}". Allowed: json, srt, vtt, text.`
- `A rating needs words: comment or their_words, at least 20 characters.`
- `The URL must be a valid https:// address.`

For a transcribe-again request, `Provide only one of upload_id, url or source_transcription_id.` answers a request that sends more than one, and a `source_transcription_id` that is not a job id (a UUID) is refused as well. A job id that is not one of your jobs is `404 TRANSCRIPTION_NOT_FOUND`, and a job that is not completed is refused as `INVALID_REQUEST` with `error.current_status` added.

A link to a site that is switched off for links also answers `INVALID_REQUEST`, with `error.reason` `platform_disabled` and `error.platform` naming the site; that case has its own page.

```json
{
  "error": {
    "code": "INVALID_REQUEST",
    "message": "speaker_count requires diarize to be true",
    "docs_url": "https://www.scriptivox.com/errors/request-invalid",
    "help_id": "request-invalid",
    "request_id": "req_6fe725fffa7d9b98"
  }
}
```

---

Every help page: https://www.scriptivox.com/errors.md (the list as JSON: https://www.scriptivox.com/errors.json)
