cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Frequent Visitor

Urgent help needed to access streaming dataset through API

Hi,

 

I have created one dataset in powerBI and generated on API with secure Key. I can post data from postman without any issue, even if "historic data analysis" is on. But I am trying to connect the same API from one SAAS application called Snaplogic but unable to post the data if "historic data analysis" on and getting the below error, but no issue if I turned off this option. Please help me if anyone having any solution...

 

Error:

"{"error":{"code":"InvalidRequest","message":"Error parsing request for dataset sobe_wowvirtualserver|b4556b25-c7b6-46f0-b17f-c9306afe4613: Did not encounter start array token or start object token for rowset"}}

 

Thanks,

Avishek

3 REPLIES 3
Microsoft
Microsoft

Hi @avishek_modak,

 

Here is a similar thread which describes a scenario where pushing data to PowerBI Streaming dataset API fails when "historic data analysis" is ON.

 

Regards,
Yuliana Gu

 

Community Support Team _ Yuliana Gu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Hi,

 

I already went through that thread, but one thing I ididt understand properly that can I post request from any other tool without having AAD authentication? I have already created one streaming dataset, I need to post the data keeping historic data analysis ON

without AAD, is it possible? 

 

Thanks,

Avishek

Hi @avishek_modak,

 

From this article, we can see that "All requests to REST APIs are secured using Azure AD OAuth" using Power BI REST APIs to push data. But "For streaming datasets created using the Power BI service UI, as described in the previous paragraph, Azure AD authentication is not required."

 

Regards,
Yuliana Gu

Community Support Team _ Yuliana Gu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
secondImage

Congratulations!

We are excited to announce the Power BI Super Users!

Wave Release 2

Check out the updates in Power BI.

Overview of Power BI 2020 release wave 2!

Get Ready for Power BI Dev Camp

Get Ready for Power BI Dev Camp

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

secondImage

The largest Power BI virtual conference

100+ sessions, 100+ speakers, Product managers, MVPs, and experts. All about Power BI. Attend online or watch the recordings.

Top Solution Authors
Top Kudoed Authors