Forum Discussion
How to connect to a secure API
I want to access data from a secure api which request URL is :
[HOST]/[BASE_PATH]?apiKey=[API_KEY]
I've already generated an authentification token which works:
In Power BI, I want to set a Web Data Source. For the moment I have done the following steps :
- assign my token value to the parameter "apikey"
- then I want to define a API web type authentification so I've entered my token value in the Key field and choose the lower level to apply those parameters (which corresponds to [HOST]/[BASE_PATH]?) but I have an error "a web API key can be specified when a web API key name is provided"
1 Reply
- AnonymousNot applicable
Hi Anonymous
You can try to select the basic input in web source,
Then make the key as a value to input to the authentication.
You can refer to the following link.
Solved: A web API key can only be specified when a web API... - Microsoft Fabric Community
Best Regards!
Yolo Zhu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.