<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Error streaming dataset flow with power BI in Developer</title>
    <link>https://community.fabric.microsoft.com/t5/Developer/Error-streaming-dataset-flow-with-power-BI/m-p/427924#M12991</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="66183" data-lia-user-login="tleamon" class="lia-mention lia-mention-user"&gt;tleamon&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The error message shows the data is a invalid json data. Please try these two format below.&lt;/P&gt;
&lt;PRE&gt;{&lt;BR /&gt;"timestamp" : "2016-09-10T01:26:45.030Z",&lt;BR /&gt;"temperature" : 98.6,&lt;BR /&gt;"humidity" : 98.6&lt;BR /&gt;}&lt;/PRE&gt;
&lt;PRE&gt;"{&lt;BR /&gt;"timestamp" : "2016-09-10T01:26:45.030Z",&lt;BR /&gt;"temperature" : 98.6,&lt;BR /&gt;"humidity" : 98.6&lt;BR /&gt;}"&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;/P&gt;
&lt;P&gt;Dale&lt;/P&gt;</description>
    <pubDate>Wed, 30 May 2018 01:57:09 GMT</pubDate>
    <dc:creator>v-jiascu-msft</dc:creator>
    <dc:date>2018-05-30T01:57:09Z</dc:date>
    <item>
      <title>Error streaming dataset flow with power BI</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Error-streaming-dataset-flow-with-power-BI/m-p/426430#M12895</link>
      <description>&lt;P&gt;Hi Everyone,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am trying out the real time streaming dataset but it doesnt seem to be working wrong. It appears that I am formatting the data wrong as it is returning:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;{
    "error": {
        "code": "RealTime_PushRowsInvalidJson",
        "pbi.error": {
            "code": "RealTime_PushRowsInvalidJson",
            "parameters": {},
            "details": []
        }
    }
}&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My data in powerbi dataset settings is:&lt;/P&gt;&lt;PRE&gt;[
{
"timestamp" :"AAAAA555555",
"temperature" :"AAAAA555555",
"humidity" :"2018-05-28T06:59:10.835Z"
}
]&lt;/PRE&gt;&lt;P&gt;And the data Im sending through a post is:&lt;/P&gt;&lt;PRE&gt;[ {`
“timestamp” : “2016-09-10T01:26:45.030Z”,
“temperature” : 98.6,
“humidity” : 98.6
} ]&lt;/PRE&gt;</description>
      <pubDate>Mon, 28 May 2018 07:02:03 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Error-streaming-dataset-flow-with-power-BI/m-p/426430#M12895</guid>
      <dc:creator>tleamon</dc:creator>
      <dc:date>2018-05-28T07:02:03Z</dc:date>
    </item>
    <item>
      <title>Re: Error streaming dataset flow with power BI</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Error-streaming-dataset-flow-with-power-BI/m-p/427056#M12938</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="66183" data-lia-user-login="tleamon" class="lia-mention lia-mention-user"&gt;tleamon&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you didn't input the wrong settings here, maybe you need to change the settings.&lt;/P&gt;
&lt;PRE&gt;[
{
"timestamp" :"AAAAA555555",  &lt;FONT color="#0000FF"&gt;&lt;STRONG&gt;&amp;lt;---should be date time&lt;/STRONG&gt;&lt;/FONT&gt;
"temperature" :"AAAAA555555",
"humidity" :"2018-05-28T06:59:10.835Z"  &lt;STRONG&gt;&lt;FONT color="#0000FF"&gt;&amp;lt;---should be number&lt;/FONT&gt;&lt;/STRONG&gt;
}
]&lt;/PRE&gt;
&lt;P&gt;I don't know which language you used. But the format seems wrong.&lt;/P&gt;
&lt;P&gt;1. The parentheses.&lt;/P&gt;
&lt;P&gt;2. The data should be in a Json format.&lt;/P&gt;
&lt;P&gt;The below is how I did with Python.&lt;/P&gt;
&lt;PRE&gt;push_url = "https://api.powerbi.com/***"
for item in data_to_push:  # the data you posted
    data = json.dumps(item)  
    r = requests.post(push_url, data = data)
    print(str(data) + " pushed.")
    print(r.status_code)
    time.sleep(1)&lt;/PRE&gt;
&lt;P&gt;&lt;A href="https://ibb.co/d1TkTJ" target="_blank"&gt;&lt;IMG src="https://ip1.i.lithium.com/deb70131e31b7f06f0fd51e539017d099c77c9e5/68747470733a2f2f696d6167652e6962622e636f2f66784343384a2f4572726f725f73747265616d696e675f646174617365745f666c6f775f776974685f706f7765725f42492e706e67" border="0" alt="Error_streaming_dataset_flow_with_power_BI" /&gt;&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;/P&gt;
&lt;P&gt;Dale&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 29 May 2018 05:23:03 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Error-streaming-dataset-flow-with-power-BI/m-p/427056#M12938</guid>
      <dc:creator>v-jiascu-msft</dc:creator>
      <dc:date>2018-05-29T05:23:03Z</dc:date>
    </item>
    <item>
      <title>Re: Error streaming dataset flow with power BI</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Error-streaming-dataset-flow-with-power-BI/m-p/427896#M12988</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="28904" data-lia-user-login="v-jiascu-msft" class="lia-mention lia-mention-user"&gt;v-jiascu-msft&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you very much for the reply and I did not notice that I had a timestamp labeled as the wrong data type. Sadly this didnt fix my issue. I am actually just using Postman right now to send posts to the url. I have attatched a screenshot of the data I am trying to send as well as the way I have my realtime data item set up.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 30 May 2018 00:40:21 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Error-streaming-dataset-flow-with-power-BI/m-p/427896#M12988</guid>
      <dc:creator>tleamon</dc:creator>
      <dc:date>2018-05-30T00:40:21Z</dc:date>
    </item>
    <item>
      <title>Re: Error streaming dataset flow with power BI</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Error-streaming-dataset-flow-with-power-BI/m-p/427924#M12991</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="66183" data-lia-user-login="tleamon" class="lia-mention lia-mention-user"&gt;tleamon&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The error message shows the data is a invalid json data. Please try these two format below.&lt;/P&gt;
&lt;PRE&gt;{&lt;BR /&gt;"timestamp" : "2016-09-10T01:26:45.030Z",&lt;BR /&gt;"temperature" : 98.6,&lt;BR /&gt;"humidity" : 98.6&lt;BR /&gt;}&lt;/PRE&gt;
&lt;PRE&gt;"{&lt;BR /&gt;"timestamp" : "2016-09-10T01:26:45.030Z",&lt;BR /&gt;"temperature" : 98.6,&lt;BR /&gt;"humidity" : 98.6&lt;BR /&gt;}"&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;/P&gt;
&lt;P&gt;Dale&lt;/P&gt;</description>
      <pubDate>Wed, 30 May 2018 01:57:09 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Error-streaming-dataset-flow-with-power-BI/m-p/427924#M12991</guid>
      <dc:creator>v-jiascu-msft</dc:creator>
      <dc:date>2018-05-30T01:57:09Z</dc:date>
    </item>
    <item>
      <title>Re: Error streaming dataset flow with power BI</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Error-streaming-dataset-flow-with-power-BI/m-p/428650#M13032</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="66183" data-lia-user-login="tleamon" class="lia-mention lia-mention-user"&gt;tleamon&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Please refer to the snapshot below.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;/P&gt;
&lt;P&gt;Dale&lt;/P&gt;</description>
      <pubDate>Wed, 30 May 2018 15:03:53 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Error-streaming-dataset-flow-with-power-BI/m-p/428650#M13032</guid>
      <dc:creator>v-jiascu-msft</dc:creator>
      <dc:date>2018-05-30T15:03:53Z</dc:date>
    </item>
    <item>
      <title>Re: Error streaming dataset flow with power BI</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Error-streaming-dataset-flow-with-power-BI/m-p/428754#M13037</link>
      <description>&lt;P&gt;Thanks for the help Dale!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I think it was because I did not have it set to raw potentially.&lt;/P&gt;</description>
      <pubDate>Wed, 30 May 2018 17:58:22 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Error-streaming-dataset-flow-with-power-BI/m-p/428754#M13037</guid>
      <dc:creator>tleamon</dc:creator>
      <dc:date>2018-05-30T17:58:22Z</dc:date>
    </item>
  </channel>
</rss>

