ERRORS / 401
Unauthorized.
The request had no valid API key.
code: UNAUTHORIZEDHTTP 401. Retrying the same request will fail again. Fix the cause, then send it again.
Common causes
- The Authorization: Bearer header is missing or malformed.
- The key was revoked, has expired, or belongs to the other environment (sandbox keys start simple_test_, production keys simple_live_).
- A REST key was used for MCP (MCP keys start mcp_) or the other way round.
What to do
- Check the key prefix matches the environment and API you are calling.
- Ask the store owner to issue a new key if it was revoked or expired.
The response's detail names the specific reason, and request_id (also in the X-Request-Id header) identifies the request if you contact Simple.