AI-generated Key Takeaways
-
RequiredCollectionError is a type of ApiError used for validating the size of collections.
-
It contains inherited fields from ApiError such as
fieldPath
,fieldPathElements
,trigger
, anderrorString
. -
RequiredCollectionError has a specific
reason
field which indicates why the collection validation failed, such as beingREQUIRED
,TOO_LARGE
, orTOO_SMALL
. -
The reason can also be
UNKNOWN
if the actual value is not exposed by the requested API version.
A list of all errors to be used for validating sizes of collections.
- Namespace
-
https://www.google.com/apis/ads/publisher/v202502
Field |
|
---|---|
ApiError (inherited)
|
|
|
The OGNL field path to identify cause of error. |
|
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)}. |
|
The data that caused the error. |
|
A simple string representation of the error and reason. |
RequiredCollectionError
|
|
|
Enumerations
|