Documentation/api

Error codes

Free

Common error codes returned by StoreMCP.

Every error response has this shape:

{
  "success": false,
  "error": {
    "code": "rate_limited",
    "message": "Too many requests. Retry after 12s.",
    "details": { "retry_after": 12 }
  }
}

Common codes

CodeHTTPMeaning
unauthorized401Missing or invalid credentials
revoked_key401Key has been revoked
forbidden403Key exists but lacks permission for this tool
ip_not_allowed403Key is IP-restricted and source IP is not allowed
not_found404Target object doesn't exist
validation_error422Parameter validation failed
rate_limited429Rate limit exceeded
upstream_error502WooCommerce / WP internal error
module_disabled409The tool's module is disabled
pro_required402This tool requires a Pro or Agency license
internal_error500Unhandled error — check activity log

Debugging

Enable Debug mode at StoreMCP → Settings → Advanced. Errors will include stack traces in the response and a link to the full log entry.