Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Earn the coveted Fabric Analytics Engineer certification. 100% off your exam for a limited time only!

Reply
avishek_modak
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
v-yulgu-msft
Employee
Employee

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
April AMA free

Microsoft Fabric AMA Livestream

Join us Tuesday, April 09, 9:00 – 10:00 AM PST for a live, expert-led Q&A session on all things Microsoft Fabric!

March Fabric Community Update

Fabric Community Update - March 2024

Find out what's new and trending in the Fabric Community.