Reputation: 672
I am getting this error :
{
"errors": "[API] Invalid API key or access token (unrecognized login or wrong password)"
}
Can anyone help me About the URL or why this error is coming. I am right now using Postman.
Url I am hitting :
https://{{token}}:{{pass}}@myStore.myshopify.com/admin/orders.json
Also can anyone tell me what's the pass here and token. Maybe that can be the error. I searched in shopify account there is no password in my app. Is it my account password ? And also should this password be encoded or not ?
Maybe this answer is already given before but I didn't find it. Can you lead me to it also?
Upvotes: 4
Views: 19159
Reputation: 901
Invalid API key or access token.
error response occurs in many conditions:
Upvotes: 4
Reputation: 29
Shopify Theme Kit Command : theme get --list -p=[password] -s="my-store.myshopify.com"
Shopify Theme Kit Tip: Don't include the URL protocol (HTTP or HTTPS) in the store parameter.
Solution: Just remove Http/Https from the [-s=" "] store URL from the command.
Upvotes: 0
Reputation: 160
I think you are stuck in public apps for shopify. Password is for Private Apps. Rather going on the developer account, go to the main admin account OR follow this URL:
https://store_name.myshopify.com/admin/apps/private
Here, you create a new private app and you will be able to find the password there.
Cheers!
Upvotes: 4