Open sdahlbac opened 2 years ago
Possibly this might have something to do with it
{"httpRequest":"POST: https://.../api/v4/auth/login/...","httpStatus":400,"httpMessage":"Bad Request","status":"error","code":"banned","data":{"errorMessage":"You're been banned. Please wait a few minutes"}}
If so, the error handling is severely lacking
Error: Error: Malformed UTF-8 data at Object.stringify (/Users/sdahlbacka/Work/passwork-cli-helper/node_modules/crypto-js/core.js:523:24) at WordArray.init.toString (/Users/sdahlbacka/Work/passwork-cli-helper/node_modules/crypto-js/core.js:278:38) at Object.decode (/Users/sdahlbacka/Work/passwork-cli-helper/node_modules/passwork-js/libs/crypt.js:28:85) at Object.decryptPasswordAttachment (/Users/sdahlbacka/Work/passwork-cli-helper/node_modules/passwork-js/libs/passwork.js:80:39) at Object.attachment.getData (/Users/sdahlbacka/Work/passwork-cli-helper/node_modules/passwork-js/src/rest-modules/passwords.js:10:48) at file:///Users/sdahlbacka/Work/passwork-cli-helper/index.js:32:81 at processTicksAndRejections (internal/process/task_queues.js:95:5)
but the next second it might work successfully.
Is there something that needs to be awaited that is not?