Application Logs
error.log
api_2026-02-25.log
api_2026-02-14.log
api_2026-02-05.log
api_2026-02-04.log
api_2026-02-03.log
api_2026-01-27.log
api_2026-01-25.log
api_2026-01-24.log
api_2026-01-23.log
api_2026-01-21.log
api_2026-01-19.log
api_2026-01-18.log
api_2026-01-17.log
api_2026-01-14.log
api_2026-01-13.log
api_2026-01-12.log
api_2026-01-10.log
api_2026-01-09.log
api_2026-01-08.log
api_2026-01-07.log
2026-02-25.log
2026-02-23.log
2026-02-17.log
2026-02-16.log
2026-02-14.log
2026-02-12.log
2026-02-10.log
2026-02-09.log
2026-02-08.log
2026-02-07.log
2026-02-06.log
2026-02-05.log
2026-02-04.log
2026-02-03.log
2026-02-02.log
2026-01-31.log
2026-01-29.log
2026-01-28.log
2026-01-27.log
2026-01-26.log
2026-01-25.log
2026-01-24.log
2026-01-23.log
2026-01-22.log
2026-01-21.log
2026-01-20.log
2026-01-19.log
2026-01-18.log
2026-01-17.log
2026-01-16.log
2026-01-14.log
2026-01-13.log
2026-01-12.log
2026-01-11.log
2026-01-10.log
2026-01-09.log
2026-01-08.log
2026-01-07.log
[2026-01-08 09:53:12] [DEBUG] Webhook received: {"customer_name": "Mr. Goutam Chakraborty", "sender": "919831101730", "integrated_number": "919830432584", "company_id": 466552, "content_type": "text", "received_at": "2026-01-08 04:23:12", "replied_message_id": null, "message_uuid": "wamid.HBgMOTE5ODMxMTAxNzMwFQIAEhggQUMxREFDRjE0RDM2MERDMTZCQUI4MzI3QjQwNTREOTcA", "direction": 0, "text": "EXPLAIN", "contacts": [{"profile": {"name": "Mr. Goutam Chakraborty"}, "wa_id": "919831101730"}], "messages": [{"from": "919831101730", "id": "wamid.HBgMOTE5ODMxMTAxNzMwFQIAEhggQUMxREFDRjE0RDM2MERDMTZCQUI4MzI3QjQwNTREOTcA", "timestamp": "1767846188", "text": {"body": "EXPLAIN"}, "type": "text"}], "template_name": null, "template_language": null}
[2026-01-08 09:53:12] [INFO] Processing message from 919831101730: EXPLAIN
[2026-01-08 09:53:12] [INFO] Sending upload button to 919831101730
[2026-01-08 09:53:12] [DEBUG] MSG91 Sending to: https://api.msg91.com/api/v5/whatsapp/whatsapp-outbound-message/
[2026-01-08 09:53:12] [DEBUG] MSG91 Payload: {"integrated_number":"919830432584","content_type":"interactive","recipient_number":"919831101730","interactive":{"type":"cta_url","body":{"text":"Hello Mr. Goutam Chakraborty! Welcome to Prescription Explainer!\n\nI help you understand your medical prescriptions in simple language.\n\n\ud83d\udcf8 Please upload a CLEAR image for best results.\n\nTap the button below to upload your prescription:"},"action":{"name":"cta_url","parameters":{"display_text":"Upload Prescription","url":"https:\/\/wf1.feliz.health\/upload.php?phone=919831101730&name=Mr.+Goutam+Chakraborty"}}}}
[2026-01-08 09:53:12] [DEBUG] Webhook received: {"crqid":"","companyId":"466552","requestedAt":"2026-01-08T09:53:12+05:30","customerNumber":"919831101730","requestId":"","reason":"","eventName":"delivered","uuid":"wamid.HBgMOTE5ODMxMTAxNzMwFQIAEhggQUMxREFDRjE0RDM2MERDMTZCQUI4MzI3QjQwNTREOTcA_hello","integratedNumber":"919830432584","templateName":"","templateLanguage":"","replyMsgId":"","conversationExpTimestamp":"","pluginsource":"","customerName":"Mr. Goutam Chakraborty","contentType":"text","text":"EXPLAIN","latitude":"","longitude":"","caption":"","filename":"","url":"","button":"","contacts":"[{\"profile\":{\"name\":\"Mr. Goutam Chakraborty\"},\"wa_id\":\"919831101730\"}]","reaction":"","interactive":"","orders":"","messages":"[{\"from\":\"919831101730\",\"id\":\"wamid.HBgMOTE5ODMxMTAxNzMwFQIAEhggQUMxREFDRjE0RDM2MERDMTZCQUI4MzI3QjQwNTREOTcA\",\"timestamp\":\"1767846188\",\"text\":{\"body\":\"EXPLAIN\"},\"type\":\"text\"}]","ts":"2026-01-08T09:53:12+05:30"}
[2026-01-08 09:53:12] [DEBUG] Ignoring event: delivered
[2026-01-08 09:53:12] [DEBUG] Webhook received: {"crqid":"","companyId":"466552","requestedAt":"2026-01-08T09:53:12+05:30","customerNumber":"919831101730","requestId":"","reason":"","eventName":"","uuid":"wamid.HBgMOTE5ODMxMTAxNzMwFQIAEhggQUMxREFDRjE0RDM2MERDMTZCQUI4MzI3QjQwNTREOTcA_hello","integratedNumber":"919830432584","templateName":"","templateLanguage":"","replyMsgId":"","conversationExpTimestamp":"","pluginsource":"","customerName":"Mr. Goutam Chakraborty","contentType":"text","text":"EXPLAIN","latitude":"","longitude":"","caption":"","filename":"","url":"","button":"","contacts":"[{\"profile\":{\"name\":\"Mr. Goutam Chakraborty\"},\"wa_id\":\"919831101730\"}]","reaction":"","interactive":"","orders":"","messages":"[{\"from\":\"919831101730\",\"id\":\"wamid.HBgMOTE5ODMxMTAxNzMwFQIAEhggQUMxREFDRjE0RDM2MERDMTZCQUI4MzI3QjQwNTREOTcA\",\"timestamp\":\"1767846188\",\"text\":{\"body\":\"EXPLAIN\"},\"type\":\"text\"}]","ts":"2026-01-08T09:53:12+05:30"}
[2026-01-08 09:53:12] [DEBUG] Duplicate message ignored: wamid.HBgMOTE5ODMxMTAxNzMwFQIAEhggQUMxREFDRjE0RDM2MERDMTZCQUI4MzI3QjQwNTREOTcA
[2026-01-08 09:53:12] [DEBUG] MSG91 Response [200]: {"status": "success", "hasError": false, "data": {"message_uuid": "9a74cb5845864d8589fdfc46b28430d5", "message": "Your request is in process, please check delivery report for status"}, "errors": null}
[2026-01-08 09:53:34] Upload started - Phone: 919831101730, Lang: bn
[2026-01-08 09:53:34] File saved: rx_695f314639381.jpg
[2026-01-08 09:53:34] Serial: 260108001, Starting OpenAI...
[2026-01-08 09:54:04] OpenAI success for 260108001
[2026-01-08 09:54:04] Saved to DB: prescription 12
[2026-01-08 09:54:58] [DEBUG] MSG91 Sending to: https://api.msg91.com/api/v5/whatsapp/whatsapp-outbound-message/
[2026-01-08 09:54:58] [DEBUG] MSG91 Payload: {"integrated_number":"919830432584","content_type":"text","recipient_number":"919831101730","text":"\u2705 *Booking Confirmed!*\n\n\ud83d\udccb *Booking ID:* BK260108001\n\ud83d\udcc5 *Date:* 10 Jan 2026\n\u23f0 *Time:* 11:30 AM\n\ud83d\udd2c *Tests:* Widal Test, Dengue NS1\n\nYou will receive updates on WhatsApp."}
[2026-01-08 09:54:59] [DEBUG] MSG91 Response [200]: {"status": "success", "hasError": false, "data": {"message_uuid": "0c7f93a07c684e03b638e9d8880fe226", "message": "Your request is in process, please check delivery report for status"}, "errors": null}
[2026-01-08 09:55:04] [DEBUG] MSG91 Sending to: https://api.msg91.com/api/v5/whatsapp/whatsapp-outbound-message/
[2026-01-08 09:55:04] [DEBUG] MSG91 Payload: {"integrated_number":"919830432584","content_type":"text","recipient_number":"919831101730","text":"Thank you for using Prescription Explainer! \ud83d\ude4f\n\n\ud83d\udccb *Analyze another prescription?*\nSend: EXPLAIN\n\n\ud83d\udcc2 *View your prescriptions:*\nhttps:\/\/wf1.feliz.health\/my-prescriptions.php?phone=919831101730"}
[2026-01-08 09:55:04] [DEBUG] MSG91 Response [200]: {"status": "success", "hasError": false, "data": {"message_uuid": "5efe56cdd4ba46519ab9069c35115584", "message": "Your request is in process, please check delivery report for status"}, "errors": null}
[2026-01-08 09:57:00] [DEBUG] MSG91 Sending to: https://api.msg91.com/api/v5/whatsapp/whatsapp-outbound-message/
[2026-01-08 09:57:00] [DEBUG] MSG91 Payload: {"integrated_number":"919830432584","content_type":"text","recipient_number":"919831101730","text":"\u2705 *Booking Update*\n\n\ud83d\udccb *Booking ID:* BK260108001\n\ud83d\udcca *Status:* Confirmed\n\ud83d\udcc5 *Date:* 10 Jan 2026\n\u23f0 *Time:* 11:30 AM\n\ud83d\udd2c *Tests:* Widal Test, Dengue NS1\n\n\ud83d\udcac *Note:* Hi your booking is confirmed"}
[2026-01-08 09:57:01] [DEBUG] MSG91 Response [200]: {"status": "success", "hasError": false, "data": {"message_uuid": "d2ce7d3a3a8a43d982ca92d8baab7db9", "message": "Your request is in process, please check delivery report for status"}, "errors": null}
[2026-01-08 15:59:10] [DEBUG] Webhook received: {"customer_name": "Suvranil Nath", "sender": "919830946010", "integrated_number": "919830432584", "company_id": 466552, "content_type": "text", "received_at": "2026-01-08 10:29:08", "replied_message_id": null, "message_uuid": "wamid.HBgMOTE5ODMwOTQ2MDEwFQIAEhggQUM3NTc0MEIwQjU4QTU3NkZGNTEzQ0RFMkFBMDI2NEUA", "direction": 0, "text": "EXPLAIN", "contacts": [{"profile": {"name": "Suvranil Nath"}, "wa_id": "919830946010"}], "messages": [{"from": "919830946010", "id": "wamid.HBgMOTE5ODMwOTQ2MDEwFQIAEhggQUM3NTc0MEIwQjU4QTU3NkZGNTEzQ0RFMkFBMDI2NEUA", "timestamp": "1767868145", "text": {"body": "EXPLAIN"}, "type": "text"}], "template_name": null, "template_language": null}
[2026-01-08 15:59:10] [INFO] Processing message from 919830946010: EXPLAIN
[2026-01-08 15:59:10] [INFO] Sending upload button to 919830946010
[2026-01-08 15:59:10] [DEBUG] MSG91 Sending to: https://api.msg91.com/api/v5/whatsapp/whatsapp-outbound-message/
[2026-01-08 15:59:10] [DEBUG] MSG91 Payload: {"integrated_number":"919830432584","content_type":"interactive","recipient_number":"919830946010","interactive":{"type":"cta_url","body":{"text":"Hello Suvranil Nath! Welcome to Prescription Explainer!\n\nI help you understand your medical prescriptions in simple language.\n\n\ud83d\udcf8 Please upload a CLEAR image for best results.\n\nTap the button below to upload your prescription:"},"action":{"name":"cta_url","parameters":{"display_text":"Upload Prescription","url":"https:\/\/wf1.feliz.health\/upload.php?phone=919830946010&name=Suvranil+Nath"}}}}
[2026-01-08 15:59:10] [DEBUG] MSG91 Response [200]: {"status": "success", "hasError": false, "data": {"message_uuid": "57bb444c0df842b2bf0aa2d1c726352e", "message": "Your request is in process, please check delivery report for status"}, "errors": null}
[2026-01-08 15:59:14] [DEBUG] Webhook received: {"crqid":"","companyId":"466552","requestedAt":"2026-01-08T15:59:08+05:30","customerNumber":"919830946010","requestId":"","reason":"","eventName":"delivered","uuid":"wamid.HBgMOTE5ODMwOTQ2MDEwFQIAEhggQUM3NTc0MEIwQjU4QTU3NkZGNTEzQ0RFMkFBMDI2NEUA_hello","integratedNumber":"919830432584","templateName":"","templateLanguage":"","replyMsgId":"","conversationExpTimestamp":"","pluginsource":"","customerName":"Suvranil Nath","contentType":"text","text":"EXPLAIN","latitude":"","longitude":"","caption":"","filename":"","url":"","button":"","contacts":"[{\"profile\":{\"name\":\"Suvranil Nath\"},\"wa_id\":\"919830946010\"}]","reaction":"","interactive":"","orders":"","messages":"[{\"from\":\"919830946010\",\"id\":\"wamid.HBgMOTE5ODMwOTQ2MDEwFQIAEhggQUM3NTc0MEIwQjU4QTU3NkZGNTEzQ0RFMkFBMDI2NEUA\",\"timestamp\":\"1767868145\",\"text\":{\"body\":\"EXPLAIN\"},\"type\":\"text\"}]","ts":"2026-01-08T15:59:13+05:30"}
[2026-01-08 15:59:14] [DEBUG] Ignoring event: delivered
[2026-01-08 15:59:14] [DEBUG] Webhook received: {"crqid":"","companyId":"466552","requestedAt":"2026-01-08T15:59:08+05:30","customerNumber":"919830946010","requestId":"","reason":"","eventName":"","uuid":"wamid.HBgMOTE5ODMwOTQ2MDEwFQIAEhggQUM3NTc0MEIwQjU4QTU3NkZGNTEzQ0RFMkFBMDI2NEUA_hello","integratedNumber":"919830432584","templateName":"","templateLanguage":"","replyMsgId":"","conversationExpTimestamp":"","pluginsource":"","customerName":"Suvranil Nath","contentType":"text","text":"EXPLAIN","latitude":"","longitude":"","caption":"","filename":"","url":"","button":"","contacts":"[{\"profile\":{\"name\":\"Suvranil Nath\"},\"wa_id\":\"919830946010\"}]","reaction":"","interactive":"","orders":"","messages":"[{\"from\":\"919830946010\",\"id\":\"wamid.HBgMOTE5ODMwOTQ2MDEwFQIAEhggQUM3NTc0MEIwQjU4QTU3NkZGNTEzQ0RFMkFBMDI2NEUA\",\"timestamp\":\"1767868145\",\"text\":{\"body\":\"EXPLAIN\"},\"type\":\"text\"}]","ts":"2026-01-08T15:59:13+05:30"}
[2026-01-08 15:59:14] [DEBUG] Duplicate message ignored: wamid.HBgMOTE5ODMwOTQ2MDEwFQIAEhggQUM3NTc0MEIwQjU4QTU3NkZGNTEzQ0RFMkFBMDI2NEUA
[2026-01-08 15:59:27] Upload started - Phone: 919830946010, Lang: en
[2026-01-08 15:59:27] File saved: rx_695f8707b5d1a.jpg
[2026-01-08 15:59:27] Serial: 260108002, Starting OpenAI...
[2026-01-08 15:59:47] OpenAI success for 260108002
[2026-01-08 15:59:47] Saved to DB: prescription 13
[2026-01-08 16:00:20] [DEBUG] MSG91 Sending to: https://api.msg91.com/api/v5/whatsapp/whatsapp-outbound-message/
[2026-01-08 16:00:20] [DEBUG] MSG91 Payload: {"integrated_number":"919830432584","content_type":"text","recipient_number":"919830946010","text":"\u2705 *Booking Confirmed!*\n\n\ud83d\udccb *Booking ID:* BK260108002\n\ud83d\udcc5 *Date:* 15 Jan 2026\n\u23f0 *Time:* 10:00 AM\n\ud83d\udd2c *Tests:* CBC, MP\n\nYou will receive updates on WhatsApp."}
[2026-01-08 16:00:20] [DEBUG] MSG91 Response [200]: {"status": "success", "hasError": false, "data": {"message_uuid": "27bf8f37bef343968dc11ed8ee77dea6", "message": "Your request is in process, please check delivery report for status"}, "errors": null}
[2026-01-08 16:00:24] [DEBUG] MSG91 Sending to: https://api.msg91.com/api/v5/whatsapp/whatsapp-outbound-message/
[2026-01-08 16:00:24] [DEBUG] MSG91 Payload: {"integrated_number":"919830432584","content_type":"text","recipient_number":"919830946010","text":"Thank you for using Prescription Explainer! \ud83d\ude4f\n\n\ud83d\udccb *Analyze another prescription?*\nSend: EXPLAIN\n\n\ud83d\udcc2 *View your prescriptions:*\nhttps:\/\/wf1.feliz.health\/my-prescriptions.php?phone=919830946010"}
[2026-01-08 16:00:24] [DEBUG] MSG91 Response [200]: {"status": "success", "hasError": false, "data": {"message_uuid": "99dc094d28f84476a3a40a418ffa3ff5", "message": "Your request is in process, please check delivery report for status"}, "errors": null}
[2026-01-08 16:04:03] [DEBUG] Webhook received: {"customer_name": "Maharaj \ud83d\udc51", "sender": "919038443393", "integrated_number": "919830432584", "company_id": 466552, "content_type": "text", "received_at": "2026-01-08 10:34:02", "replied_message_id": null, "message_uuid": "wamid.HBgMOTE5MDM4NDQzMzkzFQIAEhggQUM1QTM0QTQxMTk2MUU5RjRCM0U1NUU2MDlBODQwM0QA", "direction": 0, "text": "EXPLAIN", "contacts": [{"profile": {"name": "Maharaj \ud83d\udc51"}, "wa_id": "919038443393"}], "messages": [{"from": "919038443393", "id": "wamid.HBgMOTE5MDM4NDQzMzkzFQIAEhggQUM1QTM0QTQxMTk2MUU5RjRCM0U1NUU2MDlBODQwM0QA", "timestamp": "1767868440", "text": {"body": "EXPLAIN"}, "type": "text"}], "template_name": null, "template_language": null}
[2026-01-08 16:04:03] [INFO] Processing message from 919038443393: EXPLAIN
[2026-01-08 16:04:03] [INFO] Sending upload button to 919038443393
[2026-01-08 16:04:03] [DEBUG] MSG91 Sending to: https://api.msg91.com/api/v5/whatsapp/whatsapp-outbound-message/
[2026-01-08 16:04:03] [DEBUG] MSG91 Payload: {"integrated_number":"919830432584","content_type":"interactive","recipient_number":"919038443393","interactive":{"type":"cta_url","body":{"text":"Hello Maharaj \ud83d\udc51! Welcome to Prescription Explainer!\n\nI help you understand your medical prescriptions in simple language.\n\n\ud83d\udcf8 Please upload a CLEAR image for best results.\n\nTap the button below to upload your prescription:"},"action":{"name":"cta_url","parameters":{"display_text":"Upload Prescription","url":"https:\/\/wf1.feliz.health\/upload.php?phone=919038443393&name=Maharaj+%F0%9F%91%91"}}}}
[2026-01-08 16:04:04] [DEBUG] MSG91 Response [200]: {"status": "success", "hasError": false, "data": {"message_uuid": "e6061af7234a4aff9d75d62636bf671e", "message": "Your request is in process, please check delivery report for status"}, "errors": null}
[2026-01-08 16:04:06] [DEBUG] Webhook received: {"crqid":"","companyId":"466552","requestedAt":"2026-01-08T16:04:02+05:30","customerNumber":"919038443393","requestId":"","reason":"","eventName":"delivered","uuid":"wamid.HBgMOTE5MDM4NDQzMzkzFQIAEhggQUM1QTM0QTQxMTk2MUU5RjRCM0U1NUU2MDlBODQwM0QA_hello","integratedNumber":"919830432584","templateName":"","templateLanguage":"","replyMsgId":"","conversationExpTimestamp":"","pluginsource":"","customerName":"Maharaj 👑","contentType":"text","text":"EXPLAIN","latitude":"","longitude":"","caption":"","filename":"","url":"","button":"","contacts":"[{\"profile\":{\"name\":\"Maharaj 👑\"},\"wa_id\":\"919038443393\"}]","reaction":"","interactive":"","orders":"","messages":"[{\"from\":\"919038443393\",\"id\":\"wamid.HBgMOTE5MDM4NDQzMzkzFQIAEhggQUM1QTM0QTQxMTk2MUU5RjRCM0U1NUU2MDlBODQwM0QA\",\"timestamp\":\"1767868440\",\"text\":{\"body\":\"EXPLAIN\"},\"type\":\"text\"}]","ts":"2026-01-08T16:04:06+05:30"}
[2026-01-08 16:04:06] [DEBUG] Ignoring event: delivered
[2026-01-08 16:09:16] Upload started - Phone: 919038443393, Lang: en
[2026-01-08 16:09:16] File saved: rx_695f8954c01a7.jpg
[2026-01-08 16:09:16] Serial: 260108003, Starting OpenAI...
[2026-01-08 16:09:19] OpenAI success for 260108003
[2026-01-08 16:09:19] Saved to DB: prescription 14
[2026-01-08 16:09:44] [DEBUG] MSG91 Sending to: https://api.msg91.com/api/v5/whatsapp/whatsapp-outbound-message/
[2026-01-08 16:09:44] [DEBUG] MSG91 Payload: {"integrated_number":"919830432584","content_type":"text","recipient_number":"919038443393","text":"Thank you for using Prescription Explainer! \ud83d\ude4f\n\n\ud83d\udccb *Analyze another prescription?*\nSend: EXPLAIN\n\n\ud83d\udcc2 *View your prescriptions:*\nhttps:\/\/wf1.feliz.health\/my-prescriptions.php?phone=919038443393"}
[2026-01-08 16:09:44] [DEBUG] MSG91 Response [200]: {"status": "success", "hasError": false, "data": {"message_uuid": "27056ce8c8f849d3997665bf2d58bf16", "message": "Your request is in process, please check delivery report for status"}, "errors": null}
[2026-01-08 16:12:00] [DEBUG] Webhook received: {"customer_name": "Maharaj \ud83d\udc51", "sender": "919038443393", "integrated_number": "919830432584", "company_id": 466552, "content_type": "text", "received_at": "2026-01-08 10:41:59", "replied_message_id": null, "message_uuid": "wamid.HBgMOTE5MDM4NDQzMzkzFQIAEhggQUMwRjVFREI3M0I2NjlCRTk1RTk3MzJEMDZGQjAxQTMA", "direction": 0, "text": "EXPLAIN", "contacts": [{"profile": {"name": "Maharaj \ud83d\udc51"}, "wa_id": "919038443393"}], "messages": [{"from": "919038443393", "id": "wamid.HBgMOTE5MDM4NDQzMzkzFQIAEhggQUMwRjVFREI3M0I2NjlCRTk1RTk3MzJEMDZGQjAxQTMA", "timestamp": "1767868918", "text": {"body": "EXPLAIN"}, "type": "text"}], "template_name": null, "template_language": null}
[2026-01-08 16:12:00] [INFO] Processing message from 919038443393: EXPLAIN
[2026-01-08 16:12:00] [INFO] Sending upload button to 919038443393
[2026-01-08 16:12:00] [DEBUG] MSG91 Sending to: https://api.msg91.com/api/v5/whatsapp/whatsapp-outbound-message/
[2026-01-08 16:12:00] [DEBUG] MSG91 Payload: {"integrated_number":"919830432584","content_type":"interactive","recipient_number":"919038443393","interactive":{"type":"cta_url","body":{"text":"Hello Maharaj \ud83d\udc51! Welcome to Prescription Explainer!\n\nI help you understand your medical prescriptions in simple language.\n\n\ud83d\udcf8 Please upload a CLEAR image for best results.\n\nTap the button below to upload your prescription:"},"action":{"name":"cta_url","parameters":{"display_text":"Upload Prescription","url":"https:\/\/wf1.feliz.health\/upload.php?phone=919038443393&name=Maharaj+%F0%9F%91%91"}}}}
[2026-01-08 16:12:00] [DEBUG] MSG91 Response [200]: {"status": "success", "hasError": false, "data": {"message_uuid": "36cdac852d254d4e8de31d67b73366c0", "message": "Your request is in process, please check delivery report for status"}, "errors": null}
[2026-01-08 16:12:03] [DEBUG] Webhook received: {"crqid":"","companyId":"466552","requestedAt":"2026-01-08T16:11:59+05:30","customerNumber":"919038443393","requestId":"","reason":"","eventName":"","uuid":"wamid.HBgMOTE5MDM4NDQzMzkzFQIAEhggQUMwRjVFREI3M0I2NjlCRTk1RTk3MzJEMDZGQjAxQTMA_hello","integratedNumber":"919830432584","templateName":"","templateLanguage":"","replyMsgId":"","conversationExpTimestamp":"","pluginsource":"","customerName":"Maharaj 👑","contentType":"text","text":"EXPLAIN","latitude":"","longitude":"","caption":"","filename":"","url":"","button":"","contacts":"[{\"profile\":{\"name\":\"Maharaj 👑\"},\"wa_id\":\"919038443393\"}]","reaction":"","interactive":"","orders":"","messages":"[{\"from\":\"919038443393\",\"id\":\"wamid.HBgMOTE5MDM4NDQzMzkzFQIAEhggQUMwRjVFREI3M0I2NjlCRTk1RTk3MzJEMDZGQjAxQTMA\",\"timestamp\":\"1767868918\",\"text\":{\"body\":\"EXPLAIN\"},\"type\":\"text\"}]","ts":"2026-01-08T16:12:02+05:30"}
[2026-01-08 16:12:03] [DEBUG] Duplicate message ignored: wamid.HBgMOTE5MDM4NDQzMzkzFQIAEhggQUMwRjVFREI3M0I2NjlCRTk1RTk3MzJEMDZGQjAxQTMA
[2026-01-08 16:12:04] [DEBUG] Webhook received: {"crqid":"","companyId":"466552","requestedAt":"2026-01-08T16:11:59+05:30","customerNumber":"919038443393","requestId":"","reason":"","eventName":"delivered","uuid":"wamid.HBgMOTE5MDM4NDQzMzkzFQIAEhggQUMwRjVFREI3M0I2NjlCRTk1RTk3MzJEMDZGQjAxQTMA_hello","integratedNumber":"919830432584","templateName":"","templateLanguage":"","replyMsgId":"","conversationExpTimestamp":"","pluginsource":"","customerName":"Maharaj 👑","contentType":"text","text":"EXPLAIN","latitude":"","longitude":"","caption":"","filename":"","url":"","button":"","contacts":"[{\"profile\":{\"name\":\"Maharaj 👑\"},\"wa_id\":\"919038443393\"}]","reaction":"","interactive":"","orders":"","messages":"[{\"from\":\"919038443393\",\"id\":\"wamid.HBgMOTE5MDM4NDQzMzkzFQIAEhggQUMwRjVFREI3M0I2NjlCRTk1RTk3MzJEMDZGQjAxQTMA\",\"timestamp\":\"1767868918\",\"text\":{\"body\":\"EXPLAIN\"},\"type\":\"text\"}]","ts":"2026-01-08T16:12:02+05:30"}
[2026-01-08 16:12:04] [DEBUG] Ignoring event: delivered
[2026-01-08 16:12:29] Upload started - Phone: 919038443393, Lang: en
[2026-01-08 16:12:29] File saved: rx_695f8a157b2f8.jpg
[2026-01-08 16:12:29] Serial: 260108004, Starting OpenAI...
[2026-01-08 16:12:43] OpenAI success for 260108004
[2026-01-08 16:12:43] Saved to DB: prescription 15
[2026-01-08 16:38:41] [DEBUG] Webhook received: {"customer_name": "Maharaj \ud83d\udc51", "sender": "919038443393", "integrated_number": "919830432584", "company_id": 466552, "content_type": "text", "received_at": "2026-01-08 11:08:41", "replied_message_id": null, "message_uuid": "wamid.HBgMOTE5MDM4NDQzMzkzFQIAEhggQUM5MkM0NDc3MjBFMTMwQ0Q4QkRGNTBBREE0RDgwRDMA", "direction": 0, "text": "EXPLAIN", "contacts": [{"profile": {"name": "Maharaj \ud83d\udc51"}, "wa_id": "919038443393"}], "messages": [{"from": "919038443393", "id": "wamid.HBgMOTE5MDM4NDQzMzkzFQIAEhggQUM5MkM0NDc3MjBFMTMwQ0Q4QkRGNTBBREE0RDgwRDMA", "timestamp": "1767870519", "text": {"body": "EXPLAIN"}, "type": "text"}], "template_name": null, "template_language": null}
[2026-01-08 16:38:41] [INFO] Processing message from 919038443393: EXPLAIN
[2026-01-08 16:38:41] [INFO] Sending upload button to 919038443393
[2026-01-08 16:38:41] [DEBUG] MSG91 Sending to: https://api.msg91.com/api/v5/whatsapp/whatsapp-outbound-message/
[2026-01-08 16:38:41] [DEBUG] MSG91 Payload: {"integrated_number":"919830432584","content_type":"interactive","recipient_number":"919038443393","interactive":{"type":"cta_url","body":{"text":"Hello Maharaj \ud83d\udc51! Welcome to Prescription Explainer!\n\nI help you understand your medical prescriptions in simple language.\n\n\ud83d\udcf8 Please upload a CLEAR image for best results.\n\nTap the button below to upload your prescription:"},"action":{"name":"cta_url","parameters":{"display_text":"Upload Prescription","url":"https:\/\/wf1.feliz.health\/upload.php?phone=919038443393&name=Maharaj+%F0%9F%91%91"}}}}
[2026-01-08 16:38:41] [DEBUG] MSG91 Response [200]: {"status": "success", "hasError": false, "data": {"message_uuid": "c5d2afde7eb84debae894ecf14b79ce8", "message": "Your request is in process, please check delivery report for status"}, "errors": null}
[2026-01-08 16:38:45] [DEBUG] Webhook received: {"crqid":"","companyId":"466552","requestedAt":"2026-01-08T16:38:41+05:30","customerNumber":"919038443393","requestId":"","reason":"","eventName":"","uuid":"wamid.HBgMOTE5MDM4NDQzMzkzFQIAEhggQUM5MkM0NDc3MjBFMTMwQ0Q4QkRGNTBBREE0RDgwRDMA_hello","integratedNumber":"919830432584","templateName":"","templateLanguage":"","replyMsgId":"","conversationExpTimestamp":"","pluginsource":"","customerName":"Maharaj 👑","contentType":"text","text":"EXPLAIN","latitude":"","longitude":"","caption":"","filename":"","url":"","button":"","contacts":"[{\"profile\":{\"name\":\"Maharaj 👑\"},\"wa_id\":\"919038443393\"}]","reaction":"","interactive":"","orders":"","messages":"[{\"from\":\"919038443393\",\"id\":\"wamid.HBgMOTE5MDM4NDQzMzkzFQIAEhggQUM5MkM0NDc3MjBFMTMwQ0Q4QkRGNTBBREE0RDgwRDMA\",\"timestamp\":\"1767870519\",\"text\":{\"body\":\"EXPLAIN\"},\"type\":\"text\"}]","ts":"2026-01-08T16:38:44+05:30"}
[2026-01-08 16:38:45] [DEBUG] Duplicate message ignored: wamid.HBgMOTE5MDM4NDQzMzkzFQIAEhggQUM5MkM0NDc3MjBFMTMwQ0Q4QkRGNTBBREE0RDgwRDMA
[2026-01-08 16:38:46] [DEBUG] Webhook received: {"crqid":"","companyId":"466552","requestedAt":"2026-01-08T16:38:41+05:30","customerNumber":"919038443393","requestId":"","reason":"","eventName":"delivered","uuid":"wamid.HBgMOTE5MDM4NDQzMzkzFQIAEhggQUM5MkM0NDc3MjBFMTMwQ0Q4QkRGNTBBREE0RDgwRDMA_hello","integratedNumber":"919830432584","templateName":"","templateLanguage":"","replyMsgId":"","conversationExpTimestamp":"","pluginsource":"","customerName":"Maharaj 👑","contentType":"text","text":"EXPLAIN","latitude":"","longitude":"","caption":"","filename":"","url":"","button":"","contacts":"[{\"profile\":{\"name\":\"Maharaj 👑\"},\"wa_id\":\"919038443393\"}]","reaction":"","interactive":"","orders":"","messages":"[{\"from\":\"919038443393\",\"id\":\"wamid.HBgMOTE5MDM4NDQzMzkzFQIAEhggQUM5MkM0NDc3MjBFMTMwQ0Q4QkRGNTBBREE0RDgwRDMA\",\"timestamp\":\"1767870519\",\"text\":{\"body\":\"EXPLAIN\"},\"type\":\"text\"}]","ts":"2026-01-08T16:38:45+05:30"}
[2026-01-08 16:38:46] [DEBUG] Ignoring event: delivered
[2026-01-08 16:39:29] Upload started - Phone: 919038443393, Lang: en
[2026-01-08 16:39:29] File saved: rx_695f906936f19.jpg
[2026-01-08 16:39:29] Serial: 260108005, Starting OpenAI...
[2026-01-08 16:39:54] OpenAI success for 260108005
[2026-01-08 16:39:54] Saved to DB: prescription 16
[2026-01-08 16:40:36] [DEBUG] MSG91 Sending to: https://api.msg91.com/api/v5/whatsapp/whatsapp-outbound-message/
[2026-01-08 16:40:36] [DEBUG] MSG91 Payload: {"integrated_number":"919830432584","content_type":"text","recipient_number":"919038443393","text":"Thank you for using Prescription Explainer! \ud83d\ude4f\n\n\ud83d\udccb *Analyze another prescription?*\nSend: EXPLAIN\n\n\ud83d\udcc2 *View your prescriptions:*\nhttps:\/\/wf1.feliz.health\/my-prescriptions.php?phone=919038443393"}
[2026-01-08 16:40:36] [DEBUG] MSG91 Response [200]: {"status": "success", "hasError": false, "data": {"message_uuid": "ec7ab08e48724060b19e18e79d57be54", "message": "Your request is in process, please check delivery report for status"}, "errors": null}
[2026-01-08 20:27:55] [DEBUG] Webhook received: {"crqid":"","companyId":"466552","requestedAt":"2026-01-08T20:27:49+05:30","customerNumber":"919212256121","requestId":"","reason":"","eventName":"delivered","uuid":"wamid.HBgMOTE5MjEyMjU2MTIxFQIAEhggQUNCMEEzOTNDRjAzMDhDOUYxQjRFRDVCOTY0NEM4MUEA_hello","integratedNumber":"917596048865","templateName":"","templateLanguage":"","replyMsgId":"","conversationExpTimestamp":"","pluginsource":"","customerName":"vineet_ kumar9212","contentType":"text","text":"Hi","latitude":"","longitude":"","caption":"","filename":"","url":"","button":"","contacts":"[{\"profile\":{\"name\":\"vineet_ kumar9212\"},\"wa_id\":\"919212256121\"}]","reaction":"","interactive":"","orders":"","messages":"[{\"from\":\"919212256121\",\"id\":\"wamid.HBgMOTE5MjEyMjU2MTIxFQIAEhggQUNCMEEzOTNDRjAzMDhDOUYxQjRFRDVCOTY0NEM4MUEA\",\"timestamp\":\"1767884266\",\"text\":{\"body\":\"Hi\"},\"type\":\"text\"}]","ts":"2026-01-08T20:27:55+05:30"}
[2026-01-08 20:27:55] [DEBUG] Ignoring event: delivered