Email worker: email with status Error - how to debug?

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

N/A

What is the issue or error you’re encountering

I have an email worker with catch all - everything is working. The last two days though - one particular email (I assume the mail is being resend again and again) gives status “Error” on the Email Routing Overview. See screenshot.

What steps have you taken to resolve the issue?

I wonder how I should debug that? Nothing turns up in the logs - I have put in a console.log() in the beginning of the ‘async email(message, env, ctx)’ call but that email never makes that call.

Any suggestions on how to get more information about what goes wrong?

Screenshot of the error

I still get these status “Error” - but quite few I should say. I still wonder how I can debug them? Any input on what to do? It seems they never reach the worker really.

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