📋 Application Logs
Available Log Files:
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
Contents of: 2026-02-14.log
[2026-02-14 13:19:20] [DEBUG] Webhook received: {"customer_name": "Mr. Goutam Chakraborty", "sender": "919831101730", "integrated_number": "919830432584", "company_id": 466552, "content_type": "text", "received_at": "2026-02-14 07:49:19", "replied_message_id": null, "message_uuid": "wamid.HBgMOTE5ODMxMTAxNzMwFQIAEhggQUM4QzVCQzRGNTQ3MDE4NjYxQUJBNUNGRTM0RUUzMTMA", "direction": 0, "text": "Explain", "contacts": [{"profile": {"name": "Mr. Goutam Chakraborty"}, "wa_id": "919831101730"}], "messages": [{"from": "919831101730", "id": "wamid.HBgMOTE5ODMxMTAxNzMwFQIAEhggQUM4QzVCQzRGNTQ3MDE4NjYxQUJBNUNGRTM0RUUzMTMA", "timestamp": "1771055356", "text": {"body": "Explain"}, "type": "text"}], "template_name": null, "template_language": null}
[2026-02-14 13:19:20] [INFO] Processing message from 919831101730: Explain
[2026-02-14 13:19:20] [INFO] Sending upload button to 919831101730
[2026-02-14 13:19:20] [DEBUG] MSG91 Sending to: https://api.msg91.com/api/v5/whatsapp/whatsapp-outbound-message/
[2026-02-14 13:19:20] [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-02-14 13:19:20] [DEBUG] MSG91 Response [400]: {"status": "fail", "hasError": true, "data": null, "errors": "There is no subscription assigned to this number"}
[2026-02-14 13:19:31] [DEBUG] Webhook received: {"crqid":"","companyId":"466552","requestedAt":"2026-02-14T13:19:19+05:30","customerNumber":"919831101730","requestId":"","reason":"","eventName":"delivered","uuid":"wamid.HBgMOTE5ODMxMTAxNzMwFQIAEhggQUM4QzVCQzRGNTQ3MDE4NjYxQUJBNUNGRTM0RUUzMTMA_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.HBgMOTE5ODMxMTAxNzMwFQIAEhggQUM4QzVCQzRGNTQ3MDE4NjYxQUJBNUNGRTM0RUUzMTMA\",\"timestamp\":\"1771055356\",\"text\":{\"body\":\"Explain\"},\"type\":\"text\"}]","ts":"2026-02-14T13:19:29+05:30"}
[2026-02-14 13:19:31] [DEBUG] Ignoring event: delivered
[2026-02-14 13:21:08] Upload started - Phone: 919831101730, Lang: en
[2026-02-14 13:21:08] File saved: rx_6990296cad37a.jpg
[2026-02-14 13:21:08] Serial: 260214001, Starting OpenAI...
[2026-02-14 13:21:17] OpenAI success for 260214001
[2026-02-14 13:21:17] Saved to DB: prescription 60
[2026-02-14 13:21:23] [DEBUG] MSG91 Sending to: https://api.msg91.com/api/v5/whatsapp/whatsapp-outbound-message/
[2026-02-14 13:21:23] [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-02-14 13:21:23] [DEBUG] MSG91 Response [400]: {"status": "fail", "hasError": true, "data": null, "errors": "There is no subscription assigned to this number"}
[2026-02-14 13:21:35] [DEBUG] MSG91 Sending to: https://api.msg91.com/api/v5/whatsapp/whatsapp-outbound-message/
[2026-02-14 13:21:35] [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-02-14 13:21:35] [DEBUG] MSG91 Response [400]: {"status": "fail", "hasError": true, "data": null, "errors": "There is no subscription assigned to this number"}
🗑️ Clear This Log