<?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 Get Reports REST api not working - Showing 400 Bad Request in Developer</title>
    <link>https://community.fabric.microsoft.com/t5/Developer/Get-Reports-REST-api-not-working-Showing-400-Bad-Request/m-p/450949#M13861</link>
    <description>&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am trying to retrieve the report metadata using the REST API provided,&lt;/P&gt;&lt;P&gt;&lt;A title="" href="https://docs.microsoft.com/en-us/rest/api/power-bi/reports/getreportingroup" target="_blank" rel="nofollow noopener noreferrer"&gt;https://docs.microsoft.com/en-us/rest/api/power-bi/reports/getreportingroup&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;REST call tried:&amp;nbsp;&lt;SPAN&gt;&lt;A title="" href="https://api.powerbi.com/v1.0/myorg/groups/f702bdb7-e372-4990-a828-5e5449c6f676/reports/7d36d8aa-4ae8-45ee-9cb9-2e5018b611d5" target="_blank" rel="nofollow noopener noreferrer"&gt;https://api.powerbi.com/v1.0/myorg/groups/f702bdb7-e372-4990-a828-5e5449c6f676/reports/7d36d8aa-4ae8...&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I did register the application and got the token. All the other REST calls are working Except this... (Showing 400 Bad request).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Not sure what I'm missing here. Pls let me know&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
    <pubDate>Fri, 29 Jun 2018 04:03:07 GMT</pubDate>
    <dc:creator>pratheeban</dc:creator>
    <dc:date>2018-06-29T04:03:07Z</dc:date>
    <item>
      <title>Get Reports REST api not working - Showing 400 Bad Request</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Get-Reports-REST-api-not-working-Showing-400-Bad-Request/m-p/450949#M13861</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am trying to retrieve the report metadata using the REST API provided,&lt;/P&gt;&lt;P&gt;&lt;A title="" href="https://docs.microsoft.com/en-us/rest/api/power-bi/reports/getreportingroup" target="_blank" rel="nofollow noopener noreferrer"&gt;https://docs.microsoft.com/en-us/rest/api/power-bi/reports/getreportingroup&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;REST call tried:&amp;nbsp;&lt;SPAN&gt;&lt;A title="" href="https://api.powerbi.com/v1.0/myorg/groups/f702bdb7-e372-4990-a828-5e5449c6f676/reports/7d36d8aa-4ae8-45ee-9cb9-2e5018b611d5" target="_blank" rel="nofollow noopener noreferrer"&gt;https://api.powerbi.com/v1.0/myorg/groups/f702bdb7-e372-4990-a828-5e5449c6f676/reports/7d36d8aa-4ae8...&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I did register the application and got the token. All the other REST calls are working Except this... (Showing 400 Bad request).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Not sure what I'm missing here. Pls let me know&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Fri, 29 Jun 2018 04:03:07 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Get-Reports-REST-api-not-working-Showing-400-Bad-Request/m-p/450949#M13861</guid>
      <dc:creator>pratheeban</dc:creator>
      <dc:date>2018-06-29T04:03:07Z</dc:date>
    </item>
    <item>
      <title>Re: Get Reports REST api not working - Showing 400 Bad Request</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Get-Reports-REST-api-not-working-Showing-400-Bad-Request/m-p/452293#M13889</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/64599"&gt;@pratheeban&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Seems something is wrong. I have reported this issue to the Product Team: CRI&amp;nbsp;75423606. I will update here.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="margin: 0in; font-family: 'Segoe UI'; font-size: 10.5pt; color: #333333;"&gt;Best Regards,&lt;/P&gt;
&lt;P style="margin: 0in; font-family: 'Segoe UI'; font-size: 10.5pt; color: #333333;"&gt;Dale&lt;/P&gt;</description>
      <pubDate>Mon, 02 Jul 2018 06:43:39 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Get-Reports-REST-api-not-working-Showing-400-Bad-Request/m-p/452293#M13889</guid>
      <dc:creator>v-jiascu-msft</dc:creator>
      <dc:date>2018-07-02T06:43:39Z</dc:date>
    </item>
    <item>
      <title>Re: Get Reports REST api not working - Showing 400 Bad Request</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Get-Reports-REST-api-not-working-Showing-400-Bad-Request/m-p/455017#M13982</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/64599"&gt;@pratheeban&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Did you use "&lt;SPAN&gt;&amp;nbsp;'Accept' HTTP header" in the request? Maybe you can try to remove it.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin: 0in; font-family: 'Segoe UI'; font-size: 10.5pt; color: #333333;"&gt;Best Regards,&lt;/P&gt;
&lt;P style="margin: 0in; font-family: 'Segoe UI'; font-size: 10.5pt; color: #333333;"&gt;Dale&lt;/P&gt;</description>
      <pubDate>Thu, 05 Jul 2018 02:45:27 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Get-Reports-REST-api-not-working-Showing-400-Bad-Request/m-p/455017#M13982</guid>
      <dc:creator>v-jiascu-msft</dc:creator>
      <dc:date>2018-07-05T02:45:27Z</dc:date>
    </item>
    <item>
      <title>Re: Get Reports REST api not working - Showing 400 Bad Request</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Get-Reports-REST-api-not-working-Showing-400-Bad-Request/m-p/456494#M14055</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/28904"&gt;@v-jiascu-msft&lt;/a&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have the same and I have no Accept header. See cURL command obtained from the postman I am using (I have modified it by manually adding "......." to remove id's):&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;curl -X GET \
  https://api.powerbi.com/v1.0/myorg/groups/b931........../reports/7bbf.......... \
  -H 'Authorization: Bearer eyJ0e..........' \
  -H 'Cache-Control: no-cache'&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 06 Jul 2018 11:08:48 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Get-Reports-REST-api-not-working-Showing-400-Bad-Request/m-p/456494#M14055</guid>
      <dc:creator>luismangahr</dc:creator>
      <dc:date>2018-07-06T11:08:48Z</dc:date>
    </item>
    <item>
      <title>Re: Get Reports REST api not working - Showing 400 Bad Request</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Get-Reports-REST-api-not-working-Showing-400-Bad-Request/m-p/459837#M14160</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/70159"&gt;@luismangahr&lt;/a&gt;,&amp;nbsp;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/64599"&gt;@pratheeban&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I tested the workaround. Please set the header "Accept" to "None" explicitly. It's None in Python. Please try it and give some feedback.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;headers = {"Authorization": token, &lt;FONT color="#0000FF"&gt;&lt;STRONG&gt;"Accept": None&lt;/STRONG&gt;&lt;/FONT&gt;}
r = requests.get(get_url, headers = headers)&lt;/PRE&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-left" image-alt="Get Reports REST api not working - Showing 400 Bad Request.png" style="width: 600px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/105980i152375E6C9BB7F96/image-size/large?v=v2&amp;amp;px=999" role="button" title="Get Reports REST api not working - Showing 400 Bad Request.png" alt="Get Reports REST api not working - Showing 400 Bad Request.png" /&gt;&lt;/span&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;Best Regards,&lt;BR /&gt;Dale&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 11 Jul 2018 12:51:21 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Get-Reports-REST-api-not-working-Showing-400-Bad-Request/m-p/459837#M14160</guid>
      <dc:creator>v-jiascu-msft</dc:creator>
      <dc:date>2018-07-11T12:51:21Z</dc:date>
    </item>
    <item>
      <title>Re: Get Reports REST api not working - Showing 400 Bad Request</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Get-Reports-REST-api-not-working-Showing-400-Bad-Request/m-p/459924#M14162</link>
      <description>&lt;P&gt;Thanks,&amp;nbsp;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/28904"&gt;@v-jiascu-msft&lt;/a&gt;, it actually worked! Then, this is a bug, right? In that case, I guess it is identified and to be solved?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Just to add, I found that you can set the "Accept" header to "None", "Noffsfne", "j" or any other invalid value. All valid values I quickly tested (e.g.: "application/json", "&lt;SPAN&gt;message/http&lt;/SPAN&gt;" or "&lt;SPAN&gt;text/html") ended up in a "400 Bad Request".&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;But again, thank you, because this unblocks our research on&amp;nbsp;the Power BI REST api.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 11 Jul 2018 14:08:50 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Get-Reports-REST-api-not-working-Showing-400-Bad-Request/m-p/459924#M14162</guid>
      <dc:creator>luismangahr</dc:creator>
      <dc:date>2018-07-11T14:08:50Z</dc:date>
    </item>
    <item>
      <title>Re: Get Reports REST api not working - Showing 400 Bad Request</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Get-Reports-REST-api-not-working-Showing-400-Bad-Request/m-p/460389#M14170</link>
      <description>&lt;P&gt;Thanks for sharing,&amp;nbsp;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/70159"&gt;@luismangahr&lt;/a&gt;. This issue will be fixed. We can work with the workaround for now.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="margin: 0in; font-family: 'Segoe UI'; font-size: 10.5pt; color: #333333;"&gt;Best Regards,&lt;/P&gt;
&lt;P style="margin: 0in; font-family: 'Segoe UI'; font-size: 10.5pt; color: #333333;"&gt;Dale&lt;/P&gt;</description>
      <pubDate>Thu, 12 Jul 2018 00:57:42 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Get-Reports-REST-api-not-working-Showing-400-Bad-Request/m-p/460389#M14170</guid>
      <dc:creator>v-jiascu-msft</dc:creator>
      <dc:date>2018-07-12T00:57:42Z</dc:date>
    </item>
  </channel>
</rss>

