Facing error while post query

Error creating user TypeError: Cannot read properties of undefined (reading ‘create’)

May 16 03:49:28 PM at /opt/render/project/src/backend/index.js:30:49

May 16 03:49:28 PM at process.processTicksAndRejections (node:internal/process/task_queues:95:5)

The same create property is working when i am using local server . and postman for testing , than i am able to create new query from user input .
Here i have describe more about my error .


There will always be differences between environments: development mode/Local, production mode/Render, etc. These differences need to be considered and configured as required for your own app in each environment.

It sounds like your issue is related to a database connection, and note the POST request itself.

I’d suggest reviewing your service logs.