I’ve been maintaining a Checkout UI extension for quite some time now. I’ve just fired up the development environment but the extension will no longer render.
The browser console error is:
ExtensionUsageError: Error: Uncaught ScopeNotGrantedError: Using shipping address requires having shipping address permissions granted to your app.
This is when I’m using the shopify app dev so I can make real time updates to the extension code and preview it.
When I use shopify app build && shopify app deploy to deploy the extension to my dev store, I have no issues loading this extension. Additionally, production is unaffected.
My app has protected customer data access, and it requires read_customers and read_orders OAuth scopes.
I’m at a bit of a loss of understanding how this error can suddenly pop up after so long without any issues.
The package version is 2024-10 and so is the api_version in the shopify.extension.toml
Thanks for reaching about the new issue you’re experiencing with Checkout UI Extensions!
Which target is your extension set to display on?
I’ve tried to replicate the issue with no luck.
Is the useShippingAddress() hook affected too, or does the issue seem to be specifically with the useAPI() hook?