cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
ClubmanPlus850
New Member

Realtime Push URL returning 401 from app integration (though works fine from cURL)

Hi!

I am trying to setup an integration with Power BI Service for ingesting real time data. I have configured the data set and a dashboard as per the documentation.

 

When I test using cURL (with the provided code when setting up the API) it works fine - i see the data populated into the dashboard. However when I use the push URL in my application I can see the data going out, but getting a 401 from PowerBI - I have compared the headers, URL and everything looks fine. I can't for the life of me work out what is causing the 401

 

as per https://docs.microsoft.com/en-us/power-bi/connect-data/service-real-time-streaming 

 

"For streaming datasets created using the Power BI service UI, as described in the previous paragraph, Azure AD authentication is not required. In such datasets, the dataset owner receives a URL with a rowkey, which authorizes the requestor to push data into the dataset with out using an Azure AD OAuth bearer token. "

 

as such the URL with embedded key should be enough (and indeed, with cURL it is) - is there any way to debug why I am getting this issue? does anyone know why this issue is occurring? 

1 ACCEPTED SOLUTION
ClubmanPlus850
New Member

hej! thanks for the reply - turns out the error was 10cm behind the keyboard... a classic ID-10T error 😉 (failed to notice that the push URL was already URL encoded)

 

but thanks for the link, a good reference for the future

View solution in original post

3 REPLIES 3
ClubmanPlus850
New Member

hej! thanks for the reply - turns out the error was 10cm behind the keyboard... a classic ID-10T error 😉 (failed to notice that the push URL was already URL encoded)

 

but thanks for the link, a good reference for the future

ClubmanPlus850
New Member

hej! thanks for the reply - turns out the error was 10cm behind the keyboard... a classic ID-10T error 😉 (failed to notice that the push URL was already URL encoded)

 

but thanks for the link, a good reference for the future

View solution in original post

v-easonf-msft
Community Support
Community Support

Hi, @ClubmanPlus850 

Please check if this post could help.

https://bpcs.com/blog/power-bi-streaming-data-sets-the-good-the-great-and-the-gotchas 

 

Best Regards,
Community Support Team _ Eason

Helpful resources

Announcements
UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

Power BI October Update 2021.jpg

Power BI Release

Click here to read more about the October 2021 Release!

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

Teds Dev Camp Oct. 2021 768x460.jpg

Power BI Dev Camp - October 28th, 2021

Mark your calendars and join us for our next Power BI Dev Camp!