Sudden increase in Queue callback error: BadRequestError: {"error":"Visibility timeout exceeds message expiration"}
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 2.4k
- Forks
- 365
- Avg merge
- 2d 11h
- Merged PRs (30d)
- 169
Description
This morning we started noticing the following errors spike significantly.
INFO] [vercel.workflows] Starting winback workflow {
workflowId: 'HIDDEN',
stayId: 'HIDDEN',
userId: 'HIDDEN'
}
[INFO] [vercel.workflows] step_delay { stepNumber: 1, stepCount: 2, duration: '1d', sleepMs: 86400000 }
Queue callback error: BadRequestError: {"error":"Visibility timeout exceeds message expiration"}
at throwCommonHttpError (/var/task/index.js:38248:11)
at QueueClient.changeVisibility (/var/task/index.js:38679:7)
at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
at async ConsumerGroup.processMessage (/var/task/index.js:38989:9)
at async ConsumerGroup.consume (/var/task/index.js:39050:9)
at async Object.routeHandler [as POST] (/var/task/index.js:39272:7)
We have been running workflows in production for 4 weeks now without issue - where is this coming from? It is breaking running workflows.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by tracing the reported stack path through QueueClient.changeVisibility and ConsumerGroup in the bundled index.js, using the Visibility timeout exceeds message expiration error as the entry point. Determine why production workflows now hit this queue callback failure and verify that running workflows no longer break.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- backend, distributed-systems
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100