Why am I facing a checkout UI extension deploy error in my new Shopify app?

I created a new shopify app and added a checkout ui extension to it using the scaffold command. When I try to deploy the app together with the extension so that I test it on a development store, I get the following error on the console

  • Validation errors found in your extension toml file> └ Missing expected key(s).

The following is the shape of the shopify.ui.extension.toml

type = “checkout_ui_extension”> name = “charles-dev-checkout01”> > extension_points = [> ‘Checkout::Dynamic::Render’> ]> > [[metafields]]> namespace = “my-namespace”> key = “my-key”> > # [[metafields]]> # namespace = “my-namespace”> # key = “my-key-2”

This is all that is included in the documentation https://shopify.dev/api/checkout-extensions/checkout/configuration

Which keys am I missing or how can I resolve this error?

2 Likes

Hi, did you manage to fix this? I am getting the same error?

Hey, I didn’t figure it out. Let me know here if you figure out what cause this…

same error with me any one help me

facing same issue @charles52 if your issue is fixed..can please post your answer here

I am experiencing the same problem with a checkout_post_purchase extension. Any solution found ?

1 Like

I also have the same problem. Any solution yet, pls?

1 Like

The issue is fixed, everything is fyn in the boiler plate create by the npm commands , there was some internal issue, which i think is fixed,

I followed the steps and was able to create first checkout ui through extensions

2 Likes

Sure, this version work for me too

/cli": "3.5.0"
1 Like