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:
- Follow Shopify Tutorial to connect admin extensions
- Run
shopify app dev
- 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.