My code works fine on my local machine and it was working before on fly.io but now I keep getting this error on fly.io when I view the app logs because i wanted to redeploy and I didn’t make any changes to the code. However, my program works fine on my local machine.
2022-09-16T22:24:00Z app[df0bca05] dfw [info]node:internal/process/promises:288
2022-09-16T22:24:00Z app[df0bca05] dfw [info] triggerUncaughtException(err, true /* fromPromise */);
2022-09-16T22:24:00Z app[df0bca05] dfw [info] ^
2022-09-16T22:24:00Z app[df0bca05] dfw [info][UnhandledPromiseRejection: This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). The promise rejected with the reason “AxiosError: Request failed with status code 400”.] {
2022-09-16T22:24:00Z app[df0bca05] dfw [info] code: ‘ERR_UNHANDLED_REJECTION’
2022-09-16T22:24:00Z app[df0bca05] dfw [info]}