Don't miss your chance to take the Fabric Data Engineer (DP-700) exam on us!
Learn moreWe've captured the moments from FabCon & SQLCon that everyone is talking about, and we are bringing them to the community, live and on-demand. Starts on April 14th. Register now
I have created a streaming dataset in PowerBI with an API which I am trying to POST to from Unity. I have created a C# script inside of Unity which is able to POST and GET from other APIs, but the PowerBI API always returns errors. I get a 404 error using GET and a 500 error using POST, I am able to POST from Postman and the Powershell, but neither of them are able to GET either. I believe there is some redirect URL happening that is confusing Unity and returning the 500 errror when I POST.
When I use Postman to test a GET request, I get the following error:
Do I need to create an app registration? Is there a different URL from the one provided by PowerBI that will work better?
Hi @ep513140,
Can you please share some more detail information about this issue? They should help us clarify your scenario and test to troubleshoot.
How to Get Your Question Answered Quickly
Regards,
Xiaoxin Sheng
Here is my code which I am using:
The player Confidence and Experience are the columns in the API I want to write to.
First I attempt a GET request which returns this error:
rows?experience=power-bi&key=<key>: HTTP Error: HTTP/1.1 404 Not Found
Then I attempt a POST request which gets this error:
rows?experience=power-bi&key=<key>: HTTP Error: HTTP/1.1 500 Internal Server Error
As I have said above, the code works for other APIs but this PowerBI API will not let me post to it. Postman and Powershell are able to post to the PowerBI API but are unable to do a GET request with this error:
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
| User | Count |
|---|---|
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |