Oauth error invalid_request Could not find Shopify API application with api_key

Solved
abhinesh
New Member
3 1 0

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...

 

Capture.PNG

0 Likes
abhinesh
New Member
3 1 0

This is an accepted solution.

This is solved by removing the quotes from the api key from get call url.

0 Likes
Olaoluwa
New Member
1 0 0

 

.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

Screenshot 2019-11-08 at 23.22.10.png











Error during installation of the app


Screenshot 2019-11-08 at 23.25.07.png

0 Likes
zainsadaqat
New Member
1 0 0

Where to remove quotes ?
i couldn't find get call url

0 Likes