Skip to main content
Skip table of contents

Power BI: What to do if access to the resource is forbidden?

When using the Piano Analytics API to integrate with Power BI, you may encounter an error indicating that "Access to the resource is forbidden".

mceclip0-20240918-121114.png

There are several reasons for this, including :

  • An expired or deleted API key.

  • Incorrect credentials.

To resolve this problem, you will need to review and update your identification information in Power BI.

To solve this problem, open Power BI and go to the following section "File" →"Options and settings" → "Data source settings" : 

image-20240918-123340.png

In "Data source settings", locate the problematic data source. Once you've found it, select it and click on "Edit Permissions".

image-20240918-123357.png

You will then have the option of modifying the identification information using "Edit", where you can enter a new "Access Key" and "Secret Key". If the current keys are obsolete, this update is necessary. Alternatively, by deleting the data source with "Delete", you can create a new one if the keys cannot be recovered or if you prefer to start from scratch.

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.