<?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: RESTAPI /datasets()/dependentitems &amp;quot;No HTTP resource&amp;quot; Error in Report Server</title>
    <link>https://community.fabric.microsoft.com/t5/Report-Server/RESTAPI-datasets-dependentitems-quot-No-HTTP-resource-quot-Error/m-p/3238556#M29784</link>
    <description>&lt;P&gt;I found a solution after digging into the entity definitions and watching what happens in the RSHost log when you view dependencies from the UI.&amp;nbsp; If you use the "CatalogItems" endpoint you can get the DependentItems information:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="c"&gt;/reports/api/v2.0/CatalogItems(e03c9b1a-5369-423f-9172-91c6975f4274)/DependentItems&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Watch out for the Swagger file that's out there for the REST API.&amp;nbsp; It has lots of issues.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-unicode-emoji" title=":face_with_steam_from_nose:"&gt;😤&lt;/span&gt;&lt;span class="lia-unicode-emoji" title=":angry_face:"&gt;😠&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 16 May 2023 17:43:13 GMT</pubDate>
    <dc:creator>graymc</dc:creator>
    <dc:date>2023-05-16T17:43:13Z</dc:date>
    <item>
      <title>RESTAPI /datasets()/dependentitems "No HTTP resource" Error</title>
      <link>https://community.fabric.microsoft.com/t5/Report-Server/RESTAPI-datasets-dependentitems-quot-No-HTTP-resource-quot-Error/m-p/3238081#M29781</link>
      <description>&lt;P&gt;The &lt;A href="https://app.swaggerhub.com/apis/microsoft-rs/SSRS/PBI3.0#/DataSets/GetDataSetDependentItems" target="_self"&gt;/datasets()/dependentitems&lt;/A&gt; and &lt;A href="https://app.swaggerhub.com/apis/microsoft-rs/SSRS/PBI3.0#/DataSets/GetDataSetDependentItems" target="_blank" rel="noopener"&gt;/datasets()/properties&lt;/A&gt; endpoints of the SSRS/PBIRS REST API is returning a&amp;nbsp;"No HTTP resource was found that matches the request URI" error.&amp;nbsp; For example, I can pull the basic information for an existing dataset:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="csharp"&gt;invoke-restmethod "https://xxxxxxx/reports/api/v2.0/DataSets(e03c9b1a-5369-423f-9172-91c6975f4274)" -UseDefaultCredentials


@odata.context        : https://xxxxxx/reports/api/v2.0/$metadata#DataSets/$entity
Id                    : e03c9b1a-5369-423f-9172-91c6975f4274
Name                  : ExecutionStatus
Description           :
Path                  : /ecubic/SystemsAdmin/Datasets/ExecutionStatus
Type                  : DataSet
Hidden                : False
Size                  : 882
ModifiedBy            : INTRA\MCDONALDG
ModifiedDate          : 2013-03-18T11:28:34.21-04:00
CreatedBy             : INTRA\MCDONALDG
CreatedDate           : 2013-03-18T11:28:34.21-04:00
ParentFolderId        : 69e44497-8184-4039-8a21-716eb02fa8a0
IsFavorite            : False
ContentType           :
Content               :
HasParameters         : False
QueryExecutionTimeOut : 0
Roles                 : {}&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But attempting to list the dependent items of the dataset results in an error:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="c"&gt;invoke-restmethod "https://xxxxxxxx/reports/api/v2.0/DataSets(e03c9b1a-5369-423f-9172-91c6975f4274)/DependentItems" -UseDefaultCredentials
invoke-restmethod : {"error":{"code":"","message":"No HTTP resource was found that matches the request URI
'https://xxxxxx/reports/api/v2.0/DataSets(e03c9b1a-5369-423f-9172-91c6975f4274)/DependentItems'."}}
At line:1 char:1
+ invoke-restmethod "https://xxxxxxx/reports/api/v2.0/DataSets(e ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : InvalidOperation: (System.Net.HttpWebRequest:HttpWebRequest) [Invoke-RestMethod], WebExc
   eption
    + FullyQualifiedErrorId : WebCmdletWebResponseException,Microsoft.PowerShell.Commands.InvokeRestMethodCommand&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Retrieving depdendent items works for other supported item types such as datasources and reports.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can anyone else confirm this behavior or if this is a known issue?&lt;/P&gt;&lt;P&gt;Thx&lt;/P&gt;</description>
      <pubDate>Tue, 16 May 2023 14:25:58 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Report-Server/RESTAPI-datasets-dependentitems-quot-No-HTTP-resource-quot-Error/m-p/3238081#M29781</guid>
      <dc:creator>graymc</dc:creator>
      <dc:date>2023-05-16T14:25:58Z</dc:date>
    </item>
    <item>
      <title>Re: RESTAPI /datasets()/dependentitems "No HTTP resource" Error</title>
      <link>https://community.fabric.microsoft.com/t5/Report-Server/RESTAPI-datasets-dependentitems-quot-No-HTTP-resource-quot-Error/m-p/3238556#M29784</link>
      <description>&lt;P&gt;I found a solution after digging into the entity definitions and watching what happens in the RSHost log when you view dependencies from the UI.&amp;nbsp; If you use the "CatalogItems" endpoint you can get the DependentItems information:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="c"&gt;/reports/api/v2.0/CatalogItems(e03c9b1a-5369-423f-9172-91c6975f4274)/DependentItems&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Watch out for the Swagger file that's out there for the REST API.&amp;nbsp; It has lots of issues.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-unicode-emoji" title=":face_with_steam_from_nose:"&gt;😤&lt;/span&gt;&lt;span class="lia-unicode-emoji" title=":angry_face:"&gt;😠&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 16 May 2023 17:43:13 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Report-Server/RESTAPI-datasets-dependentitems-quot-No-HTTP-resource-quot-Error/m-p/3238556#M29784</guid>
      <dc:creator>graymc</dc:creator>
      <dc:date>2023-05-16T17:43:13Z</dc:date>
    </item>
  </channel>
</rss>

