Hey,
Please help me out. I’m getting Error 400 when I installing app in store and it shows message (Oauth error missing_shopify_permission: read_customer_payment_methods, write_own_subscription_contracts, read_own_subscription_contracts) While I have already defined scope. Please let me know how can I resolved these error.
Error 400 (Bad Request) usually indicates that the request you are making is invalid in some way. In this case, error message is mentioning missing permissions.
There are a few things you can try to resolve this error:
-
Make sure that you have granted the required permissions for the app. In the error message, it mentions read_customer_payment_methods, write_own_subscription_contracts, and read_own_subscription_contracts as required permissions. You will need to grant these permissions to the app in order to install it.
-
Check your app’s code to make sure that you are requesting the required permissions. You should be requesting these permissions in the app’s oauth_scope parameter when you initiate the OAuth process.
-
If you are still having trouble, you may want to contact Shopify Support for further assistance. They will be able to help you troubleshoot the issue and resolve any problems with the app installation.
I hope this helps!
In app I’ve defined scope as well as in env variable to use it.
But I’m getting below error neither it’s console any error msg. It shows it when I install app on store.
This issue arrises when you’re using such scopes in your app which need Shopify permission. To avoid this issue you should take all permission from shopify from you app configuration dashboard.