# Report a result

> Tell us whether a solution worked, with reportIncorrect, reportCorrect or feedbackTask.

Source: https://docs.peak.fo/docs/compat/reports

If a solution didn't work on the site, tell us. Reports go to the Peak Solutions team, who use them to find and fix problems with a site or a solver. They don't change your balance.

You can report on any of your account's finished tasks. A later report on the same task replaces the earlier one.

How long you have depends on the `taskId`:

- **A number** (2Captcha, Anti-Captcha and CapMonster code): within 5 minutes of the solve finishing, while [getTaskResult](/docs/compat/get-task-result) still has the task.
- **A UUID string** (CapSolver code, or a native `task_id`): for 24 hours.

## reportIncorrect and reportCorrect [#reportincorrect-and-reportcorrect]

The 2Captcha format. `POST https://api.peak.fo/reportIncorrect` when the solution didn't work, or `POST https://api.peak.fo/reportCorrect` when it did.

| Field       | Type               | Required | Description                     |
| ----------- | ------------------ | -------- | ------------------------------- |
| `clientKey` | `string`           | Yes      | Your API key.                   |
| `taskId`    | `number`, `string` | Yes      | The `taskId` from `createTask`. |

```bash title="Terminal"
curl https://api.peak.fo/reportIncorrect \
  -H "Content-Type: application/json" \
  -d '{"clientKey": "pk_your_api_key", "taskId": 4826153907261}'
```

## feedbackTask [#feedbacktask]

The CapSolver format. `POST https://api.peak.fo/feedbackTask`.

| Field            | Type               | Required | Description                                                    |
| ---------------- | ------------------ | -------- | -------------------------------------------------------------- |
| `clientKey`      | `string`           | Yes      | Your API key.                                                  |
| `taskId`         | `string`           | Yes      | The `taskId` from `createTask`.                                |
| `result.invalid` | `boolean`          | No       | `true` if the solution didn't work. Defaults to `false`.       |
| `result.code`    | `number`, `string` | No       | Your own code for what happened, such as the site's response status. |
| `result.message` | `string`           | No       | What happened, in words.                                       |

```json title="Body"
{
  "clientKey": "pk_your_api_key",
  "taskId": "5f0c2b1e-8a4d-4c3e-9b7a-2d6e1f4a8c90",
  "result": {
    "invalid": true,
    "code": 403,
    "message": "the site rejected the token"
  }
}
```

`code` and `message` are kept together, up to 500 characters.

## Response [#response]

```json tab="Saved"
{
  "errorId": 0,
  "status": "success"
}
```

```json tab="Not found"
{
  "errorId": 16,
  "errorCode": "ERROR_NO_SUCH_CAPCHA_ID",
  "errorDescription": "Task not found or expired"
}
```

`ERROR_NO_SUCH_CAPCHA_ID` (CapSolver code: `ERROR_TASKID_INVALID`) means one of these:

- The task id is wrong.
- The task is still being solved.
- The time to report on it has passed (see above).
- It belongs to another account.

A `task_id` from the native [`POST /solve`](/docs/api/solve) works here too, sent as `taskId`. On the native API, use [`POST /feedback`](/docs/api/feedback).
