KMS - Malformed UTF-8 data error

When running KMS you may face an error looking as seen below or similar.

Error example:

Error: Malformed UTF-8 data
    at Object.stringify (/usr/src/app/node_modules/crypto-js/core.js:523:24)
    at WordArray.init.toString (/usr/src/app/node_modules/crypto-js/core.js:278:38)
    at getManagedWallets (/usr/src/app/dist/management.js:116:67)
    at processPendingTransactions (/usr/src/app/dist/signatures.js:418:64)
    at Timeout._onTimeout (/usr/src/app/dist/signatures.js:409:15)
    at listOnTimeout (node:internal/timers:569:17)
    at process.processTimers (node:internal/timers:512:7)

The solution

Make sure the password you are using in KMS is correct.

📘

Additional error information is available in this GitHub issue.