Estimate charges api error
-
Hi @administrators
I'm integrating the estimate charges api. I'm getting this error on the api response.
The params are correct, as per doc.
Also I noticed theAPI
does not follow a single case format. Somewhere it is camelCase or snake_case.Here is the request log in
elixir
language."orders" => [ %{ "exchange" => "NSE", "price" => "313.75", "product_type" => "DELIVERY", "quantity" => "1", "symbol_name" => "ANANTRAJ-EQ", "token" => "13620", "transaction_type" => "BUY" } ]
json encode
{\"orders\":[{\"exchange\":\"NSE\",\"price\":\"313.35\",\"product_type\":\"DELIVERY\",\"quantity\":\"1\",\"symbol_name\":\"ANANTRAJ-EQ\",\"token\":\"13620\",\"transaction_type\":\"BUY\"}]}
Tried with the doc example too
{:ok, "{\"orders\":[{\"exchange\":\"NSE\",\"price\":\"800\",\"product_type\":\"DELIVERY\",\"quantity\":\"10\",\"symbol_name\":\"745AS33\",\"token\":\"17117\",\"transaction_type\":\"BUY\"}]}"} {:error, %{ "data" => nil, "errorcode" => "AB2001", "message" => "Internal Error", "status" => false }}
-
@Moderator_2 Thanks for the help
-
Hi @pkrawat1
Thank you for notifying us on this issue. We have applied a fix on this. Kindly verify for the same.
Regards,
SmartAPI team -
hi @pkrawat1
We have traced the issue. Will update you once its fixed.
Thanks & Regards,
SmartAPI team -
@Moderator_2 Any update for the api error.
-
@Moderator_2 P773791
-
-
Hi @pkrawat1
Apologies for delayed response.
We are checking on this. Will update you as soon as possible.Thanks & Regards,
SmartAPI team -
@Moderator_2 any update for this ?