Our Partner & Developer boards on the community are moving to a brand new home: the .dev community forums! While you can still access past discussions here, for all your future app and storefront building questions, head over to the new forums.

We're moving the community! Starting July 7, the current community will be read-only for approx. 2 weeks. You can browse content, but posting will be temporarily unavailable. Learn more

Customer Account UI: modal displaying error

Customer Account UI: modal displaying error

Stormdev
Shopify Partner
9 0 1

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

Replies 0 (0)