Get certified for free when you join Fabric Data Days 2026 and dive into Fabric, Power BI, SQL, AI, and other essential data skills.
Join nowJuly 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss your chance! Learn more
Hi,
I'm trying to get data from an API with a bearer token. Since it is paginated, I'm have the bearer token in my PQ and looping the data page by page. The script worked, only I had to change the endpoint. I can get the data from it with Postman, but if I want to get the data in PBI Desktop it will ask me to "enter credentials". I will pick Anonymous and none for privacy level, since the token is allready in my Power Query. This will give me a failure on credentials all the time.
I'm not a big fan of API's so I try to avoid it as much a possible, but in this case this in my only option. Can anyone give me some advice how to procede and/or give me an idea what could be the issue?
Solved! Go to Solution.
all of a sudden it worked. Didn't change anything, I guess there was an issue at their side.
all of a sudden it worked. Didn't change anything, I guess there was an issue at their side.
Hi @ray_codex
Do you have any documentation related to that API?
I remember some time ago, this was the first article that helped me get started with API bearer tokens in Power BI. Just sharing it here — maybe it will help you:
Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.
Join Fabric Data Days 2026: 60 days of free live/on-demand sessions, challenges, study groups, and certification opportunities.
| User | Count |
|---|---|
| 23 | |
| 22 | |
| 18 | |
| 17 | |
| 13 |
| User | Count |
|---|---|
| 63 | |
| 44 | |
| 42 | |
| 40 | |
| 39 |