Test app on development store error

When attempting to install a dev app onto a development store, I get the following error:

Oops, something went wrong.

What happened?

Unauthorized Access

Then, when I hit the browser back button, the console fills with this error:

[Report Only] Refused to execute inline script because it violates the following Content Security Policy directive: “script-src ‘self’ https://cdn.shopify.com/shopifycloud/”. Either the ‘unsafe-inline’ keyword, a hash (‘sha256-Dka4/nZOmq3WIz/8Dbz91pqwq/yXvp0qTrxXLHGn1mY=’), or a nonce (‘nonce-…’) is required to enable inline execution.

I traced the IP listed in the error object, and it’s a Shopify server in Sweden.

This app has been successfully installed for the last couple of years and this is a new error. Has anyone seen this before?

Hi @Phil_Vizzaccaro

Some things you can check are:

  • Ensure your app’s URLs (App URL, Allowed redirection URL(s)) in the Partner Dashboard are correct and use HTTPS.
  • The app must redirect merchants to the OAuth grant screen after installation. If not, installation will fail with errors like “Unauthorized Access”.
    • If your app’s required access scopes have changed, you must redeploy and reinstall the app on the development store.
  • Make sure the user installing the app has the necessary permissions.

Did the above work for you @Phil_Vizzaccaro - if so I’ll mark this as resolved.