Armax / Pokemon-GO-node-api

Pokemon GO api node.js library
MIT License
875 stars 198 forks source link

Getting 403 #176

Closed jakeboyles closed 8 years ago

jakeboyles commented 8 years ago

I am getting a 403 back from the server? Anyone else been blocked?

Dwynr commented 8 years ago

You should specify where you get the 403..

katp4 commented 8 years ago

I'm getting a 403 too.

Steps to recreate:

1) Set provider as google and set google username and password in example.js 2) node example.js 3) Error: `Pokemon-GO-node-api/example.js:24 throw err; ^

Error: 403 error from server`

katp4 commented 8 years ago

Okay got it. You get a 403 because you probably have 2 way authentication on your Google account. Turn that off and hopefully you'll be logged in successfully :)

jakeboyles commented 8 years ago

Yeah that did it. Thanks!

jakeboyles commented 8 years ago

@Dwynr theres really only one place in the code where you can get a 403 from...

Dwynr commented 8 years ago

@jakeboyles yea sorry I've tried it myself yesterday and you're right.. only Google Auth throws 403 :p