Something Went Wrong, Please Try After Sometime
-
getting the error on websocket streaming and totp login
Something Went Wrong, Please Try After Sometime
{'message': 'Something Went Wrong, Please Try After Sometime', 'errorcode': 'AB1004', 'status': False, 'data': None} -
Hi @Moderator_3 ,
API for gainersLosers was working till 11:20 today and stopped after it.
[E 240912 11:59:03 smartConnect:243] Error occurred while making a POST request to https://apiconnect.angelbroking.com/rest/secure/angelbroking/marketData/v1/gainersLosers. Error: Something Went Wrong, Please Try After Sometime. URL: https://apiconnect.angelbroking.com/rest/secure/angelbroking/marketData/v1/gainersLosers, Headers: {'Content-type': 'application/json', 'X-ClientLocalIP': '127.0.0.1', 'X-ClientPublicIP': ' ', 'X-MACAddress': '', 'Accept': 'application/json', 'X-PrivateKey': '', 'X-UserType': 'USER', 'X-SourceID': 'WEB'}, Request: {'datatype': 'PercOIGainers', 'expirytype': 'NEAR'}, Response: {'message': 'Something Went Wrong, Please Try After Sometime', 'errorcode': 'AB1004', 'status': False, 'data': None}
so far i have tried
- upgraded to smartapi-python 1.4.9
- re-created access token.
Can you please check and fix.
My username: D58222660 -
Refer https://pypi.org/project/smartapi-python/ for sample working code for websocket streaming.
Kindly share the request format you are using for totp login to analyze further.
Regards,
SmartAPI Team -
@sunny123456 I am getting the same error since 3 days now.