{ error:
SyntaxError: Unexpected number in JSON at position 1
at Object.parse (native)
at IncomingMessage.<anonymous> (###APPPATH###/node_modules/openweather-apis/index.js:185:27)
at emitOne (events.js:96:13)
at IncomingMessage.emit (events.js:188:7)
at readableAddChunk (_stream_readable.js:172:18)
at IncomingMessage.Readable.push (_stream_readable.js:130:10)
at HTTPParser.parserOnBody (_http_common.js:129:22)
at Socket.socketOnData (_http_client.js:361:20)
at emitOne (events.js:96:13)
at Socket.emit (events.js:188:7) }
When ich change the integer for day to 4 I get an error like this.
Code:
Error: