Join us for an upcoming Shopify Partner webinar on February 27, 2024. Discover the latest Checkout Extensibility features, and deep dive on improvements to Shopify Functions and Web Pixels. Register now for either the 10am EST or 2pm EST sessions.

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.