AI-generated Key Takeaways
-
AuthenticationError
is a type ofApiError
that occurs during the authentication process. -
It provides details about the authentication failure through the
reason
field, which can indicate various issues like invalid credentials, missing headers, or network access problems. -
The error includes standard
ApiError
fields likefieldPath
,trigger
, anderrorString
for debugging. -
The
reason
field is an enumeration with values likeAUTHENTICATION_FAILED
,INVALID_EMAIL
,MISSING_AUTHENTICATION
, etc., offering specific insights into the authentication issue. -
Developers can use the
reason
value to handle different authentication errors appropriately in their applications.
An error for an exception that occurred when authenticating.
- Namespace
-
https://www.google.com/apis/ads/publisher/v202411
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. |
AuthenticationError
|
|
|
Enumerations
|