Fault codes

This pageapplies toApigee andApigee hybrid.

View Apigee Edge documentation.

Apigee provides a set of fault codes for various features that help you to diagnose issues. For example, a typical4xx or5xx HTTP status code can be classified using one or more fault codes.

Fault codes provide you with useful information about runtime errors, including information about the source and name of the error in the following format:[prefix].[error_name]

For example:steps.raisefault.RaiseFault

In this example:

The following table summarizes the fault codes, organized by category and sub-category.

CategorySub-categoryNameFault Code

API protocol

HTTP

HTTP BadFormDataprotocol.http.BadFormData
HTTP BadRequestPathprotocol.http.BadPath
HTTP DuplicateHeaderprotocol.http.DuplicateHeader
HTTP EmptyHeaderNameprotocol.http.EmptyHeaderName
HTTP HeaderNameWithNonASCIICharacterprotocol.http.HeaderNameWithNonAsciiChar
HTTP HeaderWithInvalidCharacterprotocol.http.HeaderWithInvalidChar
HTTP InvalidRequestPathprotocol.http.InvalidPath
HTTP LengthRequiredmessaging.adaptors.http.flow.LengthRequired
HTTP ProxyTunnelCreationFailedprotocol.http.ProxyTunnelCreationFailed
HTTP RequestHasABigBodyprotocol.http.TooBigBody
HTTP RequestsHaveABigLineprotocol.http.TooBigLine
HTTP Response306IsReservedprotocol.http.Response306Reserved
HTTP Response405WithoutAllowHeaderprotocol.http.Response405WithoutAllowHeader
ResponseWithBodyForIncorrectStatusCodeprotocol.http.ResponseWithBody
HTTP TargetURLHasEmptyPathprotocol.http.EmptyPath
HTTP TooBigHeadersprotocol.http.TooBigHeaders
HTTP UnsupportedEncodingprotocol.http.UnsupportedEncoding

Developer/app

Key Management

KeyManagement AccessTokenNotApprovedkeymanagement.service.access_token_not_approved
KeyManagement APIProductNotFoundkeymanagement.service.InvalidAPICallAsNoApiProductMatchFound
KeyManagement AppNotApprovedkeymanagement.service.invalid_client-app_not_approved
KeyManagement AppNotApprovedkeymanagement.service.app_not_approved
KeyManagement AuthorizationCodeExpiredkeymanagement.service.access_denied-authorization_code_expired
KeyManagement AuthorizationCodeinvalidkeymanagement.service.invalid_request-authorization_code_invalid
KeyManagement ClientIDAuthorizationCodeMismatchkeymanagement.service.invalid_client-client_id_authorzation_code_mismatch
KeyManagement ClientIDNotApprovedkeymanagement.service.invalid_client-client_id_not_approved
KeyManagement CompanyStatusNotActivekeymanagement.service.CompanyStatusNotActive
KeyManagement Consumer Key Expiredkeymanagement.service.consumer_key_expired
KeyManagement DeveloperNotActivekeymanagement.service.DeveloperStatusNotActive
KeyManagement InvalidAccessTokenkeymanagement.service.oauth10_access_token_doesnotexist
KeyManagement InvalidClientIDkeymanagement.service.InvalidClientIdForGivenResource
KeyManagement InvalidClientIDkeymanagement.service.invalid_client-client_id_authorzation_code_mismatch
KeyManagement InvalidClientIDkeymanagement.service.invalid_client-invalid_client_id
KeyManagement InvalidConsumerKeykeymanagement.service.invalid_consumer_key
KeyManagement InvalidRefreshTokenkeymanagement.service.invalid_refresh_token
KeyManagement RefreshTokenExpiredkeymanagement.service.refresh_token_expired

Extension Policy

JavaCallout

JavaCallouterrornameSeeJavaCallout policy runtime errors

JavaScript Callout

JavaScriptCallouterrornameSeeJavaScript policy runtime errors

MessageLogging

MessageLogging StepDefinitionExecutionFailedsteps.messagelogging.StepDefinitionExecutionFailed

Node Script

NodeScript ExecutionErrorscripts.node.ScriptExecutionError

PythonScript

PythonScripterrornameSeePythonScript policy runtime errors

Script

Script EvaluationFailedsteps.script.ScriptEvaluationFailed

ServiceCallout

ServiceCallouterrornameSeeServiceCallout policy runtime errors

Gateway

Proxy

Gateway APITimedOutflow.APITimedOut
Gateway ApplicationNotFoundmessaging.adaptors.http.flow.ApplicationNotFound
Gateway DecompressionFailureAtRequestmessaging.adaptors.http.flow.DecompressionFailureAtRequest
Gateway DecompressionFailureAtResponsemessaging.adaptors.http.flow.DecompressionFailureAtResponse
Gateway KeyAliasNotFoundsecurity.util.KeyAliasNotFound
Gateway RouteToTargetFailedmessaging.runtime.RouteFailed
Gateway SharedFlowNotFoundflow.SharedFlowNotFound
Gateway TargetIsMissingmessaging.runtime.TargetMissing

Target

Gateway FailedHandshakeWithTargetEndpointmessaging.adaptors.http.flow.SslHandshakeFailed
Gateway TimeoutWithTargetOrCalloutmessaging.adaptors.http.flow.GatewayTimeout
Gateway TargetOrCalloutEndpointsNotAvailablemessaging.adaptors.http.flow.ServiceUnavailable
Gateway TargetServerConfiguredInLoadBalancerIsDownmessaging.adaptors.http.flow.NoActiveTargets
Gateway UnexpectedEOFAtTargetmessaging.adaptors.http.flow.UnexpectedEOFAtTarget

Virtual Host

VirtualHost InvalidKeystoreOrTrustStoremessaging.runtime.SecurityStoreNotConfigured
VirtualHost SecurityStoreNotConfiguredmessaging.runtime.SecurityStoreNotConfigured

Other

Gateway HTTPErrorResponseCodemessaging.adaptors.http.flow.ErrorResponseCode

Mediation Policy

AssignMessage

AssignMessageerrornameSeeAssignMessage policy runtime errors

ExtractVariables

ExtractVariableserrornameSeeExtractVariables policy runtime errors

JSONtoXML

JSONtoXMLerrornameSeeJSONtoXML policy runtime errors

KeyValueMap

KeyValueMaperrornameSeeKeyValueMapOperations policy runtime errors

MessageValidation

MessageValidationerrornameSeeSOAPMessageValidation policy runtime errors

RaiseFault

RaiseFault RaiseFaultExceptionsteps.raisefault.RaiseFault

XMLtoJSON

XMLtoJSONerrornameSeeXMLtoJSON policy runtime errors

XSLTransformation

XSLTransformationerrornameSeeXSLTransform policy runtime errors

Monetization

Mint UndefinedProductmintstep.undefinedProduct

Security Policy

AccessControl

AccessControlerrornameSeeAccessControl policy runtime errors

BasicAuthentication

BasicAuthenticationerrornameSeeBasicAuthentication policy runtime errors

JSONThreatProtection

JSONThreatProtectionerrornameSeeJSONThreatProtection policy runtime errors

JWT

JWTerrornameSeeJWT policy runtime errors

OAuth

OAutherrornameSeeOAuth V2 policy runtime errors

Regex Protection

RegexProtectionerrornameSeeRegularExpressionProtection policy runtime errors

SAMLAssertion

SAMLAssertion InvalidKeyStoresteps.saml.generate.InvalidKeyStore
SAMLAssertion InvalidMediaTypesteps.saml.generate.InvalidMediaTpe
SAMLAssertion InvalidTrustStoresteps.saml.validate.InvalidTrustStore
SAMLAssertion SAMLAssertionForNotBeforeConditionViolatedsteps.saml.validate.NotBeforeConditionViolated
SAMLAssertion SignatureValidationFailedsteps.saml.validate.SignatureValidationFailed
SAMLAssertion XPathResolutionFailedsteps.saml.validate.XPathResolutionFailed

XMLThreatProtection

XMLThreatProtectionerrornameSeeXMLThreatProtection policy runtime errors

Sense

Sense

Sense RaiseFaultmessaging.runtime.SenseRaiseFault

Traffic Mgmt Policy

Caching

Caching InvalidExpiryDatForCacheEntrymessaging.config.beans.InvalidExpiryDateForCacheEntry

ConcurrentRateLimit

ConcurrentRateLimit ConcurrentRateLimitViolationpolicies.concurrentratelimit.ConcurrentRatelimitViolation

Quota

QuotaerrornameSeeQuota policy runtime errors

Quota or SpikeArrest

QuotaOrSpikeArrest InvalidMessageWeightpolicies.ratelimit.InvalidMessageWeight

ResetQuota

ResetQuotaerrornameSeeResetQuota policy runtime errors

SpikeArrest

SpikeArresterrornameSeeSpikeArrest policy runtime errors

Except as otherwise noted, the content of this page is licensed under theCreative Commons Attribution 4.0 License, and code samples are licensed under theApache 2.0 License. For details, see theGoogle Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2026-02-19 UTC.