HyperSwitch/errors/server error

HTTP Status
500

Description
General internal server error. The  and   field might suggest the reason for a failure, but in most cases the error is unexpected, so no useful information would be provided. This error generally represents a bug in the server code. In case it's encountered please file a bug on Phabricator

Error response contains JSON body in the form of

empty_response
Indicates that a backend service returned empty or no response.

request_recursion_depth_exceeded
Applications built using HyperSwitch framework heavily rely on modularisation. So, to get the requested content sometimes several modules needs to be called. Each module call is represented by an internal request. In case of a bug, there could be a cycle of internal requests, resulting in infinite recursion. HyperSwitch is protected from such situations by limiting the recursion depth. The default limit is 10. To help in debugging errors like this the following extra fields are added to the response: