# email_send_failed

HTTP 502 · Email (SPEC §9)

The email provider refused this email. The email log has its reason.

## Does retrying help?

Yes. Try again shortly; nothing in the request needs to change.

## The response

Every Flatstack error has this shape. `details`, when present, says more about this case.

```json
{
  "error": {
    "code": "email_send_failed",
    "message": "The email provider refused this email. The email log has its reason.",
    "docsUrl": "https://flatstack.dev/docs/errors/email_send_failed"
  }
}
```

[All error codes](/docs/errors)