API error codes
Common error codes when calling Kimi API and how to resolve them.
Error code reference
General troubleshooting tips
- Check the full error message: The response JSON includes
error.messagewith detailed description. - Note the request_id: Helps support quickly locate the issue.
- Refer to official documentation: Ensure calls match docs at platform.moonshot.ai.
- Implement retry logic: For 429 and 500 errors, use exponential backoff.