<?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: Bad time format on 'startTime', when using REST API Refreshes in Service</title>
    <link>https://community.fabric.microsoft.com/t5/Service/Bad-time-format-on-startTime-when-using-REST-API-Refreshes/m-p/3344403#M201331</link>
    <description>&lt;P&gt;Those are milliseconds, not microseconds.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Why would you consider that to be a bug?&amp;nbsp; Both strings are valid ISO8601 datetime strings.&lt;/P&gt;</description>
    <pubDate>Sat, 22 Jul 2023 00:17:56 GMT</pubDate>
    <dc:creator>lbendlin</dc:creator>
    <dc:date>2023-07-22T00:17:56Z</dc:date>
    <item>
      <title>Bad time format on 'startTime', when using REST API Refreshes</title>
      <link>https://community.fabric.microsoft.com/t5/Service/Bad-time-format-on-startTime-when-using-REST-API-Refreshes/m-p/3336977#M200967</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm using POWERBI REST API to automate refreshes, with a Python script of mine.&lt;/P&gt;&lt;P&gt;When I check for the last refresh, I use startTime, to know when the last refresh was started.&lt;/P&gt;&lt;P&gt;Most often I get a value as such : &lt;SPAN&gt;&lt;SPAN class=""&gt;yyyy-mm-ddThh:mm:ss.xxxxZ&amp;nbsp; (xxxx are the microseconds). No problem there...&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN class=""&gt;But, every now and then, I get a value as such : yyyy-mm-ddThh:mm:ssZ&amp;nbsp; (Without the microseconds), which is a different date format.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN class=""&gt;I'm not 100% sure, but i&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN&gt;&lt;SPAN class=""&gt;t would seem that, when a refresh starts exactly at 0000 microseconds of a second, the microseconds are not included in the data format. &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN&gt;&lt;SPAN class=""&gt;I was expecting, in that case, to get a value as such : yyyy-mm-ddThh:mm:ss.0000Z&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN class=""&gt;I had to include a try/except on the script, to manage this situation... but I don't believe it was intended that way.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Should I report this as a Bug ?&lt;/P&gt;</description>
      <pubDate>Tue, 18 Jul 2023 16:12:36 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Service/Bad-time-format-on-startTime-when-using-REST-API-Refreshes/m-p/3336977#M200967</guid>
      <dc:creator>jaapinho</dc:creator>
      <dc:date>2023-07-18T16:12:36Z</dc:date>
    </item>
    <item>
      <title>Re: Bad time format on 'startTime', when using REST API Refreshes</title>
      <link>https://community.fabric.microsoft.com/t5/Service/Bad-time-format-on-startTime-when-using-REST-API-Refreshes/m-p/3344403#M201331</link>
      <description>&lt;P&gt;Those are milliseconds, not microseconds.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Why would you consider that to be a bug?&amp;nbsp; Both strings are valid ISO8601 datetime strings.&lt;/P&gt;</description>
      <pubDate>Sat, 22 Jul 2023 00:17:56 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Service/Bad-time-format-on-startTime-when-using-REST-API-Refreshes/m-p/3344403#M201331</guid>
      <dc:creator>lbendlin</dc:creator>
      <dc:date>2023-07-22T00:17:56Z</dc:date>
    </item>
    <item>
      <title>Re: Bad time format on 'startTime', when using REST API Refreshes</title>
      <link>https://community.fabric.microsoft.com/t5/Service/Bad-time-format-on-startTime-when-using-REST-API-Refreshes/m-p/3346087#M201413</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Thx for the milliseconds correction.&lt;/P&gt;&lt;P&gt;I wasn't sure it was a bug, hence my question if I should report it as such or not...&lt;/P&gt;&lt;P&gt;For me, it didn't seem normal to receive these different string formats, but I get now from your answer that this is expected... The way I was handling it (Through datetime.strptime) is basically a hack, so I'll be delving into the dateutil library to find a better way. SOLVED.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 24 Jul 2023 08:47:50 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Service/Bad-time-format-on-startTime-when-using-REST-API-Refreshes/m-p/3346087#M201413</guid>
      <dc:creator>jaapinho</dc:creator>
      <dc:date>2023-07-24T08:47:50Z</dc:date>
    </item>
  </channel>
</rss>

