CentraSite User's Guide : CentraSite and API Gateway Integration : Modifications to Error Codes and Responses for Runtime Policies
Modifications to Error Codes and Responses for Runtime Policies
API Gateway and Mediator attempt to return appropriate HTTP status codes for every request.
This section is to note the changes in the error codes and responses after migration to API Gateway from CentraSite and Mediator.
Scenario
Error Code and Response in CentraSite/Mediator
Error Code and Response in API Gateway
Policy Validate Schema failed to validate Schema
Error Code: 500
Error Response: N/A
Error Code: 400
Error Response: N/A
Policy fails to return default fault response
Error Code: N/A
Error Response: Mediator encountered an error
Error Code: N/A
Error Response: API Gateway encountered an error
Outbound HTTP Basic Authentication with Incoming Credentials fails to authenticate the client
Error Code: 500
Error Response: N/A
Error Code: 401
Error Response: N/A
Outbound OAuth2 Authentication with Incoming Token fails to authenticate the client
Error Code: 500
Error Response: N/A
Error Code: 401
Error Response: N/A
Require SSL
This policy is available under the Policy Enforcement > Security accordion in CentraSite.
This policy is not available in API Gateway.
All of the Evaluate policy actions (Evaluate HTTP Basic Authentication, Evaluate Hostname, Evaluate IP Address, and so on) fails to identify applications
Error Code: 500
Error Response: Consumer could not be identified
Error Code: 403
Error Response: Unable to identify the application for the request.
Evaluate HTTP Basic Authentication fails to authenticate applications
Error Code: 500
Error Response: Consumer could not be identified
Error Code: 401
Error Response: The request cannot be authenticated.
Evaluate HTTP Basic Authentication with Authenticate User set to Yes, and Identify Consumer set to Do not Identify fails to authenticate applications, when the API request is sent without an Authorization header
Error Code: N/A
Error Response: Incoming request does not contain the Authorization header.
Error Code: N/A
Error Response: API Gateway is unable to process incoming request.
Outbound NTLM Authentication with Existing Credentials fails to authenticate applications, when the API request is sent without an Authorization header
Error Code: N/A
Error Response: Incoming request does not contain the Authorization header.
Error Code: 401
Error Response: API Gateway outbound client encountered Native service provider error.
Inbound REST requests against an unknown resource path
Mediator allows such requests.
Error Code: 404
Error Response: API Gateway rejects the REST request against an unknown resource path.
CentraSite and API Gateway support a different API Key header.
x-CentraSite-APIKey
x-Gateway-APIKey
Copyright © 2015- 2017 Software AG, Darmstadt, Germany.

Product LogoContact Support   |   Community   |   Feedback