express.js, node.js login issue troubleshooting

Job ID: 37184214

Budget: $10 – $30 AUD

Website is developed in React.JS and Node.js (Express.js + Next.js) I get login page and enter username, password and captcha correctly and click Login. But get bad gateway issue.

In working scenario, code should check if 2FA is set or not. If it does, then it should validate TOTP code in next page. And if 2FA not set then dashboard should be loaded.
I can see that a POST request is created but response results in bad gateway.

You will be working remotely on my PC for this one.
Related categories: JavaScript MySQL Node.js Express JS React.js