Focuses on API authentication, access scopes, and permission management.
We're moving the community! Starting July 7, the current community will be read-only for approx. 2 weeks. You can browse content, but posting will be temporarily unavailable. Learn more
hi folks, i am trying to make something very simple but i can not see the error. I want to fetch the blog entries for a store. I am calling the /admin/api/2023-10/blogs.json endpoint using the X-Shopify-Access-Token header with the token given.
I keep getting:
{ "errors": "[API] Invalid API key or access token (unrecognized login or wrong password)" }
Any ideas on how to debug this one? i would have thought that it was easier as do a fetch and done. However, i created a custom app in the store, gave permissions and created the token. But somehow this is not working :/
Hi Acorrea,
Does your app have the `content` access scope?
Liam | Developer Advocate @ Shopify
- Was my reply helpful? Click Like to let me know!
- Was your question answered? Mark it as an Accepted Solution
- To learn more visit Shopify.dev or the Shopify Web Design and Development Blog
hi Liam,
Do you mean the checkbox in the API Configuration?
If so, yes.
Any other idea? 🙂