[Admin Block Extensions] Uncaught (in promise) Error: No extension found with the provided handle: <blank>

Please list the package(s) involved in the issue, and include the version you are using

@shopify/ui-extensions-react@2024.10.2
@shopify/ui-extensions@2024.10.2

Shopify CLI Version: 3.67.1

Describe the bug

Following this tutorial, I am trying to connect my admin draft order extension block to an admin draft order extension action. After creating both extensions, and running shopify app dev, both the block and action are recognized by the admin, but clicking this button in the block extension:

<Button
  onPress={() => {
    navigation?.navigate(`extension:draft-order-example`);
  }}
>
  More Options
</Button>

results in the following error:

Uncaught (in promise) Error: No extension found with the provided handle:

The action’s config toml file has the following handle:

handle = "draft-order-example"

Steps to reproduce the behavior:

  1. Follow Shopify Tutorial to connect admin extensions
  2. Run shopify app dev
  3. Click button in block that should open action

Expected behavior

When the button on the block is clicked, the user should be navigated to the corresponding action.

Additional context

This issue is very similar to [Admin Blocks] Uncaught Error: No extension found with the provided handle · Issue #1336 · Shopify/ui-extensions · GitHub. But in this case, the handle of the action is not even recognized in the logs.

1 Like

As a follow-up, I went through 1-3 in the admin block and action extension tutorial here: About admin extensions

I am still seeing the same error using the exact same code as used in the tutorial.

Hey Alex,

Our team are looking into this but so far have not been able to reproduce what you’ve been seeing. However, I’ll update this topic when I learn more on this.