APIs & Integrations

peterluba
Participant

Trying to delete a custom object and keep getting this error

I'm trying to delete a custom object from my account, but keep getting this error when I go to delete the schema:

 

category: "VALIDATION_ERROR",
subCategory: "ObjectSchemaError.EXISTING_OBJECT_RECORDS"

 

Any ideas?

0 Upvotes
2 Replies 2
Jaycee_Lewis
Community Manager
Community Manager

Trying to delete a custom object and keep getting this error

Hey, @peterluba 👋  Can you confirm that you have deleted all  the Custom Object's records before hitting that endpoint? As described here
Delete a custom object — 

You can only delete a custom object after all object instances of that type are deleted.

 

Thank you! — Jaycee

linkedin

Jaycee Lewis

Developer Community Manager

Community | HubSpot

0 Upvotes
peterluba
Participant

Trying to delete a custom object and keep getting this error

I deleted all of them and it's still giving that error: https://d.pr/i/DFXUck


See here how I've deleted everything...
* https://d.pr/i/VQXYBI

* https://d.pr/i/hD1EWn

0 Upvotes