This table outlines errors that might be issued when calling the Translation Content API. The list includes error codes, and troubleshooting guidance to help you resolve these issues.
HTTP STATUS | ERROR NAME | RULE NAME | DESCRIPTION & TROUBLESHOOTING |
---|---|---|---|
BAD_REQUEST (400) | WixValidationRuntimeException | ContentSizeValidationRule | The content size exceeds 1MB (1,048,576 bytes). Reduce its size by removing unnecessary data. |
BAD_REQUEST (400) | WixValidationRuntimeException | SchemaFieldsExistValidationRule | Field ID not found in the schema. Ensure all content fields match the schema. Remove or rename unmatched fields, or update the schema to include them. |
BAD_REQUEST (400) | WixValidationRuntimeException | FieldTypeValidationRule | Field type doesn't match the schema. Update the content field type to align with the schema. |
BAD_REQUEST (400) | WixValidationRuntimeException | RepeaterIdSpecifiedValidationRule | Invalid repeater field ID. Ensure repeater field IDs are correctly specified and follow the required format. |
BAD_REQUEST (400) | WixValidationRuntimeException | MaxLengthValidationRule | Text exceeds the maximum length. Shorten the text to fit within the specified limit. |
BAD_REQUEST (400) | WixValidationRuntimeException | MinLengthValidationRule | Text is shorter than the minimum length. Extend or pad the text to meet the required length. |
BAD_REQUEST (400) | WixValidationRuntimeException | FieldFormatValidationRule | Invalid field value format. Update the field value to match the required format. |
BAD_REQUEST (400) | WixValidationRuntimeException | SchemaExistsValidationRule | Schema not found. Ensure the schema ID is correct and valid. |
BAD_REQUEST (400) | InvalidArgumentException | Missing revision value when calling the Update method. Specify a value for the revision property when updating the entity. | |
NOT_FOUND (404) | EntityNotFound | Content not found. Verify that the ID used in the Get Content method exists in the system. |
If you encounter any of these errors: