Project

General

Profile

Edit Copy Actions

Bug #11123

closed

Contact us in e-commerce not working , got 500 internal server error

Added by Yalavarthi Thriveni 7 days ago. Updated 7 days ago.

Status:
Closed
Priority:
High
Start date:
09/28/2026
Due date:
% Done:

0%

Estimated time:
1:00 h
Spent time:
Tested Date:
09/28/2026
Raised by Tester:
Page/ Module (POS):
E commerce

Description

http://localhost:3007/api/v1/nus-shop/submit-contact?slug=nursery%2Fevergreen
request :{"name":"Thriveni Yalavarthi","email":"","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)"
}


Add

Subtasks


Add

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:

Edit Copy Actions

Also available in: Atom PDF