Have your say in Community Polls: What was/is your greatest motivation to start your own business?
Our Partner & Developer boards on the community are moving to a brand new home: the .dev community forums! While you can still access past discussions here, for all your future app and storefront building questions, head over to the new forums.

Problem with endpoints

Problem with endpoints

publioquintero
Shopify Partner
2 0 0

when I make a request to https://kwt-filters.myshopify.com/admin/api/2022-01/products.json it returns

 

{
"errors": "[API] Invalid API key or access token (unrecognized login or wrong password)"
}
 
but when the request changes to https://kwt-filters.myshopify.com/products.json it return all my products correctly.
 
Does anyone know the reason? the endpoint with the /admin/api/2022-01 does not work.
 
Is not a token problem because in the second url it works perfectly.
Reply 1 (1)

csam
Shopify Staff (Retired)
267 40 51

Hi @publioquintero 

 

Thanks for reaching out! The URL https://kwt-filters.myshopify.com/products.json is publicly available and does not require any authentication to access. I would recommend double checking your app's authentication keys/passwords match the store you are attempting to access. 

To learn more visit the Shopify Help Center or the Community Blog.