MART logs

To troubleshoot MART issues in Apigee hybrid, look at the log files. MART logs are written to stdout/stderr and can be viewed using the kubectl logs command.

On the Kubernetes administration machine, execute the following command:

kubectl logs pod_name -n namespace

See also Logging for details.

MART error codes

The following error codes can occur in the MART logs:

Error Description
ROUTING_SERVICE_NOT_ENABLED

routing.RoutingServiceNotEnabled

Occurs when routing.service.enable is set to false in this file in the MART pod: /opt/apigee/edge-hybrid-mart-server/conf/routing-service.properties
HYBRID_MART_SERVER_ENDPOINT_NOT_FOUND

routing.HybridMARTServerEndpointNotFound
Occurs when the org does not have a value for the org property: features.mart.server.endpoint
HYBRID_AUTHN_AUTHZ_TOKEN_ERROR

routing.HybridAuthNAuthZTokenError

Occurs when the AuthN-AuthZ service returns a non-200 response code or an invalid token
MART_ENDPOINT_REQUIRED

organizations.MartEndpointRequired

Occurs when the org property features.mart.server.endpoint has a null or empty value.
HTTPS_MART_ENDPOINT_REQUIRED

organizations.HttpsMartEndpointRequired

Occurs when the org property features.mart.server.endpoint has a value starting with "http://" when mart.routing.https.validation.enable is set to true in this file in the MART pod: /opt/apigee/edge-hybrid-mart-server/conf/routing-service.properties