I am using python
via code from documentation :
import http.client
import mimetypes
conn = http.client.HTTPSConnection(
"apiconnect.angelbroking.com"
)
payload = "{\n\"clientcode\":\"xxxxxxx\",\n\"password\":\"xxxxxxx\"\n}"
headers = {
'Content-Type': 'application/json',
'Accept': 'application/json',
'X-UserType': 'USER',
'X-SourceID': 'WEB',
'X-ClientLocalIP': 'CLIENT_LOCAL_IP',
'X-ClientPublicIP': 'CLIENT_PUBLIC_IP',
'X-MACAddress': '42:aa:13:ae:6b:c4',
'X-PrivateKey': 'xxxxxxxx'
}
conn.request("POST", "/rest/auth/angelbroking/user/v1/loginByPassword", payload, headers)
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
I am getting an output :
{"status":false,"message":"Login Id or password is invalid","errorcode":"AB1007","data":null}
My Cliend ID : J215509
Please fix this as I searched this forum only to find out my ID is still not migrated.
Even after repeated form fillings n raising the same issues again n again.
How I am suppose to trade on Angel Broking ??