type NullError (v202411)Stay organized with collectionsSave and categorize content based on your preferences.
Page Summary
NullError is an error associated with the violation of a NOT NULL check.
NullError is part of the CreativeTemplateService and inherits from ApiError.
The NullError includes a reason field, represented by an enum, which indicates the cause of the error, such as NULL_CONTENT for specified lists or containers that must not contain any null elements.
A parsed copy of the field path. For example, the field path "operations[1].operand"
corresponds to this list: {FieldPathElement(field = "operations", index = 1),
FieldPathElement(field = "operand", index = null)}.
trigger
xsd:string
The data that caused the error.
errorString
xsd:string
A simple string representation of the error and reason.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-06 UTC."],[],["The document outlines various services within an ad management system, including `AdjustmentService`, `CompanyService`, `CreativeService`, and others. It details error handling, specifically `NullError`, which occurs when a NOT NULL constraint is violated. The `NullError` contains a `reason` field, with `NULL_CONTENT` indicating that a list must not contain null elements. The `ApiError` contains fields such as `fieldPath`, `fieldPathElements`, `trigger` and `errorString`.\n"]]