[GH-ISSUE #1823] [langgraph]: </threads/{thread_id}/runs/await> 422 Unprocessable Content #239

Open
opened 2026-02-17 17:19:28 -05:00 by yindo · 0 comments
Owner

Originally created by @arditobryan on GitHub (Dec 9, 2025).
Original GitHub issue: https://github.com/langchain-ai/docs/issues/1823

Type of issue

issue / bug

Language

Python

Description

I am using the command:

langgraph dev --port 8080

To run langgraph environment + langsmith in the background.

I am trying to create a run using the API, and I am using the following code (the default using the Scalar API reference that I can access with the env on http://localhost:8080/docs:

{
  "assistant_id": "d8765587-c935-4903-aa48-c3095c2bcee2",
  "checkpoint": {
    "thread_id": "c93564a3-0d92-44f9-be25-179936ac4bca",
    "checkpoint_ns": "",
    "checkpoint_id": "",
    "checkpoint_map": {}
  },
  "input": { "messages" : [{"role" : "human", "content" : "Pick a random number" }] },
  "command": {
    "update": null,
    "resume": null,
    "goto": {
      "node": "",
      "input": null
    }
  },
  "metadata": {},
  "config": {
    "tags": [
      ""
    ],
    "recursion_limit": 1,
    "configurable": {}
  },
  "context": {},
  "webhook": "",
  "interrupt_before": "*",
  "interrupt_after": "*",
  "stream_mode": [
    "values"
  ],
  "stream_subgraphs": false,
  "stream_resumable": false,
  "on_disconnect": "cancel",
  "feedback_keys": [
    ""
  ],
  "multitask_strategy": "enqueue",
  "if_not_exists": "reject",
  "after_seconds": 1,
  "checkpoint_during": false,
  "durability": "async"
}

The only output I am getting is:
{
"detail": ""\ is shorter than 1 character \n\nFailed validating "minLength" is schema...
}
The thread is valid as well as the assistant (I can make it work by using the chat), but I found no working example on how to call the agent. Is it the wrong command?

Thank you

Originally created by @arditobryan on GitHub (Dec 9, 2025). Original GitHub issue: https://github.com/langchain-ai/docs/issues/1823 ### Type of issue issue / bug ### Language Python ### Description I am using the command: ``` langgraph dev --port 8080 ``` To run langgraph environment + langsmith in the background. I am trying to create a run using the API, and I am using the following code (the default using the Scalar API reference that I can access with the env on http://localhost:8080/docs: ``` { "assistant_id": "d8765587-c935-4903-aa48-c3095c2bcee2", "checkpoint": { "thread_id": "c93564a3-0d92-44f9-be25-179936ac4bca", "checkpoint_ns": "", "checkpoint_id": "", "checkpoint_map": {} }, "input": { "messages" : [{"role" : "human", "content" : "Pick a random number" }] }, "command": { "update": null, "resume": null, "goto": { "node": "", "input": null } }, "metadata": {}, "config": { "tags": [ "" ], "recursion_limit": 1, "configurable": {} }, "context": {}, "webhook": "", "interrupt_before": "*", "interrupt_after": "*", "stream_mode": [ "values" ], "stream_subgraphs": false, "stream_resumable": false, "on_disconnect": "cancel", "feedback_keys": [ "" ], "multitask_strategy": "enqueue", "if_not_exists": "reject", "after_seconds": 1, "checkpoint_during": false, "durability": "async" } ``` The only output I am getting is: { "detail": "\"\ is shorter than 1 character \n\nFailed validating \"minLength\" is schema... } The thread is valid as well as the assistant (I can make it work by using the chat), but I found no working example on how to call the agent. Is it the wrong command? Thank you
yindo added the langgraphexternal labels 2026-02-17 17:19:28 -05:00
yindo changed title from [langgraph]: </threads/{thread_id}/runs/await> 422 Unprocessable Content to [GH-ISSUE #1823] [langgraph]: </threads/{thread_id}/runs/await> 422 Unprocessable Content 2026-06-05 17:25:49 -04:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langchain-ai/docs#239