Checkout UI Extension: Unable to apply note or attribute change

Shopify Expert
4 0 2

Code producing an error of:


Uncaught (in promise) InvalidInterceptionRequestError: interceptor result cannot be empty or undefined; behavior must be either "block" or "allow", received "undefined"




const applyNoteChange = useApplyNoteChange();

// ...

  async function handleSubmit() {
    const result = await applyNoteChange({
      type: "updateNote",
      note: "test",

// ...

<Button onPress={handleSubmit}>Submit</Button>




Capabilities are `api_access` and `network_access`.


Even the docs example does not work, any idea?

Replies 0 (0)