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

Cannot read property 'steamid' of undefined #62

Open
zmikolaj opened this issue Jun 9, 2017 · 1 comment
Open

Cannot read property 'steamid' of undefined #62

zmikolaj opened this issue Jun 9, 2017 · 1 comment

Comments

@zmikolaj
Copy link

zmikolaj commented Jun 9, 2017

Hello,
im getting sometimes this error:

[Error] TypeError: Cannot read property 'steamid' of undefined
    at steam.getPlayerSummaries.callback (/home/pr/node_modules/passport-steam/lib/passport-steam/strategy.js:28:39)
    at IncomingMessage.<anonymous> (/home/pr/node_modules/steam-web/lib/steam.js:484:7)
    at emitNone (events.js:91:20)
    at IncomingMessage.emit (events.js:185:7)
    at IncomingMessage.EventEmitter.emit (/home/pr/node_modules/sc-domain/index.js:12:31)
    at endReadableNT (_stream_readable.js:926:12)
    at _combinedTickCallback (internal/process/next_tick.js:74:11)
    at process._tickCallback (internal/process/next_tick.js:98:9)

Its related to this function https://github.com/liamcurry/passport-steam/blob/master/lib/passport-steam/strategy.js#L15-L42

Any fix?

@lewisgibson
Copy link

@trzyrazyzero Either your APIKey is wrong, or you're spamming the endpoint too much so they have temporarily blocked you.

  1. Verify your APIKey with what you registered on Steam.
  2. Wait a few hours (potentially days if you spam lots) and try again.

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

2 participants