> Portal Navigation:
>
> - Append `.md` to any URL under `https://dev.wix.com/docs/` to get its markdown version.
> - Pages are either content pages (article or reference text) or menu pages (a list of links to child pages).
> - To get a menu page, truncate any URL to a parent path and append `.md` (e.g. `https://dev.wix.com/docs/sdk.md`, `https://dev.wix.com/docs/sdk/core-modules.md`).
> - Top-level index of all portals: https://dev.wix.com/docs/llms.txt
> - Full concatenated docs: https://dev.wix.com/docs/llms-full.txt
## Resource: Error Messages
## Article: Error Messages
## Article Link: https://dev.wix.com/docs/api-reference/business-solutions/bookings/services/service-options-and-variants/error-messages.md
## Article Content:
# Wix Bookings Service Options and Variants Errors
This article outlines error messages that might be issued when calling
endpoints of the Wix Bookings Service Options and Variants API.
## Create Service Options and Variants Errors
The [Create Service Options and Variants](https://dev.wix.com/docs/api-reference/business-solutions/bookings/services/service-options-and-variants/create-service-options-and-variants.md) endpoint might issue the following error messages:
|
HTTP status
| Error code
| Error message
| Troubleshooting
|
|--------------------------------------------|-------------------------------------------|----------------------------------------------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| `INVALID_ARGUMENT (400)` | `UNKNOWN_OPTION_IDS` | Unknown option IDs `` aren't supported in the variants array. | Make sure that all option IDs in the variants array align with the corresponding option IDs. |
| `INVALID_ARGUMENT (400)` | `MULTIPLE_CURRENCIES` | Multiple currencies `` aren't supported in the variants array. | Make sure that all variants use the same currency. |
| `INVALID_ARGUMENT (400)` | `UNSUPPORTED_OPTION_TYPE` | Option type `` isn't supported for service ``. | You can only define staff member based variants in case the service has connected staff members. If the service has no staff members you can call [Update Schedule](https://dev.wix.com/docs/api-reference/business-solutions/bookings/calendar/schedules-and-sessions/schedule-and-sessions/update-schedule.md) to add them. To do so, add the relevant staff member IDs as `scheduleOwnerId` to the active schedule's `availability.linkedSchedules` array. |
| `INVALID_ARGUMENT (400)` | `UNKNOWN_STAFF_IDS` | Staff members `` aren't connected to service ``. | Some staff members specified in the variants array aren't connected to the service. Either call [Update Schedule](https://dev.wix.com/docs/api-reference/business-solutions/bookings/calendar/schedules-and-sessions/schedule-and-sessions/update-schedule.md) to add them. To do so, add the relevant staff member IDs as `scheduleOwnerId` to the active schedule's `availability.linkedSchedules` array. Or remove the staff members from the `variants` array. |
| `INVALID_ARGUMENT (400)` | `MISSING_STAFF_VARIANTS` | Staff members `` are missing in the variants array. | Not all staff members providing the service are specified in the variants array. Either call [Update Schedule](https://dev.wix.com/docs/api-reference/business-solutions/bookings/calendar/schedules-and-sessions/schedule-and-sessions/update-schedule.md) to remove staff members from the service. To do so, remove the relevant `scheduleOwnerId`s from the active schedule's `availability.linkedSchedules` array. Or remove the relevant staff members from the `variants` array. |
| `INVALID_ARGUMENT (400)` | `IDENTICAL_CHOICES` | Identical choices `` aren't supported. | Make sure to remove identical choices from the request. Choices aren't case sensitive. For example, "Student" and "student" are considered to be the same choice. |
| `INVALID_ARGUMENT (400)` | `MISSING_CUSTOM_CHOICES` | Choices `` are missing in the variants array. | Make sure to provide all custom choices in the variants array. You could either add missing variants or remove unnecessary choices. |
| `INVALID_ARGUMENT (400)` | `UNSUPPORTED_OPTION_DATA` | Option data isn't supported for option type `` that's used for service ``. | Make sure to pass `customData` for custom options or no data for staff member based options. |
## Update Service Options and Variants Errors
The [Update Service Options and Variants](https://dev.wix.com/docs/api-reference/business-solutions/bookings/services/service-options-and-variants/update-service-options-and-variants.md) endpoint might issue the following error messages:
| HTTP status
| Error code
| Error message
| Troubleshooting
|
|--------------------------------------------|-------------------------------------------|--------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| `INVALID_ARGUMENT (400)` | `UNKNOWN_OPTION_IDS` | Unknown option IDs `` aren't supported in the variants array. | Make sure that all option IDs in the variants array align with the corresponding option IDs. |
| `INVALID_ARGUMENT (400)` | `MULTIPLE_CURRENCIES` | Multiple currencies `` aren't supported in the variants array. | Make sure that all variants use the same currency. |
| `INVALID_ARGUMENT (400)` | `UNSUPPORTED_OPTION_TYPE` | Option type `` isn't supported for service ``. | You can only define staff member based variants in case the service has connected staff members. If the service has no staff members you can call [Update Schedule](https://dev.wix.com/docs/api-reference/business-solutions/bookings/calendar/schedules-and-sessions/schedule-and-sessions/update-schedule.md) to add them. To do so, add the relevant staff member IDs as `scheduleOwnerId` to the active schedule's `availability.linkedSchedules` array. |
| `INVALID_ARGUMENT (400)` | `UNKNOWN_STAFF_IDS` | Staff members `` aren't connected to service ``. | Some staff members specified in the variants array aren't connected to the service. Either call [Update Schedule](https://dev.wix.com/docs/api-reference/business-solutions/bookings/calendar/schedules-and-sessions/schedule-and-sessions/update-schedule.md) to add them. To do so, add the relevant staff member IDs as `scheduleOwnerId` to the active schedule's `availability.linkedSchedules` array. Or remove the staff members from the `variants` array. |
| `INVALID_ARGUMENT (400)` | `MISSING_STAFF_VARIANTS` | Staff members `` are missing in the variants array. | Not all staff members providing the service are specified in the variants array. Either call [Update Schedule](https://dev.wix.com/docs/api-reference/business-solutions/bookings/calendar/schedules-and-sessions/schedule-and-sessions/update-schedule.md) to remove staff members from the service. To do so, remove the relevant `scheduleOwnerId`s from the active schedule's `availability.linkedSchedules` array. Or remove the relevant staff members from the `variants` array. |
| `INVALID_ARGUMENT (400)` | `IDENTICAL_CHOICES` | Identical choices `` aren't supported. | Make sure to remove identical choices from the request. Choices aren't case sensitive. For example, "Student" and "student" are considered to be the same choice. |
| `INVALID_ARGUMENT (400)` | `MISSING_CUSTOM_CHOICES` | Choices `` are missing in the variants array. | Make sure to provide all custom choices in the variants array. You could either add missing variants or remove unnecessary choices. |
| `INVALID_ARGUMENT (400)` | `UNSUPPORTED_OPTION_SPECIFIC_DATA` | Option data isn't supported for option type ``. | Make sure to pass `customData` for custom options or no data for staff member based options. |