AI-generated Key Takeaways
-
AuthenticationError represents an exception that occurs during authentication.
-
It inherits from ApiError and includes fields such as fieldPath, fieldPathElements, trigger, and errorString.
-
AuthenticationError has its own field called
reason, which is an enumeration detailing various causes for authentication failure like invalid email, invalid OAuth signature, or missing authentication headers. -
Possible reasons for AuthenticationError include ambiguous or missing authentication information, invalid login or OAuth tokens, issues with network access, or server connection problems.
-
The
reasonfield's possible values are defined in the AuthenticationError.Reason enumeration, covering scenarios from invalid credentials to network and server-side issues.
An error for an exception that occurred when authenticating.
- Namespace
-
https://www.google.com/apis/ads/publisher/v202505
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
|