קודי תקלות

הדף הזה רלוונטי ל-Apigee ול-Apigee Hybrid.

לעיון במסמכי התיעוד של Apigee Edge

‫Apigee מספקת קבוצה של קודי תקלות לתכונות שונות, שעוזרים לכם לאבחן בעיות. לדוגמה, אפשר לסווג קוד סטטוס של HTTP טיפוסי 4xx או 5xx באמצעות קוד תקלה אחד או יותר.

קודי תקלות מספקים מידע שימושי על שגיאות בזמן ריצה, כולל מידע על המקור והשם של השגיאה בפורמט הבא: [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 RequestHasABigBody protocol.http.TooBigBody
HTTP RequestsHaveABigLine protocol.http.TooBigLine
תגובת HTTP‏ 306 שמורה 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 Callout

‫JavaScriptCallout errorname שגיאות זמן ריצה במדיניות JavaScript

MessageLogging

MessageLogging StepDefinitionExecutionFailed steps.messagelogging.StepDefinitionExecutionFailed

סקריפט של צומת

NodeScript ExecutionError scripts.node.ScriptExecutionError

PythonScript

PythonScript errorname שגיאות זמן ריצה במדיניות PythonScript

Script

Script EvaluationFailed 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

מארח וירטואלי

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

אחר

Gateway HTTPErrorResponseCode messaging.adaptors.http.flow.ErrorResponseCode

מדיניות בנושא תהליך בחירת הרשת (Mediation)

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 מידע על שגיאות זמן ריצה במדיניות של בקרת גישה

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