Bug #11123
closedContact us in e-commerce not working , got 500 internal server error
Description
http://localhost:3007/api/v1/nus-shop/submit-contact?slug=nursery%2Fevergreen
request :{"name":"Thriveni Yalavarthi","email":"ythriveni65@gmail.com","phone":"09160125353","message":"Can you update about navarathri festival offers ","slug":"nursery/evergreen","timezone":"America/New_York"}
response : {
"status": "error",
"error": "document must have an _id before saving",
"stack": "MongooseError: document must have an _id before saving\n at C:\\thriveni\\folder f\\POS\\EGF_POS\\evergreen_pos_be\\node_modules\\mongoose\\lib\\model.js:368:18\n at process.processTicksAndRejections (node:internal/process/task_queues:84:11)"
}
Subtasks
Related issues
Updated by Yalavarthi Thriveni 7 days ago
- Status changed from New to Closed
- Assignee changed from Ajit A to Yalavarthi Thriveni
This issue occur die to schema related issue for The error MongooseError: document must have an _id before saving occurred during ContactSubmissionModel.create(...) in shopController.publicSubmitContact: