Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

The 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

Reply
callmeErik
New Member

790 rows loaded but "couldn't authenticate with the credentials provided"

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.

1 REPLY 1
Anonymous
Not applicable

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.

Helpful resources

Announcements
New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

March Power BI Update Carousel

Power BI Community Update - March 2026

Check out the March 2026 Power BI update to learn about new features.