Tsuyo API Errors
Recover from an error
REST errors use RFC 9457 application/problem+json. Read status, code, message and resolution rather than parsing HTML. invalid_parameter (400) means correct the named input; not_found (404) means consult the API index or catalog; method_not_allowed (405) means use GET, HEAD or OPTIONS; store_unavailable (503) means retry after the Retry-After interval. MCP protocol errors use JSON-RPC, while tool failures return isError with a structured problem in text content. A successful search with no matches is an empty products array, not an error.