POST api/upload have 400 Bad Request when use FormData in NextJS

From the topic, how to solve.

This topic has been created from a Discord post (1247711256081858591) to give it more visibility.
It will be on Read-Only mode here.
Join the conversation on Discord