> To build or manage a Wix site with an AI agent, follow https://www.wix.com/headless/skill.md
> It builds a new Wix site or puts your own site online, from a prompt, and keeps changing it afterwards. The pages are code in any web technology, and Wix runs the backend.
> It works through the Wix plugin (the Wix MCP and the Wix skills), the Wix CLI or no Wix login, and puts the site live on Wix hosting or on another host.
> Business features include a store, bookings, events and tickets, a restaurant, a blog, forms, members and many more.
> Read the Wix skills online at https://www.wix.com/skills
> 
> 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`).
> - If a reference page seems to be missing its schema (parameters, return types, or type definitions), append `?schema=true` to its `.md` URL (e.g. `https://dev.wix.com/docs/contexts/contexts/stores/category-info/use-category-info-context.md?schema=true`).
> - 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: Wix Data Error Codes

## Article: Wix Data Error Codes

## Article Link: https://dev.wix.com/docs/api-reference/business-solutions/cms/wix-data-error-codes.md

## Article Content:

# Wix Data Error Codes

When you use the Wix Data API, you may encounter errors. This list includes the error codes and messages returned by the API and more information to help you resolve issues. If an error persists, [contact support](https://www.wix.com/contact) for help.

| <div style="min-width:70px">Code</div> | <div style="min-width:300px">Message</div>                                                                                                     | Description                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   |
| -------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| <span id="WDE0001">WDE0001</span>      | Collection name must be a string.                                                                                                              | Check that the collection name you provided is a valid string.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                |
| <span id="WDE0002">WDE0002</span>      | Item ID must be a string.                                                                                                                      | Check that the data item `id` you provided is a valid string.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 |
| <span id="WDE0003">WDE0003</span>      | Field name must be a string.                                                                                                                   | Check that the field name you provided is a valid string.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     |
| <span id="WDE0004">WDE0004</span>      | Failed to save {item name} into {collection name}. Items must be JavaScript objects.                                                           | Check that the item you're saving is a valid JavaScript object.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               |
| <span id="WDE0005">WDE0005</span>      | Failed to bulk save items into {collection name}. Items must be an array of JavaScript objects and item IDs must be strings if present.        | One or more of the items you tried to save was invalid. Check that the items are an array of valid JavaScript objects and that any `id` properties in the items are strings. A valid ID key-value pair looks like this:<br>`'id': 'ffdkj9c2-df8g-f9ke-lk98-4kjhfr89keedb'`.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   |
| <span id="WDE0006">WDE0006</span>      | Failed to bulk save items into {collection name}. Cannot insert more than 1000 items in one request.                                           | You tried to save too many items at once. Avoid this error by splitting up your request into batches of fewer than 1000 items.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                |
| <span id="WDE0007">WDE0007</span>      | Invalid update. Updated object must have an `_id` property that is a string.                                                                   | Check that the object you passed for the `dataItem` parameter has a property called `id` whose value is a valid string.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| <span id="WDE0008">WDE0008</span>      | wixData.{the method you called} expects between {minimum} and {maximum} arguments, but was called with {the number of arguments you provided}. | The wrong number of arguments were passed to the method. Check your code to make sure that you are passing a valid number of arguments, and that you separate the argument values with commas.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                |
| <span id="WDE0009">WDE0009</span>      | Document is too large.                                                                                                                         | The maximum size for a single collection item is 512 KB. Check that the items you're adding are smaller than this.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |
| <span id="WDE0011">WDE0011</span>      | Invalid filter usage. .filter requires WixDataFilter.                                                                                          | Check that the argument passed to the WixDataAggregate [`filter()`](https://dev.wix.com/docs/sdk/data-items-sdk/data/items/filter.md) method is a valid [WixDataFilter](https://dev.wix.com/docs/sdk/data-items-sdk/data/items/wix-data-filter/introduction.md) object.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           |
| <span id="WDE0012">WDE0012</span>      | Invalid {method you called} usage. Filter is already set.                                                                                      | You are trying to use this method to set a filter, but you've already set one. You can only set one filter at a time. Check your code to see where the previous filter was set.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               |
| <span id="WDE0013">WDE0013</span>      | Invalid group usage. Group is already set.                                                                                                     | You are trying to use the [`group()`](https://dev.wix.com/docs/sdk/data-items-sdk/data/items/wix-data-aggregate/group.md) method to set a group for your aggregation, but you've already set one. You can only set one group at a time. Check your code to see where the previous group was set.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                |
| <span id="WDE0014">WDE0014</span>      | Requests per minute quota exceeded.                                                                                                            | Your site has exceeded the quota of the maximum number of data requests per minute. Learn more about [this quota](https://support.wix.com/en/article/velo-about-data-quotas#requests-per-minute) and how to prevent this error.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               |
| <span id="WDE0016">WDE0016</span>      | Filter must be an object.                                                                                                                      | Check that your filter is a valid [WixDataFilter](https://dev.wix.com/docs/sdk/data-items-sdk/data/items/wix-data-filter/introduction.md) object.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               |
| <span id="WDE0018">WDE0018</span>      | Options must be an object with one or all of the following boolean properties: {expected properties for your method}                           | Check that the `options` object you provided for a method is valid. <br><br>For example, the [`save()`](https://dev.wix.com/docs/sdk/data-items-sdk/data/items/save.md) method accepts 3 optional properties in its `options` parameter, including `suppressHooks` that accepts a boolean value. Defining an `options` parameter with a nested `suppressHooks` whose value isn't a boolean results in an error. <br><br>To find the appropriate `options` properties for the method you're using, consult the API Reference.                                                                                                                                                                                                                                                                    |
| <span id="WDE0019">WDE0019</span>      | Reference operation takes a string ID or an object with an ID to be connected.                                                                 | Check that the argument passed to a method dealing with reference fields is either an item ID string or an object with an `_id` field. This error applies to the `referringItemId` and `referencedItemId` parameters of the [`Is Referenced Data Item`](https://dev.wix.com/docs/rest/business-solutions/cms/data-items/is-referenced-data-item.md), [`Replace Data Item References`](https://dev.wix.com/docs/rest/business-solutions/cms/data-items/replace-data-item-references.md), and [`Remove Data Item Reference`](https://dev.wix.com/docs/rest/business-solutions/cms/data-items/remove-data-item-reference.md) methods and the `dataItem` parameter of [`Query Referenced Data Item`](https://dev.wix.com/docs/rest/business-solutions/cms/data-items/query-referenced-data-items.md) methods. |
| <span id="WDE0020">WDE0020</span>      | Provided relationship attribute {your field name} is not a multi-reference field.                                                              | Check that the collection field you're adding a multi-reference value to is a multi-reference type.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           |
| <span id="WDE0021">WDE0021</span>      | Invalid reference                                                                                                                              | Check that the referring and referenced items you provided are valid. A valid referring item is either an `_id` string or an object with an `_id` property. A valid referenced item is either an `_id` string, an object with an `_id` property, or an array of `_id` strings.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                |
| <span id="WDE0024">WDE0024</span>      | Field is deleted                                                                                                                               | The field you're trying to access was deleted. [Restore the collection](https://support.wix.com/en/article/cms-formerly-content-manager-backing-up-your-collections) in the Content Management System (CMS) before using the field in your code.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              |
| <span id="WDE0025">WDE0025</span>      | The {your collection name} collection does not exist.                                                                                          | Check that the collection you're trying to access exists on your site.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        |
| <span id="WDE0026">WDE0026</span>      | The {your collection name} collection has been removed.                                                                                        | The collection you're trying to access has been deleted. [Restore the collection in the CMS](https://support.wix.com/en/article/cms-formerly-content-manager-restoring-a-deleted-collection), or create a new collection with the same name.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  |
| <span id="WDE0027">WDE0027</span>      | The current user does not have permissions to {some action} on the {your collection name} collection.                                          | A data request was made with insufficient permissions. [Set up your collections permissions](https://support.wix.com/en/article/velo-security-best-practices#collection-permissions) based on your site's needs.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              |
| <span id="WDE0028">WDE0028</span>      | Operation time limit exceeded.                                                                                                                 | Your data request ran for more than 5 seconds and timed out. The request was terminated. If this error persists, it may be because your request is working with large amounts of data. Learn more about [this quota](https://support.wix.com/en/article/velo-about-data-quotas#individual-request-timeout) and how to prevent this error.                                                                                                                                                                                                                                                                                                                                                                                                                                                     |
| <span id="WDE0029">WDE0029</span>      | Reference {referencingCollectionName.propertyName} from {referencingItemId} to {referencedItemId} already exists.                              | The reference you're trying to create already exists.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         |
| <span id="WDE0032">WDE0032</span>      | Invalid {operator} parameter {operand}. {operator} parameter must be a {specifier} number.                                                     | The argument passed to this method must be a valid number.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    |
| <span id="WDE0033">WDE0033</span>      | Invalid {operator} parameter {operand}. {operator} parameter must be a positive number.                                                        | When calling [`limit()`](https://dev.wix.com/docs/sdk/data-items-sdk/data/items/wix-data-query/limit.md), the argument passed to this method must be a positive number.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         |
| <span id="WDE0034">WDE0034</span>      | Invalid {operator} parameter {operand}. {operator} parameter must be a non-negative number.                                                    | When calling [`skip()`](https://dev.wix.com/docs/sdk/data-items-sdk/data/items/wix-data-query/skip.md), the argument passed to this method must be a non-negative number.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| <span id="WDE0035">WDE0035</span>      | Invalid {operator} parameter {operand}. {operator} parameter must be an integer.                                                               | The argument passed to this method must be an integer.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        |
| <span id="WDE0036">WDE0036</span>      | Invalid {operator} parameter {operand}. {operator} parameter cannot exceed {value}.                                                            | The argument passed to this method cannot be larger than the specified value.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 |
| <span id="WDE0037">WDE0037</span>      | Invalid query on {collection name}. Invalid prev positioned query skip on a negative number.                                                   | Check that the skip value you provided for the query is 0 or greater.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         |
| <span id="WDE0038">WDE0038</span>      | Invalid {operator} usage. {operator} does not take parameters.                                                                                 | This method expects no arguments.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             |
| <span id="WDE0039">WDE0039</span>      | Invalid {operator} usage. {operator} requires one parameter.                                                                                   | This method expects exactly one argument.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     |
| <span id="WDE0040">WDE0040</span>      | Invalid {operator} usage. {operator} requires two parameters.                                                                                  | This method expects exactly two arguments.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    |
| <span id="WDE0041">WDE0041</span>      | Invalid {operator} usage. {operator} requires three parameters.                                                                                | This method expects exactly three arguments.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  |
| <span id="WDE0042">WDE0042</span>      | Invalid {operator} usage. {operator} requires at least two parameters.                                                                         | This method expects at least two arguments, but fewer were provided.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          |
| <span id="WDE0043">WDE0043</span>      | Invalid {operator} usage. {operator} requires at least one parameter.                                                                          | This method expects at least one argument, but none were provided.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |
| <span id="WDE0044">WDE0044</span>      | Invalid {method name} parameter value. {method name} parameter must be a string.                                                               | The argument passed to this method must be a string.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          |
| <span id="WDE0045">WDE0045</span>      | Invalid {operator} parameter value {value}. Valid {operator} parameter types are string, Number or Date.                                       | The argument passed to this method must be a string, number, or date object.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  |
| <span id="WDE0046">WDE0046</span>      | Invalid {operator} parameter values {first} and {second}. Both parameters must be of the same type.                                            | The arguments to this method must be of the same type.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        |
| <span id="WDE0047">WDE0047</span>      | Invalid {operator} usage. {operator} supports only number, string or date items.                                                               | The arguments to this method must be strings, numbers, or date objects.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| <span id="WDE0048">WDE0048</span>      | Invalid {operator} field value {field}. {operator} field must be a string.                                                                     | This field value must be a string.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |
| <span id="WDE0049">WDE0049</span>      | Invalid {operator} parameter {obj}. {operator} expects {constructor name} only.                                                                | The argument passed to this method must be a valid [Wix Data Query](https://dev.wix.com/docs/sdk/data-items-sdk/data/items/wix-data-query/introduction.md) object.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              |
| <span id="WDE0050">WDE0050</span>      | Invalid {operator} parameter query for {collection name}. {operator} accepts {constructor name} for the same collection only.                  | You can only chain methods that query the same collection.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    |
| <span id="WDE0051">WDE0051</span>      | Invalid {operator} parameters {effective arguments}. Valid {operator} values are string, array of strings, or varargs string.                  | This method expects a string, an array of strings, or multiple strings (varargs) separated by commas. For example: `("key1", "key2")`.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        |
| <span id="WDE0052">WDE0052</span>      | The current site is in template mode. Please save it to modify data.                                                                           | To modify collection data on a site created from a template, make sure to [save the site](https://support.wix.com/en/article/wix-editor-save-preview-and-publish-your-site#saving-your-site) first.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           |
| <span id="WDE0053">WDE0053</span>      | Internal wixData error: {error message}                                                                                                        | An unexpected error occurred. If the error persists, [contact support](https://www.wix.com/contact).                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          |
| <span id="WDE0054">WDE0054</span>      | WD_UNKNOWN_ERROR                                                                                                                               | An internal server error. Try running your code again.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        |
| <span id="WDE0055">WDE0055</span>      | Failed to parse server response.                                                                                                               | Wix Data could not parse the server response. Try querying again.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             |
| <span id="WDE0056">WDE0056</span>      | {fieldPath}.{operator} should be an Object. Got {value} instead.                                                                               | The argument passed to this method must be a valid object. Learn more about [data types in Wix Data](https://dev.wix.com/docs/api-reference/business-solutions/cms/data-types-in-wix-data.md).                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 |
| <span id="WDE0057">WDE0057</span>      | {fieldPath}.{operator} should be an Array. Got {value} instead.                                                                                | The argument passed to this method must be a valid array. Learn more about [data types in Wix Data](https://dev.wix.com/docs/api-reference/business-solutions/cms/data-types-in-wix-data.md).                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  |
| <span id="WDE0058">WDE0058</span>      | {fieldPath}.{operator} should be a Date, number, or string. Got {value} instead.                                                               | The argument passed to this method must be a valid date object, a number, or a string. Learn more about [data types in Wix Data](https://dev.wix.com/docs/api-reference/business-solutions/cms/data-types-in-wix-data.md).                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     |
| <span id="WDE0059">WDE0059</span>      | {fieldPath}.{operator} should be a string. Got {value} instead                                                                                 | The argument passed to this method must be a valid string. Learn more about [data types in Wix Data](https://dev.wix.com/docs/api-reference/business-solutions/cms/data-types-in-wix-data.md).                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 |
| <span id="WDE0060">WDE0060</span>      | {fieldPath}.{operator} array should only contain values of types date, number, and string. Got {value} instead.                                | The array can only contain dates, objects, numbers, and strings. Learn more about [data types in Wix Data](https://dev.wix.com/docs/api-reference/business-solutions/cms/data-types-in-wix-data.md).                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           |
| <span id="WDE0061">WDE0061</span>      | `{$in}` Array should have length 2, and match { String, Number }. Got {value} instead.                                                         | Invalid parameter types. Learn more about [data types in Wix Data](https://dev.wix.com/docs/api-reference/business-solutions/cms/data-types-in-wix-data.md).                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   |
| <span id="WDE0062">WDE0062</span>      | `$matches` value {value} does not have property {property name}                                                                                | Wix Data error encountered. Try modifying your query. If this error persists, [contact support](https://www.wix.com/contact).                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 |
| <span id="WDE0063">WDE0063</span>      | `$matches.ignoreCase` should equal true. Got {value} instead                                                                                   | Wix Data error encountered. Try modifying your query. If this error persists, [contact support](https://www.wix.com/contact).                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 |
| <span id="WDE0064">WDE0064</span>      | `$matches.spec` array values should be either {{"type":"anyOf","value":" -"}} or {{"type":"literal","value":String}}. Got {value} instead      | Wix Data error encountered. Try modifying your query. If this error persists, [contact support](https://www.wix.com/contact).                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 |
| <span id="WDE0065">WDE0065</span>      | Sort Model should be an Array. Got {value} instead.                                                                                            | Wix Data error encountered. Try modifying your query. If this error persists, [contact support](https://www.wix.com/contact).                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 |
| <span id="WDE0066">WDE0066</span>      | Sort Model Array should contain values of type Object only. Got {value} instead                                                                | Wix Data error encountered. Try modifying your query. If this error persists, [contact support](https://www.wix.com/contact).                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 |
| <span id="WDE0067">WDE0067</span>      | Sort Model Array items should have a single property with value "asc" or "desc". Got {value} instead                                           | Wix Data error encountered. Try modifying your query. If this error persists, [contact support](https://www.wix.com/contact).                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 |
| <span id="WDE0068">WDE0068</span>      | Item IDs must be an array of strings.                                                                                                          | Check that the [`Bulk Remove Data Items`](https://dev.wix.com/docs/rest/business-solutions/cms/data-items/bulk-remove-data-items.md) method received an array of strings representing the IDs of the items you want to remove.<br><br>For example, `['ffdkj9c2-df8g-f9ke-lk98-4kjhfr89keedb', 'afthj8s4-dt7u-g4fr-at23-6joedh34awshy']`.                                                                                                                                                                                                                                                                                                                                                                                                                                                         |
| <span id="WDE0069">WDE0069</span>      | Failed to remove items from {collection name}. Cannot remove more than 1000 items in one request.                                              | You tried to remove too many items from a collection at once. Split your request into batches of 1000 items or fewer. To remove all the items in a collection, use [`Truncate Data Items`](https://dev.wix.com/docs/rest/business-solutions/cms/data-items/truncate-data-items.md).                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              |
| <span id="WDE0070">WDE0070</span>      | {regex} keyword is not allowed.                                                                                                                | Wix Data error encountered. Try modifying your query. If this error persists, [contact support](https://www.wix.com/contact).                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 |
| <span id="WDE0073">WDE0073</span>      | Item {item ID} does not exist in collection {collection name}.                                                                                 | Check that an item with the ID you're requesting exists in the collection you're querying.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    |
| <span id="WDE0074">WDE0074</span>      | WD_ITEM_ALREADY_EXISTS                                                                                                                         | An item with the requested ID value already exists. This error occurs when you try to insert an item into a collection with an `_id` value that already exists in that collection. If you are trying to either insert a new item or update it if it already exists, use [`Save Data Item`](https://dev.wix.com/docs/rest/business-solutions/cms/data-items/save-data-item.md).                                                                                                                                                                                                                                                                                                                                                                                                                   |
| <span id="WDE0075">WDE0075</span>      | WD_BAD_REQUEST                                                                                                                                 | This error occurs when you make an invalid request using the [`Aggregate Data Items`](https://dev.wix.com/docs/rest/business-solutions/cms/data-items/aggregate-data-items.md) method.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           |
| <span id="WDE0076">WDE0076</span>      | Validation error. {error message from Wix app collection or external database}                                                                 | A request to a [Wix app collection](https://support.wix.com/en/article/velo-working-with-wix-app-collections-and-code) or an [external database](https://support.wix.com/en/article/velo-integrating-external-databases-with-your-wix-site) that you're working with returned with an error. Check that the data requests in your code are valid.                                                                                                                                                                                                                                                                                                                                                                                                                                             |
| <span id="WDE0077">WDE0077</span>      | 'limit' cannot exceed {maximum query limit}                                                                                                    | The query limit you provided is greater than the maximum supported by the collection. Provide a lower value.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  |
| <span id="WDE0078">WDE0078</span>      | Hook error.                                                                                                                                    | The code for one of your [data hook](https://dev.wix.com/docs/develop-websites/articles/databases/wix-data/hooks/about-data-hooks.md) methods threw an error.<br><br>For example, consider an `afterInsert` data hook method in a `backend/data.js` file that includes this line of code: `throw new Error("sample error message")`<br><br>Once you define this hook, calling the [`insert()`](https://dev.wix.com/docs/sdk/data-items-sdk/data/items/insert.md) method results in the `WDE0078` error.                                                                                                                                                                                                                                                                                            |
| <span id="WDE0079">WDE0079</span>      | {your collection name} is a single item collection and item must have id {expected ID}, but got {received ID} instead.                         | The item in a [single item collection](https://support.wix.com/en/article/cms-adding-and-setting-up-a-single-item-collection) has a fixed `_id` value. Check that you aren't trying to change this value in your code. You can find the item's `_id` value using the [CMS](https://support.wix.com/en/article/about-the-content-manager-7160473#collections) or by calling [`Query Data Items`](https://dev.wix.com/docs/rest/business-solutions/cms/data-items/query-data-items.md) without any filters.                                                                                                                                                                                                                                                                                        |
| <span id="WDE0080">WDE0080</span>      | { Multiple possible values.}                                                                                                                   | This error occurs when you make an API call with invalid arguments. For example, if you use the [`Query Data Items`](https://dev.wix.com/docs/rest/business-solutions/cms/data-items/query-data-items.md) method without specifying a collection ID.<br><br>You also get this error when you create or update a collection on a Harmony site with a field type that Harmony sites don't support. Learn more about [field type support on Harmony sites](https://dev.wix.com/docs/rest/business-solutions/cms/data-types-in-wix-data.md#field-type-support-on-harmony-sites).                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             |
| <span id="WDE0091">WDE0091</span>      | Database quota exceeded. Delete some data and try again.                                                                                       | Your site has exceeded the collection storage quota. Learn more about [this quota](https://support.wix.com/en/article/velo-about-data-quotas#collection-storage) and what you can do to resolve this issue.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   |
| <span id="WDE0092">WDE0092</span>      | Dataset is too large to sort.                                                                                                                  | The data you tried to sort didn't fit into memory. This usually occurs when large items are being sorted or there are too many items being sorted to fit into memory at once. [Add an index](https://support.wix.com/en/article/content-manager-adding-an-index-for-your-collection) to your collection to avoid using up memory.                                                                                                                                                                                                                                                                                                                                                                                                                                                             |
| <span id="WDE0093">WDE0093</span>      | Invalid filter for \_publishStatus field, only `.eq` and `.ne` filters are allowed with 'DRAFT' and 'PUBLISHED' possible values.               | When you enable the [Draft and Publish Items](https://support.wix.com/en/article/content-manager-using-the-draft-publish-items-feature) feature for a collection, a `_publishStatus` field is added to every item in that collection. If you want to filter a data request based on this field, you can only use the `eq()` and `ne()` operators. The only valid values for `_publishStatus` are `'DRAFT'` and `'PUBLISHED'`. Check that your code isn't using other [filter operators](https://dev.wix.com/docs/api-reference/articles/work-with-wix-apis/data-retrieval/about-the-wix-api-query-language.md) with `_publishStatus`.                                                                                                                                                                                       |
| <span id="WDE0094">WDE0094</span>      | Invalid {operator} parameter. {operator} parameter must be non-empty string.                                                                   | The argument passed to this method must be a non-empty string.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                |
| <span id="WDE0109">WDE0109</span>      | Payload is too large.                                                                                                                          | The request is too big. Consider restructuring your data. If you are attempting to store a media file, consider using the [Wix Media](https://dev.wix.com/docs/api-reference/assets/media/media-manager/files/introduction.md) API.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             |
| <span id="WDE0110">WDE0110</span>      | WD_BAD_REQUEST.                                                                                                                                | System error. Please try running your code again.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             |
| <span id="WDE0111">WDE0111</span>      | GridAppId must be provided in SANDBOX segment                                                                                                  | To resolve this error, reload your site in the browser.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| <span id="WDE0115">WDE0115</span>      | WD_UNKNOWN_ERROR                                                                                                                               | Your external database requested an unsupported data operation.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               |
| <span id="WDE0116">WDE0116</span>      | WD_UNKNOWN_ERROR                                                                                                                               | Your external database responded to Wix with an error.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        |
| <span id="WDE0117">WDE0117</span>      | MetaSiteId can not be resolved.                                                                                                                | System error. Please try running your code again.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             |
| <span id="WDE0118">WDE0118</span>      | GridAppId {app ID} not found in instance {instance ID}.                                                                                        | Request provided an invalid gridAppId. To resolve this error, reload your site in the browser.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                |
| <span id="WDE0120">WDE0120</span>      | {your collection name} does not support {method name} operation.                                                                               | Some specialized collections, like the ones that hold data for Wix apps, don't support the full data API. This error occurs when you try to call a method that isn't supported by a specific collection. Remove the unsupported method call from your code.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   |
| <span id="WDE0121">WDE0121</span>      | Sorting by multiple array fields is not supported                                                                                              | If there are multiple fields in your collection that contain arrays, you can't sort by both of them at once. <br><br>For example, consider a collection item that includes a field called `A` whose value is `[1,2,3]` and a field called `B` whose value is `[3,2,1]`. In this case, attempting to sort by both `A` and `B` at once results in an error. If your collection contains multiple fields that are arrays, check that you aren't trying to sort using more than one at once.                                                                                                                                                                                                                                                                                                      |
| <span id="WDE0123">WDE0123</span>      | Duplicated values cannot be added to a field with a unique index.                                                                              | When you add a [unique index](https://support.wix.com/en/article/velo-indexes-and-wix-data-collections#working-with-unique-indexes) to a collection, each value for the indexed field in that collection must be unique. This error occurs when you try to add a duplicate value for the field. To resolve the error, use a unique value.                                                                                                                                                                                                                                                                                                                                                                                                                                                     |
| <span id="WDE0128">WDE0128</span>      | WD_UNKNOWN_ERROR                                                                                                                               | Your [external database adaptor](https://support.wix.com/en/article/velo-integrating-external-databases-with-your-wix-site) tried to create a collection item with no `_id` field. Check that any item created by an external adaptor contains this field.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    |
| <span id="WDE0131">WDE0131</span>      | External database connection '{namespace}' does not exist.                                                                                     | This [external database connection](https://dev.wix.com/docs/develop-websites/articles/databases/external-databases/overview/integrating-external-databases-with-your-wix-site.md) does not exist. Learn more about [integrating external collections with your Wix site](https://dev.wix.com/docs/develop-websites/articles/databases/external-databases/overview/integrating-external-databases-with-your-wix-site.md).                                                                                                                                                                                                                                                                                                                                                                            |
| <span id="WDE0133">WDE0133</span>      | Document field is too large to index, exceeds 1024 bytes.                                                                                      | This error occurs when you try to add a value to an indexed field that, together with other indexed fields, becomes too large. The total size of all indexed field values per item must be 1024 bytes or less. Learn more about [working with indexes](https://support.wix.com/en/article/velo-indexes-and-wix-data-collections) in your collections.                                                                                                                                                                                                                                                                                                                                                                                                                                         |
| <span id="WDE0134">WDE0134</span>      | Field names with dollar ($) prefix are not allowed.                                                                                            | This error occurs when you try to add a field to a collection with a `$` at the beginning of its name. To resolve this error, remove the `$` from the name.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   |
| <span id="WDE0144">WDE0144</span>      | Issue with processing data.                                                                                                                    | You don't have permission to perform this action. Ask the collection administrator for the required permissions.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              |
| <span id="WDE0149">WDE0149</span>      | Internal application error.                                                                                                                    | This error occurs when a Wix app collection fails with a system or unrecognized error. To resolve the error, retry the request. If the request fails, [contact support](https://www.wix.com/contact).                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         |
| <span id="WDE0150">WDE0150</span>      | Data hook syntax error.                                                                                                                        | This error occurs when your **data.js** file, or any other file it imports from, contains a JavaScript syntax error. To resolve this error, fix syntax errors in the JavaScript codebase.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     |
| <span id="WDE0151">WDE0151</span>      | Incorrect cursor provided.                                                                                                                     | Pagination error occurred: the query's cursor paging property contains an invalid cursor. Query the collection again to create a new cursor.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  |
| <span id="WDE0152">WDE0152</span>      | Cursor is expired.                                                                                                                             | Pagination error occurred: the query's cursor paging property contains an expired cursor. Query the collection again to create a new cursor.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  |
| <span id="WDE0153">WDE0153</span>      | Reference {property in referencing collection} from {referencing item id} to {referenced item id} does not exist.                              | You are attempting to remove a multi-reference that does not exist. Check that the reference is correct.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
| <span id="WDE0154">WDE0154</span>      | The data collection share policy with ID {id} was not found.                                                                                   | A data sharing error occurred. Learn more about [sharing collections across sites](https://support.wix.com/en/article/wix-enterprise-sharing-cms-collections-with-sites-and-templates).                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| <span id="WDE0155">WDE0155</span>      | Data collection is already shared.                                                                                                             | The specified data collection is already shared with this site. Learn more about [sharing collections across sites](https://support.wix.com/en/article/wix-enterprise-sharing-cms-collections-with-sites-and-templates).                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
| <span id="WDE0156">WDE0156</span>      | Data collection {collection name} is not shared.                                                                                               | The specified collection is not shared with this site. Learn more about [sharing collections across sites](https://support.wix.com/en/article/wix-enterprise-sharing-cms-collections-with-sites-and-templates).                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               |
| <span id="WDE0157">WDE0157</span>      | Field {property name} cannot be translated as {field type} data type is not translatable.                                                      | This field cannot be translated because its type is not supported by Wix Multilingual. For example, field types such as **Video** and **Number** cannot be marked as translatable. Learn more about [how Wix Multilingual works with the CMS](https://support.wix.com/article/wix-multilingual-translating-cms-collection-content#how-wix-multilingual-works-with-the-cms).                                                                                                                                                                                                                                                                                                                                                                                                                   |
| <span id="WDE0158">WDE0158</span>      | Multilingual plugin must have at least one translatable field.                                                                                 | To enable Wix Multilingual, mark at least one field as translatable. Learn more about [translation eligibility requirements for collections](https://support.wix.com/article/wix-multilingual-translating-cms-collection-content#translation-eligibility-requirements-for-collections).                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| <span id="WDE0159">WDE0159</span>      | Invalid query on {collection name}. There is no prev page.                                                                                     | You are viewing the first page of results and cannot call [`prev()`](https://dev.wix.com/docs/sdk/data-items-sdk/data/items/wix-data-result/prev.md). If necessary, try running a different query.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              |
| <span id="WDE0160">WDE0160</span>      | Index already exists as a system index.                                                                                                        | The field you are attempting to index is a [system field](https://support.wix.com/article/cms-formerly-content-manager-about-your-collection-fields#system-fields) for which Wix Data already has an index.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   |
| <span id="WDE0161">WDE0161</span>      | Data collection {collection name} is not multilingual.                                                                                         | You are querying translated content, but the collection is not translatable. Add this collection to Wix Multilingual, or select a translatable collection. Learn more about [translating CMS collection content](https://support.wix.com/article/wix-multilingual-translating-cms-collection-content).                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        |
| <span id="WDE0162">WDE0162</span>      | Language {language} is not enabled for data collection {collection name}.                                                                      | The requested language is not available for this collection. Enable this language in Wix Multilingual. Learn more about [managing languages in a multilingual site](https://support.wix.com/article/wix-multilingual-managing-languages-in-a-multilingual-site).                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              |
| <span id="WDE0163">WDE0163</span>      | Invalid value for the page link {field name}: {cause for error}.                                                                               | The value of this [Page Link field](https://support.wix.com/article/cms-formerly-content-manager-about-your-collection-fields#page-link-fields) does not conform to the dynamic URL slug structure. Learn more about [URL slug structures](https://support.wix.com/en/article/cms-creating-unique-dynamic-page-urls#about-url-slugs-and-url-slug-structures).                                                                                                                                                                                                                                                                                                                                                                                                                                 |
| <span id="WDE0164">WDE0164</span>      | The index {index name} with the same fields already exists in collection {collection id}.                                                      | An index already exists in this collection for the same fields. To create another index, select [different fields](https://dev.wix.com/docs/develop-websites/articles/databases/wix-data/collections/indexes-and-wix-data-collections.md#which-fields-make-good-indexes).                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        |
| <span id="WDE0165">WDE0165</span>      | Invalid query on {collection name}. There is no next page.                                                                                     | You are viewing the last page of results and cannot call [`next()`](https://dev.wix.com/docs/sdk/data-items-sdk/data/items/wix-data-result/next.md). If necessary, try running a different query.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               |
| <span id="WDE0167">WDE0167</span>      | Aggregation item field name cannot end with `.`                                                                                                | Cannot apply aggregation to a field that ends with a dot character `.`. Change the field name or select another field to aggregate.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           |
| <span id="WDE0168">WDE0168</span>      | Document nesting level is too deep                                                                                                             | A data item can contain up to 50 levels of nesting. Restructure the item to contain 50 nested levels or less.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 |
| <span id="WDE0169">WDE0169</span>      | Filter nesting level is too deep                                                                                                               | A filter can contain up to 50 levels of nesting. Restructure your filter to contain 50 nested levels or less.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 |
| <span id="WDE0170">WDE0170</span>      | Data collection change is not supported.                                                                                                       | This [external collection](https://dev.wix.com/docs/develop-websites/articles/databases/external-databases/overview/integrating-external-databases-with-your-wix-site.md) does not support this change. Check the external database's documentation to learn what modifications it supports.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     |
| <span id="WDE0171">WDE0171</span>      | Application not installed to access the {collection id} collection                                                                             | The collection you are attempting to query was [created by a Wix app](https://dev.wix.com/docs/develop-websites/articles/databases/wix-data/collections/working-with-wix-app-collections-and-code.md#what-are-wix-app-collections), but that app is no longer installed on your site.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |
| <span id="WDE0172">WDE0172</span>      | Data hook execution throttled.                                                                                                                 | The [data hook](https://dev.wix.com/docs/develop-websites/articles/databases/wix-data/hooks/about-data-hooks.md) was blocked due to built-in request limitations. Learn more about [backend requests](https://dev.wix.com/docs/develop-websites/articles/coding-with-velo/limits-and-optimization/compute-features.md#backend-requests-per-minute).                                                                                                                                                                                                                                                                                                                                                                                                                                                 |
| <span id="WDE0173">WDE0173</span>      | Aggregation item field name cannot be empty.                                                                                                   | Cannot apply aggregation to an unnamed field. Learn more about [working with aggregations](https://dev.wix.com/docs/develop-websites/articles/databases/wix-data/aggregations/working-with-aggregations-in-the-data-api.md).                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     |
| <span id="WDE0174">WDE0174</span>      | Multilingual is not supported in a Sandbox environment.                                                                                        | [Sandbox collections](https://support.wix.com/en/article/cms-about-sandbox-and-live-collections-and-syncing#sandbox-collections) do not support translated content. To view translated content, use Wix Multilingual on Live collections.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     |
| <span id="WDE0175">WDE0175</span>      | Updates to translatable collections are not supported in the non-primary language {language}.                                                  | When viewed in a non-primary language, [translatable collections](https://support.wix.com/en/article/wix-multilingual-translating-cms-collection-content) do not allow inserting or updating items. Only updates to non-translatable collections are allowed when viewing in a non-primary language.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          |
| <span id="WDE0176">WDE0176</span>      | Inserting data to index with multiple array fields is not supported.                                                                           | When two or more arrays are included in a [collection index](https://support.wix.com/en/article/cms-adding-an-index-for-your-collection), they cannot accept new items.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| <span id="WDE0177">WDE0177</span>      | The current user does not have permissions to {action} in Sandbox environment on the {collection name} collection.                              | The current user does not have sufficient permissions to perform this action in the collection's [sandbox environment](https://support.wix.com/en/article/cms-about-sandbox-and-live-collections-and-syncing). Learn more about [CMS collection permissions](https://support.wix.com/en/article/cms-collection-permissions-overview).                                                                                                                                                                                                                                                                                                                                                                                                                                                         |
| <span id="WDE0178">WDE0178</span>      | Invalid document revision.                                                                                                                     | Error encountered while updating the item. Try calling the method again.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
| <span id="WDE0179">WDE0179</span>      | Sandbox environment is disabled.                                                                                                               | The collection's [sandbox environment](https://support.wix.com/en/article/cms-about-sandbox-and-live-collections-and-syncing) is disabled.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    |
| <span id="WDE0180">WDE0180</span>      | Response payload is too large.                                                                                                                 | The response payload is too large. Try again, or modify your request to retrieve a smaller response.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             |
| <span id="WDE0190">WDE0190</span>      | Search is not enabled for {collection name} collection.                                                                                                                   | The collection is not search-indexed. Search indexing triggers on this error, please try searching again in a few minutes.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |