Back to All

500 internal error when guest user api is invoked

500 internal error when guest user api is invoked :

500 Internal Server Error: "{"success":false,"errors":["Internal server error"],"data":null,"errorType":"InternalError"}"


x-gateway-authtoken : eyJhbGciOiJIUzI1NiJ9.eyJndWVzdCI6dHJ1ZSwiZXhwIjoxNjU2MzM0NDQ1LCJpYXQiOjE2NTU3Mjk2NDV9.AxzCZqCjxi8tMLePk78O3uGBdV9kRx4DcJoCx03t3bk

Issue is when we are invoking the api with object having securities nodes as follows , it go into error :
String ticker;
SecurityTypeEnum type;
OrderTypeEnum orderType;
Long quantity;
BigDecimal price;
BigDecimal triggerPrice;

Note: json data we provide as required only -
"intent": "TRANSACTION",
"orderConfig": {
"type": "SECURITIES",
"securities": [
"ticker": "WSI"

When we remove the fields for price and triggerPrice , it starts working even if we provide just ticker value in json.

Please help understand , how api is created so that null values for price and triggerPrice is causing problem to it.

IMPACT : this is causing us to create multiple request object just to invoke similar api .