You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on May 15, 2026. It is now read-only.
Repository navigation
This repository was archived by the owner on May 15, 2026. It is now read-only.
Recurring Error 422 When Using Deepseek Model to Open HTML Files in Browser #1664
Issue Description:
In Roo Code’s Code mode, requests to Deepseek’s API for opening HTML files consistently result in a 422 error. After the error occurs, subsequent inputs fail to execute any tasks and only return 422, with the issue being stably reproducible.
Error Messages:
422 Failed to deserialize the JSON body into the target type: messages[19]: data did not match any variant of untagged enum ChatCompletionRequestContent at line 281 column 3
422 Failed to deserialize the JSON body into the target type: messages[23]: data did not match any variant of untagged enum ChatCompletionRequestContent at line 255 column 3
Based on Deepseek API Documentation:
Cause of 422 Error: Invalid request body parameters.
Solution: Adjust parameters according to the error details.
Activity
hannesrudolph commentedon Apr 15, 2025
I am unable to repro this problem. @Amanda612 are you still having this problem?