A
A
Alex_Kot2282020-01-25 08:42:21
JavaScript
Alex_Kot228, 2020-01-25 08:42:21

Bug in kiwi modules?

When the bot is running, it crashes for several hours and writes this error:
url: this.apiUri + 'payment-history/v1/persons/' + data.authInfo.personId + '/payments',
Console log:
C:\Users\Administrator\Desktop \Shop\node_modules\node-qiwi-api\node-qiwi-api.js:76
url: this.apiUri + 'payment-history/v1/persons/' + data.authInfo.personId + '/payments',
^
TypeError : Cannot read property 'authInfo' of undefined
at C:\Users\Administrator\Desktop\Store\node_modules\node-qiwi-api\node-qiwi-api.js:76:73
at Request._callback (C:\Users\ Administrator\Desktop\Shop\node_modules\node-qiwi-api\node-qiwi-api.js:47:13)
at Request.self.callback (C:\Users\Administrator\Desktop\Shop\node_modules\request\request.js:188:22)
at Request.emit (events.js:223:5)
at Request. (C:\Users\Administrator\Desktop\Shop\node_modules\request\request.js:1171:10)
at Request.emit (events.js:223:5)
at IncomingMessage. (C:\Users\Administrator\Desktop\Store\node_modules\request\request.js:1091:12)
at Object.onceWrapper (events.js:312:28)
at IncomingMessage.emit (events.js:228:7)
at endReadableNT (_stream_readable.js:1185:12)
at processTicksAndRejections (internal/process/task_queues.js:81:21)

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question