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

Compete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.

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
August Power BI Update Carousel

Power BI Monthly Update - August 2025

Check out the August 2025 Power BI update to learn about new features.

August 2025 community update carousel

Fabric Community Update - August 2025

Find out what's new and trending in the Fabric community.

Top Solution Authors