Earn the coveted Fabric Analytics Engineer certification. 100% off your exam for a limited time only!
Hi,
I'm trying to do fairly easy task that looks like is working for everyone else except me.
I want to get data from my supplier using REST API. In API instructions I have simple URL and my API key:
https://www.mysupplier.com/api/search/?apikey=MyApiKey&searchterm=MySearchTerm
This link works fine and returns data in JSON format inserted straight to browser or making request via POSTMAN. However, when I try to get data in Power BI from WEB source I receive error "Details: "Access to the resource is forbidden."".
Can it be that Power BI has restrictions extracting data from my datasource? Or should this task be done more subtle than just placing URL?
No additional Authentication is mentioned in API instructions.
In your Data Source Settings, make sure that your authentication type is Anonymous (since you are providing the key with each web call).
Pat
To learn more about Power BI, follow me on Twitter or subscribe on YouTube.
Done this for every suggested url root:
https://www.mysupplier.com/api/search
https://www.mysupplier.com/api/
https://www.mysupplier.com/
Also set Privacy level to public. Still same "Access to the resource is forbidden.".