# Error exporting report - Error Code 400

<figure><img src="/files/kOiIItyillruTM2VXKEP" alt=""><figcaption></figcaption></figure>

This error usually occurs due to a lack of permission to export data, and is most common when trying to export the report using the "Image (PNG)" format.

This article explains the step-by-step process of how to enable this permission in order to export reports in the desired format.

## 1. Accessing the Power BI Service Administration Portal

Using a user with Power BI Administrator permission (Fabric Administrator), access the [Power BI Administration Portal](https://app.powerbi.com/admin-portal/tenantSettings).

## 2. How to Check if the Required Permissions Are Enabled

On the Administration Portal page, in the **Tenant settings** menu, search for the word **"Export"** in the search bar located in the upper right of the screen.

Find the **"Export and sharing settings"** section and check whether Power BI is allowing the following exports:

* Export to Excel (Used by the "Export data" menu in the visual)
* Export to .csv (Used by the "Export data" menu in the visual)
* Export reports as PowerPoint presentations or PDF documents (Export button)
* Export reports as image files (Export button)

<figure><img src="/files/Oqv7B8KwZtADdGiOPXYR" alt=""><figcaption></figcaption></figure>

## 3. How to Enable the Required Permissions

If any of these permissions are disabled, some data export features will not be available in Power Embedded or will display an error message when you try to use them.

The example below demonstrates how to **enable** the **"Export reports as image files"** permission, which is disabled by default.

<figure><img src="/files/yY18z5BfeJB3cj8FWihw" alt=""><figcaption></figcaption></figure>

After the change above, you will be able to export your reports as a PNG image file.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.powerembedded.com.br/en/reports-portal/most-common-issues/error-exporting-report-error-code-400.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
