Quantcast
Channel: Desktop topics
Viewing all articles
Browse latest Browse all 217157

The user was not authorized - Power BI Desktop API Key not working with ApiKeyName

$
0
0

When I hard code my API key into the header of my web call 

 

Headers=[#"X-Api-Key"="XXXX"] it works but if I use ApiKeyName="X-Api-Key" and I get promoted for the API I am getting "The user was not authorized" despite the API key been correct.

 

What am I missing here?


Viewing all articles
Browse latest Browse all 217157

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>