I’ve also been having trouble, please see my post from last week: useShippingAddress API permissions issue only in `shopify app dev` mode
Do you see the same error message in your browser console logs? Is it only affecting your app in development or production too?