ℹ️ Skipped - page is already crawled
| Filter | Status | Condition | Details |
|---|---|---|---|
| HTTP status | PASS | download_http_code = 200 | HTTP 200 |
| Age cutoff | PASS | download_stamp > now() - 6 MONTH | 0.1 months ago |
| History drop | PASS | isNull(history_drop_reason) | No drop reason |
| Spam/ban | PASS | fh_dont_index != 1 AND ml_spam_score = 0 | ml_spam_score=0 |
| Canonical | PASS | meta_canonical IS NULL OR = '' OR = src_unparsed | Not set |
| Property | Value |
|---|---|
| URL | https://api-docs.deepseek.com/quick_start/error_codes |
| Last Crawled | 2026-04-16 18:44:14 (1 day ago) |
| First Indexed | 2025-01-08 10:54:47 (1 year ago) |
| HTTP Status Code | 200 |
| Meta Title | Error Codes | DeepSeek API Docs |
| Meta Description | When calling DeepSeek API, you may encounter errors. Here list the causes and solutions. |
| Meta Canonical | null |
| Boilerpipe Text | When calling DeepSeek API, you may encounter errors. Here list the causes and solutions.
CODE
DESCRIPTION
400 - Invalid Format
Cause
: Invalid request body format.
Solution
: Please modify your request body according to the hints in the error message. For more API format details, please refer to
DeepSeek API Docs.
401 - Authentication Fails
Cause
: Authentication fails due to the wrong API key.
Solution
: Please check your API key. If you don't have one, please
create an API key
first.
402 - Insufficient Balance
Cause
: You have run out of balance.
Solution
: Please check your account's balance, and go to the
Top up
page to add funds.
422 - Invalid Parameters
Cause
: Your request contains invalid parameters.
Solution
: Please modify your request parameters according to the hints in the error message. For more API format details, please refer to
DeepSeek API Docs.
429 - Rate Limit Reached
Cause
: You are sending requests too quickly.
Solution
: Please pace your requests reasonably. We also advise users to temporarily switch to the APIs of alternative LLM service providers, like OpenAI.
500 - Server Error
Cause
: Our server encounters an issue.
Solution
: Please retry your request after a brief wait and contact us if the issue persists.
503 - Server Overloaded
Cause
: The server is overloaded due to high traffic.
Solution
: Please retry your request after a brief wait. |
| Markdown | [Skip to main content](https://api-docs.deepseek.com/quick_start/error_codes#__docusaurus_skipToContent_fallback)
[**DeepSeek API Docs**](https://api-docs.deepseek.com/)
[English](https://api-docs.deepseek.com/quick_start/error_codes)
- [English](https://api-docs.deepseek.com/quick_start/error_codes)
- [中文(中国)](https://api-docs.deepseek.com/zh-cn/quick_start/error_codes)
[DeepSeek Platform](https://platform.deepseek.com/)
- [Quick Start](https://api-docs.deepseek.com/quick_start/error_codes)
- [Your First API Call](https://api-docs.deepseek.com/)
- [Models & Pricing](https://api-docs.deepseek.com/quick_start/pricing)
- [The Temperature Parameter](https://api-docs.deepseek.com/quick_start/parameter_settings)
- [Token & Token Usage](https://api-docs.deepseek.com/quick_start/token_usage)
- [Rate Limit](https://api-docs.deepseek.com/quick_start/rate_limit)
- [Error Codes](https://api-docs.deepseek.com/quick_start/error_codes)
- [News](https://api-docs.deepseek.com/quick_start/error_codes)
- [DeepSeek-V3.2 Release 2025/12/01](https://api-docs.deepseek.com/news/news251201)
- [DeepSeek-V3.2-Exp Release 2025/09/29](https://api-docs.deepseek.com/news/news250929)
- [DeepSeek V3.1 Update 2025/09/22](https://api-docs.deepseek.com/news/news250922)
- [DeepSeek V3.1 Release 2025/08/21](https://api-docs.deepseek.com/news/news250821)
- [DeepSeek-R1-0528 Release 2025/05/28](https://api-docs.deepseek.com/news/news250528)
- [DeepSeek-V3-0324 Release 2025/03/25](https://api-docs.deepseek.com/news/news250325)
- [DeepSeek-R1 Release 2025/01/20](https://api-docs.deepseek.com/news/news250120)
- [DeepSeek APP 2025/01/15](https://api-docs.deepseek.com/news/news250115)
- [Introducing DeepSeek-V3 2024/12/26](https://api-docs.deepseek.com/news/news1226)
- [DeepSeek-V2.5-1210 Release 2024/12/10](https://api-docs.deepseek.com/news/news1210)
- [DeepSeek-R1-Lite Release 2024/11/20](https://api-docs.deepseek.com/news/news1120)
- [DeepSeek-V2.5 Release 2024/09/05](https://api-docs.deepseek.com/news/news0905)
- [Context Caching is Available 2024/08/02](https://api-docs.deepseek.com/news/news0802)
- [New API Features 2024/07/25](https://api-docs.deepseek.com/news/news0725)
- [API Reference](https://api-docs.deepseek.com/quick_start/error_codes)
- [API Guides](https://api-docs.deepseek.com/quick_start/error_codes)
- [Thinking Mode](https://api-docs.deepseek.com/guides/thinking_mode)
- [Multi-round Conversation](https://api-docs.deepseek.com/guides/multi_round_chat)
- [Chat Prefix Completion (Beta)](https://api-docs.deepseek.com/guides/chat_prefix_completion)
- [FIM Completion (Beta)](https://api-docs.deepseek.com/guides/fim_completion)
- [JSON Output](https://api-docs.deepseek.com/guides/json_mode)
- [Tool Calls](https://api-docs.deepseek.com/guides/tool_calls)
- [Context Caching](https://api-docs.deepseek.com/guides/kv_cache)
- [Anthropic API](https://api-docs.deepseek.com/guides/anthropic_api)
- [Other Resources](https://api-docs.deepseek.com/quick_start/error_codes)
- [Integrations](https://github.com/deepseek-ai/awesome-deepseek-integration/tree/main)
- [API Status Page](https://status.deepseek.com/)
- [FAQ](https://api-docs.deepseek.com/faq)
- [Change Log](https://api-docs.deepseek.com/updates)
- Quick Start
- Error Codes
# Error Codes
When calling DeepSeek API, you may encounter errors. Here list the causes and solutions.
| CODE | DESCRIPTION |
|---|---|
| 400 - Invalid Format | **Cause**: Invalid request body format. **Solution**: Please modify your request body according to the hints in the error message. For more API format details, please refer to [DeepSeek API Docs.](https://api-docs.deepseek.com/) |
| 401 - Authentication Fails | **Cause**: Authentication fails due to the wrong API key. **Solution**: Please check your API key. If you don't have one, please [create an API key](https://platform.deepseek.com/api_keys) first. |
| 402 - Insufficient Balance | **Cause**: You have run out of balance. **Solution**: Please check your account's balance, and go to the [Top up](https://platform.deepseek.com/top_up) page to add funds. |
| 422 - Invalid Parameters | **Cause**: Your request contains invalid parameters. **Solution**: Please modify your request parameters according to the hints in the error message. For more API format details, please refer to [DeepSeek API Docs.](https://api-docs.deepseek.com/) |
| 429 - Rate Limit Reached | **Cause**: You are sending requests too quickly. **Solution**: Please pace your requests reasonably. We also advise users to temporarily switch to the APIs of alternative LLM service providers, like OpenAI. |
| 500 - Server Error | **Cause**: Our server encounters an issue. **Solution**: Please retry your request after a brief wait and contact us if the issue persists. |
| 503 - Server Overloaded | **Cause**: The server is overloaded due to high traffic. **Solution**: Please retry your request after a brief wait. |
[PreviousRate Limit](https://api-docs.deepseek.com/quick_start/rate_limit)
[NextDeepSeek-V3.2 Release](https://api-docs.deepseek.com/news/news251201)
WeChat Official Account
- 
Community
- [Email](mailto:api-service@deepseek.com)
- [Discord](https://discord.gg/Tc7c45Zzu5)
- [Twitter](https://twitter.com/deepseek_ai)
More
- [GitHub](https://github.com/deepseek-ai)
Copyright © 2026 DeepSeek, Inc. |
| Readable Markdown | When calling DeepSeek API, you may encounter errors. Here list the causes and solutions.
| CODE | DESCRIPTION |
|---|---|
| 400 - Invalid Format | **Cause**: Invalid request body format. **Solution**: Please modify your request body according to the hints in the error message. For more API format details, please refer to [DeepSeek API Docs.](https://api-docs.deepseek.com/) |
| 401 - Authentication Fails | **Cause**: Authentication fails due to the wrong API key. **Solution**: Please check your API key. If you don't have one, please [create an API key](https://platform.deepseek.com/api_keys) first. |
| 402 - Insufficient Balance | **Cause**: You have run out of balance. **Solution**: Please check your account's balance, and go to the [Top up](https://platform.deepseek.com/top_up) page to add funds. |
| 422 - Invalid Parameters | **Cause**: Your request contains invalid parameters. **Solution**: Please modify your request parameters according to the hints in the error message. For more API format details, please refer to [DeepSeek API Docs.](https://api-docs.deepseek.com/) |
| 429 - Rate Limit Reached | **Cause**: You are sending requests too quickly. **Solution**: Please pace your requests reasonably. We also advise users to temporarily switch to the APIs of alternative LLM service providers, like OpenAI. |
| 500 - Server Error | **Cause**: Our server encounters an issue. **Solution**: Please retry your request after a brief wait and contact us if the issue persists. |
| 503 - Server Overloaded | **Cause**: The server is overloaded due to high traffic. **Solution**: Please retry your request after a brief wait. | |
| Shard | 106 (laksa) |
| Root Hash | 12935132035649035906 |
| Unparsed URL | com,deepseek!api-docs,/quick_start/error_codes s443 |