# organization_invalid

> Invalid organisation

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

## What it means

The `Rivr-Organization` header is not an organisation id. It must be exactly one GUID, not the empty GUID, and may only be sent once.

## What your system does

Send the organisation's id as a GUID, for example `3f6c2a1e-8b4d-4c7a-9e21-5d0b7f9a1c3e`. When the caller reaches only one organisation, the header can be left out.

## 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 with an organisation key

```http
HTTP/1.1 400 Bad Request
Content-Type: application/problem+json
Rivr-Should-Retry: false

{
  "type": "https://developers.rivr.io/errors/organization_invalid",
  "title": "Rivr-Organization must be one organization id.",
  "status": 400,
  "code": "organization_invalid",
  "detail": "Rivr-Organization must be one organization id.",
  "instance": "/api/public/orders/7b1e7c3a-2f4d-4a51-9c7e-5d0a6b8e2c14/status",
  "requestId": "5f0c2a7e-9b41-4d3a-8e6f-1c2d3b4a5e6f",
  "retryWhen": "after_fix"
}
```

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