Login issue with .net api login request
-
Hello Support
I am trying to create api for fetching data to send order but while making login request token is not getting generated getting below response
Request model
URL : https://apiconnect.angelbroking.com/rest/auth/angelbroking/user/v1/loginByPassword
request: {"ClientCode":"XXXXXXXXXX","password":"XXXX","TOTP":"XXXXXX"}respose ok
error Message invlidtoken
errorcode AG8001but with the same input if i call through pythom it is working why it is not working with .net code
Pooja
-
@mhaiskar-omkar21 there might be some issue in your .net code. You can test the API via postman.
-
@admin said in Login issue with .net api login request:
de. You can test the API via postman.
tried with Postman but getting same error.
-
@mhaiskar-omkar21 check Header Parameters ? it should be follow as per https://smartapi.angelbroking.com/docs/ResponseStructure
-
@mhaiskar-omkar21 as mentioned by blackdream, please check the other parameters in the login API. It is working fine.