<?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: API Dataflows - Update Dataflow in Developer</title>
    <link>https://community.fabric.microsoft.com/t5/Developer/API-Dataflows-Update-Dataflow/m-p/2992533#M40493</link>
    <description>&lt;P&gt;&lt;FONT face="tahoma,arial,helvetica,sans-serif"&gt;HI&amp;nbsp;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/475779"&gt;@Charline_74&lt;/a&gt;,&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="tahoma,arial,helvetica,sans-serif"&gt;According to the error message, it seems your request body part include unexpected characters, so these quests failed to be verified on sever side.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="tahoma,arial,helvetica,sans-serif"&gt;&lt;A href="https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/400" target="_blank"&gt;400 Bad Request - HTTP | MDN (mozilla.org)&lt;/A&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="tahoma,arial,helvetica,sans-serif"&gt;Regards,&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="tahoma,arial,helvetica,sans-serif"&gt;Xiaoxin Sheng&lt;/FONT&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 29 Dec 2022 02:51:36 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2022-12-29T02:51:36Z</dc:date>
    <item>
      <title>API Dataflows - Update Dataflow</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/API-Dataflows-Update-Dataflow/m-p/2991528#M40479</link>
      <description>&lt;P&gt;Hello,&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am trying to set up this API:&lt;/P&gt;&lt;P&gt;&lt;A href="https://learn.microsoft.com/en-us/rest/api/power-bi/dataflows/update-dataflow" target="_blank"&gt;https://learn.microsoft.com/en-us/rest/api/power-bi/dataflows/update-dataflow&lt;/A&gt;&lt;/P&gt;&lt;P&gt;In order to change the name of a dataflow.&lt;/P&gt;&lt;P&gt;My code:&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;$body=@{
    updateDetails=@(
        @{
            name = "DTF TEST Pipeline 1.0.1"
        }
    )
}
Invoke-PowerBIRestMethod -Url "https://api.powerbi.com/v1.0/myorg/groups/4c2d4aa2-c195-4ecf-804a-be2afff547c6/dataflows/2ed4a772-827d-4d3b-87aa-6c0be92fc79f" -Method Patch -Body $body&lt;/LI-CODE&gt;&lt;P&gt;But I have this error:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;Invoke-PowerBIRestMethod : Une ou plusieurs erreurs se sont produites.
Au caractère Ligne:21 : 1
+ Invoke-PowerBIRestMethod -Url "https://api.powerbi.com/v1.0/myorg/gro ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : WriteError: (Microsoft.Power...werBIRestMethod:InvokePowerBIRestMethod) [Invoke-PowerBIRestMethod], AggregateException
    + FullyQualifiedErrorId : Une ou plusieurs erreurs se sont produites.,Microsoft.PowerBI.Commands.Profile.InvokePowerBIRestMethod
 
Invoke-PowerBIRestMethod : Encountered errors when invoking the command: {
  "code": "BadRequest",
  "message": "Bad Request",
  "details": [
    {
      "message": "Unexpected character encountered while parsing value: S. Path '', line 0, position 0.",
      "target": "dataflowUpdateInformation"
    }
  ]
}
Au caractère Ligne:21 : 1
+ Invoke-PowerBIRestMethod -Url "https://api.powerbi.com/v1.0/myorg/gro ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : WriteError: (Microsoft.Power...werBIRestMethod:InvokePowerBIRestMethod) [Invoke-PowerBIRestMethod], Exception
    + FullyQualifiedErrorId : Encountered errors when invoking the command: {
  "code": "BadRequest",
  "message": "Bad Request",
  "details": [
    {
      "message": "Unexpected character encountered while parsing value: S. Path '', line 0, position 0.",
      "target": "dataflowUpdateInformation"
    }
  ]
},Microsoft.PowerBI.Commands.Profile.InvokePowerBIRestMethod&lt;/LI-CODE&gt;&lt;P&gt;Can you help me?&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Charline&lt;/P&gt;</description>
      <pubDate>Wed, 28 Dec 2022 10:12:27 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/API-Dataflows-Update-Dataflow/m-p/2991528#M40479</guid>
      <dc:creator>Charline_74</dc:creator>
      <dc:date>2022-12-28T10:12:27Z</dc:date>
    </item>
    <item>
      <title>Re: API Dataflows - Update Dataflow</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/API-Dataflows-Update-Dataflow/m-p/2992533#M40493</link>
      <description>&lt;P&gt;&lt;FONT face="tahoma,arial,helvetica,sans-serif"&gt;HI&amp;nbsp;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/475779"&gt;@Charline_74&lt;/a&gt;,&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="tahoma,arial,helvetica,sans-serif"&gt;According to the error message, it seems your request body part include unexpected characters, so these quests failed to be verified on sever side.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="tahoma,arial,helvetica,sans-serif"&gt;&lt;A href="https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/400" target="_blank"&gt;400 Bad Request - HTTP | MDN (mozilla.org)&lt;/A&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="tahoma,arial,helvetica,sans-serif"&gt;Regards,&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="tahoma,arial,helvetica,sans-serif"&gt;Xiaoxin Sheng&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 29 Dec 2022 02:51:36 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/API-Dataflows-Update-Dataflow/m-p/2992533#M40493</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-12-29T02:51:36Z</dc:date>
    </item>
  </channel>
</rss>

