Power BI is turning 10, and we’re marking the occasion with a special community challenge. Use your creativity to tell a story, uncover trends, or highlight something unexpected.
Get startedJoin us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.
Hello,
I am trying to connect Power BI to our ticketing system API to get ticketing data for a Power BI report. I am using Power Query Advanced Editor to write the code to connect to the API POST.
Here is my code to connect to the API:
I have used the API Reference guide to build this code just like their examples and I keep getting either two errors.
First error:
When I set Cookie equal to sessionKey={created api key}
Second error:
I thought the API didn't like the text "sessionKey" in the header so I took it out and changed it to this:
and get this error
I have tried multiple modifications and cannot get it to work. I am using Anonymous access currently. I tried using Web API access and get this error when I enter in the API Key.
Any help would be appreciated.
Thanks,
Tim
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Check out the June 2025 Power BI update to learn about new features.
User | Count |
---|---|
14 | |
13 | |
8 | |
8 | |
7 |
User | Count |
---|---|
17 | |
13 | |
7 | |
6 | |
6 |