# send_email_requires_email

> Email missing for the email

- Status: 400 Bad Request
- Returned by: /api/public
- Operations: [createOnboardingLink](https://developers.rivr.io/reference/api-public/createOnboardingLink.md)
- Retry (`retryWhen`): `after_fix`
- Did anything happen? (`outcome`): `none` (It did not happen)
- Onboarding links in /api/public
- Page in the portal: https://developers.rivr.io/errors/send_email_requires_email
- Try it: `GET https://developers.rivr.io/errors/simulate/send_email_requires_email` answers with the code's exact wire form; `?succeedAfter=N&attempt=K` gives a 200 once `attempt` passes `N`

## What it means

`sendEmail` is set, but the body has no `email` to send the link to.

## What your system does

Include `email`, or leave out `sendEmail` and show the link in your own interface.

## Is it worth retrying?

No, not without changing the call.

`retryWhen`: `after_fix`. Change the request first, as the code's page says: a value, the token, a header or a new key. Then send it.

## Did anything happen?

`outcome`: `none`. **It did not happen.** This call did not do what you asked for and changed nothing else that you can see or that concerns money. Where the code has an `outcomeNote`, it takes precedence.

## Example: /api/public

```http
HTTP/1.1 400 Bad Request
Content-Type: application/json

{
  "propertyName": "email",
  "message": "email is required when sendEmail is set.",
  "errorCode": "send_email_requires_email",
  "code": "send_email_requires_email",
  "type": "https://developers.rivr.io/errors/send_email_requires_email"
}
```

The `title`, `detail`, `message` and `error_description` texts are exactly as the API writes them today.
