<?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: Paging through deleted objects is not yet supported for custom object in APIs &amp; Integrations</title>
    <link>https://community.hubspot.com/t5/APIs-Integrations/Paging-through-deleted-objects-is-not-yet-supported-for-custom/m-p/627724#M52948</link>
    <description>&lt;P&gt;Hey,&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/302955"&gt;@SKiru_dap&lt;/a&gt;&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":waving_hand:"&gt;👋&lt;/span&gt;. Thanks for the great question!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;To confirm, you are not missing anything. I did a quick check with my internal resources and confirmed the following:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;
&lt;P&gt;the paging/list-all endpoint doesn't support listing archived (deleted) engagement objects of any type&lt;/P&gt;
&lt;/LI&gt;
&lt;LI&gt;
&lt;P&gt;We don't have a timeline to add this support to this API yet&lt;/P&gt;
&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;I'll follow up with the devex doc writers to see if we can get some language about archived not being supported for all object types.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you very much for taking to share this pain point. It's very helpful.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best,&lt;/P&gt;
&lt;P&gt;Jaycee&lt;/P&gt;</description>
    <pubDate>Thu, 05 May 2022 16:02:05 GMT</pubDate>
    <dc:creator>Jaycee_Lewis</dc:creator>
    <dc:date>2022-05-05T16:02:05Z</dc:date>
    <item>
      <title>Paging through deleted objects is not yet supported for custom object</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Paging-through-deleted-objects-is-not-yet-supported-for-custom/m-p/627505#M52940</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a problem with obtaining archived custom objects.&lt;/P&gt;&lt;P&gt;I use the below snippet to list objects:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;api_response = client.crm.objects.basic_api.get_page(
                    object_type='payroll', 
                    limit=10, 
                    archived=True)&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&lt;DIV class=""&gt;&lt;SPAN&gt;but when I want to obtain all deleted objects (archived=True) I receive that error:&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;P&gt;Exception when calling basic_api-&amp;gt;get_page: (400) Reason: Bad Request HTTP response headers: HTTPHeaderDict({'Date': 'Thu, 05 May 2022 09:16:39 GMT', 'Content-Type': 'application/json;charset=utf-8', 'Content-Length': '203', 'Connection': 'keep-alive', 'CF-Ray': '706860ea7def82ff-IAD', 'Strict-Transport-Security': 'max-age=31536000; includeSubDomains; preload', 'Vary': 'Accept-Encoding', 'CF-Cache-Status': 'DYNAMIC', 'Access-Control-Allow-Credentials': 'false', 'Expect-CT': 'max-age=604800, report-uri="&lt;A href="https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct" target="_blank" rel="noopener"&gt;https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct&lt;/A&gt;"', 'X-HubSpot-Correlation-Id': 'd406c522-2138-4f20-a4a5-73d9ebcac3b8', 'X-HubSpot-RateLimit-Daily': '500000', 'X-HubSpot-RateLimit-Daily-Remaining': '494225', 'X-HubSpot-RateLimit-Interval-Milliseconds': '10000', 'X-HubSpot-RateLimit-Max': '150', 'X-HubSpot-RateLimit-Remaining': '149', 'X-HubSpot-RateLimit-Secondly': '15', 'X-HubSpot-RateLimit-Secondly-Remaining': '14', 'X-Trace': '2BD6CCE6815EA6CF0C82EB8C041F316C647B62253C000000000000000000', 'Report-To': '{"endpoints":[{"url":"https:\\/\\/a.nel.cloudflare.com\\/report\\/v3?s=UeLEe3SypejhnIdbZlIVriRLHAGFkUWy134jGRH5ZuOn0wWRb55%2B1GVixyy%2BjMUlnCN3n%2FI2b7BtHRz8oRFDsh7KYTLyZoKx5VY0LqghQD9OSO7oWpxQ6bo95SRuiw1j"}],"group":"cf-nel","max_age":604800}', 'NEL': '{"success_fraction":0.01,"report_to":"cf-nel","max_age":604800}', 'Server': 'cloudflare', 'alt-svc': 'h3=":443"; ma=86400, h3-29=":443"; ma=86400'}) HTTP response body: {"status":"error","message":"&lt;STRONG&gt;Paging through deleted objects is not yet supported for object type 2-2960466 (payroll)&lt;/STRONG&gt;","correlationId":"d406c522-2138-4f20-a4a5-73d9ebcac3b8","category":"VALIDATION_ERROR"}&lt;/P&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;P class=""&gt;&amp;nbsp;&lt;/P&gt;&lt;P class=""&gt;Is this situation related to:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;some HubSpot limitations in terms of listing archived custom objects&lt;/LI&gt;&lt;LI&gt;with definition/configuration of my object (I don't create this custom object and don't have any experience with them;/)&lt;/LI&gt;&lt;/UL&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Thu, 05 May 2022 09:37:24 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Paging-through-deleted-objects-is-not-yet-supported-for-custom/m-p/627505#M52940</guid>
      <dc:creator>SKiru_dap</dc:creator>
      <dc:date>2022-05-05T09:37:24Z</dc:date>
    </item>
    <item>
      <title>Re: Paging through deleted objects is not yet supported for custom object</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Paging-through-deleted-objects-is-not-yet-supported-for-custom/m-p/627724#M52948</link>
      <description>&lt;P&gt;Hey,&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/302955"&gt;@SKiru_dap&lt;/a&gt;&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":waving_hand:"&gt;👋&lt;/span&gt;. Thanks for the great question!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;To confirm, you are not missing anything. I did a quick check with my internal resources and confirmed the following:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;
&lt;P&gt;the paging/list-all endpoint doesn't support listing archived (deleted) engagement objects of any type&lt;/P&gt;
&lt;/LI&gt;
&lt;LI&gt;
&lt;P&gt;We don't have a timeline to add this support to this API yet&lt;/P&gt;
&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;I'll follow up with the devex doc writers to see if we can get some language about archived not being supported for all object types.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you very much for taking to share this pain point. It's very helpful.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best,&lt;/P&gt;
&lt;P&gt;Jaycee&lt;/P&gt;</description>
      <pubDate>Thu, 05 May 2022 16:02:05 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Paging-through-deleted-objects-is-not-yet-supported-for-custom/m-p/627724#M52948</guid>
      <dc:creator>Jaycee_Lewis</dc:creator>
      <dc:date>2022-05-05T16:02:05Z</dc:date>
    </item>
    <item>
      <title>Re: Paging through deleted objects is not yet supported for custom object</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Paging-through-deleted-objects-is-not-yet-supported-for-custom/m-p/884837#M69309</link>
      <description>&lt;P&gt;Hi Jaycee,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for your clarification.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Has there been any update on this? Since there is no Webhook for engagements, I'm polling every few minutes to detect changes. However, whenever I set "archived" to true within the API, I get the same error stated above. Therefore,&amp;nbsp; the only way I can detect if a call has been deleted or not is if it appeared at one point and then disappeared later on. This is very much suboptimal. Is there anything else we can do here?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks again,&lt;/P&gt;&lt;P&gt;Brad&lt;/P&gt;</description>
      <pubDate>Mon, 27 Nov 2023 09:58:09 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Paging-through-deleted-objects-is-not-yet-supported-for-custom/m-p/884837#M69309</guid>
      <dc:creator>AWhyBravo</dc:creator>
      <dc:date>2023-11-27T09:58:09Z</dc:date>
    </item>
  </channel>
</rss>

