This is best Fabric, Power BI, SQL and AI community event. How do we know? The last event sold out! Save €200 with code FABCMTY200.
Register nowA new Data Days event is coming soon! This time we’re going bigger than ever. Fabric, Power BI, SQL, AI and more. Don't miss out.
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:
Check out the May 2026 Power BI update to learn about new features.
Sign up to receive a private message when registration opens and key events begin.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
| User | Count |
|---|---|
| 27 | |
| 25 | |
| 23 | |
| 19 | |
| 14 |
| User | Count |
|---|---|
| 50 | |
| 46 | |
| 19 | |
| 18 | |
| 18 |