Development discussions around Shopify APIs
My Api Key is correct, then why is it giving this error? Thank you for helping me.
the request is - https://abhineshs-test.myshopify.com/admin/oauth/authorize?client_id=%2291a4bf9a512597df976ff14b2d4d...
Solved! Go to the solution
This is an accepted solution.
This is solved by removing the quotes from the api key from get call url.
This is an accepted solution.
This is solved by removing the quotes from the api key from get call url.
.env file
SHOPIFY_API_KEY='ae8ab39068d84c624bc3c0af3b51fa84'
initializers/shopify_app.rb
ShopifyApp.configure do |config| config.application_name = "My App" config.api_key = ENV['SHOPIFY_API_KEY'] config.secret = ENV['SHOPIFY_API_SECRET'] config.old_secret = "" config.scope = "read_orders, write_orders, read_products" # read_all_orders config.embedded_app = true config.after_authenticate_job = false config.api_version = "2019-10" config.session_repository = ShopifyApp::InMemorySessionStore end
partner.shopify.com
Error during installation of the app
Where to remove quotes ?
i couldn't find get call url
https://403d432e76bb.ngrok.io/?shop=sample-embedded-app-xyz.myshopify.com was my uri path it should be exact as u have stated in your app setup page
if this does not help check your api key are matching in app as well as your development environment (mine is Visual studio code)
Hope this information helps bcoz this is a pain in a**.
User | RANK |
---|---|
46 | |
16 | |
9 | |
9 | |
7 |
Thanks to all Community members that participated in our inaugural 2 week AMA on the new E...
By Jacqui Mar 10, 2023Upskill and stand out with the new Shopify Foundations Certification program
By SarahF_Shopify Mar 6, 2023One of the key components to running a successful online business is having clear and co...
By Ollie Mar 6, 2023