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

# Error report

> Connect route where the user reports an error in a connected tariff.

The user reports an error in a connected tariff. Connect marks the tariff `ERROR_REPORTED` and the summary shows it as under review, while the user keeps using the app.

When Flatpeak resolves the report, the tariff returns to `CONNECTED` and your backend receives `tariff.report.resolved` (see [Events](/docs/energy-api/guides/platform/events.md)). Every report is listed in the Console.

> [tab] Preview
>
> ![](https://mintcdn.com/flatpeak-d495c19e/2B6nWUU4-c2pSD3E/images/busbar/connect/report-tariff-error.png?fit=max\&auto=format\&n=2B6nWUU4-c2pSD3E\&q=85\&s=23f3ba792f681682cfcb8daa200c5853)

> [tab] Code
>
> ```json Connect response theme={"system"}
> {
>   "connect_session": "cos_6587fa4362341be5b524de3b",
>   "route": "error_report",
>   "live_mode": false,
>   "actions": [
>     "BACK",
>     "CLOSE"
>   ],
>   "data": {
>     "device_type": "BATTERY_STORAGE",
>     "location": {
>       "timezone": "Europe/London",
>       "currency_code": "GBP"
>     },
>     "direction": "IMPORT",
>     "tariff_type": "COMMODITY",
>     "supplier": {
>       "id": "sup_65b78bbdd8e83b06a60e38c2",
>       "display_name": "Octopus Energy",
>       "logo_url": "https://s.flatpeak.com/83b06a60e38c2.png"
>     },
>     "report_options": [
>       "PRICE",
>       "PERIODS",
>       "TIMES",
>       "FEES",
>       "OTHER"
>     ],
>     "email_address": "",
>     "note": ""
>   }
> }
> ```
>
> ```bash Your POST to Connect (data) theme={"system"}
> curl --request POST \
>   --url https://connect.flatpeak.com \
>   --header 'Content-Type: application/json' \
>   --data '{
>   "connect_session": "cos_6587fa4362341be5b524de3b",
>   "route": "error_report",
>   "data": {
>     "report_options": [
>       "PRICE",
>       "OTHER"
>     ],
>     "email_address": "emily.smith@example.com",
>     "note": "My tariff is flat, but it should update every hour."
>   }
> }'
> ```
>
> #### Actions
>
> | Action | Result |
> | :- | :- |
> | `BACK` | Returns the previous page. |
> | `CLOSE` | Returns the `callback_url` set on the Connect session. |
>
> #### Errors
>
> | Error code | Description |
> | :- | :- |
> | `email_invalid` | Email address is invalid. |
> | `action_missing` | Action parameter is required. |
> | `action_invalid` | Action parameter XX is not supported. |


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