Application Logs

Log Files

[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"}

Write Test Log Entry