Definition can’t be deleted Record not found

Topic summary

A user is unable to delete metaobjects from their Shopify store, receiving the error “Definition can’t be deleted - Record not found.” Despite disconnecting all products and removing the theme, the deletion still fails.

Troubleshooting steps attempted:

  • Deleted all associated products
  • Removed the theme
  • Contacted customer support (no response received)
  • Tried suggested solutions including checking theme code, clearing browser cache, waiting for Shopify’s internal cache to update, and verifying product variant data

Current status: The issue remains unresolved after attempting all recommended solutions. Screenshots were attached to illustrate the problem. The user is seeking alternative methods to successfully delete these metaobjects.

Summarized with AI on November 3. AI used: claude-sonnet-4-5-20250929.

I’m trying to get delete some metaobjects but I couldn’t able to delete it. I’m getting an error as "Definition can’t be deleted

Record not found"

I have deleted all the products to disconnect the Metaobjects with any products and also removed the theme. But still not able to delete. I reached to customer support but still didn’t get response. Is there a way to delete those Metaobjects.

Attached the screenshots Click Link

Hi,

This is Richard at PageFly - Shopify Advanced Page Builder app.

It seems like you’ve encountered a persistent issue with deleting metaobjects in your Shopify store. While you’ve taken the correct steps to decouple the metaobjects from products and themes, there might be underlying factors preventing their deletion.

Potential Causes and Solutions:

  1. Theme Dependencies:

    • Check Theme Code: Inspect your theme’s code for any direct references to the metaobject. Even if the theme is removed, residual references might hinder deletion.
    • Review Theme Sections and Blocks: Ensure that no sections or blocks are using the metaobject.
  2. Product Variants:

    • Verify Variant Data: Double-check if any product variants are still associated with the metaobject. Even if the parent product is deleted, variants might retain the connection.
  3. Shopify’s Internal Cache:

    • Wait and Retry: Sometimes, Shopify’s system might require time to update its internal cache. Wait a few hours or even a day and try deleting the metaobject again.
    • Clear Browser Cache and Cookies: Clearing your browser’s cache and cookies can help refresh the page and potentially resolve the issue.

Hoping my solution helps you solve your problem.

Best regards,

Richard | PageFly

Hi Richard,

I have tried every step that you have mentioned but I couldn’t able to figure out way to delete it. Is there anything i can try.

Regards
Avalin