Internal Server Error while placing an order
-
Dear Team
Clients are getting Internal server error while placing an order.
API Request:
{"variety":"NORMAL","tradingsymbol":"DMART-EQ","symboltoken":"19913","transactiontype":"SELL","exchange":"NSE","ordertype":"MARKET","producttype":"INTRADAY","duration":"DAY","price":0.0,"squareoff":0.0,"stoploss":0.0,"quantity":41}API Response:
{"message":"Internal Error","errorcode":"AB2001","status":false,"data":null}Every day clients are facing this type of errors.
Kindly do the needful for this issue. -
@techbytecache i think this error are result of some other error, api should be upgraded to give actual response from server ( mostly no trading allowed due to low liquidity etc, insufficient fund ) etc, in fact correct way is to get order through, and reject the order, instead of generating error at api level.
-
We've resolved the intermittent "Internal Error" issue (error code "AB2001") some of you faced while placing orders. Your patience is appreciated, and we apologize for any inconvenience.
If you encounter further issues, our support team is ready to assist. Thank you for your trust in our services.
-
Getting this error randomly since yesterday -
File "C:\Users\Administrator\AppData\Local\Programs\Python\Python311\Lib\site-packages\SmartApi\smartConnect.py", line 285, in placeOrder
orderResponse= self._postRequest("api.order.place", params)['data']['orderid']
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^
TypeError: 'NoneType' object is not subscriptable -
Client Codes: M52849676, S51976332, D61869, R52120565, D53211015, P52344388, S329369, V72564, JIGV1017
-
@admin Today many clients getting same rejection.
Kindly do the needful
At least answer to my query.
-
@admin any update?