The following table describes the errors that you might encounter, and the corresponding causes for the errors. Application Integration uses the canonical error codes defined in google.rpc.Code.
For information about Application Integration errors and different error handling strategies, see Errors and error handling.
Standard exception type
Canonical code
HTTP code
Description
FailedPreconditionException
FAILED_PRECONDITION
400
Request can not be executed in the current system state.
BadRequestException
INVALID_ARGUMENT
400
Client specified an invalid argument. Check error message and error details for more information.
UnauthenticatedException
UNAUTHENTICATED
401
Request not authenticated due to missing, invalid, or expired OAuth token.
ForbiddenException
PERMISSION_DENIED
403
Client does not have sufficient permission. This can happen if the OAuth token doesn't have the right scopes, the client doesn't have the required permissions, or the API has not been enabled.
NotFoundException
NOT_FOUND
404
A specified resource is not found.
AlreadyExistsException
ALREADY_EXISTS
409
The resource that a client tried to create already exists.
InternalError
INTERNAL
500
Internal server error. Typically a server bug. This can happen if any of the tasks or triggers are incorrectly configured.
UnimplementedException
UNIMPLEMENTED
501
API method not implemented by the server.
ServiceUnavailableException
UNAVAILABLE
503
Service unavailable. Typically the server is down.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-20 UTC."],[[["\u003cp\u003eApplication Integration uses canonical error codes defined in \u003ccode\u003egoogle.rpc.Code\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe table provided details various standard exception types, their corresponding canonical codes, HTTP codes, and descriptions for errors encountered in Application Integration.\u003c/p\u003e\n"],["\u003cp\u003eErrors like \u003ccode\u003eFAILED_PRECONDITION\u003c/code\u003e, \u003ccode\u003eINVALID_ARGUMENT\u003c/code\u003e, \u003ccode\u003eUNAUTHENTICATED\u003c/code\u003e, and \u003ccode\u003ePERMISSION_DENIED\u003c/code\u003e indicate issues related to request execution, invalid arguments, authentication, and permissions, respectively.\u003c/p\u003e\n"],["\u003cp\u003eInternal errors (\u003ccode\u003eINTERNAL\u003c/code\u003e) usually point to server-side bugs or incorrect configurations, while \u003ccode\u003eUNAVAILABLE\u003c/code\u003e suggests the service itself is down.\u003c/p\u003e\n"],["\u003cp\u003eFor more information on error handling, see the \u003ca href=\"/application-integration/docs/error-handling\"\u003eErrors and error handling\u003c/a\u003e section.\u003c/p\u003e\n"]]],[],null,[]]