Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to run example #235

Open
thomas-alrek opened this issue Aug 12, 2016 · 5 comments
Open

Unable to run example #235

thomas-alrek opened this issue Aug 12, 2016 · 5 comments

Comments

@thomas-alrek
Copy link

I am unable to run the example.
I editet the user info for "a", and removed "b".

$ node example.js

[i] Logging with user: ******.*****@gmail.com
undefined
C:\Users\******\dev\pogo\node_modules\pokemon-go-node-api\example.js:25
    if (err) throw err;
             ^

Error: 403 error from server
    at IncomingMessage.<anonymous> (C:\Users\******\dev\pogo\node_modules\gpsoauthnode\oauth.js:61:23)
    at emitNone (events.js:72:20)
    at IncomingMessage.emit (events.js:166:7)
    at endReadableNT (_stream_readable.js:905:12)
    at doNTCallback2 (node.js:450:9)
    at process._tickCallback (node.js:364:17)
@junqdu
Copy link

junqdu commented Aug 12, 2016

did you use the app password?

@maxkueng
Copy link

You might have two-factor authentication enabled.

@Sy-D
Copy link

Sy-D commented Aug 20, 2016

Same problem,
2 way auth is deactivated. These are my settings. I appreciate any help.

var location = {
    type: 'coords',
    "coords": {
    latitude: '48.800284',
    longitude :'9.205570'
    }
};

var username =  '**********@gmail.com';
var password =  'GoogleAccPWHere';
var provider =  'google';

@NelsonGaldeman
Copy link

@Devilklone latitude & longitude attributes must be type "double", not string (remove quotes).

@Sy-D
Copy link

Sy-D commented Aug 25, 2016

@NelsonGaldeman How stupid from me, thanks. I also put the wrong credentials in. Everything works fine now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants