GravityKit icon

Black Friday Pro

Take 25% off GravityView Pro, All Access, and Lifetime with code BFPRO25.

Shop the Sale
Skip to content
GravityKit
Buy
Sign in
0 items
  • Plugins

    GravityKit All Access

    Our complete Kit of essential tools for extending and enhancing Gravity Forms—everything you need to build powerful web apps and workflows.

    Learn more
    • GravityView Pro

      GravityView Pro

      Bestseller

      Get Live Filters, Maps, DataTables, the Advanced Elementor Widget and every other Pro feature to build the app your process needs.

    • GravityView

      GravityView

      Trending

      Display Gravity Forms entries on the frontend of your site and build powerful web applications.

    • GravityImport

      GravityImport

      Trending

      Import entries from CSV files into Gravity Forms to transfer data, create new forms, or update existing entries.

    • GravityEdit

      GravityEdit

      Quickly edit Gravity Forms entries inline to save time, reduce clicks, and streamline your workflow.

    • GravityCharts

      GravityCharts

      Trending

      Turn Gravity Forms entries into interactive charts and graphs.

    • GravityActions

      GravityActions

      Update multiple Gravity Forms entries at once, send bulk emails, and streamline your workflow.

    • GravityCalendar

      GravityCalendar

      Turn Gravity Forms entries into dynamic calendars to showcase events, schedules, appointments, and more.

    • GravityExport

      GravityExport

      Export Gravity Forms entries to Excel, CSV, PDF, or Google Sheets, then share them with secure links or deliver them to cloud storage on a schedule.

    • GravityMath

      GravityMath

      Perform advanced calculations on Gravity Forms entries to display totals, averages, or build custom calculators.

    • GravityRevisions

      GravityRevisions

      Track, compare, and restore changes made to Gravity Forms forms and entries with a full version history.

    • GravityMigrate

      GravityMigrate

      Migrate all Gravity Forms data between sites, including forms, entries, settings, Views, feeds, and file uploads, and import forms from other form plugins.

    • GravityBoard

      GravityBoard

      Manage projects with collaborative project management. Coordinate with your team and streamline your workflows.

    • GravitySearch

      GravitySearch

      Search Gravity Forms entries across every form from one screen.

  • Ideal For

    • Nonprofits
    • Web Agencies
    • Education
    • Developers
    • Small Businesses
    • Startups
    Explore All Use Cases

    Case studies

    • Be There Local
    • Killer Shorts
    • West Fork Schools
    • Princeton University
    • BrightLeaf Giving
    • Jacksonville Port Authority
    • National Severe Storms Lab
    • Leadpal
    View All Case Studies
  • Resources

    • Blog
    • Case studies
    • Newsletter
    • GravityKit vs competitors
    • Live Demos
    • Documentation
    • Developer docs
    • GravityKit Academy

    Ultimate guides

    • How to use Gravity Forms
    • Editing Gravity Forms entries
    • Importing Gravity Forms entries
    • Exporting Gravity Forms entries
    • Displaying Gravity Forms entries
    • Gravity Forms conditional logic
    • Gravity Forms calculations
    View More Articles
  • Support
  • Pricing
  • Plugins

    • GravityView Pro

      GravityView Pro

      Bestseller

      Get Live Filters, Maps, DataTables, the Advanced Elementor Widget and every other Pro feature to build the app your process needs.

    • GravityView

      GravityView

      Trending

      Display Gravity Forms entries on the frontend of your site and build powerful web applications.

    • GravityImport

      GravityImport

      Trending

      Import entries from CSV files into Gravity Forms to transfer data, create new forms, or update existing entries.

    • GravityEdit

      GravityEdit

      Quickly edit Gravity Forms entries inline to save time, reduce clicks, and streamline your workflow.

    • GravityCharts

      GravityCharts

      Trending

      Turn Gravity Forms entries into interactive charts and graphs.

    • GravityActions

      GravityActions

      Update multiple Gravity Forms entries at once, send bulk emails, and streamline your workflow.

    • GravityCalendar

      GravityCalendar

      Turn Gravity Forms entries into dynamic calendars to showcase events, schedules, appointments, and more.

    • GravityExport

      GravityExport

      Export Gravity Forms entries to Excel, CSV, PDF, or Google Sheets, then share them with secure links or deliver them to cloud storage on a schedule.

    • GravityMath

      GravityMath

      Perform advanced calculations on Gravity Forms entries to display totals, averages, or build custom calculators.

    • GravityRevisions

      GravityRevisions

      Track, compare, and restore changes made to Gravity Forms forms and entries with a full version history.

    • GravityMigrate

      GravityMigrate

      Migrate all Gravity Forms data between sites, including forms, entries, settings, Views, feeds, and file uploads, and import forms from other form plugins.

    • GravityBoard

      GravityBoard

      Manage projects with collaborative project management. Coordinate with your team and streamline your workflows.

    • GravitySearch

      GravitySearch

      Search Gravity Forms entries across every form from one screen.

    View All Products

    GravityKit All Access

    Our complete Kit of essential tools for extending and enhancing Gravity Forms—everything you need to build powerful web apps and workflows.

    Learn more
  • Ideal For

    • Nonprofits
    • Web Agencies
    • Education
    • Developers
    • Small Businesses
    • Startups
    Explore All Use Cases

    Case studies

    • Be There Local
    • Killer Shorts
    • West Fork Schools
    • Princeton University
    • BrightLeaf Giving
    • Jacksonville Port Authority
    • National Severe Storms Lab
    • Leadpal
    View All Case Studies

    How to build...

    • Client Portal
    • AI-Built Directory
    • Conference Website
    • WordPress CRM
    • Admin Dashboard
    • Inventory Management
    • Vendor Portal
    • Document Library
    View All Guides
  • Resources

    • Blog
    • Case studies
    • Newsletter
    • GravityKit vs competitors
    • Live Demos
    • Documentation
    • Developer docs
    • GravityKit Academy

    ultimate guides

    • How to use Gravity Forms
    • Editing Gravity Forms entries
    • Importing Gravity Forms entries
    • Exporting Gravity Forms entries
    • Displaying Gravity Forms entries
    • Gravity Forms conditional logic
    • Gravity Forms calculations
    View More Articles
  • Support
  • Pricing
0 items

Search

Results appear automatically as you type.
Loading results…

results found matching

    Sign in
    Buy

    Docs

    • Docs Home

    Gravity Forms Add-Ons

    • GravityView
    • GravityActions
    • GravityBoard
    • GravityCalendar
    • GravityCharts
    • GravityEdit
    • GravityExport
    • GravityImport
    • GravityMath
    • GravityRevisions
    • GravitySearch
    • GF Widget for Elementor
    • GF Dynamic Lookup
    • GF Entry Tags
    • GF Event Field
    • GravityExport Lite
    • GF Zero Spam
    • GravityMigrate

    GravityView

    • Getting Started
    • View Setup
    • FAQ
    • Pre-Sale
    • Advanced
    • Common Problems
    • Customizing Your Views
    • Edit Entry
    • Entry Approval
    • Filter and Sort Results
    • Gravity Forms
    • Merge Tags
    • Roles and Capabilities
    • Search
    • Shortcodes
    • View Settings
    • WordPress Posts

    General Help

    • Account, Invoices, and Billing
    • License Related
    • Plugins and Settings
    • Agency accounts
    • Contact
    • Docs Home
    • Gravity Forms Add-Ons

      • GravityView
      • GravityActions
      • GravityBoard
      • GravityCalendar
      • GravityCharts
      • GravityEdit
      • GravityExport
      • GravityImport
      • GravityMath
      • GravityRevisions
      • GravitySearch
      • GF Widget for Elementor
      • GF Dynamic Lookup
      • GF Entry Tags
      • GF Event Field
      • GravityExport Lite
      • GF Zero Spam
      • GravityMigrate
    • GravityView

      • Getting Started
      • View Setup
      • FAQ
      • Pre-Sale
      • Advanced
      • Common Problems
      • Customizing Your Views
      • Edit Entry
      • Entry Approval
      • Filter and Sort Results
      • Gravity Forms
      • Merge Tags
      • Roles and Capabilities
      • Search
      • Shortcodes
      • View Settings
      • WordPress Posts
    • General Help

      • Account, Invoices, and Billing
      • License Related
      • Plugins and Settings
      • Agency accounts
    • Contact

    Block MCP

    • Connect an AI assistant to your site
    • Error: “Block type is not registered” when your AI assistant adds blocks
    • Home
    • Docs
    • Block MCP
    • Error: “Block type is not registered” when your AI assistant adds blocks

    Error: “Block type is not registered” when your AI assistant adds blocks

    Estimated reading: 6 minutes

    Updated on December 1, 2026

    When your AI assistant adds or creates content through Block MCP, a call can fail with a message like this one:

    Block API Error (400): Block type "uagb/container" is not registered.

    The code that comes with it is invalid_block. This guide shows how to find every block that causes it and how to register the ones that a plugin adds only in the block editor, so your assistant can add them.


    Blocks registered only in the block editor #

    Block MCP checks each block in a call against the list of blocks registered on your site’s server. Some plugins register some of their blocks only in the block editor’s JavaScript, so those blocks are missing from that list. They work in the editor and on your pages, and Block MCP still refuses them.

    Spectra Legacy (Brainstorm Force) is one such plugin. In its versions 2.20.3 and 2.20.7, 53 of its 66 blocks are registered only in the editor, among them Container (uagb/container), Info Box (uagb/info-box), and Heading (uagb/advanced-heading).

    One of these blocks makes the whole call fail, even when it sits inside another block, and nothing in the call is saved. These tools refuse it:

    • insert_blocks
    • create_post, when it gets the page as blocks
    • replace_block_range and rewrite_post_blocks
    • edit_block_tree, when it inserts the block (insert-child) or puts it in place of another block (replace-block)

    Your assistant can still work with blocks like these that are already on a page:

    • get_page_blocks reads them.
    • update_block changes them and the blocks inside them.
    • edit_block_tree moves or duplicates them, and adds core blocks inside them.

    No Block MCP setting lets these blocks through. Giving the plugin’s blocks a higher score under Which blocks AI should prefer, in the Advanced section of the Permissions & Blocks tab, doesn’t change it either.


    Find the blocks your assistant can’t add #

    Each error shows the name of one block. To find them all at once, ask your assistant to compare a page that uses the plugin’s blocks with the list of blocks Block MCP accepts. For example:

    Read the blocks on https://example.com/visit-us/ with get_page_blocks, then call list_block_types for the block types whose names start with uagb/, and tell me which block names on the page are missing from that list.

    If your error names another plugin’s block, use the start of its name, up to the slash, in place of uagb/.

    A name on the page that’s missing from the list usually belongs to a block that its plugin registers only in the editor. It can also belong to a plugin that’s turned off or was deleted, since the server lists only the blocks of active plugins. Before you register any name, check which case you have:

    • Go to Plugins and check that the plugin that adds the block is installed and active.
    • Open the page in the block editor. When the plugin isn’t active, the block shows a notice that your site doesn’t include support for the uagb/container block, in place of its content.

    If the plugin is active and its blocks show as usual in the editor, the missing names are blocks registered only in the editor.


    Register the blocks on the server #

    Add this code to your site, with the block names you found in place of the three in the list. Try it on a staging copy of your site first.

    /**
     * Registers blocks that a plugin adds only in the block editor, so Block MCP can write them.
     * Put the block names from the error in the list.
     */
    add_action( 'init', function () {
        foreach ( array( 'uagb/container', 'uagb/info-box', 'uagb/advanced-heading' ) as $name ) {
            if ( ! WP_Block_Type_Registry::get_instance()->is_registered( $name ) ) {
                register_block_type( $name );
            }
        }
    }, 20 );

    Note: Adding custom PHP code snippets to your website explains where to add this code.

    The code adds each name to the server’s list, unless the name is on the list already. After that, the tools above accept these blocks, along with the blocks inside them, and list_block_types includes them. The plugin’s own code still runs the blocks in the editor, so they keep their settings there, and your pages look the same as before.


    Have your assistant copy an existing block #

    list_block_types shows no settings for blocks registered this way, so your assistant can’t learn from it what a block needs. Ask it to read a page that already has the same block, with get_page_blocks, and to copy that block’s attributes and HTML. For example, the block editor showed Spectra’s layout picker in place of a Container’s content when the Container was written without Spectra’s own attributes.

    After your assistant adds a block, open the page in the block editor and click the block. The sidebar should show the block’s name and the plugin’s own settings for it. Then preview the page.

    The block editor with a Spectra Container selected on a page called Visit us. The Container shows its Opening hours heading and a paragraph, and the Block tab of the sidebar shows the Container card, outlined in red with an arrow pointing at it, above Spectra's General, Style and Advanced tabs and its Container Type settings.

    Warning: With the default Dedicated Block MCP account, Block MCP saves only the HTML that WordPress lets that account save, the same as for any user who can’t post unfiltered HTML. An inline SVG icon, a <style> element or an <iframe> in a block’s HTML is removed, and the call still reports success. A Spectra Info Box then shows without its icon, and a Custom HTML block that held an SVG or an embed is saved empty. To put a Spectra icon back, open the page in the block editor as an administrator: Spectra’s block recovery redraws it, and saving the page keeps it.


    Add raw block markup instead #

    You can also send a whole page to create_post as raw block markup, in its content field. Block MCP saves that markup without checking the block names in it, and get_page_blocks reads the blocks back afterwards. The HTML filter in the warning above applies to it too.

    No other tool takes raw markup, so this works only for a new post or page. Open the new page in the block editor and preview it before you publish it.

    Still stuck? How can we help?

    How can we help?

    "*" indicates required fields

    This field is for validation purposes and should be left unchanged.
    Replies will go to this email.
    How can we help?*
    My pre-sale question is related to...*
    My WordPress skills are....*
    My Gravity Forms skills are...*
    You will be shown articles from our documentation.
    Vous pouvez nous écrire dans votre langue maternelle si c’est plus facile pour vous—nous nous occuperons de la traduction!
    Puedes escribirnos en tu idioma nativo si te resulta más fácil; ¡nosotros nos encargamos de la traducción!
    Sie können uns in Ihrer Muttersprache schreiben, wenn das für Sie einfacher ist – wir kümmern uns um die Übersetzung!
    U kunt ons in uw moedertaal schrijven als dat gemakkelijker voor u is — wij zorgen voor de vertaling!
    Du kan skrive til oss på ditt morsmål hvis det er enklere for deg — vi tar oss av oversettelsen!
    Du kan skriva till oss på ditt modersmål om det är lättare för dig — vi tar hand om översättningen!
    Você pode nos escrever em seu idioma nativo se for mais fácil para você — nós cuidaremos da tradução!
    Puoi scriverci nella tua lingua madre se ti è più facile — penseremo noi alla traduzione!
    Please provide as much detail as you're able; this helps us provide you with faster support.
    Drop files here or
    Accepted file types: jpg, jpeg, gif, png, tiff, pdf, bmp, zip, json, csv, xls, xlsx, Max. file size: 256 MB.
      Get better at Gravity Forms every Friday

      Was this page helpful?

      Table Of Contents
      • Blocks registered only in the block editor
      • Find the blocks your assistant can’t add
      • Register the blocks on the server
      • Have your assistant copy an existing block
      • Add raw block markup instead
      GravityKit
      • How to Build It
      • GravityKit vs competitors
      • Pricing
      • Products
      • Our Team
      • Our Values
      • Work With Us
      • Partner Directory
      • Coupons
      Support
      • Support
      • Contact
      • Documentation
      • Scope of Support
      • Brand Guidelines
      • Brand Kit
      • Privacy Policy
      • Terms of Service (“Terms”)
      I am a...
      • Nonprofit
      • Web agency
      • Small business owner
      • Web developer
      • Educational institution
      • WordPress freelancer
      • Startup founder
      • One-person agency
      Get notified of updates.

      We’re constantly improving GravityKit. Fill out your email below and we’ll notify you anytime major updates drop.

      See past editions
      • Facebook
      • Twitter
      • Mastodon
      GravityKit is a Gravity Forms Certified Developer.

      Copyright © 2026, Katz Web Services, Inc.

      GravityKit and GravityView are registered trademarks of Katz Web Services, Inc.

      Before you go

      Take 25% off

      Our Black Friday sale covers GravityView Pro, the All Access Pass and the Lifetime All Access Pass, and ends December 1.

      See the Deals