[GH-ISSUE #57] An error has occurred with OpenAI API #28

Closed
opened 2026-10-26 09:52:48 +00:00 by bsakaguchi · 3 comments
Owner

Originally created by @EsonGitHub on GitHub (Dec 30, 2024).
Original GitHub issue: https://github.com/deepseek-ai/awesome-deepseek-integration/issues/57

API Error: Status Code 422, Failed to deserialize the JSON body into the target type: messages[2]: invalid type: sequence, expected a string at line 1 column 325

Originally created by @EsonGitHub on GitHub (Dec 30, 2024). Original GitHub issue: https://github.com/deepseek-ai/awesome-deepseek-integration/issues/57 API Error: Status Code 422, Failed to deserialize the JSON body into the target type: messages[2]: invalid type: sequence, expected a string at line 1 column 325
Author
Owner

@beluxx commented on GitHub (Dec 31, 2024):

same error for cline

image

image

<!-- gh-comment-id:2566079257 --> @beluxx commented on GitHub (Dec 31, 2024): same error for cline ![image](https://github.com/user-attachments/assets/96f88233-6637-437f-83b9-d530a45fe91f) ![image](https://github.com/user-attachments/assets/dc2d9460-5d0d-4b2a-8187-6e4168fd363d)
Author
Owner

@StevenLi-phoenix commented on GitHub (Feb 6, 2025):

参考开发文件:
https://api-docs.deepseek.com/

  • To be compatible with OpenAI, you can also use https://api.deepseek.com/v1 as the base_url. But note that the v1 here has NO relationship with the model's version.

你应当使用
https://api.deepseek.com/v1
而非
https://api.deepseek.com

<!-- gh-comment-id:2638952078 --> @StevenLi-phoenix commented on GitHub (Feb 6, 2025): 参考开发文件: https://api-docs.deepseek.com/ > * To be compatible with OpenAI, you can also use https://api.deepseek.com/v1 as the base_url. But note that the v1 here has NO relationship with the model's version. 你应当使用 `https://api.deepseek.com/v1` 而非 `https://api.deepseek.com`
Author
Owner

@mowentian commented on GitHub (Feb 23, 2026):

Thank you for reporting this! This repository is a curated list of DeepSeek integrations. For tool-specific issues, please report them to the respective project's repository. For DeepSeek API issues, please visit https://platform.deepseek.com. Closing this issue. 🙏

<!-- gh-comment-id:3943310705 --> @mowentian commented on GitHub (Feb 23, 2026): Thank you for reporting this! This repository is a curated list of DeepSeek integrations. For tool-specific issues, please report them to the respective project's repository. For DeepSeek API issues, please visit https://platform.deepseek.com. Closing this issue. 🙏
Sign in to join this conversation.
No labels
pull-request
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/awesome-deepseek-integration#28
No description provided.