@admin , but as per ANGEL Documentation it should start with Bearer , so its not correct.
I have tried using jwt token as AUTHORIZATION_TOKEN still getting invalid token error.
R
Posts made by rajeevth90
-
RE: what is Bearer AUTHORIZATION_TOKEN
-
RE: what is Bearer AUTHORIZATION_TOKEN
@admin I call login api and below tokens are generated.
feedToken 090212090
jwtToken eyJhbGciOiJIUzUxM
refreshToken eyJhbGciOiJIUzUxMiJ9.eyJ0post that i am calling GETprofile, Which one of above is AUTHORIZATION TOKEN.
-
RE: what is Bearer AUTHORIZATION_TOKEN
@admin GRGN8897, CAn you confirm how to get this token and how it is different from jwt and refresh token which is generated from login Request as below.
conn.request("POST","/rest/auth/angelbroking/user/v1/loginByPassword",payload,headers)
res = conn.getresponse() data = res.read() df = pd.read_json(data) print(df) print(data.decode("utf-8")) print(data) refreshToken = df.loc["refreshToken"][3] jwtToken = df.loc["jwtToken"][3] feedToken = df.loc["feedToken"][3]
-
what is Bearer AUTHORIZATION_TOKEN
getting below tried with all token , what is this
{"success":false,"message":"Invalid Token","errorCode":"AG8001","data":""}.
@admin pls migrate my acount to api if this is the reason