AG8001
-
What is happening here? Can you guys not even maintain a basic documentation. So many users are facing this challenge. I am getting this error: {"success":false,"message":"Invalid Token","errorCode":"AG8001","data":""}
Client ID - V55059652
Please resolve it at its earliest and respond back
-
Hello @Deepa
"Invalid Token" occurs while request initiated with expired/unauthorized token on any smartAPI. We expect the client to login everyday to consume the provided APIs.
Kindly pass the recently fetched token via API and Please share us the API request, and header passed to analyze further if the issue still occurs.Regards,
SmartAPI Team -
{"success":false,"message":"Invalid Token","errorCode":"AG8001","data":""} for user id: S60677944. Please resolve.
-
Hi Team , I am getting below error ... Could you please resolve it out Response: {'success': False, 'message': 'Invalid Token', 'errorCode': 'AG8001', 'data': ''}
userId: V59123614
-
Hello @A51440435,
Apologies for the delay. We have raised this issue to our tech team and will get back to you.
Thank you.
Regards
SmartAPI Team -
@Moderator_2
No Reply ? Angel is not interested. -
Yes. This issue is faced in GetProfileResponse. I have created the application specifically for connecting to Websocket Version 2. After generating token, I am calling GetProfileResponse to check whether login happened properly. However I get error and app gets stuck. I have not tried any other api. It appears that you have not seen my code on Github for which I have given link in my earlier post. I am giving the link again https://github.com/Josh1-rtd/AngelBroking-smartapi-dotnet-ConsoleApp
-
Hi @A51440435
Apologies for your trouble. Is there any specific API, "Invalid Token" issue has been faced. Please let us know
Regards,
SmartAPI team -
@Moderator_2
My Client Code is A51440435. Please elaborate on (API request and issue timing ) . I have one working code here. Click here.It works well as standalone console application. However it starts giving AG8001 Invalid Token error when I enable Windows Forms and add code for a gui around it. This same code for login copy/pasted as is into another application on the same laptop does not work for login. This error started coming when I completed the whole application for feeding Websocket stream to Amibroker. I am really frustrated and thinking of giving up on Angel.
-
Hi @A51440435
Apologies for the delayed response. Kindly share us the client code/API request and issue timing to analyze on this matter
Regards,
SmartAPI team -
@Moderator_2 I am also getting same error randomly. I created new topic in general discussion with reference to working code. There is no reply. It seems, Angleone is not interested in servicing customers.
-
Hi @Vindhy
Apologies for delayed response.
"Invalid Token" occurs while request initiated with expired/unauthorized token on any smartAPI. We expect the client to login everyday to consume the provided APIs.
Kindly pass the recently fetched token via API and Please share us the API request, and header passed to analyze further if the issue still occurs.Thanks & Regards,
SmartAPI team