---
title: "Error: invalid_parameter"
status: current
phase: 3
---

# `invalid_parameter`

**HTTP 400** · A parameter is not valid.

## Why it happens

For example `limit=5000` (the maximum is 1000), `order=` with a field that does not exist, or `rich_text=pdf`.

## How to fix it

The `details` field says which one and what values it accepts.

## Example

```json
{
  "error": {
    "code": "invalid_parameter",
    "message": "A parameter is not valid.",
    "fix": "The details field says which one and what values it accepts.",
    "doc_url": "https://pluma.so/docs/errors/invalid_parameter"
  }
}
```
