When using the Piano Analytics API to integrate with Power BI, you may encounter an error indicating that "Access to the resource is forbidden".
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" :
In "Data source settings", locate the problematic data source. Once you've found it, select it and click on "Edit Permissions".
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.