Updates:
- I am able to schedue cron using deployed version
- I was trying to schedule it in non-UTC time so I could not see it run. After fixing this, I can see it gets triggered.
But now the issue I am facing is that when it starts running, I see below error:
28/11/2025, 15:10:04
[ERROR] Error scheduling cron run cron_id=019ac9d3-a644-7719-b577-2b89264cb4e8
Traceback (most recent call last):
File “/api/langgraph_api/cron_scheduler.py”, line 38, in cron_scheduler
File “/api/langgraph_api/models/run.py”, line 305, in create_valid_run
starlette.exceptions.HTTPException: 404: Thread or assistant not found.
Below is the value I see in authorization handler:
[DEBUG] [LangGraph Auth] Value: {
“thread_id”: “955779ac-66b8-4a40-81e0-90f54ea2dfe2”,
“assistant_id”: “a2193a9d-c81f-5f9e-8fb5-76310a5fd9e5”,
“run_id”: “019ac9d5-83f4-733c-8b71-0413ca0f1c40”,
“status”: “pending”,
“metadata”: {
“userId”: “”,
“accountId”: “”,
“scheduledTaskTitle”: “list in progress work orders”,
“assistant_id”: “a2193a9d-c81f-5f9e-8fb5-76310a5fd9e5”
},
“prevent_insert_if_inflight”: false,
“multitask_strategy”: “enqueue”,
“if_not_exists”: “reject”,
“after_seconds”: 0,
“kwargs”: {
“input”: {
“messages”: [
{
“role”: “user”,
“content”: “in progress work orders”
}
]
},
“command”: null,
“config”: {
“configurable”: {
“cron_id”: “019ac9d3-a644-7719-b577-2b89264cb4e8”,
“langgraph_auth_user”: {
“identity”: “Kt8AR2w8ls”,
“is_authenticated”: true,
“display_name”: “Kt8AR2w8ls”
},
“langgraph_auth_user_id”: “Kt8AR2w8ls”,
“langgraph_auth_permissions”: ,
“langgraph_request_id”: null,
“_after_seconds_”: 0
},
“recursion_limit”: 200
},
“context”: {
“cron_id”: “019ac9d3-a644-7719-b577-2b89264cb4e8”
},
“stream_mode”: [
“values”
],
“interrupt_before”: null,
“interrupt_after”: null,
“webhook”: null,
“feedback_keys”: null,
“temporary”: false,
“subgraphs”: false,
“resumable”: false,
“checkpoint_during”: true,
“durability”: “async”
}
}