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

Steamcommunity error. #122

Closed
Tutyko2016 opened this issue Aug 9, 2016 · 6 comments
Closed

Steamcommunity error. #122

Tutyko2016 opened this issue Aug 9, 2016 · 6 comments

Comments

@Tutyko2016
Copy link

uncaughtException: TypeError: Cannot read property 'success' of undefined
at /home/csgobot/node_modules/steamcommunity/components/confirmations.js:133:10
at SteamCommunity. (/home/csgobot/node_modules/steamcommunity/components/confirmations.js:166:3)
at Request._callback (/home/csgobot/node_modules/steamcommunity/components/http.js:62:14)
at Request.self.callback (/home/csgobot/node_modules/request/request.js:198:22)
at emitTwo (events.js:87:13)
at Request.emit (events.js:172:7)
at Request. (/home/csgobot/node_modules/request/request.js:1082:10)
at emitOne (events.js:82:20)
at Request.emit (events.js:169:7)
at Gunzip. (/home/csgobot/node_modules/request/request.js:1009:12)
at emitNone (events.js:72:20)
at Gunzip.emit (events.js:166:7)
at endReadableNT (_stream_readable.js:921:12)
at nextTickCallbackWith2Args (node.js:442:9)
at process._tickCallback (node.js:356:17)

@Tutyko2016
Copy link
Author

Steam community total crash.

You can fix it?

@Lagg
Copy link

Lagg commented Aug 9, 2016

I'm having the same issue, perhaps you should close this and post in #121 so that we can keep information about whatever in god's name Valve has done this time centralized.

@cyberash-dev
Copy link

cyberash-dev commented Aug 9, 2016

I add before this and this

if(body === undefined) { callback(new Error("Undefined body"); return; }

And wait DoctorMcKay fix.

@Spartacus2k15
Copy link

A similar problem occurs here:

steamcommunity\classes\CMarketItem.js:116
if(body.success != 1) {
^
TypeError: Cannot read property 'success' of undefined
at SteamCommunity. (steamcommunity\classes\CMarketItem.js:116:10)
at Request._callback (steamcommunity\components\http.js:62:14)
at Request.self.callback (steamcommunity\node_modules\request\request.js:200:22)
at emitTwo (events.js:87:13)
at Request.emit (events.js:172:7)
at Request. (steamcommunity\node_modules\request\request.js:1067:10)
at emitOne (events.js:82:20)
at Request.emit (events.js:169:7)
at Gunzip. (steamcommunity\node_modules\request\request.js:988:12)
at emitNone (events.js:72:20)
at Gunzip.emit (events.js:166:7)

@Lagg
Copy link

Lagg commented Aug 9, 2016

There is additionally something causing Error objects from getOffer to have undefined message properties. But this would mean the issue is affecting a ton of steam pages. Great.

@DoctorMcKay
Copy link
Owner

Should be fixed in v3.23.2.

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