Not able to get access_token

I am getting an error when trying to get the access_token from the auth_code using generate_access_token. I am getting the following error.

{"s":"error","code":-17,"message":"Could not authenticate the user"}

We are using Javascript. We get the auth_code using the totp process but get this error when we try to generate access token.

2
13 replies