# price_list_not_allowed

> The price list isn't your platform's

- Status: 400 Bad Request
- Returned by: /api/public
- Operations: [createOnboardingLink](https://developers.rivr.io/reference/api-public/createOnboardingLink.md), [refreshOnboardingLink](https://developers.rivr.io/reference/api-public/refreshOnboardingLink.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/price_list_not_allowed
- Try it: `GET https://developers.rivr.io/errors/simulate/price_list_not_allowed` answers with the code's exact wire form; `?succeedAfter=N&attempt=K` gives a 200 once `attempt` passes `N`

## What it means

The price list in `priceListId` isn't one your platform may use, or the platform has no default price list. It can also be a list that is closed or outside its validity period. It also applies to a list you didn't choose yourselves: the list on an onboarding that is already open. No onboarding was started, and no link was refreshed.

## What your system does

Pick one of the platform's price lists, or leave `priceListId` empty for the default. If the platform has no price lists, the list is closed or the error concerns an onboarding that is already open, contact Rivr.

## 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": "priceListId",
  "message": "The price list is not one your platform may use. Choose one of the price lists your platform has access to.",
  "errorCode": "price_list_not_allowed",
  "code": "price_list_not_allowed",
  "type": "https://developers.rivr.io/errors/price_list_not_allowed"
}
```

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