Error:(node:4795) UnhandledPromiseRejectionWarning: Error: Request failed with status code 400 at createError (/node_modules/axios/lib/core/createError.js:16:15) at settle (/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (events.js:323:22) at endReadableNT (_stream_readable.js:1204:12) at processTicksAndRejections (internal/process/task_queues.js:84:21)
Bug report
Call to registerDevice(DEVICE_NAME)
&Call to registerSession()
Throw'UnhandledPromiseRejectionWarning: Error: Request failed with status code 400'
I think maybe bunq changed api or something.
await bunqJSClientCustom.registerDevice(DEVICE_NAME);
await bunqJSClientCustom.registerSession();
Error:
(node:4795) UnhandledPromiseRejectionWarning: Error: Request failed with status code 400 at createError (/node_modules/axios/lib/core/createError.js:16:15) at settle (/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (events.js:323:22) at endReadableNT (_stream_readable.js:1204:12) at processTicksAndRejections (internal/process/task_queues.js:84:21)