<?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: REST API. jobs/instances?jobType=Refresh causes error while manual refresh works in Dataflow</title>
    <link>https://community.fabric.microsoft.com/t5/Dataflow/REST-API-jobs-instances-jobType-Refresh-causes-error-while/m-p/4834552#M5478</link>
    <description>&lt;P&gt;The problem was with permissions. Was trying to refresh with service principal which is not supported at the moment&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 24 Sep 2025 17:37:06 GMT</pubDate>
    <dc:creator>gshapiev</dc:creator>
    <dc:date>2025-09-24T17:37:06Z</dc:date>
    <item>
      <title>REST API. jobs/instances?jobType=Refresh causes error while manual refresh works</title>
      <link>https://community.fabric.microsoft.com/t5/Dataflow/REST-API-jobs-instances-jobType-Refresh-causes-error-while/m-p/4830949#M5454</link>
      <description>&lt;P&gt;Trying to refresh Dataflow Gen2 (CI/CD) dataflow using Rest API&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Getting error on the service side:&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;There was a problem refreshing the dataflow: 'Exception encountered in GetPublishStatusAsync: Response status code does not indicate success: 404 (Not Found)..'. Error code: . (Request ID: 00000000-0000-0000-0000-000000000000).&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;When initiating run in the workspace Everything runs fine.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;What could be the problem? Am I missing something?&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 19 Sep 2025 21:54:18 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Dataflow/REST-API-jobs-instances-jobType-Refresh-causes-error-while/m-p/4830949#M5454</guid>
      <dc:creator>gshapiev</dc:creator>
      <dc:date>2025-09-19T21:54:18Z</dc:date>
    </item>
    <item>
      <title>Re: REST API. jobs/instances?jobType=Refresh causes error while manual refresh works</title>
      <link>https://community.fabric.microsoft.com/t5/Dataflow/REST-API-jobs-instances-jobType-Refresh-causes-error-while/m-p/4831635#M5456</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="394498" data-lia-user-login="gshapiev" class="lia-mention lia-mention-user"&gt;gshapiev&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you for reaching out to the Microsoft Fabric Forum Community.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The error happens because you’re trying to refresh a Dataflow Gen2 with the old Power BI REST API, which only supports Gen1 dataflows. That’s why the call returns 404 Not Found, even though the refresh works fine inside the workspace. The fix is to use the Fabric REST API instead of the Power BI API, make sure you use the correct workspace ID and item ID from Fabric, and authenticate with the Fabric scope. With the right endpoint, IDs, and permissions, the refresh will work as expected.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks &amp;amp; Regards,&lt;/P&gt;
&lt;P&gt;Prasanna Kumar&lt;/P&gt;</description>
      <pubDate>Mon, 22 Sep 2025 04:00:46 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Dataflow/REST-API-jobs-instances-jobType-Refresh-causes-error-while/m-p/4831635#M5456</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2025-09-22T04:00:46Z</dc:date>
    </item>
    <item>
      <title>Re: REST API. jobs/instances?jobType=Refresh causes error while manual refresh works</title>
      <link>https://community.fabric.microsoft.com/t5/Dataflow/REST-API-jobs-instances-jobType-Refresh-causes-error-while/m-p/4832376#M5464</link>
      <description>&lt;P&gt;I'm using fabric api&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;A href="https://api.fabric.microsoft.com/v1/workspaces/" target="_blank" rel="noopener"&gt;https://api.fabric.microsoft.com/v1/workspaces/&lt;/A&gt;&lt;/SPAN&gt;&lt;SPAN class=""&gt;&lt;SPAN&gt;{{WorkspaceId}}&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN&gt;/dataflows/&lt;/SPAN&gt;&lt;SPAN class=""&gt;&lt;SPAN&gt;{{DataflowId}}&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN&gt;/jobs/instances?jobType=Refresh&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;The call actually goes through and I get 202 response. The error is on the service side.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 22 Sep 2025 13:19:46 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Dataflow/REST-API-jobs-instances-jobType-Refresh-causes-error-while/m-p/4832376#M5464</guid>
      <dc:creator>gshapiev</dc:creator>
      <dc:date>2025-09-22T13:19:46Z</dc:date>
    </item>
    <item>
      <title>Re: REST API. jobs/instances?jobType=Refresh causes error while manual refresh works</title>
      <link>https://community.fabric.microsoft.com/t5/Dataflow/REST-API-jobs-instances-jobType-Refresh-causes-error-while/m-p/4833382#M5471</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="394498" data-lia-user-login="gshapiev" class="lia-mention lia-mention-user"&gt;gshapiev&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;When you sync changes from Git into the workspace or use deployment pipelines, you need to open the new or updated dataflow and save changes manually with the editor. This triggers a publish action in the background to allow the changes to be used during refresh of your dataflow. You can also use the on-demand Dataflow publish job API call to automate the publish operation and then refresh.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;document where limitation is noted : &lt;A class="" title="https://learn.microsoft.com/en-us/fabric/data-factory/dataflow-gen2-cicd-and-git-integration" href="https://learn.microsoft.com/en-us/fabric/data-factory/dataflow-gen2-cicd-and-git-integration" target="_blank" rel="noreferrer noopener" aria-label="Link https://learn.microsoft.com/en-us/fabric/data-factory/dataflow-gen2-cicd-and-git-integration"&gt;https://learn.microsoft.com/en-us/fabric/data-factory/dataflow-gen2-cicd-and-git-integration&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Publish Job API Endpoint : POST &lt;A class="" title="https://api.fabric.microsoft.com/v1/workspaces/%7bworkspaceid%7d/dataflows/%7bdataflowid%7d/jobs/instances?jobtype=publish" href="https://api.fabric.microsoft.com/v1/workspaces/%7BworkspaceId%7D/dataflows/%7BdataflowId%7D/jobs/instances?jobType=Publish" target="_blank" rel="noreferrer noopener" aria-label="Link https://api.fabric.microsoft.com/v1/workspaces/{workspaceId}/dataflows/{dataflowId}/jobs/instances?jobType=Publish"&gt;https://api.fabric.microsoft.com/v1/workspaces/{workspaceId}/dataflows/{dataflowId}/jobs/instances?jobType=Publish&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks &amp;amp; Regards,&lt;/P&gt;
&lt;P&gt;Prasanna Kumar&lt;/P&gt;
&lt;P&gt;&lt;LI-WRAPPER&gt;&lt;/LI-WRAPPER&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 23 Sep 2025 12:18:46 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Dataflow/REST-API-jobs-instances-jobType-Refresh-causes-error-while/m-p/4833382#M5471</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2025-09-23T12:18:46Z</dc:date>
    </item>
    <item>
      <title>Re: REST API. jobs/instances?jobType=Refresh causes error while manual refresh works</title>
      <link>https://community.fabric.microsoft.com/t5/Dataflow/REST-API-jobs-instances-jobType-Refresh-causes-error-while/m-p/4833431#M5472</link>
      <description>&lt;P&gt;1. Publish method doesn't exist anymore:&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;{&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;"requestId"&lt;/SPAN&gt;&lt;SPAN&gt;: &lt;/SPAN&gt;&lt;SPAN&gt;"cfb9aff5-00fa-4d4a-90d6-7e2a4e14f40c"&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;"errorCode"&lt;/SPAN&gt;&lt;SPAN&gt;: &lt;/SPAN&gt;&lt;SPAN&gt;"InvalidJobType"&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;"message"&lt;/SPAN&gt;&lt;SPAN&gt;: &lt;/SPAN&gt;&lt;SPAN&gt;"The requested job type is invalid"&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;}&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;2. It is replaced with&amp;nbsp;ApplyChanges. When calling it getting error in responce. Not very informative:&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;{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&gt;"failureReason"&lt;/SPAN&gt;&lt;SPAN&gt;: {&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;"requestId"&lt;/SPAN&gt;&lt;SPAN&gt;: &lt;/SPAN&gt;&lt;SPAN&gt;"b5155ec5-6584-4580-a337-5c80b4f6868a"&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;"errorCode"&lt;/SPAN&gt;&lt;SPAN&gt;: &lt;/SPAN&gt;&lt;SPAN&gt;"JobInstanceStatusFailed"&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;"message"&lt;/SPAN&gt;&lt;SPAN&gt;: &lt;/SPAN&gt;&lt;SPAN&gt;"Job instance failed without detail error"&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; },&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;"rootActivityId"&lt;/SPAN&gt;&lt;SPAN&gt;: &lt;/SPAN&gt;&lt;SPAN&gt;"36db2346-20a5-4b89-95bc-d2b44021b06b"&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;"startTimeUtc"&lt;/SPAN&gt;&lt;SPAN&gt;: &lt;/SPAN&gt;&lt;SPAN&gt;"2025-09-23T13:21:50.9036366"&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;"endTimeUtc"&lt;/SPAN&gt;&lt;SPAN&gt;: &lt;/SPAN&gt;&lt;SPAN&gt;"2025-09-23T13:21:50.9036366"&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;}&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;3. I tried to publishing it manually. Error in the topic starter is happening after that. Can refresh manually bit with refreshing through api getting similar message and that error on the service side&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Thank you&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Tue, 23 Sep 2025 13:24:41 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Dataflow/REST-API-jobs-instances-jobType-Refresh-causes-error-while/m-p/4833431#M5472</guid>
      <dc:creator>gshapiev</dc:creator>
      <dc:date>2025-09-23T13:24:41Z</dc:date>
    </item>
    <item>
      <title>Re: REST API. jobs/instances?jobType=Refresh causes error while manual refresh works</title>
      <link>https://community.fabric.microsoft.com/t5/Dataflow/REST-API-jobs-instances-jobType-Refresh-causes-error-while/m-p/4834552#M5478</link>
      <description>&lt;P&gt;The problem was with permissions. Was trying to refresh with service principal which is not supported at the moment&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 24 Sep 2025 17:37:06 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Dataflow/REST-API-jobs-instances-jobType-Refresh-causes-error-while/m-p/4834552#M5478</guid>
      <dc:creator>gshapiev</dc:creator>
      <dc:date>2025-09-24T17:37:06Z</dc:date>
    </item>
    <item>
      <title>Re: REST API. jobs/instances?jobType=Refresh causes error while manual refresh works</title>
      <link>https://community.fabric.microsoft.com/t5/Dataflow/REST-API-jobs-instances-jobType-Refresh-causes-error-while/m-p/4859764#M5542</link>
      <description>&lt;P&gt;Hello!&lt;/P&gt;&lt;P&gt;What permissions you had to set?&lt;/P&gt;&lt;P&gt;Thanks in advance!&lt;/P&gt;&lt;P&gt;Andrei&lt;/P&gt;</description>
      <pubDate>Mon, 27 Oct 2025 16:18:51 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Dataflow/REST-API-jobs-instances-jobType-Refresh-causes-error-while/m-p/4859764#M5542</guid>
      <dc:creator>andreimiron</dc:creator>
      <dc:date>2025-10-27T16:18:51Z</dc:date>
    </item>
    <item>
      <title>Re: REST API. jobs/instances?jobType=Refresh causes error while manual refresh works</title>
      <link>https://community.fabric.microsoft.com/t5/Dataflow/REST-API-jobs-instances-jobType-Refresh-causes-error-while/m-p/4859918#M5543</link>
      <description>&lt;P&gt;I was authenticating with Service Principal, which was(is?) not supported. Had to create Delegated Auth Token with actual user.&lt;/P&gt;</description>
      <pubDate>Mon, 27 Oct 2025 19:08:40 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Dataflow/REST-API-jobs-instances-jobType-Refresh-causes-error-while/m-p/4859918#M5543</guid>
      <dc:creator>gshapiev</dc:creator>
      <dc:date>2025-10-27T19:08:40Z</dc:date>
    </item>
  </channel>
</rss>

