Skip to main content

Format and range validation errors

What the Format and range validation error codes mean and how to resolve them.

A format or range validation error means a value is in the wrong format, outside the allowed range, or not one of the accepted values.

Every error in this family includes a stable code (for example VALD-1010). Find that code in the table at the bottom of this article to see exactly which rule was triggered.

Common causes

  • A date, number, or enum value is in the wrong format.

  • A value is below the minimum or above the maximum allowed.

  • A value is not in the set of allowed options.

How to fix it

  1. Match the code in your response to the table below.

  2. Reformat the value to match what the field expects.

  3. Keep numeric values within the allowed range.

  4. Use one of the accepted values listed in the message or the API reference.

  5. Re-send the request.

Codes in this family

Code

What it means

VALD-1010

The value you are trying to set for {field} has a defined set of allowed values. The value you provided ({value}) does not exist or can not be found.

VALD-1018

Email ({emailTemplateId}) not found, is null or not in a valid format.

VALD-1020

{field} has an invalid value. This must be between {min} and {max}.

VALD-1022

Invalid value for {field}. This field must be one of the allowed values: {allowedValuesCommaSeperated}.

VALD-1030

Invalid severity id: {type}. Valid values are: Verbose, Info, Warning, Error, None, Critical

VALD-1036

Value ({value}) provided for {fieldName} is not valid.

VALD-1041

You tried to add a new {versionType} version that is smaller than the existing one. Please make sure it's larger than the previous ones.

VALD-1050

Invalid Type: {tableName}. Please specify a correct type: Product or Variant

VALD-1060

PromoApplicationTypeId is invalid. The value must be between {min} and {max}.

VALD-1066

{field} provided in filter ({value}) must be a Guid.

VALD-1067

Invalid value specified for AggregationTime. It must be an integer with the value 0 (Hour) or 1 (Day).

VALD-1069

Your password reset token has expired. Please try again.

VALD-1070

AggregationValue must be in the format YYYY if AggregationTime is 4.

VALD-1071

AggregationValue must be in the format YYYY-MM if AggregationTime is 3.

VALD-1072

AggregationValue must be in the format YYYY-MM-dd if AggregationTime is 1.

VALD-1073

BillDay is invalid. The value must be between 1 and 28.

VALD-1079

Refresh Token is expired or invalid. Please log in again

VALD-1083

AggregationDate is not a supported date/time format.

VALD-1086

AggregationType must be one of: (0=All, 1=by MappingCollectionTypeId, 2=by StatusId).

VALD-1094

AggregationValue must be in the format YYYY-ww if AggregationTime is 2.

VALD-1117

DesignationTypeId provided in filter must be an integer and {value} is not.

VALD-1122

You are unable to set a company as an MiSP at creation.

VALD-1125

Missing or invalid Authorization header.

VALD-1133

Invalid {sourceOrDestination} field id: {fieldId}.

VALD-1135

A category can not be a parent of itself. You provided {id} for both the ID of the parent and child.

VALD-1143

Invalid request. A query string is required to process OAuth.

VALD-1144

Invalid company specified. You must leave company unspecified or specify the correct company id.

Did this answer your question?