type StringLengthError (v202502)Stay organized with collectionsSave and categorize content based on your preferences.
Page Summary
StringLengthError indicates that a string value does not meet the required length constraints.
This error includes inherited fields from ApiError such asfieldPath,fieldPathElements,trigger, anderrorStringfor identifying the error's cause and location.
The StringLengthError itself has areasonfield, which can be TOO_LONG, TOO_SHORT, or UNKNOWN.
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."],[],["This document outlines various services and errors within an ad management system's API (v202502). It lists numerous services like AdRuleService, AdsTxtService, and CreativeService, among others, indicating their management functionalities. The inheritance section details the `ApiError` and its related error types, including `StringLengthError`, which arises when string values do not meet specific length constraints. The `StringLengthError` has different reasons like `TOO_LONG`, `TOO_SHORT` and `UNKNOWN`. It provides field details like `fieldPath`, `trigger`, and `errorString` for API errors.\n"]]