Publishable API key required Error
If you receive the following error response when you send a request to a /store route:
Why this Error Occurred#
This error occurs because the request is missing the x-publishable-api-key header. The x-publishable-api-key header is required for all requests to the /store route.
How to Fix it#
To resolve this error, add the x-publishable-api-key header to your request. You can find your publishable API key in the Medusa Admin Dashboard.
For example:
Where your-publishable-api-key is your publishable API key.
Additional Resources#
Was this page helpful?