Codici di errore

Questa pagina si applica ad Apigee e Apigee hybrid.

Visualizza la documentazione di Apigee Edge.

Apigee fornisce un insieme di codici di errore per varie funzionalità che ti aiutano a diagnosticare i problemi. Ad esempio, un tipico codice di stato HTTP 4xx o 5xx può essere classificato utilizzando uno o più codici di errore.

I codici di errore forniscono informazioni utili sugli errori di runtime, incluse informazioni sull'origine e sul nome dell'errore nel seguente formato: [prefix].[error_name]

Ad esempio: steps.raisefault.RaiseFault

In questo esempio:

  • steps.raisefault è il prefisso che indica che l'errore è stato generato dal criterio RaiseFault.
  • RaiseFault è il nome dell'errore che ti aiuta a determinarne la causa. In questo caso, ulteriori informazioni verranno fornite dalla stringa di errore.

La tabella seguente riepiloga i codici di errore, organizzati per categoria e sottocategoria.

Categoria Sottocategoria Nome Codice di errore

Protocollo API

HTTP

HTTP BadFormData protocol.http.BadFormData
HTTP BadRequestPath protocol.http.BadPath
HTTP DuplicateHeader protocol.http.DuplicateHeader
HTTP EmptyHeaderName protocol.http.EmptyHeaderName
HTTP HeaderNameWithNonASCIICharacter protocol.http.HeaderNameWithNonAsciiChar
HTTP HeaderWithInvalidCharacter protocol.http.HeaderWithInvalidChar
HTTP InvalidRequestPath protocol.http.InvalidPath
HTTP LengthRequired messaging.adaptors.http.flow.LengthRequired
HTTP ProxyTunnelCreationFailed protocol.http.ProxyTunnelCreationFailed
HTTP RequestHasABigBody protocol.http.TooBigBody
Richieste HTTPHaveABigLine protocol.http.TooBigLine
HTTP Response306IsReserved protocol.http.Response306Reserved
HTTP Response405WithoutAllowHeader protocol.http.Response405WithoutAllowHeader
ResponseWithBodyForIncorrectStatusCode protocol.http.ResponseWithBody
HTTP TargetURLHasEmptyPath protocol.http.EmptyPath
HTTP TooBigHeaders protocol.http.TooBigHeaders
HTTP UnsupportedEncoding protocol.http.UnsupportedEncoding

Sviluppatore/app

Gestione delle chiavi

KeyManagement AccessTokenNotApproved keymanagement.service.access_token_not_approved
KeyManagement APIProductNotFound keymanagement.service.InvalidAPICallAsNoApiProductMatchFound
KeyManagement AppNotApproved keymanagement.service.invalid_client-app_not_approved
KeyManagement AppNotApproved keymanagement.service.app_not_approved
KeyManagement AuthorizationCodeExpired keymanagement.service.access_denied-authorization_code_expired
KeyManagement AuthorizationCodeinvalid keymanagement.service.invalid_request-authorization_code_invalid
KeyManagement ClientIDAuthorizationCodeMismatch keymanagement.service.invalid_client-client_id_authorzation_code_mismatch
KeyManagement ClientIDNotApproved keymanagement.service.invalid_client-client_id_not_approved
KeyManagement CompanyStatusNotActive keymanagement.service.CompanyStatusNotActive
Chiave consumer KeyManagement scaduta keymanagement.service.consumer_key_expired
KeyManagement DeveloperNotActive keymanagement.service.DeveloperStatusNotActive
KeyManagement InvalidAccessToken keymanagement.service.oauth10_access_token_doesnotexist
KeyManagement InvalidClientID keymanagement.service.InvalidClientIdForGivenResource
KeyManagement InvalidClientID keymanagement.service.invalid_client-client_id_authorzation_code_mismatch
KeyManagement InvalidClientID keymanagement.service.invalid_client-invalid_client_id
KeyManagement InvalidConsumerKey keymanagement.service.invalid_consumer_key
KeyManagement InvalidRefreshToken keymanagement.service.invalid_refresh_token
KeyManagement RefreshTokenExpired keymanagement.service.refresh_token_expired

Policy di estensione

JavaCallout

JavaCallout errorname Consulta Errori di runtime dei criteri JavaCallout

Callout JavaScript

JavaScriptCallout errorname Consulta Errori di runtime dei criteri JavaScript

MessageLogging

MessageLogging StepDefinitionExecutionFailed steps.messagelogging.StepDefinitionExecutionFailed

Node Script

NodeScript ExecutionError scripts.node.ScriptExecutionError

PythonScript

PythonScript errorname Consulta Errori di runtime dei criteri PythonScript

Script

Script EvaluationFailed steps.script.ScriptEvaluationFailed

ServiceCallout

ServiceCallout errorname Consulta la sezione Errori di runtime dei criteri ServiceCallout

Gateway

Proxy

Gateway APITimedOut flow.APITimedOut
Gateway ApplicationNotFound messaging.adaptors.http.flow.ApplicationNotFound
Gateway DecompressionFailureAtRequest messaging.adaptors.http.flow.DecompressionFailureAtRequest
Gateway DecompressionFailureAtResponse messaging.adaptors.http.flow.DecompressionFailureAtResponse
Gateway KeyAliasNotFound security.util.KeyAliasNotFound
Gateway RouteToTargetFailed messaging.runtime.RouteFailed
Gateway SharedFlowNotFound flow.SharedFlowNotFound
Gateway TargetIsMissing messaging.runtime.TargetMissing

Target

Gateway FailedHandshakeWithTargetEndpoint messaging.adaptors.http.flow.SslHandshakeFailed
Gateway TimeoutWithTargetOrCallout messaging.adaptors.http.flow.GatewayTimeout
Gateway TargetOrCalloutEndpointsNotAvailable messaging.adaptors.http.flow.ServiceUnavailable
Gateway TargetServerConfiguredInLoadBalancerIsDown messaging.adaptors.http.flow.NoActiveTargets
Gateway UnexpectedEOFAtTarget messaging.adaptors.http.flow.UnexpectedEOFAtTarget

Host virtuale

VirtualHost InvalidKeystoreOrTrustStore messaging.runtime.SecurityStoreNotConfigured
VirtualHost SecurityStoreNotConfigured messaging.runtime.SecurityStoreNotConfigured

Altro

Gateway HTTPErrorResponseCode messaging.adaptors.http.flow.ErrorResponseCode

Norme sulla mediazione

AssignMessage

AssignMessage errorname Vedi Errori di runtime dei criteri AssignMessage

ExtractVariables

ExtractVariables errorname Consulta Errori di runtime dei criteri ExtractVariables

JSONtoXML

JSONtoXML errorname Consulta Errori di runtime dei criteri JSONtoXML

KeyValueMap

KeyValueMap errorname Consulta Errori di runtime dei criteri KeyValueMapOperations

MessageValidation

MessageValidation errorname Consulta la sezione Errori di runtime dei criteri SOAPMessageValidation

RaiseFault

RaiseFault RaiseFaultException steps.raisefault.RaiseFault

XMLtoJSON

XMLtoJSON errorname Consulta Errori di runtime dei criteri XMLtoJSON

XSLTransformation

XSLTransformation errorname Consulta Errori di runtime dei criteri XSLTransform

Monetizzazione

Mint UndefinedProduct mintstep.undefinedProduct

Criterio di sicurezza

AccessControl

AccessControl errorname Consulta Errori di runtime dei criteri AccessControl

BasicAuthentication

BasicAuthentication errorname Consulta Errori di runtime dei criteri BasicAuthentication

JSONThreatProtection

JSONThreatProtection errorname Consulta Errori di runtime dei criteri JSONThreatProtection

JWT

JWT errorname Consulta Errori di runtime dei criteri JWT

OAuth

Errore OAuth errorname Consulta Errori di runtime dei criteri OAuth V2

Protezione regex

RegexProtection errorname Consulta Errori di runtime del criterio RegularExpressionProtection

SAMLAssertion

SAMLAssertion InvalidKeyStore steps.saml.generate.InvalidKeyStore
SAMLAssertion InvalidMediaType steps.saml.generate.InvalidMediaTpe
SAMLAssertion InvalidTrustStore steps.saml.validate.InvalidTrustStore
SAMLAssertion SAMLAssertionForNotBeforeConditionViolated steps.saml.validate.NotBeforeConditionViolated
SAMLAssertion SignatureValidationFailed steps.saml.validate.SignatureValidationFailed
SAMLAssertion XPathResolutionFailed steps.saml.validate.XPathResolutionFailed

XMLThreatProtection

XMLThreatProtection errorname Consulta Errori di runtime dei criteri XMLThreatProtection

Sense

Sense

Sense RaiseFault messaging.runtime.SenseRaiseFault

Policy di gestione del traffico

Memorizzazione nella cache

Caching InvalidExpiryDatForCacheEntry messaging.config.beans.InvalidExpiryDateForCacheEntry

ConcurrentRateLimit

ConcurrentRateLimit ConcurrentRateLimitViolation policies.concurrentratelimit.ConcurrentRatelimitViolation

Quota

Quota errorname Consulta Errori di runtime dei criteri per le quote

Quota o SpikeArrest

QuotaOrSpikeArrest InvalidMessageWeight policies.ratelimit.InvalidMessageWeight

ResetQuota

ResetQuota errorname Consulta Errori di runtime dei criteri ResetQuota

SpikeArrest

SpikeArrest errorname Consulta Errori di runtime dei criteri SpikeArrest