Facing Status Code 500: Internal Server Error

Deployed application : FastAPI - Swagger UI

I have deployed the python + fastapi through koyeb and it runs perfectly fine for GET request. But while using POST request, I face 500 : Internal Server Error.

It runs fine locally. This can be tested through the /docs endpoint here.
Any help on the same appreciated.