[GH-ISSUE #591] Error response from API: Expecting value: line 1 column 1 (char 0) #321

Closed
opened 2026-10-26 21:19:32 +00:00 by bsakaguchi · 2 comments
Owner

Originally created by @hhy-huang on GitHub (Feb 6, 2025).
Original GitHub issue: https://github.com/deepseek-ai/DeepSeek-V3/issues/591

I still can not use the API for responses, even for the shortest context. Please fix that asap.

Here is the full error:

JSONDecodeError: Expecting value: line 1 column 1 (char 0)
Originally created by @hhy-huang on GitHub (Feb 6, 2025). Original GitHub issue: https://github.com/deepseek-ai/DeepSeek-V3/issues/591 I still can not use the API for responses, even for the shortest context. Please fix that asap. Here is the full error: ```json JSONDecodeError: Expecting value: line 1 column 1 (char 0) ```
Author
Owner

@mowentian commented on GitHub (Feb 6, 2025):

For API-related performance updates, please visit: https://status.deepseek.com/

<!-- gh-comment-id:2639115706 --> @mowentian commented on GitHub (Feb 6, 2025): For API-related performance updates, please visit: https://status.deepseek.com/
Author
Owner

@hhy-huang commented on GitHub (Feb 6, 2025):

For API-related performance updates, please visit: https://status.deepseek.com/

That's just the reason why I ask for this question. It is green today for sure in the website. Here is the code I use:

# Please install OpenAI SDK first: `pip3 install openai`

from openai import OpenAI

client = OpenAI(api_key="my api ky", base_url="https://api.deepseek.com")

response = client.chat.completions.create(
    model="deepseek-chat",
    messages=[
        {"role": "system", "content": "You are a helpful assistant"},
        {"role": "user", "content": "Hello"},
    ],
    stream=False
)

print(response.choices[0].message.content)

But the error occurred. So you mean that there are no problems in api performances?

<!-- gh-comment-id:2639157645 --> @hhy-huang commented on GitHub (Feb 6, 2025): > For API-related performance updates, please visit: https://status.deepseek.com/ That's just the reason why I ask for this question. It is green today for sure in the website. Here is the code I use: ```python # Please install OpenAI SDK first: `pip3 install openai` from openai import OpenAI client = OpenAI(api_key="my api ky", base_url="https://api.deepseek.com") response = client.chat.completions.create( model="deepseek-chat", messages=[ {"role": "system", "content": "You are a helpful assistant"}, {"role": "user", "content": "Hello"}, ], stream=False ) print(response.choices[0].message.content) ```` But the error occurred. So you mean that there are no problems in api performances?
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
deepseek-ai/DeepSeek-V3#321
No description provided.