Unverified50% confidenceFactExact time
For LLM APIs, retryable errors include 429, 5xx and timeouts, while non-retryable errors include 400 parameter errors and 401 authentication failures.
1
Sources
50%
Confidence
Long-term
Relevance
10/21/2026
First Seen
Sources
Related Entities
Related Claims
Unverified使用无效的测试API Key会返回401鉴权失败错误75% similarUnverifiedWhen validating an API endpoint, 401 means the Key is wrong, has been revoked, or is missing the Bearer prefix; 402 means an account balance or billing issue; 403 means an environment or permission mismatch; 400/404 (for the model) means the Model ID has expired; and 429/5xx are the only two status codes worth retrying.70% similarUnverified401 and 403 authentication errors, as well as 400 errors related to request structure, should be thrown immediately and should not trigger a fallback.70% similarUnverifiedA Mastra agent fails immediately on a 401 error without retrying.63% similarUnverifiedA protocol error means the request itself is malformed (e.g., calling a non-existent tool name) and is returned as a standard JSON-RPC error.62% similar
Cite This Claim
Stable URI
https://kongchang.com/claim/1083129API
curl https://kongchang.com/api/v1/knowledge/claims/1083129MCP
get_claim(id=1083129)