cloudflare / cloudflare/workerd

`MY_QUEUE.send()` regularly fails with `Internal Server Error` at runtime

Open
#1,483 8 comments 0 reactions 0 assignees View on GitHub
Dominant language
C++
Stars
8.7k
Forks
739
Avg merge
2d 20h
Merged PRs (30d)
174

Description

We regularly see the following error pop up in our production logs:

Error: Queue send failed: Internal Server Error

This error is [produced here](https://github.com/cloudflare/workerd/blob/7ede63ca67b7c265469efa77bfd2cd938fdeca34/src/workerd/api/queue.c%2B%2B#L215), and happens when we call the following public API:

```ts
await env.MY_QUEUE.send(message);
```

Here, `message` is a simple/regular JSON object, nothing out of the ordinary. Is it possible to get more detailed runtime information than `Internal Server Error`?

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.