Referensi kode kesalahan

Anda sedang melihat dokumentasi Apigee Edge.
Buka dokumentasi Apigee X.
info

Apigee menyediakan serangkaian kode error untuk berbagai fitur yang membantu Anda mendiagnosis masalah. Misalnya, kode status HTTP 4xx atau 5xx standar dapat diklasifikasikan menggunakan satu atau beberapa kode error.

Kode error memberi Anda informasi yang berguna tentang error runtime, termasuk informasi tentang sumber dan nama error dalam format berikut: [prefix].[error_name]

Contoh: steps.raisefault.RaiseFault

Dalam contoh ini:

  • steps.raisefault adalah awalan yang menunjukkan bahwa kebijakan RaiseFault menghasilkan error.
  • RaiseFault adalah nama error yang membantu Anda menentukan penyebab error. Dalam hal ini, informasi selengkapnya akan diberikan oleh string error.

Tabel berikut merangkum kode error, yang diatur menurut kategori dan subkategori.

Catatan: Saat menyiapkan pemberitahuan, kode error diatur menurut kategori dan subkategori, serta menampilkan nama yang dapat dibaca manusia. Saat membandingkan aktivitas relasional antarmetrik, kode error mentah akan ditampilkan.

Kategori Sub-kategori Nama Kode Kerusakan

Protokol 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
HTTP RequestsHaveABigLine 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
UnsupportedEncoding HTTP protocol.http.UnsupportedEncoding

Developer/aplikasi

Key Management

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
Kunci Pengguna KeyManagement Berakhir 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

Kebijakan Ekstensi

JavaCallout

JavaCallout errorname Lihat Error runtime kebijakan JavaCallout

Info JavaScript

JavaScriptCallout errorname Lihat Error runtime kebijakan JavaScript

MessageLogging

MessageLogging StepDefinitionExecutionFailed steps.messagelogging.StepDefinitionExecutionFailed

Skrip Node

NodeScript ExecutionError scripts.node.ScriptExecutionError

PythonScript

PythonScript errorname Lihat Error runtime kebijakan PythonScript

Skrip

Script EvaluationFailed steps.script.ScriptEvaluationFailed

ServiceCallout

ServiceCallout errorname Lihat Error runtime kebijakan 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

Lainnya

Gateway HTTPErrorResponseCode messaging.adaptors.http.flow.ErrorResponseCode

Kebijakan Mediasi

AssignMessage

AssignMessage errorname Lihat Error runtime kebijakan AssignMessage

ExtractVariables

ExtractVariables errorname Lihat Error runtime kebijakan ExtractVariables

JSONtoXML

JSONtoXML errorname Lihat Error runtime kebijakan JSONtoXML

KeyValueMap

KeyValueMap errorname Lihat Error runtime kebijakan KeyValueMapOperations

MessageValidation

MessageValidation errorname Lihat Error runtime kebijakan SOAPMessageValidation

RaiseFault

RaiseFault RaiseFaultException steps.raisefault.RaiseFault

XMLtoJSON

XMLtoJSON errorname Lihat Error runtime kebijakan XMLtoJSON

XSLTransformation

XSLTransformation errorname Lihat Error runtime kebijakan XSLTransform

Monetisasi

Mint UndefinedProduct mintstep.undefinedProduct

Kebijakan Keamanan

AccessControl

AccessControl errorname Lihat Error runtime kebijakan AccessControl

BasicAuthentication

BasicAuthentication errorname Lihat Error runtime kebijakan BasicAuthentication

JSONThreatProtection

errorname JSONThreatProtection Lihat Error runtime kebijakan JSONThreatProtection

JWT

errorname JWT Lihat Error runtime kebijakan JWT

OAuth

errorname OAuth Lihat Error runtime kebijakan OAuth V2

Perlindungan Regex

RegexProtection errorname Lihat Error runtime kebijakan 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 Lihat Error runtime kebijakan XMLThreatProtection

Sense

Sense

Sense RaiseFault messaging.runtime.SenseRaiseFault

Kebijakan Pengelolaan Traffic

Menyimpan ke cache

Menyimpan InvalidExpiryDatForCacheEntry ke cache messaging.config.beans.InvalidExpiryDateForCacheEntry

ConcurrentRateLimit

ConcurrentRateLimit ConcurrentRateLimitViolation policies.concurrentratelimit.ConcurrentRatelimitViolation

Kuota

Kuota errorname Lihat Error runtime kebijakan kuota

Kuota atau SpikeArrest

QuotaOrSpikeArrest InvalidMessageWeight policies.ratelimit.InvalidMessageWeight

ResetQuota

ResetQuota errorname Lihat Error runtime kebijakan ResetQuota

SpikeArrest

SpikeArrest errorname Lihat Error runtime kebijakan SpikeArrest