<?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: How to list the metadata for all files? in APIs &amp; Integrations</title>
    <link>https://community.hubspot.com/t5/APIs-Integrations/How-to-list-the-metadata-for-all-files/m-p/299841#M28178</link>
    <description>&lt;P&gt;I found how to &lt;A href="https://knowledge.hubspot.com/integrations/how-do-i-get-my-hubspot-api-key" target="_self"&gt;recreate&lt;/A&gt; the API key, thank you!&lt;/P&gt;</description>
    <pubDate>Thu, 31 Oct 2019 18:41:08 GMT</pubDate>
    <dc:creator>yorambaron</dc:creator>
    <dc:date>2019-10-31T18:41:08Z</dc:date>
    <item>
      <title>How to list the metadata for all files?</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/How-to-list-the-metadata-for-all-files/m-p/299758#M28156</link>
      <description>&lt;P&gt;I am trying to set the offset parameter in the following API call:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://api.hubapi.com/filemanager/api/v2/files?hapikey=&amp;lt;key&amp;gt;?offset=2" target="_blank" rel="noopener"&gt;https://api.hubapi.com/filemanager/api/v2/files?hapikey=&amp;lt;key&amp;gt;?offset=2&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;For some reason the API returned with the following error:&lt;/P&gt;
&lt;PRE&gt;{"status":"error","message":"This hapikey (&amp;lt;key&amp;gt;?offset=2) doesn't exist.","correlationId":"&amp;lt;value&amp;gt;","requestId":"&amp;lt;value&amp;gt;"}&lt;/PRE&gt;
&lt;P&gt;It looks like the API does not support the offset parameter in the GET command or I am missing something, can you help?&lt;/P&gt;</description>
      <pubDate>Thu, 31 Oct 2019 16:15:33 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/How-to-list-the-metadata-for-all-files/m-p/299758#M28156</guid>
      <dc:creator>yorambaron</dc:creator>
      <dc:date>2019-10-31T16:15:33Z</dc:date>
    </item>
    <item>
      <title>Re: How to list the metadata for all files?</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/How-to-list-the-metadata-for-all-files/m-p/299797#M28165</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/98108"&gt;@yorambaron&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Is that a copy/paste of the request URL you're using (minus the hapikey)? The reason I ask is because the URL you've pasted above actually has 2 ?s for query strings. So our server is reading the hapikey as &amp;lt;key&amp;gt;?offset=2 , which obviously is not correct. I assume it's just a typo, but you'll want to separate those query string parameters with ampersands instead of question marks. So your request URL should look more like this:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;https://api.hubapi.com/filemanager/api/v2/files?hapikey=&amp;lt;key&amp;gt;&amp;amp;offset=20&lt;/PRE&gt;
&lt;P&gt;Could you try that and let me know if it works? Also, I would strongly recommend deactivating your API key and generating a new one. The text of the link above in your post contained just &amp;lt;key&amp;gt; . But the actual link contained the key itself. I've removed it for you, but that key should be considered compromised now.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Let me know if you have any questions.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 31 Oct 2019 16:16:46 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/How-to-list-the-metadata-for-all-files/m-p/299797#M28165</guid>
      <dc:creator>lscanlan</dc:creator>
      <dc:date>2019-10-31T16:16:46Z</dc:date>
    </item>
    <item>
      <title>Re: How to list the metadata for all files?</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/How-to-list-the-metadata-for-all-files/m-p/299838#M28177</link>
      <description>&lt;P&gt;Thanks a so much, I had a typo error in the URL , the problem is resolved.&lt;/P&gt;&lt;P&gt;How do you recreate the API key?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 31 Oct 2019 18:30:02 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/How-to-list-the-metadata-for-all-files/m-p/299838#M28177</guid>
      <dc:creator>yorambaron</dc:creator>
      <dc:date>2019-10-31T18:30:02Z</dc:date>
    </item>
    <item>
      <title>Re: How to list the metadata for all files?</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/How-to-list-the-metadata-for-all-files/m-p/299841#M28178</link>
      <description>&lt;P&gt;I found how to &lt;A href="https://knowledge.hubspot.com/integrations/how-do-i-get-my-hubspot-api-key" target="_self"&gt;recreate&lt;/A&gt; the API key, thank you!&lt;/P&gt;</description>
      <pubDate>Thu, 31 Oct 2019 18:41:08 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/How-to-list-the-metadata-for-all-files/m-p/299841#M28178</guid>
      <dc:creator>yorambaron</dc:creator>
      <dc:date>2019-10-31T18:41:08Z</dc:date>
    </item>
  </channel>
</rss>

