Customer Account UI: modal displaying error

Topic summary

Issue: After deploying a Shopify Customer Account UI extension, a modal target opens but shows the error “Try again in a few minutes,” despite working correctly in local preview.

Context:

  • Extension targets:
    • Button: customer-account.order.action.menu-item.render
    • Modal: customer-account.order.action.render
  • Configuration includes:
    • api_access = true (Storefront API access)
    • network_access = true (external fetch allowed)
  • In development (shopify app dev), the modal renders as expected.

Observed behavior post-deploy:

  • Modal opens but fails with the generic error message.
  • No console.log output observed.
  • No network requests appear to be made.

Request:

  • Guidance on how to debug this kind of production-only failure and whether others have encountered similar issues.

Status:

  • No resolution yet; awaiting troubleshooting advice or known workarounds from others. Code snippet is central to understanding targets and capabilities.
Summarized with AI on December 19. AI used: gpt-5.

Hello, i am developing a extension for new customer account UI.

[[extensions.targeting]]
module = "./src/MenuActionExtension.jsx"
target = "customer-account.order.action.menu-item.render"

[[extensions.targeting]]
module = "./src/MenuPageRender.jsx"
target = "customer-account.order.action.render"

[extensions.capabilities]
# Gives your extension access to directly query Shopify’s storefront API.
# https://shopify.dev/docs/api/customer-account-ui-extensions/unstable/configuration#api-access
api_access = true

# Gives your extension access to make external network calls, using the
# JavaScript `fetch()` API. Learn more:
# https://shopify.dev/docs/api/customer-account-ui-extensions/unstable/configuration#network-access
network_access = true

I have two targets a button “customer-account.order.action.menu-item.render” and a modal that opens when clicking the button “customer-account.order.action.render”.

When i preview the extension with “shopify app dev” the modal opens and displays fine.

But after the deployment of the extension the modal opens and displays an error “Try again in a few minutes”.

I dont see anything in console.log and there also seems no network request to be happening.

How should i debug this kind of issue? Does anyone have experience with this?

Help is very much appreciated!

Thanks!

Martin