Skip to main content

Insights timezone ID validation rules for format and presence requirements

Timezone ID

INSIGHTS__INVALID_TIMEZONE

DefinitionSeverityAPISampleMode
Validate that timeZoneId value is valid
VIOLATION
POST
Link
S
Example Validation Report
{
"code": "INSIGHTS__INVALID_TIMEZONE",
"message": "The value '{{value}}' for field '{{field}}' is invalid",
"context": {
"field": "timeZoneId",
"value": "-07:00"
}
}

INSIGHTS__TIMEZONE_MISSING

DefinitionSeverityAPISampleMode
Validate that timeZoneId is present
VIOLATION
POST
Link
S
Example Validation Report
{
"code": "INSIGHTS__TIMEZONE_MISSING",
"message": "Field '{{field}}' must be present",
"context": {
"field": "timeZoneId"
}
}