Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Error codeDescription
900901
Production/sandbox key offered to the API with no production/sandbox endpoint.
400
Server cannot process the request due to an error in the request sent by the client.
403
No matching resource found in the API for the given request.

...

Info

In addition to the above error codes, we have engaged Synapse-level error codes to the default fault sequence and custom fault sequences (e.g.,_token_fault_.xml) of the API Manager. For information, see Error Handling in WSO2 ESB documentation.


Custom error messages

To send a custom message with a custom HTTP status code, you execute an additional sequence that can generate a new error message. You then override the message body, HTTP status code and other values.

...