I tried to get product information with this code.
url = [email removed]
I used shopify api key and secret key from my private app.
And I activated all rights.
I don’t know what’s wrong, I just get this message.
{‘errors’: ‘[API] Invalid API key or access token (unrecognized login or wrong password)’}
Can you help me?
Hi Alex,
are you using python? To authenticate, you need to include the access token in the headers, like it’s described here: REST Admin API reference (shopify.dev).
Alternatively, you can use the python api client: Shopify/shopify_python_api: ShopifyAPI library allows Python developers to programmatically access the admin section of stores (github.com)
All the best,
Michael