Checkout UI Extension: Unable to apply note or attribute change

Shopify Expert
4 0 4

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?

Reply 1 (1)

Shopify Partner
4 0 0

you got any success on this ? can we update note attributes like this ?