Someone has already had problems with this error, I am using GAPI to generate some reports, and started to present this problem, I already checked account password among other details, and apparently everything is correct.
Uncaught exception 'Exception' with message 'GAPI: Failed to authenticate user. Error: " link " '