Don't miss your chance to take the Fabric Data Engineer (DP-700) exam on us!
Learn moreThe FabCon + SQLCon recap series starts April 14th at 8am Pacific. If you’re tracking where AI is going inside Fabric, this first session is a can't miss. Register now
Hello,
I have made a custom function in Power BI that makes a call to an API. I use the function in a table, and the preview loads just fine. It tells me to specify how to connect though, and this doesn't go away when I tell it to do so anonymously, no matter what level of the API I try to do so at. If I just apply the changes anyway, it loads 790 rows before being cut off by a pop-up of "couldn't authenticate with the credentials provided".
What am I doing wrong?
The API I'm using is Geoapify, and I connect with a key saved as a parameter.
Hi @callmeErik
Based on your description, you need to make sure you got the correct token for the Api, you can refer to the following link.
Connecting to an OAuth API Like PayPal With Power Query • My Online Training Hub
And it is bewtter that you need to set the query privacy levels to organization or private, you can refer to the following link.
Understand Power BI Desktop privacy levels - Power BI | Microsoft Learn
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.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
| User | Count |
|---|---|
| 5 | |
| 4 | |
| 3 | |
| 3 | |
| 2 |
| User | Count |
|---|---|
| 8 | |
| 6 | |
| 6 | |
| 6 | |
| 5 |