R2.get() returns Unspecified error(0)

For Workers & Pages, what is the name of the domain?

NA

What is the error message?

Unspecified error(0)

What is the issue or error you’re encountering

R2.get() called inside a worker throws an ‘Unspecified error (0)’

What steps have you taken to resolve the issue?

Added a try-catch around R2.get to capture more details about the error and handle the request with an appropriate status and message.

What are the steps to reproduce the issue?

I was running a performance test with 100 requests per second for a minute when I observed this.

This topic was automatically closed after 15 days. New replies are no longer allowed.