meepen / salien-bot

Steam Summer Sale 2018 "Salien" minigame bot - runs in console or browser
MIT License
418 stars 104 forks source link

SyntaxError: Unexpected token < in JSON at position 0 #115

Closed AleBut closed 6 years ago

AleBut commented 6 years ago

I get this message after running the headless for a few hours:

SyntaxError: Unexpected token < in JSON at position 0 at JSON.parse () at Request.response [as _callback] (C:\Users\Administrator\Desktop\salien-bot-master\headless\jquery_node.js:78:26) at Request.self.callback (C:\Users\Administrator\Desktop\salien-bot-master\node_modules\request\request.js:185:22) at emitTwo (events.js:126:13) at Request.emit (events.js:214:7) at Request. (C:\Users\Administrator\Desktop\salien-bot-master\node_modules\request\request.js:1157:10) at emitOne (events.js:116:13) at Request.emit (events.js:211:7) at IncomingMessage. (C:\Users\Administrator\Desktop\salien-bot-master\node_modules\request\request.js:1079:12) at Object.onceWrapper (events.js:313:30)

IonBazan commented 6 years ago

@AleBut This should have been logged like failed url <the url> by the line above. Do you have such entry in your logs?

meepen commented 6 years ago

you are most likely using an older version as this was fixed in another version

meepen commented 6 years ago

18d3d6d746ad010b7e1d3

AleBut commented 6 years ago

@IonBazan I don't think so.

@meepen Thanks! I was using a 12-13 hours old version