<?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: Delete Custom Object Error in APIs &amp; Integrations</title>
    <link>https://community.hubspot.com/t5/APIs-Integrations/Delete-Custom-Object-Error/m-p/422643#M41966</link>
    <description>&lt;P&gt;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/177719"&gt;@rOsborn123&lt;/a&gt; , does this issue persist?&lt;/P&gt;
&lt;P&gt;Might be worth getting in touch with support, if you have not already, to look under the hood&lt;/P&gt;</description>
    <pubDate>Fri, 26 Mar 2021 18:17:40 GMT</pubDate>
    <dc:creator>dennisedson</dc:creator>
    <dc:date>2021-03-26T18:17:40Z</dc:date>
    <item>
      <title>Delete Custom Object Error</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Delete-Custom-Object-Error/m-p/422394#M41937</link>
      <description>&lt;P&gt;I've deleted custom objects many times before hitting the endpoint&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;DELETE https://api.hubapi.com/crm/v3/schemas/{objectType}&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;then with archived=true appended to "purge" the database so that I could start over. I'm following the exact same protocol. I first deleted all records of the object and am attempting to delete the object but am receiving a 400 error with the following response:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;data: {
      status: 'error',
      message: 'Unable to access requested object type',
      correlationId: '26550887-373f-47ef-9916-36ebec96cc9c',
      category: 'VALIDATION_ERROR'
}&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The api key matches and is working with the other schema requests, so I'm not entirely sure what could be the cause of this issue, but I need it resolved rather quickly.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Any insight would be greatly appreciated.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 26 Mar 2021 00:48:36 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Delete-Custom-Object-Error/m-p/422394#M41937</guid>
      <dc:creator>rOsborn123</dc:creator>
      <dc:date>2021-03-26T00:48:36Z</dc:date>
    </item>
    <item>
      <title>Re: Delete Custom Object Error</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Delete-Custom-Object-Error/m-p/422643#M41966</link>
      <description>&lt;P&gt;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/177719"&gt;@rOsborn123&lt;/a&gt; , does this issue persist?&lt;/P&gt;
&lt;P&gt;Might be worth getting in touch with support, if you have not already, to look under the hood&lt;/P&gt;</description>
      <pubDate>Fri, 26 Mar 2021 18:17:40 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Delete-Custom-Object-Error/m-p/422643#M41966</guid>
      <dc:creator>dennisedson</dc:creator>
      <dc:date>2021-03-26T18:17:40Z</dc:date>
    </item>
    <item>
      <title>Re: Delete Custom Object Error</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Delete-Custom-Object-Error/m-p/422645#M41968</link>
      <description>&lt;P&gt;Thanks&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/13982"&gt;@dennisedson&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;I went ahead and did so - seems to be a bug of some sort. Waiting for a resolution&lt;/P&gt;</description>
      <pubDate>Fri, 26 Mar 2021 18:21:49 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Delete-Custom-Object-Error/m-p/422645#M41968</guid>
      <dc:creator>rOsborn123</dc:creator>
      <dc:date>2021-03-26T18:21:49Z</dc:date>
    </item>
    <item>
      <title>Re: Delete Custom Object Error</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Delete-Custom-Object-Error/m-p/422647#M41969</link>
      <description>&lt;P&gt;I'll tell you I gave up trying to purge custom objects because of this exact error. Inserting myself here for any updates on this fix.&lt;BR /&gt;&lt;BR /&gt;Deleting these records from the UI is nightmarish.&lt;/P&gt;</description>
      <pubDate>Fri, 26 Mar 2021 18:23:26 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Delete-Custom-Object-Error/m-p/422647#M41969</guid>
      <dc:creator>tominal</dc:creator>
      <dc:date>2021-03-26T18:23:26Z</dc:date>
    </item>
    <item>
      <title>Re: Delete Custom Object Error</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Delete-Custom-Object-Error/m-p/422651#M41970</link>
      <description>&lt;P&gt;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/153634"&gt;@tominal&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;I've deleted custom objects many times before. If it helps you, make sure you've delete all records of a custom object then hit the&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="javascript"&gt;https://api.hubapi.com/crm/v3/schemas/{objectType}&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;endpoint, then hit the&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="javascript"&gt;https://api.hubapi.com/crm/v3/schemas/{objectType}?archived=true&lt;/LI-CODE&gt;
&lt;P&gt;endpoint to completely delete the object. You can then recreate a custom object with the same name if you want. Purge has been deprecated, I believe. The key is to make sure all instances of the object are deleted first. I'm not sure if this helps but just giving some background in case it might help. This seems to be a particular error. Let me know if you've tried that and are getting this same error on the initial delete endpoint. Might help to pinpoint what's going on and where.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 26 Mar 2021 18:28:06 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Delete-Custom-Object-Error/m-p/422651#M41970</guid>
      <dc:creator>rOsborn123</dc:creator>
      <dc:date>2021-03-26T18:28:06Z</dc:date>
    </item>
    <item>
      <title>Re: Delete Custom Object Error</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Delete-Custom-Object-Error/m-p/422657#M41972</link>
      <description>&lt;P&gt;I'll give it a shot to help!&lt;BR /&gt;&lt;BR /&gt;I misread the thread thinking this was about the purge endpoint. Why was it deprecated?&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":loudly_crying_face:"&gt;😭&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 26 Mar 2021 18:34:51 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Delete-Custom-Object-Error/m-p/422657#M41972</guid>
      <dc:creator>tominal</dc:creator>
      <dc:date>2021-03-26T18:34:51Z</dc:date>
    </item>
    <item>
      <title>Re: Delete Custom Object Error</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Delete-Custom-Object-Error/m-p/422660#M41974</link>
      <description>&lt;P&gt;It's working for me. Then again I used the example custom object in the docs.&lt;BR /&gt;&lt;BR /&gt;I specified&amp;nbsp;&lt;SPAN&gt;p9101656_my_object as the {objectType}.&lt;BR /&gt;&lt;BR /&gt;Hope that helps.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 26 Mar 2021 18:41:02 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Delete-Custom-Object-Error/m-p/422660#M41974</guid>
      <dc:creator>tominal</dc:creator>
      <dc:date>2021-03-26T18:41:02Z</dc:date>
    </item>
    <item>
      <title>Re: Delete Custom Object Error</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Delete-Custom-Object-Error/m-p/422661#M41975</link>
      <description>&lt;P&gt;Nice! My issue seems to be unique then.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 26 Mar 2021 18:44:44 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Delete-Custom-Object-Error/m-p/422661#M41975</guid>
      <dc:creator>rOsborn123</dc:creator>
      <dc:date>2021-03-26T18:44:44Z</dc:date>
    </item>
    <item>
      <title>Re: Delete Custom Object Error</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Delete-Custom-Object-Error/m-p/422662#M41976</link>
      <description>&lt;P&gt;I have not attempted recently, but this is the method I have successfully done in the past.&amp;nbsp; &lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/177719"&gt;@rOsborn123&lt;/a&gt; saw your support ticket and it looks like it is in&amp;nbsp; the right hands.&lt;/P&gt;</description>
      <pubDate>Fri, 26 Mar 2021 18:46:55 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Delete-Custom-Object-Error/m-p/422662#M41976</guid>
      <dc:creator>dennisedson</dc:creator>
      <dc:date>2021-03-26T18:46:55Z</dc:date>
    </item>
    <item>
      <title>Re: Delete Custom Object Error</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Delete-Custom-Object-Error/m-p/422664#M41977</link>
      <description>&lt;P&gt;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/13982"&gt;@dennisedson&lt;/a&gt;&amp;nbsp;I appreciate the support!&lt;/P&gt;</description>
      <pubDate>Fri, 26 Mar 2021 18:48:02 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Delete-Custom-Object-Error/m-p/422664#M41977</guid>
      <dc:creator>rOsborn123</dc:creator>
      <dc:date>2021-03-26T18:48:02Z</dc:date>
    </item>
    <item>
      <title>Re: Delete Custom Object Error</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Delete-Custom-Object-Error/m-p/424891#M42208</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/177719"&gt;@rOsborn123&lt;/a&gt; ,&amp;nbsp; just getting back from my break and I was checking in on this.&amp;nbsp; Looks like there wasn't a good answer.&amp;nbsp; Hopefully just a quirk that will not happen again.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Please let us know if it happens again &lt;span class="lia-unicode-emoji" title=":grinning_face:"&gt;😀&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 05 Apr 2021 20:12:48 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Delete-Custom-Object-Error/m-p/424891#M42208</guid>
      <dc:creator>dennisedson</dc:creator>
      <dc:date>2021-04-05T20:12:48Z</dc:date>
    </item>
  </channel>
</rss>

