<?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: Quota report REST API not returning any results after timeout value expires in ONTAP Rest API Discussions</title>
    <link>https://community.netapp.com/t5/ONTAP-Rest-API-Discussions/Quota-report-REST-API-not-returning-any-results-after-timeout-value-expires/m-p/444807#M518</link>
    <description>&lt;P&gt;It is&amp;nbsp;9.8P12&lt;/P&gt;</description>
    <pubDate>Thu, 01 Jun 2023 18:07:48 GMT</pubDate>
    <dc:creator>ns-api-guru</dc:creator>
    <dc:date>2023-06-01T18:07:48Z</dc:date>
    <item>
      <title>Quota report REST API not returning any results after timeout value expires</title>
      <link>https://community.netapp.com/t5/ONTAP-Rest-API-Discussions/Quota-report-REST-API-not-returning-any-results-after-timeout-value-expires/m-p/444763#M513</link>
      <description>&lt;P&gt;When I run 'quota report' command from ONTAP CLI, I can see the quota report with no issues.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But when I use REST API, it does not return anything:&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;curl -X GET -k "https://cluster/api/storage/quota/reports?volume.name=TEST&amp;amp;fields=type%2Cspace%2Cusers%2Cgroup%2Cqtree&amp;amp;return_timeout=120"
Enter host password for user 'test':
{
  "records": [
  ],
  "num_records": 0,
  "_links": {
    "self": {
      "href": "/api/storage/quota/reports?volume.name=TEST&amp;amp;fields=type%2Cspace%2Cusers%2Cgroup%2Cqtree&amp;amp;return_timeout=120"
    },
    "next": {
      "href": "/api/storage/quota/reports?start.svm.uuid..."
    }
  }
}&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For other volumes, this call was also returning empty result set but when I increased the timeout value to 120, issue was resolved. Looks like this particular volume (and many others on this specific cluster) is taking much longer than 120 seconds to return something. However, ONTAP does not allow setting timeout to more than 120 seconds.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;How should I resolve this?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Wed, 04 Jun 2025 09:48:35 GMT</pubDate>
      <guid>https://community.netapp.com/t5/ONTAP-Rest-API-Discussions/Quota-report-REST-API-not-returning-any-results-after-timeout-value-expires/m-p/444763#M513</guid>
      <dc:creator>ns-api-guru</dc:creator>
      <dc:date>2025-06-04T09:48:35Z</dc:date>
    </item>
    <item>
      <title>Re: Quota report REST API not returning any results after timeout value expires</title>
      <link>https://community.netapp.com/t5/ONTAP-Rest-API-Discussions/Quota-report-REST-API-not-returning-any-results-after-timeout-value-expires/m-p/444801#M517</link>
      <description>&lt;P&gt;Hi, could you tell me which version of ONTAP you are running?&lt;/P&gt;</description>
      <pubDate>Thu, 01 Jun 2023 16:47:30 GMT</pubDate>
      <guid>https://community.netapp.com/t5/ONTAP-Rest-API-Discussions/Quota-report-REST-API-not-returning-any-results-after-timeout-value-expires/m-p/444801#M517</guid>
      <dc:creator>Twesha</dc:creator>
      <dc:date>2023-06-01T16:47:30Z</dc:date>
    </item>
    <item>
      <title>Re: Quota report REST API not returning any results after timeout value expires</title>
      <link>https://community.netapp.com/t5/ONTAP-Rest-API-Discussions/Quota-report-REST-API-not-returning-any-results-after-timeout-value-expires/m-p/444807#M518</link>
      <description>&lt;P&gt;It is&amp;nbsp;9.8P12&lt;/P&gt;</description>
      <pubDate>Thu, 01 Jun 2023 18:07:48 GMT</pubDate>
      <guid>https://community.netapp.com/t5/ONTAP-Rest-API-Discussions/Quota-report-REST-API-not-returning-any-results-after-timeout-value-expires/m-p/444807#M518</guid>
      <dc:creator>ns-api-guru</dc:creator>
      <dc:date>2023-06-01T18:07:48Z</dc:date>
    </item>
    <item>
      <title>Re: Quota report REST API not returning any results after timeout value expires</title>
      <link>https://community.netapp.com/t5/ONTAP-Rest-API-Discussions/Quota-report-REST-API-not-returning-any-results-after-timeout-value-expires/m-p/444978#M529</link>
      <description>&lt;P&gt;Normally, if the timeout is reached (120 seconds in your case), the GET call will return the records collected in that time along with a pagination link. If there were any quota reports on that volume, you would at least get some in that 120 seconds. So, it's surprising to me that you got 0 records. Is it possible that the query you provided is not returning anything? Could you try doing a GET on /api/storage/quota/reports/{volume.uuid} and see if you get any records?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 06 Jun 2023 13:13:57 GMT</pubDate>
      <guid>https://community.netapp.com/t5/ONTAP-Rest-API-Discussions/Quota-report-REST-API-not-returning-any-results-after-timeout-value-expires/m-p/444978#M529</guid>
      <dc:creator>Twesha</dc:creator>
      <dc:date>2023-06-06T13:13:57Z</dc:date>
    </item>
  </channel>
</rss>

