Not able to save Stock Entry, Purchase Receipt

I am getting request time out error when trying to submit documents like SE and PR. Below is from frappe log.

Site: sitename.site.com
Form Dict: {‘doc’: ‘{“name":“STE-UDDP-28-01-25-000415”,“owner”:"xyz@stellapps.com”,“creation”:“2025-01-28 15:12:33.917559”,“modified”:“2025-01-28 15:12:33.917559",“modified_by”:"xyz@stellapps.com”,“docstatus”:0,“idx”:0,“naming_series”:“MAT-STE-.YYYY.-”,“stock_entry_type”:“Material Receipt”,“purpose”:“Material Receipt”,“add_to_transit”:0,“is_balancing_entry”:1,“company”:“MOOMARK-UDDP”,“posting_date”:“2025-01-16”,“posting_time”:“15:12:26”,“set_posting_time”:1,“inspection_required”:0,“apply_putaway_rule”:0,“from_bom”:0,“use_multi_level_bom”:1,“fg_completed_qty”:0,“process_loss_percentage”:0,“process_loss_qty”:0,“total_outgoing_value”:0,“total_incoming_value”:4.66,“value_difference”:4.66,“total_additional_costs”:0,“letter_head”:“mooMark”,“is_opening”:“No”,“per_transferred”:0,“total_amount”:4.66,“is_return”:0,“custom_mdn”:“MDN-UDDP-28-01-25-000153”,“doctype”:“Stock Entry”,“additional_costs”:,“items”:[{“name":“e47ce5d02f”,“owner”:"xyz@stellapps.com”,“creation”:“2025-01-28 15:12:33.917559”,“modified”:“2025-01-28 15:12:33.917559",“modified_by”:"xyz@stellapps.com”,“docstatus”:0,“idx”:1,“has_item_scanned”:0,“t_warehouse”:“OMSDEMO1_97671060 - UDDP”,“item_code”:“Mixed Milk”,“item_name”:“Mixed Milk”,“is_finished_item”:0,“is_scrap_item”:0,“description”:“Mixed Milk”,“item_group”:“dairy”,“qty”:0.1,“transfer_qty”:0.1,“retain_sample”:0,“uom”:“Litre”,“stock_uom”:“Litre”,“conversion_factor”:1,“sample_quantity”:0,“basic_rate”:46.569938012,“additional_cost”:0,“valuation_rate”:46.569938012,“allow_zero_valuation_rate”:0,“set_basic_rate_manually”:0,“basic_amount”:4.66,“amount”:4.66,“custom_fat”:0,“custom_snf”:0,“custom_ts”:0.1,“custom_fat_kg”:0,“custom_snf_kg”:0,“custom_kg_ts”:0.2,“expense_account”:“Stock Adjustment - UDDP”,“cost_center”:“Main - UDDP”,“actual_qty”:0,“transferred_qty”:0,“allow_alternative_item”:0,“custom_is_converted”:0,“parent”:“STE-UDDP-28-01-25-000415”,“parentfield”:“items”,“parenttype”:“Stock Entry”,“doctype”:“Stock Entry Detail”}],“__last_sync_on”:“2025-01-28T10:04:25.450Z”,“address_display”:null,“purchase_receipt_no”:null,“supplier_address”:null,“supplier_name”:null,“supplier”:null,“sales_invoice_no”:null,“delivery_note_no”:null,“customer_address”:null,“customer_name”:null,“customer”:null}’, ‘action’: ‘Submit’, ‘cmd’: ‘frappe.desk.form.save.savedocs’}
2025-01-28 16:16:50,274 ERROR frappe New Exception collected with id: 2025-01-28 16:16:50.253862-106.51.85.9-1e5

Okay, I observed this happening with some particular company. If I select other company transactions are happening smoothly without delay.