Client ID is block for trading
-
Error occurred while making a POST request to https://apiconnect.angelbroking.com/rest/auth/angelbroking/user/v1/loginByPassword. Error: Client
Is Block For Trading. URL: https://apiconnect.angelbroking.com/rest/auth/angelbroking/user/v1/loginByPassword, Headers: {'Content-type': 'application/json', 'X-ClientLocalIP': '12
7.0.0.1', 'X-ClientPublicIP': 'x06.1x3.14x.xx', 'X-MACAddress': '00:00:55:dd:aa:99', 'Accept': 'application/json', 'X-PrivateKey': 'AZIbhS5k', 'X-UserType': 'USER', 'X-SourceID': '
WEB'}, Request: {'clientcode': 'M1073108', 'password': 'xxxx', 'totp': 'xxxxxx'}, Response: {'success': False, 'message': 'Client Is Block For Trading', 'errorCode': 'AB1006', 'data': ''}This is output from python SDK. Please help me resolve it.
Client Code: M1073108
API Key: bxsUAmFY -
I faced the same issue and I have resolved it.
The problem occurred because of APIKEY.
Create a new app in "https://smartapi.angelbroking.com/apps" and feed the new APIKEY in the python login code.
Now it works without any issue. -
hi @madhubala
Kindly write to us on support@angelbroking.com along with client details.
Regards,
SmartAPI team