Hi, I’m trying to access the Admin API for the store store.myshopify.comusing Postman and curl, but I keep getting the error:
[API] Invalid API key or access token (unrecognized login or wrong password). I'm an administrator on the store and have already created a custom app from the Shopify admin panel, assigned scopes like
read_productsand
write_products, generated the Admin API access token from the credentials section, and used it in the
X-Shopify-Access-Tokenheader in both Postman and curl. I tested the URL
https://pasteurpharmacy.myshopify.com/admin/api/2023-01/products.json`, confirmed that my account has admin privileges, and made sure the token was copied correctly, but the error still persists. The code making the request is hosted on a VPS from Hostinger, in case there’s anything related to server configuration or IP restrictions that could be affecting the connection. I’d appreciate any guidance.
I’m trying to access the Admin API for the store store.myshopify.com using Postman and curl
What is the URL you are testing?
Are you still seeing this issue @Astrid_Segovia ?