[2026-06-20 10:36:27] docflow.INFO: Apel createDoc {"data":{"amoAccountId":"32829830","amoUserId":null,"amoEntityId":"45413927","amoEntityType":"2","templateId":"11606","corporateEntityId":"","settlementAccountId":"","is_signed":null,"gdi":null,"number":null,"currentAmoUserId":null,"lang":"ru"}} {"uid":"5aebe9f"}
[2026-06-20 10:36:28] docflow.INFO: Token is valid for account 32829830. [] {"uid":"5aebe9f"}
[2026-06-20 10:36:28] docflow.DEBUG: getClientAuth returned {"auth":"[object] (stdClass: {\"domain\":\"edocumentare.amocrm.ru\",\"access_token\":\"eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImp0aSI6IjI1MzM3OTkzM2RjYTFmMGFlMjJhYWZjZDZlMzkxNDk1YzM1OGE0MDRmZDMxZDJhZGE3ZTgwNGRhYzAzNzhlNGI4Y2IzYzE1YjAxOGE1NjM0In0.eyJhdWQiOiIwZDY0ZGZmYi1lNTRiLTQ0OGYtOWZiZi1iYWYyMjUxYTExZGIiLCJqdGkiOiIyNTMzNzk5MzNkY2ExZjBhZTIyYWFmY2Q2ZTM5MTQ5NWMzNThhNDA0ZmQzMWQyYWRhN2U4MDRkYWMwMzc4ZTRiOGNiM2MxNWIwMThhNTYzNCIsImlhdCI6MTc4MTg3MzgxNiwibmJmIjoxNzgxODczODE2LCJleHAiOjE3ODE5NjAyMTYsInN1YiI6IjEzMzUzMzA2IiwiZ3JhbnRfdHlwZSI6IiIsImFjY291bnRfaWQiOjMyODI5ODMwLCJiYXNlX2RvbWFpbiI6ImFtb2NybS5ydSIsInZlcnNpb24iOjIsInNjb3BlcyI6WyJwdXNoX25vdGlmaWNhdGlvbnMiLCJjcm0iLCJub3RpZmljYXRpb25zIl0sImhhc2hfdXVpZCI6ImYwYzgzNTZlLWNjODctNGVhYS1hYWE3LWIxODRlY2Y2YjliZSIsImFwaV9kb21haW4iOiJhcGktYi5hbW9jcm0ucnUifQ.IW5L82rCa84z_taF0aAqxfPuVqMavJNFEWtgJHUWy10p8046gjmx_iMKkDZONdHc0R1ZNuFIPlJMlmUbG5uvQY1bOY_S1RRiVQY2GlFiThVCw7GY5517VOs3UQjLLvtHEGeY-5AKXsCYr8A8sDWjeNaZfe1sRaqdsf-AsGLD46tZEjQtrypvUZyEDcPnEdvSpxpG1STOe6KE5ZO-_B2OmTXQb5qq4OcAStyRPx4KSLNYIBowC7kSRmPofF1zrmh5bfTM500AP974BlnugEf7MW_nw2woXBkFv2377M9CFjdNwMmZ2nP1MHeWD791_qdoV9_rHg4gbcCkjt3eVt7RSQ\"})","file":"/home/ytvmclwh/document.amocrm.md/src/Models/Docs.php","line":121} {"uid":"5aebe9f"}
[2026-06-20 10:36:31] docflow.DEBUG: AmoDrive docflow context request {"url":"https://google.emale.uno/api/docflow/google-context","query":{"account_id":"32829830","entity_id":"45413927","entity_type":"leads"}} {"uid":"5aebe9f"}
[2026-06-20 10:36:31] docflow.WARNING: AmoDrive docflow context request failed {"url":"https://google.emale.uno/api/docflow/google-context","http_code":null,"error":"HTTP/2 400 ","response":"<!DOCTYPE HTML PUBLIC \"-//IETF//DTD HTML 2.0//EN\">\r\n<html>\r\n<head><title>400 Bad Request</title></head>\r\n<body>\r\n<center><h1>400 Bad Request</h1></center>\r\n Sorry for the inconvenience.<br/>\r\nPlease report this message and include the following information to us.<br/>\r\nThank you very much!</p>\r\n<table>\r\n<tr>\r\n<td>URL:</td>\r\n<td>https://gd.glucose-dev.online/api/docflow/google-context?account_id=32829830&amp;entity_id=45413927&amp;entity_type=leads</td>\r\n</tr>\r\n<tr>\r\n<td>Server:</td>\r\n<td>mail.glucose-dev.online</td>\r\n</tr>\r\n<tr>\r\n<td>Date:</td>\r\n<td>2026/06/20 10:36:31</td>\r\n</tr>\r\n</table>\r\n<hr><center>tengine</center>\r\n</body>\r\n</html>\r\n"} {"uid":"5aebe9f"}
[2026-06-20 10:36:31] docflow.DEBUG: AmoDrive docflow context request {"url":"https://gd.glucose-dev.online/api/docflow/google-context","query":{"account_id":"32829830","entity_id":"45413927","entity_type":"leads"}} {"uid":"5aebe9f"}
[2026-06-20 10:36:31] docflow.WARNING: AmoDrive docflow context response is not ready, trying next backend. {"url":"https://gd.glucose-dev.online/api/docflow/google-context","payload":{"ok":true,"accountId":32829830,"entityId":"45413927","entityType":"leads","amodrive":{"installed":false,"widgetStatus":"not_installed","amoAccountId":null,"accountHost":null,"license":{"status":"expired","configuredStatus":"expired","expiresAt":null,"isExpired":true,"isTrial":false,"isActive":false,"expiredByDate":false,"daysRemaining":null,"isLifetime":false},"licenseActive":false,"googleConnected":false,"googleEmail":null,"googleHasDriveScope":false,"googleHasDriveFileScope":false,"googleHasOwnershipScope":false,"readyForGeneratedFileMove":false,"readyForTransfer":false},"folder":null}} {"uid":"5aebe9f"}
[2026-06-20 10:36:31] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://google.emale.uno/api/docflow/prepare-generated-doc","payload":{"account_id":"32829830","entity_id":"45413927","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"5aebe9f"}
[2026-06-20 10:36:31] docflow.WARNING: AmoDrive prepare-generated-doc request failed {"url":"https://google.emale.uno/api/docflow/prepare-generated-doc","http_code":null,"error":"HTTP/2 400 ","response":"<!DOCTYPE HTML PUBLIC \"-//IETF//DTD HTML 2.0//EN\">\r\n<html>\r\n<head><title>400 Bad Request</title></head>\r\n<body>\r\n<center><h1>400 Bad Request</h1></center>\r\n Sorry for the inconvenience.<br/>\r\nPlease report this message and include the following information to us.<br/>\r\nThank you very much!</p>\r\n<table>\r\n<tr>\r\n<td>URL:</td>\r\n<td>https://gd.glucose-dev.online/api/docflow/prepare-generated-doc</td>\r\n</tr>\r\n<tr>\r\n<td>Server:</td>\r\n<td>mail.glucose-dev.online</td>\r\n</tr>\r\n<tr>\r\n<td>Date:</td>\r\n<td>2026/06/20 10:36:31</td>\r\n</tr>\r\n</table>\r\n<hr><center>tengine</center>\r\n</body>\r\n</html>\r\n","payload":{"account_id":"32829830","entity_id":"45413927","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"5aebe9f"}
[2026-06-20 10:36:31] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://gd.glucose-dev.online/api/docflow/prepare-generated-doc","payload":{"account_id":"32829830","entity_id":"45413927","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"5aebe9f"}
[2026-06-20 10:36:31] docflow.WARNING: AmoDrive prepare-generated-doc request failed {"url":"https://gd.glucose-dev.online/api/docflow/prepare-generated-doc","http_code":null,"error":"HTTP/2 404 ","response":"[object] (stdClass: {\"ok\":false,\"error\":\"AmoDrive is not installed for this account.\",\"accountId\":32829830})","payload":{"account_id":"32829830","entity_id":"45413927","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"5aebe9f"}
[2026-06-20 10:36:31] docflow.DEBUG: GAS request {"url":"https://script.google.com/macros/s/AKfycbwrvOJD46zkuoTzdhpc1kulhV8jRfgQBFZfQ121nkIip_k8yKit4xrbWTOzaJ-C-Yed6w/exec","body":{"templateFileId":"1P4-wON4CX1sxq2qhrF5jJ-9a0eNgnsK8GZqMgSJBOjc","accountId":"32829830","folderId":"1Us2AfskxgdA729xVr0F2vjZU9y5PlYDe","key":"~VTsK5dcnHc2cSSsjM$LFSjLlgbmJXwrp3R2P5nd","data":"{\"fileName\":\"EDOCUMENTARE SRL 36 20260620103631\",\"leadId\":\"45413927\",\"entities\":{\"\\u0441\\u0434\\u0435\\u043b\\u043a\\u0430\":{\"Serviciu\":\"Programare jur\\u0103m\\u00e2nt, Transcriere acte de stare civil\\u0103, Pa\\u0219aport RO\",\"Tip solicitant\":\"Persoan\\u0103 fizic\\u0103\",\"Loca\\u021bie\":\"Chi\\u0219in\\u0103u\",\"Urgen\\u021b\\u0103\":\"Standard\",\"Disponibilitatea actelor\":\"Are complet\",\"Acte primite pentru audit\":\"CI\\/Buletin\\/Pa\\u0219aport, Extras de pe act na\\u0219tere\",\"Data verific\\u0103rii\":\"20.06.2026\",\"Status verificare\":\"Acceptate\",\"Decizie dup\\u0103 verificare\":\"Continu\\u0103 procesul\",\"Data expediere ofert\\u0103\":\"20.06.2026\",\"Act de identitate\":\"Buletin\",\"Seria\":\"B\",\"Num\\u0103rul\":\"18061847\",\"IDNP\":\"2009018008893\",\"Emis de\":\"ASP\",\"Data emiterii\":\"03.10.2023\",\"Data expir\\u0103rii\":\"30.04.2044\",\"Durata contractului\":\"6 luni\",\"Data semn\\u0103rii contractului\":\"20.06.2026\",\"Format depunere\":\"Combinat\",\"Loca\\u021bie depunere\":\"Bucure\\u0219ti\",\"Documente originale necesare\":\"Da, la client\",\"Institu\\u021bie\":\"Consulat\",\"Tip ac\\u021biune\":\"Jur\\u0103m\\u00e2nt\",\"Status monitorizare\":\"A\\u0219teptare data programare\\/fereastr\\u0103 disponibil\\u0103\",\"Metoda predare\":\"Personal (oficiu)\",\"Acte verificate\":\"Da\",\"Data facturii fiscale\":\"20.06.2026\",\"Suma avans\":\"0\",\"Data limit\\u0103 pentru avans\":\"11.11.2026\",\"Data limit\\u0103 de plat\\u0103 a contractului\":\"11.11.2026\",\"Confirmare programare(fi\\u0219ier ata\\u0219at)\":{\"file_uuid\":\"e694d613-4046-4117-bede-62e45b59ca33\",\"version_uuid\":\"bce31ba2-4c2b-47d7-b9c9-a09f42902924\",\"file_name\":\"Scan programare - Burc\\u0103 Nicolae_0001.pdf\",\"file_size\":331347,\"is_deleted\":false},\"Data \\u0219i ora program\\u0103rii\":\"2026-11-11 08:24:00\",\"Metoda de achitare\":\"Card\",\"ID\":\"45413927\",\"\\u0421\\u0434\\u0435\\u043b\\u043a\\u0430_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Burc\\u0103 Nicolae\",\"Lead_name\":\"Burc\\u0103 Nicolae\",\"\\u0411\\u044e\\u0434\\u0436\\u0435\\u0442\":\"9710\",\"Budget\":\"9710\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"Lazar Nistor\",\"Responsible\":\"Lazar Nistor\"},\"lead\":{\"Serviciu\":\"Programare jur\\u0103m\\u00e2nt, Transcriere acte de stare civil\\u0103, Pa\\u0219aport RO\",\"Tip solicitant\":\"Persoan\\u0103 fizic\\u0103\",\"Loca\\u021bie\":\"Chi\\u0219in\\u0103u\",\"Urgen\\u021b\\u0103\":\"Standard\",\"Disponibilitatea actelor\":\"Are complet\",\"Acte primite pentru audit\":\"CI\\/Buletin\\/Pa\\u0219aport, Extras de pe act na\\u0219tere\",\"Data verific\\u0103rii\":\"20.06.2026\",\"Status verificare\":\"Acceptate\",\"Decizie dup\\u0103 verificare\":\"Continu\\u0103 procesul\",\"Data expediere ofert\\u0103\":\"20.06.2026\",\"Act de identitate\":\"Buletin\",\"Seria\":\"B\",\"Num\\u0103rul\":\"18061847\",\"IDNP\":\"2009018008893\",\"Emis de\":\"ASP\",\"Data emiterii\":\"03.10.2023\",\"Data expir\\u0103rii\":\"30.04.2044\",\"Durata contractului\":\"6 luni\",\"Data semn\\u0103rii contractului\":\"20.06.2026\",\"Format depunere\":\"Combinat\",\"Loca\\u021bie depunere\":\"Bucure\\u0219ti\",\"Documente originale necesare\":\"Da, la client\",\"Institu\\u021bie\":\"Consulat\",\"Tip ac\\u021biune\":\"Jur\\u0103m\\u00e2nt\",\"Status monitorizare\":\"A\\u0219teptare data programare\\/fereastr\\u0103 disponibil\\u0103\",\"Metoda predare\":\"Personal (oficiu)\",\"Acte verificate\":\"Da\",\"Data facturii fiscale\":\"20.06.2026\",\"Suma avans\":\"0\",\"Data limit\\u0103 pentru avans\":\"11.11.2026\",\"Data limit\\u0103 de plat\\u0103 a contractului\":\"11.11.2026\",\"Confirmare programare(fi\\u0219ier ata\\u0219at)\":{\"file_uuid\":\"e694d613-4046-4117-bede-62e45b59ca33\",\"version_uuid\":\"bce31ba2-4c2b-47d7-b9c9-a09f42902924\",\"file_name\":\"Scan programare - Burc\\u0103 Nicolae_0001.pdf\",\"file_size\":331347,\"is_deleted\":false},\"Data \\u0219i ora program\\u0103rii\":\"2026-11-11 08:24:00\",\"Metoda de achitare\":\"Card\",\"ID\":\"45413927\",\"\\u0421\\u0434\\u0435\\u043b\\u043a\\u0430_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Burc\\u0103 Nicolae\",\"Lead_name\":\"Burc\\u0103 Nicolae\",\"\\u0411\\u044e\\u0434\\u0436\\u0435\\u0442\":\"9710\",\"Budget\":\"9710\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"Lazar Nistor\",\"Responsible\":\"Lazar Nistor\"},\"\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442\":{\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"+373 (78) 633848\",\"Adresa domiciliu\":\"REPUBLICA MOLDOVA, C\\u0102U\\u0218ENI, F\\u00ceRL\\u0102DENII NOI, str. \\u0218TEFAN CEL MARE \\u0218I SF\\u00c2NT, nr. 19\",\"Telefon (SMS)\":\"+373 (78) 633848\",\"Email\":\"burcanicolae1999@gmail.com\",\"Zi de na\\u0219tere\":\"30.04.1999\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Nicolae Burc\\u0103\",\"Contact_name\":\"Nicolae Burc\\u0103\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"Lazar Nistor\",\"Responsible\":\"Lazar Nistor\"},\"contact\":{\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"+373 (78) 633848\",\"Adresa domiciliu\":\"REPUBLICA MOLDOVA, C\\u0102U\\u0218ENI, F\\u00ceRL\\u0102DENII NOI, str. \\u0218TEFAN CEL MARE \\u0218I SF\\u00c2NT, nr. 19\",\"Telefon (SMS)\":\"+373 (78) 633848\",\"Email\":\"burcanicolae1999@gmail.com\",\"Zi de na\\u0219tere\":\"30.04.1999\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Nicolae Burc\\u0103\",\"Contact_name\":\"Nicolae Burc\\u0103\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"Lazar Nistor\",\"Responsible\":\"Lazar Nistor\"},\"\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442\\u044b\":[{\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"+373 (78) 633848\",\"Adresa domiciliu\":\"REPUBLICA MOLDOVA, C\\u0102U\\u0218ENI, F\\u00ceRL\\u0102DENII NOI, str. \\u0218TEFAN CEL MARE \\u0218I SF\\u00c2NT, nr. 19\",\"Telefon (SMS)\":\"+373 (78) 633848\",\"Email\":\"burcanicolae1999@gmail.com\",\"Zi de na\\u0219tere\":\"30.04.1999\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Nicolae Burc\\u0103\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"Lazar Nistor\"}],\"\\u0434\\u043e\\u043a\\u0443\\u043c\\u0435\\u043d\\u0442\":{\"\\u0414\\u0430\\u0442\\u0430\":\"20.06.2026\",\"\\u041d\\u043e\\u043c\\u0435\\u0440\":\"36\"},\"document\":{\"Date\":\"20.06.2026\",\"Number\":\"36\"}}}","edit":true}} {"uid":"5aebe9f"}
[2026-06-20 10:36:41] docflow.DEBUG: GAS raw response {"raw":"[object] (stdClass: {\"code\":1,\"url\":\"https://docs.google.com/open?id=1iF-SZfnwdDlyUkXAC1RbuachRqyMQuC5tyqAslLVIqM\",\"file_id\":\"1iF-SZfnwdDlyUkXAC1RbuachRqyMQuC5tyqAslLVIqM\",\"error\":\"\",\"vars\":\"\"})"} {"uid":"5aebe9f"}
[2026-06-20 10:36:41] docflow.WARNING: AmoDrive generated-file move is not ready. {"fileId":"1iF-SZfnwdDlyUkXAC1RbuachRqyMQuC5tyqAslLVIqM","context":null} {"uid":"5aebe9f"}
[2026-06-20 10:39:57] docflow.INFO: Apel createDoc {"data":{"amoAccountId":"22699852","amoUserId":null,"amoEntityId":"42220358","amoEntityType":"2","templateId":"11518","corporateEntityId":"","settlementAccountId":"","is_signed":null,"gdi":null,"number":null,"currentAmoUserId":null,"lang":"ru"}} {"uid":"a3918d2"}
[2026-06-20 10:39:57] docflow.INFO: Token is valid for account 22699852. [] {"uid":"a3918d2"}
[2026-06-20 10:39:57] docflow.DEBUG: getClientAuth returned {"auth":"[object] (stdClass: {\"domain\":\"emigrare.amocrm.ru\",\"access_token\":\"eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImp0aSI6IjI1MmJhMDg0MWQ4NGQ0NzdlMjE1ZTlmNDc0MTI0YjExMzI5MGIwNzM3ZjFkNGEyZTk0NzgwYmZiMjk2MzgzYTE2YmFiMWJlOGFkMTVkZjUxIn0.eyJhdWQiOiIwZDY0ZGZmYi1lNTRiLTQ0OGYtOWZiZi1iYWYyMjUxYTExZGIiLCJqdGkiOiIyNTJiYTA4NDFkODRkNDc3ZTIxNWU5ZjQ3NDEyNGIxMTMyOTBiMDczN2YxZDRhMmU5NDc4MGJmYjI5NjM4M2ExNmJhYjFiZThhZDE1ZGY1MSIsImlhdCI6MTc4MTg1ODgyMCwibmJmIjoxNzgxODU4ODIwLCJleHAiOjE3ODE5NDUyMjAsInN1YiI6IjI5MzAzODAiLCJncmFudF90eXBlIjoiIiwiYWNjb3VudF9pZCI6MjI2OTk4NTIsImJhc2VfZG9tYWluIjoiYW1vY3JtLnJ1IiwidmVyc2lvbiI6Miwic2NvcGVzIjpbInB1c2hfbm90aWZpY2F0aW9ucyIsImNybSIsIm5vdGlmaWNhdGlvbnMiXSwiaGFzaF91dWlkIjoiZTJlOTFkZDktOWI3ZS00ZjViLTgyYmYtMWJmMjc0OWY1Yjk4IiwiYXBpX2RvbWFpbiI6ImFwaS1hLmFtb2NybS5ydSJ9.m-ADSYKbaSabWSxy2CDYCuSaimVfh4NLTk2eRuuuxFjZ4r7w2Mm6ipnsWHjFak-pAXIUaUxLxWDT69Vf4ChCCy23v5bbSfumBu9AX7u59yDYR3LLp9aHoDxgqqprkkUFbdHLN-26mngi9_kPn8euDJoHMTpFeW2ViGHKCSWHR_QpUU9GGzvl41_Dka7R74WbLGR6AE1i9WDdSU4Deh3mEvEGb_G8joCVkGXTRsZZFr5xdIvmqHsR2lHV1FTizWpnA0NKjhIJ9-BP-or1iEeeerxVAd0meETbz40QpDIM5UsEqkFoaj5UJ2-c0kvsePaWViIL2ODmxfcfYxOeg55lxw\"})","file":"/home/ytvmclwh/document.amocrm.md/src/Models/Docs.php","line":121} {"uid":"a3918d2"}
[2026-06-20 10:39:59] docflow.DEBUG: AmoDrive docflow context request {"url":"https://google.emale.uno/api/docflow/google-context","query":{"account_id":"22699852","entity_id":"42220358","entity_type":"leads"}} {"uid":"a3918d2"}
[2026-06-20 10:39:59] docflow.WARNING: AmoDrive docflow context request failed {"url":"https://google.emale.uno/api/docflow/google-context","http_code":null,"error":"HTTP/2 400 ","response":"<!DOCTYPE HTML PUBLIC \"-//IETF//DTD HTML 2.0//EN\">\r\n<html>\r\n<head><title>400 Bad Request</title></head>\r\n<body>\r\n<center><h1>400 Bad Request</h1></center>\r\n Sorry for the inconvenience.<br/>\r\nPlease report this message and include the following information to us.<br/>\r\nThank you very much!</p>\r\n<table>\r\n<tr>\r\n<td>URL:</td>\r\n<td>https://gd.glucose-dev.online/api/docflow/google-context?account_id=22699852&amp;entity_id=42220358&amp;entity_type=leads</td>\r\n</tr>\r\n<tr>\r\n<td>Server:</td>\r\n<td>mail.glucose-dev.online</td>\r\n</tr>\r\n<tr>\r\n<td>Date:</td>\r\n<td>2026/06/20 10:40:00</td>\r\n</tr>\r\n</table>\r\n<hr><center>tengine</center>\r\n</body>\r\n</html>\r\n"} {"uid":"a3918d2"}
[2026-06-20 10:39:59] docflow.DEBUG: AmoDrive docflow context request {"url":"https://gd.glucose-dev.online/api/docflow/google-context","query":{"account_id":"22699852","entity_id":"42220358","entity_type":"leads"}} {"uid":"a3918d2"}
[2026-06-20 10:39:59] docflow.DEBUG: AmoDrive docflow context response {"url":"https://gd.glucose-dev.online/api/docflow/google-context","payload":{"ok":true,"accountId":22699852,"entityId":"42220358","entityType":"leads","amodrive":{"installed":true,"widgetStatus":"installed","amoAccountId":22699852,"accountHost":"emigrare.amocrm.ru","license":{"status":"active","configuredStatus":"active","expiresAt":"2026-08-20T10:16:56.291Z","isExpired":false,"isTrial":false,"isActive":true,"expiredByDate":false,"daysRemaining":62,"isLifetime":false},"licenseActive":true,"googleConnected":true,"googleEmail":"emigrare.md@gmail.com","googleHasDriveScope":true,"googleHasDriveFileScope":true,"googleHasOwnershipScope":true,"readyForGeneratedFileMove":true,"readyForTransfer":true},"folder":{"id":"14i2IQD_mbYev2shNkausqmHNcPsel39r","name":"42220358 - Juramant","webViewLink":"https://drive.google.com/drive/folders/14i2IQD_mbYev2shNkausqmHNcPsel39r"}}} {"uid":"a3918d2"}
[2026-06-20 10:39:59] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://google.emale.uno/api/docflow/prepare-generated-doc","payload":{"account_id":"22699852","entity_id":"42220358","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"a3918d2"}
[2026-06-20 10:40:00] docflow.WARNING: AmoDrive prepare-generated-doc request failed {"url":"https://google.emale.uno/api/docflow/prepare-generated-doc","http_code":null,"error":"HTTP/2 400 ","response":"<!DOCTYPE HTML PUBLIC \"-//IETF//DTD HTML 2.0//EN\">\r\n<html>\r\n<head><title>400 Bad Request</title></head>\r\n<body>\r\n<center><h1>400 Bad Request</h1></center>\r\n Sorry for the inconvenience.<br/>\r\nPlease report this message and include the following information to us.<br/>\r\nThank you very much!</p>\r\n<table>\r\n<tr>\r\n<td>URL:</td>\r\n<td>https://gd.glucose-dev.online/api/docflow/prepare-generated-doc</td>\r\n</tr>\r\n<tr>\r\n<td>Server:</td>\r\n<td>mail.glucose-dev.online</td>\r\n</tr>\r\n<tr>\r\n<td>Date:</td>\r\n<td>2026/06/20 10:40:00</td>\r\n</tr>\r\n</table>\r\n<hr><center>tengine</center>\r\n</body>\r\n</html>\r\n","payload":{"account_id":"22699852","entity_id":"42220358","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"a3918d2"}
[2026-06-20 10:40:00] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://gd.glucose-dev.online/api/docflow/prepare-generated-doc","payload":{"account_id":"22699852","entity_id":"42220358","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"a3918d2"}
[2026-06-20 10:40:02] docflow.DEBUG: AmoDrive prepare-generated-doc response {"url":"https://gd.glucose-dev.online/api/docflow/prepare-generated-doc","payload":{"ok":true,"accountId":22699852,"entityId":"42220358","entityType":"leads","generatorEmail":"info@glucose.md","directGenerationReady":true,"folder":{"id":"14i2IQD_mbYev2shNkausqmHNcPsel39r","name":"42220358 - Juramant","webViewLink":"https://drive.google.com/drive/folders/14i2IQD_mbYev2shNkausqmHNcPsel39r"},"generatorAccess":{"ok":true,"targetEmail":"info@glucose.md","permission":{"id":"15090742993472653631","emailAddress":"info@glucose.md","role":"writer","pendingOwner":false}}}} {"uid":"a3918d2"}
[2026-06-20 10:40:02] docflow.DEBUG: GAS request {"url":"https://script.google.com/macros/s/AKfycbwrvOJD46zkuoTzdhpc1kulhV8jRfgQBFZfQ121nkIip_k8yKit4xrbWTOzaJ-C-Yed6w/exec","body":{"templateFileId":"1h8Vj-GobGEV9asTSF5Bl3Pf0z_-mfC7nKR4qBeU1xhc","accountId":"22699852","folderId":"14i2IQD_mbYev2shNkausqmHNcPsel39r","key":"~VTsK5dcnHc2cSSsjM$LFSjLlgbmJXwrp3R2P5nd","data":"{\"fileName\":\"\\u0421\\u0447\\u0435\\u0442 \\u043d\\u0430 \\u043e\\u043f\\u043b\\u0430\\u0442\\u0443 (USDT)  318 20260620103959\",\"leadId\":\"42220358\",\"entities\":{\"\\u0441\\u0434\\u0435\\u043b\\u043a\\u0430\":{\"Luna trec in Front\":\"20.06.2026\",\"google_folder_id_leads_field\":\"https:\\/\\/drive.google.com\\/drive\\/folders\\/14i2IQD_mbYev2shNkausqmHNcPsel39r\",\"ID\":\"42220358\",\"\\u0421\\u0434\\u0435\\u043b\\u043a\\u0430_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Juramant\",\"Lead_name\":\"Juramant\",\"\\u0411\\u044e\\u0434\\u0436\\u0435\\u0442\":\"950\",\"Budget\":\"950\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"Capanji Igor\",\"Responsible\":\"Capanji Igor\"},\"lead\":{\"Luna trec in Front\":\"20.06.2026\",\"google_folder_id_leads_field\":\"https:\\/\\/drive.google.com\\/drive\\/folders\\/14i2IQD_mbYev2shNkausqmHNcPsel39r\",\"ID\":\"42220358\",\"\\u0421\\u0434\\u0435\\u043b\\u043a\\u0430_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Juramant\",\"Lead_name\":\"Juramant\",\"\\u0411\\u044e\\u0434\\u0436\\u0435\\u0442\":\"950\",\"Budget\":\"950\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"Capanji Igor\",\"Responsible\":\"Capanji Igor\"},\"\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442\":{\"Email\":\"pavelsol766@gmail.com\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"+79527771799\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Maxim Tsvetkov\",\"Contact_name\":\"Maxim Tsvetkov\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"Cezara Cenusa\",\"Responsible\":\"Cezara Cenusa\"},\"contact\":{\"Email\":\"pavelsol766@gmail.com\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"+79527771799\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Maxim Tsvetkov\",\"Contact_name\":\"Maxim Tsvetkov\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"Cezara Cenusa\",\"Responsible\":\"Cezara Cenusa\"},\"\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442\\u044b\":[{\"Email\":\"pavelsol766@gmail.com\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"+79527771799\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Maxim Tsvetkov\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"Cezara Cenusa\"}],\"\\u0434\\u043e\\u043a\\u0443\\u043c\\u0435\\u043d\\u0442\":{\"\\u0414\\u0430\\u0442\\u0430\":\"20.06.2026\",\"\\u041d\\u043e\\u043c\\u0435\\u0440\":\"318\"},\"document\":{\"Date\":\"20.06.2026\",\"Number\":\"318\"}}}","edit":true,"folderMode":"direct"}} {"uid":"a3918d2"}
[2026-06-20 10:40:07] docflow.DEBUG: GAS raw response {"raw":"[object] (stdClass: {\"code\":1,\"url\":\"https://docs.google.com/open?id=1bvci5GlnJlIESxvJQi5uO0Az1fRMJOBu5Gk61LqFAkQ\",\"file_id\":\"1bvci5GlnJlIESxvJQi5uO0Az1fRMJOBu5Gk61LqFAkQ\",\"error\":\"\",\"vars\":\"\"})"} {"uid":"a3918d2"}
[2026-06-20 10:40:07] docflow.INFO: Skipping AmoDrive finalize because document was generated directly in the prepared entity folder. {"fileId":"1bvci5GlnJlIESxvJQi5uO0Az1fRMJOBu5Gk61LqFAkQ","folder":{"id":"14i2IQD_mbYev2shNkausqmHNcPsel39r","name":"42220358 - Juramant","webViewLink":"https://drive.google.com/drive/folders/14i2IQD_mbYev2shNkausqmHNcPsel39r"}} {"uid":"a3918d2"}
