Skip to content
This repository was archived by the owner on Aug 6, 2021. It is now read-only.
This repository was archived by the owner on Aug 6, 2021. It is now read-only.

UnhandledPromiseRejectionWarning: Error: Request failed with status code 400 #62

@McSloverd

Description

@McSloverd

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)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions