Discuss and resolve questions on Liquid, JavaScript, themes, sales channels, and site speed enhancements.
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"
Code:
const applyNoteChange = useApplyNoteChange();
// ...
async function handleSubmit() {
const result = await applyNoteChange({
type: "updateNote",
note: "test",
});
console.log(result);
}
// ...
<Button onPress={handleSubmit}>Submit</Button>
Capabilities are `api_access` and `network_access`.
Even the docs example does not work, any idea?
you got any success on this ? can we update note attributes like this ?
Learn how to build powerful custom workflows in Shopify Flow with expert guidance from ...
By Jacqui May 7, 2025Did You Know? May is named after Maia, the Roman goddess of growth and flourishing! ...
By JasonH May 2, 2025Discover opportunities to improve SEO with new guidance available from Shopify’s growth...
By Jacqui May 1, 2025