Skip to content
This repository was archived by the owner on May 15, 2026. It is now read-only.
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

Closed as not planned

Description

@Amanda612

Which version of the app are you using?

V3.8.6 in VS Code

Which API Provider are you using?

DeepSeek

Which Model are you using?

V3&R1

What happened?

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.

Reference: Deepseek Error Codes

Steps to reproduce

In Code mode, requesting the API to use the browser_action tool to open the local index.html file.

Image

Image

Relevant API REQUEST output

Additional context

No response

Activity

  1. added
    bug
    on Mar 15, 2025
  2. moved this from New to Issue [Needs Info] in Roo Code Roadmapon Mar 17, 2025
  3. added
    Issue - Needs Info
    on Mar 17, 2025
  4. hannesrudolph commented on Apr 15, 2025

    @hannesrudolph
    Contributor

    I am unable to repro this problem. @Amanda612 are you still having this problem?

  5. moved this from Issue [Needs Info] to Done in Roo Code Roadmapon Apr 15, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Issue - Needs Infobug

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions