> ## Documentation Index
> Fetch the complete documentation index at: https://api.globalwebindex.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Invalid parameters

**Status:** `422 Unprocessable Entity`

**Type:** `https://api.globalwebindex.com/docs/spark-api/problems/invalid-params`

The request does not match the request schema (a required field is missing, a value has the wrong type, or an unknown field is present), or a value is not accepted.

## How to fix it

Check `detail` for the field that failed, correct the request, and send it again. Fields that are not documented in the API reference are rejected.

## Example

`detail` is a human-readable explanation and its wording can change. Use `type` to identify the error.

```json theme={null}
{
  "type": "https://api.globalwebindex.com/docs/spark-api/problems/invalid-params",
  "title": "Invalid parameters",
  "status": 422,
  "detail": "could not validate input: prompt should be a non empty string",
  "instance": "/v2/spark-api/global-filters"
}
```
