org.springframework.web.client.HttpServerErrorException$InternalServerError: 500 ERROR: “{“s”: “error”, “code”: 500, “message”: “Looks like you are passing an invalid entry”}”
input is { “symbol”, “NSE:NIFTY25JAN23000PE”, “qty”, 150, “side”, -1, “type”, 2, “productType”, “INTRADAY”, “limitPrice”, 0, “stopLoss”, 0 }
can you provide the reason
Hi Venky,
We have cross-checked, and it’s working without any issues.
Could you please try again and share your input for reference?
Endpoint: https://api.fyers.in/api/v2/span_margin
{
"data": [
{
"symbol": "NSE:NIFTY25JAN23000PE",
"qty": 150,
"side": -1,
"type": 2,
"productType": "INTRADAY",
"limitPrice": 0.0,
"stopLoss": 0.0,
"stopPrice": 0.0,
"takeProfit": 0.0
}
]
}