type InternalApiError (v202411)

  • This documentation details the InternalApiError for the ProposalLineItemService, indicating server-side errors unrelated to client requests.

  • InternalApiError is a subclass of ApiError and includes a 'reason' field to categorize the specific error type.

  • The reason field can be one of several enum values: UNEXPECTED_INTERNAL_API_ERROR, TRANSIENT_ERROR, UNKNOWN, DOWNTIME, or ERROR_GENERATING_RESPONSE.

  • These errors typically occur due to unexpected internal issues, temporary disruptions, or planned downtime on the server.

  • Developers should consult the reason field to understand the nature of the error and potentially retry the request or wait for service restoration.

Indicates that a server-side error has occured. InternalApiErrors are generally not the result of an invalid request or message sent by the client.


Namespace
https://www.google.com/apis/ads/publisher/v202411

Field

ApiError (inherited)

fieldPath

xsd:string

The OGNL field path to identify cause of error.

fieldPathElements

FieldPathElement[]

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.

InternalApiError

reason

InternalApiError.Reason

The error reason represented by an enum.


Enumerations
UNEXPECTED_INTERNAL_API_ERROR
API encountered an unexpected internal error.
TRANSIENT_ERROR
A temporary error occurred during the request. Please retry.
UNKNOWN
The cause of the error is not known or only defined in newer versions.
DOWNTIME
The API is currently unavailable for a planned downtime.
ERROR_GENERATING_RESPONSE
Mutate succeeded but server was unable to build response. Client should not retry mutate.