Form Submission Service Plugin: Errors

This articles outlines error messages that might be issued when calling the Form Submission service plugin.

Validate Submission Errors

The Validate Submission service plugin might issue the following error messages:

Error codeError message
TYPE_ERRORThe type of the submitted value is invalid. For example, a number is submitted instead of string.
REQUIRED_VALUE_ERRORThe required field value is not provided.
UNKNOWN_VALUE_ERRORThe submitted value is unknown.
MAX_LENGTH_ERRORThe submitted value exceeds the maximum length.
MIN_LENGTH_ERRORThe submitted value doesn't reach the minimum length.
PATTERN_ERRORThe submitted text value is not applicable for the predefined pattern. For example, a phone number pattern is (000) 000-0000 and the site visitor entered (123)4567890.
FORMAT_ERRORThe submitted text value is not applicable for the standard format. For example, the email is entered without the @ symbol.
MAX_VALUE_ERRORThe submitted numeric value is too large.
MIN_VALUE_ERRORThe submitted numeric value is too small.
MULTIPLE_OF_VALUE_ERRORThe submitted numeric value does not evenly divide by the specified value. For example, the number doesn't divide by 3 without leaving a remainder.
MIN_ITEMS_ERRORThe submitted value array doesn't reach the required minimum number of items.
MAX_ITEMS_ERRORThe submitted value array exceeds the number of maximum items.
NOT_ALLOWED_VALUE_ERRORThe submitted value is not in the list of allowed values.
DISABLED_FORM_ERRORThe form is disabled.
Did this help?