การอ้างอิงรหัสผิดพลาด

คุณกำลังดูเอกสารประกอบของ Apigee Edge
ไปที่เอกสารประกอบของ Apigee X
info

Apigee มีชุดรหัสข้อผิดพลาดสำหรับฟีเจอร์ต่างๆ ที่ช่วยคุณวินิจฉัยปัญหา เช่น รหัสสถานะ HTTP 4xx หรือ 5xx ทั่วไปสามารถจัดประเภทได้โดยใช้รหัสข้อบกพร่องอย่างน้อย 1 รายการ

รหัสข้อผิดพลาดจะให้ข้อมูลที่เป็นประโยชน์เกี่ยวกับข้อผิดพลาดขณะรันไทม์ รวมถึงข้อมูลเกี่ยวกับแหล่งที่มาและชื่อของข้อผิดพลาดในรูปแบบต่อไปนี้ [prefix].[error_name]

เช่น steps.raisefault.RaiseFault

ในตัวอย่างนี้

  • steps.raisefault คือคำนำหน้าที่บ่งชี้ว่านโยบาย RaiseFault ทำให้เกิดข้อผิดพลาด
  • RaiseFault คือชื่อข้อผิดพลาดที่จะช่วยคุณระบุสาเหตุของข้อผิดพลาด ในกรณีนี้ สตริงข้อผิดพลาดจะให้ข้อมูลเพิ่มเติม

ตารางต่อไปนี้สรุปรหัสข้อบกพร่อง โดยจัดเรียงตามหมวดหมู่และหมวดหมู่ย่อย

หมายเหตุ: เมื่อตั้งค่าการแจ้งเตือน ระบบจะจัดระเบียบรหัสข้อผิดพลาดตามหมวดหมู่และหมวดหมู่ย่อย และแสดงชื่อที่ผู้ใช้เข้าใจได้ เมื่อเปรียบเทียบกิจกรรมเชิงสัมพันธ์ระหว่างเมตริก ระบบจะแสดงรหัสข้อผิดพลาดดิบ

หมวดหมู่ หมวดหมู่ย่อย ชื่อ รหัสข้อผิดพลาด

โปรโตคอล 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 มีเนื้อหาขนาดใหญ่ protocol.http.TooBigBody
คำขอ 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

นักพัฒนาแอป/แอป

การจัดการคีย์

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
คีย์ผู้ใช้ KeyManagement หมดอายุแล้ว 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

นโยบายส่วนขยาย

JavaCallout

JavaCallout errorname ดูข้อผิดพลาดรันไทม์ของนโยบาย JavaCallout

ข้อความไฮไลต์ JavaScript

JavaScriptCallout errorname ดูข้อผิดพลาดรันไทม์ของนโยบาย JavaScript

MessageLogging

MessageLogging StepDefinitionExecutionFailed steps.messagelogging.StepDefinitionExecutionFailed

สคริปต์โหนด

NodeScript ExecutionError scripts.node.ScriptExecutionError

PythonScript

PythonScript errorname ดูข้อผิดพลาดรันไทม์ของนโยบาย PythonScript

สคริปต์

การประเมินสคริปต์ล้มเหลว steps.script.ScriptEvaluationFailed

ServiceCallout

ServiceCallout errorname ดูข้อผิดพลาดรันไทม์ของนโยบาย ServiceCallout

เกตเวย์

พร็อกซี

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

เป้าหมาย

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

อื่นๆ

Gateway HTTPErrorResponseCode messaging.adaptors.http.flow.ErrorResponseCode

นโยบายสื่อกลาง

AssignMessage

AssignMessage errorname ดูข้อผิดพลาดรันไทม์ของนโยบาย AssignMessage

ExtractVariables

ExtractVariables errorname ดูข้อผิดพลาดรันไทม์ของนโยบาย ExtractVariables

JSONtoXML

JSONtoXML errorname ดูข้อผิดพลาดรันไทม์ของนโยบาย JSONtoXML

KeyValueMap

KeyValueMap errorname ดูข้อผิดพลาดรันไทม์ของนโยบาย KeyValueMapOperations

MessageValidation

MessageValidation errorname ดูข้อผิดพลาดรันไทม์ของนโยบาย SOAPMessageValidation

RaiseFault

RaiseFault RaiseFaultException steps.raisefault.RaiseFault

XMLtoJSON

XMLtoJSON errorname ดูข้อผิดพลาดรันไทม์ของนโยบาย XMLtoJSON

XSLTransformation

XSLTransformation errorname ดูข้อผิดพลาดเกี่ยวกับรันไทม์ของนโยบาย XSLTransform

การสร้างรายได้

Mint UndefinedProduct mintstep.undefinedProduct

นโยบายความปลอดภัย

AccessControl

AccessControl errorname ดูข้อผิดพลาดขณะรันไทม์ของนโยบาย AccessControl

BasicAuthentication

BasicAuthentication errorname ดูข้อผิดพลาดรันไทม์ของนโยบาย BasicAuthentication

JSONThreatProtection

JSONThreatProtection errorname ดูข้อผิดพลาดรันไทม์ของนโยบาย JSONThreatProtection

JWT

JWT errorname ดูข้อผิดพลาดรันไทม์ของนโยบาย JWT

OAuth

ข้อผิดพลาด OAuth errorname ดูข้อผิดพลาดเกี่ยวกับรันไทม์ของนโยบาย OAuth V2

การป้องกันนิพจน์ทั่วไป

RegexProtection errorname ดูข้อผิดพลาดรันไทม์ของนโยบาย 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 ดูข้อผิดพลาดรันไทม์ของนโยบาย XMLThreatProtection

Sense

Sense

Sense RaiseFault messaging.runtime.SenseRaiseFault

นโยบายการจัดการการรับส่งข้อมูล

กำลังแคช

Caching InvalidExpiryDatForCacheEntry messaging.config.beans.InvalidExpiryDateForCacheEntry

ConcurrentRateLimit

ConcurrentRateLimit ConcurrentRateLimitViolation policies.concurrentratelimit.ConcurrentRatelimitViolation

โควต้า

ข้อผิดพลาดเกี่ยวกับโควต้า errorname ดูข้อผิดพลาดรันไทม์ของนโยบายโควต้า

โควต้าหรือ SpikeArrest

QuotaOrSpikeArrest InvalidMessageWeight policies.ratelimit.InvalidMessageWeight

ResetQuota

ResetQuota errorname ดูข้อผิดพลาดขณะรันไทม์ของนโยบาย ResetQuota

SpikeArrest

SpikeArrest errorname ดูข้อผิดพลาดรันไทม์ของนโยบาย SpikeArrest