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

# command-rejected

> The charger refused to start or stop charging.

| Status | Title |
| - | - |
| `422` | The charger refused |

## Where you see it

[Start charging](https://developer.plugchoice.com/sdk/api/start-charging.md) and [Stop charging](https://developer.plugchoice.com/sdk/api/stop-charging.md).

## What it means

Plugchoice sent the command and the charger said no, or it can't be started or stopped remotely. `charger_status` holds the charger's own answer when it gave one, and `detail` what the charger said about it.

## What to do

Check the charger's status with [Get a charger](https://developer.plugchoice.com/sdk/api/get-charger.md). A charger can refuse a start when no car is plugged in, when it's already charging or when a connector is faulted. Try again once that's resolved.

## Example

```json theme={null}
{
  "type": "https://developer.plugchoice.com/sdk/errors/command-rejected",
  "title": "The charger refused",
  "status": 422,
  "code": "command-rejected",
  "charger_status": "Rejected"
}
```


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.