Client code - DELL6358
U
uffarooque73
@uffarooque73
0
Reputation
3
Posts
2
Profile views
0
Followers
0
Following
Best posts made by uffarooque73
This user hasn't posted anything yet.
Latest posts made by uffarooque73
-
RE: Getting AG8001 error
I am using nodejs package for the same here is the code
app.get("/", (req, res) => { let smart_api = new SmartAPI({ api_key: 'api_key' }); console.log(smart_api) // If user does not have valid access token and refresh token then use generateSession method smart_api .generateSession('client_code', 'password', 'totp') .then((data) => { return smart_api.getProfile(); }) .then((data) => { console.log(data) }) .catch((ex) => { console.log(ex) }); res.json({ message: "Welcome to bezkoder application." }); });
-
Getting AG8001 error
Trying to login but getting this error
{
success: false,
message: 'Invalid Token',
errorCode: 'AG8001',
data: ''
}