[2026-10-23 09:10:45] docflow.INFO: Apel createDoc {"data":{"amoAccountId":"22699852","amoUserId":null,"amoEntityId":"42828304","amoEntityType":"2","templateId":"11487","corporateEntityId":"","settlementAccountId":"","is_signed":null,"gdi":null,"number":null,"currentAmoUserId":null,"lang":"ru"}} {"uid":"eeb5202"}
[2026-10-23 09:10:45] docflow.INFO: Token is valid for account 22699852. [] {"uid":"eeb5202"}
[2026-10-23 09:10:45] docflow.DEBUG: getClientAuth returned {"auth":"[object] (stdClass: {\"domain\":\"emigrare.amocrm.ru\",\"access_token\":\"eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImp0aSI6IjA4NjUzMGJkODIzYTYyZTlmZjZhNjY5OGNiZmU0MWU3MGQyMDk4NTYxMmU4ODVjOGU3MzlhOWU3ZGE3ZmEwNzVmN2ZhODZjMzAxNmIzM2JiIn0.eyJhdWQiOiIwZDY0ZGZmYi1lNTRiLTQ0OGYtOWZiZi1iYWYyMjUxYTExZGIiLCJqdGkiOiIwODY1MzBiZDgyM2E2MmU5ZmY2YTY2OThjYmZlNDFlNzBkMjA5ODU2MTJlODg1YzhlNzM5YTllN2RhN2ZhMDc1ZjdmYTg2YzMwMTZiMzNiYiIsImlhdCI6MTc5MjY1NTM5NywibmJmIjoxNzkyNjU1Mzk3LCJleHAiOjE3OTI3NDE3OTcsInN1YiI6IjI5MzAzODAiLCJncmFudF90eXBlIjoiIiwiYWNjb3VudF9pZCI6MjI2OTk4NTIsImJhc2VfZG9tYWluIjoiYW1vY3JtLnJ1IiwidmVyc2lvbiI6Miwic2NvcGVzIjpbInB1c2hfbm90aWZpY2F0aW9ucyIsImNybSIsIm5vdGlmaWNhdGlvbnMiXSwiaGFzaF91dWlkIjoiNjEyOWRjNmMtMzgwNS00MmM2LThmMGYtYTgyOTMxYjQzYjUyIiwiYXBpX2RvbWFpbiI6ImFwaS1iLmFtb2NybS5ydSJ9.LLHVjEHW1SGy2yqnZukyOhTDlEW1uqRkGdtFKKJ88Lx6JD7-0fWj7RusCBmBYiYSlWUm0t_z8LRvMu-U1a2Vn3XFTgVj43gsNJ17OFB4Xr_tKWp_jH7WWq7nBlbOp9En6nF1u_35Y9tmmpy0y70aKvJ9ic_LhMoqSTl7DiwCVLud1GX5teK13jZs26wDf8rwAFndyt1a8RbeuSEW2dKn6BIIQdbBoWIG8OjoU_hJrw-SbQbSYLcT97H9x4xxDuBBOZGEvmtrCYghFsAojXrjVzGODAAW2AP0ZNSzBj7tiPaUtzJR8gkLRLVXEazuLUvCl73TAYokCocwC_8qO37zZw\"})","file":"/home/ytvmclwh/document.amocrm.md/src/Models/Docs.php","line":121} {"uid":"eeb5202"}
[2026-10-23 09:10:48] docflow.DEBUG: AmoDrive docflow context request {"url":"https://google.emale.uno/api/docflow/google-context","query":{"account_id":"22699852","entity_id":"42828304","entity_type":"leads"}} {"uid":"eeb5202"}
[2026-10-23 09:10:48] 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=42828304&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/10/23 09:10:48</td>\r\n</tr>\r\n</table>\r\n<hr><center>tengine</center>\r\n</body>\r\n</html>\r\n"} {"uid":"eeb5202"}
[2026-10-23 09:10:48] docflow.DEBUG: AmoDrive docflow context request {"url":"https://gd.glucose-dev.online/api/docflow/google-context","query":{"account_id":"22699852","entity_id":"42828304","entity_type":"leads"}} {"uid":"eeb5202"}
[2026-10-23 09:10:48] 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":22699852,"entityId":"42828304","entityType":"leads","amodrive":{"installed":false,"widgetStatus":"uninstalled","amoAccountId":22699852,"accountHost":"emigrare.amocrm.ru","license":{"status":"active","configuredStatus":"active","expiresAt":"2027-08-20T10:16:56.291Z","isExpired":false,"isTrial":false,"isActive":true,"expiredByDate":false,"daysRemaining":302,"isLifetime":false},"licenseActive":false,"googleConnected":false,"googleEmail":null,"googleHasDriveScope":false,"googleHasDriveFileScope":false,"googleHasOwnershipScope":false,"readyForGeneratedFileMove":false,"readyForTransfer":false},"folder":{"id":"1Z74ob26PIny9NuZh5jskS8uYmY4ybUf8","name":"42828304 - Lead #42828304","webViewLink":"https://drive.google.com/drive/folders/1Z74ob26PIny9NuZh5jskS8uYmY4ybUf8"}}} {"uid":"eeb5202"}
[2026-10-23 09:10:48] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://google.emale.uno/api/docflow/prepare-generated-doc","payload":{"account_id":"22699852","entity_id":"42828304","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"eeb5202"}
[2026-10-23 09:10:48] 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/10/23 09:10:48</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":"42828304","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"eeb5202"}
[2026-10-23 09:10:48] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://gd.glucose-dev.online/api/docflow/prepare-generated-doc","payload":{"account_id":"22699852","entity_id":"42828304","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"eeb5202"}
[2026-10-23 09:10:48] 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\":22699852})","payload":{"account_id":"22699852","entity_id":"42828304","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"eeb5202"}
[2026-10-23 09:10:48] docflow.DEBUG: GAS request {"url":"https://script.google.com/macros/s/AKfycbwrvOJD46zkuoTzdhpc1kulhV8jRfgQBFZfQ121nkIip_k8yKit4xrbWTOzaJ-C-Yed6w/exec","body":{"templateFileId":"1Qs2KktxXVCWrpdnvN8VsXGZnUkoSyqidawI8Gy962Yg","accountId":"22699852","folderId":"1Us2AfskxgdA729xVr0F2vjZU9y5PlYDe","key":"~VTsK5dcnHc2cSSsjM$LFSjLlgbmJXwrp3R2P5nd","data":"{\"fileName\":\"Diverse 1302 20261023091048\",\"leadId\":\"42828304\",\"entities\":{\"\\u0441\\u0434\\u0435\\u043b\\u043a\\u0430\":{\"Suma \\u20ac\":\"0\",\"#Manager Front\":\"Cezara Cenusa\",\"Urm\\u0103torul contact\":\"2026-10-26 14:52:00\",\"Mod achitare\":\"Transfer card \\u0421\\u0431\\u0435\\u0440\\u0411\\u0430\\u043d\\u043a\",\"Suma avans\":\"780\",\"Manager Juridic\":\"Dascal Anatolie\",\"#Manager Jurist\":\"Dascal Anatolie\",\"ID\":\"42828304\",\"\\u0421\\u0434\\u0435\\u043b\\u043a\\u0430_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"sub. MD (ACTE ASP)\",\"Lead_name\":\"sub. MD (ACTE ASP)\",\"\\u0411\\u044e\\u0434\\u0436\\u0435\\u0442\":\"780\",\"Budget\":\"780\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"Cezara Cenusa\",\"Responsible\":\"Cezara Cenusa\"},\"lead\":{\"Suma \\u20ac\":\"0\",\"#Manager Front\":\"Cezara Cenusa\",\"Urm\\u0103torul contact\":\"2026-10-26 14:52:00\",\"Mod achitare\":\"Transfer card \\u0421\\u0431\\u0435\\u0440\\u0411\\u0430\\u043d\\u043a\",\"Suma avans\":\"780\",\"Manager Juridic\":\"Dascal Anatolie\",\"#Manager Jurist\":\"Dascal Anatolie\",\"ID\":\"42828304\",\"\\u0421\\u0434\\u0435\\u043b\\u043a\\u0430_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"sub. MD (ACTE ASP)\",\"Lead_name\":\"sub. MD (ACTE ASP)\",\"\\u0411\\u044e\\u0434\\u0436\\u0435\\u0442\":\"780\",\"Budget\":\"780\",\"\\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\":{\"WhatsappLid_WZ\":\"242532659240980\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"+79268655957\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Dorina Iulia\",\"Contact_name\":\"Dorina Iulia\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"Cezara Cenusa\",\"Responsible\":\"Cezara Cenusa\"},\"contact\":{\"WhatsappLid_WZ\":\"242532659240980\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"+79268655957\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Dorina Iulia\",\"Contact_name\":\"Dorina Iulia\",\"\\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\":[{\"WhatsappLid_WZ\":\"242532659240980\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"+79268655957\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Dorina Iulia\",\"\\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\":\"23.10.2026\",\"\\u041d\\u043e\\u043c\\u0435\\u0440\":\"1302\"},\"document\":{\"Date\":\"23.10.2026\",\"Number\":\"1302\"}}}","edit":true}} {"uid":"eeb5202"}
[2026-10-23 09:10:57] docflow.DEBUG: GAS raw response {"raw":"[object] (stdClass: {\"code\":1,\"url\":\"https://docs.google.com/open?id=118r09RXn92ALowc_ZyaiBtTb_2-7gYip5gsd5nBgvaw\",\"file_id\":\"118r09RXn92ALowc_ZyaiBtTb_2-7gYip5gsd5nBgvaw\",\"error\":\"\",\"vars\":\"\"})"} {"uid":"eeb5202"}
[2026-10-23 09:10:57] docflow.WARNING: AmoDrive generated-file move is not ready. {"fileId":"118r09RXn92ALowc_ZyaiBtTb_2-7gYip5gsd5nBgvaw","context":null} {"uid":"eeb5202"}
[2026-10-23 09:13:30] docflow.INFO: Apel createDoc {"data":{"amoAccountId":"22699852","amoUserId":null,"amoEntityId":"42828304","amoEntityType":"2","templateId":"11499","corporateEntityId":"","settlementAccountId":"","is_signed":null,"gdi":null,"number":null,"currentAmoUserId":null,"lang":"ru"}} {"uid":"98a1cc7"}
[2026-10-23 09:13:30] docflow.INFO: Token is valid for account 22699852. [] {"uid":"98a1cc7"}
[2026-10-23 09:13:30] docflow.DEBUG: getClientAuth returned {"auth":"[object] (stdClass: {\"domain\":\"emigrare.amocrm.ru\",\"access_token\":\"eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImp0aSI6IjA4NjUzMGJkODIzYTYyZTlmZjZhNjY5OGNiZmU0MWU3MGQyMDk4NTYxMmU4ODVjOGU3MzlhOWU3ZGE3ZmEwNzVmN2ZhODZjMzAxNmIzM2JiIn0.eyJhdWQiOiIwZDY0ZGZmYi1lNTRiLTQ0OGYtOWZiZi1iYWYyMjUxYTExZGIiLCJqdGkiOiIwODY1MzBiZDgyM2E2MmU5ZmY2YTY2OThjYmZlNDFlNzBkMjA5ODU2MTJlODg1YzhlNzM5YTllN2RhN2ZhMDc1ZjdmYTg2YzMwMTZiMzNiYiIsImlhdCI6MTc5MjY1NTM5NywibmJmIjoxNzkyNjU1Mzk3LCJleHAiOjE3OTI3NDE3OTcsInN1YiI6IjI5MzAzODAiLCJncmFudF90eXBlIjoiIiwiYWNjb3VudF9pZCI6MjI2OTk4NTIsImJhc2VfZG9tYWluIjoiYW1vY3JtLnJ1IiwidmVyc2lvbiI6Miwic2NvcGVzIjpbInB1c2hfbm90aWZpY2F0aW9ucyIsImNybSIsIm5vdGlmaWNhdGlvbnMiXSwiaGFzaF91dWlkIjoiNjEyOWRjNmMtMzgwNS00MmM2LThmMGYtYTgyOTMxYjQzYjUyIiwiYXBpX2RvbWFpbiI6ImFwaS1iLmFtb2NybS5ydSJ9.LLHVjEHW1SGy2yqnZukyOhTDlEW1uqRkGdtFKKJ88Lx6JD7-0fWj7RusCBmBYiYSlWUm0t_z8LRvMu-U1a2Vn3XFTgVj43gsNJ17OFB4Xr_tKWp_jH7WWq7nBlbOp9En6nF1u_35Y9tmmpy0y70aKvJ9ic_LhMoqSTl7DiwCVLud1GX5teK13jZs26wDf8rwAFndyt1a8RbeuSEW2dKn6BIIQdbBoWIG8OjoU_hJrw-SbQbSYLcT97H9x4xxDuBBOZGEvmtrCYghFsAojXrjVzGODAAW2AP0ZNSzBj7tiPaUtzJR8gkLRLVXEazuLUvCl73TAYokCocwC_8qO37zZw\"})","file":"/home/ytvmclwh/document.amocrm.md/src/Models/Docs.php","line":121} {"uid":"98a1cc7"}
[2026-10-23 09:13:33] docflow.DEBUG: AmoDrive docflow context request {"url":"https://google.emale.uno/api/docflow/google-context","query":{"account_id":"22699852","entity_id":"42828304","entity_type":"leads"}} {"uid":"98a1cc7"}
[2026-10-23 09:13:33] 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=42828304&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/10/23 09:13:33</td>\r\n</tr>\r\n</table>\r\n<hr><center>tengine</center>\r\n</body>\r\n</html>\r\n"} {"uid":"98a1cc7"}
[2026-10-23 09:13:33] docflow.DEBUG: AmoDrive docflow context request {"url":"https://gd.glucose-dev.online/api/docflow/google-context","query":{"account_id":"22699852","entity_id":"42828304","entity_type":"leads"}} {"uid":"98a1cc7"}
[2026-10-23 09:13:33] 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":22699852,"entityId":"42828304","entityType":"leads","amodrive":{"installed":false,"widgetStatus":"uninstalled","amoAccountId":22699852,"accountHost":"emigrare.amocrm.ru","license":{"status":"active","configuredStatus":"active","expiresAt":"2027-08-20T10:16:56.291Z","isExpired":false,"isTrial":false,"isActive":true,"expiredByDate":false,"daysRemaining":302,"isLifetime":false},"licenseActive":false,"googleConnected":false,"googleEmail":null,"googleHasDriveScope":false,"googleHasDriveFileScope":false,"googleHasOwnershipScope":false,"readyForGeneratedFileMove":false,"readyForTransfer":false},"folder":{"id":"1Z74ob26PIny9NuZh5jskS8uYmY4ybUf8","name":"42828304 - Lead #42828304","webViewLink":"https://drive.google.com/drive/folders/1Z74ob26PIny9NuZh5jskS8uYmY4ybUf8"}}} {"uid":"98a1cc7"}
[2026-10-23 09:13:33] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://google.emale.uno/api/docflow/prepare-generated-doc","payload":{"account_id":"22699852","entity_id":"42828304","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"98a1cc7"}
[2026-10-23 09:13:33] 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/10/23 09:13:33</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":"42828304","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"98a1cc7"}
[2026-10-23 09:13:33] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://gd.glucose-dev.online/api/docflow/prepare-generated-doc","payload":{"account_id":"22699852","entity_id":"42828304","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"98a1cc7"}
[2026-10-23 09:13:33] 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\":22699852})","payload":{"account_id":"22699852","entity_id":"42828304","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"98a1cc7"}
[2026-10-23 09:13:33] docflow.DEBUG: GAS request {"url":"https://script.google.com/macros/s/AKfycbwrvOJD46zkuoTzdhpc1kulhV8jRfgQBFZfQ121nkIip_k8yKit4xrbWTOzaJ-C-Yed6w/exec","body":{"templateFileId":"1JpcHEV7mllDU316pjkq8wnZ56w5pF-O-EK97xQgfk_U","accountId":"22699852","folderId":"1Us2AfskxgdA729xVr0F2vjZU9y5PlYDe","key":"~VTsK5dcnHc2cSSsjM$LFSjLlgbmJXwrp3R2P5nd","data":"{\"fileName\":\"Acord adi\\u021bional  725 20261023091333\",\"leadId\":\"42828304\",\"entities\":{\"\\u0441\\u0434\\u0435\\u043b\\u043a\\u0430\":{\"Suma \\u20ac\":\"0\",\"#Manager Front\":\"Cezara Cenusa\",\"Urm\\u0103torul contact\":\"2026-10-26 14:52:00\",\"Mod achitare\":\"Transfer card \\u0421\\u0431\\u0435\\u0440\\u0411\\u0430\\u043d\\u043a\",\"Suma avans\":\"780\",\"Manager Juridic\":\"Dascal Anatolie\",\"#Manager Jurist\":\"Dascal Anatolie\",\"ID\":\"42828304\",\"\\u0421\\u0434\\u0435\\u043b\\u043a\\u0430_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"sub. MD\",\"Lead_name\":\"sub. MD\",\"\\u0411\\u044e\\u0434\\u0436\\u0435\\u0442\":\"780\",\"Budget\":\"780\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"Cezara Cenusa\",\"Responsible\":\"Cezara Cenusa\"},\"lead\":{\"Suma \\u20ac\":\"0\",\"#Manager Front\":\"Cezara Cenusa\",\"Urm\\u0103torul contact\":\"2026-10-26 14:52:00\",\"Mod achitare\":\"Transfer card \\u0421\\u0431\\u0435\\u0440\\u0411\\u0430\\u043d\\u043a\",\"Suma avans\":\"780\",\"Manager Juridic\":\"Dascal Anatolie\",\"#Manager Jurist\":\"Dascal Anatolie\",\"ID\":\"42828304\",\"\\u0421\\u0434\\u0435\\u043b\\u043a\\u0430_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"sub. MD\",\"Lead_name\":\"sub. MD\",\"\\u0411\\u044e\\u0434\\u0436\\u0435\\u0442\":\"780\",\"Budget\":\"780\",\"\\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\":{\"WhatsappLid_WZ\":\"242532659240980\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"+79268655957\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Dorina Iulia\",\"Contact_name\":\"Dorina Iulia\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"Cezara Cenusa\",\"Responsible\":\"Cezara Cenusa\"},\"contact\":{\"WhatsappLid_WZ\":\"242532659240980\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"+79268655957\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Dorina Iulia\",\"Contact_name\":\"Dorina Iulia\",\"\\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\":[{\"WhatsappLid_WZ\":\"242532659240980\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"+79268655957\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Dorina Iulia\",\"\\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\":\"23.10.2026\",\"\\u041d\\u043e\\u043c\\u0435\\u0440\":\"725\"},\"document\":{\"Date\":\"23.10.2026\",\"Number\":\"725\"}}}","edit":true}} {"uid":"98a1cc7"}
[2026-10-23 09:13:39] docflow.DEBUG: GAS raw response {"raw":"[object] (stdClass: {\"code\":1,\"url\":\"https://docs.google.com/open?id=1ajI7ZgwAOMax-4uQ6U2ueDjTkQAB4rzOGPVr--vi3I0\",\"file_id\":\"1ajI7ZgwAOMax-4uQ6U2ueDjTkQAB4rzOGPVr--vi3I0\",\"error\":\"\",\"vars\":\"\"})"} {"uid":"98a1cc7"}
[2026-10-23 09:13:39] docflow.WARNING: AmoDrive generated-file move is not ready. {"fileId":"1ajI7ZgwAOMax-4uQ6U2ueDjTkQAB4rzOGPVr--vi3I0","context":null} {"uid":"98a1cc7"}
[2026-10-23 09:13:49] docflow.INFO: Apel createDoc {"data":{"amoAccountId":"22699852","amoUserId":null,"amoEntityId":"42828304","amoEntityType":"2","templateId":"11515","corporateEntityId":"","settlementAccountId":"","is_signed":null,"gdi":null,"number":null,"currentAmoUserId":null,"lang":"ru"}} {"uid":"c0bfcac"}
[2026-10-23 09:13:49] docflow.INFO: Token is valid for account 22699852. [] {"uid":"c0bfcac"}
[2026-10-23 09:13:49] docflow.DEBUG: getClientAuth returned {"auth":"[object] (stdClass: {\"domain\":\"emigrare.amocrm.ru\",\"access_token\":\"eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImp0aSI6IjA4NjUzMGJkODIzYTYyZTlmZjZhNjY5OGNiZmU0MWU3MGQyMDk4NTYxMmU4ODVjOGU3MzlhOWU3ZGE3ZmEwNzVmN2ZhODZjMzAxNmIzM2JiIn0.eyJhdWQiOiIwZDY0ZGZmYi1lNTRiLTQ0OGYtOWZiZi1iYWYyMjUxYTExZGIiLCJqdGkiOiIwODY1MzBiZDgyM2E2MmU5ZmY2YTY2OThjYmZlNDFlNzBkMjA5ODU2MTJlODg1YzhlNzM5YTllN2RhN2ZhMDc1ZjdmYTg2YzMwMTZiMzNiYiIsImlhdCI6MTc5MjY1NTM5NywibmJmIjoxNzkyNjU1Mzk3LCJleHAiOjE3OTI3NDE3OTcsInN1YiI6IjI5MzAzODAiLCJncmFudF90eXBlIjoiIiwiYWNjb3VudF9pZCI6MjI2OTk4NTIsImJhc2VfZG9tYWluIjoiYW1vY3JtLnJ1IiwidmVyc2lvbiI6Miwic2NvcGVzIjpbInB1c2hfbm90aWZpY2F0aW9ucyIsImNybSIsIm5vdGlmaWNhdGlvbnMiXSwiaGFzaF91dWlkIjoiNjEyOWRjNmMtMzgwNS00MmM2LThmMGYtYTgyOTMxYjQzYjUyIiwiYXBpX2RvbWFpbiI6ImFwaS1iLmFtb2NybS5ydSJ9.LLHVjEHW1SGy2yqnZukyOhTDlEW1uqRkGdtFKKJ88Lx6JD7-0fWj7RusCBmBYiYSlWUm0t_z8LRvMu-U1a2Vn3XFTgVj43gsNJ17OFB4Xr_tKWp_jH7WWq7nBlbOp9En6nF1u_35Y9tmmpy0y70aKvJ9ic_LhMoqSTl7DiwCVLud1GX5teK13jZs26wDf8rwAFndyt1a8RbeuSEW2dKn6BIIQdbBoWIG8OjoU_hJrw-SbQbSYLcT97H9x4xxDuBBOZGEvmtrCYghFsAojXrjVzGODAAW2AP0ZNSzBj7tiPaUtzJR8gkLRLVXEazuLUvCl73TAYokCocwC_8qO37zZw\"})","file":"/home/ytvmclwh/document.amocrm.md/src/Models/Docs.php","line":121} {"uid":"c0bfcac"}
[2026-10-23 09:13:52] docflow.DEBUG: AmoDrive docflow context request {"url":"https://google.emale.uno/api/docflow/google-context","query":{"account_id":"22699852","entity_id":"42828304","entity_type":"leads"}} {"uid":"c0bfcac"}
[2026-10-23 09:13:52] 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=42828304&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/10/23 09:13:52</td>\r\n</tr>\r\n</table>\r\n<hr><center>tengine</center>\r\n</body>\r\n</html>\r\n"} {"uid":"c0bfcac"}
[2026-10-23 09:13:52] docflow.DEBUG: AmoDrive docflow context request {"url":"https://gd.glucose-dev.online/api/docflow/google-context","query":{"account_id":"22699852","entity_id":"42828304","entity_type":"leads"}} {"uid":"c0bfcac"}
[2026-10-23 09:13:52] 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":22699852,"entityId":"42828304","entityType":"leads","amodrive":{"installed":false,"widgetStatus":"uninstalled","amoAccountId":22699852,"accountHost":"emigrare.amocrm.ru","license":{"status":"active","configuredStatus":"active","expiresAt":"2027-08-20T10:16:56.291Z","isExpired":false,"isTrial":false,"isActive":true,"expiredByDate":false,"daysRemaining":302,"isLifetime":false},"licenseActive":false,"googleConnected":false,"googleEmail":null,"googleHasDriveScope":false,"googleHasDriveFileScope":false,"googleHasOwnershipScope":false,"readyForGeneratedFileMove":false,"readyForTransfer":false},"folder":{"id":"1Z74ob26PIny9NuZh5jskS8uYmY4ybUf8","name":"42828304 - Lead #42828304","webViewLink":"https://drive.google.com/drive/folders/1Z74ob26PIny9NuZh5jskS8uYmY4ybUf8"}}} {"uid":"c0bfcac"}
[2026-10-23 09:13:52] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://google.emale.uno/api/docflow/prepare-generated-doc","payload":{"account_id":"22699852","entity_id":"42828304","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"c0bfcac"}
[2026-10-23 09:13:52] 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/10/23 09:13:52</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":"42828304","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"c0bfcac"}
[2026-10-23 09:13:52] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://gd.glucose-dev.online/api/docflow/prepare-generated-doc","payload":{"account_id":"22699852","entity_id":"42828304","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"c0bfcac"}
[2026-10-23 09:13:52] 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\":22699852})","payload":{"account_id":"22699852","entity_id":"42828304","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"c0bfcac"}
[2026-10-23 09:13:52] docflow.DEBUG: GAS request {"url":"https://script.google.com/macros/s/AKfycbwrvOJD46zkuoTzdhpc1kulhV8jRfgQBFZfQ121nkIip_k8yKit4xrbWTOzaJ-C-Yed6w/exec","body":{"templateFileId":"1SzGXEYI835Reg_M1AEPsRjzZ3ZvcLb1cGlMSjWjG9_s","accountId":"22699852","folderId":"1Us2AfskxgdA729xVr0F2vjZU9y5PlYDe","key":"~VTsK5dcnHc2cSSsjM$LFSjLlgbmJXwrp3R2P5nd","data":"{\"fileName\":\"\\u0421\\u0447\\u0435\\u0442 \\u043d\\u0430 \\u043e\\u043f\\u043b\\u0430\\u0442\\u0443 (Sber) 1750 20261023091352\",\"leadId\":\"42828304\",\"entities\":{\"\\u0441\\u0434\\u0435\\u043b\\u043a\\u0430\":{\"Suma \\u20ac\":\"0\",\"#Manager Front\":\"Cezara Cenusa\",\"Urm\\u0103torul contact\":\"2026-10-26 14:52:00\",\"Mod achitare\":\"Transfer card \\u0421\\u0431\\u0435\\u0440\\u0411\\u0430\\u043d\\u043a\",\"Suma avans\":\"780\",\"Manager Juridic\":\"Dascal Anatolie\",\"#Manager Jurist\":\"Dascal Anatolie\",\"ID\":\"42828304\",\"\\u0421\\u0434\\u0435\\u043b\\u043a\\u0430_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"sub. MD\",\"Lead_name\":\"sub. MD\",\"\\u0411\\u044e\\u0434\\u0436\\u0435\\u0442\":\"780\",\"Budget\":\"780\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"Cezara Cenusa\",\"Responsible\":\"Cezara Cenusa\"},\"lead\":{\"Suma \\u20ac\":\"0\",\"#Manager Front\":\"Cezara Cenusa\",\"Urm\\u0103torul contact\":\"2026-10-26 14:52:00\",\"Mod achitare\":\"Transfer card \\u0421\\u0431\\u0435\\u0440\\u0411\\u0430\\u043d\\u043a\",\"Suma avans\":\"780\",\"Manager Juridic\":\"Dascal Anatolie\",\"#Manager Jurist\":\"Dascal Anatolie\",\"ID\":\"42828304\",\"\\u0421\\u0434\\u0435\\u043b\\u043a\\u0430_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"sub. MD\",\"Lead_name\":\"sub. MD\",\"\\u0411\\u044e\\u0434\\u0436\\u0435\\u0442\":\"780\",\"Budget\":\"780\",\"\\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\":{\"WhatsappLid_WZ\":\"242532659240980\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"+79268655957\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Dorina Iulia\",\"Contact_name\":\"Dorina Iulia\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"Cezara Cenusa\",\"Responsible\":\"Cezara Cenusa\"},\"contact\":{\"WhatsappLid_WZ\":\"242532659240980\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"+79268655957\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Dorina Iulia\",\"Contact_name\":\"Dorina Iulia\",\"\\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\":[{\"WhatsappLid_WZ\":\"242532659240980\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"+79268655957\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Dorina Iulia\",\"\\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\":\"23.10.2026\",\"\\u041d\\u043e\\u043c\\u0435\\u0440\":\"1750\"},\"document\":{\"Date\":\"23.10.2026\",\"Number\":\"1750\"}}}","edit":true}} {"uid":"c0bfcac"}
[2026-10-23 09:13:58] docflow.DEBUG: GAS raw response {"raw":"[object] (stdClass: {\"code\":1,\"url\":\"https://docs.google.com/open?id=1XVr5APMLmaF5QG-A_RwHG_dCOjXUpXH4Om-06kQMZ_U\",\"file_id\":\"1XVr5APMLmaF5QG-A_RwHG_dCOjXUpXH4Om-06kQMZ_U\",\"error\":\"\",\"vars\":\"\"})"} {"uid":"c0bfcac"}
[2026-10-23 09:13:58] docflow.WARNING: AmoDrive generated-file move is not ready. {"fileId":"1XVr5APMLmaF5QG-A_RwHG_dCOjXUpXH4Om-06kQMZ_U","context":null} {"uid":"c0bfcac"}
[2026-10-23 09:15:17] docflow.INFO: Apel createDoc {"data":{"amoAccountId":"22699852","amoUserId":null,"amoEntityId":"42908293","amoEntityType":"2","templateId":"11487","corporateEntityId":"","settlementAccountId":"","is_signed":null,"gdi":null,"number":null,"currentAmoUserId":null,"lang":"ru"}} {"uid":"e216689"}
[2026-10-23 09:15:18] docflow.INFO: Token is valid for account 22699852. [] {"uid":"e216689"}
[2026-10-23 09:15:18] docflow.DEBUG: getClientAuth returned {"auth":"[object] (stdClass: {\"domain\":\"emigrare.amocrm.ru\",\"access_token\":\"eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImp0aSI6IjA4NjUzMGJkODIzYTYyZTlmZjZhNjY5OGNiZmU0MWU3MGQyMDk4NTYxMmU4ODVjOGU3MzlhOWU3ZGE3ZmEwNzVmN2ZhODZjMzAxNmIzM2JiIn0.eyJhdWQiOiIwZDY0ZGZmYi1lNTRiLTQ0OGYtOWZiZi1iYWYyMjUxYTExZGIiLCJqdGkiOiIwODY1MzBiZDgyM2E2MmU5ZmY2YTY2OThjYmZlNDFlNzBkMjA5ODU2MTJlODg1YzhlNzM5YTllN2RhN2ZhMDc1ZjdmYTg2YzMwMTZiMzNiYiIsImlhdCI6MTc5MjY1NTM5NywibmJmIjoxNzkyNjU1Mzk3LCJleHAiOjE3OTI3NDE3OTcsInN1YiI6IjI5MzAzODAiLCJncmFudF90eXBlIjoiIiwiYWNjb3VudF9pZCI6MjI2OTk4NTIsImJhc2VfZG9tYWluIjoiYW1vY3JtLnJ1IiwidmVyc2lvbiI6Miwic2NvcGVzIjpbInB1c2hfbm90aWZpY2F0aW9ucyIsImNybSIsIm5vdGlmaWNhdGlvbnMiXSwiaGFzaF91dWlkIjoiNjEyOWRjNmMtMzgwNS00MmM2LThmMGYtYTgyOTMxYjQzYjUyIiwiYXBpX2RvbWFpbiI6ImFwaS1iLmFtb2NybS5ydSJ9.LLHVjEHW1SGy2yqnZukyOhTDlEW1uqRkGdtFKKJ88Lx6JD7-0fWj7RusCBmBYiYSlWUm0t_z8LRvMu-U1a2Vn3XFTgVj43gsNJ17OFB4Xr_tKWp_jH7WWq7nBlbOp9En6nF1u_35Y9tmmpy0y70aKvJ9ic_LhMoqSTl7DiwCVLud1GX5teK13jZs26wDf8rwAFndyt1a8RbeuSEW2dKn6BIIQdbBoWIG8OjoU_hJrw-SbQbSYLcT97H9x4xxDuBBOZGEvmtrCYghFsAojXrjVzGODAAW2AP0ZNSzBj7tiPaUtzJR8gkLRLVXEazuLUvCl73TAYokCocwC_8qO37zZw\"})","file":"/home/ytvmclwh/document.amocrm.md/src/Models/Docs.php","line":121} {"uid":"e216689"}
[2026-10-23 09:15:21] docflow.DEBUG: AmoDrive docflow context request {"url":"https://google.emale.uno/api/docflow/google-context","query":{"account_id":"22699852","entity_id":"42908293","entity_type":"leads"}} {"uid":"e216689"}
[2026-10-23 09:15:21] 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=42908293&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/10/23 09:15:21</td>\r\n</tr>\r\n</table>\r\n<hr><center>tengine</center>\r\n</body>\r\n</html>\r\n"} {"uid":"e216689"}
[2026-10-23 09:15:21] docflow.DEBUG: AmoDrive docflow context request {"url":"https://gd.glucose-dev.online/api/docflow/google-context","query":{"account_id":"22699852","entity_id":"42908293","entity_type":"leads"}} {"uid":"e216689"}
[2026-10-23 09:15:21] 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":22699852,"entityId":"42908293","entityType":"leads","amodrive":{"installed":false,"widgetStatus":"uninstalled","amoAccountId":22699852,"accountHost":"emigrare.amocrm.ru","license":{"status":"active","configuredStatus":"active","expiresAt":"2027-08-20T10:16:56.291Z","isExpired":false,"isTrial":false,"isActive":true,"expiredByDate":false,"daysRemaining":302,"isLifetime":false},"licenseActive":false,"googleConnected":false,"googleEmail":null,"googleHasDriveScope":false,"googleHasDriveFileScope":false,"googleHasOwnershipScope":false,"readyForGeneratedFileMove":false,"readyForTransfer":false},"folder":{"id":"1Z2QZH0GVpieAyt2FKjl9_EWzfpKDCetU","name":"42908293 - Lead #42908293","webViewLink":"https://drive.google.com/drive/folders/1Z2QZH0GVpieAyt2FKjl9_EWzfpKDCetU"}}} {"uid":"e216689"}
[2026-10-23 09:15:21] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://google.emale.uno/api/docflow/prepare-generated-doc","payload":{"account_id":"22699852","entity_id":"42908293","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"e216689"}
[2026-10-23 09:15:21] 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/10/23 09:15:21</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":"42908293","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"e216689"}
[2026-10-23 09:15:21] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://gd.glucose-dev.online/api/docflow/prepare-generated-doc","payload":{"account_id":"22699852","entity_id":"42908293","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"e216689"}
[2026-10-23 09:15:21] 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\":22699852})","payload":{"account_id":"22699852","entity_id":"42908293","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"e216689"}
[2026-10-23 09:15:21] docflow.DEBUG: GAS request {"url":"https://script.google.com/macros/s/AKfycbwrvOJD46zkuoTzdhpc1kulhV8jRfgQBFZfQ121nkIip_k8yKit4xrbWTOzaJ-C-Yed6w/exec","body":{"templateFileId":"1Qs2KktxXVCWrpdnvN8VsXGZnUkoSyqidawI8Gy962Yg","accountId":"22699852","folderId":"1Us2AfskxgdA729xVr0F2vjZU9y5PlYDe","key":"~VTsK5dcnHc2cSSsjM$LFSjLlgbmJXwrp3R2P5nd","data":"{\"fileName\":\"Diverse 1303 20261023091521\",\"leadId\":\"42908293\",\"entities\":{\"\\u0441\\u0434\\u0435\\u043b\\u043a\\u0430\":{\"ID\":\"42908293\",\"\\u0421\\u0434\\u0435\\u043b\\u043a\\u0430_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"sub. MD (extras CN bunica)\",\"Lead_name\":\"sub. MD (extras CN bunica)\",\"\\u0411\\u044e\\u0434\\u0436\\u0435\\u0442\":\"150\",\"Budget\":\"150\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"Cezara Cenusa\",\"Responsible\":\"Cezara Cenusa\"},\"lead\":{\"ID\":\"42908293\",\"\\u0421\\u0434\\u0435\\u043b\\u043a\\u0430_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"sub. MD (extras CN bunica)\",\"Lead_name\":\"sub. MD (extras CN bunica)\",\"\\u0411\\u044e\\u0434\\u0436\\u0435\\u0442\":\"150\",\"Budget\":\"150\",\"\\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\":{\"TelegramId_WZ\":\"474835711\",\"TelegramUsername_WZ\":\"@m_salamashenko\",\"Email\":\"m.salamashenko@gmail.com\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"+380990491753\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Maksym Salamashenko\",\"Contact_name\":\"Maksym Salamashenko\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"Cezara Cenusa\",\"Responsible\":\"Cezara Cenusa\"},\"contact\":{\"TelegramId_WZ\":\"474835711\",\"TelegramUsername_WZ\":\"@m_salamashenko\",\"Email\":\"m.salamashenko@gmail.com\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"+380990491753\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Maksym Salamashenko\",\"Contact_name\":\"Maksym Salamashenko\",\"\\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\":[{\"TelegramId_WZ\":\"474835711\",\"TelegramUsername_WZ\":\"@m_salamashenko\",\"Email\":\"m.salamashenko@gmail.com\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"+380990491753\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Maksym Salamashenko\",\"\\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\":\"23.10.2026\",\"\\u041d\\u043e\\u043c\\u0435\\u0440\":\"1303\"},\"document\":{\"Date\":\"23.10.2026\",\"Number\":\"1303\"}}}","edit":true}} {"uid":"e216689"}
[2026-10-23 09:15:28] docflow.DEBUG: GAS raw response {"raw":"[object] (stdClass: {\"code\":1,\"url\":\"https://docs.google.com/open?id=1c7X9vqlMir3Isi3TxRQMKosuteutMTj23MFdObF20-g\",\"file_id\":\"1c7X9vqlMir3Isi3TxRQMKosuteutMTj23MFdObF20-g\",\"error\":\"\",\"vars\":\"\"})"} {"uid":"e216689"}
[2026-10-23 09:15:28] docflow.WARNING: AmoDrive generated-file move is not ready. {"fileId":"1c7X9vqlMir3Isi3TxRQMKosuteutMTj23MFdObF20-g","context":null} {"uid":"e216689"}
[2026-10-23 09:15:31] docflow.INFO: Apel createDoc {"data":{"amoAccountId":"22699852","amoUserId":null,"amoEntityId":"42828304","amoEntityType":"2","templateId":"11504","corporateEntityId":"","settlementAccountId":"","is_signed":null,"gdi":null,"number":null,"currentAmoUserId":null,"lang":"ru"}} {"uid":"d4e725b"}
[2026-10-23 09:15:31] docflow.INFO: Token is valid for account 22699852. [] {"uid":"d4e725b"}
[2026-10-23 09:15:31] docflow.DEBUG: getClientAuth returned {"auth":"[object] (stdClass: {\"domain\":\"emigrare.amocrm.ru\",\"access_token\":\"eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImp0aSI6IjA4NjUzMGJkODIzYTYyZTlmZjZhNjY5OGNiZmU0MWU3MGQyMDk4NTYxMmU4ODVjOGU3MzlhOWU3ZGE3ZmEwNzVmN2ZhODZjMzAxNmIzM2JiIn0.eyJhdWQiOiIwZDY0ZGZmYi1lNTRiLTQ0OGYtOWZiZi1iYWYyMjUxYTExZGIiLCJqdGkiOiIwODY1MzBiZDgyM2E2MmU5ZmY2YTY2OThjYmZlNDFlNzBkMjA5ODU2MTJlODg1YzhlNzM5YTllN2RhN2ZhMDc1ZjdmYTg2YzMwMTZiMzNiYiIsImlhdCI6MTc5MjY1NTM5NywibmJmIjoxNzkyNjU1Mzk3LCJleHAiOjE3OTI3NDE3OTcsInN1YiI6IjI5MzAzODAiLCJncmFudF90eXBlIjoiIiwiYWNjb3VudF9pZCI6MjI2OTk4NTIsImJhc2VfZG9tYWluIjoiYW1vY3JtLnJ1IiwidmVyc2lvbiI6Miwic2NvcGVzIjpbInB1c2hfbm90aWZpY2F0aW9ucyIsImNybSIsIm5vdGlmaWNhdGlvbnMiXSwiaGFzaF91dWlkIjoiNjEyOWRjNmMtMzgwNS00MmM2LThmMGYtYTgyOTMxYjQzYjUyIiwiYXBpX2RvbWFpbiI6ImFwaS1iLmFtb2NybS5ydSJ9.LLHVjEHW1SGy2yqnZukyOhTDlEW1uqRkGdtFKKJ88Lx6JD7-0fWj7RusCBmBYiYSlWUm0t_z8LRvMu-U1a2Vn3XFTgVj43gsNJ17OFB4Xr_tKWp_jH7WWq7nBlbOp9En6nF1u_35Y9tmmpy0y70aKvJ9ic_LhMoqSTl7DiwCVLud1GX5teK13jZs26wDf8rwAFndyt1a8RbeuSEW2dKn6BIIQdbBoWIG8OjoU_hJrw-SbQbSYLcT97H9x4xxDuBBOZGEvmtrCYghFsAojXrjVzGODAAW2AP0ZNSzBj7tiPaUtzJR8gkLRLVXEazuLUvCl73TAYokCocwC_8qO37zZw\"})","file":"/home/ytvmclwh/document.amocrm.md/src/Models/Docs.php","line":121} {"uid":"d4e725b"}
[2026-10-23 09:15:33] docflow.DEBUG: AmoDrive docflow context request {"url":"https://google.emale.uno/api/docflow/google-context","query":{"account_id":"22699852","entity_id":"42828304","entity_type":"leads"}} {"uid":"d4e725b"}
[2026-10-23 09:15:33] 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=42828304&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/10/23 09:15:33</td>\r\n</tr>\r\n</table>\r\n<hr><center>tengine</center>\r\n</body>\r\n</html>\r\n"} {"uid":"d4e725b"}
[2026-10-23 09:15:33] docflow.DEBUG: AmoDrive docflow context request {"url":"https://gd.glucose-dev.online/api/docflow/google-context","query":{"account_id":"22699852","entity_id":"42828304","entity_type":"leads"}} {"uid":"d4e725b"}
[2026-10-23 09:15:33] 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":22699852,"entityId":"42828304","entityType":"leads","amodrive":{"installed":false,"widgetStatus":"uninstalled","amoAccountId":22699852,"accountHost":"emigrare.amocrm.ru","license":{"status":"active","configuredStatus":"active","expiresAt":"2027-08-20T10:16:56.291Z","isExpired":false,"isTrial":false,"isActive":true,"expiredByDate":false,"daysRemaining":302,"isLifetime":false},"licenseActive":false,"googleConnected":false,"googleEmail":null,"googleHasDriveScope":false,"googleHasDriveFileScope":false,"googleHasOwnershipScope":false,"readyForGeneratedFileMove":false,"readyForTransfer":false},"folder":{"id":"1Z74ob26PIny9NuZh5jskS8uYmY4ybUf8","name":"42828304 - Lead #42828304","webViewLink":"https://drive.google.com/drive/folders/1Z74ob26PIny9NuZh5jskS8uYmY4ybUf8"}}} {"uid":"d4e725b"}
[2026-10-23 09:15:33] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://google.emale.uno/api/docflow/prepare-generated-doc","payload":{"account_id":"22699852","entity_id":"42828304","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"d4e725b"}
[2026-10-23 09:15:34] 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/10/23 09:15:33</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":"42828304","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"d4e725b"}
[2026-10-23 09:15:34] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://gd.glucose-dev.online/api/docflow/prepare-generated-doc","payload":{"account_id":"22699852","entity_id":"42828304","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"d4e725b"}
[2026-10-23 09:15:34] 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\":22699852})","payload":{"account_id":"22699852","entity_id":"42828304","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"d4e725b"}
[2026-10-23 09:15:34] docflow.DEBUG: GAS request {"url":"https://script.google.com/macros/s/AKfycbwrvOJD46zkuoTzdhpc1kulhV8jRfgQBFZfQ121nkIip_k8yKit4xrbWTOzaJ-C-Yed6w/exec","body":{"templateFileId":"1fiDEkj3eAI4XA1NOTKy_2IPPsg8jKEFNlm8nKHlFCi4","accountId":"22699852","folderId":"1Us2AfskxgdA729xVr0F2vjZU9y5PlYDe","key":"~VTsK5dcnHc2cSSsjM$LFSjLlgbmJXwrp3R2P5nd","data":"{\"fileName\":\"\\u0421\\u043e\\u0433\\u043b\\u0430\\u0441\\u0438\\u0435 (\\u0434\\u043e\\u0433\\u043e\\u0432\\u043e\\u0440) 113 20261023091533\",\"leadId\":\"42828304\",\"entities\":{\"\\u0441\\u0434\\u0435\\u043b\\u043a\\u0430\":{\"Suma \\u20ac\":\"0\",\"#Manager Front\":\"Cezara Cenusa\",\"Urm\\u0103torul contact\":\"2026-10-26 14:52:00\",\"Mod achitare\":\"Transfer card \\u0421\\u0431\\u0435\\u0440\\u0411\\u0430\\u043d\\u043a\",\"Suma avans\":\"780\",\"Manager Juridic\":\"Dascal Anatolie\",\"#Manager Jurist\":\"Dascal Anatolie\",\"ID\":\"42828304\",\"\\u0421\\u0434\\u0435\\u043b\\u043a\\u0430_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"sub. MD\",\"Lead_name\":\"sub. MD\",\"\\u0411\\u044e\\u0434\\u0436\\u0435\\u0442\":\"780\",\"Budget\":\"780\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"Cezara Cenusa\",\"Responsible\":\"Cezara Cenusa\"},\"lead\":{\"Suma \\u20ac\":\"0\",\"#Manager Front\":\"Cezara Cenusa\",\"Urm\\u0103torul contact\":\"2026-10-26 14:52:00\",\"Mod achitare\":\"Transfer card \\u0421\\u0431\\u0435\\u0440\\u0411\\u0430\\u043d\\u043a\",\"Suma avans\":\"780\",\"Manager Juridic\":\"Dascal Anatolie\",\"#Manager Jurist\":\"Dascal Anatolie\",\"ID\":\"42828304\",\"\\u0421\\u0434\\u0435\\u043b\\u043a\\u0430_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"sub. MD\",\"Lead_name\":\"sub. MD\",\"\\u0411\\u044e\\u0434\\u0436\\u0435\\u0442\":\"780\",\"Budget\":\"780\",\"\\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\":{\"WhatsappLid_WZ\":\"242532659240980\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"+79268655957\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Dorina Iulia\",\"Contact_name\":\"Dorina Iulia\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"Cezara Cenusa\",\"Responsible\":\"Cezara Cenusa\"},\"contact\":{\"WhatsappLid_WZ\":\"242532659240980\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"+79268655957\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Dorina Iulia\",\"Contact_name\":\"Dorina Iulia\",\"\\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\":[{\"WhatsappLid_WZ\":\"242532659240980\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"+79268655957\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Dorina Iulia\",\"\\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\":\"23.10.2026\",\"\\u041d\\u043e\\u043c\\u0435\\u0440\":\"113\"},\"document\":{\"Date\":\"23.10.2026\",\"Number\":\"113\"}}}","edit":true}} {"uid":"d4e725b"}
[2026-10-23 09:15:40] docflow.DEBUG: GAS raw response {"raw":"[object] (stdClass: {\"code\":1,\"url\":\"https://docs.google.com/open?id=1CHX4TKGftMY6mqwNd9qgFoSt9N5fe4-1TG3DmUm4c2w\",\"file_id\":\"1CHX4TKGftMY6mqwNd9qgFoSt9N5fe4-1TG3DmUm4c2w\",\"error\":\"\",\"vars\":\"\"})"} {"uid":"d4e725b"}
[2026-10-23 09:15:40] docflow.WARNING: AmoDrive generated-file move is not ready. {"fileId":"1CHX4TKGftMY6mqwNd9qgFoSt9N5fe4-1TG3DmUm4c2w","context":null} {"uid":"d4e725b"}
[2026-10-23 09:15:43] docflow.INFO: Apel createDoc {"data":{"amoAccountId":"22699852","amoUserId":null,"amoEntityId":"42908293","amoEntityType":"2","templateId":"11518","corporateEntityId":"","settlementAccountId":"","is_signed":null,"gdi":null,"number":null,"currentAmoUserId":null,"lang":"ru"}} {"uid":"2d50c2c"}
[2026-10-23 09:15:43] docflow.INFO: Token is valid for account 22699852. [] {"uid":"2d50c2c"}
[2026-10-23 09:15:43] docflow.DEBUG: getClientAuth returned {"auth":"[object] (stdClass: {\"domain\":\"emigrare.amocrm.ru\",\"access_token\":\"eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImp0aSI6IjA4NjUzMGJkODIzYTYyZTlmZjZhNjY5OGNiZmU0MWU3MGQyMDk4NTYxMmU4ODVjOGU3MzlhOWU3ZGE3ZmEwNzVmN2ZhODZjMzAxNmIzM2JiIn0.eyJhdWQiOiIwZDY0ZGZmYi1lNTRiLTQ0OGYtOWZiZi1iYWYyMjUxYTExZGIiLCJqdGkiOiIwODY1MzBiZDgyM2E2MmU5ZmY2YTY2OThjYmZlNDFlNzBkMjA5ODU2MTJlODg1YzhlNzM5YTllN2RhN2ZhMDc1ZjdmYTg2YzMwMTZiMzNiYiIsImlhdCI6MTc5MjY1NTM5NywibmJmIjoxNzkyNjU1Mzk3LCJleHAiOjE3OTI3NDE3OTcsInN1YiI6IjI5MzAzODAiLCJncmFudF90eXBlIjoiIiwiYWNjb3VudF9pZCI6MjI2OTk4NTIsImJhc2VfZG9tYWluIjoiYW1vY3JtLnJ1IiwidmVyc2lvbiI6Miwic2NvcGVzIjpbInB1c2hfbm90aWZpY2F0aW9ucyIsImNybSIsIm5vdGlmaWNhdGlvbnMiXSwiaGFzaF91dWlkIjoiNjEyOWRjNmMtMzgwNS00MmM2LThmMGYtYTgyOTMxYjQzYjUyIiwiYXBpX2RvbWFpbiI6ImFwaS1iLmFtb2NybS5ydSJ9.LLHVjEHW1SGy2yqnZukyOhTDlEW1uqRkGdtFKKJ88Lx6JD7-0fWj7RusCBmBYiYSlWUm0t_z8LRvMu-U1a2Vn3XFTgVj43gsNJ17OFB4Xr_tKWp_jH7WWq7nBlbOp9En6nF1u_35Y9tmmpy0y70aKvJ9ic_LhMoqSTl7DiwCVLud1GX5teK13jZs26wDf8rwAFndyt1a8RbeuSEW2dKn6BIIQdbBoWIG8OjoU_hJrw-SbQbSYLcT97H9x4xxDuBBOZGEvmtrCYghFsAojXrjVzGODAAW2AP0ZNSzBj7tiPaUtzJR8gkLRLVXEazuLUvCl73TAYokCocwC_8qO37zZw\"})","file":"/home/ytvmclwh/document.amocrm.md/src/Models/Docs.php","line":121} {"uid":"2d50c2c"}
[2026-10-23 09:15:49] docflow.DEBUG: AmoDrive docflow context request {"url":"https://google.emale.uno/api/docflow/google-context","query":{"account_id":"22699852","entity_id":"42908293","entity_type":"leads"}} {"uid":"2d50c2c"}
[2026-10-23 09:15:49] 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=42908293&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/10/23 09:15:49</td>\r\n</tr>\r\n</table>\r\n<hr><center>tengine</center>\r\n</body>\r\n</html>\r\n"} {"uid":"2d50c2c"}
[2026-10-23 09:15:49] docflow.DEBUG: AmoDrive docflow context request {"url":"https://gd.glucose-dev.online/api/docflow/google-context","query":{"account_id":"22699852","entity_id":"42908293","entity_type":"leads"}} {"uid":"2d50c2c"}
[2026-10-23 09:15:49] 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":22699852,"entityId":"42908293","entityType":"leads","amodrive":{"installed":false,"widgetStatus":"uninstalled","amoAccountId":22699852,"accountHost":"emigrare.amocrm.ru","license":{"status":"active","configuredStatus":"active","expiresAt":"2027-08-20T10:16:56.291Z","isExpired":false,"isTrial":false,"isActive":true,"expiredByDate":false,"daysRemaining":302,"isLifetime":false},"licenseActive":false,"googleConnected":false,"googleEmail":null,"googleHasDriveScope":false,"googleHasDriveFileScope":false,"googleHasOwnershipScope":false,"readyForGeneratedFileMove":false,"readyForTransfer":false},"folder":{"id":"1Z2QZH0GVpieAyt2FKjl9_EWzfpKDCetU","name":"42908293 - Lead #42908293","webViewLink":"https://drive.google.com/drive/folders/1Z2QZH0GVpieAyt2FKjl9_EWzfpKDCetU"}}} {"uid":"2d50c2c"}
[2026-10-23 09:15:49] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://google.emale.uno/api/docflow/prepare-generated-doc","payload":{"account_id":"22699852","entity_id":"42908293","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"2d50c2c"}
[2026-10-23 09:15:49] 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/10/23 09:15:49</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":"42908293","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"2d50c2c"}
[2026-10-23 09:15:49] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://gd.glucose-dev.online/api/docflow/prepare-generated-doc","payload":{"account_id":"22699852","entity_id":"42908293","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"2d50c2c"}
[2026-10-23 09:15:49] 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\":22699852})","payload":{"account_id":"22699852","entity_id":"42908293","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"2d50c2c"}
[2026-10-23 09:15:49] docflow.DEBUG: GAS request {"url":"https://script.google.com/macros/s/AKfycbwrvOJD46zkuoTzdhpc1kulhV8jRfgQBFZfQ121nkIip_k8yKit4xrbWTOzaJ-C-Yed6w/exec","body":{"templateFileId":"1h8Vj-GobGEV9asTSF5Bl3Pf0z_-mfC7nKR4qBeU1xhc","accountId":"22699852","folderId":"1Us2AfskxgdA729xVr0F2vjZU9y5PlYDe","key":"~VTsK5dcnHc2cSSsjM$LFSjLlgbmJXwrp3R2P5nd","data":"{\"fileName\":\"\\u0421\\u0447\\u0435\\u0442 \\u043d\\u0430 \\u043e\\u043f\\u043b\\u0430\\u0442\\u0443 (USDT)  333 20261023091549\",\"leadId\":\"42908293\",\"entities\":{\"\\u0441\\u0434\\u0435\\u043b\\u043a\\u0430\":{\"ID\":\"42908293\",\"\\u0421\\u0434\\u0435\\u043b\\u043a\\u0430_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"sub. MD (extras CN bunica)\",\"Lead_name\":\"sub. MD (extras CN bunica)\",\"\\u0411\\u044e\\u0434\\u0436\\u0435\\u0442\":\"150\",\"Budget\":\"150\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"Cezara Cenusa\",\"Responsible\":\"Cezara Cenusa\"},\"lead\":{\"ID\":\"42908293\",\"\\u0421\\u0434\\u0435\\u043b\\u043a\\u0430_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"sub. MD (extras CN bunica)\",\"Lead_name\":\"sub. MD (extras CN bunica)\",\"\\u0411\\u044e\\u0434\\u0436\\u0435\\u0442\":\"150\",\"Budget\":\"150\",\"\\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\":{\"TelegramId_WZ\":\"474835711\",\"TelegramUsername_WZ\":\"@m_salamashenko\",\"Email\":\"m.salamashenko@gmail.com\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"+380990491753\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Maksym Salamashenko\",\"Contact_name\":\"Maksym Salamashenko\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"Cezara Cenusa\",\"Responsible\":\"Cezara Cenusa\"},\"contact\":{\"TelegramId_WZ\":\"474835711\",\"TelegramUsername_WZ\":\"@m_salamashenko\",\"Email\":\"m.salamashenko@gmail.com\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"+380990491753\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Maksym Salamashenko\",\"Contact_name\":\"Maksym Salamashenko\",\"\\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\":[{\"TelegramId_WZ\":\"474835711\",\"TelegramUsername_WZ\":\"@m_salamashenko\",\"Email\":\"m.salamashenko@gmail.com\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"+380990491753\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Maksym Salamashenko\",\"\\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\":\"23.10.2026\",\"\\u041d\\u043e\\u043c\\u0435\\u0440\":\"333\"},\"document\":{\"Date\":\"23.10.2026\",\"Number\":\"333\"}}}","edit":true}} {"uid":"2d50c2c"}
[2026-10-23 09:15:53] docflow.INFO: Apel createDoc {"data":{"amoAccountId":"22699852","amoUserId":null,"amoEntityId":"42828304","amoEntityType":"2","templateId":"11500","corporateEntityId":"","settlementAccountId":"","is_signed":null,"gdi":null,"number":null,"currentAmoUserId":null,"lang":"ru"}} {"uid":"35da847"}
[2026-10-23 09:15:54] docflow.INFO: Token is valid for account 22699852. [] {"uid":"35da847"}
[2026-10-23 09:15:54] docflow.DEBUG: getClientAuth returned {"auth":"[object] (stdClass: {\"domain\":\"emigrare.amocrm.ru\",\"access_token\":\"eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImp0aSI6IjA4NjUzMGJkODIzYTYyZTlmZjZhNjY5OGNiZmU0MWU3MGQyMDk4NTYxMmU4ODVjOGU3MzlhOWU3ZGE3ZmEwNzVmN2ZhODZjMzAxNmIzM2JiIn0.eyJhdWQiOiIwZDY0ZGZmYi1lNTRiLTQ0OGYtOWZiZi1iYWYyMjUxYTExZGIiLCJqdGkiOiIwODY1MzBiZDgyM2E2MmU5ZmY2YTY2OThjYmZlNDFlNzBkMjA5ODU2MTJlODg1YzhlNzM5YTllN2RhN2ZhMDc1ZjdmYTg2YzMwMTZiMzNiYiIsImlhdCI6MTc5MjY1NTM5NywibmJmIjoxNzkyNjU1Mzk3LCJleHAiOjE3OTI3NDE3OTcsInN1YiI6IjI5MzAzODAiLCJncmFudF90eXBlIjoiIiwiYWNjb3VudF9pZCI6MjI2OTk4NTIsImJhc2VfZG9tYWluIjoiYW1vY3JtLnJ1IiwidmVyc2lvbiI6Miwic2NvcGVzIjpbInB1c2hfbm90aWZpY2F0aW9ucyIsImNybSIsIm5vdGlmaWNhdGlvbnMiXSwiaGFzaF91dWlkIjoiNjEyOWRjNmMtMzgwNS00MmM2LThmMGYtYTgyOTMxYjQzYjUyIiwiYXBpX2RvbWFpbiI6ImFwaS1iLmFtb2NybS5ydSJ9.LLHVjEHW1SGy2yqnZukyOhTDlEW1uqRkGdtFKKJ88Lx6JD7-0fWj7RusCBmBYiYSlWUm0t_z8LRvMu-U1a2Vn3XFTgVj43gsNJ17OFB4Xr_tKWp_jH7WWq7nBlbOp9En6nF1u_35Y9tmmpy0y70aKvJ9ic_LhMoqSTl7DiwCVLud1GX5teK13jZs26wDf8rwAFndyt1a8RbeuSEW2dKn6BIIQdbBoWIG8OjoU_hJrw-SbQbSYLcT97H9x4xxDuBBOZGEvmtrCYghFsAojXrjVzGODAAW2AP0ZNSzBj7tiPaUtzJR8gkLRLVXEazuLUvCl73TAYokCocwC_8qO37zZw\"})","file":"/home/ytvmclwh/document.amocrm.md/src/Models/Docs.php","line":121} {"uid":"35da847"}
[2026-10-23 09:15:56] docflow.DEBUG: AmoDrive docflow context request {"url":"https://google.emale.uno/api/docflow/google-context","query":{"account_id":"22699852","entity_id":"42828304","entity_type":"leads"}} {"uid":"35da847"}
[2026-10-23 09:15:56] docflow.DEBUG: GAS raw response {"raw":"[object] (stdClass: {\"code\":1,\"url\":\"https://docs.google.com/open?id=1ZuwNkkFjFJnEsgNQVIUgeAxrXIn_WMEli0yeqaAbZsU\",\"file_id\":\"1ZuwNkkFjFJnEsgNQVIUgeAxrXIn_WMEli0yeqaAbZsU\",\"error\":\"\",\"vars\":\"\"})"} {"uid":"2d50c2c"}
[2026-10-23 09:15:56] docflow.WARNING: AmoDrive generated-file move is not ready. {"fileId":"1ZuwNkkFjFJnEsgNQVIUgeAxrXIn_WMEli0yeqaAbZsU","context":null} {"uid":"2d50c2c"}
[2026-10-23 09:15:56] 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=42828304&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/10/23 09:15:56</td>\r\n</tr>\r\n</table>\r\n<hr><center>tengine</center>\r\n</body>\r\n</html>\r\n"} {"uid":"35da847"}
[2026-10-23 09:15:56] docflow.DEBUG: AmoDrive docflow context request {"url":"https://gd.glucose-dev.online/api/docflow/google-context","query":{"account_id":"22699852","entity_id":"42828304","entity_type":"leads"}} {"uid":"35da847"}
[2026-10-23 09:15:56] 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":22699852,"entityId":"42828304","entityType":"leads","amodrive":{"installed":false,"widgetStatus":"uninstalled","amoAccountId":22699852,"accountHost":"emigrare.amocrm.ru","license":{"status":"active","configuredStatus":"active","expiresAt":"2027-08-20T10:16:56.291Z","isExpired":false,"isTrial":false,"isActive":true,"expiredByDate":false,"daysRemaining":302,"isLifetime":false},"licenseActive":false,"googleConnected":false,"googleEmail":null,"googleHasDriveScope":false,"googleHasDriveFileScope":false,"googleHasOwnershipScope":false,"readyForGeneratedFileMove":false,"readyForTransfer":false},"folder":{"id":"1Z74ob26PIny9NuZh5jskS8uYmY4ybUf8","name":"42828304 - Lead #42828304","webViewLink":"https://drive.google.com/drive/folders/1Z74ob26PIny9NuZh5jskS8uYmY4ybUf8"}}} {"uid":"35da847"}
[2026-10-23 09:15:56] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://google.emale.uno/api/docflow/prepare-generated-doc","payload":{"account_id":"22699852","entity_id":"42828304","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"35da847"}
[2026-10-23 09:15:56] 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/10/23 09:15:56</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":"42828304","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"35da847"}
[2026-10-23 09:15:56] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://gd.glucose-dev.online/api/docflow/prepare-generated-doc","payload":{"account_id":"22699852","entity_id":"42828304","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"35da847"}
[2026-10-23 09:15:56] 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\":22699852})","payload":{"account_id":"22699852","entity_id":"42828304","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"35da847"}
[2026-10-23 09:15:56] docflow.DEBUG: GAS request {"url":"https://script.google.com/macros/s/AKfycbwrvOJD46zkuoTzdhpc1kulhV8jRfgQBFZfQ121nkIip_k8yKit4xrbWTOzaJ-C-Yed6w/exec","body":{"templateFileId":"18-Wrinvrr35El29pFxxTVtyiAztMcc3cfD-_ziIujqw","accountId":"22699852","folderId":"1Us2AfskxgdA729xVr0F2vjZU9y5PlYDe","key":"~VTsK5dcnHc2cSSsjM$LFSjLlgbmJXwrp3R2P5nd","data":"{\"fileName\":\"SRL 731 20261023091556\",\"leadId\":\"42828304\",\"entities\":{\"\\u0441\\u0434\\u0435\\u043b\\u043a\\u0430\":{\"Suma \\u20ac\":\"0\",\"#Manager Front\":\"Cezara Cenusa\",\"Urm\\u0103torul contact\":\"2026-10-26 14:52:00\",\"Mod achitare\":\"Transfer card \\u0421\\u0431\\u0435\\u0440\\u0411\\u0430\\u043d\\u043a\",\"Suma avans\":\"780\",\"Manager Juridic\":\"Dascal Anatolie\",\"#Manager Jurist\":\"Dascal Anatolie\",\"ID\":\"42828304\",\"\\u0421\\u0434\\u0435\\u043b\\u043a\\u0430_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"sub. MD\",\"Lead_name\":\"sub. MD\",\"\\u0411\\u044e\\u0434\\u0436\\u0435\\u0442\":\"780\",\"Budget\":\"780\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"Cezara Cenusa\",\"Responsible\":\"Cezara Cenusa\"},\"lead\":{\"Suma \\u20ac\":\"0\",\"#Manager Front\":\"Cezara Cenusa\",\"Urm\\u0103torul contact\":\"2026-10-26 14:52:00\",\"Mod achitare\":\"Transfer card \\u0421\\u0431\\u0435\\u0440\\u0411\\u0430\\u043d\\u043a\",\"Suma avans\":\"780\",\"Manager Juridic\":\"Dascal Anatolie\",\"#Manager Jurist\":\"Dascal Anatolie\",\"ID\":\"42828304\",\"\\u0421\\u0434\\u0435\\u043b\\u043a\\u0430_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"sub. MD\",\"Lead_name\":\"sub. MD\",\"\\u0411\\u044e\\u0434\\u0436\\u0435\\u0442\":\"780\",\"Budget\":\"780\",\"\\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\":{\"WhatsappLid_WZ\":\"242532659240980\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"+79268655957\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Dorina Iulia\",\"Contact_name\":\"Dorina Iulia\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"Cezara Cenusa\",\"Responsible\":\"Cezara Cenusa\"},\"contact\":{\"WhatsappLid_WZ\":\"242532659240980\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"+79268655957\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Dorina Iulia\",\"Contact_name\":\"Dorina Iulia\",\"\\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\":[{\"WhatsappLid_WZ\":\"242532659240980\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"+79268655957\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Dorina Iulia\",\"\\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\":\"23.10.2026\",\"\\u041d\\u043e\\u043c\\u0435\\u0440\":\"731\"},\"document\":{\"Date\":\"23.10.2026\",\"Number\":\"731\"}}}","edit":true}} {"uid":"35da847"}
[2026-10-23 09:16:03] docflow.INFO: Apel createDoc {"data":{"amoAccountId":"22699852","amoUserId":null,"amoEntityId":"42908293","amoEntityType":"2","templateId":"11504","corporateEntityId":"","settlementAccountId":"","is_signed":null,"gdi":null,"number":null,"currentAmoUserId":null,"lang":"ru"}} {"uid":"f0dc71b"}
[2026-10-23 09:16:04] docflow.INFO: Token is valid for account 22699852. [] {"uid":"f0dc71b"}
[2026-10-23 09:16:04] docflow.DEBUG: getClientAuth returned {"auth":"[object] (stdClass: {\"domain\":\"emigrare.amocrm.ru\",\"access_token\":\"eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImp0aSI6IjA4NjUzMGJkODIzYTYyZTlmZjZhNjY5OGNiZmU0MWU3MGQyMDk4NTYxMmU4ODVjOGU3MzlhOWU3ZGE3ZmEwNzVmN2ZhODZjMzAxNmIzM2JiIn0.eyJhdWQiOiIwZDY0ZGZmYi1lNTRiLTQ0OGYtOWZiZi1iYWYyMjUxYTExZGIiLCJqdGkiOiIwODY1MzBiZDgyM2E2MmU5ZmY2YTY2OThjYmZlNDFlNzBkMjA5ODU2MTJlODg1YzhlNzM5YTllN2RhN2ZhMDc1ZjdmYTg2YzMwMTZiMzNiYiIsImlhdCI6MTc5MjY1NTM5NywibmJmIjoxNzkyNjU1Mzk3LCJleHAiOjE3OTI3NDE3OTcsInN1YiI6IjI5MzAzODAiLCJncmFudF90eXBlIjoiIiwiYWNjb3VudF9pZCI6MjI2OTk4NTIsImJhc2VfZG9tYWluIjoiYW1vY3JtLnJ1IiwidmVyc2lvbiI6Miwic2NvcGVzIjpbInB1c2hfbm90aWZpY2F0aW9ucyIsImNybSIsIm5vdGlmaWNhdGlvbnMiXSwiaGFzaF91dWlkIjoiNjEyOWRjNmMtMzgwNS00MmM2LThmMGYtYTgyOTMxYjQzYjUyIiwiYXBpX2RvbWFpbiI6ImFwaS1iLmFtb2NybS5ydSJ9.LLHVjEHW1SGy2yqnZukyOhTDlEW1uqRkGdtFKKJ88Lx6JD7-0fWj7RusCBmBYiYSlWUm0t_z8LRvMu-U1a2Vn3XFTgVj43gsNJ17OFB4Xr_tKWp_jH7WWq7nBlbOp9En6nF1u_35Y9tmmpy0y70aKvJ9ic_LhMoqSTl7DiwCVLud1GX5teK13jZs26wDf8rwAFndyt1a8RbeuSEW2dKn6BIIQdbBoWIG8OjoU_hJrw-SbQbSYLcT97H9x4xxDuBBOZGEvmtrCYghFsAojXrjVzGODAAW2AP0ZNSzBj7tiPaUtzJR8gkLRLVXEazuLUvCl73TAYokCocwC_8qO37zZw\"})","file":"/home/ytvmclwh/document.amocrm.md/src/Models/Docs.php","line":121} {"uid":"f0dc71b"}
[2026-10-23 09:16:04] docflow.DEBUG: GAS raw response {"raw":"[object] (stdClass: {\"code\":1,\"url\":\"https://docs.google.com/open?id=1t1Ks_UFPQGeYI9zBno_YymZ4Z4xmnT0aSHrLM9cG_wY\",\"file_id\":\"1t1Ks_UFPQGeYI9zBno_YymZ4Z4xmnT0aSHrLM9cG_wY\",\"error\":\"\",\"vars\":\"\"})"} {"uid":"35da847"}
[2026-10-23 09:16:04] docflow.WARNING: AmoDrive generated-file move is not ready. {"fileId":"1t1Ks_UFPQGeYI9zBno_YymZ4Z4xmnT0aSHrLM9cG_wY","context":null} {"uid":"35da847"}
[2026-10-23 09:16:07] docflow.DEBUG: AmoDrive docflow context request {"url":"https://google.emale.uno/api/docflow/google-context","query":{"account_id":"22699852","entity_id":"42908293","entity_type":"leads"}} {"uid":"f0dc71b"}
[2026-10-23 09:16:07] 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=42908293&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/10/23 09:16:07</td>\r\n</tr>\r\n</table>\r\n<hr><center>tengine</center>\r\n</body>\r\n</html>\r\n"} {"uid":"f0dc71b"}
[2026-10-23 09:16:07] docflow.DEBUG: AmoDrive docflow context request {"url":"https://gd.glucose-dev.online/api/docflow/google-context","query":{"account_id":"22699852","entity_id":"42908293","entity_type":"leads"}} {"uid":"f0dc71b"}
[2026-10-23 09:16:07] 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":22699852,"entityId":"42908293","entityType":"leads","amodrive":{"installed":false,"widgetStatus":"uninstalled","amoAccountId":22699852,"accountHost":"emigrare.amocrm.ru","license":{"status":"active","configuredStatus":"active","expiresAt":"2027-08-20T10:16:56.291Z","isExpired":false,"isTrial":false,"isActive":true,"expiredByDate":false,"daysRemaining":302,"isLifetime":false},"licenseActive":false,"googleConnected":false,"googleEmail":null,"googleHasDriveScope":false,"googleHasDriveFileScope":false,"googleHasOwnershipScope":false,"readyForGeneratedFileMove":false,"readyForTransfer":false},"folder":{"id":"1Z2QZH0GVpieAyt2FKjl9_EWzfpKDCetU","name":"42908293 - Lead #42908293","webViewLink":"https://drive.google.com/drive/folders/1Z2QZH0GVpieAyt2FKjl9_EWzfpKDCetU"}}} {"uid":"f0dc71b"}
[2026-10-23 09:16:07] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://google.emale.uno/api/docflow/prepare-generated-doc","payload":{"account_id":"22699852","entity_id":"42908293","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"f0dc71b"}
[2026-10-23 09:16:07] 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/10/23 09:16:07</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":"42908293","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"f0dc71b"}
[2026-10-23 09:16:07] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://gd.glucose-dev.online/api/docflow/prepare-generated-doc","payload":{"account_id":"22699852","entity_id":"42908293","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"f0dc71b"}
[2026-10-23 09:16:07] 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\":22699852})","payload":{"account_id":"22699852","entity_id":"42908293","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"f0dc71b"}
[2026-10-23 09:16:07] docflow.DEBUG: GAS request {"url":"https://script.google.com/macros/s/AKfycbwrvOJD46zkuoTzdhpc1kulhV8jRfgQBFZfQ121nkIip_k8yKit4xrbWTOzaJ-C-Yed6w/exec","body":{"templateFileId":"1fiDEkj3eAI4XA1NOTKy_2IPPsg8jKEFNlm8nKHlFCi4","accountId":"22699852","folderId":"1Us2AfskxgdA729xVr0F2vjZU9y5PlYDe","key":"~VTsK5dcnHc2cSSsjM$LFSjLlgbmJXwrp3R2P5nd","data":"{\"fileName\":\"\\u0421\\u043e\\u0433\\u043b\\u0430\\u0441\\u0438\\u0435 (\\u0434\\u043e\\u0433\\u043e\\u0432\\u043e\\u0440) 114 20261023091607\",\"leadId\":\"42908293\",\"entities\":{\"\\u0441\\u0434\\u0435\\u043b\\u043a\\u0430\":{\"ID\":\"42908293\",\"\\u0421\\u0434\\u0435\\u043b\\u043a\\u0430_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"sub. MD (extras CN bunica)\",\"Lead_name\":\"sub. MD (extras CN bunica)\",\"\\u0411\\u044e\\u0434\\u0436\\u0435\\u0442\":\"150\",\"Budget\":\"150\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"Cezara Cenusa\",\"Responsible\":\"Cezara Cenusa\"},\"lead\":{\"ID\":\"42908293\",\"\\u0421\\u0434\\u0435\\u043b\\u043a\\u0430_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"sub. MD (extras CN bunica)\",\"Lead_name\":\"sub. MD (extras CN bunica)\",\"\\u0411\\u044e\\u0434\\u0436\\u0435\\u0442\":\"150\",\"Budget\":\"150\",\"\\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\":{\"TelegramId_WZ\":\"474835711\",\"TelegramUsername_WZ\":\"@m_salamashenko\",\"Email\":\"m.salamashenko@gmail.com\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"+380990491753\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Maksym Salamashenko\",\"Contact_name\":\"Maksym Salamashenko\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"Cezara Cenusa\",\"Responsible\":\"Cezara Cenusa\"},\"contact\":{\"TelegramId_WZ\":\"474835711\",\"TelegramUsername_WZ\":\"@m_salamashenko\",\"Email\":\"m.salamashenko@gmail.com\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"+380990491753\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Maksym Salamashenko\",\"Contact_name\":\"Maksym Salamashenko\",\"\\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\":[{\"TelegramId_WZ\":\"474835711\",\"TelegramUsername_WZ\":\"@m_salamashenko\",\"Email\":\"m.salamashenko@gmail.com\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"+380990491753\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Maksym Salamashenko\",\"\\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\":\"23.10.2026\",\"\\u041d\\u043e\\u043c\\u0435\\u0440\":\"114\"},\"document\":{\"Date\":\"23.10.2026\",\"Number\":\"114\"}}}","edit":true}} {"uid":"f0dc71b"}
[2026-10-23 09:16:13] docflow.DEBUG: GAS raw response {"raw":"[object] (stdClass: {\"code\":1,\"url\":\"https://docs.google.com/open?id=1f3kz6ALRRClZnUmhOGylcVC6kvdHHnjxlvNIw9R7oyE\",\"file_id\":\"1f3kz6ALRRClZnUmhOGylcVC6kvdHHnjxlvNIw9R7oyE\",\"error\":\"\",\"vars\":\"\"})"} {"uid":"f0dc71b"}
[2026-10-23 09:16:13] docflow.WARNING: AmoDrive generated-file move is not ready. {"fileId":"1f3kz6ALRRClZnUmhOGylcVC6kvdHHnjxlvNIw9R7oyE","context":null} {"uid":"f0dc71b"}
[2026-10-23 09:34:28] docflow.INFO: Apel createDoc {"data":{"amoAccountId":"22699852","amoUserId":null,"amoEntityId":"42828304","amoEntityType":"2","templateId":"11528","corporateEntityId":"","settlementAccountId":"","is_signed":null,"gdi":null,"number":null,"currentAmoUserId":null,"lang":"ru"}} {"uid":"4bfb722"}
[2026-10-23 09:34:29] docflow.INFO: Token is valid for account 22699852. [] {"uid":"4bfb722"}
[2026-10-23 09:34:29] docflow.DEBUG: getClientAuth returned {"auth":"[object] (stdClass: {\"domain\":\"emigrare.amocrm.ru\",\"access_token\":\"eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImp0aSI6IjA4NjUzMGJkODIzYTYyZTlmZjZhNjY5OGNiZmU0MWU3MGQyMDk4NTYxMmU4ODVjOGU3MzlhOWU3ZGE3ZmEwNzVmN2ZhODZjMzAxNmIzM2JiIn0.eyJhdWQiOiIwZDY0ZGZmYi1lNTRiLTQ0OGYtOWZiZi1iYWYyMjUxYTExZGIiLCJqdGkiOiIwODY1MzBiZDgyM2E2MmU5ZmY2YTY2OThjYmZlNDFlNzBkMjA5ODU2MTJlODg1YzhlNzM5YTllN2RhN2ZhMDc1ZjdmYTg2YzMwMTZiMzNiYiIsImlhdCI6MTc5MjY1NTM5NywibmJmIjoxNzkyNjU1Mzk3LCJleHAiOjE3OTI3NDE3OTcsInN1YiI6IjI5MzAzODAiLCJncmFudF90eXBlIjoiIiwiYWNjb3VudF9pZCI6MjI2OTk4NTIsImJhc2VfZG9tYWluIjoiYW1vY3JtLnJ1IiwidmVyc2lvbiI6Miwic2NvcGVzIjpbInB1c2hfbm90aWZpY2F0aW9ucyIsImNybSIsIm5vdGlmaWNhdGlvbnMiXSwiaGFzaF91dWlkIjoiNjEyOWRjNmMtMzgwNS00MmM2LThmMGYtYTgyOTMxYjQzYjUyIiwiYXBpX2RvbWFpbiI6ImFwaS1iLmFtb2NybS5ydSJ9.LLHVjEHW1SGy2yqnZukyOhTDlEW1uqRkGdtFKKJ88Lx6JD7-0fWj7RusCBmBYiYSlWUm0t_z8LRvMu-U1a2Vn3XFTgVj43gsNJ17OFB4Xr_tKWp_jH7WWq7nBlbOp9En6nF1u_35Y9tmmpy0y70aKvJ9ic_LhMoqSTl7DiwCVLud1GX5teK13jZs26wDf8rwAFndyt1a8RbeuSEW2dKn6BIIQdbBoWIG8OjoU_hJrw-SbQbSYLcT97H9x4xxDuBBOZGEvmtrCYghFsAojXrjVzGODAAW2AP0ZNSzBj7tiPaUtzJR8gkLRLVXEazuLUvCl73TAYokCocwC_8qO37zZw\"})","file":"/home/ytvmclwh/document.amocrm.md/src/Models/Docs.php","line":121} {"uid":"4bfb722"}
[2026-10-23 09:34:31] docflow.DEBUG: AmoDrive docflow context request {"url":"https://google.emale.uno/api/docflow/google-context","query":{"account_id":"22699852","entity_id":"42828304","entity_type":"leads"}} {"uid":"4bfb722"}
[2026-10-23 09:34: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=22699852&amp;entity_id=42828304&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/10/23 09:34:31</td>\r\n</tr>\r\n</table>\r\n<hr><center>tengine</center>\r\n</body>\r\n</html>\r\n"} {"uid":"4bfb722"}
[2026-10-23 09:34:31] docflow.DEBUG: AmoDrive docflow context request {"url":"https://gd.glucose-dev.online/api/docflow/google-context","query":{"account_id":"22699852","entity_id":"42828304","entity_type":"leads"}} {"uid":"4bfb722"}
[2026-10-23 09:34: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":22699852,"entityId":"42828304","entityType":"leads","amodrive":{"installed":false,"widgetStatus":"uninstalled","amoAccountId":22699852,"accountHost":"emigrare.amocrm.ru","license":{"status":"active","configuredStatus":"active","expiresAt":"2027-08-20T10:16:56.291Z","isExpired":false,"isTrial":false,"isActive":true,"expiredByDate":false,"daysRemaining":302,"isLifetime":false},"licenseActive":false,"googleConnected":false,"googleEmail":null,"googleHasDriveScope":false,"googleHasDriveFileScope":false,"googleHasOwnershipScope":false,"readyForGeneratedFileMove":false,"readyForTransfer":false},"folder":{"id":"1Z74ob26PIny9NuZh5jskS8uYmY4ybUf8","name":"42828304 - Lead #42828304","webViewLink":"https://drive.google.com/drive/folders/1Z74ob26PIny9NuZh5jskS8uYmY4ybUf8"}}} {"uid":"4bfb722"}
[2026-10-23 09:34:31] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://google.emale.uno/api/docflow/prepare-generated-doc","payload":{"account_id":"22699852","entity_id":"42828304","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"4bfb722"}
[2026-10-23 09:34: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/10/23 09:34: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":"22699852","entity_id":"42828304","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"4bfb722"}
[2026-10-23 09:34:31] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://gd.glucose-dev.online/api/docflow/prepare-generated-doc","payload":{"account_id":"22699852","entity_id":"42828304","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"4bfb722"}
[2026-10-23 09:34: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\":22699852})","payload":{"account_id":"22699852","entity_id":"42828304","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"4bfb722"}
[2026-10-23 09:34:31] docflow.DEBUG: GAS request {"url":"https://script.google.com/macros/s/AKfycbwrvOJD46zkuoTzdhpc1kulhV8jRfgQBFZfQ121nkIip_k8yKit4xrbWTOzaJ-C-Yed6w/exec","body":{"templateFileId":"1t5qR7ljR1POq9sxQLSVsM-X-P6cqy7PNY1dXWqrVcQ8","accountId":"22699852","folderId":"1Us2AfskxgdA729xVr0F2vjZU9y5PlYDe","key":"~VTsK5dcnHc2cSSsjM$LFSjLlgbmJXwrp3R2P5nd","data":"{\"fileName\":\"\\u0421\\u0447\\u0435\\u0442 \\u043d\\u0430 \\u043e\\u043f\\u043b\\u0430\\u0442\\u0443 AR \\/ DA \\/ LG (EUR\\/USD\\/MDL) 226 20261023093431\",\"leadId\":\"42828304\",\"entities\":{\"\\u0441\\u0434\\u0435\\u043b\\u043a\\u0430\":{\"Suma \\u20ac\":\"0\",\"#Manager Front\":\"Cezara Cenusa\",\"Urm\\u0103torul contact\":\"2026-10-26 14:52:00\",\"Mod achitare\":\"Transfer card \\u0421\\u0431\\u0435\\u0440\\u0411\\u0430\\u043d\\u043a\",\"Suma avans\":\"780\",\"Manager Juridic\":\"Dascal Anatolie\",\"#Manager Jurist\":\"Dascal Anatolie\",\"ID\":\"42828304\",\"\\u0421\\u0434\\u0435\\u043b\\u043a\\u0430_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"sub. MD\",\"Lead_name\":\"sub. MD\",\"\\u0411\\u044e\\u0434\\u0436\\u0435\\u0442\":\"780\",\"Budget\":\"780\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"Cezara Cenusa\",\"Responsible\":\"Cezara Cenusa\"},\"lead\":{\"Suma \\u20ac\":\"0\",\"#Manager Front\":\"Cezara Cenusa\",\"Urm\\u0103torul contact\":\"2026-10-26 14:52:00\",\"Mod achitare\":\"Transfer card \\u0421\\u0431\\u0435\\u0440\\u0411\\u0430\\u043d\\u043a\",\"Suma avans\":\"780\",\"Manager Juridic\":\"Dascal Anatolie\",\"#Manager Jurist\":\"Dascal Anatolie\",\"ID\":\"42828304\",\"\\u0421\\u0434\\u0435\\u043b\\u043a\\u0430_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"sub. MD\",\"Lead_name\":\"sub. MD\",\"\\u0411\\u044e\\u0434\\u0436\\u0435\\u0442\":\"780\",\"Budget\":\"780\",\"\\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\":{\"WhatsappLid_WZ\":\"242532659240980\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"+79268655957\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Dorina Iulia\",\"Contact_name\":\"Dorina Iulia\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"Cezara Cenusa\",\"Responsible\":\"Cezara Cenusa\"},\"contact\":{\"WhatsappLid_WZ\":\"242532659240980\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"+79268655957\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Dorina Iulia\",\"Contact_name\":\"Dorina Iulia\",\"\\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\":[{\"WhatsappLid_WZ\":\"242532659240980\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"+79268655957\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Dorina Iulia\",\"\\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\":\"23.10.2026\",\"\\u041d\\u043e\\u043c\\u0435\\u0440\":\"226\"},\"document\":{\"Date\":\"23.10.2026\",\"Number\":\"226\"}}}","edit":true}} {"uid":"4bfb722"}
[2026-10-23 09:34:37] docflow.INFO: Apel createDoc {"data":{"amoAccountId":"22699852","amoUserId":null,"amoEntityId":"42908293","amoEntityType":"2","templateId":"11528","corporateEntityId":"","settlementAccountId":"","is_signed":null,"gdi":null,"number":null,"currentAmoUserId":null,"lang":"ru"}} {"uid":"9f5a36e"}
[2026-10-23 09:34:37] docflow.INFO: Token is valid for account 22699852. [] {"uid":"9f5a36e"}
[2026-10-23 09:34:37] docflow.DEBUG: getClientAuth returned {"auth":"[object] (stdClass: {\"domain\":\"emigrare.amocrm.ru\",\"access_token\":\"eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImp0aSI6IjA4NjUzMGJkODIzYTYyZTlmZjZhNjY5OGNiZmU0MWU3MGQyMDk4NTYxMmU4ODVjOGU3MzlhOWU3ZGE3ZmEwNzVmN2ZhODZjMzAxNmIzM2JiIn0.eyJhdWQiOiIwZDY0ZGZmYi1lNTRiLTQ0OGYtOWZiZi1iYWYyMjUxYTExZGIiLCJqdGkiOiIwODY1MzBiZDgyM2E2MmU5ZmY2YTY2OThjYmZlNDFlNzBkMjA5ODU2MTJlODg1YzhlNzM5YTllN2RhN2ZhMDc1ZjdmYTg2YzMwMTZiMzNiYiIsImlhdCI6MTc5MjY1NTM5NywibmJmIjoxNzkyNjU1Mzk3LCJleHAiOjE3OTI3NDE3OTcsInN1YiI6IjI5MzAzODAiLCJncmFudF90eXBlIjoiIiwiYWNjb3VudF9pZCI6MjI2OTk4NTIsImJhc2VfZG9tYWluIjoiYW1vY3JtLnJ1IiwidmVyc2lvbiI6Miwic2NvcGVzIjpbInB1c2hfbm90aWZpY2F0aW9ucyIsImNybSIsIm5vdGlmaWNhdGlvbnMiXSwiaGFzaF91dWlkIjoiNjEyOWRjNmMtMzgwNS00MmM2LThmMGYtYTgyOTMxYjQzYjUyIiwiYXBpX2RvbWFpbiI6ImFwaS1iLmFtb2NybS5ydSJ9.LLHVjEHW1SGy2yqnZukyOhTDlEW1uqRkGdtFKKJ88Lx6JD7-0fWj7RusCBmBYiYSlWUm0t_z8LRvMu-U1a2Vn3XFTgVj43gsNJ17OFB4Xr_tKWp_jH7WWq7nBlbOp9En6nF1u_35Y9tmmpy0y70aKvJ9ic_LhMoqSTl7DiwCVLud1GX5teK13jZs26wDf8rwAFndyt1a8RbeuSEW2dKn6BIIQdbBoWIG8OjoU_hJrw-SbQbSYLcT97H9x4xxDuBBOZGEvmtrCYghFsAojXrjVzGODAAW2AP0ZNSzBj7tiPaUtzJR8gkLRLVXEazuLUvCl73TAYokCocwC_8qO37zZw\"})","file":"/home/ytvmclwh/document.amocrm.md/src/Models/Docs.php","line":121} {"uid":"9f5a36e"}
[2026-10-23 09:34:38] docflow.DEBUG: GAS raw response {"raw":"[object] (stdClass: {\"code\":1,\"url\":\"https://docs.google.com/open?id=1J6lBuH0PL7FIbpVhkkfYJ4Aj40LmlAOsHVks2olzXW4\",\"file_id\":\"1J6lBuH0PL7FIbpVhkkfYJ4Aj40LmlAOsHVks2olzXW4\",\"error\":\"\",\"vars\":\"\"})"} {"uid":"4bfb722"}
[2026-10-23 09:34:38] docflow.WARNING: AmoDrive generated-file move is not ready. {"fileId":"1J6lBuH0PL7FIbpVhkkfYJ4Aj40LmlAOsHVks2olzXW4","context":null} {"uid":"4bfb722"}
[2026-10-23 09:34:40] docflow.DEBUG: AmoDrive docflow context request {"url":"https://google.emale.uno/api/docflow/google-context","query":{"account_id":"22699852","entity_id":"42908293","entity_type":"leads"}} {"uid":"9f5a36e"}
[2026-10-23 09:34:40] 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=42908293&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/10/23 09:34:40</td>\r\n</tr>\r\n</table>\r\n<hr><center>tengine</center>\r\n</body>\r\n</html>\r\n"} {"uid":"9f5a36e"}
[2026-10-23 09:34:40] docflow.DEBUG: AmoDrive docflow context request {"url":"https://gd.glucose-dev.online/api/docflow/google-context","query":{"account_id":"22699852","entity_id":"42908293","entity_type":"leads"}} {"uid":"9f5a36e"}
[2026-10-23 09:34:40] 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":22699852,"entityId":"42908293","entityType":"leads","amodrive":{"installed":false,"widgetStatus":"uninstalled","amoAccountId":22699852,"accountHost":"emigrare.amocrm.ru","license":{"status":"active","configuredStatus":"active","expiresAt":"2027-08-20T10:16:56.291Z","isExpired":false,"isTrial":false,"isActive":true,"expiredByDate":false,"daysRemaining":302,"isLifetime":false},"licenseActive":false,"googleConnected":false,"googleEmail":null,"googleHasDriveScope":false,"googleHasDriveFileScope":false,"googleHasOwnershipScope":false,"readyForGeneratedFileMove":false,"readyForTransfer":false},"folder":{"id":"1Z2QZH0GVpieAyt2FKjl9_EWzfpKDCetU","name":"42908293 - Lead #42908293","webViewLink":"https://drive.google.com/drive/folders/1Z2QZH0GVpieAyt2FKjl9_EWzfpKDCetU"}}} {"uid":"9f5a36e"}
[2026-10-23 09:34:40] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://google.emale.uno/api/docflow/prepare-generated-doc","payload":{"account_id":"22699852","entity_id":"42908293","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"9f5a36e"}
[2026-10-23 09:34:40] 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/10/23 09:34:40</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":"42908293","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"9f5a36e"}
[2026-10-23 09:34:40] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://gd.glucose-dev.online/api/docflow/prepare-generated-doc","payload":{"account_id":"22699852","entity_id":"42908293","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"9f5a36e"}
[2026-10-23 09:34:40] 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\":22699852})","payload":{"account_id":"22699852","entity_id":"42908293","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"9f5a36e"}
[2026-10-23 09:34:40] docflow.DEBUG: GAS request {"url":"https://script.google.com/macros/s/AKfycbwrvOJD46zkuoTzdhpc1kulhV8jRfgQBFZfQ121nkIip_k8yKit4xrbWTOzaJ-C-Yed6w/exec","body":{"templateFileId":"1t5qR7ljR1POq9sxQLSVsM-X-P6cqy7PNY1dXWqrVcQ8","accountId":"22699852","folderId":"1Us2AfskxgdA729xVr0F2vjZU9y5PlYDe","key":"~VTsK5dcnHc2cSSsjM$LFSjLlgbmJXwrp3R2P5nd","data":"{\"fileName\":\"\\u0421\\u0447\\u0435\\u0442 \\u043d\\u0430 \\u043e\\u043f\\u043b\\u0430\\u0442\\u0443 AR \\/ DA \\/ LG (EUR\\/USD\\/MDL) 227 20261023093440\",\"leadId\":\"42908293\",\"entities\":{\"\\u0441\\u0434\\u0435\\u043b\\u043a\\u0430\":{\"ID\":\"42908293\",\"\\u0421\\u0434\\u0435\\u043b\\u043a\\u0430_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"sub. MD (extras CN bunica)\",\"Lead_name\":\"sub. MD (extras CN bunica)\",\"\\u0411\\u044e\\u0434\\u0436\\u0435\\u0442\":\"150\",\"Budget\":\"150\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"Cezara Cenusa\",\"Responsible\":\"Cezara Cenusa\"},\"lead\":{\"ID\":\"42908293\",\"\\u0421\\u0434\\u0435\\u043b\\u043a\\u0430_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"sub. MD (extras CN bunica)\",\"Lead_name\":\"sub. MD (extras CN bunica)\",\"\\u0411\\u044e\\u0434\\u0436\\u0435\\u0442\":\"150\",\"Budget\":\"150\",\"\\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\":{\"TelegramId_WZ\":\"474835711\",\"TelegramUsername_WZ\":\"@m_salamashenko\",\"Email\":\"m.salamashenko@gmail.com\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"+380990491753\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Maksym Salamashenko\",\"Contact_name\":\"Maksym Salamashenko\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"Cezara Cenusa\",\"Responsible\":\"Cezara Cenusa\"},\"contact\":{\"TelegramId_WZ\":\"474835711\",\"TelegramUsername_WZ\":\"@m_salamashenko\",\"Email\":\"m.salamashenko@gmail.com\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"+380990491753\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Maksym Salamashenko\",\"Contact_name\":\"Maksym Salamashenko\",\"\\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\":[{\"TelegramId_WZ\":\"474835711\",\"TelegramUsername_WZ\":\"@m_salamashenko\",\"Email\":\"m.salamashenko@gmail.com\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"+380990491753\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Maksym Salamashenko\",\"\\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\":\"23.10.2026\",\"\\u041d\\u043e\\u043c\\u0435\\u0440\":\"227\"},\"document\":{\"Date\":\"23.10.2026\",\"Number\":\"227\"}}}","edit":true}} {"uid":"9f5a36e"}
[2026-10-23 09:34:47] docflow.DEBUG: GAS raw response {"raw":"[object] (stdClass: {\"code\":1,\"url\":\"https://docs.google.com/open?id=1aHncGpLh31suYv_HsEAWfqUXK5l4YNZ_DV0-8iJ5I88\",\"file_id\":\"1aHncGpLh31suYv_HsEAWfqUXK5l4YNZ_DV0-8iJ5I88\",\"error\":\"\",\"vars\":\"\"})"} {"uid":"9f5a36e"}
[2026-10-23 09:34:47] docflow.WARNING: AmoDrive generated-file move is not ready. {"fileId":"1aHncGpLh31suYv_HsEAWfqUXK5l4YNZ_DV0-8iJ5I88","context":null} {"uid":"9f5a36e"}
[2026-10-23 10:05:16] docflow.INFO: Apel createDoc {"data":{"amoAccountId":"22699852","amoUserId":null,"amoEntityId":"42908747","amoEntityType":"2","templateId":"11492","corporateEntityId":"","settlementAccountId":"","is_signed":null,"gdi":null,"number":null,"currentAmoUserId":null,"lang":"ru"}} {"uid":"c586f1a"}
[2026-10-23 10:05:16] docflow.INFO: Token is valid for account 22699852. [] {"uid":"c586f1a"}
[2026-10-23 10:05:16] docflow.DEBUG: getClientAuth returned {"auth":"[object] (stdClass: {\"domain\":\"emigrare.amocrm.ru\",\"access_token\":\"eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImp0aSI6IjA4NjUzMGJkODIzYTYyZTlmZjZhNjY5OGNiZmU0MWU3MGQyMDk4NTYxMmU4ODVjOGU3MzlhOWU3ZGE3ZmEwNzVmN2ZhODZjMzAxNmIzM2JiIn0.eyJhdWQiOiIwZDY0ZGZmYi1lNTRiLTQ0OGYtOWZiZi1iYWYyMjUxYTExZGIiLCJqdGkiOiIwODY1MzBiZDgyM2E2MmU5ZmY2YTY2OThjYmZlNDFlNzBkMjA5ODU2MTJlODg1YzhlNzM5YTllN2RhN2ZhMDc1ZjdmYTg2YzMwMTZiMzNiYiIsImlhdCI6MTc5MjY1NTM5NywibmJmIjoxNzkyNjU1Mzk3LCJleHAiOjE3OTI3NDE3OTcsInN1YiI6IjI5MzAzODAiLCJncmFudF90eXBlIjoiIiwiYWNjb3VudF9pZCI6MjI2OTk4NTIsImJhc2VfZG9tYWluIjoiYW1vY3JtLnJ1IiwidmVyc2lvbiI6Miwic2NvcGVzIjpbInB1c2hfbm90aWZpY2F0aW9ucyIsImNybSIsIm5vdGlmaWNhdGlvbnMiXSwiaGFzaF91dWlkIjoiNjEyOWRjNmMtMzgwNS00MmM2LThmMGYtYTgyOTMxYjQzYjUyIiwiYXBpX2RvbWFpbiI6ImFwaS1iLmFtb2NybS5ydSJ9.LLHVjEHW1SGy2yqnZukyOhTDlEW1uqRkGdtFKKJ88Lx6JD7-0fWj7RusCBmBYiYSlWUm0t_z8LRvMu-U1a2Vn3XFTgVj43gsNJ17OFB4Xr_tKWp_jH7WWq7nBlbOp9En6nF1u_35Y9tmmpy0y70aKvJ9ic_LhMoqSTl7DiwCVLud1GX5teK13jZs26wDf8rwAFndyt1a8RbeuSEW2dKn6BIIQdbBoWIG8OjoU_hJrw-SbQbSYLcT97H9x4xxDuBBOZGEvmtrCYghFsAojXrjVzGODAAW2AP0ZNSzBj7tiPaUtzJR8gkLRLVXEazuLUvCl73TAYokCocwC_8qO37zZw\"})","file":"/home/ytvmclwh/document.amocrm.md/src/Models/Docs.php","line":121} {"uid":"c586f1a"}
[2026-10-23 10:05:20] docflow.DEBUG: AmoDrive docflow context request {"url":"https://google.emale.uno/api/docflow/google-context","query":{"account_id":"22699852","entity_id":"42908747","entity_type":"leads"}} {"uid":"c586f1a"}
[2026-10-23 10:05:20] 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=42908747&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/10/23 10:05:20</td>\r\n</tr>\r\n</table>\r\n<hr><center>tengine</center>\r\n</body>\r\n</html>\r\n"} {"uid":"c586f1a"}
[2026-10-23 10:05:20] docflow.DEBUG: AmoDrive docflow context request {"url":"https://gd.glucose-dev.online/api/docflow/google-context","query":{"account_id":"22699852","entity_id":"42908747","entity_type":"leads"}} {"uid":"c586f1a"}
[2026-10-23 10:05:20] 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":22699852,"entityId":"42908747","entityType":"leads","amodrive":{"installed":false,"widgetStatus":"uninstalled","amoAccountId":22699852,"accountHost":"emigrare.amocrm.ru","license":{"status":"active","configuredStatus":"active","expiresAt":"2027-08-20T10:16:56.291Z","isExpired":false,"isTrial":false,"isActive":true,"expiredByDate":false,"daysRemaining":302,"isLifetime":false},"licenseActive":false,"googleConnected":false,"googleEmail":null,"googleHasDriveScope":false,"googleHasDriveFileScope":false,"googleHasOwnershipScope":false,"readyForGeneratedFileMove":false,"readyForTransfer":false},"folder":{"id":"1OtD1anSIXLKe_h_654V3ePvbiU2TlcMz","name":"42908747 - Lead #42908747","webViewLink":"https://drive.google.com/drive/folders/1OtD1anSIXLKe_h_654V3ePvbiU2TlcMz"}}} {"uid":"c586f1a"}
[2026-10-23 10:05:20] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://google.emale.uno/api/docflow/prepare-generated-doc","payload":{"account_id":"22699852","entity_id":"42908747","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"c586f1a"}
[2026-10-23 10:05:20] 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/10/23 10:05:20</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":"42908747","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"c586f1a"}
[2026-10-23 10:05:20] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://gd.glucose-dev.online/api/docflow/prepare-generated-doc","payload":{"account_id":"22699852","entity_id":"42908747","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"c586f1a"}
[2026-10-23 10:05:20] 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\":22699852})","payload":{"account_id":"22699852","entity_id":"42908747","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"c586f1a"}
[2026-10-23 10:05:20] docflow.DEBUG: GAS request {"url":"https://script.google.com/macros/s/AKfycbwrvOJD46zkuoTzdhpc1kulhV8jRfgQBFZfQ121nkIip_k8yKit4xrbWTOzaJ-C-Yed6w/exec","body":{"templateFileId":"1FKXK35jtKpiduD-kqwGdMh_qii__EQs9wkQ6iT0Ii0o","accountId":"22699852","folderId":"1Us2AfskxgdA729xVr0F2vjZU9y5PlYDe","key":"~VTsK5dcnHc2cSSsjM$LFSjLlgbmJXwrp3R2P5nd","data":"{\"fileName\":\"Domiciliu 484 20261023100520\",\"leadId\":\"42908747\",\"entities\":{\"\\u0441\\u0434\\u0435\\u043b\\u043a\\u0430\":{\"ID\":\"42908747\",\"\\u0421\\u0434\\u0435\\u043b\\u043a\\u0430_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Prelungire domiciliu (18.10.26-18.10.27)\",\"Lead_name\":\"Prelungire domiciliu (18.10.26-18.10.27)\",\"\\u0411\\u044e\\u0434\\u0436\\u0435\\u0442\":\"350\",\"Budget\":\"350\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"Cezara Cenusa\",\"Responsible\":\"Cezara Cenusa\"},\"lead\":{\"ID\":\"42908747\",\"\\u0421\\u0434\\u0435\\u043b\\u043a\\u0430_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Prelungire domiciliu (18.10.26-18.10.27)\",\"Lead_name\":\"Prelungire domiciliu (18.10.26-18.10.27)\",\"\\u0411\\u044e\\u0434\\u0436\\u0435\\u0442\":\"350\",\"Budget\":\"350\",\"\\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\":{\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"+79262700272\",\"Cum Comunicam\":\"Watsap\",\"Limba vorbita\":\"Rusa\",\"Email\":\"vadimb81@gmail.com\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Vadim Basiul\",\"Contact_name\":\"Vadim Basiul\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"Dascal Anatolie\",\"Responsible\":\"Dascal Anatolie\"},\"contact\":{\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"+79262700272\",\"Cum Comunicam\":\"Watsap\",\"Limba vorbita\":\"Rusa\",\"Email\":\"vadimb81@gmail.com\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Vadim Basiul\",\"Contact_name\":\"Vadim Basiul\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"Dascal Anatolie\",\"Responsible\":\"Dascal Anatolie\"},\"\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442\\u044b\":[{\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"+79262700272\",\"Cum Comunicam\":\"Watsap\",\"Limba vorbita\":\"Rusa\",\"Email\":\"vadimb81@gmail.com\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Vadim Basiul\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"Dascal Anatolie\"}],\"\\u0434\\u043e\\u043a\\u0443\\u043c\\u0435\\u043d\\u0442\":{\"\\u0414\\u0430\\u0442\\u0430\":\"23.10.2026\",\"\\u041d\\u043e\\u043c\\u0435\\u0440\":\"484\"},\"document\":{\"Date\":\"23.10.2026\",\"Number\":\"484\"}}}","edit":true}} {"uid":"c586f1a"}
[2026-10-23 10:05:28] docflow.DEBUG: GAS raw response {"raw":"[object] (stdClass: {\"code\":1,\"url\":\"https://docs.google.com/open?id=1-aqZZFb4v16FAbozkRPwAA9cPDQnvrEPacFC41uX-JI\",\"file_id\":\"1-aqZZFb4v16FAbozkRPwAA9cPDQnvrEPacFC41uX-JI\",\"error\":\"\",\"vars\":\"\"})"} {"uid":"c586f1a"}
[2026-10-23 10:05:28] docflow.WARNING: AmoDrive generated-file move is not ready. {"fileId":"1-aqZZFb4v16FAbozkRPwAA9cPDQnvrEPacFC41uX-JI","context":null} {"uid":"c586f1a"}
[2026-10-23 10:05:36] docflow.INFO: Apel createDoc {"data":{"amoAccountId":"22699852","amoUserId":null,"amoEntityId":"42908747","amoEntityType":"2","templateId":"11515","corporateEntityId":"","settlementAccountId":"","is_signed":null,"gdi":null,"number":null,"currentAmoUserId":null,"lang":"ru"}} {"uid":"438d34e"}
[2026-10-23 10:05:37] docflow.INFO: Token is valid for account 22699852. [] {"uid":"438d34e"}
[2026-10-23 10:05:37] docflow.DEBUG: getClientAuth returned {"auth":"[object] (stdClass: {\"domain\":\"emigrare.amocrm.ru\",\"access_token\":\"eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImp0aSI6IjA4NjUzMGJkODIzYTYyZTlmZjZhNjY5OGNiZmU0MWU3MGQyMDk4NTYxMmU4ODVjOGU3MzlhOWU3ZGE3ZmEwNzVmN2ZhODZjMzAxNmIzM2JiIn0.eyJhdWQiOiIwZDY0ZGZmYi1lNTRiLTQ0OGYtOWZiZi1iYWYyMjUxYTExZGIiLCJqdGkiOiIwODY1MzBiZDgyM2E2MmU5ZmY2YTY2OThjYmZlNDFlNzBkMjA5ODU2MTJlODg1YzhlNzM5YTllN2RhN2ZhMDc1ZjdmYTg2YzMwMTZiMzNiYiIsImlhdCI6MTc5MjY1NTM5NywibmJmIjoxNzkyNjU1Mzk3LCJleHAiOjE3OTI3NDE3OTcsInN1YiI6IjI5MzAzODAiLCJncmFudF90eXBlIjoiIiwiYWNjb3VudF9pZCI6MjI2OTk4NTIsImJhc2VfZG9tYWluIjoiYW1vY3JtLnJ1IiwidmVyc2lvbiI6Miwic2NvcGVzIjpbInB1c2hfbm90aWZpY2F0aW9ucyIsImNybSIsIm5vdGlmaWNhdGlvbnMiXSwiaGFzaF91dWlkIjoiNjEyOWRjNmMtMzgwNS00MmM2LThmMGYtYTgyOTMxYjQzYjUyIiwiYXBpX2RvbWFpbiI6ImFwaS1iLmFtb2NybS5ydSJ9.LLHVjEHW1SGy2yqnZukyOhTDlEW1uqRkGdtFKKJ88Lx6JD7-0fWj7RusCBmBYiYSlWUm0t_z8LRvMu-U1a2Vn3XFTgVj43gsNJ17OFB4Xr_tKWp_jH7WWq7nBlbOp9En6nF1u_35Y9tmmpy0y70aKvJ9ic_LhMoqSTl7DiwCVLud1GX5teK13jZs26wDf8rwAFndyt1a8RbeuSEW2dKn6BIIQdbBoWIG8OjoU_hJrw-SbQbSYLcT97H9x4xxDuBBOZGEvmtrCYghFsAojXrjVzGODAAW2AP0ZNSzBj7tiPaUtzJR8gkLRLVXEazuLUvCl73TAYokCocwC_8qO37zZw\"})","file":"/home/ytvmclwh/document.amocrm.md/src/Models/Docs.php","line":121} {"uid":"438d34e"}
[2026-10-23 10:05:40] docflow.DEBUG: AmoDrive docflow context request {"url":"https://google.emale.uno/api/docflow/google-context","query":{"account_id":"22699852","entity_id":"42908747","entity_type":"leads"}} {"uid":"438d34e"}
[2026-10-23 10:05:40] 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=42908747&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/10/23 10:05:40</td>\r\n</tr>\r\n</table>\r\n<hr><center>tengine</center>\r\n</body>\r\n</html>\r\n"} {"uid":"438d34e"}
[2026-10-23 10:05:40] docflow.DEBUG: AmoDrive docflow context request {"url":"https://gd.glucose-dev.online/api/docflow/google-context","query":{"account_id":"22699852","entity_id":"42908747","entity_type":"leads"}} {"uid":"438d34e"}
[2026-10-23 10:05:40] 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":22699852,"entityId":"42908747","entityType":"leads","amodrive":{"installed":false,"widgetStatus":"uninstalled","amoAccountId":22699852,"accountHost":"emigrare.amocrm.ru","license":{"status":"active","configuredStatus":"active","expiresAt":"2027-08-20T10:16:56.291Z","isExpired":false,"isTrial":false,"isActive":true,"expiredByDate":false,"daysRemaining":302,"isLifetime":false},"licenseActive":false,"googleConnected":false,"googleEmail":null,"googleHasDriveScope":false,"googleHasDriveFileScope":false,"googleHasOwnershipScope":false,"readyForGeneratedFileMove":false,"readyForTransfer":false},"folder":{"id":"1OtD1anSIXLKe_h_654V3ePvbiU2TlcMz","name":"42908747 - Lead #42908747","webViewLink":"https://drive.google.com/drive/folders/1OtD1anSIXLKe_h_654V3ePvbiU2TlcMz"}}} {"uid":"438d34e"}
[2026-10-23 10:05:40] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://google.emale.uno/api/docflow/prepare-generated-doc","payload":{"account_id":"22699852","entity_id":"42908747","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"438d34e"}
[2026-10-23 10:05:40] 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/10/23 10:05:40</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":"42908747","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"438d34e"}
[2026-10-23 10:05:40] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://gd.glucose-dev.online/api/docflow/prepare-generated-doc","payload":{"account_id":"22699852","entity_id":"42908747","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"438d34e"}
[2026-10-23 10:05:40] 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\":22699852})","payload":{"account_id":"22699852","entity_id":"42908747","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"438d34e"}
[2026-10-23 10:05:40] docflow.DEBUG: GAS request {"url":"https://script.google.com/macros/s/AKfycbwrvOJD46zkuoTzdhpc1kulhV8jRfgQBFZfQ121nkIip_k8yKit4xrbWTOzaJ-C-Yed6w/exec","body":{"templateFileId":"1SzGXEYI835Reg_M1AEPsRjzZ3ZvcLb1cGlMSjWjG9_s","accountId":"22699852","folderId":"1Us2AfskxgdA729xVr0F2vjZU9y5PlYDe","key":"~VTsK5dcnHc2cSSsjM$LFSjLlgbmJXwrp3R2P5nd","data":"{\"fileName\":\"\\u0421\\u0447\\u0435\\u0442 \\u043d\\u0430 \\u043e\\u043f\\u043b\\u0430\\u0442\\u0443 (Sber) 1751 20261023100540\",\"leadId\":\"42908747\",\"entities\":{\"\\u0441\\u0434\\u0435\\u043b\\u043a\\u0430\":{\"ID\":\"42908747\",\"\\u0421\\u0434\\u0435\\u043b\\u043a\\u0430_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Prelungire domiciliu (18.10.26-18.10.27)\",\"Lead_name\":\"Prelungire domiciliu (18.10.26-18.10.27)\",\"\\u0411\\u044e\\u0434\\u0436\\u0435\\u0442\":\"350\",\"Budget\":\"350\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"Cezara Cenusa\",\"Responsible\":\"Cezara Cenusa\"},\"lead\":{\"ID\":\"42908747\",\"\\u0421\\u0434\\u0435\\u043b\\u043a\\u0430_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Prelungire domiciliu (18.10.26-18.10.27)\",\"Lead_name\":\"Prelungire domiciliu (18.10.26-18.10.27)\",\"\\u0411\\u044e\\u0434\\u0436\\u0435\\u0442\":\"350\",\"Budget\":\"350\",\"\\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\":{\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"+79262700272\",\"Cum Comunicam\":\"Watsap\",\"Limba vorbita\":\"Rusa\",\"Email\":\"vadimb81@gmail.com\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Vadim Basiul\",\"Contact_name\":\"Vadim Basiul\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"Dascal Anatolie\",\"Responsible\":\"Dascal Anatolie\"},\"contact\":{\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"+79262700272\",\"Cum Comunicam\":\"Watsap\",\"Limba vorbita\":\"Rusa\",\"Email\":\"vadimb81@gmail.com\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Vadim Basiul\",\"Contact_name\":\"Vadim Basiul\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"Dascal Anatolie\",\"Responsible\":\"Dascal Anatolie\"},\"\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442\\u044b\":[{\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"+79262700272\",\"Cum Comunicam\":\"Watsap\",\"Limba vorbita\":\"Rusa\",\"Email\":\"vadimb81@gmail.com\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Vadim Basiul\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"Dascal Anatolie\"}],\"\\u0434\\u043e\\u043a\\u0443\\u043c\\u0435\\u043d\\u0442\":{\"\\u0414\\u0430\\u0442\\u0430\":\"23.10.2026\",\"\\u041d\\u043e\\u043c\\u0435\\u0440\":\"1751\"},\"document\":{\"Date\":\"23.10.2026\",\"Number\":\"1751\"}}}","edit":true}} {"uid":"438d34e"}
[2026-10-23 10:05:47] docflow.DEBUG: GAS raw response {"raw":"[object] (stdClass: {\"code\":1,\"url\":\"https://docs.google.com/open?id=1VCwMS-bIdkUuH2SFbNkoKvd0nkaJg2WAI6NFGPx7UP4\",\"file_id\":\"1VCwMS-bIdkUuH2SFbNkoKvd0nkaJg2WAI6NFGPx7UP4\",\"error\":\"\",\"vars\":\"\"})"} {"uid":"438d34e"}
[2026-10-23 10:05:47] docflow.WARNING: AmoDrive generated-file move is not ready. {"fileId":"1VCwMS-bIdkUuH2SFbNkoKvd0nkaJg2WAI6NFGPx7UP4","context":null} {"uid":"438d34e"}
[2026-10-23 10:06:14] docflow.INFO: Apel createDoc {"data":{"amoAccountId":"22699852","amoUserId":null,"amoEntityId":"42908747","amoEntityType":"2","templateId":"11504","corporateEntityId":"","settlementAccountId":"","is_signed":null,"gdi":null,"number":null,"currentAmoUserId":null,"lang":"ru"}} {"uid":"1e914af"}
[2026-10-23 10:06:15] docflow.INFO: Token is valid for account 22699852. [] {"uid":"1e914af"}
[2026-10-23 10:06:15] docflow.DEBUG: getClientAuth returned {"auth":"[object] (stdClass: {\"domain\":\"emigrare.amocrm.ru\",\"access_token\":\"eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImp0aSI6IjA4NjUzMGJkODIzYTYyZTlmZjZhNjY5OGNiZmU0MWU3MGQyMDk4NTYxMmU4ODVjOGU3MzlhOWU3ZGE3ZmEwNzVmN2ZhODZjMzAxNmIzM2JiIn0.eyJhdWQiOiIwZDY0ZGZmYi1lNTRiLTQ0OGYtOWZiZi1iYWYyMjUxYTExZGIiLCJqdGkiOiIwODY1MzBiZDgyM2E2MmU5ZmY2YTY2OThjYmZlNDFlNzBkMjA5ODU2MTJlODg1YzhlNzM5YTllN2RhN2ZhMDc1ZjdmYTg2YzMwMTZiMzNiYiIsImlhdCI6MTc5MjY1NTM5NywibmJmIjoxNzkyNjU1Mzk3LCJleHAiOjE3OTI3NDE3OTcsInN1YiI6IjI5MzAzODAiLCJncmFudF90eXBlIjoiIiwiYWNjb3VudF9pZCI6MjI2OTk4NTIsImJhc2VfZG9tYWluIjoiYW1vY3JtLnJ1IiwidmVyc2lvbiI6Miwic2NvcGVzIjpbInB1c2hfbm90aWZpY2F0aW9ucyIsImNybSIsIm5vdGlmaWNhdGlvbnMiXSwiaGFzaF91dWlkIjoiNjEyOWRjNmMtMzgwNS00MmM2LThmMGYtYTgyOTMxYjQzYjUyIiwiYXBpX2RvbWFpbiI6ImFwaS1iLmFtb2NybS5ydSJ9.LLHVjEHW1SGy2yqnZukyOhTDlEW1uqRkGdtFKKJ88Lx6JD7-0fWj7RusCBmBYiYSlWUm0t_z8LRvMu-U1a2Vn3XFTgVj43gsNJ17OFB4Xr_tKWp_jH7WWq7nBlbOp9En6nF1u_35Y9tmmpy0y70aKvJ9ic_LhMoqSTl7DiwCVLud1GX5teK13jZs26wDf8rwAFndyt1a8RbeuSEW2dKn6BIIQdbBoWIG8OjoU_hJrw-SbQbSYLcT97H9x4xxDuBBOZGEvmtrCYghFsAojXrjVzGODAAW2AP0ZNSzBj7tiPaUtzJR8gkLRLVXEazuLUvCl73TAYokCocwC_8qO37zZw\"})","file":"/home/ytvmclwh/document.amocrm.md/src/Models/Docs.php","line":121} {"uid":"1e914af"}
[2026-10-23 10:06:19] docflow.DEBUG: AmoDrive docflow context request {"url":"https://google.emale.uno/api/docflow/google-context","query":{"account_id":"22699852","entity_id":"42908747","entity_type":"leads"}} {"uid":"1e914af"}
[2026-10-23 10:06:19] 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=42908747&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/10/23 10:06:19</td>\r\n</tr>\r\n</table>\r\n<hr><center>tengine</center>\r\n</body>\r\n</html>\r\n"} {"uid":"1e914af"}
[2026-10-23 10:06:19] docflow.DEBUG: AmoDrive docflow context request {"url":"https://gd.glucose-dev.online/api/docflow/google-context","query":{"account_id":"22699852","entity_id":"42908747","entity_type":"leads"}} {"uid":"1e914af"}
[2026-10-23 10:06:19] 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":22699852,"entityId":"42908747","entityType":"leads","amodrive":{"installed":false,"widgetStatus":"uninstalled","amoAccountId":22699852,"accountHost":"emigrare.amocrm.ru","license":{"status":"active","configuredStatus":"active","expiresAt":"2027-08-20T10:16:56.291Z","isExpired":false,"isTrial":false,"isActive":true,"expiredByDate":false,"daysRemaining":302,"isLifetime":false},"licenseActive":false,"googleConnected":false,"googleEmail":null,"googleHasDriveScope":false,"googleHasDriveFileScope":false,"googleHasOwnershipScope":false,"readyForGeneratedFileMove":false,"readyForTransfer":false},"folder":{"id":"1OtD1anSIXLKe_h_654V3ePvbiU2TlcMz","name":"42908747 - Lead #42908747","webViewLink":"https://drive.google.com/drive/folders/1OtD1anSIXLKe_h_654V3ePvbiU2TlcMz"}}} {"uid":"1e914af"}
[2026-10-23 10:06:19] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://google.emale.uno/api/docflow/prepare-generated-doc","payload":{"account_id":"22699852","entity_id":"42908747","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"1e914af"}
[2026-10-23 10:06:19] 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/10/23 10:06:19</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":"42908747","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"1e914af"}
[2026-10-23 10:06:19] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://gd.glucose-dev.online/api/docflow/prepare-generated-doc","payload":{"account_id":"22699852","entity_id":"42908747","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"1e914af"}
[2026-10-23 10:06:19] 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\":22699852})","payload":{"account_id":"22699852","entity_id":"42908747","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"1e914af"}
[2026-10-23 10:06:19] docflow.DEBUG: GAS request {"url":"https://script.google.com/macros/s/AKfycbwrvOJD46zkuoTzdhpc1kulhV8jRfgQBFZfQ121nkIip_k8yKit4xrbWTOzaJ-C-Yed6w/exec","body":{"templateFileId":"1fiDEkj3eAI4XA1NOTKy_2IPPsg8jKEFNlm8nKHlFCi4","accountId":"22699852","folderId":"1Us2AfskxgdA729xVr0F2vjZU9y5PlYDe","key":"~VTsK5dcnHc2cSSsjM$LFSjLlgbmJXwrp3R2P5nd","data":"{\"fileName\":\"\\u0421\\u043e\\u0433\\u043b\\u0430\\u0441\\u0438\\u0435 (\\u0434\\u043e\\u0433\\u043e\\u0432\\u043e\\u0440) 115 20261023100619\",\"leadId\":\"42908747\",\"entities\":{\"\\u0441\\u0434\\u0435\\u043b\\u043a\\u0430\":{\"ID\":\"42908747\",\"\\u0421\\u0434\\u0435\\u043b\\u043a\\u0430_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Prelungire domiciliu (18.10.26-18.10.27)\",\"Lead_name\":\"Prelungire domiciliu (18.10.26-18.10.27)\",\"\\u0411\\u044e\\u0434\\u0436\\u0435\\u0442\":\"350\",\"Budget\":\"350\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"Cezara Cenusa\",\"Responsible\":\"Cezara Cenusa\"},\"lead\":{\"ID\":\"42908747\",\"\\u0421\\u0434\\u0435\\u043b\\u043a\\u0430_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Prelungire domiciliu (18.10.26-18.10.27)\",\"Lead_name\":\"Prelungire domiciliu (18.10.26-18.10.27)\",\"\\u0411\\u044e\\u0434\\u0436\\u0435\\u0442\":\"350\",\"Budget\":\"350\",\"\\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\":{\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"+79262700272\",\"Cum Comunicam\":\"Watsap\",\"Limba vorbita\":\"Rusa\",\"Email\":\"vadimb81@gmail.com\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Vadim Basiul\",\"Contact_name\":\"Vadim Basiul\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"Dascal Anatolie\",\"Responsible\":\"Dascal Anatolie\"},\"contact\":{\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"+79262700272\",\"Cum Comunicam\":\"Watsap\",\"Limba vorbita\":\"Rusa\",\"Email\":\"vadimb81@gmail.com\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Vadim Basiul\",\"Contact_name\":\"Vadim Basiul\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"Dascal Anatolie\",\"Responsible\":\"Dascal Anatolie\"},\"\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442\\u044b\":[{\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"+79262700272\",\"Cum Comunicam\":\"Watsap\",\"Limba vorbita\":\"Rusa\",\"Email\":\"vadimb81@gmail.com\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Vadim Basiul\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"Dascal Anatolie\"}],\"\\u0434\\u043e\\u043a\\u0443\\u043c\\u0435\\u043d\\u0442\":{\"\\u0414\\u0430\\u0442\\u0430\":\"23.10.2026\",\"\\u041d\\u043e\\u043c\\u0435\\u0440\":\"115\"},\"document\":{\"Date\":\"23.10.2026\",\"Number\":\"115\"}}}","edit":true}} {"uid":"1e914af"}
[2026-10-23 10:06:25] docflow.DEBUG: GAS raw response {"raw":"[object] (stdClass: {\"code\":1,\"url\":\"https://docs.google.com/open?id=1aac4nXkSmW49_TzWUM777ljUEUd3CXBwkJU9eX9yRoY\",\"file_id\":\"1aac4nXkSmW49_TzWUM777ljUEUd3CXBwkJU9eX9yRoY\",\"error\":\"\",\"vars\":\"\"})"} {"uid":"1e914af"}
[2026-10-23 10:06:25] docflow.WARNING: AmoDrive generated-file move is not ready. {"fileId":"1aac4nXkSmW49_TzWUM777ljUEUd3CXBwkJU9eX9yRoY","context":null} {"uid":"1e914af"}
[2026-10-23 10:19:49] docflow.INFO: Apel createDoc {"data":{"amoAccountId":"22699852","amoUserId":null,"amoEntityId":"42860800","amoEntityType":"2","templateId":"11495","corporateEntityId":"","settlementAccountId":"","is_signed":null,"gdi":null,"number":null,"currentAmoUserId":null,"lang":"ru"}} {"uid":"702c304"}
[2026-10-23 10:19:49] docflow.INFO: Token is valid for account 22699852. [] {"uid":"702c304"}
[2026-10-23 10:19:49] docflow.DEBUG: getClientAuth returned {"auth":"[object] (stdClass: {\"domain\":\"emigrare.amocrm.ru\",\"access_token\":\"eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImp0aSI6IjA4NjUzMGJkODIzYTYyZTlmZjZhNjY5OGNiZmU0MWU3MGQyMDk4NTYxMmU4ODVjOGU3MzlhOWU3ZGE3ZmEwNzVmN2ZhODZjMzAxNmIzM2JiIn0.eyJhdWQiOiIwZDY0ZGZmYi1lNTRiLTQ0OGYtOWZiZi1iYWYyMjUxYTExZGIiLCJqdGkiOiIwODY1MzBiZDgyM2E2MmU5ZmY2YTY2OThjYmZlNDFlNzBkMjA5ODU2MTJlODg1YzhlNzM5YTllN2RhN2ZhMDc1ZjdmYTg2YzMwMTZiMzNiYiIsImlhdCI6MTc5MjY1NTM5NywibmJmIjoxNzkyNjU1Mzk3LCJleHAiOjE3OTI3NDE3OTcsInN1YiI6IjI5MzAzODAiLCJncmFudF90eXBlIjoiIiwiYWNjb3VudF9pZCI6MjI2OTk4NTIsImJhc2VfZG9tYWluIjoiYW1vY3JtLnJ1IiwidmVyc2lvbiI6Miwic2NvcGVzIjpbInB1c2hfbm90aWZpY2F0aW9ucyIsImNybSIsIm5vdGlmaWNhdGlvbnMiXSwiaGFzaF91dWlkIjoiNjEyOWRjNmMtMzgwNS00MmM2LThmMGYtYTgyOTMxYjQzYjUyIiwiYXBpX2RvbWFpbiI6ImFwaS1iLmFtb2NybS5ydSJ9.LLHVjEHW1SGy2yqnZukyOhTDlEW1uqRkGdtFKKJ88Lx6JD7-0fWj7RusCBmBYiYSlWUm0t_z8LRvMu-U1a2Vn3XFTgVj43gsNJ17OFB4Xr_tKWp_jH7WWq7nBlbOp9En6nF1u_35Y9tmmpy0y70aKvJ9ic_LhMoqSTl7DiwCVLud1GX5teK13jZs26wDf8rwAFndyt1a8RbeuSEW2dKn6BIIQdbBoWIG8OjoU_hJrw-SbQbSYLcT97H9x4xxDuBBOZGEvmtrCYghFsAojXrjVzGODAAW2AP0ZNSzBj7tiPaUtzJR8gkLRLVXEazuLUvCl73TAYokCocwC_8qO37zZw\"})","file":"/home/ytvmclwh/document.amocrm.md/src/Models/Docs.php","line":121} {"uid":"702c304"}
[2026-10-23 10:19:52] docflow.DEBUG: AmoDrive docflow context request {"url":"https://google.emale.uno/api/docflow/google-context","query":{"account_id":"22699852","entity_id":"42860800","entity_type":"leads"}} {"uid":"702c304"}
[2026-10-23 10:19:52] 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=42860800&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/10/23 10:19:52</td>\r\n</tr>\r\n</table>\r\n<hr><center>tengine</center>\r\n</body>\r\n</html>\r\n"} {"uid":"702c304"}
[2026-10-23 10:19:52] docflow.DEBUG: AmoDrive docflow context request {"url":"https://gd.glucose-dev.online/api/docflow/google-context","query":{"account_id":"22699852","entity_id":"42860800","entity_type":"leads"}} {"uid":"702c304"}
[2026-10-23 10:19:52] 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":22699852,"entityId":"42860800","entityType":"leads","amodrive":{"installed":false,"widgetStatus":"uninstalled","amoAccountId":22699852,"accountHost":"emigrare.amocrm.ru","license":{"status":"active","configuredStatus":"active","expiresAt":"2027-08-20T10:16:56.291Z","isExpired":false,"isTrial":false,"isActive":true,"expiredByDate":false,"daysRemaining":302,"isLifetime":false},"licenseActive":false,"googleConnected":false,"googleEmail":null,"googleHasDriveScope":false,"googleHasDriveFileScope":false,"googleHasOwnershipScope":false,"readyForGeneratedFileMove":false,"readyForTransfer":false},"folder":{"id":"16cLiaM5Rzkf95cJs4RtGxBSYQGaz6ZLe","name":"42860800 - Lead #42860800","webViewLink":"https://drive.google.com/drive/folders/16cLiaM5Rzkf95cJs4RtGxBSYQGaz6ZLe"}}} {"uid":"702c304"}
[2026-10-23 10:19:52] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://google.emale.uno/api/docflow/prepare-generated-doc","payload":{"account_id":"22699852","entity_id":"42860800","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"702c304"}
[2026-10-23 10:19:52] 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/10/23 10:19:52</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":"42860800","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"702c304"}
[2026-10-23 10:19:52] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://gd.glucose-dev.online/api/docflow/prepare-generated-doc","payload":{"account_id":"22699852","entity_id":"42860800","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"702c304"}
[2026-10-23 10:19:52] 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\":22699852})","payload":{"account_id":"22699852","entity_id":"42860800","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"702c304"}
[2026-10-23 10:19:52] docflow.DEBUG: GAS request {"url":"https://script.google.com/macros/s/AKfycbwrvOJD46zkuoTzdhpc1kulhV8jRfgQBFZfQ121nkIip_k8yKit4xrbWTOzaJ-C-Yed6w/exec","body":{"templateFileId":"139A_R9cAqcF0vtMAjkAKEvgO4ur6rSSzFI-AF87BYnQ","accountId":"22699852","folderId":"1Us2AfskxgdA729xVr0F2vjZU9y5PlYDe","key":"~VTsK5dcnHc2cSSsjM$LFSjLlgbmJXwrp3R2P5nd","data":"{\"fileName\":\"Contract (consulta\\u021bie) 456 20261023101952\",\"leadId\":\"42860800\",\"entities\":{\"\\u0441\\u0434\\u0435\\u043b\\u043a\\u0430\":{\"Categorie Serviciu\":\"Cet.RO\",\"Serviciu solicitat\":\"1520104\",\"Temperatura client\":\"De revenit\",\"Manager front office\":\"Cezara Cenusa\",\"ID\":\"42860800\",\"\\u0421\\u0434\\u0435\\u043b\\u043a\\u0430_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"cet. RO\",\"Lead_name\":\"cet. RO\",\"\\u0411\\u044e\\u0434\\u0436\\u0435\\u0442\":\"0\",\"Budget\":\"0\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"Cezara Cenusa\",\"Responsible\":\"Cezara Cenusa\"},\"lead\":{\"Categorie Serviciu\":\"Cet.RO\",\"Serviciu solicitat\":\"1520104\",\"Temperatura client\":\"De revenit\",\"Manager front office\":\"Cezara Cenusa\",\"ID\":\"42860800\",\"\\u0421\\u0434\\u0435\\u043b\\u043a\\u0430_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"cet. RO\",\"Lead_name\":\"cet. RO\",\"\\u0411\\u044e\\u0434\\u0436\\u0435\\u0442\":\"0\",\"Budget\":\"0\",\"\\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\":{\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"+37379132850\",\"Email\":\"buziriov@gmail.com\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Veaceslav 37379132850\",\"Contact_name\":\"Veaceslav 37379132850\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"Cezara Cenusa\",\"Responsible\":\"Cezara Cenusa\"},\"contact\":{\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"+37379132850\",\"Email\":\"buziriov@gmail.com\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Veaceslav 37379132850\",\"Contact_name\":\"Veaceslav 37379132850\",\"\\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\":[{\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"+37379132850\",\"Email\":\"buziriov@gmail.com\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Veaceslav 37379132850\",\"\\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\":\"23.10.2026\",\"\\u041d\\u043e\\u043c\\u0435\\u0440\":\"456\"},\"document\":{\"Date\":\"23.10.2026\",\"Number\":\"456\"}}}","edit":true}} {"uid":"702c304"}
[2026-10-23 10:20:00] docflow.DEBUG: GAS raw response {"raw":"[object] (stdClass: {\"code\":1,\"url\":\"https://docs.google.com/open?id=16wQANWKMwAn7filyEYwmx4T1N0bfT4xUg1bI1vXtdaM\",\"file_id\":\"16wQANWKMwAn7filyEYwmx4T1N0bfT4xUg1bI1vXtdaM\",\"error\":\"\",\"vars\":\"\"})"} {"uid":"702c304"}
[2026-10-23 10:20:00] docflow.WARNING: AmoDrive generated-file move is not ready. {"fileId":"16wQANWKMwAn7filyEYwmx4T1N0bfT4xUg1bI1vXtdaM","context":null} {"uid":"702c304"}
[2026-10-23 11:20:13] docflow.INFO: Apel createDoc {"data":{"amoAccountId":"22699852","amoUserId":null,"amoEntityId":"42784376","amoEntityType":"2","templateId":"11493","corporateEntityId":"","settlementAccountId":"","is_signed":null,"gdi":null,"number":null,"currentAmoUserId":null,"lang":"ru"}} {"uid":"4af184f"}
[2026-10-23 11:20:14] docflow.INFO: Token validation failed for account 22699852. Refreshing... {"http_code":null,"error_message":"HTTP/2 401 "} {"uid":"4af184f"}
[2026-10-23 11:20:14] docflow.INFO: Attempting token refresh with payload: {"client_id":"0d64dffb-e54b-448f-9fbf-baf2251a11db","client_secret":"AXqHrT1J35SilTTtI3yyaHdQKiS5bonhySaPYkLmo7mR6ZZ9zDP24dUjG189VG9G","grant_type":"refresh_token","refresh_token":"def50200b2a351b820bc34466b86210138250ee398ac3177092ff27ac777ddb21d01f084fdd8b12718679edb602804d6dcc524cbd5a94f28975833c334b9634bbd7bd060c982155664f40a11a363a1e76b8c4f5157f71786ebcee01bfc82e44411810b5ddb16626cb2a1dcb564fe0c7d28ad701ae462fec9acbbcba21885b4afa9473afe99d9d427b92bf46bf7e24be7e3726dbf3a8260634e4f491a40171b5b6cd12fb89c6cbe110dd8ad77050dc3febbc121671d450e4fd139de18f62c78d1b6283ebb27de65bcd0a5224ddf7e100944e6dc2a5e2208c4c627b68e48fa21db22dd5819b7988501de2dd7b3a575fa68eb73460fdaf8f2b35def72f7e5d3ce21e2641f37a51becf93b8d19ff6282a19cbdbbc1a9434c54e43b6345b4711030b2a69d0ee7acadee4bd475121bd2712e7d3f7d2adae3c785641de3c124d1eb7a68a9f0cb6b53d7d0e2bb3a246d4c990a1e5308dc74d1defcef2fceb353f2321e418c250072cbc5f00904ed3cabdd0781dc424398e20b66b4b65aff519f9e4ee2ffb3cb49cbc5d2163ce8a1cef610db0d5f177bfe9bb438c519e0c6948ff9be2df7e3f12156e9d93b920105a09434ab977da1a37f8cdc0f05029836bc14cf820fb40f29ab480a625d2620ff4042dfc13eed271cd9a1a54c","redirect_uri":"https://document.amocrm.md/core/manager/install.php"} {"uid":"4af184f"}
[2026-10-23 11:20:16] docflow.INFO: Token for account 22699852 refreshed successfully. [] {"uid":"4af184f"}
[2026-10-23 11:20:16] docflow.DEBUG: getClientAuth returned {"auth":"[object] (stdClass: {\"domain\":\"emigrare.amocrm.ru\",\"access_token\":\"eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImp0aSI6IjdkNTUxOTM4ZjU2ZDc3NWEyZTk2YWNkZWYxMDBhZTVjMTU0ZDY4N2QxYTY3N2IxYTI3YWY2NGVkZjgwMzU3ZWY1NjM0MzVjNjRkNDM5NWZhIn0.eyJhdWQiOiIwZDY0ZGZmYi1lNTRiLTQ0OGYtOWZiZi1iYWYyMjUxYTExZGIiLCJqdGkiOiI3ZDU1MTkzOGY1NmQ3NzVhMmU5NmFjZGVmMTAwYWU1YzE1NGQ2ODdkMWE2NzdiMWEyN2FmNjRlZGY4MDM1N2VmNTYzNDM1YzY0ZDQzOTVmYSIsImlhdCI6MTc5Mjc0MzYxNSwibmJmIjoxNzkyNzQzNjE1LCJleHAiOjE3OTI4MzAwMTUsInN1YiI6IjI5MzAzODAiLCJncmFudF90eXBlIjoiIiwiYWNjb3VudF9pZCI6MjI2OTk4NTIsImJhc2VfZG9tYWluIjoiYW1vY3JtLnJ1IiwidmVyc2lvbiI6Miwic2NvcGVzIjpbInB1c2hfbm90aWZpY2F0aW9ucyIsImNybSIsIm5vdGlmaWNhdGlvbnMiXSwiaGFzaF91dWlkIjoiZDkwN2YxYWQtMWU5My00MjNlLThmNDUtZDU5YTQwYTE4N2JiIiwiYXBpX2RvbWFpbiI6ImFwaS1iLmFtb2NybS5ydSJ9.VJwfNIsD_VjFyc-KJFe4wAavXR_qq6DceEzrkvgbjYneig12MqF6Lb8xTPGrej5Aw1OBziCdPaN09MNtY4NNmpaK_C8UX-xHYHq4o9mX-lWl7IgTJvaf6t0N1M3WYryYuGsYQeJlURnFagoQ8_szFb6JzsJTBLBEklqRCGkf3ZyRn_X9-4UbFt0jCT5EOIr4SVYB3fUu__k3Bwv_MCav1y2nEbKoFlK3G6JT-voVzVAn-_dOt0j0OSASvBPrIeMraRG6R3QUbSWZ52Al86I6Uv9tT7Swu9LeibZCs6EsuLQpxuVJNhdbdu7ah0QXHK5rmLIBc6584ZVlCEZKZ8EfNw\"})","file":"/home/ytvmclwh/document.amocrm.md/src/Models/Docs.php","line":121} {"uid":"4af184f"}
[2026-10-23 11:20:19] docflow.DEBUG: AmoDrive docflow context request {"url":"https://google.emale.uno/api/docflow/google-context","query":{"account_id":"22699852","entity_id":"42784376","entity_type":"leads"}} {"uid":"4af184f"}
[2026-10-23 11:20:19] 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=42784376&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/10/23 11:20:19</td>\r\n</tr>\r\n</table>\r\n<hr><center>tengine</center>\r\n</body>\r\n</html>\r\n"} {"uid":"4af184f"}
[2026-10-23 11:20:19] docflow.DEBUG: AmoDrive docflow context request {"url":"https://gd.glucose-dev.online/api/docflow/google-context","query":{"account_id":"22699852","entity_id":"42784376","entity_type":"leads"}} {"uid":"4af184f"}
[2026-10-23 11:20:19] 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":22699852,"entityId":"42784376","entityType":"leads","amodrive":{"installed":false,"widgetStatus":"uninstalled","amoAccountId":22699852,"accountHost":"emigrare.amocrm.ru","license":{"status":"active","configuredStatus":"active","expiresAt":"2027-08-20T10:16:56.291Z","isExpired":false,"isTrial":false,"isActive":true,"expiredByDate":false,"daysRemaining":302,"isLifetime":false},"licenseActive":false,"googleConnected":false,"googleEmail":null,"googleHasDriveScope":false,"googleHasDriveFileScope":false,"googleHasOwnershipScope":false,"readyForGeneratedFileMove":false,"readyForTransfer":false},"folder":{"id":"11KqXYZ8BDi7FQK0Ehxjm7-gqBrwPlUhr","name":"42784376 - Lead #42784376","webViewLink":"https://drive.google.com/drive/folders/11KqXYZ8BDi7FQK0Ehxjm7-gqBrwPlUhr"}}} {"uid":"4af184f"}
[2026-10-23 11:20:19] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://google.emale.uno/api/docflow/prepare-generated-doc","payload":{"account_id":"22699852","entity_id":"42784376","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"4af184f"}
[2026-10-23 11:20:19] 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/10/23 11:20:19</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":"42784376","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"4af184f"}
[2026-10-23 11:20:19] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://gd.glucose-dev.online/api/docflow/prepare-generated-doc","payload":{"account_id":"22699852","entity_id":"42784376","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"4af184f"}
[2026-10-23 11:20:19] 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\":22699852})","payload":{"account_id":"22699852","entity_id":"42784376","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"4af184f"}
[2026-10-23 11:20:19] docflow.DEBUG: GAS request {"url":"https://script.google.com/macros/s/AKfycbwrvOJD46zkuoTzdhpc1kulhV8jRfgQBFZfQ121nkIip_k8yKit4xrbWTOzaJ-C-Yed6w/exec","body":{"templateFileId":"1VZpJfQMWPBAk02fKDhODjaSiFPqP5tWTav1sdqLkY0I","accountId":"22699852","folderId":"1Us2AfskxgdA729xVr0F2vjZU9y5PlYDe","key":"~VTsK5dcnHc2cSSsjM$LFSjLlgbmJXwrp3R2P5nd","data":"{\"fileName\":\"Apartenen\\u021b\\u0103  101 20261023112019\",\"leadId\":\"42784376\",\"entities\":{\"\\u0441\\u0434\\u0435\\u043b\\u043a\\u0430\":{\"Categorie Serviciu\":\"Cet.MD\",\"Serviciu solicitat\":\"1541431\",\"Ancheta completat\\u0103\":\"DA\",\"Temperatura client\":\"Fierbinte\",\"ID\":\"42784376\",\"\\u0421\\u0434\\u0435\\u043b\\u043a\\u0430_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"cet. MD\",\"Lead_name\":\"cet. MD\",\"\\u0411\\u044e\\u0434\\u0436\\u0435\\u0442\":\"0\",\"Budget\":\"0\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"Stanislav Slivinschi\",\"Responsible\":\"Stanislav Slivinschi\"},\"lead\":{\"Categorie Serviciu\":\"Cet.MD\",\"Serviciu solicitat\":\"1541431\",\"Ancheta completat\\u0103\":\"DA\",\"Temperatura client\":\"Fierbinte\",\"ID\":\"42784376\",\"\\u0421\\u0434\\u0435\\u043b\\u043a\\u0430_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"cet. MD\",\"Lead_name\":\"cet. MD\",\"\\u0411\\u044e\\u0434\\u0436\\u0435\\u0442\":\"0\",\"Budget\":\"0\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"Stanislav Slivinschi\",\"Responsible\":\"Stanislav Slivinschi\"},\"\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442\":{\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"+79039622327,\",\"TelegramUsername_WZ\":\"@hris888\",\"TelegramId_WZ\":\"1723165900\",\"Email\":\"kristinapetrusenko@gmail.com\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Hristina Belinskaia\",\"Contact_name\":\"Hristina Belinskaia\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"Stanislav Slivinschi\",\"Responsible\":\"Stanislav Slivinschi\"},\"contact\":{\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"+79039622327,\",\"TelegramUsername_WZ\":\"@hris888\",\"TelegramId_WZ\":\"1723165900\",\"Email\":\"kristinapetrusenko@gmail.com\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Hristina Belinskaia\",\"Contact_name\":\"Hristina Belinskaia\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"Stanislav Slivinschi\",\"Responsible\":\"Stanislav Slivinschi\"},\"\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442\\u044b\":[{\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"+79039622327,\",\"TelegramUsername_WZ\":\"@hris888\",\"TelegramId_WZ\":\"1723165900\",\"Email\":\"kristinapetrusenko@gmail.com\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Hristina Belinskaia\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"Stanislav Slivinschi\"}],\"\\u0434\\u043e\\u043a\\u0443\\u043c\\u0435\\u043d\\u0442\":{\"\\u0414\\u0430\\u0442\\u0430\":\"23.10.2026\",\"\\u041d\\u043e\\u043c\\u0435\\u0440\":\"101\"},\"document\":{\"Date\":\"23.10.2026\",\"Number\":\"101\"}}}","edit":true}} {"uid":"4af184f"}
[2026-10-23 11:20:28] docflow.DEBUG: GAS raw response {"raw":"[object] (stdClass: {\"code\":1,\"url\":\"https://docs.google.com/open?id=146_i3KNKbQa3N_gc4nL5TFMRhmjezEmssMPJ0Yer6NU\",\"file_id\":\"146_i3KNKbQa3N_gc4nL5TFMRhmjezEmssMPJ0Yer6NU\",\"error\":\"\",\"vars\":\"\"})"} {"uid":"4af184f"}
[2026-10-23 11:20:28] docflow.WARNING: AmoDrive generated-file move is not ready. {"fileId":"146_i3KNKbQa3N_gc4nL5TFMRhmjezEmssMPJ0Yer6NU","context":null} {"uid":"4af184f"}
[2026-10-23 11:20:36] docflow.INFO: Apel createDoc {"data":{"amoAccountId":"22699852","amoUserId":null,"amoEntityId":"42784376","amoEntityType":"2","templateId":"11515","corporateEntityId":"","settlementAccountId":"","is_signed":null,"gdi":null,"number":null,"currentAmoUserId":null,"lang":"ru"}} {"uid":"d448039"}
[2026-10-23 11:20:37] docflow.INFO: Token is valid for account 22699852. [] {"uid":"d448039"}
[2026-10-23 11:20:37] docflow.DEBUG: getClientAuth returned {"auth":"[object] (stdClass: {\"domain\":\"emigrare.amocrm.ru\",\"access_token\":\"eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImp0aSI6IjdkNTUxOTM4ZjU2ZDc3NWEyZTk2YWNkZWYxMDBhZTVjMTU0ZDY4N2QxYTY3N2IxYTI3YWY2NGVkZjgwMzU3ZWY1NjM0MzVjNjRkNDM5NWZhIn0.eyJhdWQiOiIwZDY0ZGZmYi1lNTRiLTQ0OGYtOWZiZi1iYWYyMjUxYTExZGIiLCJqdGkiOiI3ZDU1MTkzOGY1NmQ3NzVhMmU5NmFjZGVmMTAwYWU1YzE1NGQ2ODdkMWE2NzdiMWEyN2FmNjRlZGY4MDM1N2VmNTYzNDM1YzY0ZDQzOTVmYSIsImlhdCI6MTc5Mjc0MzYxNSwibmJmIjoxNzkyNzQzNjE1LCJleHAiOjE3OTI4MzAwMTUsInN1YiI6IjI5MzAzODAiLCJncmFudF90eXBlIjoiIiwiYWNjb3VudF9pZCI6MjI2OTk4NTIsImJhc2VfZG9tYWluIjoiYW1vY3JtLnJ1IiwidmVyc2lvbiI6Miwic2NvcGVzIjpbInB1c2hfbm90aWZpY2F0aW9ucyIsImNybSIsIm5vdGlmaWNhdGlvbnMiXSwiaGFzaF91dWlkIjoiZDkwN2YxYWQtMWU5My00MjNlLThmNDUtZDU5YTQwYTE4N2JiIiwiYXBpX2RvbWFpbiI6ImFwaS1iLmFtb2NybS5ydSJ9.VJwfNIsD_VjFyc-KJFe4wAavXR_qq6DceEzrkvgbjYneig12MqF6Lb8xTPGrej5Aw1OBziCdPaN09MNtY4NNmpaK_C8UX-xHYHq4o9mX-lWl7IgTJvaf6t0N1M3WYryYuGsYQeJlURnFagoQ8_szFb6JzsJTBLBEklqRCGkf3ZyRn_X9-4UbFt0jCT5EOIr4SVYB3fUu__k3Bwv_MCav1y2nEbKoFlK3G6JT-voVzVAn-_dOt0j0OSASvBPrIeMraRG6R3QUbSWZ52Al86I6Uv9tT7Swu9LeibZCs6EsuLQpxuVJNhdbdu7ah0QXHK5rmLIBc6584ZVlCEZKZ8EfNw\"})","file":"/home/ytvmclwh/document.amocrm.md/src/Models/Docs.php","line":121} {"uid":"d448039"}
[2026-10-23 11:20:40] docflow.DEBUG: AmoDrive docflow context request {"url":"https://google.emale.uno/api/docflow/google-context","query":{"account_id":"22699852","entity_id":"42784376","entity_type":"leads"}} {"uid":"d448039"}
[2026-10-23 11:20:40] 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=42784376&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/10/23 11:20:40</td>\r\n</tr>\r\n</table>\r\n<hr><center>tengine</center>\r\n</body>\r\n</html>\r\n"} {"uid":"d448039"}
[2026-10-23 11:20:40] docflow.DEBUG: AmoDrive docflow context request {"url":"https://gd.glucose-dev.online/api/docflow/google-context","query":{"account_id":"22699852","entity_id":"42784376","entity_type":"leads"}} {"uid":"d448039"}
[2026-10-23 11:20:40] 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":22699852,"entityId":"42784376","entityType":"leads","amodrive":{"installed":false,"widgetStatus":"uninstalled","amoAccountId":22699852,"accountHost":"emigrare.amocrm.ru","license":{"status":"active","configuredStatus":"active","expiresAt":"2027-08-20T10:16:56.291Z","isExpired":false,"isTrial":false,"isActive":true,"expiredByDate":false,"daysRemaining":302,"isLifetime":false},"licenseActive":false,"googleConnected":false,"googleEmail":null,"googleHasDriveScope":false,"googleHasDriveFileScope":false,"googleHasOwnershipScope":false,"readyForGeneratedFileMove":false,"readyForTransfer":false},"folder":{"id":"11KqXYZ8BDi7FQK0Ehxjm7-gqBrwPlUhr","name":"42784376 - Lead #42784376","webViewLink":"https://drive.google.com/drive/folders/11KqXYZ8BDi7FQK0Ehxjm7-gqBrwPlUhr"}}} {"uid":"d448039"}
[2026-10-23 11:20:40] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://google.emale.uno/api/docflow/prepare-generated-doc","payload":{"account_id":"22699852","entity_id":"42784376","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"d448039"}
[2026-10-23 11:20:40] 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/10/23 11:20:40</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":"42784376","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"d448039"}
[2026-10-23 11:20:40] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://gd.glucose-dev.online/api/docflow/prepare-generated-doc","payload":{"account_id":"22699852","entity_id":"42784376","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"d448039"}
[2026-10-23 11:20:40] 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\":22699852})","payload":{"account_id":"22699852","entity_id":"42784376","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"d448039"}
[2026-10-23 11:20:40] docflow.DEBUG: GAS request {"url":"https://script.google.com/macros/s/AKfycbwrvOJD46zkuoTzdhpc1kulhV8jRfgQBFZfQ121nkIip_k8yKit4xrbWTOzaJ-C-Yed6w/exec","body":{"templateFileId":"1SzGXEYI835Reg_M1AEPsRjzZ3ZvcLb1cGlMSjWjG9_s","accountId":"22699852","folderId":"1Us2AfskxgdA729xVr0F2vjZU9y5PlYDe","key":"~VTsK5dcnHc2cSSsjM$LFSjLlgbmJXwrp3R2P5nd","data":"{\"fileName\":\"\\u0421\\u0447\\u0435\\u0442 \\u043d\\u0430 \\u043e\\u043f\\u043b\\u0430\\u0442\\u0443 (Sber) 1752 20261023112040\",\"leadId\":\"42784376\",\"entities\":{\"\\u0441\\u0434\\u0435\\u043b\\u043a\\u0430\":{\"Categorie Serviciu\":\"Cet.MD\",\"Serviciu solicitat\":\"1541431\",\"Ancheta completat\\u0103\":\"DA\",\"Temperatura client\":\"Fierbinte\",\"ID\":\"42784376\",\"\\u0421\\u0434\\u0435\\u043b\\u043a\\u0430_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"cet. MD\",\"Lead_name\":\"cet. MD\",\"\\u0411\\u044e\\u0434\\u0436\\u0435\\u0442\":\"0\",\"Budget\":\"0\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"Stanislav Slivinschi\",\"Responsible\":\"Stanislav Slivinschi\"},\"lead\":{\"Categorie Serviciu\":\"Cet.MD\",\"Serviciu solicitat\":\"1541431\",\"Ancheta completat\\u0103\":\"DA\",\"Temperatura client\":\"Fierbinte\",\"ID\":\"42784376\",\"\\u0421\\u0434\\u0435\\u043b\\u043a\\u0430_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"cet. MD\",\"Lead_name\":\"cet. MD\",\"\\u0411\\u044e\\u0434\\u0436\\u0435\\u0442\":\"0\",\"Budget\":\"0\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"Stanislav Slivinschi\",\"Responsible\":\"Stanislav Slivinschi\"},\"\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442\":{\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"+79039622327,\",\"TelegramUsername_WZ\":\"@hris888\",\"TelegramId_WZ\":\"1723165900\",\"Email\":\"kristinapetrusenko@gmail.com\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Hristina Belinskaia\",\"Contact_name\":\"Hristina Belinskaia\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"Stanislav Slivinschi\",\"Responsible\":\"Stanislav Slivinschi\"},\"contact\":{\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"+79039622327,\",\"TelegramUsername_WZ\":\"@hris888\",\"TelegramId_WZ\":\"1723165900\",\"Email\":\"kristinapetrusenko@gmail.com\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Hristina Belinskaia\",\"Contact_name\":\"Hristina Belinskaia\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"Stanislav Slivinschi\",\"Responsible\":\"Stanislav Slivinschi\"},\"\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442\\u044b\":[{\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"+79039622327,\",\"TelegramUsername_WZ\":\"@hris888\",\"TelegramId_WZ\":\"1723165900\",\"Email\":\"kristinapetrusenko@gmail.com\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Hristina Belinskaia\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"Stanislav Slivinschi\"}],\"\\u0434\\u043e\\u043a\\u0443\\u043c\\u0435\\u043d\\u0442\":{\"\\u0414\\u0430\\u0442\\u0430\":\"23.10.2026\",\"\\u041d\\u043e\\u043c\\u0435\\u0440\":\"1752\"},\"document\":{\"Date\":\"23.10.2026\",\"Number\":\"1752\"}}}","edit":true}} {"uid":"d448039"}
[2026-10-23 11:20:47] docflow.DEBUG: GAS raw response {"raw":"[object] (stdClass: {\"code\":1,\"url\":\"https://docs.google.com/open?id=1xO7lvjnLUexhRFGQy581O9NtGkEuFm8wRjN-PuxcWNI\",\"file_id\":\"1xO7lvjnLUexhRFGQy581O9NtGkEuFm8wRjN-PuxcWNI\",\"error\":\"\",\"vars\":\"\"})"} {"uid":"d448039"}
[2026-10-23 11:20:47] docflow.WARNING: AmoDrive generated-file move is not ready. {"fileId":"1xO7lvjnLUexhRFGQy581O9NtGkEuFm8wRjN-PuxcWNI","context":null} {"uid":"d448039"}
[2026-10-23 11:21:14] docflow.INFO: Apel createDoc {"data":{"amoAccountId":"22699852","amoUserId":null,"amoEntityId":"42784376","amoEntityType":"2","templateId":"11504","corporateEntityId":"","settlementAccountId":"","is_signed":null,"gdi":null,"number":null,"currentAmoUserId":null,"lang":"ru"}} {"uid":"6cc3714"}
[2026-10-23 11:21:15] docflow.INFO: Token is valid for account 22699852. [] {"uid":"6cc3714"}
[2026-10-23 11:21:15] docflow.DEBUG: getClientAuth returned {"auth":"[object] (stdClass: {\"domain\":\"emigrare.amocrm.ru\",\"access_token\":\"eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImp0aSI6IjdkNTUxOTM4ZjU2ZDc3NWEyZTk2YWNkZWYxMDBhZTVjMTU0ZDY4N2QxYTY3N2IxYTI3YWY2NGVkZjgwMzU3ZWY1NjM0MzVjNjRkNDM5NWZhIn0.eyJhdWQiOiIwZDY0ZGZmYi1lNTRiLTQ0OGYtOWZiZi1iYWYyMjUxYTExZGIiLCJqdGkiOiI3ZDU1MTkzOGY1NmQ3NzVhMmU5NmFjZGVmMTAwYWU1YzE1NGQ2ODdkMWE2NzdiMWEyN2FmNjRlZGY4MDM1N2VmNTYzNDM1YzY0ZDQzOTVmYSIsImlhdCI6MTc5Mjc0MzYxNSwibmJmIjoxNzkyNzQzNjE1LCJleHAiOjE3OTI4MzAwMTUsInN1YiI6IjI5MzAzODAiLCJncmFudF90eXBlIjoiIiwiYWNjb3VudF9pZCI6MjI2OTk4NTIsImJhc2VfZG9tYWluIjoiYW1vY3JtLnJ1IiwidmVyc2lvbiI6Miwic2NvcGVzIjpbInB1c2hfbm90aWZpY2F0aW9ucyIsImNybSIsIm5vdGlmaWNhdGlvbnMiXSwiaGFzaF91dWlkIjoiZDkwN2YxYWQtMWU5My00MjNlLThmNDUtZDU5YTQwYTE4N2JiIiwiYXBpX2RvbWFpbiI6ImFwaS1iLmFtb2NybS5ydSJ9.VJwfNIsD_VjFyc-KJFe4wAavXR_qq6DceEzrkvgbjYneig12MqF6Lb8xTPGrej5Aw1OBziCdPaN09MNtY4NNmpaK_C8UX-xHYHq4o9mX-lWl7IgTJvaf6t0N1M3WYryYuGsYQeJlURnFagoQ8_szFb6JzsJTBLBEklqRCGkf3ZyRn_X9-4UbFt0jCT5EOIr4SVYB3fUu__k3Bwv_MCav1y2nEbKoFlK3G6JT-voVzVAn-_dOt0j0OSASvBPrIeMraRG6R3QUbSWZ52Al86I6Uv9tT7Swu9LeibZCs6EsuLQpxuVJNhdbdu7ah0QXHK5rmLIBc6584ZVlCEZKZ8EfNw\"})","file":"/home/ytvmclwh/document.amocrm.md/src/Models/Docs.php","line":121} {"uid":"6cc3714"}
[2026-10-23 11:21:19] docflow.DEBUG: AmoDrive docflow context request {"url":"https://google.emale.uno/api/docflow/google-context","query":{"account_id":"22699852","entity_id":"42784376","entity_type":"leads"}} {"uid":"6cc3714"}
[2026-10-23 11:21:19] 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=42784376&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/10/23 11:21:19</td>\r\n</tr>\r\n</table>\r\n<hr><center>tengine</center>\r\n</body>\r\n</html>\r\n"} {"uid":"6cc3714"}
[2026-10-23 11:21:19] docflow.DEBUG: AmoDrive docflow context request {"url":"https://gd.glucose-dev.online/api/docflow/google-context","query":{"account_id":"22699852","entity_id":"42784376","entity_type":"leads"}} {"uid":"6cc3714"}
[2026-10-23 11:21:19] 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":22699852,"entityId":"42784376","entityType":"leads","amodrive":{"installed":false,"widgetStatus":"uninstalled","amoAccountId":22699852,"accountHost":"emigrare.amocrm.ru","license":{"status":"active","configuredStatus":"active","expiresAt":"2027-08-20T10:16:56.291Z","isExpired":false,"isTrial":false,"isActive":true,"expiredByDate":false,"daysRemaining":302,"isLifetime":false},"licenseActive":false,"googleConnected":false,"googleEmail":null,"googleHasDriveScope":false,"googleHasDriveFileScope":false,"googleHasOwnershipScope":false,"readyForGeneratedFileMove":false,"readyForTransfer":false},"folder":{"id":"11KqXYZ8BDi7FQK0Ehxjm7-gqBrwPlUhr","name":"42784376 - Lead #42784376","webViewLink":"https://drive.google.com/drive/folders/11KqXYZ8BDi7FQK0Ehxjm7-gqBrwPlUhr"}}} {"uid":"6cc3714"}
[2026-10-23 11:21:19] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://google.emale.uno/api/docflow/prepare-generated-doc","payload":{"account_id":"22699852","entity_id":"42784376","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"6cc3714"}
[2026-10-23 11:21:19] 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/10/23 11:21:19</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":"42784376","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"6cc3714"}
[2026-10-23 11:21:19] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://gd.glucose-dev.online/api/docflow/prepare-generated-doc","payload":{"account_id":"22699852","entity_id":"42784376","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"6cc3714"}
[2026-10-23 11:21:19] 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\":22699852})","payload":{"account_id":"22699852","entity_id":"42784376","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"6cc3714"}
[2026-10-23 11:21:19] docflow.DEBUG: GAS request {"url":"https://script.google.com/macros/s/AKfycbwrvOJD46zkuoTzdhpc1kulhV8jRfgQBFZfQ121nkIip_k8yKit4xrbWTOzaJ-C-Yed6w/exec","body":{"templateFileId":"1fiDEkj3eAI4XA1NOTKy_2IPPsg8jKEFNlm8nKHlFCi4","accountId":"22699852","folderId":"1Us2AfskxgdA729xVr0F2vjZU9y5PlYDe","key":"~VTsK5dcnHc2cSSsjM$LFSjLlgbmJXwrp3R2P5nd","data":"{\"fileName\":\"\\u0421\\u043e\\u0433\\u043b\\u0430\\u0441\\u0438\\u0435 (\\u0434\\u043e\\u0433\\u043e\\u0432\\u043e\\u0440) 116 20261023112119\",\"leadId\":\"42784376\",\"entities\":{\"\\u0441\\u0434\\u0435\\u043b\\u043a\\u0430\":{\"Categorie Serviciu\":\"Cet.MD\",\"Serviciu solicitat\":\"1541431\",\"Ancheta completat\\u0103\":\"DA\",\"Temperatura client\":\"Fierbinte\",\"ID\":\"42784376\",\"\\u0421\\u0434\\u0435\\u043b\\u043a\\u0430_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"cet. MD\",\"Lead_name\":\"cet. MD\",\"\\u0411\\u044e\\u0434\\u0436\\u0435\\u0442\":\"0\",\"Budget\":\"0\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"Stanislav Slivinschi\",\"Responsible\":\"Stanislav Slivinschi\"},\"lead\":{\"Categorie Serviciu\":\"Cet.MD\",\"Serviciu solicitat\":\"1541431\",\"Ancheta completat\\u0103\":\"DA\",\"Temperatura client\":\"Fierbinte\",\"ID\":\"42784376\",\"\\u0421\\u0434\\u0435\\u043b\\u043a\\u0430_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"cet. MD\",\"Lead_name\":\"cet. MD\",\"\\u0411\\u044e\\u0434\\u0436\\u0435\\u0442\":\"0\",\"Budget\":\"0\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"Stanislav Slivinschi\",\"Responsible\":\"Stanislav Slivinschi\"},\"\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442\":{\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"+79039622327,\",\"TelegramUsername_WZ\":\"@hris888\",\"TelegramId_WZ\":\"1723165900\",\"Email\":\"kristinapetrusenko@gmail.com\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Hristina Belinskaia\",\"Contact_name\":\"Hristina Belinskaia\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"Stanislav Slivinschi\",\"Responsible\":\"Stanislav Slivinschi\"},\"contact\":{\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"+79039622327,\",\"TelegramUsername_WZ\":\"@hris888\",\"TelegramId_WZ\":\"1723165900\",\"Email\":\"kristinapetrusenko@gmail.com\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Hristina Belinskaia\",\"Contact_name\":\"Hristina Belinskaia\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"Stanislav Slivinschi\",\"Responsible\":\"Stanislav Slivinschi\"},\"\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442\\u044b\":[{\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"+79039622327,\",\"TelegramUsername_WZ\":\"@hris888\",\"TelegramId_WZ\":\"1723165900\",\"Email\":\"kristinapetrusenko@gmail.com\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Hristina Belinskaia\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"Stanislav Slivinschi\"}],\"\\u0434\\u043e\\u043a\\u0443\\u043c\\u0435\\u043d\\u0442\":{\"\\u0414\\u0430\\u0442\\u0430\":\"23.10.2026\",\"\\u041d\\u043e\\u043c\\u0435\\u0440\":\"116\"},\"document\":{\"Date\":\"23.10.2026\",\"Number\":\"116\"}}}","edit":true}} {"uid":"6cc3714"}
[2026-10-23 11:21:25] docflow.DEBUG: GAS raw response {"raw":"[object] (stdClass: {\"code\":1,\"url\":\"https://docs.google.com/open?id=1fycBNZIAB4LMkMmYGS2x2AJSFVwUhVjggfKfxxXPYkk\",\"file_id\":\"1fycBNZIAB4LMkMmYGS2x2AJSFVwUhVjggfKfxxXPYkk\",\"error\":\"\",\"vars\":\"\"})"} {"uid":"6cc3714"}
[2026-10-23 11:21:25] docflow.WARNING: AmoDrive generated-file move is not ready. {"fileId":"1fycBNZIAB4LMkMmYGS2x2AJSFVwUhVjggfKfxxXPYkk","context":null} {"uid":"6cc3714"}
[2026-10-23 11:33:16] docflow.INFO: Apel createDoc {"data":{"amoAccountId":"22699852","amoUserId":null,"amoEntityId":"42784376","amoEntityType":"2","templateId":"11526","corporateEntityId":"","settlementAccountId":"","is_signed":null,"gdi":null,"number":null,"currentAmoUserId":null,"lang":"ru"}} {"uid":"cd2c7e4"}
[2026-10-23 11:33:17] docflow.INFO: Token is valid for account 22699852. [] {"uid":"cd2c7e4"}
[2026-10-23 11:33:17] docflow.DEBUG: getClientAuth returned {"auth":"[object] (stdClass: {\"domain\":\"emigrare.amocrm.ru\",\"access_token\":\"eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImp0aSI6IjdkNTUxOTM4ZjU2ZDc3NWEyZTk2YWNkZWYxMDBhZTVjMTU0ZDY4N2QxYTY3N2IxYTI3YWY2NGVkZjgwMzU3ZWY1NjM0MzVjNjRkNDM5NWZhIn0.eyJhdWQiOiIwZDY0ZGZmYi1lNTRiLTQ0OGYtOWZiZi1iYWYyMjUxYTExZGIiLCJqdGkiOiI3ZDU1MTkzOGY1NmQ3NzVhMmU5NmFjZGVmMTAwYWU1YzE1NGQ2ODdkMWE2NzdiMWEyN2FmNjRlZGY4MDM1N2VmNTYzNDM1YzY0ZDQzOTVmYSIsImlhdCI6MTc5Mjc0MzYxNSwibmJmIjoxNzkyNzQzNjE1LCJleHAiOjE3OTI4MzAwMTUsInN1YiI6IjI5MzAzODAiLCJncmFudF90eXBlIjoiIiwiYWNjb3VudF9pZCI6MjI2OTk4NTIsImJhc2VfZG9tYWluIjoiYW1vY3JtLnJ1IiwidmVyc2lvbiI6Miwic2NvcGVzIjpbInB1c2hfbm90aWZpY2F0aW9ucyIsImNybSIsIm5vdGlmaWNhdGlvbnMiXSwiaGFzaF91dWlkIjoiZDkwN2YxYWQtMWU5My00MjNlLThmNDUtZDU5YTQwYTE4N2JiIiwiYXBpX2RvbWFpbiI6ImFwaS1iLmFtb2NybS5ydSJ9.VJwfNIsD_VjFyc-KJFe4wAavXR_qq6DceEzrkvgbjYneig12MqF6Lb8xTPGrej5Aw1OBziCdPaN09MNtY4NNmpaK_C8UX-xHYHq4o9mX-lWl7IgTJvaf6t0N1M3WYryYuGsYQeJlURnFagoQ8_szFb6JzsJTBLBEklqRCGkf3ZyRn_X9-4UbFt0jCT5EOIr4SVYB3fUu__k3Bwv_MCav1y2nEbKoFlK3G6JT-voVzVAn-_dOt0j0OSASvBPrIeMraRG6R3QUbSWZ52Al86I6Uv9tT7Swu9LeibZCs6EsuLQpxuVJNhdbdu7ah0QXHK5rmLIBc6584ZVlCEZKZ8EfNw\"})","file":"/home/ytvmclwh/document.amocrm.md/src/Models/Docs.php","line":121} {"uid":"cd2c7e4"}
[2026-10-23 11:33:20] docflow.DEBUG: AmoDrive docflow context request {"url":"https://google.emale.uno/api/docflow/google-context","query":{"account_id":"22699852","entity_id":"42784376","entity_type":"leads"}} {"uid":"cd2c7e4"}
[2026-10-23 11:33:21] 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=42784376&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/10/23 11:33:21</td>\r\n</tr>\r\n</table>\r\n<hr><center>tengine</center>\r\n</body>\r\n</html>\r\n"} {"uid":"cd2c7e4"}
[2026-10-23 11:33:21] docflow.DEBUG: AmoDrive docflow context request {"url":"https://gd.glucose-dev.online/api/docflow/google-context","query":{"account_id":"22699852","entity_id":"42784376","entity_type":"leads"}} {"uid":"cd2c7e4"}
[2026-10-23 11:33:21] 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":22699852,"entityId":"42784376","entityType":"leads","amodrive":{"installed":false,"widgetStatus":"uninstalled","amoAccountId":22699852,"accountHost":"emigrare.amocrm.ru","license":{"status":"active","configuredStatus":"active","expiresAt":"2027-08-20T10:16:56.291Z","isExpired":false,"isTrial":false,"isActive":true,"expiredByDate":false,"daysRemaining":302,"isLifetime":false},"licenseActive":false,"googleConnected":false,"googleEmail":null,"googleHasDriveScope":false,"googleHasDriveFileScope":false,"googleHasOwnershipScope":false,"readyForGeneratedFileMove":false,"readyForTransfer":false},"folder":{"id":"11KqXYZ8BDi7FQK0Ehxjm7-gqBrwPlUhr","name":"42784376 - Lead #42784376","webViewLink":"https://drive.google.com/drive/folders/11KqXYZ8BDi7FQK0Ehxjm7-gqBrwPlUhr"}}} {"uid":"cd2c7e4"}
[2026-10-23 11:33:21] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://google.emale.uno/api/docflow/prepare-generated-doc","payload":{"account_id":"22699852","entity_id":"42784376","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"cd2c7e4"}
[2026-10-23 11:33:21] 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/10/23 11:33:21</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":"42784376","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"cd2c7e4"}
[2026-10-23 11:33:21] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://gd.glucose-dev.online/api/docflow/prepare-generated-doc","payload":{"account_id":"22699852","entity_id":"42784376","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"cd2c7e4"}
[2026-10-23 11:33:21] 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\":22699852})","payload":{"account_id":"22699852","entity_id":"42784376","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"cd2c7e4"}
[2026-10-23 11:33:21] docflow.DEBUG: GAS request {"url":"https://script.google.com/macros/s/AKfycbwrvOJD46zkuoTzdhpc1kulhV8jRfgQBFZfQ121nkIip_k8yKit4xrbWTOzaJ-C-Yed6w/exec","body":{"templateFileId":"1snQY4ritjrb76kkRXORjQOdbteGoUc5GjdQR8UlRbIM","accountId":"22699852","folderId":"1Us2AfskxgdA729xVr0F2vjZU9y5PlYDe","key":"~VTsK5dcnHc2cSSsjM$LFSjLlgbmJXwrp3R2P5nd","data":"{\"fileName\":\"\\u0421\\u0447\\u0435\\u0442 \\u043d\\u0430 \\u043e\\u043f\\u043b\\u0430\\u0442\\u0443 DOC PARK (EUR\\/USD\\/MDL) 130 20261023113320\",\"leadId\":\"42784376\",\"entities\":{\"\\u0441\\u0434\\u0435\\u043b\\u043a\\u0430\":{\"Categorie Serviciu\":\"Cet.MD\",\"Serviciu solicitat\":\"1541431\",\"Ancheta completat\\u0103\":\"DA\",\"Temperatura client\":\"Fierbinte\",\"ID\":\"42784376\",\"\\u0421\\u0434\\u0435\\u043b\\u043a\\u0430_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"cet. MD\",\"Lead_name\":\"cet. MD\",\"\\u0411\\u044e\\u0434\\u0436\\u0435\\u0442\":\"0\",\"Budget\":\"0\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"Stanislav Slivinschi\",\"Responsible\":\"Stanislav Slivinschi\"},\"lead\":{\"Categorie Serviciu\":\"Cet.MD\",\"Serviciu solicitat\":\"1541431\",\"Ancheta completat\\u0103\":\"DA\",\"Temperatura client\":\"Fierbinte\",\"ID\":\"42784376\",\"\\u0421\\u0434\\u0435\\u043b\\u043a\\u0430_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"cet. MD\",\"Lead_name\":\"cet. MD\",\"\\u0411\\u044e\\u0434\\u0436\\u0435\\u0442\":\"0\",\"Budget\":\"0\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"Stanislav Slivinschi\",\"Responsible\":\"Stanislav Slivinschi\"},\"\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442\":{\"TelegramUsername_WZ\":\"@hris888\",\"TelegramId_WZ\":\"1723165900\",\"Email\":\"kristinapetrusenko@gmail.com\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"+79039622327\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Hristina Belinskaia\",\"Contact_name\":\"Hristina Belinskaia\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"Stanislav Slivinschi\",\"Responsible\":\"Stanislav Slivinschi\"},\"contact\":{\"TelegramUsername_WZ\":\"@hris888\",\"TelegramId_WZ\":\"1723165900\",\"Email\":\"kristinapetrusenko@gmail.com\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"+79039622327\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Hristina Belinskaia\",\"Contact_name\":\"Hristina Belinskaia\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"Stanislav Slivinschi\",\"Responsible\":\"Stanislav Slivinschi\"},\"\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442\\u044b\":[{\"TelegramUsername_WZ\":\"@hris888\",\"TelegramId_WZ\":\"1723165900\",\"Email\":\"kristinapetrusenko@gmail.com\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"+79039622327\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Hristina Belinskaia\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"Stanislav Slivinschi\"}],\"\\u0434\\u043e\\u043a\\u0443\\u043c\\u0435\\u043d\\u0442\":{\"\\u0414\\u0430\\u0442\\u0430\":\"23.10.2026\",\"\\u041d\\u043e\\u043c\\u0435\\u0440\":\"130\"},\"document\":{\"Date\":\"23.10.2026\",\"Number\":\"130\"}}}","edit":true}} {"uid":"cd2c7e4"}
[2026-10-23 11:33:27] docflow.DEBUG: GAS raw response {"raw":"[object] (stdClass: {\"code\":1,\"url\":\"https://docs.google.com/open?id=1fhsnuVNwll5-tZWadXzuxy-d2qrsrpj9NleaS-kYLTg\",\"file_id\":\"1fhsnuVNwll5-tZWadXzuxy-d2qrsrpj9NleaS-kYLTg\",\"error\":\"\",\"vars\":\"\"})"} {"uid":"cd2c7e4"}
[2026-10-23 11:33:27] docflow.WARNING: AmoDrive generated-file move is not ready. {"fileId":"1fhsnuVNwll5-tZWadXzuxy-d2qrsrpj9NleaS-kYLTg","context":null} {"uid":"cd2c7e4"}
[2026-10-23 11:43:06] docflow.INFO: Apel createDoc {"data":{"amoAccountId":"33101758","amoUserId":null,"amoEntityId":"49561869","amoEntityType":"2","templateId":"11649","corporateEntityId":"1981","settlementAccountId":"","is_signed":null,"gdi":null,"number":null,"currentAmoUserId":null,"lang":"ru"}} {"uid":"8733f2c"}
[2026-10-23 11:43:06] docflow.INFO: Token validation failed for account 33101758. Refreshing... {"http_code":null,"error_message":"HTTP/2 401 "} {"uid":"8733f2c"}
[2026-10-23 11:43:06] docflow.INFO: Attempting token refresh with payload: {"client_id":"0d64dffb-e54b-448f-9fbf-baf2251a11db","client_secret":"AXqHrT1J35SilTTtI3yyaHdQKiS5bonhySaPYkLmo7mR6ZZ9zDP24dUjG189VG9G","grant_type":"refresh_token","refresh_token":"def50200f2c60c985a2a294009c3951513c9fb4d03888257fd87a6c77e5ff74d10eb5b77ea3ca4b67e554779e62e5d5ba659a4f16a36ff4224530643a2e8136b867203d707c017ab8513c040ddac3beb302a97dd8f38e0d781fe8573b5753a733f33a5aeea7e475cdee38a29be7c5164b56c9b5256bedcbdb3f27fa1fa9f8599c0767978b4e68809ee69e8dfa1792e5b233f22957097ea0ad63116a8ac8ff046bcf6885490f2c911d8f55868039631dd2ca64e93a3c1f46c212bafe989b5dae43f9fd1ef9c04ce341da6312e7403e4ee3ac1edfef8e7e709f3b3eaf2e4b4855a6f38a694226fe1ccd71cb3255242b603eb431abcbb067bfaf1674af76f2ca8253d0bddc48ed46e650dd5f68593e3e940821da95efdae23db030d28c5750d14175820d9728aee049e1d978d4624d004f0cc504d707873da85d628c969bf42ca87301a480260e8e618faa86cd2bad1dbcaa582612ab99b37eaecbd036c9a64550d21c1c25b7c5d59d8885eea8d696ad58029f1772216985def70b69a37ff477e4c0f9c2be2d3f573d890e5d11f652d45c428b712a0a425db128632b426f734b39566fdfe370a78e81e27ebfec61234fb3dd41c5001662ee671f50e3c7a2268194f781a6523894ec407baf694783d05c5693cecd40674c378","redirect_uri":"https://document.amocrm.md/core/manager/install.php"} {"uid":"8733f2c"}
[2026-10-23 11:43:07] docflow.ERROR: Failed to refresh OAuth token (cURL error) {"http_code":null,"error_message":"HTTP/2 401 ","response_body":"[object] (stdClass: {\"hint\":\"Token has expired\",\"title\":\"Некорректный запрос\",\"type\":\"https://developers.amocrm.ru/v3/errors/OAuthProblemJson\",\"status\":401,\"detail\":\"В запросе отсутствует ряд параметров или параметры невалидны\"})","request_body_sent":{"client_id":"0d64dffb-e54b-448f-9fbf-baf2251a11db","client_secret":"AXqHrT1J35SilTTtI3yyaHdQKiS5bonhySaPYkLmo7mR6ZZ9zDP24dUjG189VG9G","grant_type":"refresh_token","refresh_token":"def50200f2c60c985a2a294009c3951513c9fb4d03888257fd87a6c77e5ff74d10eb5b77ea3ca4b67e554779e62e5d5ba659a4f16a36ff4224530643a2e8136b867203d707c017ab8513c040ddac3beb302a97dd8f38e0d781fe8573b5753a733f33a5aeea7e475cdee38a29be7c5164b56c9b5256bedcbdb3f27fa1fa9f8599c0767978b4e68809ee69e8dfa1792e5b233f22957097ea0ad63116a8ac8ff046bcf6885490f2c911d8f55868039631dd2ca64e93a3c1f46c212bafe989b5dae43f9fd1ef9c04ce341da6312e7403e4ee3ac1edfef8e7e709f3b3eaf2e4b4855a6f38a694226fe1ccd71cb3255242b603eb431abcbb067bfaf1674af76f2ca8253d0bddc48ed46e650dd5f68593e3e940821da95efdae23db030d28c5750d14175820d9728aee049e1d978d4624d004f0cc504d707873da85d628c969bf42ca87301a480260e8e618faa86cd2bad1dbcaa582612ab99b37eaecbd036c9a64550d21c1c25b7c5d59d8885eea8d696ad58029f1772216985def70b69a37ff477e4c0f9c2be2d3f573d890e5d11f652d45c428b712a0a425db128632b426f734b39566fdfe370a78e81e27ebfec61234fb3dd41c5001662ee671f50e3c7a2268194f781a6523894ec407baf694783d05c5693cecd40674c378","redirect_uri":"https://document.amocrm.md/core/manager/install.php"}} {"uid":"8733f2c"}
[2026-10-23 11:43:07] docflow.ERROR: cURL error on token refresh: HTTP/2 401  {"trace":"#0 /home/ytvmclwh/document.amocrm.md/src/Models/Docs.php(1322): Genezis\\Docflow\\Models\\Docs->performTokenRefresh('evodent.amocrm....', 'def50200f2c60c9...', '0d64dffb-e54b-4...')\n#1 /home/ytvmclwh/document.amocrm.md/src/Models/Docs.php(621): Genezis\\Docflow\\Models\\Docs->getOAuthTokenAmo(3, 33101758)\n#2 /home/ytvmclwh/document.amocrm.md/src/Models/Docs.php(117): Genezis\\Docflow\\Models\\Docs->getClientAuth('33101758', 3)\n#3 /home/ytvmclwh/document.amocrm.md/src/Controllers/Docs.php(94): Genezis\\Docflow\\Models\\Docs->createDoc(Array)\n#4 [internal function]: Genezis\\Docflow\\Controllers\\Docs->create(Object(Slim\\Http\\Request), Object(Slim\\Http\\Response), Array)\n#5 /home/ytvmclwh/document.amocrm.md/vendor/slim/slim/Slim/Handlers/Strategies/RequestResponse.php(41): call_user_func(Array, Object(Slim\\Http\\Request), Object(Slim\\Http\\Response), Array)\n#6 /home/ytvmclwh/document.amocrm.md/vendor/slim/slim/Slim/Route.php(335): Slim\\Handlers\\Strategies\\RequestResponse->__invoke(Array, Object(Slim\\Http\\Request), Object(Slim\\Http\\Response), Array)\n#7 /home/ytvmclwh/document.amocrm.md/vendor/slim/slim/Slim/MiddlewareAwareTrait.php(117): Slim\\Route->__invoke(Object(Slim\\Http\\Request), Object(Slim\\Http\\Response))\n#8 /home/ytvmclwh/document.amocrm.md/vendor/slim/slim/Slim/Route.php(313): Slim\\Route->callMiddlewareStack(Object(Slim\\Http\\Request), Object(Slim\\Http\\Response))\n#9 /home/ytvmclwh/document.amocrm.md/vendor/slim/slim/Slim/App.php(495): Slim\\Route->run(Object(Slim\\Http\\Request), Object(Slim\\Http\\Response))\n#10 /home/ytvmclwh/document.amocrm.md/vendor/genezis/amocrm-cors/src/AmoCors.php(54): Slim\\App->__invoke(Object(Slim\\Http\\Request), Object(Slim\\Http\\Response))\n#11 [internal function]: Genezis\\Middlewares\\AmoCors->__invoke(Object(Slim\\Http\\Request), Object(Slim\\Http\\Response), Object(Slim\\App))\n#12 /home/ytvmclwh/document.amocrm.md/vendor/slim/slim/Slim/DeferredCallable.php(43): call_user_func_array(Object(Genezis\\Middlewares\\AmoCors), Array)\n#13 [internal function]: Slim\\DeferredCallable->__invoke(Object(Slim\\Http\\Request), Object(Slim\\Http\\Response), Object(Slim\\App))\n#14 /home/ytvmclwh/document.amocrm.md/vendor/slim/slim/Slim/MiddlewareAwareTrait.php(70): call_user_func(Object(Slim\\DeferredCallable), Object(Slim\\Http\\Request), Object(Slim\\Http\\Response), Object(Slim\\App))\n#15 /home/ytvmclwh/document.amocrm.md/vendor/slim/slim/Slim/MiddlewareAwareTrait.php(117): Slim\\App->Slim\\{closure}(Object(Slim\\Http\\Request), Object(Slim\\Http\\Response))\n#16 /home/ytvmclwh/document.amocrm.md/vendor/slim/slim/Slim/App.php(388): Slim\\App->callMiddlewareStack(Object(Slim\\Http\\Request), Object(Slim\\Http\\Response))\n#17 /home/ytvmclwh/document.amocrm.md/vendor/slim/slim/Slim/App.php(296): Slim\\App->process(Object(Slim\\Http\\Request), Object(Slim\\Http\\Response))\n#18 /home/ytvmclwh/document.amocrm.md/public/index.php(37): Slim\\App->run()\n#19 {main}"} {"uid":"8733f2c"}
[2026-10-23 11:50:00] docflow.INFO: Apel createDoc {"data":{"amoAccountId":"33101758","amoUserId":null,"amoEntityId":"49561869","amoEntityType":"2","templateId":"11649","corporateEntityId":"1981","settlementAccountId":"","is_signed":null,"gdi":null,"number":null,"currentAmoUserId":null,"lang":"ru"}} {"uid":"84010b1"}
[2026-10-23 11:50:00] docflow.INFO: Token validation failed for account 33101758. Refreshing... {"http_code":null,"error_message":"HTTP/2 401 "} {"uid":"84010b1"}
[2026-10-23 11:50:00] docflow.INFO: Attempting token refresh with payload: {"client_id":"0d64dffb-e54b-448f-9fbf-baf2251a11db","client_secret":"AXqHrT1J35SilTTtI3yyaHdQKiS5bonhySaPYkLmo7mR6ZZ9zDP24dUjG189VG9G","grant_type":"refresh_token","refresh_token":"def50200f2c60c985a2a294009c3951513c9fb4d03888257fd87a6c77e5ff74d10eb5b77ea3ca4b67e554779e62e5d5ba659a4f16a36ff4224530643a2e8136b867203d707c017ab8513c040ddac3beb302a97dd8f38e0d781fe8573b5753a733f33a5aeea7e475cdee38a29be7c5164b56c9b5256bedcbdb3f27fa1fa9f8599c0767978b4e68809ee69e8dfa1792e5b233f22957097ea0ad63116a8ac8ff046bcf6885490f2c911d8f55868039631dd2ca64e93a3c1f46c212bafe989b5dae43f9fd1ef9c04ce341da6312e7403e4ee3ac1edfef8e7e709f3b3eaf2e4b4855a6f38a694226fe1ccd71cb3255242b603eb431abcbb067bfaf1674af76f2ca8253d0bddc48ed46e650dd5f68593e3e940821da95efdae23db030d28c5750d14175820d9728aee049e1d978d4624d004f0cc504d707873da85d628c969bf42ca87301a480260e8e618faa86cd2bad1dbcaa582612ab99b37eaecbd036c9a64550d21c1c25b7c5d59d8885eea8d696ad58029f1772216985def70b69a37ff477e4c0f9c2be2d3f573d890e5d11f652d45c428b712a0a425db128632b426f734b39566fdfe370a78e81e27ebfec61234fb3dd41c5001662ee671f50e3c7a2268194f781a6523894ec407baf694783d05c5693cecd40674c378","redirect_uri":"https://document.amocrm.md/core/manager/install.php"} {"uid":"84010b1"}
[2026-10-23 11:50:01] docflow.ERROR: Failed to refresh OAuth token (cURL error) {"http_code":null,"error_message":"HTTP/2 401 ","response_body":"[object] (stdClass: {\"hint\":\"Token has expired\",\"title\":\"Некорректный запрос\",\"type\":\"https://developers.amocrm.ru/v3/errors/OAuthProblemJson\",\"status\":401,\"detail\":\"В запросе отсутствует ряд параметров или параметры невалидны\"})","request_body_sent":{"client_id":"0d64dffb-e54b-448f-9fbf-baf2251a11db","client_secret":"AXqHrT1J35SilTTtI3yyaHdQKiS5bonhySaPYkLmo7mR6ZZ9zDP24dUjG189VG9G","grant_type":"refresh_token","refresh_token":"def50200f2c60c985a2a294009c3951513c9fb4d03888257fd87a6c77e5ff74d10eb5b77ea3ca4b67e554779e62e5d5ba659a4f16a36ff4224530643a2e8136b867203d707c017ab8513c040ddac3beb302a97dd8f38e0d781fe8573b5753a733f33a5aeea7e475cdee38a29be7c5164b56c9b5256bedcbdb3f27fa1fa9f8599c0767978b4e68809ee69e8dfa1792e5b233f22957097ea0ad63116a8ac8ff046bcf6885490f2c911d8f55868039631dd2ca64e93a3c1f46c212bafe989b5dae43f9fd1ef9c04ce341da6312e7403e4ee3ac1edfef8e7e709f3b3eaf2e4b4855a6f38a694226fe1ccd71cb3255242b603eb431abcbb067bfaf1674af76f2ca8253d0bddc48ed46e650dd5f68593e3e940821da95efdae23db030d28c5750d14175820d9728aee049e1d978d4624d004f0cc504d707873da85d628c969bf42ca87301a480260e8e618faa86cd2bad1dbcaa582612ab99b37eaecbd036c9a64550d21c1c25b7c5d59d8885eea8d696ad58029f1772216985def70b69a37ff477e4c0f9c2be2d3f573d890e5d11f652d45c428b712a0a425db128632b426f734b39566fdfe370a78e81e27ebfec61234fb3dd41c5001662ee671f50e3c7a2268194f781a6523894ec407baf694783d05c5693cecd40674c378","redirect_uri":"https://document.amocrm.md/core/manager/install.php"}} {"uid":"84010b1"}
[2026-10-23 11:50:01] docflow.ERROR: cURL error on token refresh: HTTP/2 401  {"trace":"#0 /home/ytvmclwh/document.amocrm.md/src/Models/Docs.php(1322): Genezis\\Docflow\\Models\\Docs->performTokenRefresh('evodent.amocrm....', 'def50200f2c60c9...', '0d64dffb-e54b-4...')\n#1 /home/ytvmclwh/document.amocrm.md/src/Models/Docs.php(621): Genezis\\Docflow\\Models\\Docs->getOAuthTokenAmo(3, 33101758)\n#2 /home/ytvmclwh/document.amocrm.md/src/Models/Docs.php(117): Genezis\\Docflow\\Models\\Docs->getClientAuth('33101758', 3)\n#3 /home/ytvmclwh/document.amocrm.md/src/Controllers/Docs.php(94): Genezis\\Docflow\\Models\\Docs->createDoc(Array)\n#4 [internal function]: Genezis\\Docflow\\Controllers\\Docs->create(Object(Slim\\Http\\Request), Object(Slim\\Http\\Response), Array)\n#5 /home/ytvmclwh/document.amocrm.md/vendor/slim/slim/Slim/Handlers/Strategies/RequestResponse.php(41): call_user_func(Array, Object(Slim\\Http\\Request), Object(Slim\\Http\\Response), Array)\n#6 /home/ytvmclwh/document.amocrm.md/vendor/slim/slim/Slim/Route.php(335): Slim\\Handlers\\Strategies\\RequestResponse->__invoke(Array, Object(Slim\\Http\\Request), Object(Slim\\Http\\Response), Array)\n#7 /home/ytvmclwh/document.amocrm.md/vendor/slim/slim/Slim/MiddlewareAwareTrait.php(117): Slim\\Route->__invoke(Object(Slim\\Http\\Request), Object(Slim\\Http\\Response))\n#8 /home/ytvmclwh/document.amocrm.md/vendor/slim/slim/Slim/Route.php(313): Slim\\Route->callMiddlewareStack(Object(Slim\\Http\\Request), Object(Slim\\Http\\Response))\n#9 /home/ytvmclwh/document.amocrm.md/vendor/slim/slim/Slim/App.php(495): Slim\\Route->run(Object(Slim\\Http\\Request), Object(Slim\\Http\\Response))\n#10 /home/ytvmclwh/document.amocrm.md/vendor/genezis/amocrm-cors/src/AmoCors.php(54): Slim\\App->__invoke(Object(Slim\\Http\\Request), Object(Slim\\Http\\Response))\n#11 [internal function]: Genezis\\Middlewares\\AmoCors->__invoke(Object(Slim\\Http\\Request), Object(Slim\\Http\\Response), Object(Slim\\App))\n#12 /home/ytvmclwh/document.amocrm.md/vendor/slim/slim/Slim/DeferredCallable.php(43): call_user_func_array(Object(Genezis\\Middlewares\\AmoCors), Array)\n#13 [internal function]: Slim\\DeferredCallable->__invoke(Object(Slim\\Http\\Request), Object(Slim\\Http\\Response), Object(Slim\\App))\n#14 /home/ytvmclwh/document.amocrm.md/vendor/slim/slim/Slim/MiddlewareAwareTrait.php(70): call_user_func(Object(Slim\\DeferredCallable), Object(Slim\\Http\\Request), Object(Slim\\Http\\Response), Object(Slim\\App))\n#15 /home/ytvmclwh/document.amocrm.md/vendor/slim/slim/Slim/MiddlewareAwareTrait.php(117): Slim\\App->Slim\\{closure}(Object(Slim\\Http\\Request), Object(Slim\\Http\\Response))\n#16 /home/ytvmclwh/document.amocrm.md/vendor/slim/slim/Slim/App.php(388): Slim\\App->callMiddlewareStack(Object(Slim\\Http\\Request), Object(Slim\\Http\\Response))\n#17 /home/ytvmclwh/document.amocrm.md/vendor/slim/slim/Slim/App.php(296): Slim\\App->process(Object(Slim\\Http\\Request), Object(Slim\\Http\\Response))\n#18 /home/ytvmclwh/document.amocrm.md/public/index.php(37): Slim\\App->run()\n#19 {main}"} {"uid":"84010b1"}
[2026-10-23 11:51:35] docflow.INFO: Apel createDoc {"data":{"amoAccountId":"33101758","amoUserId":null,"amoEntityId":"49561869","amoEntityType":"2","templateId":"11640","corporateEntityId":"1981","settlementAccountId":"","is_signed":null,"gdi":null,"number":null,"currentAmoUserId":null,"lang":"ru"}} {"uid":"5047550"}
[2026-10-23 11:51:35] docflow.INFO: Token validation failed for account 33101758. Refreshing... {"http_code":null,"error_message":"HTTP/2 401 "} {"uid":"5047550"}
[2026-10-23 11:51:35] docflow.INFO: Attempting token refresh with payload: {"client_id":"0d64dffb-e54b-448f-9fbf-baf2251a11db","client_secret":"AXqHrT1J35SilTTtI3yyaHdQKiS5bonhySaPYkLmo7mR6ZZ9zDP24dUjG189VG9G","grant_type":"refresh_token","refresh_token":"def50200f2c60c985a2a294009c3951513c9fb4d03888257fd87a6c77e5ff74d10eb5b77ea3ca4b67e554779e62e5d5ba659a4f16a36ff4224530643a2e8136b867203d707c017ab8513c040ddac3beb302a97dd8f38e0d781fe8573b5753a733f33a5aeea7e475cdee38a29be7c5164b56c9b5256bedcbdb3f27fa1fa9f8599c0767978b4e68809ee69e8dfa1792e5b233f22957097ea0ad63116a8ac8ff046bcf6885490f2c911d8f55868039631dd2ca64e93a3c1f46c212bafe989b5dae43f9fd1ef9c04ce341da6312e7403e4ee3ac1edfef8e7e709f3b3eaf2e4b4855a6f38a694226fe1ccd71cb3255242b603eb431abcbb067bfaf1674af76f2ca8253d0bddc48ed46e650dd5f68593e3e940821da95efdae23db030d28c5750d14175820d9728aee049e1d978d4624d004f0cc504d707873da85d628c969bf42ca87301a480260e8e618faa86cd2bad1dbcaa582612ab99b37eaecbd036c9a64550d21c1c25b7c5d59d8885eea8d696ad58029f1772216985def70b69a37ff477e4c0f9c2be2d3f573d890e5d11f652d45c428b712a0a425db128632b426f734b39566fdfe370a78e81e27ebfec61234fb3dd41c5001662ee671f50e3c7a2268194f781a6523894ec407baf694783d05c5693cecd40674c378","redirect_uri":"https://document.amocrm.md/core/manager/install.php"} {"uid":"5047550"}
[2026-10-23 11:51:36] docflow.ERROR: Failed to refresh OAuth token (cURL error) {"http_code":null,"error_message":"HTTP/2 401 ","response_body":"[object] (stdClass: {\"hint\":\"Token has expired\",\"title\":\"Некорректный запрос\",\"type\":\"https://developers.amocrm.ru/v3/errors/OAuthProblemJson\",\"status\":401,\"detail\":\"В запросе отсутствует ряд параметров или параметры невалидны\"})","request_body_sent":{"client_id":"0d64dffb-e54b-448f-9fbf-baf2251a11db","client_secret":"AXqHrT1J35SilTTtI3yyaHdQKiS5bonhySaPYkLmo7mR6ZZ9zDP24dUjG189VG9G","grant_type":"refresh_token","refresh_token":"def50200f2c60c985a2a294009c3951513c9fb4d03888257fd87a6c77e5ff74d10eb5b77ea3ca4b67e554779e62e5d5ba659a4f16a36ff4224530643a2e8136b867203d707c017ab8513c040ddac3beb302a97dd8f38e0d781fe8573b5753a733f33a5aeea7e475cdee38a29be7c5164b56c9b5256bedcbdb3f27fa1fa9f8599c0767978b4e68809ee69e8dfa1792e5b233f22957097ea0ad63116a8ac8ff046bcf6885490f2c911d8f55868039631dd2ca64e93a3c1f46c212bafe989b5dae43f9fd1ef9c04ce341da6312e7403e4ee3ac1edfef8e7e709f3b3eaf2e4b4855a6f38a694226fe1ccd71cb3255242b603eb431abcbb067bfaf1674af76f2ca8253d0bddc48ed46e650dd5f68593e3e940821da95efdae23db030d28c5750d14175820d9728aee049e1d978d4624d004f0cc504d707873da85d628c969bf42ca87301a480260e8e618faa86cd2bad1dbcaa582612ab99b37eaecbd036c9a64550d21c1c25b7c5d59d8885eea8d696ad58029f1772216985def70b69a37ff477e4c0f9c2be2d3f573d890e5d11f652d45c428b712a0a425db128632b426f734b39566fdfe370a78e81e27ebfec61234fb3dd41c5001662ee671f50e3c7a2268194f781a6523894ec407baf694783d05c5693cecd40674c378","redirect_uri":"https://document.amocrm.md/core/manager/install.php"}} {"uid":"5047550"}
[2026-10-23 11:51:36] docflow.ERROR: cURL error on token refresh: HTTP/2 401  {"trace":"#0 /home/ytvmclwh/document.amocrm.md/src/Models/Docs.php(1322): Genezis\\Docflow\\Models\\Docs->performTokenRefresh('evodent.amocrm....', 'def50200f2c60c9...', '0d64dffb-e54b-4...')\n#1 /home/ytvmclwh/document.amocrm.md/src/Models/Docs.php(621): Genezis\\Docflow\\Models\\Docs->getOAuthTokenAmo(3, 33101758)\n#2 /home/ytvmclwh/document.amocrm.md/src/Models/Docs.php(117): Genezis\\Docflow\\Models\\Docs->getClientAuth('33101758', 3)\n#3 /home/ytvmclwh/document.amocrm.md/src/Controllers/Docs.php(94): Genezis\\Docflow\\Models\\Docs->createDoc(Array)\n#4 [internal function]: Genezis\\Docflow\\Controllers\\Docs->create(Object(Slim\\Http\\Request), Object(Slim\\Http\\Response), Array)\n#5 /home/ytvmclwh/document.amocrm.md/vendor/slim/slim/Slim/Handlers/Strategies/RequestResponse.php(41): call_user_func(Array, Object(Slim\\Http\\Request), Object(Slim\\Http\\Response), Array)\n#6 /home/ytvmclwh/document.amocrm.md/vendor/slim/slim/Slim/Route.php(335): Slim\\Handlers\\Strategies\\RequestResponse->__invoke(Array, Object(Slim\\Http\\Request), Object(Slim\\Http\\Response), Array)\n#7 /home/ytvmclwh/document.amocrm.md/vendor/slim/slim/Slim/MiddlewareAwareTrait.php(117): Slim\\Route->__invoke(Object(Slim\\Http\\Request), Object(Slim\\Http\\Response))\n#8 /home/ytvmclwh/document.amocrm.md/vendor/slim/slim/Slim/Route.php(313): Slim\\Route->callMiddlewareStack(Object(Slim\\Http\\Request), Object(Slim\\Http\\Response))\n#9 /home/ytvmclwh/document.amocrm.md/vendor/slim/slim/Slim/App.php(495): Slim\\Route->run(Object(Slim\\Http\\Request), Object(Slim\\Http\\Response))\n#10 /home/ytvmclwh/document.amocrm.md/vendor/genezis/amocrm-cors/src/AmoCors.php(54): Slim\\App->__invoke(Object(Slim\\Http\\Request), Object(Slim\\Http\\Response))\n#11 [internal function]: Genezis\\Middlewares\\AmoCors->__invoke(Object(Slim\\Http\\Request), Object(Slim\\Http\\Response), Object(Slim\\App))\n#12 /home/ytvmclwh/document.amocrm.md/vendor/slim/slim/Slim/DeferredCallable.php(43): call_user_func_array(Object(Genezis\\Middlewares\\AmoCors), Array)\n#13 [internal function]: Slim\\DeferredCallable->__invoke(Object(Slim\\Http\\Request), Object(Slim\\Http\\Response), Object(Slim\\App))\n#14 /home/ytvmclwh/document.amocrm.md/vendor/slim/slim/Slim/MiddlewareAwareTrait.php(70): call_user_func(Object(Slim\\DeferredCallable), Object(Slim\\Http\\Request), Object(Slim\\Http\\Response), Object(Slim\\App))\n#15 /home/ytvmclwh/document.amocrm.md/vendor/slim/slim/Slim/MiddlewareAwareTrait.php(117): Slim\\App->Slim\\{closure}(Object(Slim\\Http\\Request), Object(Slim\\Http\\Response))\n#16 /home/ytvmclwh/document.amocrm.md/vendor/slim/slim/Slim/App.php(388): Slim\\App->callMiddlewareStack(Object(Slim\\Http\\Request), Object(Slim\\Http\\Response))\n#17 /home/ytvmclwh/document.amocrm.md/vendor/slim/slim/Slim/App.php(296): Slim\\App->process(Object(Slim\\Http\\Request), Object(Slim\\Http\\Response))\n#18 /home/ytvmclwh/document.amocrm.md/public/index.php(37): Slim\\App->run()\n#19 {main}"} {"uid":"5047550"}
[2026-10-23 12:10:05] docflow.INFO: Apel createDoc {"data":{"amoAccountId":"33101758","amoUserId":null,"amoEntityId":"50794255","amoEntityType":"2","templateId":"11638","corporateEntityId":"1981","settlementAccountId":"","is_signed":null,"gdi":null,"number":null,"currentAmoUserId":null,"lang":"ru"}} {"uid":"f1d83ee"}
[2026-10-23 12:10:06] docflow.INFO: Token validation failed for account 33101758. Refreshing... {"http_code":null,"error_message":"HTTP/2 401 "} {"uid":"f1d83ee"}
[2026-10-23 12:10:06] docflow.INFO: Attempting token refresh with payload: {"client_id":"0d64dffb-e54b-448f-9fbf-baf2251a11db","client_secret":"AXqHrT1J35SilTTtI3yyaHdQKiS5bonhySaPYkLmo7mR6ZZ9zDP24dUjG189VG9G","grant_type":"refresh_token","refresh_token":"def50200f2c60c985a2a294009c3951513c9fb4d03888257fd87a6c77e5ff74d10eb5b77ea3ca4b67e554779e62e5d5ba659a4f16a36ff4224530643a2e8136b867203d707c017ab8513c040ddac3beb302a97dd8f38e0d781fe8573b5753a733f33a5aeea7e475cdee38a29be7c5164b56c9b5256bedcbdb3f27fa1fa9f8599c0767978b4e68809ee69e8dfa1792e5b233f22957097ea0ad63116a8ac8ff046bcf6885490f2c911d8f55868039631dd2ca64e93a3c1f46c212bafe989b5dae43f9fd1ef9c04ce341da6312e7403e4ee3ac1edfef8e7e709f3b3eaf2e4b4855a6f38a694226fe1ccd71cb3255242b603eb431abcbb067bfaf1674af76f2ca8253d0bddc48ed46e650dd5f68593e3e940821da95efdae23db030d28c5750d14175820d9728aee049e1d978d4624d004f0cc504d707873da85d628c969bf42ca87301a480260e8e618faa86cd2bad1dbcaa582612ab99b37eaecbd036c9a64550d21c1c25b7c5d59d8885eea8d696ad58029f1772216985def70b69a37ff477e4c0f9c2be2d3f573d890e5d11f652d45c428b712a0a425db128632b426f734b39566fdfe370a78e81e27ebfec61234fb3dd41c5001662ee671f50e3c7a2268194f781a6523894ec407baf694783d05c5693cecd40674c378","redirect_uri":"https://document.amocrm.md/core/manager/install.php"} {"uid":"f1d83ee"}
[2026-10-23 12:10:06] docflow.ERROR: Failed to refresh OAuth token (cURL error) {"http_code":null,"error_message":"HTTP/2 401 ","response_body":"[object] (stdClass: {\"hint\":\"Token has expired\",\"title\":\"Некорректный запрос\",\"type\":\"https://developers.amocrm.ru/v3/errors/OAuthProblemJson\",\"status\":401,\"detail\":\"В запросе отсутствует ряд параметров или параметры невалидны\"})","request_body_sent":{"client_id":"0d64dffb-e54b-448f-9fbf-baf2251a11db","client_secret":"AXqHrT1J35SilTTtI3yyaHdQKiS5bonhySaPYkLmo7mR6ZZ9zDP24dUjG189VG9G","grant_type":"refresh_token","refresh_token":"def50200f2c60c985a2a294009c3951513c9fb4d03888257fd87a6c77e5ff74d10eb5b77ea3ca4b67e554779e62e5d5ba659a4f16a36ff4224530643a2e8136b867203d707c017ab8513c040ddac3beb302a97dd8f38e0d781fe8573b5753a733f33a5aeea7e475cdee38a29be7c5164b56c9b5256bedcbdb3f27fa1fa9f8599c0767978b4e68809ee69e8dfa1792e5b233f22957097ea0ad63116a8ac8ff046bcf6885490f2c911d8f55868039631dd2ca64e93a3c1f46c212bafe989b5dae43f9fd1ef9c04ce341da6312e7403e4ee3ac1edfef8e7e709f3b3eaf2e4b4855a6f38a694226fe1ccd71cb3255242b603eb431abcbb067bfaf1674af76f2ca8253d0bddc48ed46e650dd5f68593e3e940821da95efdae23db030d28c5750d14175820d9728aee049e1d978d4624d004f0cc504d707873da85d628c969bf42ca87301a480260e8e618faa86cd2bad1dbcaa582612ab99b37eaecbd036c9a64550d21c1c25b7c5d59d8885eea8d696ad58029f1772216985def70b69a37ff477e4c0f9c2be2d3f573d890e5d11f652d45c428b712a0a425db128632b426f734b39566fdfe370a78e81e27ebfec61234fb3dd41c5001662ee671f50e3c7a2268194f781a6523894ec407baf694783d05c5693cecd40674c378","redirect_uri":"https://document.amocrm.md/core/manager/install.php"}} {"uid":"f1d83ee"}
[2026-10-23 12:10:06] docflow.ERROR: cURL error on token refresh: HTTP/2 401  {"trace":"#0 /home/ytvmclwh/document.amocrm.md/src/Models/Docs.php(1322): Genezis\\Docflow\\Models\\Docs->performTokenRefresh('evodent.amocrm....', 'def50200f2c60c9...', '0d64dffb-e54b-4...')\n#1 /home/ytvmclwh/document.amocrm.md/src/Models/Docs.php(621): Genezis\\Docflow\\Models\\Docs->getOAuthTokenAmo(3, 33101758)\n#2 /home/ytvmclwh/document.amocrm.md/src/Models/Docs.php(117): Genezis\\Docflow\\Models\\Docs->getClientAuth('33101758', 3)\n#3 /home/ytvmclwh/document.amocrm.md/src/Controllers/Docs.php(94): Genezis\\Docflow\\Models\\Docs->createDoc(Array)\n#4 [internal function]: Genezis\\Docflow\\Controllers\\Docs->create(Object(Slim\\Http\\Request), Object(Slim\\Http\\Response), Array)\n#5 /home/ytvmclwh/document.amocrm.md/vendor/slim/slim/Slim/Handlers/Strategies/RequestResponse.php(41): call_user_func(Array, Object(Slim\\Http\\Request), Object(Slim\\Http\\Response), Array)\n#6 /home/ytvmclwh/document.amocrm.md/vendor/slim/slim/Slim/Route.php(335): Slim\\Handlers\\Strategies\\RequestResponse->__invoke(Array, Object(Slim\\Http\\Request), Object(Slim\\Http\\Response), Array)\n#7 /home/ytvmclwh/document.amocrm.md/vendor/slim/slim/Slim/MiddlewareAwareTrait.php(117): Slim\\Route->__invoke(Object(Slim\\Http\\Request), Object(Slim\\Http\\Response))\n#8 /home/ytvmclwh/document.amocrm.md/vendor/slim/slim/Slim/Route.php(313): Slim\\Route->callMiddlewareStack(Object(Slim\\Http\\Request), Object(Slim\\Http\\Response))\n#9 /home/ytvmclwh/document.amocrm.md/vendor/slim/slim/Slim/App.php(495): Slim\\Route->run(Object(Slim\\Http\\Request), Object(Slim\\Http\\Response))\n#10 /home/ytvmclwh/document.amocrm.md/vendor/genezis/amocrm-cors/src/AmoCors.php(54): Slim\\App->__invoke(Object(Slim\\Http\\Request), Object(Slim\\Http\\Response))\n#11 [internal function]: Genezis\\Middlewares\\AmoCors->__invoke(Object(Slim\\Http\\Request), Object(Slim\\Http\\Response), Object(Slim\\App))\n#12 /home/ytvmclwh/document.amocrm.md/vendor/slim/slim/Slim/DeferredCallable.php(43): call_user_func_array(Object(Genezis\\Middlewares\\AmoCors), Array)\n#13 [internal function]: Slim\\DeferredCallable->__invoke(Object(Slim\\Http\\Request), Object(Slim\\Http\\Response), Object(Slim\\App))\n#14 /home/ytvmclwh/document.amocrm.md/vendor/slim/slim/Slim/MiddlewareAwareTrait.php(70): call_user_func(Object(Slim\\DeferredCallable), Object(Slim\\Http\\Request), Object(Slim\\Http\\Response), Object(Slim\\App))\n#15 /home/ytvmclwh/document.amocrm.md/vendor/slim/slim/Slim/MiddlewareAwareTrait.php(117): Slim\\App->Slim\\{closure}(Object(Slim\\Http\\Request), Object(Slim\\Http\\Response))\n#16 /home/ytvmclwh/document.amocrm.md/vendor/slim/slim/Slim/App.php(388): Slim\\App->callMiddlewareStack(Object(Slim\\Http\\Request), Object(Slim\\Http\\Response))\n#17 /home/ytvmclwh/document.amocrm.md/vendor/slim/slim/Slim/App.php(296): Slim\\App->process(Object(Slim\\Http\\Request), Object(Slim\\Http\\Response))\n#18 /home/ytvmclwh/document.amocrm.md/public/index.php(37): Slim\\App->run()\n#19 {main}"} {"uid":"f1d83ee"}
[2026-10-23 12:10:21] docflow.INFO: Apel createDoc {"data":{"amoAccountId":"33101758","amoUserId":null,"amoEntityId":"50794255","amoEntityType":"2","templateId":"11641","corporateEntityId":"1981","settlementAccountId":"","is_signed":null,"gdi":null,"number":null,"currentAmoUserId":null,"lang":"ru"}} {"uid":"b137cec"}
[2026-10-23 12:10:22] docflow.INFO: Token validation failed for account 33101758. Refreshing... {"http_code":null,"error_message":"HTTP/2 401 "} {"uid":"b137cec"}
[2026-10-23 12:10:22] docflow.INFO: Attempting token refresh with payload: {"client_id":"0d64dffb-e54b-448f-9fbf-baf2251a11db","client_secret":"AXqHrT1J35SilTTtI3yyaHdQKiS5bonhySaPYkLmo7mR6ZZ9zDP24dUjG189VG9G","grant_type":"refresh_token","refresh_token":"def50200f2c60c985a2a294009c3951513c9fb4d03888257fd87a6c77e5ff74d10eb5b77ea3ca4b67e554779e62e5d5ba659a4f16a36ff4224530643a2e8136b867203d707c017ab8513c040ddac3beb302a97dd8f38e0d781fe8573b5753a733f33a5aeea7e475cdee38a29be7c5164b56c9b5256bedcbdb3f27fa1fa9f8599c0767978b4e68809ee69e8dfa1792e5b233f22957097ea0ad63116a8ac8ff046bcf6885490f2c911d8f55868039631dd2ca64e93a3c1f46c212bafe989b5dae43f9fd1ef9c04ce341da6312e7403e4ee3ac1edfef8e7e709f3b3eaf2e4b4855a6f38a694226fe1ccd71cb3255242b603eb431abcbb067bfaf1674af76f2ca8253d0bddc48ed46e650dd5f68593e3e940821da95efdae23db030d28c5750d14175820d9728aee049e1d978d4624d004f0cc504d707873da85d628c969bf42ca87301a480260e8e618faa86cd2bad1dbcaa582612ab99b37eaecbd036c9a64550d21c1c25b7c5d59d8885eea8d696ad58029f1772216985def70b69a37ff477e4c0f9c2be2d3f573d890e5d11f652d45c428b712a0a425db128632b426f734b39566fdfe370a78e81e27ebfec61234fb3dd41c5001662ee671f50e3c7a2268194f781a6523894ec407baf694783d05c5693cecd40674c378","redirect_uri":"https://document.amocrm.md/core/manager/install.php"} {"uid":"b137cec"}
[2026-10-23 12:10:22] docflow.ERROR: Failed to refresh OAuth token (cURL error) {"http_code":null,"error_message":"HTTP/2 401 ","response_body":"[object] (stdClass: {\"hint\":\"Token has expired\",\"title\":\"Некорректный запрос\",\"type\":\"https://developers.amocrm.ru/v3/errors/OAuthProblemJson\",\"status\":401,\"detail\":\"В запросе отсутствует ряд параметров или параметры невалидны\"})","request_body_sent":{"client_id":"0d64dffb-e54b-448f-9fbf-baf2251a11db","client_secret":"AXqHrT1J35SilTTtI3yyaHdQKiS5bonhySaPYkLmo7mR6ZZ9zDP24dUjG189VG9G","grant_type":"refresh_token","refresh_token":"def50200f2c60c985a2a294009c3951513c9fb4d03888257fd87a6c77e5ff74d10eb5b77ea3ca4b67e554779e62e5d5ba659a4f16a36ff4224530643a2e8136b867203d707c017ab8513c040ddac3beb302a97dd8f38e0d781fe8573b5753a733f33a5aeea7e475cdee38a29be7c5164b56c9b5256bedcbdb3f27fa1fa9f8599c0767978b4e68809ee69e8dfa1792e5b233f22957097ea0ad63116a8ac8ff046bcf6885490f2c911d8f55868039631dd2ca64e93a3c1f46c212bafe989b5dae43f9fd1ef9c04ce341da6312e7403e4ee3ac1edfef8e7e709f3b3eaf2e4b4855a6f38a694226fe1ccd71cb3255242b603eb431abcbb067bfaf1674af76f2ca8253d0bddc48ed46e650dd5f68593e3e940821da95efdae23db030d28c5750d14175820d9728aee049e1d978d4624d004f0cc504d707873da85d628c969bf42ca87301a480260e8e618faa86cd2bad1dbcaa582612ab99b37eaecbd036c9a64550d21c1c25b7c5d59d8885eea8d696ad58029f1772216985def70b69a37ff477e4c0f9c2be2d3f573d890e5d11f652d45c428b712a0a425db128632b426f734b39566fdfe370a78e81e27ebfec61234fb3dd41c5001662ee671f50e3c7a2268194f781a6523894ec407baf694783d05c5693cecd40674c378","redirect_uri":"https://document.amocrm.md/core/manager/install.php"}} {"uid":"b137cec"}
[2026-10-23 12:10:22] docflow.ERROR: cURL error on token refresh: HTTP/2 401  {"trace":"#0 /home/ytvmclwh/document.amocrm.md/src/Models/Docs.php(1322): Genezis\\Docflow\\Models\\Docs->performTokenRefresh('evodent.amocrm....', 'def50200f2c60c9...', '0d64dffb-e54b-4...')\n#1 /home/ytvmclwh/document.amocrm.md/src/Models/Docs.php(621): Genezis\\Docflow\\Models\\Docs->getOAuthTokenAmo(3, 33101758)\n#2 /home/ytvmclwh/document.amocrm.md/src/Models/Docs.php(117): Genezis\\Docflow\\Models\\Docs->getClientAuth('33101758', 3)\n#3 /home/ytvmclwh/document.amocrm.md/src/Controllers/Docs.php(94): Genezis\\Docflow\\Models\\Docs->createDoc(Array)\n#4 [internal function]: Genezis\\Docflow\\Controllers\\Docs->create(Object(Slim\\Http\\Request), Object(Slim\\Http\\Response), Array)\n#5 /home/ytvmclwh/document.amocrm.md/vendor/slim/slim/Slim/Handlers/Strategies/RequestResponse.php(41): call_user_func(Array, Object(Slim\\Http\\Request), Object(Slim\\Http\\Response), Array)\n#6 /home/ytvmclwh/document.amocrm.md/vendor/slim/slim/Slim/Route.php(335): Slim\\Handlers\\Strategies\\RequestResponse->__invoke(Array, Object(Slim\\Http\\Request), Object(Slim\\Http\\Response), Array)\n#7 /home/ytvmclwh/document.amocrm.md/vendor/slim/slim/Slim/MiddlewareAwareTrait.php(117): Slim\\Route->__invoke(Object(Slim\\Http\\Request), Object(Slim\\Http\\Response))\n#8 /home/ytvmclwh/document.amocrm.md/vendor/slim/slim/Slim/Route.php(313): Slim\\Route->callMiddlewareStack(Object(Slim\\Http\\Request), Object(Slim\\Http\\Response))\n#9 /home/ytvmclwh/document.amocrm.md/vendor/slim/slim/Slim/App.php(495): Slim\\Route->run(Object(Slim\\Http\\Request), Object(Slim\\Http\\Response))\n#10 /home/ytvmclwh/document.amocrm.md/vendor/genezis/amocrm-cors/src/AmoCors.php(54): Slim\\App->__invoke(Object(Slim\\Http\\Request), Object(Slim\\Http\\Response))\n#11 [internal function]: Genezis\\Middlewares\\AmoCors->__invoke(Object(Slim\\Http\\Request), Object(Slim\\Http\\Response), Object(Slim\\App))\n#12 /home/ytvmclwh/document.amocrm.md/vendor/slim/slim/Slim/DeferredCallable.php(43): call_user_func_array(Object(Genezis\\Middlewares\\AmoCors), Array)\n#13 [internal function]: Slim\\DeferredCallable->__invoke(Object(Slim\\Http\\Request), Object(Slim\\Http\\Response), Object(Slim\\App))\n#14 /home/ytvmclwh/document.amocrm.md/vendor/slim/slim/Slim/MiddlewareAwareTrait.php(70): call_user_func(Object(Slim\\DeferredCallable), Object(Slim\\Http\\Request), Object(Slim\\Http\\Response), Object(Slim\\App))\n#15 /home/ytvmclwh/document.amocrm.md/vendor/slim/slim/Slim/MiddlewareAwareTrait.php(117): Slim\\App->Slim\\{closure}(Object(Slim\\Http\\Request), Object(Slim\\Http\\Response))\n#16 /home/ytvmclwh/document.amocrm.md/vendor/slim/slim/Slim/App.php(388): Slim\\App->callMiddlewareStack(Object(Slim\\Http\\Request), Object(Slim\\Http\\Response))\n#17 /home/ytvmclwh/document.amocrm.md/vendor/slim/slim/Slim/App.php(296): Slim\\App->process(Object(Slim\\Http\\Request), Object(Slim\\Http\\Response))\n#18 /home/ytvmclwh/document.amocrm.md/public/index.php(37): Slim\\App->run()\n#19 {main}"} {"uid":"b137cec"}
[2026-10-23 13:52:21] docflow.INFO: Apel createDoc {"data":{"amoAccountId":"22699852","amoUserId":null,"amoEntityId":"42909291","amoEntityType":"2","templateId":"11495","corporateEntityId":"","settlementAccountId":"","is_signed":null,"gdi":null,"number":null,"currentAmoUserId":null,"lang":"ru"}} {"uid":"77cf9a0"}
[2026-10-23 13:52:22] docflow.INFO: Token is valid for account 22699852. [] {"uid":"77cf9a0"}
[2026-10-23 13:52:22] docflow.DEBUG: getClientAuth returned {"auth":"[object] (stdClass: {\"domain\":\"emigrare.amocrm.ru\",\"access_token\":\"eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImp0aSI6IjdkNTUxOTM4ZjU2ZDc3NWEyZTk2YWNkZWYxMDBhZTVjMTU0ZDY4N2QxYTY3N2IxYTI3YWY2NGVkZjgwMzU3ZWY1NjM0MzVjNjRkNDM5NWZhIn0.eyJhdWQiOiIwZDY0ZGZmYi1lNTRiLTQ0OGYtOWZiZi1iYWYyMjUxYTExZGIiLCJqdGkiOiI3ZDU1MTkzOGY1NmQ3NzVhMmU5NmFjZGVmMTAwYWU1YzE1NGQ2ODdkMWE2NzdiMWEyN2FmNjRlZGY4MDM1N2VmNTYzNDM1YzY0ZDQzOTVmYSIsImlhdCI6MTc5Mjc0MzYxNSwibmJmIjoxNzkyNzQzNjE1LCJleHAiOjE3OTI4MzAwMTUsInN1YiI6IjI5MzAzODAiLCJncmFudF90eXBlIjoiIiwiYWNjb3VudF9pZCI6MjI2OTk4NTIsImJhc2VfZG9tYWluIjoiYW1vY3JtLnJ1IiwidmVyc2lvbiI6Miwic2NvcGVzIjpbInB1c2hfbm90aWZpY2F0aW9ucyIsImNybSIsIm5vdGlmaWNhdGlvbnMiXSwiaGFzaF91dWlkIjoiZDkwN2YxYWQtMWU5My00MjNlLThmNDUtZDU5YTQwYTE4N2JiIiwiYXBpX2RvbWFpbiI6ImFwaS1iLmFtb2NybS5ydSJ9.VJwfNIsD_VjFyc-KJFe4wAavXR_qq6DceEzrkvgbjYneig12MqF6Lb8xTPGrej5Aw1OBziCdPaN09MNtY4NNmpaK_C8UX-xHYHq4o9mX-lWl7IgTJvaf6t0N1M3WYryYuGsYQeJlURnFagoQ8_szFb6JzsJTBLBEklqRCGkf3ZyRn_X9-4UbFt0jCT5EOIr4SVYB3fUu__k3Bwv_MCav1y2nEbKoFlK3G6JT-voVzVAn-_dOt0j0OSASvBPrIeMraRG6R3QUbSWZ52Al86I6Uv9tT7Swu9LeibZCs6EsuLQpxuVJNhdbdu7ah0QXHK5rmLIBc6584ZVlCEZKZ8EfNw\"})","file":"/home/ytvmclwh/document.amocrm.md/src/Models/Docs.php","line":121} {"uid":"77cf9a0"}
[2026-10-23 13:52:25] docflow.DEBUG: AmoDrive docflow context request {"url":"https://google.emale.uno/api/docflow/google-context","query":{"account_id":"22699852","entity_id":"42909291","entity_type":"leads"}} {"uid":"77cf9a0"}
[2026-10-23 13:52:25] 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=42909291&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/10/23 13:52:25</td>\r\n</tr>\r\n</table>\r\n<hr><center>tengine</center>\r\n</body>\r\n</html>\r\n"} {"uid":"77cf9a0"}
[2026-10-23 13:52:25] docflow.DEBUG: AmoDrive docflow context request {"url":"https://gd.glucose-dev.online/api/docflow/google-context","query":{"account_id":"22699852","entity_id":"42909291","entity_type":"leads"}} {"uid":"77cf9a0"}
[2026-10-23 13:52:25] 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":22699852,"entityId":"42909291","entityType":"leads","amodrive":{"installed":false,"widgetStatus":"uninstalled","amoAccountId":22699852,"accountHost":"emigrare.amocrm.ru","license":{"status":"active","configuredStatus":"active","expiresAt":"2027-08-20T10:16:56.291Z","isExpired":false,"isTrial":false,"isActive":true,"expiredByDate":false,"daysRemaining":301,"isLifetime":false},"licenseActive":false,"googleConnected":false,"googleEmail":null,"googleHasDriveScope":false,"googleHasDriveFileScope":false,"googleHasOwnershipScope":false,"readyForGeneratedFileMove":false,"readyForTransfer":false},"folder":{"id":"1VGGVw5DDCKXnLGwdP0mKq4S2hs7qDTlb","name":"42909291 - Lead #42909291","webViewLink":"https://drive.google.com/drive/folders/1VGGVw5DDCKXnLGwdP0mKq4S2hs7qDTlb"}}} {"uid":"77cf9a0"}
[2026-10-23 13:52:25] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://google.emale.uno/api/docflow/prepare-generated-doc","payload":{"account_id":"22699852","entity_id":"42909291","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"77cf9a0"}
[2026-10-23 13:52:25] 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/10/23 13:52:25</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":"42909291","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"77cf9a0"}
[2026-10-23 13:52:25] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://gd.glucose-dev.online/api/docflow/prepare-generated-doc","payload":{"account_id":"22699852","entity_id":"42909291","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"77cf9a0"}
[2026-10-23 13:52:25] 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\":22699852})","payload":{"account_id":"22699852","entity_id":"42909291","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"77cf9a0"}
[2026-10-23 13:52:25] docflow.DEBUG: GAS request {"url":"https://script.google.com/macros/s/AKfycbwrvOJD46zkuoTzdhpc1kulhV8jRfgQBFZfQ121nkIip_k8yKit4xrbWTOzaJ-C-Yed6w/exec","body":{"templateFileId":"139A_R9cAqcF0vtMAjkAKEvgO4ur6rSSzFI-AF87BYnQ","accountId":"22699852","folderId":"1Us2AfskxgdA729xVr0F2vjZU9y5PlYDe","key":"~VTsK5dcnHc2cSSsjM$LFSjLlgbmJXwrp3R2P5nd","data":"{\"fileName\":\"Contract (consulta\\u021bie) 457 20261023135225\",\"leadId\":\"42909291\",\"entities\":{\"\\u0441\\u0434\\u0435\\u043b\\u043a\\u0430\":{\"Suma \\u20ac\":\"0\",\"Categorie Serviciu\":\"Cet.MD\",\"Serviciu solicitat\":\"1520102\",\"Ancheta completat\\u0103\":\"DA\",\"Temperatura client\":\"Fierbinte\",\"Manager front office\":\"Cezara Cenusa\",\"ID\":\"42909291\",\"\\u0421\\u0434\\u0435\\u043b\\u043a\\u0430_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Cet. MD\",\"Lead_name\":\"Cet. MD\",\"\\u0411\\u044e\\u0434\\u0436\\u0435\\u0442\":\"0\",\"Budget\":\"0\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"Cezara Cenusa\",\"Responsible\":\"Cezara Cenusa\"},\"lead\":{\"Suma \\u20ac\":\"0\",\"Categorie Serviciu\":\"Cet.MD\",\"Serviciu solicitat\":\"1520102\",\"Ancheta completat\\u0103\":\"DA\",\"Temperatura client\":\"Fierbinte\",\"Manager front office\":\"Cezara Cenusa\",\"ID\":\"42909291\",\"\\u0421\\u0434\\u0435\\u043b\\u043a\\u0430_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Cet. MD\",\"Lead_name\":\"Cet. MD\",\"\\u0411\\u044e\\u0434\\u0436\\u0435\\u0442\":\"0\",\"Budget\":\"0\",\"\\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\":{\"WhatsappLid_WZ\":\"280637609132139\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"+37369742459\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Larisa Neamtu\",\"Contact_name\":\"Larisa Neamtu\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"Cezara Cenusa\",\"Responsible\":\"Cezara Cenusa\"},\"contact\":{\"WhatsappLid_WZ\":\"280637609132139\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"+37369742459\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Larisa Neamtu\",\"Contact_name\":\"Larisa Neamtu\",\"\\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\":[{\"WhatsappLid_WZ\":\"280637609132139\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"+37369742459\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Larisa Neamtu\",\"\\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\":\"23.10.2026\",\"\\u041d\\u043e\\u043c\\u0435\\u0440\":\"457\"},\"document\":{\"Date\":\"23.10.2026\",\"Number\":\"457\"}}}","edit":true}} {"uid":"77cf9a0"}
[2026-10-23 13:52:34] docflow.DEBUG: GAS raw response {"raw":"[object] (stdClass: {\"code\":1,\"url\":\"https://docs.google.com/open?id=1cWN7jCLExchVn-TF2AIaMSb-VB389TUUW6O9-cTgY6w\",\"file_id\":\"1cWN7jCLExchVn-TF2AIaMSb-VB389TUUW6O9-cTgY6w\",\"error\":\"\",\"vars\":\"\"})"} {"uid":"77cf9a0"}
[2026-10-23 13:52:34] docflow.WARNING: AmoDrive generated-file move is not ready. {"fileId":"1cWN7jCLExchVn-TF2AIaMSb-VB389TUUW6O9-cTgY6w","context":null} {"uid":"77cf9a0"}
[2026-10-23 13:52:53] docflow.INFO: Apel createDoc {"data":{"amoAccountId":"22699852","amoUserId":null,"amoEntityId":"42909291","amoEntityType":"2","templateId":"11500","corporateEntityId":"","settlementAccountId":"","is_signed":null,"gdi":null,"number":null,"currentAmoUserId":null,"lang":"ru"}} {"uid":"6700c3d"}
[2026-10-23 13:52:53] docflow.INFO: Token is valid for account 22699852. [] {"uid":"6700c3d"}
[2026-10-23 13:52:53] docflow.DEBUG: getClientAuth returned {"auth":"[object] (stdClass: {\"domain\":\"emigrare.amocrm.ru\",\"access_token\":\"eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImp0aSI6IjdkNTUxOTM4ZjU2ZDc3NWEyZTk2YWNkZWYxMDBhZTVjMTU0ZDY4N2QxYTY3N2IxYTI3YWY2NGVkZjgwMzU3ZWY1NjM0MzVjNjRkNDM5NWZhIn0.eyJhdWQiOiIwZDY0ZGZmYi1lNTRiLTQ0OGYtOWZiZi1iYWYyMjUxYTExZGIiLCJqdGkiOiI3ZDU1MTkzOGY1NmQ3NzVhMmU5NmFjZGVmMTAwYWU1YzE1NGQ2ODdkMWE2NzdiMWEyN2FmNjRlZGY4MDM1N2VmNTYzNDM1YzY0ZDQzOTVmYSIsImlhdCI6MTc5Mjc0MzYxNSwibmJmIjoxNzkyNzQzNjE1LCJleHAiOjE3OTI4MzAwMTUsInN1YiI6IjI5MzAzODAiLCJncmFudF90eXBlIjoiIiwiYWNjb3VudF9pZCI6MjI2OTk4NTIsImJhc2VfZG9tYWluIjoiYW1vY3JtLnJ1IiwidmVyc2lvbiI6Miwic2NvcGVzIjpbInB1c2hfbm90aWZpY2F0aW9ucyIsImNybSIsIm5vdGlmaWNhdGlvbnMiXSwiaGFzaF91dWlkIjoiZDkwN2YxYWQtMWU5My00MjNlLThmNDUtZDU5YTQwYTE4N2JiIiwiYXBpX2RvbWFpbiI6ImFwaS1iLmFtb2NybS5ydSJ9.VJwfNIsD_VjFyc-KJFe4wAavXR_qq6DceEzrkvgbjYneig12MqF6Lb8xTPGrej5Aw1OBziCdPaN09MNtY4NNmpaK_C8UX-xHYHq4o9mX-lWl7IgTJvaf6t0N1M3WYryYuGsYQeJlURnFagoQ8_szFb6JzsJTBLBEklqRCGkf3ZyRn_X9-4UbFt0jCT5EOIr4SVYB3fUu__k3Bwv_MCav1y2nEbKoFlK3G6JT-voVzVAn-_dOt0j0OSASvBPrIeMraRG6R3QUbSWZ52Al86I6Uv9tT7Swu9LeibZCs6EsuLQpxuVJNhdbdu7ah0QXHK5rmLIBc6584ZVlCEZKZ8EfNw\"})","file":"/home/ytvmclwh/document.amocrm.md/src/Models/Docs.php","line":121} {"uid":"6700c3d"}
[2026-10-23 13:52:56] docflow.DEBUG: AmoDrive docflow context request {"url":"https://google.emale.uno/api/docflow/google-context","query":{"account_id":"22699852","entity_id":"42909291","entity_type":"leads"}} {"uid":"6700c3d"}
[2026-10-23 13:52:56] 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=42909291&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/10/23 13:52:56</td>\r\n</tr>\r\n</table>\r\n<hr><center>tengine</center>\r\n</body>\r\n</html>\r\n"} {"uid":"6700c3d"}
[2026-10-23 13:52:56] docflow.DEBUG: AmoDrive docflow context request {"url":"https://gd.glucose-dev.online/api/docflow/google-context","query":{"account_id":"22699852","entity_id":"42909291","entity_type":"leads"}} {"uid":"6700c3d"}
[2026-10-23 13:52:56] 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":22699852,"entityId":"42909291","entityType":"leads","amodrive":{"installed":false,"widgetStatus":"uninstalled","amoAccountId":22699852,"accountHost":"emigrare.amocrm.ru","license":{"status":"active","configuredStatus":"active","expiresAt":"2027-08-20T10:16:56.291Z","isExpired":false,"isTrial":false,"isActive":true,"expiredByDate":false,"daysRemaining":301,"isLifetime":false},"licenseActive":false,"googleConnected":false,"googleEmail":null,"googleHasDriveScope":false,"googleHasDriveFileScope":false,"googleHasOwnershipScope":false,"readyForGeneratedFileMove":false,"readyForTransfer":false},"folder":{"id":"1VGGVw5DDCKXnLGwdP0mKq4S2hs7qDTlb","name":"42909291 - Lead #42909291","webViewLink":"https://drive.google.com/drive/folders/1VGGVw5DDCKXnLGwdP0mKq4S2hs7qDTlb"}}} {"uid":"6700c3d"}
[2026-10-23 13:52:56] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://google.emale.uno/api/docflow/prepare-generated-doc","payload":{"account_id":"22699852","entity_id":"42909291","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"6700c3d"}
[2026-10-23 13:52:56] 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/10/23 13:52:56</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":"42909291","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"6700c3d"}
[2026-10-23 13:52:56] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://gd.glucose-dev.online/api/docflow/prepare-generated-doc","payload":{"account_id":"22699852","entity_id":"42909291","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"6700c3d"}
[2026-10-23 13:52:56] 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\":22699852})","payload":{"account_id":"22699852","entity_id":"42909291","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"6700c3d"}
[2026-10-23 13:52:56] docflow.DEBUG: GAS request {"url":"https://script.google.com/macros/s/AKfycbwrvOJD46zkuoTzdhpc1kulhV8jRfgQBFZfQ121nkIip_k8yKit4xrbWTOzaJ-C-Yed6w/exec","body":{"templateFileId":"18-Wrinvrr35El29pFxxTVtyiAztMcc3cfD-_ziIujqw","accountId":"22699852","folderId":"1Us2AfskxgdA729xVr0F2vjZU9y5PlYDe","key":"~VTsK5dcnHc2cSSsjM$LFSjLlgbmJXwrp3R2P5nd","data":"{\"fileName\":\"SRL 732 20261023135256\",\"leadId\":\"42909291\",\"entities\":{\"\\u0441\\u0434\\u0435\\u043b\\u043a\\u0430\":{\"Suma \\u20ac\":\"0\",\"Categorie Serviciu\":\"Cet.MD\",\"Serviciu solicitat\":\"1520102\",\"Ancheta completat\\u0103\":\"DA\",\"Temperatura client\":\"Fierbinte\",\"Manager front office\":\"Cezara Cenusa\",\"ID\":\"42909291\",\"\\u0421\\u0434\\u0435\\u043b\\u043a\\u0430_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Cet. MD\",\"Lead_name\":\"Cet. MD\",\"\\u0411\\u044e\\u0434\\u0436\\u0435\\u0442\":\"0\",\"Budget\":\"0\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"Cezara Cenusa\",\"Responsible\":\"Cezara Cenusa\"},\"lead\":{\"Suma \\u20ac\":\"0\",\"Categorie Serviciu\":\"Cet.MD\",\"Serviciu solicitat\":\"1520102\",\"Ancheta completat\\u0103\":\"DA\",\"Temperatura client\":\"Fierbinte\",\"Manager front office\":\"Cezara Cenusa\",\"ID\":\"42909291\",\"\\u0421\\u0434\\u0435\\u043b\\u043a\\u0430_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Cet. MD\",\"Lead_name\":\"Cet. MD\",\"\\u0411\\u044e\\u0434\\u0436\\u0435\\u0442\":\"0\",\"Budget\":\"0\",\"\\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\":{\"WhatsappLid_WZ\":\"280637609132139\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"+37369742459\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Larisa Neamtu\",\"Contact_name\":\"Larisa Neamtu\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"Cezara Cenusa\",\"Responsible\":\"Cezara Cenusa\"},\"contact\":{\"WhatsappLid_WZ\":\"280637609132139\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"+37369742459\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Larisa Neamtu\",\"Contact_name\":\"Larisa Neamtu\",\"\\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\":[{\"WhatsappLid_WZ\":\"280637609132139\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"+37369742459\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Larisa Neamtu\",\"\\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\":\"23.10.2026\",\"\\u041d\\u043e\\u043c\\u0435\\u0440\":\"732\"},\"document\":{\"Date\":\"23.10.2026\",\"Number\":\"732\"}}}","edit":true}} {"uid":"6700c3d"}
[2026-10-23 13:53:03] docflow.DEBUG: GAS raw response {"raw":"[object] (stdClass: {\"code\":1,\"url\":\"https://docs.google.com/open?id=182nhLutlrnyxiN-KIw8pVDWYkrxpts2NkmtRqdYWt3w\",\"file_id\":\"182nhLutlrnyxiN-KIw8pVDWYkrxpts2NkmtRqdYWt3w\",\"error\":\"\",\"vars\":\"\"})"} {"uid":"6700c3d"}
[2026-10-23 13:53:03] docflow.WARNING: AmoDrive generated-file move is not ready. {"fileId":"182nhLutlrnyxiN-KIw8pVDWYkrxpts2NkmtRqdYWt3w","context":null} {"uid":"6700c3d"}
[2026-10-23 13:54:21] docflow.INFO: Apel createDoc {"data":{"amoAccountId":"22699852","amoUserId":null,"amoEntityId":"42909291","amoEntityType":"2","templateId":"11502","corporateEntityId":"","settlementAccountId":"","is_signed":null,"gdi":null,"number":null,"currentAmoUserId":null,"lang":"ru"}} {"uid":"bb1d671"}
[2026-10-23 13:54:22] docflow.INFO: Token is valid for account 22699852. [] {"uid":"bb1d671"}
[2026-10-23 13:54:22] docflow.DEBUG: getClientAuth returned {"auth":"[object] (stdClass: {\"domain\":\"emigrare.amocrm.ru\",\"access_token\":\"eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImp0aSI6IjdkNTUxOTM4ZjU2ZDc3NWEyZTk2YWNkZWYxMDBhZTVjMTU0ZDY4N2QxYTY3N2IxYTI3YWY2NGVkZjgwMzU3ZWY1NjM0MzVjNjRkNDM5NWZhIn0.eyJhdWQiOiIwZDY0ZGZmYi1lNTRiLTQ0OGYtOWZiZi1iYWYyMjUxYTExZGIiLCJqdGkiOiI3ZDU1MTkzOGY1NmQ3NzVhMmU5NmFjZGVmMTAwYWU1YzE1NGQ2ODdkMWE2NzdiMWEyN2FmNjRlZGY4MDM1N2VmNTYzNDM1YzY0ZDQzOTVmYSIsImlhdCI6MTc5Mjc0MzYxNSwibmJmIjoxNzkyNzQzNjE1LCJleHAiOjE3OTI4MzAwMTUsInN1YiI6IjI5MzAzODAiLCJncmFudF90eXBlIjoiIiwiYWNjb3VudF9pZCI6MjI2OTk4NTIsImJhc2VfZG9tYWluIjoiYW1vY3JtLnJ1IiwidmVyc2lvbiI6Miwic2NvcGVzIjpbInB1c2hfbm90aWZpY2F0aW9ucyIsImNybSIsIm5vdGlmaWNhdGlvbnMiXSwiaGFzaF91dWlkIjoiZDkwN2YxYWQtMWU5My00MjNlLThmNDUtZDU5YTQwYTE4N2JiIiwiYXBpX2RvbWFpbiI6ImFwaS1iLmFtb2NybS5ydSJ9.VJwfNIsD_VjFyc-KJFe4wAavXR_qq6DceEzrkvgbjYneig12MqF6Lb8xTPGrej5Aw1OBziCdPaN09MNtY4NNmpaK_C8UX-xHYHq4o9mX-lWl7IgTJvaf6t0N1M3WYryYuGsYQeJlURnFagoQ8_szFb6JzsJTBLBEklqRCGkf3ZyRn_X9-4UbFt0jCT5EOIr4SVYB3fUu__k3Bwv_MCav1y2nEbKoFlK3G6JT-voVzVAn-_dOt0j0OSASvBPrIeMraRG6R3QUbSWZ52Al86I6Uv9tT7Swu9LeibZCs6EsuLQpxuVJNhdbdu7ah0QXHK5rmLIBc6584ZVlCEZKZ8EfNw\"})","file":"/home/ytvmclwh/document.amocrm.md/src/Models/Docs.php","line":121} {"uid":"bb1d671"}
[2026-10-23 13:54:25] docflow.DEBUG: AmoDrive docflow context request {"url":"https://google.emale.uno/api/docflow/google-context","query":{"account_id":"22699852","entity_id":"42909291","entity_type":"leads"}} {"uid":"bb1d671"}
[2026-10-23 13:54:25] 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=42909291&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/10/23 13:54:25</td>\r\n</tr>\r\n</table>\r\n<hr><center>tengine</center>\r\n</body>\r\n</html>\r\n"} {"uid":"bb1d671"}
[2026-10-23 13:54:25] docflow.DEBUG: AmoDrive docflow context request {"url":"https://gd.glucose-dev.online/api/docflow/google-context","query":{"account_id":"22699852","entity_id":"42909291","entity_type":"leads"}} {"uid":"bb1d671"}
[2026-10-23 13:54:25] 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":22699852,"entityId":"42909291","entityType":"leads","amodrive":{"installed":false,"widgetStatus":"uninstalled","amoAccountId":22699852,"accountHost":"emigrare.amocrm.ru","license":{"status":"active","configuredStatus":"active","expiresAt":"2027-08-20T10:16:56.291Z","isExpired":false,"isTrial":false,"isActive":true,"expiredByDate":false,"daysRemaining":301,"isLifetime":false},"licenseActive":false,"googleConnected":false,"googleEmail":null,"googleHasDriveScope":false,"googleHasDriveFileScope":false,"googleHasOwnershipScope":false,"readyForGeneratedFileMove":false,"readyForTransfer":false},"folder":{"id":"1VGGVw5DDCKXnLGwdP0mKq4S2hs7qDTlb","name":"42909291 - Lead #42909291","webViewLink":"https://drive.google.com/drive/folders/1VGGVw5DDCKXnLGwdP0mKq4S2hs7qDTlb"}}} {"uid":"bb1d671"}
[2026-10-23 13:54:25] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://google.emale.uno/api/docflow/prepare-generated-doc","payload":{"account_id":"22699852","entity_id":"42909291","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"bb1d671"}
[2026-10-23 13:54:25] 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/10/23 13:54:25</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":"42909291","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"bb1d671"}
[2026-10-23 13:54:25] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://gd.glucose-dev.online/api/docflow/prepare-generated-doc","payload":{"account_id":"22699852","entity_id":"42909291","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"bb1d671"}
[2026-10-23 13:54:25] 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\":22699852})","payload":{"account_id":"22699852","entity_id":"42909291","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"bb1d671"}
[2026-10-23 13:54:25] docflow.DEBUG: GAS request {"url":"https://script.google.com/macros/s/AKfycbwrvOJD46zkuoTzdhpc1kulhV8jRfgQBFZfQ121nkIip_k8yKit4xrbWTOzaJ-C-Yed6w/exec","body":{"templateFileId":"1cmUcOeHAQ_tG9mkDp8xVcdKAxcfnrvlXbbsKpJ-Mq7k","accountId":"22699852","folderId":"1Us2AfskxgdA729xVr0F2vjZU9y5PlYDe","key":"~VTsK5dcnHc2cSSsjM$LFSjLlgbmJXwrp3R2P5nd","data":"{\"fileName\":\"\\u0421\\u043e\\u0433\\u043b\\u0430\\u0441\\u0438\\u0435 (\\u043a\\u043e\\u043d\\u0441\\u0443\\u043b\\u044c\\u0442\\u0430\\u0446\\u0438\\u044f) 123 20261023135425\",\"leadId\":\"42909291\",\"entities\":{\"\\u0441\\u0434\\u0435\\u043b\\u043a\\u0430\":{\"Suma \\u20ac\":\"0\",\"Categorie Serviciu\":\"Cet.MD\",\"Serviciu solicitat\":\"1520102\",\"Ancheta completat\\u0103\":\"DA\",\"Temperatura client\":\"Fierbinte\",\"Manager front office\":\"Cezara Cenusa\",\"ID\":\"42909291\",\"\\u0421\\u0434\\u0435\\u043b\\u043a\\u0430_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Cet. MD\",\"Lead_name\":\"Cet. MD\",\"\\u0411\\u044e\\u0434\\u0436\\u0435\\u0442\":\"0\",\"Budget\":\"0\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"Cezara Cenusa\",\"Responsible\":\"Cezara Cenusa\"},\"lead\":{\"Suma \\u20ac\":\"0\",\"Categorie Serviciu\":\"Cet.MD\",\"Serviciu solicitat\":\"1520102\",\"Ancheta completat\\u0103\":\"DA\",\"Temperatura client\":\"Fierbinte\",\"Manager front office\":\"Cezara Cenusa\",\"ID\":\"42909291\",\"\\u0421\\u0434\\u0435\\u043b\\u043a\\u0430_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Cet. MD\",\"Lead_name\":\"Cet. MD\",\"\\u0411\\u044e\\u0434\\u0436\\u0435\\u0442\":\"0\",\"Budget\":\"0\",\"\\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\":{\"WhatsappLid_WZ\":\"280637609132139\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"+37369742459\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Larisa Neamtu\",\"Contact_name\":\"Larisa Neamtu\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"Cezara Cenusa\",\"Responsible\":\"Cezara Cenusa\"},\"contact\":{\"WhatsappLid_WZ\":\"280637609132139\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"+37369742459\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Larisa Neamtu\",\"Contact_name\":\"Larisa Neamtu\",\"\\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\":[{\"WhatsappLid_WZ\":\"280637609132139\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"+37369742459\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Larisa Neamtu\",\"\\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\":\"23.10.2026\",\"\\u041d\\u043e\\u043c\\u0435\\u0440\":\"123\"},\"document\":{\"Date\":\"23.10.2026\",\"Number\":\"123\"}}}","edit":true}} {"uid":"bb1d671"}
[2026-10-23 13:54:33] docflow.DEBUG: GAS raw response {"raw":"[object] (stdClass: {\"code\":1,\"url\":\"\",\"file_id\":\"\",\"error\":\"Error Exception: Limiet overschreden: Drive.\\nException: Limiet overschreden: Drive.\\n    at FillDocument (gscript:301:25)\\n    at CreateDocument (gscript:71:16)\\n    at doPost (gscript:45:14)\\n    at __GS_INTERNAL_top_function_call__.gs:1:8\",\"vars\":{}})"} {"uid":"bb1d671"}
[2026-10-23 13:54:33] docflow.ERROR: Missing file_id in GAS response {"decoded":"[object] (stdClass: {\"code\":1,\"url\":\"\",\"file_id\":\"\",\"error\":\"Error Exception: Limiet overschreden: Drive.\\nException: Limiet overschreden: Drive.\\n    at FillDocument (gscript:301:25)\\n    at CreateDocument (gscript:71:16)\\n    at doPost (gscript:45:14)\\n    at __GS_INTERNAL_top_function_call__.gs:1:8\",\"vars\":{}})"} {"uid":"bb1d671"}
[2026-10-23 13:54:33] docflow.ERROR: file_id lipsește în răspunsul GAS {"trace":"#0 /home/ytvmclwh/document.amocrm.md/src/Controllers/Docs.php(94): Genezis\\Docflow\\Models\\Docs->createDoc(Array)\n#1 [internal function]: Genezis\\Docflow\\Controllers\\Docs->create(Object(Slim\\Http\\Request), Object(Slim\\Http\\Response), Array)\n#2 /home/ytvmclwh/document.amocrm.md/vendor/slim/slim/Slim/Handlers/Strategies/RequestResponse.php(41): call_user_func(Array, Object(Slim\\Http\\Request), Object(Slim\\Http\\Response), Array)\n#3 /home/ytvmclwh/document.amocrm.md/vendor/slim/slim/Slim/Route.php(335): Slim\\Handlers\\Strategies\\RequestResponse->__invoke(Array, Object(Slim\\Http\\Request), Object(Slim\\Http\\Response), Array)\n#4 /home/ytvmclwh/document.amocrm.md/vendor/slim/slim/Slim/MiddlewareAwareTrait.php(117): Slim\\Route->__invoke(Object(Slim\\Http\\Request), Object(Slim\\Http\\Response))\n#5 /home/ytvmclwh/document.amocrm.md/vendor/slim/slim/Slim/Route.php(313): Slim\\Route->callMiddlewareStack(Object(Slim\\Http\\Request), Object(Slim\\Http\\Response))\n#6 /home/ytvmclwh/document.amocrm.md/vendor/slim/slim/Slim/App.php(495): Slim\\Route->run(Object(Slim\\Http\\Request), Object(Slim\\Http\\Response))\n#7 /home/ytvmclwh/document.amocrm.md/vendor/genezis/amocrm-cors/src/AmoCors.php(54): Slim\\App->__invoke(Object(Slim\\Http\\Request), Object(Slim\\Http\\Response))\n#8 [internal function]: Genezis\\Middlewares\\AmoCors->__invoke(Object(Slim\\Http\\Request), Object(Slim\\Http\\Response), Object(Slim\\App))\n#9 /home/ytvmclwh/document.amocrm.md/vendor/slim/slim/Slim/DeferredCallable.php(43): call_user_func_array(Object(Genezis\\Middlewares\\AmoCors), Array)\n#10 [internal function]: Slim\\DeferredCallable->__invoke(Object(Slim\\Http\\Request), Object(Slim\\Http\\Response), Object(Slim\\App))\n#11 /home/ytvmclwh/document.amocrm.md/vendor/slim/slim/Slim/MiddlewareAwareTrait.php(70): call_user_func(Object(Slim\\DeferredCallable), Object(Slim\\Http\\Request), Object(Slim\\Http\\Response), Object(Slim\\App))\n#12 /home/ytvmclwh/document.amocrm.md/vendor/slim/slim/Slim/MiddlewareAwareTrait.php(117): Slim\\App->Slim\\{closure}(Object(Slim\\Http\\Request), Object(Slim\\Http\\Response))\n#13 /home/ytvmclwh/document.amocrm.md/vendor/slim/slim/Slim/App.php(388): Slim\\App->callMiddlewareStack(Object(Slim\\Http\\Request), Object(Slim\\Http\\Response))\n#14 /home/ytvmclwh/document.amocrm.md/vendor/slim/slim/Slim/App.php(296): Slim\\App->process(Object(Slim\\Http\\Request), Object(Slim\\Http\\Response))\n#15 /home/ytvmclwh/document.amocrm.md/public/index.php(37): Slim\\App->run()\n#16 {main}"} {"uid":"bb1d671"}
[2026-10-23 13:58:13] docflow.INFO: Apel createDoc {"data":{"amoAccountId":"32990686","amoUserId":null,"amoEntityId":"40280897","amoEntityType":"2","templateId":"11625","corporateEntityId":"","settlementAccountId":"","is_signed":null,"gdi":null,"number":null,"currentAmoUserId":null,"lang":"ru"}} {"uid":"1d3dbb4"}
[2026-10-23 13:58:13] docflow.INFO: Token validation failed for account 32990686. Refreshing... {"http_code":null,"error_message":"HTTP/2 401 "} {"uid":"1d3dbb4"}
[2026-10-23 13:58:13] docflow.INFO: Attempting token refresh with payload: {"client_id":"0d64dffb-e54b-448f-9fbf-baf2251a11db","client_secret":"AXqHrT1J35SilTTtI3yyaHdQKiS5bonhySaPYkLmo7mR6ZZ9zDP24dUjG189VG9G","grant_type":"refresh_token","refresh_token":"def50200005c0bf14341f336b9320cb8595df2aa80869413a780937ff43514d9b4ee2c47bdb80cfb60e9deb7b75083b3a91e5ece5c47ff7351d7fb4bdada49f134a32dd97bd1f0e1be7004000a2b2efc44e3df3de1231c1dbb791bc2895b1a0a8b08a09b6d55d3b6a6dc84c44f3a84ebd6d6dce173bd655966425c3c071dcab3fc315821252546519206abca3382250a8016a2d12bcbd83cf0e4b697df48915178d7bb57aa36100966bab280fe8742099226f209b47a0a4150f93e152aeb2340d46c0d9c3b99f9465a89cb3eb26678e369d2219f2265cd46cd6b45c0a989819153265005a5a911ce87eacc87dc915f9bbee5814ffff98a61ba76eab578c8599d94441274444b9f9e22b7a39f70b2e22f6affd13c83c50888cb3387880d569bed4d08a9bbe5e54503a3bfbd80704f7ddd47be82cebae0a7ca764bbe721c9a274128deb18e4f24aae496d21e82b7bb2925806830626bea6021596266d761b6831ef4ce377a0785d464fac641498e02e244860a66e9d4e1d8e54bc524f5d93fc5d1d925d8caa4e81007d4d812fe21f4153a8b320543bce755a00e1941c8599dbe0219fb5e98b09086eb49b594e802304fcf0cbf8b3738dea2501bc835f5c332583ca059a73699bf3878dba2d252e576b530cd21c287a1848e","redirect_uri":"https://document.amocrm.md/core/manager/install.php"} {"uid":"1d3dbb4"}
[2026-10-23 13:58:15] docflow.INFO: Token for account 32990686 refreshed successfully. [] {"uid":"1d3dbb4"}
[2026-10-23 13:58:15] docflow.DEBUG: getClientAuth returned {"auth":"[object] (stdClass: {\"domain\":\"eurosanteh.amocrm.ru\",\"access_token\":\"eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImp0aSI6IjY5Mzc5OGZlNDIzMGE1MWY0YzI0ZmMxM2U1YzVkMzVmYTBiMTk5YjhkNzgwOGYxOThiNTNiZDBhNjhiYjJlM2IwYWQxMThmYzNhOTEwNjJjIn0.eyJhdWQiOiIwZDY0ZGZmYi1lNTRiLTQ0OGYtOWZiZi1iYWYyMjUxYTExZGIiLCJqdGkiOiI2OTM3OThmZTQyMzBhNTFmNGMyNGZjMTNlNWM1ZDM1ZmEwYjE5OWI4ZDc4MDhmMTk4YjUzYmQwYTY4YmIyZTNiMGFkMTE4ZmMzYTkxMDYyYyIsImlhdCI6MTc5Mjc1MzA5NCwibmJmIjoxNzkyNzUzMDk0LCJleHAiOjE3OTI4Mzk0OTQsInN1YiI6IjEzNjg3MzAyIiwiZ3JhbnRfdHlwZSI6IiIsImFjY291bnRfaWQiOjMyOTkwNjg2LCJiYXNlX2RvbWFpbiI6ImFtb2NybS5ydSIsInZlcnNpb24iOjIsInNjb3BlcyI6WyJwdXNoX25vdGlmaWNhdGlvbnMiLCJjcm0iLCJub3RpZmljYXRpb25zIl0sImhhc2hfdXVpZCI6IjQwYTU5NTBlLTc2Y2ItNDExMS1iMzEwLTY2NTFlYTExNjkyMSIsImFwaV9kb21haW4iOiJhcGktYi5hbW9jcm0ucnUifQ.LmcONZq4bG-4wu9yZLdix4X8YEJ9nnjo4EH6Gtm6_xVdDEu-aAT2kKF3da_wNDK9LvN4Kk4dpyolrDtajRotJBTS2kmtmExqa5EbRGeclQfHAHqXw63Pp4WZ0xAtOZ0RydvY4Zv9pSgffwBIaUrH4VGUiRz0JtnzUX94HfZTRvj0RVtdGH05wRqb3K14oexZxIuAeHlqaeoC5B8HnApykH2SERXLcXE61GxPBymRGMF51koNMW5WIoTo6DSTTSQLxshtNOgz1gomQn12gKDr7pVAEipYdEpiOkJAOzHovIeV1XnzxReiLWq8CIdTEuaVIc2h5MXt_F168QL8BpOPiA\"})","file":"/home/ytvmclwh/document.amocrm.md/src/Models/Docs.php","line":121} {"uid":"1d3dbb4"}
[2026-10-23 13:58:18] docflow.DEBUG: AmoDrive docflow context request {"url":"https://google.emale.uno/api/docflow/google-context","query":{"account_id":"32990686","entity_id":"40280897","entity_type":"leads"}} {"uid":"1d3dbb4"}
[2026-10-23 13:58:18] 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=32990686&amp;entity_id=40280897&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/10/23 13:58:18</td>\r\n</tr>\r\n</table>\r\n<hr><center>tengine</center>\r\n</body>\r\n</html>\r\n"} {"uid":"1d3dbb4"}
[2026-10-23 13:58:18] docflow.DEBUG: AmoDrive docflow context request {"url":"https://gd.glucose-dev.online/api/docflow/google-context","query":{"account_id":"32990686","entity_id":"40280897","entity_type":"leads"}} {"uid":"1d3dbb4"}
[2026-10-23 13:58:18] 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":32990686,"entityId":"40280897","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":"1d3dbb4"}
[2026-10-23 13:58:18] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://google.emale.uno/api/docflow/prepare-generated-doc","payload":{"account_id":"32990686","entity_id":"40280897","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"1d3dbb4"}
[2026-10-23 13:58:18] 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/10/23 13:58:18</td>\r\n</tr>\r\n</table>\r\n<hr><center>tengine</center>\r\n</body>\r\n</html>\r\n","payload":{"account_id":"32990686","entity_id":"40280897","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"1d3dbb4"}
[2026-10-23 13:58:18] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://gd.glucose-dev.online/api/docflow/prepare-generated-doc","payload":{"account_id":"32990686","entity_id":"40280897","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"1d3dbb4"}
[2026-10-23 13:58:18] 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\":32990686})","payload":{"account_id":"32990686","entity_id":"40280897","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"1d3dbb4"}
[2026-10-23 13:58:18] docflow.DEBUG: GAS request {"url":"https://script.google.com/macros/s/AKfycbwrvOJD46zkuoTzdhpc1kulhV8jRfgQBFZfQ121nkIip_k8yKit4xrbWTOzaJ-C-Yed6w/exec","body":{"templateFileId":"1AjK4khA9mRlFDVy4RXRqHAg2GTFWJYC-Gac1Mx3OLnA","accountId":"32990686","folderId":"1Us2AfskxgdA729xVr0F2vjZU9y5PlYDe","key":"~VTsK5dcnHc2cSSsjM$LFSjLlgbmJXwrp3R2P5nd","data":"{\"fileName\":\"ALL FOR ALL \\u041d\\u0430\\u0440\\u044f\\u0434 \\u043d\\u0430 \\u0432\\u044b\\u043f\\u043e\\u043b\\u043d\\u0435\\u043d\\u0438\\u0435 \\u0440\\u0430\\u0431\\u043e\\u0442 1417 20261023135818\",\"leadId\":\"40280897\",\"entities\":{\"\\u0441\\u0434\\u0435\\u043b\\u043a\\u0430\":{\"\\u0421\\u043b\\u0435\\u0434\\u0443\\u044e\\u0449\\u0430\\u044f \\u0434\\u0430\\u0442\\u0430 \\u0441\\u0435\\u0440\\u0432\\u0438\\u0441\\u0430\":\"13.10.2027\",\"\\u0414\\u0430\\u0442\\u0430 \\u043c\\u043e\\u043d\\u0442\\u0430\\u0436\\u0430 (\\u0411\\u0414)\":\"13.10.2025\",\"\\u041d\\u0430\\u0437\\u0432\\u0430\\u043d\\u0438\\u0435 \\u0442\\u043e\\u0432\\u0430\\u0440\\u0430 (\\u0411\\u0414)\":\"Gree Clivia 35\",\"\\u0412\\u0438\\u0434 \\u0440\\u0430\\u0431\\u043e\\u0442\\u044b (\\u0411\\u0414)\":\"\\u0423\\u0441\\u0442\\u0430\\u043d\\u043e\\u0432\\u043a\\u0430 \\u043a\\u043e\\u043d\\u0434\\u0438\\u0446\\u0438\\u043e\\u043d\\u0435\\u0440\\u0430\",\"\\u0424\\u0418\\u041e \\u043c\\u043e\\u043d\\u0442\\u0430\\u0436\\u043d\\u0438\\u043a\\u0430 (\\u0411\\u0414)\":\"\\u041d\\u0430\\u0433\\u0440\\u0438\\u043d\\u044f\\u043a \\u0418.\",\"\\u0414\\u0435\\u043d\\u044c \\u043d\\u0435\\u0434\\u0435\\u043b\\u0438\":\"\\u041f\\u044f\\u0442\\u043d\\u0438\\u0446\\u0430\",\"\\u0414\\u0430\\u0442\\u0430 \\u0438 \\u0432\\u0440\\u0435\\u043c\\u044f \\u0432\\u0438\\u0437\\u0438\\u0442\\u0430\":\"2026-10-26 13:54:00\",\"\\u0414\\u0430\\u0442\\u0430 \\u0432\\u0438\\u0437\\u0438\\u0442\\u0430\":\"26.10.2026\",\"\\u0426\\u0435\\u043b\\u044c \\u0432\\u044b\\u0435\\u0437\\u0434\\u0430\":\"\\u041f\\u0440\\u043e\\u0444\\u0438\\u043b\\u0430\\u043a\\u0442\\u0438\\u043a\\u0430 \\u043f\\u043e \\u0433\\u0430\\u0440\\u0430\\u043d\\u0442\\u0438\\u0438\",\"\\u0412\\u0438\\u0434 \\u0432\\u044b\\u043f\\u043e\\u043b\\u043d\\u0435\\u043d\\u043d\\u044b\\u0445 \\u0440\\u0430\\u0431\\u043e\\u0442\":\"\\u041f\\u0440\\u043e\\u0444\\u0438\\u043b\\u0430\\u043a\\u0442\\u0438\\u043a\\u0430 \\u0441\\u043f\\u043b\\u0438\\u0442-\\u0441\\u0438\\u0441\\u0442\\u0435\\u043c \\u0432\\u0441\\u0435\\u0445 \\u043c\\u043e\\u0449\\u043d\\u043e\\u0441\\u0442\\u0435\\u0439 (\\u043e\\u0447\\u0438\\u0441\\u0442\\u043a\\u0430, \\u043f\\u0440\\u043e\\u0432\\u0435\\u0440\\u043a\\u0430 \\u0440\\u0430\\u0431\\u043e\\u0442\\u044b)\",\"\\u041c\\u043e\\u0434\\u0435\\u043b\\u044c \\u043e\\u0431\\u043e\\u0440\\u0443\\u0434\\u043e\\u0432\\u0430\\u043d\\u0438\\u044f 1\":\"Gree Clivia 35\",\"ID\":\"40280897\",\"\\u0421\\u0434\\u0435\\u043b\\u043a\\u0430_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"\\u041f\\u0422\\u041e\",\"Lead_name\":\"\\u041f\\u0422\\u041e\",\"\\u0411\\u044e\\u0434\\u0436\\u0435\\u0442\":\"0\",\"Budget\":\"0\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"\\u0410\\u0441\\u0442\\u0430\\u043f\\u0435\\u043d\\u043a\\u043e\\u0432\\u0430 \\u042e\\u043b\\u0438\\u0430\\u043d\\u043d\\u0430\",\"Responsible\":\"\\u0410\\u0441\\u0442\\u0430\\u043f\\u0435\\u043d\\u043a\\u043e\\u0432\\u0430 \\u042e\\u043b\\u0438\\u0430\\u043d\\u043d\\u0430\"},\"lead\":{\"\\u0421\\u043b\\u0435\\u0434\\u0443\\u044e\\u0449\\u0430\\u044f \\u0434\\u0430\\u0442\\u0430 \\u0441\\u0435\\u0440\\u0432\\u0438\\u0441\\u0430\":\"13.10.2027\",\"\\u0414\\u0430\\u0442\\u0430 \\u043c\\u043e\\u043d\\u0442\\u0430\\u0436\\u0430 (\\u0411\\u0414)\":\"13.10.2025\",\"\\u041d\\u0430\\u0437\\u0432\\u0430\\u043d\\u0438\\u0435 \\u0442\\u043e\\u0432\\u0430\\u0440\\u0430 (\\u0411\\u0414)\":\"Gree Clivia 35\",\"\\u0412\\u0438\\u0434 \\u0440\\u0430\\u0431\\u043e\\u0442\\u044b (\\u0411\\u0414)\":\"\\u0423\\u0441\\u0442\\u0430\\u043d\\u043e\\u0432\\u043a\\u0430 \\u043a\\u043e\\u043d\\u0434\\u0438\\u0446\\u0438\\u043e\\u043d\\u0435\\u0440\\u0430\",\"\\u0424\\u0418\\u041e \\u043c\\u043e\\u043d\\u0442\\u0430\\u0436\\u043d\\u0438\\u043a\\u0430 (\\u0411\\u0414)\":\"\\u041d\\u0430\\u0433\\u0440\\u0438\\u043d\\u044f\\u043a \\u0418.\",\"\\u0414\\u0435\\u043d\\u044c \\u043d\\u0435\\u0434\\u0435\\u043b\\u0438\":\"\\u041f\\u044f\\u0442\\u043d\\u0438\\u0446\\u0430\",\"\\u0414\\u0430\\u0442\\u0430 \\u0438 \\u0432\\u0440\\u0435\\u043c\\u044f \\u0432\\u0438\\u0437\\u0438\\u0442\\u0430\":\"2026-10-26 13:54:00\",\"\\u0414\\u0430\\u0442\\u0430 \\u0432\\u0438\\u0437\\u0438\\u0442\\u0430\":\"26.10.2026\",\"\\u0426\\u0435\\u043b\\u044c \\u0432\\u044b\\u0435\\u0437\\u0434\\u0430\":\"\\u041f\\u0440\\u043e\\u0444\\u0438\\u043b\\u0430\\u043a\\u0442\\u0438\\u043a\\u0430 \\u043f\\u043e \\u0433\\u0430\\u0440\\u0430\\u043d\\u0442\\u0438\\u0438\",\"\\u0412\\u0438\\u0434 \\u0432\\u044b\\u043f\\u043e\\u043b\\u043d\\u0435\\u043d\\u043d\\u044b\\u0445 \\u0440\\u0430\\u0431\\u043e\\u0442\":\"\\u041f\\u0440\\u043e\\u0444\\u0438\\u043b\\u0430\\u043a\\u0442\\u0438\\u043a\\u0430 \\u0441\\u043f\\u043b\\u0438\\u0442-\\u0441\\u0438\\u0441\\u0442\\u0435\\u043c \\u0432\\u0441\\u0435\\u0445 \\u043c\\u043e\\u0449\\u043d\\u043e\\u0441\\u0442\\u0435\\u0439 (\\u043e\\u0447\\u0438\\u0441\\u0442\\u043a\\u0430, \\u043f\\u0440\\u043e\\u0432\\u0435\\u0440\\u043a\\u0430 \\u0440\\u0430\\u0431\\u043e\\u0442\\u044b)\",\"\\u041c\\u043e\\u0434\\u0435\\u043b\\u044c \\u043e\\u0431\\u043e\\u0440\\u0443\\u0434\\u043e\\u0432\\u0430\\u043d\\u0438\\u044f 1\":\"Gree Clivia 35\",\"ID\":\"40280897\",\"\\u0421\\u0434\\u0435\\u043b\\u043a\\u0430_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"\\u041f\\u0422\\u041e\",\"Lead_name\":\"\\u041f\\u0422\\u041e\",\"\\u0411\\u044e\\u0434\\u0436\\u0435\\u0442\":\"0\",\"Budget\":\"0\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"\\u0410\\u0441\\u0442\\u0430\\u043f\\u0435\\u043d\\u043a\\u043e\\u0432\\u0430 \\u042e\\u043b\\u0438\\u0430\\u043d\\u043d\\u0430\",\"Responsible\":\"\\u0410\\u0441\\u0442\\u0430\\u043f\\u0435\\u043d\\u043a\\u043e\\u0432\\u0430 \\u042e\\u043b\\u0438\\u0430\\u043d\\u043d\\u0430\"},\"\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442\":{\"\\u0418\\u0414\\u041d\\u041e\":\"0\",\"\\u0410\\u0434\\u0440\\u0435\\u0441\":\"Dubasari Vechi\",\"\\u041f\\u043e\\u0432\\u0442\\u043e\\u0440\\u043d\\u044b\\u0439 \\u043a\\u043b\\u0438\\u0435\\u043d\\u0442?\":\"\\u0414\\u0430\",\"\\u0414\\u0430\\u0442\\u0430 \\u043c\\u043e\\u043d\\u0442\\u0430\\u0436\\u0430 (\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442)\":\"13.10.2025\",\"\\u0422\\u0438\\u043f \\u0438 \\u043c\\u043e\\u0434\\u0435\\u043b\\u044c \\u043e\\u0431\\u043e\\u0440\\u0443\\u0434\\u043e\\u0432\\u0430\\u043d\\u0438\\u044f (\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442)\":\"Gree Clivia 35\",\"\\u041a\\u043e\\u043b - \\u0432\\u043e \\u043e\\u0431\\u043e\\u0440\\u0443\\u0434\\u043e\\u0432\\u0430\\u043d\\u0438\\u044f (\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442)\":\"1\",\"\\u041a\\u0442\\u043e \\u043c\\u043e\\u043d\\u0442\\u0438\\u0440\\u043e\\u0432\\u0430\\u043b (\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442)\":\"\\u041c\\u0430\\u0441\\u0442\\u0435\\u0440 \\u043a\\u043e\\u043c\\u043f\\u0430\\u043d\\u0438\\u0438 Edenvor SRL\",\"\\u041d\\u043e\\u043c\\u0435\\u0440 \\u043a\\u043e\\u043d\\u0442\\u0440\\u0430\\u043a\\u0442\\u0430 (\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442)\":\"K6870\",\"\\u0418\\u043c\\u044f \\u043a\\u043b\\u0438\\u0435\\u043d\\u0442\\u0430 (\\u0421\\u041c\\u0421)\":\"Marin\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"37360466610\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Marin Burla\",\"Contact_name\":\"Marin Burla\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"\\u0410\\u0441\\u0442\\u0430\\u043f\\u0435\\u043d\\u043a\\u043e\\u0432\\u0430 \\u042e\\u043b\\u0438\\u0430\\u043d\\u043d\\u0430\",\"Responsible\":\"\\u0410\\u0441\\u0442\\u0430\\u043f\\u0435\\u043d\\u043a\\u043e\\u0432\\u0430 \\u042e\\u043b\\u0438\\u0430\\u043d\\u043d\\u0430\"},\"contact\":{\"\\u0418\\u0414\\u041d\\u041e\":\"0\",\"\\u0410\\u0434\\u0440\\u0435\\u0441\":\"Dubasari Vechi\",\"\\u041f\\u043e\\u0432\\u0442\\u043e\\u0440\\u043d\\u044b\\u0439 \\u043a\\u043b\\u0438\\u0435\\u043d\\u0442?\":\"\\u0414\\u0430\",\"\\u0414\\u0430\\u0442\\u0430 \\u043c\\u043e\\u043d\\u0442\\u0430\\u0436\\u0430 (\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442)\":\"13.10.2025\",\"\\u0422\\u0438\\u043f \\u0438 \\u043c\\u043e\\u0434\\u0435\\u043b\\u044c \\u043e\\u0431\\u043e\\u0440\\u0443\\u0434\\u043e\\u0432\\u0430\\u043d\\u0438\\u044f (\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442)\":\"Gree Clivia 35\",\"\\u041a\\u043e\\u043b - \\u0432\\u043e \\u043e\\u0431\\u043e\\u0440\\u0443\\u0434\\u043e\\u0432\\u0430\\u043d\\u0438\\u044f (\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442)\":\"1\",\"\\u041a\\u0442\\u043e \\u043c\\u043e\\u043d\\u0442\\u0438\\u0440\\u043e\\u0432\\u0430\\u043b (\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442)\":\"\\u041c\\u0430\\u0441\\u0442\\u0435\\u0440 \\u043a\\u043e\\u043c\\u043f\\u0430\\u043d\\u0438\\u0438 Edenvor SRL\",\"\\u041d\\u043e\\u043c\\u0435\\u0440 \\u043a\\u043e\\u043d\\u0442\\u0440\\u0430\\u043a\\u0442\\u0430 (\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442)\":\"K6870\",\"\\u0418\\u043c\\u044f \\u043a\\u043b\\u0438\\u0435\\u043d\\u0442\\u0430 (\\u0421\\u041c\\u0421)\":\"Marin\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"37360466610\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Marin Burla\",\"Contact_name\":\"Marin Burla\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"\\u0410\\u0441\\u0442\\u0430\\u043f\\u0435\\u043d\\u043a\\u043e\\u0432\\u0430 \\u042e\\u043b\\u0438\\u0430\\u043d\\u043d\\u0430\",\"Responsible\":\"\\u0410\\u0441\\u0442\\u0430\\u043f\\u0435\\u043d\\u043a\\u043e\\u0432\\u0430 \\u042e\\u043b\\u0438\\u0430\\u043d\\u043d\\u0430\"},\"\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442\\u044b\":[{\"\\u0418\\u0414\\u041d\\u041e\":\"0\",\"\\u0410\\u0434\\u0440\\u0435\\u0441\":\"Dubasari Vechi\",\"\\u041f\\u043e\\u0432\\u0442\\u043e\\u0440\\u043d\\u044b\\u0439 \\u043a\\u043b\\u0438\\u0435\\u043d\\u0442?\":\"\\u0414\\u0430\",\"\\u0414\\u0430\\u0442\\u0430 \\u043c\\u043e\\u043d\\u0442\\u0430\\u0436\\u0430 (\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442)\":\"13.10.2025\",\"\\u0422\\u0438\\u043f \\u0438 \\u043c\\u043e\\u0434\\u0435\\u043b\\u044c \\u043e\\u0431\\u043e\\u0440\\u0443\\u0434\\u043e\\u0432\\u0430\\u043d\\u0438\\u044f (\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442)\":\"Gree Clivia 35\",\"\\u041a\\u043e\\u043b - \\u0432\\u043e \\u043e\\u0431\\u043e\\u0440\\u0443\\u0434\\u043e\\u0432\\u0430\\u043d\\u0438\\u044f (\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442)\":\"1\",\"\\u041a\\u0442\\u043e \\u043c\\u043e\\u043d\\u0442\\u0438\\u0440\\u043e\\u0432\\u0430\\u043b (\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442)\":\"\\u041c\\u0430\\u0441\\u0442\\u0435\\u0440 \\u043a\\u043e\\u043c\\u043f\\u0430\\u043d\\u0438\\u0438 Edenvor SRL\",\"\\u041d\\u043e\\u043c\\u0435\\u0440 \\u043a\\u043e\\u043d\\u0442\\u0440\\u0430\\u043a\\u0442\\u0430 (\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442)\":\"K6870\",\"\\u0418\\u043c\\u044f \\u043a\\u043b\\u0438\\u0435\\u043d\\u0442\\u0430 (\\u0421\\u041c\\u0421)\":\"Marin\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"37360466610\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Marin Burla\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"\\u0410\\u0441\\u0442\\u0430\\u043f\\u0435\\u043d\\u043a\\u043e\\u0432\\u0430 \\u042e\\u043b\\u0438\\u0430\\u043d\\u043d\\u0430\"}],\"\\u0434\\u043e\\u043a\\u0443\\u043c\\u0435\\u043d\\u0442\":{\"\\u0414\\u0430\\u0442\\u0430\":\"23.10.2026\",\"\\u041d\\u043e\\u043c\\u0435\\u0440\":\"1417\"},\"document\":{\"Date\":\"23.10.2026\",\"Number\":\"1417\"}}}","edit":true}} {"uid":"1d3dbb4"}
[2026-10-23 13:58:27] docflow.DEBUG: GAS raw response {"raw":"[object] (stdClass: {\"code\":1,\"url\":\"\",\"file_id\":\"\",\"error\":\"Error Exception: Limiet overschreden: Drive.\\nException: Limiet overschreden: Drive.\\n    at FillDocument (gscript:301:25)\\n    at CreateDocument (gscript:71:16)\\n    at doPost (gscript:45:14)\\n    at __GS_INTERNAL_top_function_call__.gs:1:8\",\"vars\":{}})"} {"uid":"1d3dbb4"}
[2026-10-23 13:58:27] docflow.ERROR: Missing file_id in GAS response {"decoded":"[object] (stdClass: {\"code\":1,\"url\":\"\",\"file_id\":\"\",\"error\":\"Error Exception: Limiet overschreden: Drive.\\nException: Limiet overschreden: Drive.\\n    at FillDocument (gscript:301:25)\\n    at CreateDocument (gscript:71:16)\\n    at doPost (gscript:45:14)\\n    at __GS_INTERNAL_top_function_call__.gs:1:8\",\"vars\":{}})"} {"uid":"1d3dbb4"}
[2026-10-23 13:58:27] docflow.ERROR: file_id lipsește în răspunsul GAS {"trace":"#0 /home/ytvmclwh/document.amocrm.md/src/Controllers/Docs.php(94): Genezis\\Docflow\\Models\\Docs->createDoc(Array)\n#1 [internal function]: Genezis\\Docflow\\Controllers\\Docs->create(Object(Slim\\Http\\Request), Object(Slim\\Http\\Response), Array)\n#2 /home/ytvmclwh/document.amocrm.md/vendor/slim/slim/Slim/Handlers/Strategies/RequestResponse.php(41): call_user_func(Array, Object(Slim\\Http\\Request), Object(Slim\\Http\\Response), Array)\n#3 /home/ytvmclwh/document.amocrm.md/vendor/slim/slim/Slim/Route.php(335): Slim\\Handlers\\Strategies\\RequestResponse->__invoke(Array, Object(Slim\\Http\\Request), Object(Slim\\Http\\Response), Array)\n#4 /home/ytvmclwh/document.amocrm.md/vendor/slim/slim/Slim/MiddlewareAwareTrait.php(117): Slim\\Route->__invoke(Object(Slim\\Http\\Request), Object(Slim\\Http\\Response))\n#5 /home/ytvmclwh/document.amocrm.md/vendor/slim/slim/Slim/Route.php(313): Slim\\Route->callMiddlewareStack(Object(Slim\\Http\\Request), Object(Slim\\Http\\Response))\n#6 /home/ytvmclwh/document.amocrm.md/vendor/slim/slim/Slim/App.php(495): Slim\\Route->run(Object(Slim\\Http\\Request), Object(Slim\\Http\\Response))\n#7 /home/ytvmclwh/document.amocrm.md/vendor/genezis/amocrm-cors/src/AmoCors.php(54): Slim\\App->__invoke(Object(Slim\\Http\\Request), Object(Slim\\Http\\Response))\n#8 [internal function]: Genezis\\Middlewares\\AmoCors->__invoke(Object(Slim\\Http\\Request), Object(Slim\\Http\\Response), Object(Slim\\App))\n#9 /home/ytvmclwh/document.amocrm.md/vendor/slim/slim/Slim/DeferredCallable.php(43): call_user_func_array(Object(Genezis\\Middlewares\\AmoCors), Array)\n#10 [internal function]: Slim\\DeferredCallable->__invoke(Object(Slim\\Http\\Request), Object(Slim\\Http\\Response), Object(Slim\\App))\n#11 /home/ytvmclwh/document.amocrm.md/vendor/slim/slim/Slim/MiddlewareAwareTrait.php(70): call_user_func(Object(Slim\\DeferredCallable), Object(Slim\\Http\\Request), Object(Slim\\Http\\Response), Object(Slim\\App))\n#12 /home/ytvmclwh/document.amocrm.md/vendor/slim/slim/Slim/MiddlewareAwareTrait.php(117): Slim\\App->Slim\\{closure}(Object(Slim\\Http\\Request), Object(Slim\\Http\\Response))\n#13 /home/ytvmclwh/document.amocrm.md/vendor/slim/slim/Slim/App.php(388): Slim\\App->callMiddlewareStack(Object(Slim\\Http\\Request), Object(Slim\\Http\\Response))\n#14 /home/ytvmclwh/document.amocrm.md/vendor/slim/slim/Slim/App.php(296): Slim\\App->process(Object(Slim\\Http\\Request), Object(Slim\\Http\\Response))\n#15 /home/ytvmclwh/document.amocrm.md/public/index.php(37): Slim\\App->run()\n#16 {main}"} {"uid":"1d3dbb4"}
[2026-10-23 13:58:40] docflow.INFO: Apel createDoc {"data":{"amoAccountId":"32990686","amoUserId":null,"amoEntityId":"40280897","amoEntityType":"2","templateId":"11625","corporateEntityId":"","settlementAccountId":"","is_signed":null,"gdi":null,"number":null,"currentAmoUserId":null,"lang":"ru"}} {"uid":"778ad71"}
[2026-10-23 13:58:41] docflow.INFO: Token is valid for account 32990686. [] {"uid":"778ad71"}
[2026-10-23 13:58:41] docflow.DEBUG: getClientAuth returned {"auth":"[object] (stdClass: {\"domain\":\"eurosanteh.amocrm.ru\",\"access_token\":\"eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImp0aSI6IjY5Mzc5OGZlNDIzMGE1MWY0YzI0ZmMxM2U1YzVkMzVmYTBiMTk5YjhkNzgwOGYxOThiNTNiZDBhNjhiYjJlM2IwYWQxMThmYzNhOTEwNjJjIn0.eyJhdWQiOiIwZDY0ZGZmYi1lNTRiLTQ0OGYtOWZiZi1iYWYyMjUxYTExZGIiLCJqdGkiOiI2OTM3OThmZTQyMzBhNTFmNGMyNGZjMTNlNWM1ZDM1ZmEwYjE5OWI4ZDc4MDhmMTk4YjUzYmQwYTY4YmIyZTNiMGFkMTE4ZmMzYTkxMDYyYyIsImlhdCI6MTc5Mjc1MzA5NCwibmJmIjoxNzkyNzUzMDk0LCJleHAiOjE3OTI4Mzk0OTQsInN1YiI6IjEzNjg3MzAyIiwiZ3JhbnRfdHlwZSI6IiIsImFjY291bnRfaWQiOjMyOTkwNjg2LCJiYXNlX2RvbWFpbiI6ImFtb2NybS5ydSIsInZlcnNpb24iOjIsInNjb3BlcyI6WyJwdXNoX25vdGlmaWNhdGlvbnMiLCJjcm0iLCJub3RpZmljYXRpb25zIl0sImhhc2hfdXVpZCI6IjQwYTU5NTBlLTc2Y2ItNDExMS1iMzEwLTY2NTFlYTExNjkyMSIsImFwaV9kb21haW4iOiJhcGktYi5hbW9jcm0ucnUifQ.LmcONZq4bG-4wu9yZLdix4X8YEJ9nnjo4EH6Gtm6_xVdDEu-aAT2kKF3da_wNDK9LvN4Kk4dpyolrDtajRotJBTS2kmtmExqa5EbRGeclQfHAHqXw63Pp4WZ0xAtOZ0RydvY4Zv9pSgffwBIaUrH4VGUiRz0JtnzUX94HfZTRvj0RVtdGH05wRqb3K14oexZxIuAeHlqaeoC5B8HnApykH2SERXLcXE61GxPBymRGMF51koNMW5WIoTo6DSTTSQLxshtNOgz1gomQn12gKDr7pVAEipYdEpiOkJAOzHovIeV1XnzxReiLWq8CIdTEuaVIc2h5MXt_F168QL8BpOPiA\"})","file":"/home/ytvmclwh/document.amocrm.md/src/Models/Docs.php","line":121} {"uid":"778ad71"}
[2026-10-23 13:58:43] docflow.DEBUG: AmoDrive docflow context request {"url":"https://google.emale.uno/api/docflow/google-context","query":{"account_id":"32990686","entity_id":"40280897","entity_type":"leads"}} {"uid":"778ad71"}
[2026-10-23 13:58:43] 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=32990686&amp;entity_id=40280897&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/10/23 13:58:43</td>\r\n</tr>\r\n</table>\r\n<hr><center>tengine</center>\r\n</body>\r\n</html>\r\n"} {"uid":"778ad71"}
[2026-10-23 13:58:43] docflow.DEBUG: AmoDrive docflow context request {"url":"https://gd.glucose-dev.online/api/docflow/google-context","query":{"account_id":"32990686","entity_id":"40280897","entity_type":"leads"}} {"uid":"778ad71"}
[2026-10-23 13:58:43] 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":32990686,"entityId":"40280897","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":"778ad71"}
[2026-10-23 13:58:43] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://google.emale.uno/api/docflow/prepare-generated-doc","payload":{"account_id":"32990686","entity_id":"40280897","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"778ad71"}
[2026-10-23 13:58:43] 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/10/23 13:58:43</td>\r\n</tr>\r\n</table>\r\n<hr><center>tengine</center>\r\n</body>\r\n</html>\r\n","payload":{"account_id":"32990686","entity_id":"40280897","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"778ad71"}
[2026-10-23 13:58:43] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://gd.glucose-dev.online/api/docflow/prepare-generated-doc","payload":{"account_id":"32990686","entity_id":"40280897","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"778ad71"}
[2026-10-23 13:58:43] 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\":32990686})","payload":{"account_id":"32990686","entity_id":"40280897","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"778ad71"}
[2026-10-23 13:58:43] docflow.DEBUG: GAS request {"url":"https://script.google.com/macros/s/AKfycbwrvOJD46zkuoTzdhpc1kulhV8jRfgQBFZfQ121nkIip_k8yKit4xrbWTOzaJ-C-Yed6w/exec","body":{"templateFileId":"1AjK4khA9mRlFDVy4RXRqHAg2GTFWJYC-Gac1Mx3OLnA","accountId":"32990686","folderId":"1Us2AfskxgdA729xVr0F2vjZU9y5PlYDe","key":"~VTsK5dcnHc2cSSsjM$LFSjLlgbmJXwrp3R2P5nd","data":"{\"fileName\":\"ALL FOR ALL \\u041d\\u0430\\u0440\\u044f\\u0434 \\u043d\\u0430 \\u0432\\u044b\\u043f\\u043e\\u043b\\u043d\\u0435\\u043d\\u0438\\u0435 \\u0440\\u0430\\u0431\\u043e\\u0442 1417 20261023135843\",\"leadId\":\"40280897\",\"entities\":{\"\\u0441\\u0434\\u0435\\u043b\\u043a\\u0430\":{\"\\u0421\\u043b\\u0435\\u0434\\u0443\\u044e\\u0449\\u0430\\u044f \\u0434\\u0430\\u0442\\u0430 \\u0441\\u0435\\u0440\\u0432\\u0438\\u0441\\u0430\":\"13.10.2027\",\"\\u0414\\u0430\\u0442\\u0430 \\u043c\\u043e\\u043d\\u0442\\u0430\\u0436\\u0430 (\\u0411\\u0414)\":\"13.10.2025\",\"\\u041d\\u0430\\u0437\\u0432\\u0430\\u043d\\u0438\\u0435 \\u0442\\u043e\\u0432\\u0430\\u0440\\u0430 (\\u0411\\u0414)\":\"Gree Clivia 35\",\"\\u0412\\u0438\\u0434 \\u0440\\u0430\\u0431\\u043e\\u0442\\u044b (\\u0411\\u0414)\":\"\\u0423\\u0441\\u0442\\u0430\\u043d\\u043e\\u0432\\u043a\\u0430 \\u043a\\u043e\\u043d\\u0434\\u0438\\u0446\\u0438\\u043e\\u043d\\u0435\\u0440\\u0430\",\"\\u0424\\u0418\\u041e \\u043c\\u043e\\u043d\\u0442\\u0430\\u0436\\u043d\\u0438\\u043a\\u0430 (\\u0411\\u0414)\":\"\\u041d\\u0430\\u0433\\u0440\\u0438\\u043d\\u044f\\u043a \\u0418.\",\"\\u0414\\u0435\\u043d\\u044c \\u043d\\u0435\\u0434\\u0435\\u043b\\u0438\":\"\\u041f\\u044f\\u0442\\u043d\\u0438\\u0446\\u0430\",\"\\u0414\\u0430\\u0442\\u0430 \\u0438 \\u0432\\u0440\\u0435\\u043c\\u044f \\u0432\\u0438\\u0437\\u0438\\u0442\\u0430\":\"2026-10-26 13:54:00\",\"\\u0414\\u0430\\u0442\\u0430 \\u0432\\u0438\\u0437\\u0438\\u0442\\u0430\":\"26.10.2026\",\"\\u0426\\u0435\\u043b\\u044c \\u0432\\u044b\\u0435\\u0437\\u0434\\u0430\":\"\\u041f\\u0440\\u043e\\u0444\\u0438\\u043b\\u0430\\u043a\\u0442\\u0438\\u043a\\u0430 \\u043f\\u043e \\u0433\\u0430\\u0440\\u0430\\u043d\\u0442\\u0438\\u0438\",\"\\u0412\\u0438\\u0434 \\u0432\\u044b\\u043f\\u043e\\u043b\\u043d\\u0435\\u043d\\u043d\\u044b\\u0445 \\u0440\\u0430\\u0431\\u043e\\u0442\":\"\\u041f\\u0440\\u043e\\u0444\\u0438\\u043b\\u0430\\u043a\\u0442\\u0438\\u043a\\u0430 \\u0441\\u043f\\u043b\\u0438\\u0442-\\u0441\\u0438\\u0441\\u0442\\u0435\\u043c \\u0432\\u0441\\u0435\\u0445 \\u043c\\u043e\\u0449\\u043d\\u043e\\u0441\\u0442\\u0435\\u0439 (\\u043e\\u0447\\u0438\\u0441\\u0442\\u043a\\u0430, \\u043f\\u0440\\u043e\\u0432\\u0435\\u0440\\u043a\\u0430 \\u0440\\u0430\\u0431\\u043e\\u0442\\u044b)\",\"\\u041c\\u043e\\u0434\\u0435\\u043b\\u044c \\u043e\\u0431\\u043e\\u0440\\u0443\\u0434\\u043e\\u0432\\u0430\\u043d\\u0438\\u044f 1\":\"Gree Clivia 35\",\"ID\":\"40280897\",\"\\u0421\\u0434\\u0435\\u043b\\u043a\\u0430_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"\\u041f\\u0422\\u041e\",\"Lead_name\":\"\\u041f\\u0422\\u041e\",\"\\u0411\\u044e\\u0434\\u0436\\u0435\\u0442\":\"0\",\"Budget\":\"0\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"\\u0410\\u0441\\u0442\\u0430\\u043f\\u0435\\u043d\\u043a\\u043e\\u0432\\u0430 \\u042e\\u043b\\u0438\\u0430\\u043d\\u043d\\u0430\",\"Responsible\":\"\\u0410\\u0441\\u0442\\u0430\\u043f\\u0435\\u043d\\u043a\\u043e\\u0432\\u0430 \\u042e\\u043b\\u0438\\u0430\\u043d\\u043d\\u0430\"},\"lead\":{\"\\u0421\\u043b\\u0435\\u0434\\u0443\\u044e\\u0449\\u0430\\u044f \\u0434\\u0430\\u0442\\u0430 \\u0441\\u0435\\u0440\\u0432\\u0438\\u0441\\u0430\":\"13.10.2027\",\"\\u0414\\u0430\\u0442\\u0430 \\u043c\\u043e\\u043d\\u0442\\u0430\\u0436\\u0430 (\\u0411\\u0414)\":\"13.10.2025\",\"\\u041d\\u0430\\u0437\\u0432\\u0430\\u043d\\u0438\\u0435 \\u0442\\u043e\\u0432\\u0430\\u0440\\u0430 (\\u0411\\u0414)\":\"Gree Clivia 35\",\"\\u0412\\u0438\\u0434 \\u0440\\u0430\\u0431\\u043e\\u0442\\u044b (\\u0411\\u0414)\":\"\\u0423\\u0441\\u0442\\u0430\\u043d\\u043e\\u0432\\u043a\\u0430 \\u043a\\u043e\\u043d\\u0434\\u0438\\u0446\\u0438\\u043e\\u043d\\u0435\\u0440\\u0430\",\"\\u0424\\u0418\\u041e \\u043c\\u043e\\u043d\\u0442\\u0430\\u0436\\u043d\\u0438\\u043a\\u0430 (\\u0411\\u0414)\":\"\\u041d\\u0430\\u0433\\u0440\\u0438\\u043d\\u044f\\u043a \\u0418.\",\"\\u0414\\u0435\\u043d\\u044c \\u043d\\u0435\\u0434\\u0435\\u043b\\u0438\":\"\\u041f\\u044f\\u0442\\u043d\\u0438\\u0446\\u0430\",\"\\u0414\\u0430\\u0442\\u0430 \\u0438 \\u0432\\u0440\\u0435\\u043c\\u044f \\u0432\\u0438\\u0437\\u0438\\u0442\\u0430\":\"2026-10-26 13:54:00\",\"\\u0414\\u0430\\u0442\\u0430 \\u0432\\u0438\\u0437\\u0438\\u0442\\u0430\":\"26.10.2026\",\"\\u0426\\u0435\\u043b\\u044c \\u0432\\u044b\\u0435\\u0437\\u0434\\u0430\":\"\\u041f\\u0440\\u043e\\u0444\\u0438\\u043b\\u0430\\u043a\\u0442\\u0438\\u043a\\u0430 \\u043f\\u043e \\u0433\\u0430\\u0440\\u0430\\u043d\\u0442\\u0438\\u0438\",\"\\u0412\\u0438\\u0434 \\u0432\\u044b\\u043f\\u043e\\u043b\\u043d\\u0435\\u043d\\u043d\\u044b\\u0445 \\u0440\\u0430\\u0431\\u043e\\u0442\":\"\\u041f\\u0440\\u043e\\u0444\\u0438\\u043b\\u0430\\u043a\\u0442\\u0438\\u043a\\u0430 \\u0441\\u043f\\u043b\\u0438\\u0442-\\u0441\\u0438\\u0441\\u0442\\u0435\\u043c \\u0432\\u0441\\u0435\\u0445 \\u043c\\u043e\\u0449\\u043d\\u043e\\u0441\\u0442\\u0435\\u0439 (\\u043e\\u0447\\u0438\\u0441\\u0442\\u043a\\u0430, \\u043f\\u0440\\u043e\\u0432\\u0435\\u0440\\u043a\\u0430 \\u0440\\u0430\\u0431\\u043e\\u0442\\u044b)\",\"\\u041c\\u043e\\u0434\\u0435\\u043b\\u044c \\u043e\\u0431\\u043e\\u0440\\u0443\\u0434\\u043e\\u0432\\u0430\\u043d\\u0438\\u044f 1\":\"Gree Clivia 35\",\"ID\":\"40280897\",\"\\u0421\\u0434\\u0435\\u043b\\u043a\\u0430_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"\\u041f\\u0422\\u041e\",\"Lead_name\":\"\\u041f\\u0422\\u041e\",\"\\u0411\\u044e\\u0434\\u0436\\u0435\\u0442\":\"0\",\"Budget\":\"0\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"\\u0410\\u0441\\u0442\\u0430\\u043f\\u0435\\u043d\\u043a\\u043e\\u0432\\u0430 \\u042e\\u043b\\u0438\\u0430\\u043d\\u043d\\u0430\",\"Responsible\":\"\\u0410\\u0441\\u0442\\u0430\\u043f\\u0435\\u043d\\u043a\\u043e\\u0432\\u0430 \\u042e\\u043b\\u0438\\u0430\\u043d\\u043d\\u0430\"},\"\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442\":{\"\\u0418\\u0414\\u041d\\u041e\":\"0\",\"\\u0410\\u0434\\u0440\\u0435\\u0441\":\"Dubasari Vechi\",\"\\u041f\\u043e\\u0432\\u0442\\u043e\\u0440\\u043d\\u044b\\u0439 \\u043a\\u043b\\u0438\\u0435\\u043d\\u0442?\":\"\\u0414\\u0430\",\"\\u0414\\u0430\\u0442\\u0430 \\u043c\\u043e\\u043d\\u0442\\u0430\\u0436\\u0430 (\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442)\":\"13.10.2025\",\"\\u0422\\u0438\\u043f \\u0438 \\u043c\\u043e\\u0434\\u0435\\u043b\\u044c \\u043e\\u0431\\u043e\\u0440\\u0443\\u0434\\u043e\\u0432\\u0430\\u043d\\u0438\\u044f (\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442)\":\"Gree Clivia 35\",\"\\u041a\\u043e\\u043b - \\u0432\\u043e \\u043e\\u0431\\u043e\\u0440\\u0443\\u0434\\u043e\\u0432\\u0430\\u043d\\u0438\\u044f (\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442)\":\"1\",\"\\u041a\\u0442\\u043e \\u043c\\u043e\\u043d\\u0442\\u0438\\u0440\\u043e\\u0432\\u0430\\u043b (\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442)\":\"\\u041c\\u0430\\u0441\\u0442\\u0435\\u0440 \\u043a\\u043e\\u043c\\u043f\\u0430\\u043d\\u0438\\u0438 Edenvor SRL\",\"\\u041d\\u043e\\u043c\\u0435\\u0440 \\u043a\\u043e\\u043d\\u0442\\u0440\\u0430\\u043a\\u0442\\u0430 (\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442)\":\"K6870\",\"\\u0418\\u043c\\u044f \\u043a\\u043b\\u0438\\u0435\\u043d\\u0442\\u0430 (\\u0421\\u041c\\u0421)\":\"Marin\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"37360466610\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Marin Burla\",\"Contact_name\":\"Marin Burla\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"\\u0410\\u0441\\u0442\\u0430\\u043f\\u0435\\u043d\\u043a\\u043e\\u0432\\u0430 \\u042e\\u043b\\u0438\\u0430\\u043d\\u043d\\u0430\",\"Responsible\":\"\\u0410\\u0441\\u0442\\u0430\\u043f\\u0435\\u043d\\u043a\\u043e\\u0432\\u0430 \\u042e\\u043b\\u0438\\u0430\\u043d\\u043d\\u0430\"},\"contact\":{\"\\u0418\\u0414\\u041d\\u041e\":\"0\",\"\\u0410\\u0434\\u0440\\u0435\\u0441\":\"Dubasari Vechi\",\"\\u041f\\u043e\\u0432\\u0442\\u043e\\u0440\\u043d\\u044b\\u0439 \\u043a\\u043b\\u0438\\u0435\\u043d\\u0442?\":\"\\u0414\\u0430\",\"\\u0414\\u0430\\u0442\\u0430 \\u043c\\u043e\\u043d\\u0442\\u0430\\u0436\\u0430 (\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442)\":\"13.10.2025\",\"\\u0422\\u0438\\u043f \\u0438 \\u043c\\u043e\\u0434\\u0435\\u043b\\u044c \\u043e\\u0431\\u043e\\u0440\\u0443\\u0434\\u043e\\u0432\\u0430\\u043d\\u0438\\u044f (\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442)\":\"Gree Clivia 35\",\"\\u041a\\u043e\\u043b - \\u0432\\u043e \\u043e\\u0431\\u043e\\u0440\\u0443\\u0434\\u043e\\u0432\\u0430\\u043d\\u0438\\u044f (\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442)\":\"1\",\"\\u041a\\u0442\\u043e \\u043c\\u043e\\u043d\\u0442\\u0438\\u0440\\u043e\\u0432\\u0430\\u043b (\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442)\":\"\\u041c\\u0430\\u0441\\u0442\\u0435\\u0440 \\u043a\\u043e\\u043c\\u043f\\u0430\\u043d\\u0438\\u0438 Edenvor SRL\",\"\\u041d\\u043e\\u043c\\u0435\\u0440 \\u043a\\u043e\\u043d\\u0442\\u0440\\u0430\\u043a\\u0442\\u0430 (\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442)\":\"K6870\",\"\\u0418\\u043c\\u044f \\u043a\\u043b\\u0438\\u0435\\u043d\\u0442\\u0430 (\\u0421\\u041c\\u0421)\":\"Marin\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"37360466610\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Marin Burla\",\"Contact_name\":\"Marin Burla\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"\\u0410\\u0441\\u0442\\u0430\\u043f\\u0435\\u043d\\u043a\\u043e\\u0432\\u0430 \\u042e\\u043b\\u0438\\u0430\\u043d\\u043d\\u0430\",\"Responsible\":\"\\u0410\\u0441\\u0442\\u0430\\u043f\\u0435\\u043d\\u043a\\u043e\\u0432\\u0430 \\u042e\\u043b\\u0438\\u0430\\u043d\\u043d\\u0430\"},\"\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442\\u044b\":[{\"\\u0418\\u0414\\u041d\\u041e\":\"0\",\"\\u0410\\u0434\\u0440\\u0435\\u0441\":\"Dubasari Vechi\",\"\\u041f\\u043e\\u0432\\u0442\\u043e\\u0440\\u043d\\u044b\\u0439 \\u043a\\u043b\\u0438\\u0435\\u043d\\u0442?\":\"\\u0414\\u0430\",\"\\u0414\\u0430\\u0442\\u0430 \\u043c\\u043e\\u043d\\u0442\\u0430\\u0436\\u0430 (\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442)\":\"13.10.2025\",\"\\u0422\\u0438\\u043f \\u0438 \\u043c\\u043e\\u0434\\u0435\\u043b\\u044c \\u043e\\u0431\\u043e\\u0440\\u0443\\u0434\\u043e\\u0432\\u0430\\u043d\\u0438\\u044f (\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442)\":\"Gree Clivia 35\",\"\\u041a\\u043e\\u043b - \\u0432\\u043e \\u043e\\u0431\\u043e\\u0440\\u0443\\u0434\\u043e\\u0432\\u0430\\u043d\\u0438\\u044f (\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442)\":\"1\",\"\\u041a\\u0442\\u043e \\u043c\\u043e\\u043d\\u0442\\u0438\\u0440\\u043e\\u0432\\u0430\\u043b (\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442)\":\"\\u041c\\u0430\\u0441\\u0442\\u0435\\u0440 \\u043a\\u043e\\u043c\\u043f\\u0430\\u043d\\u0438\\u0438 Edenvor SRL\",\"\\u041d\\u043e\\u043c\\u0435\\u0440 \\u043a\\u043e\\u043d\\u0442\\u0440\\u0430\\u043a\\u0442\\u0430 (\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442)\":\"K6870\",\"\\u0418\\u043c\\u044f \\u043a\\u043b\\u0438\\u0435\\u043d\\u0442\\u0430 (\\u0421\\u041c\\u0421)\":\"Marin\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"37360466610\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Marin Burla\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"\\u0410\\u0441\\u0442\\u0430\\u043f\\u0435\\u043d\\u043a\\u043e\\u0432\\u0430 \\u042e\\u043b\\u0438\\u0430\\u043d\\u043d\\u0430\"}],\"\\u0434\\u043e\\u043a\\u0443\\u043c\\u0435\\u043d\\u0442\":{\"\\u0414\\u0430\\u0442\\u0430\":\"23.10.2026\",\"\\u041d\\u043e\\u043c\\u0435\\u0440\":\"1417\"},\"document\":{\"Date\":\"23.10.2026\",\"Number\":\"1417\"}}}","edit":true}} {"uid":"778ad71"}
[2026-10-23 13:58:55] docflow.DEBUG: GAS raw response {"raw":"[object] (stdClass: {\"code\":1,\"url\":\"https://docs.google.com/open?id=1wvME1iwzf4d50VOLXW8IhHU3UOuo8VjWBvXACsmB2z0\",\"file_id\":\"1wvME1iwzf4d50VOLXW8IhHU3UOuo8VjWBvXACsmB2z0\",\"error\":\"\",\"vars\":\"\"})"} {"uid":"778ad71"}
[2026-10-23 13:58:55] docflow.WARNING: AmoDrive generated-file move is not ready. {"fileId":"1wvME1iwzf4d50VOLXW8IhHU3UOuo8VjWBvXACsmB2z0","context":null} {"uid":"778ad71"}
[2026-10-23 13:58:59] docflow.INFO: Apel createDoc {"data":{"amoAccountId":"32990686","amoUserId":null,"amoEntityId":"40280897","amoEntityType":"2","templateId":"11646","corporateEntityId":"","settlementAccountId":"","is_signed":null,"gdi":null,"number":null,"currentAmoUserId":null,"lang":"ru"}} {"uid":"53f3648"}
[2026-10-23 13:59:00] docflow.INFO: Token is valid for account 32990686. [] {"uid":"53f3648"}
[2026-10-23 13:59:00] docflow.DEBUG: getClientAuth returned {"auth":"[object] (stdClass: {\"domain\":\"eurosanteh.amocrm.ru\",\"access_token\":\"eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImp0aSI6IjY5Mzc5OGZlNDIzMGE1MWY0YzI0ZmMxM2U1YzVkMzVmYTBiMTk5YjhkNzgwOGYxOThiNTNiZDBhNjhiYjJlM2IwYWQxMThmYzNhOTEwNjJjIn0.eyJhdWQiOiIwZDY0ZGZmYi1lNTRiLTQ0OGYtOWZiZi1iYWYyMjUxYTExZGIiLCJqdGkiOiI2OTM3OThmZTQyMzBhNTFmNGMyNGZjMTNlNWM1ZDM1ZmEwYjE5OWI4ZDc4MDhmMTk4YjUzYmQwYTY4YmIyZTNiMGFkMTE4ZmMzYTkxMDYyYyIsImlhdCI6MTc5Mjc1MzA5NCwibmJmIjoxNzkyNzUzMDk0LCJleHAiOjE3OTI4Mzk0OTQsInN1YiI6IjEzNjg3MzAyIiwiZ3JhbnRfdHlwZSI6IiIsImFjY291bnRfaWQiOjMyOTkwNjg2LCJiYXNlX2RvbWFpbiI6ImFtb2NybS5ydSIsInZlcnNpb24iOjIsInNjb3BlcyI6WyJwdXNoX25vdGlmaWNhdGlvbnMiLCJjcm0iLCJub3RpZmljYXRpb25zIl0sImhhc2hfdXVpZCI6IjQwYTU5NTBlLTc2Y2ItNDExMS1iMzEwLTY2NTFlYTExNjkyMSIsImFwaV9kb21haW4iOiJhcGktYi5hbW9jcm0ucnUifQ.LmcONZq4bG-4wu9yZLdix4X8YEJ9nnjo4EH6Gtm6_xVdDEu-aAT2kKF3da_wNDK9LvN4Kk4dpyolrDtajRotJBTS2kmtmExqa5EbRGeclQfHAHqXw63Pp4WZ0xAtOZ0RydvY4Zv9pSgffwBIaUrH4VGUiRz0JtnzUX94HfZTRvj0RVtdGH05wRqb3K14oexZxIuAeHlqaeoC5B8HnApykH2SERXLcXE61GxPBymRGMF51koNMW5WIoTo6DSTTSQLxshtNOgz1gomQn12gKDr7pVAEipYdEpiOkJAOzHovIeV1XnzxReiLWq8CIdTEuaVIc2h5MXt_F168QL8BpOPiA\"})","file":"/home/ytvmclwh/document.amocrm.md/src/Models/Docs.php","line":121} {"uid":"53f3648"}
[2026-10-23 13:59:03] docflow.DEBUG: AmoDrive docflow context request {"url":"https://google.emale.uno/api/docflow/google-context","query":{"account_id":"32990686","entity_id":"40280897","entity_type":"leads"}} {"uid":"53f3648"}
[2026-10-23 13:59:03] 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=32990686&amp;entity_id=40280897&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/10/23 13:59:03</td>\r\n</tr>\r\n</table>\r\n<hr><center>tengine</center>\r\n</body>\r\n</html>\r\n"} {"uid":"53f3648"}
[2026-10-23 13:59:03] docflow.DEBUG: AmoDrive docflow context request {"url":"https://gd.glucose-dev.online/api/docflow/google-context","query":{"account_id":"32990686","entity_id":"40280897","entity_type":"leads"}} {"uid":"53f3648"}
[2026-10-23 13:59:03] 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":32990686,"entityId":"40280897","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":"53f3648"}
[2026-10-23 13:59:03] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://google.emale.uno/api/docflow/prepare-generated-doc","payload":{"account_id":"32990686","entity_id":"40280897","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"53f3648"}
[2026-10-23 13:59:04] 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/10/23 13:59:04</td>\r\n</tr>\r\n</table>\r\n<hr><center>tengine</center>\r\n</body>\r\n</html>\r\n","payload":{"account_id":"32990686","entity_id":"40280897","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"53f3648"}
[2026-10-23 13:59:04] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://gd.glucose-dev.online/api/docflow/prepare-generated-doc","payload":{"account_id":"32990686","entity_id":"40280897","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"53f3648"}
[2026-10-23 13:59:04] 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\":32990686})","payload":{"account_id":"32990686","entity_id":"40280897","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"53f3648"}
[2026-10-23 13:59:04] docflow.DEBUG: GAS request {"url":"https://script.google.com/macros/s/AKfycbwrvOJD46zkuoTzdhpc1kulhV8jRfgQBFZfQ121nkIip_k8yKit4xrbWTOzaJ-C-Yed6w/exec","body":{"templateFileId":"1ISSW7q2any2Qldkh8ZtwiERwaib6ci11XCezBMQIcRU","accountId":"32990686","folderId":"1Us2AfskxgdA729xVr0F2vjZU9y5PlYDe","key":"~VTsK5dcnHc2cSSsjM$LFSjLlgbmJXwrp3R2P5nd","data":"{\"fileName\":\"Act primire predare new All for All 1417 20261023135903\",\"leadId\":\"40280897\",\"entities\":{\"\\u0441\\u0434\\u0435\\u043b\\u043a\\u0430\":{\"\\u0421\\u043b\\u0435\\u0434\\u0443\\u044e\\u0449\\u0430\\u044f \\u0434\\u0430\\u0442\\u0430 \\u0441\\u0435\\u0440\\u0432\\u0438\\u0441\\u0430\":\"13.10.2027\",\"\\u0414\\u0430\\u0442\\u0430 \\u043c\\u043e\\u043d\\u0442\\u0430\\u0436\\u0430 (\\u0411\\u0414)\":\"13.10.2025\",\"\\u041d\\u0430\\u0437\\u0432\\u0430\\u043d\\u0438\\u0435 \\u0442\\u043e\\u0432\\u0430\\u0440\\u0430 (\\u0411\\u0414)\":\"Gree Clivia 35\",\"\\u0412\\u0438\\u0434 \\u0440\\u0430\\u0431\\u043e\\u0442\\u044b (\\u0411\\u0414)\":\"\\u0423\\u0441\\u0442\\u0430\\u043d\\u043e\\u0432\\u043a\\u0430 \\u043a\\u043e\\u043d\\u0434\\u0438\\u0446\\u0438\\u043e\\u043d\\u0435\\u0440\\u0430\",\"\\u0424\\u0418\\u041e \\u043c\\u043e\\u043d\\u0442\\u0430\\u0436\\u043d\\u0438\\u043a\\u0430 (\\u0411\\u0414)\":\"\\u041d\\u0430\\u0433\\u0440\\u0438\\u043d\\u044f\\u043a \\u0418.\",\"\\u0414\\u0435\\u043d\\u044c \\u043d\\u0435\\u0434\\u0435\\u043b\\u0438\":\"\\u041f\\u044f\\u0442\\u043d\\u0438\\u0446\\u0430\",\"\\u0414\\u0430\\u0442\\u0430 \\u0438 \\u0432\\u0440\\u0435\\u043c\\u044f \\u0432\\u0438\\u0437\\u0438\\u0442\\u0430\":\"2026-10-26 13:54:00\",\"\\u0414\\u0430\\u0442\\u0430 \\u0432\\u0438\\u0437\\u0438\\u0442\\u0430\":\"26.10.2026\",\"\\u0426\\u0435\\u043b\\u044c \\u0432\\u044b\\u0435\\u0437\\u0434\\u0430\":\"\\u041f\\u0440\\u043e\\u0444\\u0438\\u043b\\u0430\\u043a\\u0442\\u0438\\u043a\\u0430 \\u043f\\u043e \\u0433\\u0430\\u0440\\u0430\\u043d\\u0442\\u0438\\u0438\",\"\\u0412\\u0438\\u0434 \\u0432\\u044b\\u043f\\u043e\\u043b\\u043d\\u0435\\u043d\\u043d\\u044b\\u0445 \\u0440\\u0430\\u0431\\u043e\\u0442\":\"\\u041f\\u0440\\u043e\\u0444\\u0438\\u043b\\u0430\\u043a\\u0442\\u0438\\u043a\\u0430 \\u0441\\u043f\\u043b\\u0438\\u0442-\\u0441\\u0438\\u0441\\u0442\\u0435\\u043c \\u0432\\u0441\\u0435\\u0445 \\u043c\\u043e\\u0449\\u043d\\u043e\\u0441\\u0442\\u0435\\u0439 (\\u043e\\u0447\\u0438\\u0441\\u0442\\u043a\\u0430, \\u043f\\u0440\\u043e\\u0432\\u0435\\u0440\\u043a\\u0430 \\u0440\\u0430\\u0431\\u043e\\u0442\\u044b)\",\"\\u041c\\u043e\\u0434\\u0435\\u043b\\u044c \\u043e\\u0431\\u043e\\u0440\\u0443\\u0434\\u043e\\u0432\\u0430\\u043d\\u0438\\u044f 1\":\"Gree Clivia 35\",\"ID\":\"40280897\",\"\\u0421\\u0434\\u0435\\u043b\\u043a\\u0430_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"\\u041f\\u0422\\u041e\",\"Lead_name\":\"\\u041f\\u0422\\u041e\",\"\\u0411\\u044e\\u0434\\u0436\\u0435\\u0442\":\"0\",\"Budget\":\"0\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"\\u0410\\u0441\\u0442\\u0430\\u043f\\u0435\\u043d\\u043a\\u043e\\u0432\\u0430 \\u042e\\u043b\\u0438\\u0430\\u043d\\u043d\\u0430\",\"Responsible\":\"\\u0410\\u0441\\u0442\\u0430\\u043f\\u0435\\u043d\\u043a\\u043e\\u0432\\u0430 \\u042e\\u043b\\u0438\\u0430\\u043d\\u043d\\u0430\"},\"lead\":{\"\\u0421\\u043b\\u0435\\u0434\\u0443\\u044e\\u0449\\u0430\\u044f \\u0434\\u0430\\u0442\\u0430 \\u0441\\u0435\\u0440\\u0432\\u0438\\u0441\\u0430\":\"13.10.2027\",\"\\u0414\\u0430\\u0442\\u0430 \\u043c\\u043e\\u043d\\u0442\\u0430\\u0436\\u0430 (\\u0411\\u0414)\":\"13.10.2025\",\"\\u041d\\u0430\\u0437\\u0432\\u0430\\u043d\\u0438\\u0435 \\u0442\\u043e\\u0432\\u0430\\u0440\\u0430 (\\u0411\\u0414)\":\"Gree Clivia 35\",\"\\u0412\\u0438\\u0434 \\u0440\\u0430\\u0431\\u043e\\u0442\\u044b (\\u0411\\u0414)\":\"\\u0423\\u0441\\u0442\\u0430\\u043d\\u043e\\u0432\\u043a\\u0430 \\u043a\\u043e\\u043d\\u0434\\u0438\\u0446\\u0438\\u043e\\u043d\\u0435\\u0440\\u0430\",\"\\u0424\\u0418\\u041e \\u043c\\u043e\\u043d\\u0442\\u0430\\u0436\\u043d\\u0438\\u043a\\u0430 (\\u0411\\u0414)\":\"\\u041d\\u0430\\u0433\\u0440\\u0438\\u043d\\u044f\\u043a \\u0418.\",\"\\u0414\\u0435\\u043d\\u044c \\u043d\\u0435\\u0434\\u0435\\u043b\\u0438\":\"\\u041f\\u044f\\u0442\\u043d\\u0438\\u0446\\u0430\",\"\\u0414\\u0430\\u0442\\u0430 \\u0438 \\u0432\\u0440\\u0435\\u043c\\u044f \\u0432\\u0438\\u0437\\u0438\\u0442\\u0430\":\"2026-10-26 13:54:00\",\"\\u0414\\u0430\\u0442\\u0430 \\u0432\\u0438\\u0437\\u0438\\u0442\\u0430\":\"26.10.2026\",\"\\u0426\\u0435\\u043b\\u044c \\u0432\\u044b\\u0435\\u0437\\u0434\\u0430\":\"\\u041f\\u0440\\u043e\\u0444\\u0438\\u043b\\u0430\\u043a\\u0442\\u0438\\u043a\\u0430 \\u043f\\u043e \\u0433\\u0430\\u0440\\u0430\\u043d\\u0442\\u0438\\u0438\",\"\\u0412\\u0438\\u0434 \\u0432\\u044b\\u043f\\u043e\\u043b\\u043d\\u0435\\u043d\\u043d\\u044b\\u0445 \\u0440\\u0430\\u0431\\u043e\\u0442\":\"\\u041f\\u0440\\u043e\\u0444\\u0438\\u043b\\u0430\\u043a\\u0442\\u0438\\u043a\\u0430 \\u0441\\u043f\\u043b\\u0438\\u0442-\\u0441\\u0438\\u0441\\u0442\\u0435\\u043c \\u0432\\u0441\\u0435\\u0445 \\u043c\\u043e\\u0449\\u043d\\u043e\\u0441\\u0442\\u0435\\u0439 (\\u043e\\u0447\\u0438\\u0441\\u0442\\u043a\\u0430, \\u043f\\u0440\\u043e\\u0432\\u0435\\u0440\\u043a\\u0430 \\u0440\\u0430\\u0431\\u043e\\u0442\\u044b)\",\"\\u041c\\u043e\\u0434\\u0435\\u043b\\u044c \\u043e\\u0431\\u043e\\u0440\\u0443\\u0434\\u043e\\u0432\\u0430\\u043d\\u0438\\u044f 1\":\"Gree Clivia 35\",\"ID\":\"40280897\",\"\\u0421\\u0434\\u0435\\u043b\\u043a\\u0430_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"\\u041f\\u0422\\u041e\",\"Lead_name\":\"\\u041f\\u0422\\u041e\",\"\\u0411\\u044e\\u0434\\u0436\\u0435\\u0442\":\"0\",\"Budget\":\"0\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"\\u0410\\u0441\\u0442\\u0430\\u043f\\u0435\\u043d\\u043a\\u043e\\u0432\\u0430 \\u042e\\u043b\\u0438\\u0430\\u043d\\u043d\\u0430\",\"Responsible\":\"\\u0410\\u0441\\u0442\\u0430\\u043f\\u0435\\u043d\\u043a\\u043e\\u0432\\u0430 \\u042e\\u043b\\u0438\\u0430\\u043d\\u043d\\u0430\"},\"\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442\":{\"\\u0418\\u0414\\u041d\\u041e\":\"0\",\"\\u0410\\u0434\\u0440\\u0435\\u0441\":\"Dubasari Vechi\",\"\\u041f\\u043e\\u0432\\u0442\\u043e\\u0440\\u043d\\u044b\\u0439 \\u043a\\u043b\\u0438\\u0435\\u043d\\u0442?\":\"\\u0414\\u0430\",\"\\u0414\\u0430\\u0442\\u0430 \\u043c\\u043e\\u043d\\u0442\\u0430\\u0436\\u0430 (\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442)\":\"13.10.2025\",\"\\u0422\\u0438\\u043f \\u0438 \\u043c\\u043e\\u0434\\u0435\\u043b\\u044c \\u043e\\u0431\\u043e\\u0440\\u0443\\u0434\\u043e\\u0432\\u0430\\u043d\\u0438\\u044f (\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442)\":\"Gree Clivia 35\",\"\\u041a\\u043e\\u043b - \\u0432\\u043e \\u043e\\u0431\\u043e\\u0440\\u0443\\u0434\\u043e\\u0432\\u0430\\u043d\\u0438\\u044f (\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442)\":\"1\",\"\\u041a\\u0442\\u043e \\u043c\\u043e\\u043d\\u0442\\u0438\\u0440\\u043e\\u0432\\u0430\\u043b (\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442)\":\"\\u041c\\u0430\\u0441\\u0442\\u0435\\u0440 \\u043a\\u043e\\u043c\\u043f\\u0430\\u043d\\u0438\\u0438 Edenvor SRL\",\"\\u041d\\u043e\\u043c\\u0435\\u0440 \\u043a\\u043e\\u043d\\u0442\\u0440\\u0430\\u043a\\u0442\\u0430 (\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442)\":\"K6870\",\"\\u0418\\u043c\\u044f \\u043a\\u043b\\u0438\\u0435\\u043d\\u0442\\u0430 (\\u0421\\u041c\\u0421)\":\"Marin\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"37360466610\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Marin Burla\",\"Contact_name\":\"Marin Burla\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"\\u0410\\u0441\\u0442\\u0430\\u043f\\u0435\\u043d\\u043a\\u043e\\u0432\\u0430 \\u042e\\u043b\\u0438\\u0430\\u043d\\u043d\\u0430\",\"Responsible\":\"\\u0410\\u0441\\u0442\\u0430\\u043f\\u0435\\u043d\\u043a\\u043e\\u0432\\u0430 \\u042e\\u043b\\u0438\\u0430\\u043d\\u043d\\u0430\"},\"contact\":{\"\\u0418\\u0414\\u041d\\u041e\":\"0\",\"\\u0410\\u0434\\u0440\\u0435\\u0441\":\"Dubasari Vechi\",\"\\u041f\\u043e\\u0432\\u0442\\u043e\\u0440\\u043d\\u044b\\u0439 \\u043a\\u043b\\u0438\\u0435\\u043d\\u0442?\":\"\\u0414\\u0430\",\"\\u0414\\u0430\\u0442\\u0430 \\u043c\\u043e\\u043d\\u0442\\u0430\\u0436\\u0430 (\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442)\":\"13.10.2025\",\"\\u0422\\u0438\\u043f \\u0438 \\u043c\\u043e\\u0434\\u0435\\u043b\\u044c \\u043e\\u0431\\u043e\\u0440\\u0443\\u0434\\u043e\\u0432\\u0430\\u043d\\u0438\\u044f (\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442)\":\"Gree Clivia 35\",\"\\u041a\\u043e\\u043b - \\u0432\\u043e \\u043e\\u0431\\u043e\\u0440\\u0443\\u0434\\u043e\\u0432\\u0430\\u043d\\u0438\\u044f (\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442)\":\"1\",\"\\u041a\\u0442\\u043e \\u043c\\u043e\\u043d\\u0442\\u0438\\u0440\\u043e\\u0432\\u0430\\u043b (\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442)\":\"\\u041c\\u0430\\u0441\\u0442\\u0435\\u0440 \\u043a\\u043e\\u043c\\u043f\\u0430\\u043d\\u0438\\u0438 Edenvor SRL\",\"\\u041d\\u043e\\u043c\\u0435\\u0440 \\u043a\\u043e\\u043d\\u0442\\u0440\\u0430\\u043a\\u0442\\u0430 (\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442)\":\"K6870\",\"\\u0418\\u043c\\u044f \\u043a\\u043b\\u0438\\u0435\\u043d\\u0442\\u0430 (\\u0421\\u041c\\u0421)\":\"Marin\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"37360466610\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Marin Burla\",\"Contact_name\":\"Marin Burla\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"\\u0410\\u0441\\u0442\\u0430\\u043f\\u0435\\u043d\\u043a\\u043e\\u0432\\u0430 \\u042e\\u043b\\u0438\\u0430\\u043d\\u043d\\u0430\",\"Responsible\":\"\\u0410\\u0441\\u0442\\u0430\\u043f\\u0435\\u043d\\u043a\\u043e\\u0432\\u0430 \\u042e\\u043b\\u0438\\u0430\\u043d\\u043d\\u0430\"},\"\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442\\u044b\":[{\"\\u0418\\u0414\\u041d\\u041e\":\"0\",\"\\u0410\\u0434\\u0440\\u0435\\u0441\":\"Dubasari Vechi\",\"\\u041f\\u043e\\u0432\\u0442\\u043e\\u0440\\u043d\\u044b\\u0439 \\u043a\\u043b\\u0438\\u0435\\u043d\\u0442?\":\"\\u0414\\u0430\",\"\\u0414\\u0430\\u0442\\u0430 \\u043c\\u043e\\u043d\\u0442\\u0430\\u0436\\u0430 (\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442)\":\"13.10.2025\",\"\\u0422\\u0438\\u043f \\u0438 \\u043c\\u043e\\u0434\\u0435\\u043b\\u044c \\u043e\\u0431\\u043e\\u0440\\u0443\\u0434\\u043e\\u0432\\u0430\\u043d\\u0438\\u044f (\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442)\":\"Gree Clivia 35\",\"\\u041a\\u043e\\u043b - \\u0432\\u043e \\u043e\\u0431\\u043e\\u0440\\u0443\\u0434\\u043e\\u0432\\u0430\\u043d\\u0438\\u044f (\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442)\":\"1\",\"\\u041a\\u0442\\u043e \\u043c\\u043e\\u043d\\u0442\\u0438\\u0440\\u043e\\u0432\\u0430\\u043b (\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442)\":\"\\u041c\\u0430\\u0441\\u0442\\u0435\\u0440 \\u043a\\u043e\\u043c\\u043f\\u0430\\u043d\\u0438\\u0438 Edenvor SRL\",\"\\u041d\\u043e\\u043c\\u0435\\u0440 \\u043a\\u043e\\u043d\\u0442\\u0440\\u0430\\u043a\\u0442\\u0430 (\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442)\":\"K6870\",\"\\u0418\\u043c\\u044f \\u043a\\u043b\\u0438\\u0435\\u043d\\u0442\\u0430 (\\u0421\\u041c\\u0421)\":\"Marin\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"37360466610\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Marin Burla\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"\\u0410\\u0441\\u0442\\u0430\\u043f\\u0435\\u043d\\u043a\\u043e\\u0432\\u0430 \\u042e\\u043b\\u0438\\u0430\\u043d\\u043d\\u0430\"}],\"\\u0434\\u043e\\u043a\\u0443\\u043c\\u0435\\u043d\\u0442\":{\"\\u0414\\u0430\\u0442\\u0430\":\"23.10.2026\",\"\\u041d\\u043e\\u043c\\u0435\\u0440\":\"1417\"},\"document\":{\"Date\":\"23.10.2026\",\"Number\":\"1417\"}}}","edit":true}} {"uid":"53f3648"}
[2026-10-23 13:59:16] docflow.DEBUG: GAS raw response {"raw":"[object] (stdClass: {\"code\":1,\"url\":\"https://docs.google.com/open?id=1yT1V5rQCpCka6-a52RtJRdmQn9wz55EUoVTceHvqnZE\",\"file_id\":\"1yT1V5rQCpCka6-a52RtJRdmQn9wz55EUoVTceHvqnZE\",\"error\":\"\",\"vars\":\"\"})"} {"uid":"53f3648"}
[2026-10-23 13:59:16] docflow.WARNING: AmoDrive generated-file move is not ready. {"fileId":"1yT1V5rQCpCka6-a52RtJRdmQn9wz55EUoVTceHvqnZE","context":null} {"uid":"53f3648"}
[2026-10-23 14:03:21] docflow.INFO: Apel createDoc {"data":{"amoAccountId":"32990686","amoUserId":null,"amoEntityId":"40281249","amoEntityType":"2","templateId":"11625","corporateEntityId":"","settlementAccountId":"","is_signed":null,"gdi":null,"number":null,"currentAmoUserId":null,"lang":"ru"}} {"uid":"90eaa78"}
[2026-10-23 14:03:22] docflow.INFO: Token is valid for account 32990686. [] {"uid":"90eaa78"}
[2026-10-23 14:03:22] docflow.DEBUG: getClientAuth returned {"auth":"[object] (stdClass: {\"domain\":\"eurosanteh.amocrm.ru\",\"access_token\":\"eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImp0aSI6IjY5Mzc5OGZlNDIzMGE1MWY0YzI0ZmMxM2U1YzVkMzVmYTBiMTk5YjhkNzgwOGYxOThiNTNiZDBhNjhiYjJlM2IwYWQxMThmYzNhOTEwNjJjIn0.eyJhdWQiOiIwZDY0ZGZmYi1lNTRiLTQ0OGYtOWZiZi1iYWYyMjUxYTExZGIiLCJqdGkiOiI2OTM3OThmZTQyMzBhNTFmNGMyNGZjMTNlNWM1ZDM1ZmEwYjE5OWI4ZDc4MDhmMTk4YjUzYmQwYTY4YmIyZTNiMGFkMTE4ZmMzYTkxMDYyYyIsImlhdCI6MTc5Mjc1MzA5NCwibmJmIjoxNzkyNzUzMDk0LCJleHAiOjE3OTI4Mzk0OTQsInN1YiI6IjEzNjg3MzAyIiwiZ3JhbnRfdHlwZSI6IiIsImFjY291bnRfaWQiOjMyOTkwNjg2LCJiYXNlX2RvbWFpbiI6ImFtb2NybS5ydSIsInZlcnNpb24iOjIsInNjb3BlcyI6WyJwdXNoX25vdGlmaWNhdGlvbnMiLCJjcm0iLCJub3RpZmljYXRpb25zIl0sImhhc2hfdXVpZCI6IjQwYTU5NTBlLTc2Y2ItNDExMS1iMzEwLTY2NTFlYTExNjkyMSIsImFwaV9kb21haW4iOiJhcGktYi5hbW9jcm0ucnUifQ.LmcONZq4bG-4wu9yZLdix4X8YEJ9nnjo4EH6Gtm6_xVdDEu-aAT2kKF3da_wNDK9LvN4Kk4dpyolrDtajRotJBTS2kmtmExqa5EbRGeclQfHAHqXw63Pp4WZ0xAtOZ0RydvY4Zv9pSgffwBIaUrH4VGUiRz0JtnzUX94HfZTRvj0RVtdGH05wRqb3K14oexZxIuAeHlqaeoC5B8HnApykH2SERXLcXE61GxPBymRGMF51koNMW5WIoTo6DSTTSQLxshtNOgz1gomQn12gKDr7pVAEipYdEpiOkJAOzHovIeV1XnzxReiLWq8CIdTEuaVIc2h5MXt_F168QL8BpOPiA\"})","file":"/home/ytvmclwh/document.amocrm.md/src/Models/Docs.php","line":121} {"uid":"90eaa78"}
[2026-10-23 14:03:24] docflow.DEBUG: AmoDrive docflow context request {"url":"https://google.emale.uno/api/docflow/google-context","query":{"account_id":"32990686","entity_id":"40281249","entity_type":"leads"}} {"uid":"90eaa78"}
[2026-10-23 14:03:24] 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=32990686&amp;entity_id=40281249&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/10/23 14:03:24</td>\r\n</tr>\r\n</table>\r\n<hr><center>tengine</center>\r\n</body>\r\n</html>\r\n"} {"uid":"90eaa78"}
[2026-10-23 14:03:24] docflow.DEBUG: AmoDrive docflow context request {"url":"https://gd.glucose-dev.online/api/docflow/google-context","query":{"account_id":"32990686","entity_id":"40281249","entity_type":"leads"}} {"uid":"90eaa78"}
[2026-10-23 14:03:24] 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":32990686,"entityId":"40281249","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":"90eaa78"}
[2026-10-23 14:03:24] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://google.emale.uno/api/docflow/prepare-generated-doc","payload":{"account_id":"32990686","entity_id":"40281249","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"90eaa78"}
[2026-10-23 14:03:24] 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/10/23 14:03:24</td>\r\n</tr>\r\n</table>\r\n<hr><center>tengine</center>\r\n</body>\r\n</html>\r\n","payload":{"account_id":"32990686","entity_id":"40281249","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"90eaa78"}
[2026-10-23 14:03:24] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://gd.glucose-dev.online/api/docflow/prepare-generated-doc","payload":{"account_id":"32990686","entity_id":"40281249","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"90eaa78"}
[2026-10-23 14:03:24] 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\":32990686})","payload":{"account_id":"32990686","entity_id":"40281249","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"90eaa78"}
[2026-10-23 14:03:24] docflow.DEBUG: GAS request {"url":"https://script.google.com/macros/s/AKfycbwrvOJD46zkuoTzdhpc1kulhV8jRfgQBFZfQ121nkIip_k8yKit4xrbWTOzaJ-C-Yed6w/exec","body":{"templateFileId":"1AjK4khA9mRlFDVy4RXRqHAg2GTFWJYC-Gac1Mx3OLnA","accountId":"32990686","folderId":"1Us2AfskxgdA729xVr0F2vjZU9y5PlYDe","key":"~VTsK5dcnHc2cSSsjM$LFSjLlgbmJXwrp3R2P5nd","data":"{\"fileName\":\"ALL FOR ALL \\u041d\\u0430\\u0440\\u044f\\u0434 \\u043d\\u0430 \\u0432\\u044b\\u043f\\u043e\\u043b\\u043d\\u0435\\u043d\\u0438\\u0435 \\u0440\\u0430\\u0431\\u043e\\u0442 1418 20261023140324\",\"leadId\":\"40281249\",\"entities\":{\"\\u0441\\u0434\\u0435\\u043b\\u043a\\u0430\":{\"\\u0421\\u043b\\u0435\\u0434\\u0443\\u044e\\u0449\\u0430\\u044f \\u0434\\u0430\\u0442\\u0430 \\u0441\\u0435\\u0440\\u0432\\u0438\\u0441\\u0430\":\"24.10.2027\",\"\\u0414\\u0430\\u0442\\u0430 \\u043c\\u043e\\u043d\\u0442\\u0430\\u0436\\u0430 (\\u0411\\u0414)\":\"30.10.2025\",\"\\u041d\\u0430\\u0437\\u0432\\u0430\\u043d\\u0438\\u0435 \\u0442\\u043e\\u0432\\u0430\\u0440\\u0430 (\\u0411\\u0414)\":\"Haier Revive 35\",\"\\u0412\\u0438\\u0434 \\u0440\\u0430\\u0431\\u043e\\u0442\\u044b (\\u0411\\u0414)\":\"\\u0423\\u0441\\u0442\\u0430\\u043d\\u043e\\u0432\\u043a\\u0430 \\u043a\\u043e\\u043d\\u0434\\u0438\\u0446\\u0438\\u043e\\u043d\\u0435\\u0440\\u0430\",\"\\u0424\\u0418\\u041e \\u043c\\u043e\\u043d\\u0442\\u0430\\u0436\\u043d\\u0438\\u043a\\u0430 (\\u0411\\u0414)\":\"\\u0411\\u043e\\u0442\\u043d\\u0430\\u0440\\u044e\\u043a \\u0412.\",\"\\u0414\\u0435\\u043d\\u044c \\u043d\\u0435\\u0434\\u0435\\u043b\\u0438\":\"\\u041f\\u044f\\u0442\\u043d\\u0438\\u0446\\u0430\",\"\\u0414\\u0430\\u0442\\u0430 \\u0438 \\u0432\\u0440\\u0435\\u043c\\u044f \\u0432\\u0438\\u0437\\u0438\\u0442\\u0430\":\"2026-10-24 10:27:00\",\"\\u0414\\u0430\\u0442\\u0430 \\u0432\\u0438\\u0437\\u0438\\u0442\\u0430\":\"24.10.2026\",\"\\u041c\\u043e\\u0434\\u0435\\u043b\\u044c \\u043e\\u0431\\u043e\\u0440\\u0443\\u0434\\u043e\\u0432\\u0430\\u043d\\u0438\\u044f 1\":\"Haier Revive 35\",\"\\u0426\\u0435\\u043b\\u044c \\u0432\\u044b\\u0435\\u0437\\u0434\\u0430\":\"\\u041f\\u0440\\u043e\\u0444\\u0438\\u043b\\u0430\\u043a\\u0442\\u0438\\u043a\\u0430 \\u043f\\u043e \\u0433\\u0430\\u0440\\u0430\\u043d\\u0442\\u0438\\u0438\",\"\\u0412\\u0438\\u0434 \\u0432\\u044b\\u043f\\u043e\\u043b\\u043d\\u0435\\u043d\\u043d\\u044b\\u0445 \\u0440\\u0430\\u0431\\u043e\\u0442\":\"\\u041f\\u0440\\u043e\\u0444\\u0438\\u043b\\u0430\\u043a\\u0442\\u0438\\u043a\\u0430 \\u0441\\u043f\\u043b\\u0438\\u0442-\\u0441\\u0438\\u0441\\u0442\\u0435\\u043c \\u0432\\u0441\\u0435\\u0445 \\u043c\\u043e\\u0449\\u043d\\u043e\\u0441\\u0442\\u0435\\u0439 (\\u043e\\u0447\\u0438\\u0441\\u0442\\u043a\\u0430, \\u043f\\u0440\\u043e\\u0432\\u0435\\u0440\\u043a\\u0430 \\u0440\\u0430\\u0431\\u043e\\u0442\\u044b)\",\"ID\":\"40281249\",\"\\u0421\\u0434\\u0435\\u043b\\u043a\\u0430_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"\\u041f\\u0422\\u041e\",\"Lead_name\":\"\\u041f\\u0422\\u041e\",\"\\u0411\\u044e\\u0434\\u0436\\u0435\\u0442\":\"0\",\"Budget\":\"0\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"\\u0410\\u0441\\u0442\\u0430\\u043f\\u0435\\u043d\\u043a\\u043e\\u0432\\u0430 \\u042e\\u043b\\u0438\\u0430\\u043d\\u043d\\u0430\",\"Responsible\":\"\\u0410\\u0441\\u0442\\u0430\\u043f\\u0435\\u043d\\u043a\\u043e\\u0432\\u0430 \\u042e\\u043b\\u0438\\u0430\\u043d\\u043d\\u0430\"},\"lead\":{\"\\u0421\\u043b\\u0435\\u0434\\u0443\\u044e\\u0449\\u0430\\u044f \\u0434\\u0430\\u0442\\u0430 \\u0441\\u0435\\u0440\\u0432\\u0438\\u0441\\u0430\":\"24.10.2027\",\"\\u0414\\u0430\\u0442\\u0430 \\u043c\\u043e\\u043d\\u0442\\u0430\\u0436\\u0430 (\\u0411\\u0414)\":\"30.10.2025\",\"\\u041d\\u0430\\u0437\\u0432\\u0430\\u043d\\u0438\\u0435 \\u0442\\u043e\\u0432\\u0430\\u0440\\u0430 (\\u0411\\u0414)\":\"Haier Revive 35\",\"\\u0412\\u0438\\u0434 \\u0440\\u0430\\u0431\\u043e\\u0442\\u044b (\\u0411\\u0414)\":\"\\u0423\\u0441\\u0442\\u0430\\u043d\\u043e\\u0432\\u043a\\u0430 \\u043a\\u043e\\u043d\\u0434\\u0438\\u0446\\u0438\\u043e\\u043d\\u0435\\u0440\\u0430\",\"\\u0424\\u0418\\u041e \\u043c\\u043e\\u043d\\u0442\\u0430\\u0436\\u043d\\u0438\\u043a\\u0430 (\\u0411\\u0414)\":\"\\u0411\\u043e\\u0442\\u043d\\u0430\\u0440\\u044e\\u043a \\u0412.\",\"\\u0414\\u0435\\u043d\\u044c \\u043d\\u0435\\u0434\\u0435\\u043b\\u0438\":\"\\u041f\\u044f\\u0442\\u043d\\u0438\\u0446\\u0430\",\"\\u0414\\u0430\\u0442\\u0430 \\u0438 \\u0432\\u0440\\u0435\\u043c\\u044f \\u0432\\u0438\\u0437\\u0438\\u0442\\u0430\":\"2026-10-24 10:27:00\",\"\\u0414\\u0430\\u0442\\u0430 \\u0432\\u0438\\u0437\\u0438\\u0442\\u0430\":\"24.10.2026\",\"\\u041c\\u043e\\u0434\\u0435\\u043b\\u044c \\u043e\\u0431\\u043e\\u0440\\u0443\\u0434\\u043e\\u0432\\u0430\\u043d\\u0438\\u044f 1\":\"Haier Revive 35\",\"\\u0426\\u0435\\u043b\\u044c \\u0432\\u044b\\u0435\\u0437\\u0434\\u0430\":\"\\u041f\\u0440\\u043e\\u0444\\u0438\\u043b\\u0430\\u043a\\u0442\\u0438\\u043a\\u0430 \\u043f\\u043e \\u0433\\u0430\\u0440\\u0430\\u043d\\u0442\\u0438\\u0438\",\"\\u0412\\u0438\\u0434 \\u0432\\u044b\\u043f\\u043e\\u043b\\u043d\\u0435\\u043d\\u043d\\u044b\\u0445 \\u0440\\u0430\\u0431\\u043e\\u0442\":\"\\u041f\\u0440\\u043e\\u0444\\u0438\\u043b\\u0430\\u043a\\u0442\\u0438\\u043a\\u0430 \\u0441\\u043f\\u043b\\u0438\\u0442-\\u0441\\u0438\\u0441\\u0442\\u0435\\u043c \\u0432\\u0441\\u0435\\u0445 \\u043c\\u043e\\u0449\\u043d\\u043e\\u0441\\u0442\\u0435\\u0439 (\\u043e\\u0447\\u0438\\u0441\\u0442\\u043a\\u0430, \\u043f\\u0440\\u043e\\u0432\\u0435\\u0440\\u043a\\u0430 \\u0440\\u0430\\u0431\\u043e\\u0442\\u044b)\",\"ID\":\"40281249\",\"\\u0421\\u0434\\u0435\\u043b\\u043a\\u0430_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"\\u041f\\u0422\\u041e\",\"Lead_name\":\"\\u041f\\u0422\\u041e\",\"\\u0411\\u044e\\u0434\\u0436\\u0435\\u0442\":\"0\",\"Budget\":\"0\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"\\u0410\\u0441\\u0442\\u0430\\u043f\\u0435\\u043d\\u043a\\u043e\\u0432\\u0430 \\u042e\\u043b\\u0438\\u0430\\u043d\\u043d\\u0430\",\"Responsible\":\"\\u0410\\u0441\\u0442\\u0430\\u043f\\u0435\\u043d\\u043a\\u043e\\u0432\\u0430 \\u042e\\u043b\\u0438\\u0430\\u043d\\u043d\\u0430\"},\"\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442\":{\"\\u0418\\u0414\\u041d\\u041e\":\"2004033085054\",\"\\u0410\\u0434\\u0440\\u0435\\u0441\":\"Straseni sat.Roscani\",\"\\u041f\\u043e\\u0432\\u0442\\u043e\\u0440\\u043d\\u044b\\u0439 \\u043a\\u043b\\u0438\\u0435\\u043d\\u0442?\":\"\\u0414\\u0430\",\"\\u0414\\u0430\\u0442\\u0430 \\u043c\\u043e\\u043d\\u0442\\u0430\\u0436\\u0430 (\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442)\":\"30.10.2025\",\"\\u0422\\u0438\\u043f \\u0438 \\u043c\\u043e\\u0434\\u0435\\u043b\\u044c \\u043e\\u0431\\u043e\\u0440\\u0443\\u0434\\u043e\\u0432\\u0430\\u043d\\u0438\\u044f (\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442)\":\"Haier Revive 35\",\"\\u041a\\u043e\\u043b - \\u0432\\u043e \\u043e\\u0431\\u043e\\u0440\\u0443\\u0434\\u043e\\u0432\\u0430\\u043d\\u0438\\u044f (\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442)\":\"1\",\"\\u041a\\u0442\\u043e \\u043c\\u043e\\u043d\\u0442\\u0438\\u0440\\u043e\\u0432\\u0430\\u043b (\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442)\":\"\\u041c\\u0430\\u0441\\u0442\\u0435\\u0440 \\u043a\\u043e\\u043c\\u043f\\u0430\\u043d\\u0438\\u0438 Edenvor SRL\",\"\\u041d\\u043e\\u043c\\u0435\\u0440 \\u043a\\u043e\\u043d\\u0442\\u0440\\u0430\\u043a\\u0442\\u0430 (\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442)\":\"B7298\",\"\\u0418\\u043c\\u044f \\u043a\\u043b\\u0438\\u0435\\u043d\\u0442\\u0430 (\\u0421\\u041c\\u0421)\":\"Vasile\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"37360283043\",\"\\u0422\\u0438\\u043f \\u043a\\u043b\\u0438\\u0435\\u043d\\u0442\\u0430\":\"\\u0424\\u0438\\u0437.\\u043b\\u0438\\u0446\",\"\\u0420\\u0430\\u0439\\u043e\\u043d\":\"\\u0426\\u0435\\u043d\\u0442\\u0440\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Vasile Stavila\",\"Contact_name\":\"Vasile Stavila\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"\\u0410\\u0441\\u0442\\u0430\\u043f\\u0435\\u043d\\u043a\\u043e\\u0432\\u0430 \\u042e\\u043b\\u0438\\u0430\\u043d\\u043d\\u0430\",\"Responsible\":\"\\u0410\\u0441\\u0442\\u0430\\u043f\\u0435\\u043d\\u043a\\u043e\\u0432\\u0430 \\u042e\\u043b\\u0438\\u0430\\u043d\\u043d\\u0430\"},\"contact\":{\"\\u0418\\u0414\\u041d\\u041e\":\"2004033085054\",\"\\u0410\\u0434\\u0440\\u0435\\u0441\":\"Straseni sat.Roscani\",\"\\u041f\\u043e\\u0432\\u0442\\u043e\\u0440\\u043d\\u044b\\u0439 \\u043a\\u043b\\u0438\\u0435\\u043d\\u0442?\":\"\\u0414\\u0430\",\"\\u0414\\u0430\\u0442\\u0430 \\u043c\\u043e\\u043d\\u0442\\u0430\\u0436\\u0430 (\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442)\":\"30.10.2025\",\"\\u0422\\u0438\\u043f \\u0438 \\u043c\\u043e\\u0434\\u0435\\u043b\\u044c \\u043e\\u0431\\u043e\\u0440\\u0443\\u0434\\u043e\\u0432\\u0430\\u043d\\u0438\\u044f (\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442)\":\"Haier Revive 35\",\"\\u041a\\u043e\\u043b - \\u0432\\u043e \\u043e\\u0431\\u043e\\u0440\\u0443\\u0434\\u043e\\u0432\\u0430\\u043d\\u0438\\u044f (\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442)\":\"1\",\"\\u041a\\u0442\\u043e \\u043c\\u043e\\u043d\\u0442\\u0438\\u0440\\u043e\\u0432\\u0430\\u043b (\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442)\":\"\\u041c\\u0430\\u0441\\u0442\\u0435\\u0440 \\u043a\\u043e\\u043c\\u043f\\u0430\\u043d\\u0438\\u0438 Edenvor SRL\",\"\\u041d\\u043e\\u043c\\u0435\\u0440 \\u043a\\u043e\\u043d\\u0442\\u0440\\u0430\\u043a\\u0442\\u0430 (\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442)\":\"B7298\",\"\\u0418\\u043c\\u044f \\u043a\\u043b\\u0438\\u0435\\u043d\\u0442\\u0430 (\\u0421\\u041c\\u0421)\":\"Vasile\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"37360283043\",\"\\u0422\\u0438\\u043f \\u043a\\u043b\\u0438\\u0435\\u043d\\u0442\\u0430\":\"\\u0424\\u0438\\u0437.\\u043b\\u0438\\u0446\",\"\\u0420\\u0430\\u0439\\u043e\\u043d\":\"\\u0426\\u0435\\u043d\\u0442\\u0440\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Vasile Stavila\",\"Contact_name\":\"Vasile Stavila\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"\\u0410\\u0441\\u0442\\u0430\\u043f\\u0435\\u043d\\u043a\\u043e\\u0432\\u0430 \\u042e\\u043b\\u0438\\u0430\\u043d\\u043d\\u0430\",\"Responsible\":\"\\u0410\\u0441\\u0442\\u0430\\u043f\\u0435\\u043d\\u043a\\u043e\\u0432\\u0430 \\u042e\\u043b\\u0438\\u0430\\u043d\\u043d\\u0430\"},\"\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442\\u044b\":[{\"\\u0418\\u0414\\u041d\\u041e\":\"2004033085054\",\"\\u0410\\u0434\\u0440\\u0435\\u0441\":\"Straseni sat.Roscani\",\"\\u041f\\u043e\\u0432\\u0442\\u043e\\u0440\\u043d\\u044b\\u0439 \\u043a\\u043b\\u0438\\u0435\\u043d\\u0442?\":\"\\u0414\\u0430\",\"\\u0414\\u0430\\u0442\\u0430 \\u043c\\u043e\\u043d\\u0442\\u0430\\u0436\\u0430 (\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442)\":\"30.10.2025\",\"\\u0422\\u0438\\u043f \\u0438 \\u043c\\u043e\\u0434\\u0435\\u043b\\u044c \\u043e\\u0431\\u043e\\u0440\\u0443\\u0434\\u043e\\u0432\\u0430\\u043d\\u0438\\u044f (\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442)\":\"Haier Revive 35\",\"\\u041a\\u043e\\u043b - \\u0432\\u043e \\u043e\\u0431\\u043e\\u0440\\u0443\\u0434\\u043e\\u0432\\u0430\\u043d\\u0438\\u044f (\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442)\":\"1\",\"\\u041a\\u0442\\u043e \\u043c\\u043e\\u043d\\u0442\\u0438\\u0440\\u043e\\u0432\\u0430\\u043b (\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442)\":\"\\u041c\\u0430\\u0441\\u0442\\u0435\\u0440 \\u043a\\u043e\\u043c\\u043f\\u0430\\u043d\\u0438\\u0438 Edenvor SRL\",\"\\u041d\\u043e\\u043c\\u0435\\u0440 \\u043a\\u043e\\u043d\\u0442\\u0440\\u0430\\u043a\\u0442\\u0430 (\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442)\":\"B7298\",\"\\u0418\\u043c\\u044f \\u043a\\u043b\\u0438\\u0435\\u043d\\u0442\\u0430 (\\u0421\\u041c\\u0421)\":\"Vasile\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"37360283043\",\"\\u0422\\u0438\\u043f \\u043a\\u043b\\u0438\\u0435\\u043d\\u0442\\u0430\":\"\\u0424\\u0438\\u0437.\\u043b\\u0438\\u0446\",\"\\u0420\\u0430\\u0439\\u043e\\u043d\":\"\\u0426\\u0435\\u043d\\u0442\\u0440\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Vasile Stavila\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"\\u0410\\u0441\\u0442\\u0430\\u043f\\u0435\\u043d\\u043a\\u043e\\u0432\\u0430 \\u042e\\u043b\\u0438\\u0430\\u043d\\u043d\\u0430\"}],\"\\u0434\\u043e\\u043a\\u0443\\u043c\\u0435\\u043d\\u0442\":{\"\\u0414\\u0430\\u0442\\u0430\":\"23.10.2026\",\"\\u041d\\u043e\\u043c\\u0435\\u0440\":\"1418\"},\"document\":{\"Date\":\"23.10.2026\",\"Number\":\"1418\"}}}","edit":true}} {"uid":"90eaa78"}
[2026-10-23 14:03:31] docflow.DEBUG: GAS raw response {"raw":"[object] (stdClass: {\"code\":1,\"url\":\"https://docs.google.com/open?id=1XzJoJCwAfzD5PDCl1ykBq_oKZdagJegwWsEr5cEoDr4\",\"file_id\":\"1XzJoJCwAfzD5PDCl1ykBq_oKZdagJegwWsEr5cEoDr4\",\"error\":\"\",\"vars\":\"\"})"} {"uid":"90eaa78"}
[2026-10-23 14:03:31] docflow.WARNING: AmoDrive generated-file move is not ready. {"fileId":"1XzJoJCwAfzD5PDCl1ykBq_oKZdagJegwWsEr5cEoDr4","context":null} {"uid":"90eaa78"}
[2026-10-23 14:03:46] docflow.INFO: Apel createDoc {"data":{"amoAccountId":"32990686","amoUserId":null,"amoEntityId":"40281249","amoEntityType":"2","templateId":"11646","corporateEntityId":"","settlementAccountId":"","is_signed":null,"gdi":null,"number":null,"currentAmoUserId":null,"lang":"ru"}} {"uid":"a5055ac"}
[2026-10-23 14:03:47] docflow.INFO: Token is valid for account 32990686. [] {"uid":"a5055ac"}
[2026-10-23 14:03:47] docflow.DEBUG: getClientAuth returned {"auth":"[object] (stdClass: {\"domain\":\"eurosanteh.amocrm.ru\",\"access_token\":\"eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImp0aSI6IjY5Mzc5OGZlNDIzMGE1MWY0YzI0ZmMxM2U1YzVkMzVmYTBiMTk5YjhkNzgwOGYxOThiNTNiZDBhNjhiYjJlM2IwYWQxMThmYzNhOTEwNjJjIn0.eyJhdWQiOiIwZDY0ZGZmYi1lNTRiLTQ0OGYtOWZiZi1iYWYyMjUxYTExZGIiLCJqdGkiOiI2OTM3OThmZTQyMzBhNTFmNGMyNGZjMTNlNWM1ZDM1ZmEwYjE5OWI4ZDc4MDhmMTk4YjUzYmQwYTY4YmIyZTNiMGFkMTE4ZmMzYTkxMDYyYyIsImlhdCI6MTc5Mjc1MzA5NCwibmJmIjoxNzkyNzUzMDk0LCJleHAiOjE3OTI4Mzk0OTQsInN1YiI6IjEzNjg3MzAyIiwiZ3JhbnRfdHlwZSI6IiIsImFjY291bnRfaWQiOjMyOTkwNjg2LCJiYXNlX2RvbWFpbiI6ImFtb2NybS5ydSIsInZlcnNpb24iOjIsInNjb3BlcyI6WyJwdXNoX25vdGlmaWNhdGlvbnMiLCJjcm0iLCJub3RpZmljYXRpb25zIl0sImhhc2hfdXVpZCI6IjQwYTU5NTBlLTc2Y2ItNDExMS1iMzEwLTY2NTFlYTExNjkyMSIsImFwaV9kb21haW4iOiJhcGktYi5hbW9jcm0ucnUifQ.LmcONZq4bG-4wu9yZLdix4X8YEJ9nnjo4EH6Gtm6_xVdDEu-aAT2kKF3da_wNDK9LvN4Kk4dpyolrDtajRotJBTS2kmtmExqa5EbRGeclQfHAHqXw63Pp4WZ0xAtOZ0RydvY4Zv9pSgffwBIaUrH4VGUiRz0JtnzUX94HfZTRvj0RVtdGH05wRqb3K14oexZxIuAeHlqaeoC5B8HnApykH2SERXLcXE61GxPBymRGMF51koNMW5WIoTo6DSTTSQLxshtNOgz1gomQn12gKDr7pVAEipYdEpiOkJAOzHovIeV1XnzxReiLWq8CIdTEuaVIc2h5MXt_F168QL8BpOPiA\"})","file":"/home/ytvmclwh/document.amocrm.md/src/Models/Docs.php","line":121} {"uid":"a5055ac"}
[2026-10-23 14:03:49] docflow.DEBUG: AmoDrive docflow context request {"url":"https://google.emale.uno/api/docflow/google-context","query":{"account_id":"32990686","entity_id":"40281249","entity_type":"leads"}} {"uid":"a5055ac"}
[2026-10-23 14:03:49] 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=32990686&amp;entity_id=40281249&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/10/23 14:03:49</td>\r\n</tr>\r\n</table>\r\n<hr><center>tengine</center>\r\n</body>\r\n</html>\r\n"} {"uid":"a5055ac"}
[2026-10-23 14:03:49] docflow.DEBUG: AmoDrive docflow context request {"url":"https://gd.glucose-dev.online/api/docflow/google-context","query":{"account_id":"32990686","entity_id":"40281249","entity_type":"leads"}} {"uid":"a5055ac"}
[2026-10-23 14:03:49] 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":32990686,"entityId":"40281249","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":"a5055ac"}
[2026-10-23 14:03:49] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://google.emale.uno/api/docflow/prepare-generated-doc","payload":{"account_id":"32990686","entity_id":"40281249","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"a5055ac"}
[2026-10-23 14:03:50] 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/10/23 14:03:49</td>\r\n</tr>\r\n</table>\r\n<hr><center>tengine</center>\r\n</body>\r\n</html>\r\n","payload":{"account_id":"32990686","entity_id":"40281249","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"a5055ac"}
[2026-10-23 14:03:50] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://gd.glucose-dev.online/api/docflow/prepare-generated-doc","payload":{"account_id":"32990686","entity_id":"40281249","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"a5055ac"}
[2026-10-23 14:03:50] 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\":32990686})","payload":{"account_id":"32990686","entity_id":"40281249","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"a5055ac"}
[2026-10-23 14:03:50] docflow.DEBUG: GAS request {"url":"https://script.google.com/macros/s/AKfycbwrvOJD46zkuoTzdhpc1kulhV8jRfgQBFZfQ121nkIip_k8yKit4xrbWTOzaJ-C-Yed6w/exec","body":{"templateFileId":"1ISSW7q2any2Qldkh8ZtwiERwaib6ci11XCezBMQIcRU","accountId":"32990686","folderId":"1Us2AfskxgdA729xVr0F2vjZU9y5PlYDe","key":"~VTsK5dcnHc2cSSsjM$LFSjLlgbmJXwrp3R2P5nd","data":"{\"fileName\":\"Act primire predare new All for All 1418 20261023140349\",\"leadId\":\"40281249\",\"entities\":{\"\\u0441\\u0434\\u0435\\u043b\\u043a\\u0430\":{\"\\u0421\\u043b\\u0435\\u0434\\u0443\\u044e\\u0449\\u0430\\u044f \\u0434\\u0430\\u0442\\u0430 \\u0441\\u0435\\u0440\\u0432\\u0438\\u0441\\u0430\":\"24.10.2027\",\"\\u0414\\u0430\\u0442\\u0430 \\u043c\\u043e\\u043d\\u0442\\u0430\\u0436\\u0430 (\\u0411\\u0414)\":\"30.10.2025\",\"\\u041d\\u0430\\u0437\\u0432\\u0430\\u043d\\u0438\\u0435 \\u0442\\u043e\\u0432\\u0430\\u0440\\u0430 (\\u0411\\u0414)\":\"Haier Revive 35\",\"\\u0412\\u0438\\u0434 \\u0440\\u0430\\u0431\\u043e\\u0442\\u044b (\\u0411\\u0414)\":\"\\u0423\\u0441\\u0442\\u0430\\u043d\\u043e\\u0432\\u043a\\u0430 \\u043a\\u043e\\u043d\\u0434\\u0438\\u0446\\u0438\\u043e\\u043d\\u0435\\u0440\\u0430\",\"\\u0424\\u0418\\u041e \\u043c\\u043e\\u043d\\u0442\\u0430\\u0436\\u043d\\u0438\\u043a\\u0430 (\\u0411\\u0414)\":\"\\u0411\\u043e\\u0442\\u043d\\u0430\\u0440\\u044e\\u043a \\u0412.\",\"\\u0414\\u0435\\u043d\\u044c \\u043d\\u0435\\u0434\\u0435\\u043b\\u0438\":\"\\u041f\\u044f\\u0442\\u043d\\u0438\\u0446\\u0430\",\"\\u0414\\u0430\\u0442\\u0430 \\u0438 \\u0432\\u0440\\u0435\\u043c\\u044f \\u0432\\u0438\\u0437\\u0438\\u0442\\u0430\":\"2026-10-24 10:27:00\",\"\\u0414\\u0430\\u0442\\u0430 \\u0432\\u0438\\u0437\\u0438\\u0442\\u0430\":\"24.10.2026\",\"\\u041c\\u043e\\u0434\\u0435\\u043b\\u044c \\u043e\\u0431\\u043e\\u0440\\u0443\\u0434\\u043e\\u0432\\u0430\\u043d\\u0438\\u044f 1\":\"Haier Revive 35\",\"\\u0426\\u0435\\u043b\\u044c \\u0432\\u044b\\u0435\\u0437\\u0434\\u0430\":\"\\u041f\\u0440\\u043e\\u0444\\u0438\\u043b\\u0430\\u043a\\u0442\\u0438\\u043a\\u0430 \\u043f\\u043e \\u0433\\u0430\\u0440\\u0430\\u043d\\u0442\\u0438\\u0438\",\"\\u0412\\u0438\\u0434 \\u0432\\u044b\\u043f\\u043e\\u043b\\u043d\\u0435\\u043d\\u043d\\u044b\\u0445 \\u0440\\u0430\\u0431\\u043e\\u0442\":\"\\u041f\\u0440\\u043e\\u0444\\u0438\\u043b\\u0430\\u043a\\u0442\\u0438\\u043a\\u0430 \\u0441\\u043f\\u043b\\u0438\\u0442-\\u0441\\u0438\\u0441\\u0442\\u0435\\u043c \\u0432\\u0441\\u0435\\u0445 \\u043c\\u043e\\u0449\\u043d\\u043e\\u0441\\u0442\\u0435\\u0439 (\\u043e\\u0447\\u0438\\u0441\\u0442\\u043a\\u0430, \\u043f\\u0440\\u043e\\u0432\\u0435\\u0440\\u043a\\u0430 \\u0440\\u0430\\u0431\\u043e\\u0442\\u044b)\",\"ID\":\"40281249\",\"\\u0421\\u0434\\u0435\\u043b\\u043a\\u0430_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"\\u041f\\u0422\\u041e\",\"Lead_name\":\"\\u041f\\u0422\\u041e\",\"\\u0411\\u044e\\u0434\\u0436\\u0435\\u0442\":\"0\",\"Budget\":\"0\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"\\u0410\\u0441\\u0442\\u0430\\u043f\\u0435\\u043d\\u043a\\u043e\\u0432\\u0430 \\u042e\\u043b\\u0438\\u0430\\u043d\\u043d\\u0430\",\"Responsible\":\"\\u0410\\u0441\\u0442\\u0430\\u043f\\u0435\\u043d\\u043a\\u043e\\u0432\\u0430 \\u042e\\u043b\\u0438\\u0430\\u043d\\u043d\\u0430\"},\"lead\":{\"\\u0421\\u043b\\u0435\\u0434\\u0443\\u044e\\u0449\\u0430\\u044f \\u0434\\u0430\\u0442\\u0430 \\u0441\\u0435\\u0440\\u0432\\u0438\\u0441\\u0430\":\"24.10.2027\",\"\\u0414\\u0430\\u0442\\u0430 \\u043c\\u043e\\u043d\\u0442\\u0430\\u0436\\u0430 (\\u0411\\u0414)\":\"30.10.2025\",\"\\u041d\\u0430\\u0437\\u0432\\u0430\\u043d\\u0438\\u0435 \\u0442\\u043e\\u0432\\u0430\\u0440\\u0430 (\\u0411\\u0414)\":\"Haier Revive 35\",\"\\u0412\\u0438\\u0434 \\u0440\\u0430\\u0431\\u043e\\u0442\\u044b (\\u0411\\u0414)\":\"\\u0423\\u0441\\u0442\\u0430\\u043d\\u043e\\u0432\\u043a\\u0430 \\u043a\\u043e\\u043d\\u0434\\u0438\\u0446\\u0438\\u043e\\u043d\\u0435\\u0440\\u0430\",\"\\u0424\\u0418\\u041e \\u043c\\u043e\\u043d\\u0442\\u0430\\u0436\\u043d\\u0438\\u043a\\u0430 (\\u0411\\u0414)\":\"\\u0411\\u043e\\u0442\\u043d\\u0430\\u0440\\u044e\\u043a \\u0412.\",\"\\u0414\\u0435\\u043d\\u044c \\u043d\\u0435\\u0434\\u0435\\u043b\\u0438\":\"\\u041f\\u044f\\u0442\\u043d\\u0438\\u0446\\u0430\",\"\\u0414\\u0430\\u0442\\u0430 \\u0438 \\u0432\\u0440\\u0435\\u043c\\u044f \\u0432\\u0438\\u0437\\u0438\\u0442\\u0430\":\"2026-10-24 10:27:00\",\"\\u0414\\u0430\\u0442\\u0430 \\u0432\\u0438\\u0437\\u0438\\u0442\\u0430\":\"24.10.2026\",\"\\u041c\\u043e\\u0434\\u0435\\u043b\\u044c \\u043e\\u0431\\u043e\\u0440\\u0443\\u0434\\u043e\\u0432\\u0430\\u043d\\u0438\\u044f 1\":\"Haier Revive 35\",\"\\u0426\\u0435\\u043b\\u044c \\u0432\\u044b\\u0435\\u0437\\u0434\\u0430\":\"\\u041f\\u0440\\u043e\\u0444\\u0438\\u043b\\u0430\\u043a\\u0442\\u0438\\u043a\\u0430 \\u043f\\u043e \\u0433\\u0430\\u0440\\u0430\\u043d\\u0442\\u0438\\u0438\",\"\\u0412\\u0438\\u0434 \\u0432\\u044b\\u043f\\u043e\\u043b\\u043d\\u0435\\u043d\\u043d\\u044b\\u0445 \\u0440\\u0430\\u0431\\u043e\\u0442\":\"\\u041f\\u0440\\u043e\\u0444\\u0438\\u043b\\u0430\\u043a\\u0442\\u0438\\u043a\\u0430 \\u0441\\u043f\\u043b\\u0438\\u0442-\\u0441\\u0438\\u0441\\u0442\\u0435\\u043c \\u0432\\u0441\\u0435\\u0445 \\u043c\\u043e\\u0449\\u043d\\u043e\\u0441\\u0442\\u0435\\u0439 (\\u043e\\u0447\\u0438\\u0441\\u0442\\u043a\\u0430, \\u043f\\u0440\\u043e\\u0432\\u0435\\u0440\\u043a\\u0430 \\u0440\\u0430\\u0431\\u043e\\u0442\\u044b)\",\"ID\":\"40281249\",\"\\u0421\\u0434\\u0435\\u043b\\u043a\\u0430_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"\\u041f\\u0422\\u041e\",\"Lead_name\":\"\\u041f\\u0422\\u041e\",\"\\u0411\\u044e\\u0434\\u0436\\u0435\\u0442\":\"0\",\"Budget\":\"0\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"\\u0410\\u0441\\u0442\\u0430\\u043f\\u0435\\u043d\\u043a\\u043e\\u0432\\u0430 \\u042e\\u043b\\u0438\\u0430\\u043d\\u043d\\u0430\",\"Responsible\":\"\\u0410\\u0441\\u0442\\u0430\\u043f\\u0435\\u043d\\u043a\\u043e\\u0432\\u0430 \\u042e\\u043b\\u0438\\u0430\\u043d\\u043d\\u0430\"},\"\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442\":{\"\\u0418\\u0414\\u041d\\u041e\":\"2004033085054\",\"\\u0410\\u0434\\u0440\\u0435\\u0441\":\"Straseni sat.Roscani\",\"\\u041f\\u043e\\u0432\\u0442\\u043e\\u0440\\u043d\\u044b\\u0439 \\u043a\\u043b\\u0438\\u0435\\u043d\\u0442?\":\"\\u0414\\u0430\",\"\\u0414\\u0430\\u0442\\u0430 \\u043c\\u043e\\u043d\\u0442\\u0430\\u0436\\u0430 (\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442)\":\"30.10.2025\",\"\\u0422\\u0438\\u043f \\u0438 \\u043c\\u043e\\u0434\\u0435\\u043b\\u044c \\u043e\\u0431\\u043e\\u0440\\u0443\\u0434\\u043e\\u0432\\u0430\\u043d\\u0438\\u044f (\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442)\":\"Haier Revive 35\",\"\\u041a\\u043e\\u043b - \\u0432\\u043e \\u043e\\u0431\\u043e\\u0440\\u0443\\u0434\\u043e\\u0432\\u0430\\u043d\\u0438\\u044f (\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442)\":\"1\",\"\\u041a\\u0442\\u043e \\u043c\\u043e\\u043d\\u0442\\u0438\\u0440\\u043e\\u0432\\u0430\\u043b (\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442)\":\"\\u041c\\u0430\\u0441\\u0442\\u0435\\u0440 \\u043a\\u043e\\u043c\\u043f\\u0430\\u043d\\u0438\\u0438 Edenvor SRL\",\"\\u041d\\u043e\\u043c\\u0435\\u0440 \\u043a\\u043e\\u043d\\u0442\\u0440\\u0430\\u043a\\u0442\\u0430 (\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442)\":\"B7298\",\"\\u0418\\u043c\\u044f \\u043a\\u043b\\u0438\\u0435\\u043d\\u0442\\u0430 (\\u0421\\u041c\\u0421)\":\"Vasile\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"37360283043\",\"\\u0422\\u0438\\u043f \\u043a\\u043b\\u0438\\u0435\\u043d\\u0442\\u0430\":\"\\u0424\\u0438\\u0437.\\u043b\\u0438\\u0446\",\"\\u0420\\u0430\\u0439\\u043e\\u043d\":\"\\u0426\\u0435\\u043d\\u0442\\u0440\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Vasile Stavila\",\"Contact_name\":\"Vasile Stavila\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"\\u0410\\u0441\\u0442\\u0430\\u043f\\u0435\\u043d\\u043a\\u043e\\u0432\\u0430 \\u042e\\u043b\\u0438\\u0430\\u043d\\u043d\\u0430\",\"Responsible\":\"\\u0410\\u0441\\u0442\\u0430\\u043f\\u0435\\u043d\\u043a\\u043e\\u0432\\u0430 \\u042e\\u043b\\u0438\\u0430\\u043d\\u043d\\u0430\"},\"contact\":{\"\\u0418\\u0414\\u041d\\u041e\":\"2004033085054\",\"\\u0410\\u0434\\u0440\\u0435\\u0441\":\"Straseni sat.Roscani\",\"\\u041f\\u043e\\u0432\\u0442\\u043e\\u0440\\u043d\\u044b\\u0439 \\u043a\\u043b\\u0438\\u0435\\u043d\\u0442?\":\"\\u0414\\u0430\",\"\\u0414\\u0430\\u0442\\u0430 \\u043c\\u043e\\u043d\\u0442\\u0430\\u0436\\u0430 (\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442)\":\"30.10.2025\",\"\\u0422\\u0438\\u043f \\u0438 \\u043c\\u043e\\u0434\\u0435\\u043b\\u044c \\u043e\\u0431\\u043e\\u0440\\u0443\\u0434\\u043e\\u0432\\u0430\\u043d\\u0438\\u044f (\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442)\":\"Haier Revive 35\",\"\\u041a\\u043e\\u043b - \\u0432\\u043e \\u043e\\u0431\\u043e\\u0440\\u0443\\u0434\\u043e\\u0432\\u0430\\u043d\\u0438\\u044f (\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442)\":\"1\",\"\\u041a\\u0442\\u043e \\u043c\\u043e\\u043d\\u0442\\u0438\\u0440\\u043e\\u0432\\u0430\\u043b (\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442)\":\"\\u041c\\u0430\\u0441\\u0442\\u0435\\u0440 \\u043a\\u043e\\u043c\\u043f\\u0430\\u043d\\u0438\\u0438 Edenvor SRL\",\"\\u041d\\u043e\\u043c\\u0435\\u0440 \\u043a\\u043e\\u043d\\u0442\\u0440\\u0430\\u043a\\u0442\\u0430 (\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442)\":\"B7298\",\"\\u0418\\u043c\\u044f \\u043a\\u043b\\u0438\\u0435\\u043d\\u0442\\u0430 (\\u0421\\u041c\\u0421)\":\"Vasile\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"37360283043\",\"\\u0422\\u0438\\u043f \\u043a\\u043b\\u0438\\u0435\\u043d\\u0442\\u0430\":\"\\u0424\\u0438\\u0437.\\u043b\\u0438\\u0446\",\"\\u0420\\u0430\\u0439\\u043e\\u043d\":\"\\u0426\\u0435\\u043d\\u0442\\u0440\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Vasile Stavila\",\"Contact_name\":\"Vasile Stavila\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"\\u0410\\u0441\\u0442\\u0430\\u043f\\u0435\\u043d\\u043a\\u043e\\u0432\\u0430 \\u042e\\u043b\\u0438\\u0430\\u043d\\u043d\\u0430\",\"Responsible\":\"\\u0410\\u0441\\u0442\\u0430\\u043f\\u0435\\u043d\\u043a\\u043e\\u0432\\u0430 \\u042e\\u043b\\u0438\\u0430\\u043d\\u043d\\u0430\"},\"\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442\\u044b\":[{\"\\u0418\\u0414\\u041d\\u041e\":\"2004033085054\",\"\\u0410\\u0434\\u0440\\u0435\\u0441\":\"Straseni sat.Roscani\",\"\\u041f\\u043e\\u0432\\u0442\\u043e\\u0440\\u043d\\u044b\\u0439 \\u043a\\u043b\\u0438\\u0435\\u043d\\u0442?\":\"\\u0414\\u0430\",\"\\u0414\\u0430\\u0442\\u0430 \\u043c\\u043e\\u043d\\u0442\\u0430\\u0436\\u0430 (\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442)\":\"30.10.2025\",\"\\u0422\\u0438\\u043f \\u0438 \\u043c\\u043e\\u0434\\u0435\\u043b\\u044c \\u043e\\u0431\\u043e\\u0440\\u0443\\u0434\\u043e\\u0432\\u0430\\u043d\\u0438\\u044f (\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442)\":\"Haier Revive 35\",\"\\u041a\\u043e\\u043b - \\u0432\\u043e \\u043e\\u0431\\u043e\\u0440\\u0443\\u0434\\u043e\\u0432\\u0430\\u043d\\u0438\\u044f (\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442)\":\"1\",\"\\u041a\\u0442\\u043e \\u043c\\u043e\\u043d\\u0442\\u0438\\u0440\\u043e\\u0432\\u0430\\u043b (\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442)\":\"\\u041c\\u0430\\u0441\\u0442\\u0435\\u0440 \\u043a\\u043e\\u043c\\u043f\\u0430\\u043d\\u0438\\u0438 Edenvor SRL\",\"\\u041d\\u043e\\u043c\\u0435\\u0440 \\u043a\\u043e\\u043d\\u0442\\u0440\\u0430\\u043a\\u0442\\u0430 (\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442)\":\"B7298\",\"\\u0418\\u043c\\u044f \\u043a\\u043b\\u0438\\u0435\\u043d\\u0442\\u0430 (\\u0421\\u041c\\u0421)\":\"Vasile\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"37360283043\",\"\\u0422\\u0438\\u043f \\u043a\\u043b\\u0438\\u0435\\u043d\\u0442\\u0430\":\"\\u0424\\u0438\\u0437.\\u043b\\u0438\\u0446\",\"\\u0420\\u0430\\u0439\\u043e\\u043d\":\"\\u0426\\u0435\\u043d\\u0442\\u0440\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Vasile Stavila\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"\\u0410\\u0441\\u0442\\u0430\\u043f\\u0435\\u043d\\u043a\\u043e\\u0432\\u0430 \\u042e\\u043b\\u0438\\u0430\\u043d\\u043d\\u0430\"}],\"\\u0434\\u043e\\u043a\\u0443\\u043c\\u0435\\u043d\\u0442\":{\"\\u0414\\u0430\\u0442\\u0430\":\"23.10.2026\",\"\\u041d\\u043e\\u043c\\u0435\\u0440\":\"1418\"},\"document\":{\"Date\":\"23.10.2026\",\"Number\":\"1418\"}}}","edit":true}} {"uid":"a5055ac"}
[2026-10-23 14:03:55] docflow.DEBUG: GAS raw response {"raw":"[object] (stdClass: {\"code\":1,\"url\":\"https://docs.google.com/open?id=1bRgDeivIOa6yGjthSbaU3bsht6neIvh-iGWNEsDt32Q\",\"file_id\":\"1bRgDeivIOa6yGjthSbaU3bsht6neIvh-iGWNEsDt32Q\",\"error\":\"\",\"vars\":\"\"})"} {"uid":"a5055ac"}
[2026-10-23 14:03:55] docflow.WARNING: AmoDrive generated-file move is not ready. {"fileId":"1bRgDeivIOa6yGjthSbaU3bsht6neIvh-iGWNEsDt32Q","context":null} {"uid":"a5055ac"}
[2026-10-23 14:09:03] docflow.INFO: Apel createDoc {"data":{"amoAccountId":"32990686","amoUserId":null,"amoEntityId":"40281161","amoEntityType":"2","templateId":"11625","corporateEntityId":"","settlementAccountId":"","is_signed":null,"gdi":null,"number":null,"currentAmoUserId":null,"lang":"ru"}} {"uid":"89c6313"}
[2026-10-23 14:09:03] docflow.INFO: Token is valid for account 32990686. [] {"uid":"89c6313"}
[2026-10-23 14:09:03] docflow.DEBUG: getClientAuth returned {"auth":"[object] (stdClass: {\"domain\":\"eurosanteh.amocrm.ru\",\"access_token\":\"eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImp0aSI6IjY5Mzc5OGZlNDIzMGE1MWY0YzI0ZmMxM2U1YzVkMzVmYTBiMTk5YjhkNzgwOGYxOThiNTNiZDBhNjhiYjJlM2IwYWQxMThmYzNhOTEwNjJjIn0.eyJhdWQiOiIwZDY0ZGZmYi1lNTRiLTQ0OGYtOWZiZi1iYWYyMjUxYTExZGIiLCJqdGkiOiI2OTM3OThmZTQyMzBhNTFmNGMyNGZjMTNlNWM1ZDM1ZmEwYjE5OWI4ZDc4MDhmMTk4YjUzYmQwYTY4YmIyZTNiMGFkMTE4ZmMzYTkxMDYyYyIsImlhdCI6MTc5Mjc1MzA5NCwibmJmIjoxNzkyNzUzMDk0LCJleHAiOjE3OTI4Mzk0OTQsInN1YiI6IjEzNjg3MzAyIiwiZ3JhbnRfdHlwZSI6IiIsImFjY291bnRfaWQiOjMyOTkwNjg2LCJiYXNlX2RvbWFpbiI6ImFtb2NybS5ydSIsInZlcnNpb24iOjIsInNjb3BlcyI6WyJwdXNoX25vdGlmaWNhdGlvbnMiLCJjcm0iLCJub3RpZmljYXRpb25zIl0sImhhc2hfdXVpZCI6IjQwYTU5NTBlLTc2Y2ItNDExMS1iMzEwLTY2NTFlYTExNjkyMSIsImFwaV9kb21haW4iOiJhcGktYi5hbW9jcm0ucnUifQ.LmcONZq4bG-4wu9yZLdix4X8YEJ9nnjo4EH6Gtm6_xVdDEu-aAT2kKF3da_wNDK9LvN4Kk4dpyolrDtajRotJBTS2kmtmExqa5EbRGeclQfHAHqXw63Pp4WZ0xAtOZ0RydvY4Zv9pSgffwBIaUrH4VGUiRz0JtnzUX94HfZTRvj0RVtdGH05wRqb3K14oexZxIuAeHlqaeoC5B8HnApykH2SERXLcXE61GxPBymRGMF51koNMW5WIoTo6DSTTSQLxshtNOgz1gomQn12gKDr7pVAEipYdEpiOkJAOzHovIeV1XnzxReiLWq8CIdTEuaVIc2h5MXt_F168QL8BpOPiA\"})","file":"/home/ytvmclwh/document.amocrm.md/src/Models/Docs.php","line":121} {"uid":"89c6313"}
[2026-10-23 14:09:07] docflow.DEBUG: AmoDrive docflow context request {"url":"https://google.emale.uno/api/docflow/google-context","query":{"account_id":"32990686","entity_id":"40281161","entity_type":"leads"}} {"uid":"89c6313"}
[2026-10-23 14:09:07] 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=32990686&amp;entity_id=40281161&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/10/23 14:09:07</td>\r\n</tr>\r\n</table>\r\n<hr><center>tengine</center>\r\n</body>\r\n</html>\r\n"} {"uid":"89c6313"}
[2026-10-23 14:09:07] docflow.DEBUG: AmoDrive docflow context request {"url":"https://gd.glucose-dev.online/api/docflow/google-context","query":{"account_id":"32990686","entity_id":"40281161","entity_type":"leads"}} {"uid":"89c6313"}
[2026-10-23 14:09:07] 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":32990686,"entityId":"40281161","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":"89c6313"}
[2026-10-23 14:09:07] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://google.emale.uno/api/docflow/prepare-generated-doc","payload":{"account_id":"32990686","entity_id":"40281161","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"89c6313"}
[2026-10-23 14:09:07] 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/10/23 14:09:07</td>\r\n</tr>\r\n</table>\r\n<hr><center>tengine</center>\r\n</body>\r\n</html>\r\n","payload":{"account_id":"32990686","entity_id":"40281161","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"89c6313"}
[2026-10-23 14:09:07] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://gd.glucose-dev.online/api/docflow/prepare-generated-doc","payload":{"account_id":"32990686","entity_id":"40281161","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"89c6313"}
[2026-10-23 14:09:07] 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\":32990686})","payload":{"account_id":"32990686","entity_id":"40281161","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"89c6313"}
[2026-10-23 14:09:07] docflow.DEBUG: GAS request {"url":"https://script.google.com/macros/s/AKfycbwrvOJD46zkuoTzdhpc1kulhV8jRfgQBFZfQ121nkIip_k8yKit4xrbWTOzaJ-C-Yed6w/exec","body":{"templateFileId":"1AjK4khA9mRlFDVy4RXRqHAg2GTFWJYC-Gac1Mx3OLnA","accountId":"32990686","folderId":"1Us2AfskxgdA729xVr0F2vjZU9y5PlYDe","key":"~VTsK5dcnHc2cSSsjM$LFSjLlgbmJXwrp3R2P5nd","data":"{\"fileName\":\"ALL FOR ALL \\u041d\\u0430\\u0440\\u044f\\u0434 \\u043d\\u0430 \\u0432\\u044b\\u043f\\u043e\\u043b\\u043d\\u0435\\u043d\\u0438\\u0435 \\u0440\\u0430\\u0431\\u043e\\u0442 1419 20261023140907\",\"leadId\":\"40281161\",\"entities\":{\"\\u0441\\u0434\\u0435\\u043b\\u043a\\u0430\":{\"\\u0421\\u043b\\u0435\\u0434\\u0443\\u044e\\u0449\\u0430\\u044f \\u0434\\u0430\\u0442\\u0430 \\u0441\\u0435\\u0440\\u0432\\u0438\\u0441\\u0430\":\"25.10.2027\",\"\\u0414\\u0430\\u0442\\u0430 \\u043c\\u043e\\u043d\\u0442\\u0430\\u0436\\u0430 (\\u0411\\u0414)\":\"25.10.2025\",\"\\u041d\\u0430\\u0437\\u0432\\u0430\\u043d\\u0438\\u0435 \\u0442\\u043e\\u0432\\u0430\\u0440\\u0430 (\\u0411\\u0414)\":\"Haier Serene 50\",\"\\u0412\\u0438\\u0434 \\u0440\\u0430\\u0431\\u043e\\u0442\\u044b (\\u0411\\u0414)\":\"\\u0423\\u0441\\u0442\\u0430\\u043d\\u043e\\u0432\\u043a\\u0430 \\u043a\\u043e\\u043d\\u0434\\u0438\\u0446\\u0438\\u043e\\u043d\\u0435\\u0440\\u0430\",\"\\u0424\\u0418\\u041e \\u043c\\u043e\\u043d\\u0442\\u0430\\u0436\\u043d\\u0438\\u043a\\u0430 (\\u0411\\u0414)\":\"\\u041c\\u0438\\u0440\\u043e\\u043d \\u0420.\",\"\\u0414\\u0435\\u043d\\u044c \\u043d\\u0435\\u0434\\u0435\\u043b\\u0438\":\"\\u041f\\u044f\\u0442\\u043d\\u0438\\u0446\\u0430\",\"\\u0414\\u0430\\u0442\\u0430 \\u0438 \\u0432\\u0440\\u0435\\u043c\\u044f \\u0432\\u0438\\u0437\\u0438\\u0442\\u0430\":\"2026-10-24 17:13:00\",\"\\u0414\\u0430\\u0442\\u0430 \\u0432\\u0438\\u0437\\u0438\\u0442\\u0430\":\"24.10.2026\",\"\\u0426\\u0435\\u043b\\u044c \\u0432\\u044b\\u0435\\u0437\\u0434\\u0430\":\"\\u041f\\u0440\\u043e\\u0444\\u0438\\u043b\\u0430\\u043a\\u0442\\u0438\\u043a\\u0430 \\u043f\\u043e \\u0433\\u0430\\u0440\\u0430\\u043d\\u0442\\u0438\\u0438\",\"\\u0412\\u0438\\u0434 \\u0432\\u044b\\u043f\\u043e\\u043b\\u043d\\u0435\\u043d\\u043d\\u044b\\u0445 \\u0440\\u0430\\u0431\\u043e\\u0442\":\"\\u041f\\u0440\\u043e\\u0444\\u0438\\u043b\\u0430\\u043a\\u0442\\u0438\\u043a\\u0430 \\u0441\\u043f\\u043b\\u0438\\u0442-\\u0441\\u0438\\u0441\\u0442\\u0435\\u043c \\u0432\\u0441\\u0435\\u0445 \\u043c\\u043e\\u0449\\u043d\\u043e\\u0441\\u0442\\u0435\\u0439 (\\u043e\\u0447\\u0438\\u0441\\u0442\\u043a\\u0430, \\u043f\\u0440\\u043e\\u0432\\u0435\\u0440\\u043a\\u0430 \\u0440\\u0430\\u0431\\u043e\\u0442\\u044b)\",\"ID\":\"40281161\",\"\\u0421\\u0434\\u0435\\u043b\\u043a\\u0430_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"\\u041f\\u0422\\u041e\",\"Lead_name\":\"\\u041f\\u0422\\u041e\",\"\\u0411\\u044e\\u0434\\u0436\\u0435\\u0442\":\"0\",\"Budget\":\"0\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"\\u0410\\u0441\\u0442\\u0430\\u043f\\u0435\\u043d\\u043a\\u043e\\u0432\\u0430 \\u042e\\u043b\\u0438\\u0430\\u043d\\u043d\\u0430\",\"Responsible\":\"\\u0410\\u0441\\u0442\\u0430\\u043f\\u0435\\u043d\\u043a\\u043e\\u0432\\u0430 \\u042e\\u043b\\u0438\\u0430\\u043d\\u043d\\u0430\"},\"lead\":{\"\\u0421\\u043b\\u0435\\u0434\\u0443\\u044e\\u0449\\u0430\\u044f \\u0434\\u0430\\u0442\\u0430 \\u0441\\u0435\\u0440\\u0432\\u0438\\u0441\\u0430\":\"25.10.2027\",\"\\u0414\\u0430\\u0442\\u0430 \\u043c\\u043e\\u043d\\u0442\\u0430\\u0436\\u0430 (\\u0411\\u0414)\":\"25.10.2025\",\"\\u041d\\u0430\\u0437\\u0432\\u0430\\u043d\\u0438\\u0435 \\u0442\\u043e\\u0432\\u0430\\u0440\\u0430 (\\u0411\\u0414)\":\"Haier Serene 50\",\"\\u0412\\u0438\\u0434 \\u0440\\u0430\\u0431\\u043e\\u0442\\u044b (\\u0411\\u0414)\":\"\\u0423\\u0441\\u0442\\u0430\\u043d\\u043e\\u0432\\u043a\\u0430 \\u043a\\u043e\\u043d\\u0434\\u0438\\u0446\\u0438\\u043e\\u043d\\u0435\\u0440\\u0430\",\"\\u0424\\u0418\\u041e \\u043c\\u043e\\u043d\\u0442\\u0430\\u0436\\u043d\\u0438\\u043a\\u0430 (\\u0411\\u0414)\":\"\\u041c\\u0438\\u0440\\u043e\\u043d \\u0420.\",\"\\u0414\\u0435\\u043d\\u044c \\u043d\\u0435\\u0434\\u0435\\u043b\\u0438\":\"\\u041f\\u044f\\u0442\\u043d\\u0438\\u0446\\u0430\",\"\\u0414\\u0430\\u0442\\u0430 \\u0438 \\u0432\\u0440\\u0435\\u043c\\u044f \\u0432\\u0438\\u0437\\u0438\\u0442\\u0430\":\"2026-10-24 17:13:00\",\"\\u0414\\u0430\\u0442\\u0430 \\u0432\\u0438\\u0437\\u0438\\u0442\\u0430\":\"24.10.2026\",\"\\u0426\\u0435\\u043b\\u044c \\u0432\\u044b\\u0435\\u0437\\u0434\\u0430\":\"\\u041f\\u0440\\u043e\\u0444\\u0438\\u043b\\u0430\\u043a\\u0442\\u0438\\u043a\\u0430 \\u043f\\u043e \\u0433\\u0430\\u0440\\u0430\\u043d\\u0442\\u0438\\u0438\",\"\\u0412\\u0438\\u0434 \\u0432\\u044b\\u043f\\u043e\\u043b\\u043d\\u0435\\u043d\\u043d\\u044b\\u0445 \\u0440\\u0430\\u0431\\u043e\\u0442\":\"\\u041f\\u0440\\u043e\\u0444\\u0438\\u043b\\u0430\\u043a\\u0442\\u0438\\u043a\\u0430 \\u0441\\u043f\\u043b\\u0438\\u0442-\\u0441\\u0438\\u0441\\u0442\\u0435\\u043c \\u0432\\u0441\\u0435\\u0445 \\u043c\\u043e\\u0449\\u043d\\u043e\\u0441\\u0442\\u0435\\u0439 (\\u043e\\u0447\\u0438\\u0441\\u0442\\u043a\\u0430, \\u043f\\u0440\\u043e\\u0432\\u0435\\u0440\\u043a\\u0430 \\u0440\\u0430\\u0431\\u043e\\u0442\\u044b)\",\"ID\":\"40281161\",\"\\u0421\\u0434\\u0435\\u043b\\u043a\\u0430_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"\\u041f\\u0422\\u041e\",\"Lead_name\":\"\\u041f\\u0422\\u041e\",\"\\u0411\\u044e\\u0434\\u0436\\u0435\\u0442\":\"0\",\"Budget\":\"0\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"\\u0410\\u0441\\u0442\\u0430\\u043f\\u0435\\u043d\\u043a\\u043e\\u0432\\u0430 \\u042e\\u043b\\u0438\\u0430\\u043d\\u043d\\u0430\",\"Responsible\":\"\\u0410\\u0441\\u0442\\u0430\\u043f\\u0435\\u043d\\u043a\\u043e\\u0432\\u0430 \\u042e\\u043b\\u0438\\u0430\\u043d\\u043d\\u0430\"},\"\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442\":{\"\\u0418\\u0414\\u041d\\u041e\":\"2002018044890\",\"\\u0410\\u0434\\u0440\\u0435\\u0441\":\"Bubuieci Str. Toader Bubuiog 3\\/2\",\"\\u041f\\u043e\\u0432\\u0442\\u043e\\u0440\\u043d\\u044b\\u0439 \\u043a\\u043b\\u0438\\u0435\\u043d\\u0442?\":\"\\u0414\\u0430\",\"\\u0414\\u0430\\u0442\\u0430 \\u043c\\u043e\\u043d\\u0442\\u0430\\u0436\\u0430 (\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442)\":\"25.10.2025\",\"\\u0422\\u0438\\u043f \\u0438 \\u043c\\u043e\\u0434\\u0435\\u043b\\u044c \\u043e\\u0431\\u043e\\u0440\\u0443\\u0434\\u043e\\u0432\\u0430\\u043d\\u0438\\u044f (\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442)\":\"Haier Serene 50\",\"\\u041a\\u043e\\u043b - \\u0432\\u043e \\u043e\\u0431\\u043e\\u0440\\u0443\\u0434\\u043e\\u0432\\u0430\\u043d\\u0438\\u044f (\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442)\":\"2\",\"\\u041a\\u0442\\u043e \\u043c\\u043e\\u043d\\u0442\\u0438\\u0440\\u043e\\u0432\\u0430\\u043b (\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442)\":\"\\u041c\\u0430\\u0441\\u0442\\u0435\\u0440 \\u043a\\u043e\\u043c\\u043f\\u0430\\u043d\\u0438\\u0438 Edenvor SRL\",\"\\u041d\\u043e\\u043c\\u0435\\u0440 \\u043a\\u043e\\u043d\\u0442\\u0440\\u0430\\u043a\\u0442\\u0430 (\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442)\":\"C7327\",\"\\u0418\\u043c\\u044f \\u043a\\u043b\\u0438\\u0435\\u043d\\u0442\\u0430 (\\u0421\\u041c\\u0421)\":\"Dumitru\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"37379415223\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Dumitru Mereuta\",\"Contact_name\":\"Dumitru Mereuta\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"\\u0410\\u0441\\u0442\\u0430\\u043f\\u0435\\u043d\\u043a\\u043e\\u0432\\u0430 \\u042e\\u043b\\u0438\\u0430\\u043d\\u043d\\u0430\",\"Responsible\":\"\\u0410\\u0441\\u0442\\u0430\\u043f\\u0435\\u043d\\u043a\\u043e\\u0432\\u0430 \\u042e\\u043b\\u0438\\u0430\\u043d\\u043d\\u0430\"},\"contact\":{\"\\u0418\\u0414\\u041d\\u041e\":\"2002018044890\",\"\\u0410\\u0434\\u0440\\u0435\\u0441\":\"Bubuieci Str. Toader Bubuiog 3\\/2\",\"\\u041f\\u043e\\u0432\\u0442\\u043e\\u0440\\u043d\\u044b\\u0439 \\u043a\\u043b\\u0438\\u0435\\u043d\\u0442?\":\"\\u0414\\u0430\",\"\\u0414\\u0430\\u0442\\u0430 \\u043c\\u043e\\u043d\\u0442\\u0430\\u0436\\u0430 (\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442)\":\"25.10.2025\",\"\\u0422\\u0438\\u043f \\u0438 \\u043c\\u043e\\u0434\\u0435\\u043b\\u044c \\u043e\\u0431\\u043e\\u0440\\u0443\\u0434\\u043e\\u0432\\u0430\\u043d\\u0438\\u044f (\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442)\":\"Haier Serene 50\",\"\\u041a\\u043e\\u043b - \\u0432\\u043e \\u043e\\u0431\\u043e\\u0440\\u0443\\u0434\\u043e\\u0432\\u0430\\u043d\\u0438\\u044f (\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442)\":\"2\",\"\\u041a\\u0442\\u043e \\u043c\\u043e\\u043d\\u0442\\u0438\\u0440\\u043e\\u0432\\u0430\\u043b (\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442)\":\"\\u041c\\u0430\\u0441\\u0442\\u0435\\u0440 \\u043a\\u043e\\u043c\\u043f\\u0430\\u043d\\u0438\\u0438 Edenvor SRL\",\"\\u041d\\u043e\\u043c\\u0435\\u0440 \\u043a\\u043e\\u043d\\u0442\\u0440\\u0430\\u043a\\u0442\\u0430 (\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442)\":\"C7327\",\"\\u0418\\u043c\\u044f \\u043a\\u043b\\u0438\\u0435\\u043d\\u0442\\u0430 (\\u0421\\u041c\\u0421)\":\"Dumitru\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"37379415223\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Dumitru Mereuta\",\"Contact_name\":\"Dumitru Mereuta\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"\\u0410\\u0441\\u0442\\u0430\\u043f\\u0435\\u043d\\u043a\\u043e\\u0432\\u0430 \\u042e\\u043b\\u0438\\u0430\\u043d\\u043d\\u0430\",\"Responsible\":\"\\u0410\\u0441\\u0442\\u0430\\u043f\\u0435\\u043d\\u043a\\u043e\\u0432\\u0430 \\u042e\\u043b\\u0438\\u0430\\u043d\\u043d\\u0430\"},\"\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442\\u044b\":[{\"\\u0418\\u0414\\u041d\\u041e\":\"2002018044890\",\"\\u0410\\u0434\\u0440\\u0435\\u0441\":\"Bubuieci Str. Toader Bubuiog 3\\/2\",\"\\u041f\\u043e\\u0432\\u0442\\u043e\\u0440\\u043d\\u044b\\u0439 \\u043a\\u043b\\u0438\\u0435\\u043d\\u0442?\":\"\\u0414\\u0430\",\"\\u0414\\u0430\\u0442\\u0430 \\u043c\\u043e\\u043d\\u0442\\u0430\\u0436\\u0430 (\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442)\":\"25.10.2025\",\"\\u0422\\u0438\\u043f \\u0438 \\u043c\\u043e\\u0434\\u0435\\u043b\\u044c \\u043e\\u0431\\u043e\\u0440\\u0443\\u0434\\u043e\\u0432\\u0430\\u043d\\u0438\\u044f (\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442)\":\"Haier Serene 50\",\"\\u041a\\u043e\\u043b - \\u0432\\u043e \\u043e\\u0431\\u043e\\u0440\\u0443\\u0434\\u043e\\u0432\\u0430\\u043d\\u0438\\u044f (\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442)\":\"2\",\"\\u041a\\u0442\\u043e \\u043c\\u043e\\u043d\\u0442\\u0438\\u0440\\u043e\\u0432\\u0430\\u043b (\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442)\":\"\\u041c\\u0430\\u0441\\u0442\\u0435\\u0440 \\u043a\\u043e\\u043c\\u043f\\u0430\\u043d\\u0438\\u0438 Edenvor SRL\",\"\\u041d\\u043e\\u043c\\u0435\\u0440 \\u043a\\u043e\\u043d\\u0442\\u0440\\u0430\\u043a\\u0442\\u0430 (\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442)\":\"C7327\",\"\\u0418\\u043c\\u044f \\u043a\\u043b\\u0438\\u0435\\u043d\\u0442\\u0430 (\\u0421\\u041c\\u0421)\":\"Dumitru\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"37379415223\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Dumitru Mereuta\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"\\u0410\\u0441\\u0442\\u0430\\u043f\\u0435\\u043d\\u043a\\u043e\\u0432\\u0430 \\u042e\\u043b\\u0438\\u0430\\u043d\\u043d\\u0430\"}],\"\\u0434\\u043e\\u043a\\u0443\\u043c\\u0435\\u043d\\u0442\":{\"\\u0414\\u0430\\u0442\\u0430\":\"23.10.2026\",\"\\u041d\\u043e\\u043c\\u0435\\u0440\":\"1419\"},\"document\":{\"Date\":\"23.10.2026\",\"Number\":\"1419\"}}}","edit":true}} {"uid":"89c6313"}
[2026-10-23 14:09:14] docflow.DEBUG: GAS raw response {"raw":"[object] (stdClass: {\"code\":1,\"url\":\"https://docs.google.com/open?id=1lx-6nku2Kt7MBgousDTBdUDXjHEnh76uv8PTzO9EoIc\",\"file_id\":\"1lx-6nku2Kt7MBgousDTBdUDXjHEnh76uv8PTzO9EoIc\",\"error\":\"\",\"vars\":\"\"})"} {"uid":"89c6313"}
[2026-10-23 14:09:14] docflow.WARNING: AmoDrive generated-file move is not ready. {"fileId":"1lx-6nku2Kt7MBgousDTBdUDXjHEnh76uv8PTzO9EoIc","context":null} {"uid":"89c6313"}
[2026-10-23 14:09:19] docflow.INFO: Apel createDoc {"data":{"amoAccountId":"32990686","amoUserId":null,"amoEntityId":"40281161","amoEntityType":"2","templateId":"11646","corporateEntityId":"","settlementAccountId":"","is_signed":null,"gdi":null,"number":null,"currentAmoUserId":null,"lang":"ru"}} {"uid":"8af2da6"}
[2026-10-23 14:09:19] docflow.INFO: Token is valid for account 32990686. [] {"uid":"8af2da6"}
[2026-10-23 14:09:19] docflow.DEBUG: getClientAuth returned {"auth":"[object] (stdClass: {\"domain\":\"eurosanteh.amocrm.ru\",\"access_token\":\"eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImp0aSI6IjY5Mzc5OGZlNDIzMGE1MWY0YzI0ZmMxM2U1YzVkMzVmYTBiMTk5YjhkNzgwOGYxOThiNTNiZDBhNjhiYjJlM2IwYWQxMThmYzNhOTEwNjJjIn0.eyJhdWQiOiIwZDY0ZGZmYi1lNTRiLTQ0OGYtOWZiZi1iYWYyMjUxYTExZGIiLCJqdGkiOiI2OTM3OThmZTQyMzBhNTFmNGMyNGZjMTNlNWM1ZDM1ZmEwYjE5OWI4ZDc4MDhmMTk4YjUzYmQwYTY4YmIyZTNiMGFkMTE4ZmMzYTkxMDYyYyIsImlhdCI6MTc5Mjc1MzA5NCwibmJmIjoxNzkyNzUzMDk0LCJleHAiOjE3OTI4Mzk0OTQsInN1YiI6IjEzNjg3MzAyIiwiZ3JhbnRfdHlwZSI6IiIsImFjY291bnRfaWQiOjMyOTkwNjg2LCJiYXNlX2RvbWFpbiI6ImFtb2NybS5ydSIsInZlcnNpb24iOjIsInNjb3BlcyI6WyJwdXNoX25vdGlmaWNhdGlvbnMiLCJjcm0iLCJub3RpZmljYXRpb25zIl0sImhhc2hfdXVpZCI6IjQwYTU5NTBlLTc2Y2ItNDExMS1iMzEwLTY2NTFlYTExNjkyMSIsImFwaV9kb21haW4iOiJhcGktYi5hbW9jcm0ucnUifQ.LmcONZq4bG-4wu9yZLdix4X8YEJ9nnjo4EH6Gtm6_xVdDEu-aAT2kKF3da_wNDK9LvN4Kk4dpyolrDtajRotJBTS2kmtmExqa5EbRGeclQfHAHqXw63Pp4WZ0xAtOZ0RydvY4Zv9pSgffwBIaUrH4VGUiRz0JtnzUX94HfZTRvj0RVtdGH05wRqb3K14oexZxIuAeHlqaeoC5B8HnApykH2SERXLcXE61GxPBymRGMF51koNMW5WIoTo6DSTTSQLxshtNOgz1gomQn12gKDr7pVAEipYdEpiOkJAOzHovIeV1XnzxReiLWq8CIdTEuaVIc2h5MXt_F168QL8BpOPiA\"})","file":"/home/ytvmclwh/document.amocrm.md/src/Models/Docs.php","line":121} {"uid":"8af2da6"}
[2026-10-23 14:09:22] docflow.DEBUG: AmoDrive docflow context request {"url":"https://google.emale.uno/api/docflow/google-context","query":{"account_id":"32990686","entity_id":"40281161","entity_type":"leads"}} {"uid":"8af2da6"}
[2026-10-23 14:09:22] 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=32990686&amp;entity_id=40281161&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/10/23 14:09:22</td>\r\n</tr>\r\n</table>\r\n<hr><center>tengine</center>\r\n</body>\r\n</html>\r\n"} {"uid":"8af2da6"}
[2026-10-23 14:09:22] docflow.DEBUG: AmoDrive docflow context request {"url":"https://gd.glucose-dev.online/api/docflow/google-context","query":{"account_id":"32990686","entity_id":"40281161","entity_type":"leads"}} {"uid":"8af2da6"}
[2026-10-23 14:09:22] 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":32990686,"entityId":"40281161","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":"8af2da6"}
[2026-10-23 14:09:22] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://google.emale.uno/api/docflow/prepare-generated-doc","payload":{"account_id":"32990686","entity_id":"40281161","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"8af2da6"}
[2026-10-23 14:09:22] 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/10/23 14:09:22</td>\r\n</tr>\r\n</table>\r\n<hr><center>tengine</center>\r\n</body>\r\n</html>\r\n","payload":{"account_id":"32990686","entity_id":"40281161","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"8af2da6"}
[2026-10-23 14:09:22] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://gd.glucose-dev.online/api/docflow/prepare-generated-doc","payload":{"account_id":"32990686","entity_id":"40281161","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"8af2da6"}
[2026-10-23 14:09:22] 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\":32990686})","payload":{"account_id":"32990686","entity_id":"40281161","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"8af2da6"}
[2026-10-23 14:09:22] docflow.DEBUG: GAS request {"url":"https://script.google.com/macros/s/AKfycbwrvOJD46zkuoTzdhpc1kulhV8jRfgQBFZfQ121nkIip_k8yKit4xrbWTOzaJ-C-Yed6w/exec","body":{"templateFileId":"1ISSW7q2any2Qldkh8ZtwiERwaib6ci11XCezBMQIcRU","accountId":"32990686","folderId":"1Us2AfskxgdA729xVr0F2vjZU9y5PlYDe","key":"~VTsK5dcnHc2cSSsjM$LFSjLlgbmJXwrp3R2P5nd","data":"{\"fileName\":\"Act primire predare new All for All 1419 20261023140922\",\"leadId\":\"40281161\",\"entities\":{\"\\u0441\\u0434\\u0435\\u043b\\u043a\\u0430\":{\"\\u0421\\u043b\\u0435\\u0434\\u0443\\u044e\\u0449\\u0430\\u044f \\u0434\\u0430\\u0442\\u0430 \\u0441\\u0435\\u0440\\u0432\\u0438\\u0441\\u0430\":\"25.10.2027\",\"\\u0414\\u0430\\u0442\\u0430 \\u043c\\u043e\\u043d\\u0442\\u0430\\u0436\\u0430 (\\u0411\\u0414)\":\"25.10.2025\",\"\\u041d\\u0430\\u0437\\u0432\\u0430\\u043d\\u0438\\u0435 \\u0442\\u043e\\u0432\\u0430\\u0440\\u0430 (\\u0411\\u0414)\":\"Haier Serene 50\",\"\\u0412\\u0438\\u0434 \\u0440\\u0430\\u0431\\u043e\\u0442\\u044b (\\u0411\\u0414)\":\"\\u0423\\u0441\\u0442\\u0430\\u043d\\u043e\\u0432\\u043a\\u0430 \\u043a\\u043e\\u043d\\u0434\\u0438\\u0446\\u0438\\u043e\\u043d\\u0435\\u0440\\u0430\",\"\\u0424\\u0418\\u041e \\u043c\\u043e\\u043d\\u0442\\u0430\\u0436\\u043d\\u0438\\u043a\\u0430 (\\u0411\\u0414)\":\"\\u041c\\u0438\\u0440\\u043e\\u043d \\u0420.\",\"\\u0414\\u0435\\u043d\\u044c \\u043d\\u0435\\u0434\\u0435\\u043b\\u0438\":\"\\u041f\\u044f\\u0442\\u043d\\u0438\\u0446\\u0430\",\"\\u0414\\u0430\\u0442\\u0430 \\u0438 \\u0432\\u0440\\u0435\\u043c\\u044f \\u0432\\u0438\\u0437\\u0438\\u0442\\u0430\":\"2026-10-24 17:13:00\",\"\\u0414\\u0430\\u0442\\u0430 \\u0432\\u0438\\u0437\\u0438\\u0442\\u0430\":\"24.10.2026\",\"\\u0426\\u0435\\u043b\\u044c \\u0432\\u044b\\u0435\\u0437\\u0434\\u0430\":\"\\u041f\\u0440\\u043e\\u0444\\u0438\\u043b\\u0430\\u043a\\u0442\\u0438\\u043a\\u0430 \\u043f\\u043e \\u0433\\u0430\\u0440\\u0430\\u043d\\u0442\\u0438\\u0438\",\"\\u0412\\u0438\\u0434 \\u0432\\u044b\\u043f\\u043e\\u043b\\u043d\\u0435\\u043d\\u043d\\u044b\\u0445 \\u0440\\u0430\\u0431\\u043e\\u0442\":\"\\u041f\\u0440\\u043e\\u0444\\u0438\\u043b\\u0430\\u043a\\u0442\\u0438\\u043a\\u0430 \\u0441\\u043f\\u043b\\u0438\\u0442-\\u0441\\u0438\\u0441\\u0442\\u0435\\u043c \\u0432\\u0441\\u0435\\u0445 \\u043c\\u043e\\u0449\\u043d\\u043e\\u0441\\u0442\\u0435\\u0439 (\\u043e\\u0447\\u0438\\u0441\\u0442\\u043a\\u0430, \\u043f\\u0440\\u043e\\u0432\\u0435\\u0440\\u043a\\u0430 \\u0440\\u0430\\u0431\\u043e\\u0442\\u044b)\",\"ID\":\"40281161\",\"\\u0421\\u0434\\u0435\\u043b\\u043a\\u0430_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"\\u041f\\u0422\\u041e\",\"Lead_name\":\"\\u041f\\u0422\\u041e\",\"\\u0411\\u044e\\u0434\\u0436\\u0435\\u0442\":\"0\",\"Budget\":\"0\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"\\u0410\\u0441\\u0442\\u0430\\u043f\\u0435\\u043d\\u043a\\u043e\\u0432\\u0430 \\u042e\\u043b\\u0438\\u0430\\u043d\\u043d\\u0430\",\"Responsible\":\"\\u0410\\u0441\\u0442\\u0430\\u043f\\u0435\\u043d\\u043a\\u043e\\u0432\\u0430 \\u042e\\u043b\\u0438\\u0430\\u043d\\u043d\\u0430\"},\"lead\":{\"\\u0421\\u043b\\u0435\\u0434\\u0443\\u044e\\u0449\\u0430\\u044f \\u0434\\u0430\\u0442\\u0430 \\u0441\\u0435\\u0440\\u0432\\u0438\\u0441\\u0430\":\"25.10.2027\",\"\\u0414\\u0430\\u0442\\u0430 \\u043c\\u043e\\u043d\\u0442\\u0430\\u0436\\u0430 (\\u0411\\u0414)\":\"25.10.2025\",\"\\u041d\\u0430\\u0437\\u0432\\u0430\\u043d\\u0438\\u0435 \\u0442\\u043e\\u0432\\u0430\\u0440\\u0430 (\\u0411\\u0414)\":\"Haier Serene 50\",\"\\u0412\\u0438\\u0434 \\u0440\\u0430\\u0431\\u043e\\u0442\\u044b (\\u0411\\u0414)\":\"\\u0423\\u0441\\u0442\\u0430\\u043d\\u043e\\u0432\\u043a\\u0430 \\u043a\\u043e\\u043d\\u0434\\u0438\\u0446\\u0438\\u043e\\u043d\\u0435\\u0440\\u0430\",\"\\u0424\\u0418\\u041e \\u043c\\u043e\\u043d\\u0442\\u0430\\u0436\\u043d\\u0438\\u043a\\u0430 (\\u0411\\u0414)\":\"\\u041c\\u0438\\u0440\\u043e\\u043d \\u0420.\",\"\\u0414\\u0435\\u043d\\u044c \\u043d\\u0435\\u0434\\u0435\\u043b\\u0438\":\"\\u041f\\u044f\\u0442\\u043d\\u0438\\u0446\\u0430\",\"\\u0414\\u0430\\u0442\\u0430 \\u0438 \\u0432\\u0440\\u0435\\u043c\\u044f \\u0432\\u0438\\u0437\\u0438\\u0442\\u0430\":\"2026-10-24 17:13:00\",\"\\u0414\\u0430\\u0442\\u0430 \\u0432\\u0438\\u0437\\u0438\\u0442\\u0430\":\"24.10.2026\",\"\\u0426\\u0435\\u043b\\u044c \\u0432\\u044b\\u0435\\u0437\\u0434\\u0430\":\"\\u041f\\u0440\\u043e\\u0444\\u0438\\u043b\\u0430\\u043a\\u0442\\u0438\\u043a\\u0430 \\u043f\\u043e \\u0433\\u0430\\u0440\\u0430\\u043d\\u0442\\u0438\\u0438\",\"\\u0412\\u0438\\u0434 \\u0432\\u044b\\u043f\\u043e\\u043b\\u043d\\u0435\\u043d\\u043d\\u044b\\u0445 \\u0440\\u0430\\u0431\\u043e\\u0442\":\"\\u041f\\u0440\\u043e\\u0444\\u0438\\u043b\\u0430\\u043a\\u0442\\u0438\\u043a\\u0430 \\u0441\\u043f\\u043b\\u0438\\u0442-\\u0441\\u0438\\u0441\\u0442\\u0435\\u043c \\u0432\\u0441\\u0435\\u0445 \\u043c\\u043e\\u0449\\u043d\\u043e\\u0441\\u0442\\u0435\\u0439 (\\u043e\\u0447\\u0438\\u0441\\u0442\\u043a\\u0430, \\u043f\\u0440\\u043e\\u0432\\u0435\\u0440\\u043a\\u0430 \\u0440\\u0430\\u0431\\u043e\\u0442\\u044b)\",\"ID\":\"40281161\",\"\\u0421\\u0434\\u0435\\u043b\\u043a\\u0430_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"\\u041f\\u0422\\u041e\",\"Lead_name\":\"\\u041f\\u0422\\u041e\",\"\\u0411\\u044e\\u0434\\u0436\\u0435\\u0442\":\"0\",\"Budget\":\"0\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"\\u0410\\u0441\\u0442\\u0430\\u043f\\u0435\\u043d\\u043a\\u043e\\u0432\\u0430 \\u042e\\u043b\\u0438\\u0430\\u043d\\u043d\\u0430\",\"Responsible\":\"\\u0410\\u0441\\u0442\\u0430\\u043f\\u0435\\u043d\\u043a\\u043e\\u0432\\u0430 \\u042e\\u043b\\u0438\\u0430\\u043d\\u043d\\u0430\"},\"\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442\":{\"\\u0418\\u0414\\u041d\\u041e\":\"2002018044890\",\"\\u0410\\u0434\\u0440\\u0435\\u0441\":\"Bubuieci Str. Toader Bubuiog 3\\/2\",\"\\u041f\\u043e\\u0432\\u0442\\u043e\\u0440\\u043d\\u044b\\u0439 \\u043a\\u043b\\u0438\\u0435\\u043d\\u0442?\":\"\\u0414\\u0430\",\"\\u0414\\u0430\\u0442\\u0430 \\u043c\\u043e\\u043d\\u0442\\u0430\\u0436\\u0430 (\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442)\":\"25.10.2025\",\"\\u0422\\u0438\\u043f \\u0438 \\u043c\\u043e\\u0434\\u0435\\u043b\\u044c \\u043e\\u0431\\u043e\\u0440\\u0443\\u0434\\u043e\\u0432\\u0430\\u043d\\u0438\\u044f (\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442)\":\"Haier Serene 50\",\"\\u041a\\u043e\\u043b - \\u0432\\u043e \\u043e\\u0431\\u043e\\u0440\\u0443\\u0434\\u043e\\u0432\\u0430\\u043d\\u0438\\u044f (\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442)\":\"2\",\"\\u041a\\u0442\\u043e \\u043c\\u043e\\u043d\\u0442\\u0438\\u0440\\u043e\\u0432\\u0430\\u043b (\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442)\":\"\\u041c\\u0430\\u0441\\u0442\\u0435\\u0440 \\u043a\\u043e\\u043c\\u043f\\u0430\\u043d\\u0438\\u0438 Edenvor SRL\",\"\\u041d\\u043e\\u043c\\u0435\\u0440 \\u043a\\u043e\\u043d\\u0442\\u0440\\u0430\\u043a\\u0442\\u0430 (\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442)\":\"C7327\",\"\\u0418\\u043c\\u044f \\u043a\\u043b\\u0438\\u0435\\u043d\\u0442\\u0430 (\\u0421\\u041c\\u0421)\":\"Dumitru\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"37379415223\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Dumitru Mereuta\",\"Contact_name\":\"Dumitru Mereuta\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"\\u0410\\u0441\\u0442\\u0430\\u043f\\u0435\\u043d\\u043a\\u043e\\u0432\\u0430 \\u042e\\u043b\\u0438\\u0430\\u043d\\u043d\\u0430\",\"Responsible\":\"\\u0410\\u0441\\u0442\\u0430\\u043f\\u0435\\u043d\\u043a\\u043e\\u0432\\u0430 \\u042e\\u043b\\u0438\\u0430\\u043d\\u043d\\u0430\"},\"contact\":{\"\\u0418\\u0414\\u041d\\u041e\":\"2002018044890\",\"\\u0410\\u0434\\u0440\\u0435\\u0441\":\"Bubuieci Str. Toader Bubuiog 3\\/2\",\"\\u041f\\u043e\\u0432\\u0442\\u043e\\u0440\\u043d\\u044b\\u0439 \\u043a\\u043b\\u0438\\u0435\\u043d\\u0442?\":\"\\u0414\\u0430\",\"\\u0414\\u0430\\u0442\\u0430 \\u043c\\u043e\\u043d\\u0442\\u0430\\u0436\\u0430 (\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442)\":\"25.10.2025\",\"\\u0422\\u0438\\u043f \\u0438 \\u043c\\u043e\\u0434\\u0435\\u043b\\u044c \\u043e\\u0431\\u043e\\u0440\\u0443\\u0434\\u043e\\u0432\\u0430\\u043d\\u0438\\u044f (\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442)\":\"Haier Serene 50\",\"\\u041a\\u043e\\u043b - \\u0432\\u043e \\u043e\\u0431\\u043e\\u0440\\u0443\\u0434\\u043e\\u0432\\u0430\\u043d\\u0438\\u044f (\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442)\":\"2\",\"\\u041a\\u0442\\u043e \\u043c\\u043e\\u043d\\u0442\\u0438\\u0440\\u043e\\u0432\\u0430\\u043b (\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442)\":\"\\u041c\\u0430\\u0441\\u0442\\u0435\\u0440 \\u043a\\u043e\\u043c\\u043f\\u0430\\u043d\\u0438\\u0438 Edenvor SRL\",\"\\u041d\\u043e\\u043c\\u0435\\u0440 \\u043a\\u043e\\u043d\\u0442\\u0440\\u0430\\u043a\\u0442\\u0430 (\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442)\":\"C7327\",\"\\u0418\\u043c\\u044f \\u043a\\u043b\\u0438\\u0435\\u043d\\u0442\\u0430 (\\u0421\\u041c\\u0421)\":\"Dumitru\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"37379415223\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Dumitru Mereuta\",\"Contact_name\":\"Dumitru Mereuta\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"\\u0410\\u0441\\u0442\\u0430\\u043f\\u0435\\u043d\\u043a\\u043e\\u0432\\u0430 \\u042e\\u043b\\u0438\\u0430\\u043d\\u043d\\u0430\",\"Responsible\":\"\\u0410\\u0441\\u0442\\u0430\\u043f\\u0435\\u043d\\u043a\\u043e\\u0432\\u0430 \\u042e\\u043b\\u0438\\u0430\\u043d\\u043d\\u0430\"},\"\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442\\u044b\":[{\"\\u0418\\u0414\\u041d\\u041e\":\"2002018044890\",\"\\u0410\\u0434\\u0440\\u0435\\u0441\":\"Bubuieci Str. Toader Bubuiog 3\\/2\",\"\\u041f\\u043e\\u0432\\u0442\\u043e\\u0440\\u043d\\u044b\\u0439 \\u043a\\u043b\\u0438\\u0435\\u043d\\u0442?\":\"\\u0414\\u0430\",\"\\u0414\\u0430\\u0442\\u0430 \\u043c\\u043e\\u043d\\u0442\\u0430\\u0436\\u0430 (\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442)\":\"25.10.2025\",\"\\u0422\\u0438\\u043f \\u0438 \\u043c\\u043e\\u0434\\u0435\\u043b\\u044c \\u043e\\u0431\\u043e\\u0440\\u0443\\u0434\\u043e\\u0432\\u0430\\u043d\\u0438\\u044f (\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442)\":\"Haier Serene 50\",\"\\u041a\\u043e\\u043b - \\u0432\\u043e \\u043e\\u0431\\u043e\\u0440\\u0443\\u0434\\u043e\\u0432\\u0430\\u043d\\u0438\\u044f (\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442)\":\"2\",\"\\u041a\\u0442\\u043e \\u043c\\u043e\\u043d\\u0442\\u0438\\u0440\\u043e\\u0432\\u0430\\u043b (\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442)\":\"\\u041c\\u0430\\u0441\\u0442\\u0435\\u0440 \\u043a\\u043e\\u043c\\u043f\\u0430\\u043d\\u0438\\u0438 Edenvor SRL\",\"\\u041d\\u043e\\u043c\\u0435\\u0440 \\u043a\\u043e\\u043d\\u0442\\u0440\\u0430\\u043a\\u0442\\u0430 (\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442)\":\"C7327\",\"\\u0418\\u043c\\u044f \\u043a\\u043b\\u0438\\u0435\\u043d\\u0442\\u0430 (\\u0421\\u041c\\u0421)\":\"Dumitru\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"37379415223\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Dumitru Mereuta\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"\\u0410\\u0441\\u0442\\u0430\\u043f\\u0435\\u043d\\u043a\\u043e\\u0432\\u0430 \\u042e\\u043b\\u0438\\u0430\\u043d\\u043d\\u0430\"}],\"\\u0434\\u043e\\u043a\\u0443\\u043c\\u0435\\u043d\\u0442\":{\"\\u0414\\u0430\\u0442\\u0430\":\"23.10.2026\",\"\\u041d\\u043e\\u043c\\u0435\\u0440\":\"1419\"},\"document\":{\"Date\":\"23.10.2026\",\"Number\":\"1419\"}}}","edit":true}} {"uid":"8af2da6"}
[2026-10-23 14:09:31] docflow.DEBUG: GAS raw response {"raw":"[object] (stdClass: {\"code\":1,\"url\":\"\",\"file_id\":\"\",\"error\":\"Error Exception: Limiet overschreden: Drive.\\nException: Limiet overschreden: Drive.\\n    at FillDocument (gscript:301:25)\\n    at CreateDocument (gscript:71:16)\\n    at doPost (gscript:45:14)\\n    at __GS_INTERNAL_top_function_call__.gs:1:8\",\"vars\":{}})"} {"uid":"8af2da6"}
[2026-10-23 14:09:31] docflow.ERROR: Missing file_id in GAS response {"decoded":"[object] (stdClass: {\"code\":1,\"url\":\"\",\"file_id\":\"\",\"error\":\"Error Exception: Limiet overschreden: Drive.\\nException: Limiet overschreden: Drive.\\n    at FillDocument (gscript:301:25)\\n    at CreateDocument (gscript:71:16)\\n    at doPost (gscript:45:14)\\n    at __GS_INTERNAL_top_function_call__.gs:1:8\",\"vars\":{}})"} {"uid":"8af2da6"}
[2026-10-23 14:09:31] docflow.ERROR: file_id lipsește în răspunsul GAS {"trace":"#0 /home/ytvmclwh/document.amocrm.md/src/Controllers/Docs.php(94): Genezis\\Docflow\\Models\\Docs->createDoc(Array)\n#1 [internal function]: Genezis\\Docflow\\Controllers\\Docs->create(Object(Slim\\Http\\Request), Object(Slim\\Http\\Response), Array)\n#2 /home/ytvmclwh/document.amocrm.md/vendor/slim/slim/Slim/Handlers/Strategies/RequestResponse.php(41): call_user_func(Array, Object(Slim\\Http\\Request), Object(Slim\\Http\\Response), Array)\n#3 /home/ytvmclwh/document.amocrm.md/vendor/slim/slim/Slim/Route.php(335): Slim\\Handlers\\Strategies\\RequestResponse->__invoke(Array, Object(Slim\\Http\\Request), Object(Slim\\Http\\Response), Array)\n#4 /home/ytvmclwh/document.amocrm.md/vendor/slim/slim/Slim/MiddlewareAwareTrait.php(117): Slim\\Route->__invoke(Object(Slim\\Http\\Request), Object(Slim\\Http\\Response))\n#5 /home/ytvmclwh/document.amocrm.md/vendor/slim/slim/Slim/Route.php(313): Slim\\Route->callMiddlewareStack(Object(Slim\\Http\\Request), Object(Slim\\Http\\Response))\n#6 /home/ytvmclwh/document.amocrm.md/vendor/slim/slim/Slim/App.php(495): Slim\\Route->run(Object(Slim\\Http\\Request), Object(Slim\\Http\\Response))\n#7 /home/ytvmclwh/document.amocrm.md/vendor/genezis/amocrm-cors/src/AmoCors.php(54): Slim\\App->__invoke(Object(Slim\\Http\\Request), Object(Slim\\Http\\Response))\n#8 [internal function]: Genezis\\Middlewares\\AmoCors->__invoke(Object(Slim\\Http\\Request), Object(Slim\\Http\\Response), Object(Slim\\App))\n#9 /home/ytvmclwh/document.amocrm.md/vendor/slim/slim/Slim/DeferredCallable.php(43): call_user_func_array(Object(Genezis\\Middlewares\\AmoCors), Array)\n#10 [internal function]: Slim\\DeferredCallable->__invoke(Object(Slim\\Http\\Request), Object(Slim\\Http\\Response), Object(Slim\\App))\n#11 /home/ytvmclwh/document.amocrm.md/vendor/slim/slim/Slim/MiddlewareAwareTrait.php(70): call_user_func(Object(Slim\\DeferredCallable), Object(Slim\\Http\\Request), Object(Slim\\Http\\Response), Object(Slim\\App))\n#12 /home/ytvmclwh/document.amocrm.md/vendor/slim/slim/Slim/MiddlewareAwareTrait.php(117): Slim\\App->Slim\\{closure}(Object(Slim\\Http\\Request), Object(Slim\\Http\\Response))\n#13 /home/ytvmclwh/document.amocrm.md/vendor/slim/slim/Slim/App.php(388): Slim\\App->callMiddlewareStack(Object(Slim\\Http\\Request), Object(Slim\\Http\\Response))\n#14 /home/ytvmclwh/document.amocrm.md/vendor/slim/slim/Slim/App.php(296): Slim\\App->process(Object(Slim\\Http\\Request), Object(Slim\\Http\\Response))\n#15 /home/ytvmclwh/document.amocrm.md/public/index.php(37): Slim\\App->run()\n#16 {main}"} {"uid":"8af2da6"}
[2026-10-23 14:09:40] docflow.INFO: Apel createDoc {"data":{"amoAccountId":"32990686","amoUserId":null,"amoEntityId":"40281161","amoEntityType":"2","templateId":"11646","corporateEntityId":"","settlementAccountId":"","is_signed":null,"gdi":null,"number":null,"currentAmoUserId":null,"lang":"ru"}} {"uid":"98f7e98"}
[2026-10-23 14:09:40] docflow.INFO: Token is valid for account 32990686. [] {"uid":"98f7e98"}
[2026-10-23 14:09:40] docflow.DEBUG: getClientAuth returned {"auth":"[object] (stdClass: {\"domain\":\"eurosanteh.amocrm.ru\",\"access_token\":\"eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImp0aSI6IjY5Mzc5OGZlNDIzMGE1MWY0YzI0ZmMxM2U1YzVkMzVmYTBiMTk5YjhkNzgwOGYxOThiNTNiZDBhNjhiYjJlM2IwYWQxMThmYzNhOTEwNjJjIn0.eyJhdWQiOiIwZDY0ZGZmYi1lNTRiLTQ0OGYtOWZiZi1iYWYyMjUxYTExZGIiLCJqdGkiOiI2OTM3OThmZTQyMzBhNTFmNGMyNGZjMTNlNWM1ZDM1ZmEwYjE5OWI4ZDc4MDhmMTk4YjUzYmQwYTY4YmIyZTNiMGFkMTE4ZmMzYTkxMDYyYyIsImlhdCI6MTc5Mjc1MzA5NCwibmJmIjoxNzkyNzUzMDk0LCJleHAiOjE3OTI4Mzk0OTQsInN1YiI6IjEzNjg3MzAyIiwiZ3JhbnRfdHlwZSI6IiIsImFjY291bnRfaWQiOjMyOTkwNjg2LCJiYXNlX2RvbWFpbiI6ImFtb2NybS5ydSIsInZlcnNpb24iOjIsInNjb3BlcyI6WyJwdXNoX25vdGlmaWNhdGlvbnMiLCJjcm0iLCJub3RpZmljYXRpb25zIl0sImhhc2hfdXVpZCI6IjQwYTU5NTBlLTc2Y2ItNDExMS1iMzEwLTY2NTFlYTExNjkyMSIsImFwaV9kb21haW4iOiJhcGktYi5hbW9jcm0ucnUifQ.LmcONZq4bG-4wu9yZLdix4X8YEJ9nnjo4EH6Gtm6_xVdDEu-aAT2kKF3da_wNDK9LvN4Kk4dpyolrDtajRotJBTS2kmtmExqa5EbRGeclQfHAHqXw63Pp4WZ0xAtOZ0RydvY4Zv9pSgffwBIaUrH4VGUiRz0JtnzUX94HfZTRvj0RVtdGH05wRqb3K14oexZxIuAeHlqaeoC5B8HnApykH2SERXLcXE61GxPBymRGMF51koNMW5WIoTo6DSTTSQLxshtNOgz1gomQn12gKDr7pVAEipYdEpiOkJAOzHovIeV1XnzxReiLWq8CIdTEuaVIc2h5MXt_F168QL8BpOPiA\"})","file":"/home/ytvmclwh/document.amocrm.md/src/Models/Docs.php","line":121} {"uid":"98f7e98"}
[2026-10-23 14:09:43] docflow.DEBUG: AmoDrive docflow context request {"url":"https://google.emale.uno/api/docflow/google-context","query":{"account_id":"32990686","entity_id":"40281161","entity_type":"leads"}} {"uid":"98f7e98"}
[2026-10-23 14:09:43] 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=32990686&amp;entity_id=40281161&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/10/23 14:09:43</td>\r\n</tr>\r\n</table>\r\n<hr><center>tengine</center>\r\n</body>\r\n</html>\r\n"} {"uid":"98f7e98"}
[2026-10-23 14:09:43] docflow.DEBUG: AmoDrive docflow context request {"url":"https://gd.glucose-dev.online/api/docflow/google-context","query":{"account_id":"32990686","entity_id":"40281161","entity_type":"leads"}} {"uid":"98f7e98"}
[2026-10-23 14:09:43] 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":32990686,"entityId":"40281161","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":"98f7e98"}
[2026-10-23 14:09:43] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://google.emale.uno/api/docflow/prepare-generated-doc","payload":{"account_id":"32990686","entity_id":"40281161","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"98f7e98"}
[2026-10-23 14:09:43] 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/10/23 14:09:43</td>\r\n</tr>\r\n</table>\r\n<hr><center>tengine</center>\r\n</body>\r\n</html>\r\n","payload":{"account_id":"32990686","entity_id":"40281161","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"98f7e98"}
[2026-10-23 14:09:43] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://gd.glucose-dev.online/api/docflow/prepare-generated-doc","payload":{"account_id":"32990686","entity_id":"40281161","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"98f7e98"}
[2026-10-23 14:09:43] 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\":32990686})","payload":{"account_id":"32990686","entity_id":"40281161","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"98f7e98"}
[2026-10-23 14:09:43] docflow.DEBUG: GAS request {"url":"https://script.google.com/macros/s/AKfycbwrvOJD46zkuoTzdhpc1kulhV8jRfgQBFZfQ121nkIip_k8yKit4xrbWTOzaJ-C-Yed6w/exec","body":{"templateFileId":"1ISSW7q2any2Qldkh8ZtwiERwaib6ci11XCezBMQIcRU","accountId":"32990686","folderId":"1Us2AfskxgdA729xVr0F2vjZU9y5PlYDe","key":"~VTsK5dcnHc2cSSsjM$LFSjLlgbmJXwrp3R2P5nd","data":"{\"fileName\":\"Act primire predare new All for All 1419 20261023140943\",\"leadId\":\"40281161\",\"entities\":{\"\\u0441\\u0434\\u0435\\u043b\\u043a\\u0430\":{\"\\u0421\\u043b\\u0435\\u0434\\u0443\\u044e\\u0449\\u0430\\u044f \\u0434\\u0430\\u0442\\u0430 \\u0441\\u0435\\u0440\\u0432\\u0438\\u0441\\u0430\":\"25.10.2027\",\"\\u0414\\u0430\\u0442\\u0430 \\u043c\\u043e\\u043d\\u0442\\u0430\\u0436\\u0430 (\\u0411\\u0414)\":\"25.10.2025\",\"\\u041d\\u0430\\u0437\\u0432\\u0430\\u043d\\u0438\\u0435 \\u0442\\u043e\\u0432\\u0430\\u0440\\u0430 (\\u0411\\u0414)\":\"Haier Serene 50\",\"\\u0412\\u0438\\u0434 \\u0440\\u0430\\u0431\\u043e\\u0442\\u044b (\\u0411\\u0414)\":\"\\u0423\\u0441\\u0442\\u0430\\u043d\\u043e\\u0432\\u043a\\u0430 \\u043a\\u043e\\u043d\\u0434\\u0438\\u0446\\u0438\\u043e\\u043d\\u0435\\u0440\\u0430\",\"\\u0424\\u0418\\u041e \\u043c\\u043e\\u043d\\u0442\\u0430\\u0436\\u043d\\u0438\\u043a\\u0430 (\\u0411\\u0414)\":\"\\u041c\\u0438\\u0440\\u043e\\u043d \\u0420.\",\"\\u0414\\u0435\\u043d\\u044c \\u043d\\u0435\\u0434\\u0435\\u043b\\u0438\":\"\\u041f\\u044f\\u0442\\u043d\\u0438\\u0446\\u0430\",\"\\u0414\\u0430\\u0442\\u0430 \\u0438 \\u0432\\u0440\\u0435\\u043c\\u044f \\u0432\\u0438\\u0437\\u0438\\u0442\\u0430\":\"2026-10-24 17:13:00\",\"\\u0414\\u0430\\u0442\\u0430 \\u0432\\u0438\\u0437\\u0438\\u0442\\u0430\":\"24.10.2026\",\"\\u0426\\u0435\\u043b\\u044c \\u0432\\u044b\\u0435\\u0437\\u0434\\u0430\":\"\\u041f\\u0440\\u043e\\u0444\\u0438\\u043b\\u0430\\u043a\\u0442\\u0438\\u043a\\u0430 \\u043f\\u043e \\u0433\\u0430\\u0440\\u0430\\u043d\\u0442\\u0438\\u0438\",\"\\u0412\\u0438\\u0434 \\u0432\\u044b\\u043f\\u043e\\u043b\\u043d\\u0435\\u043d\\u043d\\u044b\\u0445 \\u0440\\u0430\\u0431\\u043e\\u0442\":\"\\u041f\\u0440\\u043e\\u0444\\u0438\\u043b\\u0430\\u043a\\u0442\\u0438\\u043a\\u0430 \\u0441\\u043f\\u043b\\u0438\\u0442-\\u0441\\u0438\\u0441\\u0442\\u0435\\u043c \\u0432\\u0441\\u0435\\u0445 \\u043c\\u043e\\u0449\\u043d\\u043e\\u0441\\u0442\\u0435\\u0439 (\\u043e\\u0447\\u0438\\u0441\\u0442\\u043a\\u0430, \\u043f\\u0440\\u043e\\u0432\\u0435\\u0440\\u043a\\u0430 \\u0440\\u0430\\u0431\\u043e\\u0442\\u044b)\",\"ID\":\"40281161\",\"\\u0421\\u0434\\u0435\\u043b\\u043a\\u0430_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"\\u041f\\u0422\\u041e\",\"Lead_name\":\"\\u041f\\u0422\\u041e\",\"\\u0411\\u044e\\u0434\\u0436\\u0435\\u0442\":\"0\",\"Budget\":\"0\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"\\u0410\\u0441\\u0442\\u0430\\u043f\\u0435\\u043d\\u043a\\u043e\\u0432\\u0430 \\u042e\\u043b\\u0438\\u0430\\u043d\\u043d\\u0430\",\"Responsible\":\"\\u0410\\u0441\\u0442\\u0430\\u043f\\u0435\\u043d\\u043a\\u043e\\u0432\\u0430 \\u042e\\u043b\\u0438\\u0430\\u043d\\u043d\\u0430\"},\"lead\":{\"\\u0421\\u043b\\u0435\\u0434\\u0443\\u044e\\u0449\\u0430\\u044f \\u0434\\u0430\\u0442\\u0430 \\u0441\\u0435\\u0440\\u0432\\u0438\\u0441\\u0430\":\"25.10.2027\",\"\\u0414\\u0430\\u0442\\u0430 \\u043c\\u043e\\u043d\\u0442\\u0430\\u0436\\u0430 (\\u0411\\u0414)\":\"25.10.2025\",\"\\u041d\\u0430\\u0437\\u0432\\u0430\\u043d\\u0438\\u0435 \\u0442\\u043e\\u0432\\u0430\\u0440\\u0430 (\\u0411\\u0414)\":\"Haier Serene 50\",\"\\u0412\\u0438\\u0434 \\u0440\\u0430\\u0431\\u043e\\u0442\\u044b (\\u0411\\u0414)\":\"\\u0423\\u0441\\u0442\\u0430\\u043d\\u043e\\u0432\\u043a\\u0430 \\u043a\\u043e\\u043d\\u0434\\u0438\\u0446\\u0438\\u043e\\u043d\\u0435\\u0440\\u0430\",\"\\u0424\\u0418\\u041e \\u043c\\u043e\\u043d\\u0442\\u0430\\u0436\\u043d\\u0438\\u043a\\u0430 (\\u0411\\u0414)\":\"\\u041c\\u0438\\u0440\\u043e\\u043d \\u0420.\",\"\\u0414\\u0435\\u043d\\u044c \\u043d\\u0435\\u0434\\u0435\\u043b\\u0438\":\"\\u041f\\u044f\\u0442\\u043d\\u0438\\u0446\\u0430\",\"\\u0414\\u0430\\u0442\\u0430 \\u0438 \\u0432\\u0440\\u0435\\u043c\\u044f \\u0432\\u0438\\u0437\\u0438\\u0442\\u0430\":\"2026-10-24 17:13:00\",\"\\u0414\\u0430\\u0442\\u0430 \\u0432\\u0438\\u0437\\u0438\\u0442\\u0430\":\"24.10.2026\",\"\\u0426\\u0435\\u043b\\u044c \\u0432\\u044b\\u0435\\u0437\\u0434\\u0430\":\"\\u041f\\u0440\\u043e\\u0444\\u0438\\u043b\\u0430\\u043a\\u0442\\u0438\\u043a\\u0430 \\u043f\\u043e \\u0433\\u0430\\u0440\\u0430\\u043d\\u0442\\u0438\\u0438\",\"\\u0412\\u0438\\u0434 \\u0432\\u044b\\u043f\\u043e\\u043b\\u043d\\u0435\\u043d\\u043d\\u044b\\u0445 \\u0440\\u0430\\u0431\\u043e\\u0442\":\"\\u041f\\u0440\\u043e\\u0444\\u0438\\u043b\\u0430\\u043a\\u0442\\u0438\\u043a\\u0430 \\u0441\\u043f\\u043b\\u0438\\u0442-\\u0441\\u0438\\u0441\\u0442\\u0435\\u043c \\u0432\\u0441\\u0435\\u0445 \\u043c\\u043e\\u0449\\u043d\\u043e\\u0441\\u0442\\u0435\\u0439 (\\u043e\\u0447\\u0438\\u0441\\u0442\\u043a\\u0430, \\u043f\\u0440\\u043e\\u0432\\u0435\\u0440\\u043a\\u0430 \\u0440\\u0430\\u0431\\u043e\\u0442\\u044b)\",\"ID\":\"40281161\",\"\\u0421\\u0434\\u0435\\u043b\\u043a\\u0430_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"\\u041f\\u0422\\u041e\",\"Lead_name\":\"\\u041f\\u0422\\u041e\",\"\\u0411\\u044e\\u0434\\u0436\\u0435\\u0442\":\"0\",\"Budget\":\"0\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"\\u0410\\u0441\\u0442\\u0430\\u043f\\u0435\\u043d\\u043a\\u043e\\u0432\\u0430 \\u042e\\u043b\\u0438\\u0430\\u043d\\u043d\\u0430\",\"Responsible\":\"\\u0410\\u0441\\u0442\\u0430\\u043f\\u0435\\u043d\\u043a\\u043e\\u0432\\u0430 \\u042e\\u043b\\u0438\\u0430\\u043d\\u043d\\u0430\"},\"\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442\":{\"\\u0418\\u0414\\u041d\\u041e\":\"2002018044890\",\"\\u0410\\u0434\\u0440\\u0435\\u0441\":\"Bubuieci Str. Toader Bubuiog 3\\/2\",\"\\u041f\\u043e\\u0432\\u0442\\u043e\\u0440\\u043d\\u044b\\u0439 \\u043a\\u043b\\u0438\\u0435\\u043d\\u0442?\":\"\\u0414\\u0430\",\"\\u0414\\u0430\\u0442\\u0430 \\u043c\\u043e\\u043d\\u0442\\u0430\\u0436\\u0430 (\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442)\":\"25.10.2025\",\"\\u0422\\u0438\\u043f \\u0438 \\u043c\\u043e\\u0434\\u0435\\u043b\\u044c \\u043e\\u0431\\u043e\\u0440\\u0443\\u0434\\u043e\\u0432\\u0430\\u043d\\u0438\\u044f (\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442)\":\"Haier Serene 50\",\"\\u041a\\u043e\\u043b - \\u0432\\u043e \\u043e\\u0431\\u043e\\u0440\\u0443\\u0434\\u043e\\u0432\\u0430\\u043d\\u0438\\u044f (\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442)\":\"2\",\"\\u041a\\u0442\\u043e \\u043c\\u043e\\u043d\\u0442\\u0438\\u0440\\u043e\\u0432\\u0430\\u043b (\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442)\":\"\\u041c\\u0430\\u0441\\u0442\\u0435\\u0440 \\u043a\\u043e\\u043c\\u043f\\u0430\\u043d\\u0438\\u0438 Edenvor SRL\",\"\\u041d\\u043e\\u043c\\u0435\\u0440 \\u043a\\u043e\\u043d\\u0442\\u0440\\u0430\\u043a\\u0442\\u0430 (\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442)\":\"C7327\",\"\\u0418\\u043c\\u044f \\u043a\\u043b\\u0438\\u0435\\u043d\\u0442\\u0430 (\\u0421\\u041c\\u0421)\":\"Dumitru\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"37379415223\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Dumitru Mereuta\",\"Contact_name\":\"Dumitru Mereuta\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"\\u0410\\u0441\\u0442\\u0430\\u043f\\u0435\\u043d\\u043a\\u043e\\u0432\\u0430 \\u042e\\u043b\\u0438\\u0430\\u043d\\u043d\\u0430\",\"Responsible\":\"\\u0410\\u0441\\u0442\\u0430\\u043f\\u0435\\u043d\\u043a\\u043e\\u0432\\u0430 \\u042e\\u043b\\u0438\\u0430\\u043d\\u043d\\u0430\"},\"contact\":{\"\\u0418\\u0414\\u041d\\u041e\":\"2002018044890\",\"\\u0410\\u0434\\u0440\\u0435\\u0441\":\"Bubuieci Str. Toader Bubuiog 3\\/2\",\"\\u041f\\u043e\\u0432\\u0442\\u043e\\u0440\\u043d\\u044b\\u0439 \\u043a\\u043b\\u0438\\u0435\\u043d\\u0442?\":\"\\u0414\\u0430\",\"\\u0414\\u0430\\u0442\\u0430 \\u043c\\u043e\\u043d\\u0442\\u0430\\u0436\\u0430 (\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442)\":\"25.10.2025\",\"\\u0422\\u0438\\u043f \\u0438 \\u043c\\u043e\\u0434\\u0435\\u043b\\u044c \\u043e\\u0431\\u043e\\u0440\\u0443\\u0434\\u043e\\u0432\\u0430\\u043d\\u0438\\u044f (\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442)\":\"Haier Serene 50\",\"\\u041a\\u043e\\u043b - \\u0432\\u043e \\u043e\\u0431\\u043e\\u0440\\u0443\\u0434\\u043e\\u0432\\u0430\\u043d\\u0438\\u044f (\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442)\":\"2\",\"\\u041a\\u0442\\u043e \\u043c\\u043e\\u043d\\u0442\\u0438\\u0440\\u043e\\u0432\\u0430\\u043b (\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442)\":\"\\u041c\\u0430\\u0441\\u0442\\u0435\\u0440 \\u043a\\u043e\\u043c\\u043f\\u0430\\u043d\\u0438\\u0438 Edenvor SRL\",\"\\u041d\\u043e\\u043c\\u0435\\u0440 \\u043a\\u043e\\u043d\\u0442\\u0440\\u0430\\u043a\\u0442\\u0430 (\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442)\":\"C7327\",\"\\u0418\\u043c\\u044f \\u043a\\u043b\\u0438\\u0435\\u043d\\u0442\\u0430 (\\u0421\\u041c\\u0421)\":\"Dumitru\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"37379415223\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Dumitru Mereuta\",\"Contact_name\":\"Dumitru Mereuta\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"\\u0410\\u0441\\u0442\\u0430\\u043f\\u0435\\u043d\\u043a\\u043e\\u0432\\u0430 \\u042e\\u043b\\u0438\\u0430\\u043d\\u043d\\u0430\",\"Responsible\":\"\\u0410\\u0441\\u0442\\u0430\\u043f\\u0435\\u043d\\u043a\\u043e\\u0432\\u0430 \\u042e\\u043b\\u0438\\u0430\\u043d\\u043d\\u0430\"},\"\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442\\u044b\":[{\"\\u0418\\u0414\\u041d\\u041e\":\"2002018044890\",\"\\u0410\\u0434\\u0440\\u0435\\u0441\":\"Bubuieci Str. Toader Bubuiog 3\\/2\",\"\\u041f\\u043e\\u0432\\u0442\\u043e\\u0440\\u043d\\u044b\\u0439 \\u043a\\u043b\\u0438\\u0435\\u043d\\u0442?\":\"\\u0414\\u0430\",\"\\u0414\\u0430\\u0442\\u0430 \\u043c\\u043e\\u043d\\u0442\\u0430\\u0436\\u0430 (\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442)\":\"25.10.2025\",\"\\u0422\\u0438\\u043f \\u0438 \\u043c\\u043e\\u0434\\u0435\\u043b\\u044c \\u043e\\u0431\\u043e\\u0440\\u0443\\u0434\\u043e\\u0432\\u0430\\u043d\\u0438\\u044f (\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442)\":\"Haier Serene 50\",\"\\u041a\\u043e\\u043b - \\u0432\\u043e \\u043e\\u0431\\u043e\\u0440\\u0443\\u0434\\u043e\\u0432\\u0430\\u043d\\u0438\\u044f (\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442)\":\"2\",\"\\u041a\\u0442\\u043e \\u043c\\u043e\\u043d\\u0442\\u0438\\u0440\\u043e\\u0432\\u0430\\u043b (\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442)\":\"\\u041c\\u0430\\u0441\\u0442\\u0435\\u0440 \\u043a\\u043e\\u043c\\u043f\\u0430\\u043d\\u0438\\u0438 Edenvor SRL\",\"\\u041d\\u043e\\u043c\\u0435\\u0440 \\u043a\\u043e\\u043d\\u0442\\u0440\\u0430\\u043a\\u0442\\u0430 (\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442)\":\"C7327\",\"\\u0418\\u043c\\u044f \\u043a\\u043b\\u0438\\u0435\\u043d\\u0442\\u0430 (\\u0421\\u041c\\u0421)\":\"Dumitru\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"37379415223\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Dumitru Mereuta\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"\\u0410\\u0441\\u0442\\u0430\\u043f\\u0435\\u043d\\u043a\\u043e\\u0432\\u0430 \\u042e\\u043b\\u0438\\u0430\\u043d\\u043d\\u0430\"}],\"\\u0434\\u043e\\u043a\\u0443\\u043c\\u0435\\u043d\\u0442\":{\"\\u0414\\u0430\\u0442\\u0430\":\"23.10.2026\",\"\\u041d\\u043e\\u043c\\u0435\\u0440\":\"1419\"},\"document\":{\"Date\":\"23.10.2026\",\"Number\":\"1419\"}}}","edit":true}} {"uid":"98f7e98"}
[2026-10-23 14:09:51] docflow.DEBUG: GAS raw response {"raw":"[object] (stdClass: {\"code\":1,\"url\":\"https://docs.google.com/open?id=1_IFR9hbiCYOUZma6SOb3moVQvb5GnkuIHXqReUMV2UU\",\"file_id\":\"1_IFR9hbiCYOUZma6SOb3moVQvb5GnkuIHXqReUMV2UU\",\"error\":\"\",\"vars\":\"\"})"} {"uid":"98f7e98"}
[2026-10-23 14:09:51] docflow.WARNING: AmoDrive generated-file move is not ready. {"fileId":"1_IFR9hbiCYOUZma6SOb3moVQvb5GnkuIHXqReUMV2UU","context":null} {"uid":"98f7e98"}
[2026-10-23 14:29:05] docflow.INFO: Apel createDoc {"data":{"amoAccountId":"22699852","amoUserId":null,"amoEntityId":"42909291","amoEntityType":"2","templateId":"11526","corporateEntityId":"","settlementAccountId":"","is_signed":null,"gdi":null,"number":null,"currentAmoUserId":null,"lang":"ru"}} {"uid":"919dcd8"}
[2026-10-23 14:29:06] docflow.INFO: Token is valid for account 22699852. [] {"uid":"919dcd8"}
[2026-10-23 14:29:06] docflow.DEBUG: getClientAuth returned {"auth":"[object] (stdClass: {\"domain\":\"emigrare.amocrm.ru\",\"access_token\":\"eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImp0aSI6IjdkNTUxOTM4ZjU2ZDc3NWEyZTk2YWNkZWYxMDBhZTVjMTU0ZDY4N2QxYTY3N2IxYTI3YWY2NGVkZjgwMzU3ZWY1NjM0MzVjNjRkNDM5NWZhIn0.eyJhdWQiOiIwZDY0ZGZmYi1lNTRiLTQ0OGYtOWZiZi1iYWYyMjUxYTExZGIiLCJqdGkiOiI3ZDU1MTkzOGY1NmQ3NzVhMmU5NmFjZGVmMTAwYWU1YzE1NGQ2ODdkMWE2NzdiMWEyN2FmNjRlZGY4MDM1N2VmNTYzNDM1YzY0ZDQzOTVmYSIsImlhdCI6MTc5Mjc0MzYxNSwibmJmIjoxNzkyNzQzNjE1LCJleHAiOjE3OTI4MzAwMTUsInN1YiI6IjI5MzAzODAiLCJncmFudF90eXBlIjoiIiwiYWNjb3VudF9pZCI6MjI2OTk4NTIsImJhc2VfZG9tYWluIjoiYW1vY3JtLnJ1IiwidmVyc2lvbiI6Miwic2NvcGVzIjpbInB1c2hfbm90aWZpY2F0aW9ucyIsImNybSIsIm5vdGlmaWNhdGlvbnMiXSwiaGFzaF91dWlkIjoiZDkwN2YxYWQtMWU5My00MjNlLThmNDUtZDU5YTQwYTE4N2JiIiwiYXBpX2RvbWFpbiI6ImFwaS1iLmFtb2NybS5ydSJ9.VJwfNIsD_VjFyc-KJFe4wAavXR_qq6DceEzrkvgbjYneig12MqF6Lb8xTPGrej5Aw1OBziCdPaN09MNtY4NNmpaK_C8UX-xHYHq4o9mX-lWl7IgTJvaf6t0N1M3WYryYuGsYQeJlURnFagoQ8_szFb6JzsJTBLBEklqRCGkf3ZyRn_X9-4UbFt0jCT5EOIr4SVYB3fUu__k3Bwv_MCav1y2nEbKoFlK3G6JT-voVzVAn-_dOt0j0OSASvBPrIeMraRG6R3QUbSWZ52Al86I6Uv9tT7Swu9LeibZCs6EsuLQpxuVJNhdbdu7ah0QXHK5rmLIBc6584ZVlCEZKZ8EfNw\"})","file":"/home/ytvmclwh/document.amocrm.md/src/Models/Docs.php","line":121} {"uid":"919dcd8"}
[2026-10-23 14:29:10] docflow.DEBUG: AmoDrive docflow context request {"url":"https://google.emale.uno/api/docflow/google-context","query":{"account_id":"22699852","entity_id":"42909291","entity_type":"leads"}} {"uid":"919dcd8"}
[2026-10-23 14:29:10] 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=42909291&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/10/23 14:29:10</td>\r\n</tr>\r\n</table>\r\n<hr><center>tengine</center>\r\n</body>\r\n</html>\r\n"} {"uid":"919dcd8"}
[2026-10-23 14:29:10] docflow.DEBUG: AmoDrive docflow context request {"url":"https://gd.glucose-dev.online/api/docflow/google-context","query":{"account_id":"22699852","entity_id":"42909291","entity_type":"leads"}} {"uid":"919dcd8"}
[2026-10-23 14:29:10] 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":22699852,"entityId":"42909291","entityType":"leads","amodrive":{"installed":false,"widgetStatus":"uninstalled","amoAccountId":22699852,"accountHost":"emigrare.amocrm.ru","license":{"status":"active","configuredStatus":"active","expiresAt":"2027-08-20T10:16:56.291Z","isExpired":false,"isTrial":false,"isActive":true,"expiredByDate":false,"daysRemaining":301,"isLifetime":false},"licenseActive":false,"googleConnected":false,"googleEmail":null,"googleHasDriveScope":false,"googleHasDriveFileScope":false,"googleHasOwnershipScope":false,"readyForGeneratedFileMove":false,"readyForTransfer":false},"folder":{"id":"1VGGVw5DDCKXnLGwdP0mKq4S2hs7qDTlb","name":"42909291 - Lead #42909291","webViewLink":"https://drive.google.com/drive/folders/1VGGVw5DDCKXnLGwdP0mKq4S2hs7qDTlb"}}} {"uid":"919dcd8"}
[2026-10-23 14:29:10] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://google.emale.uno/api/docflow/prepare-generated-doc","payload":{"account_id":"22699852","entity_id":"42909291","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"919dcd8"}
[2026-10-23 14:29:10] 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/10/23 14:29:10</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":"42909291","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"919dcd8"}
[2026-10-23 14:29:10] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://gd.glucose-dev.online/api/docflow/prepare-generated-doc","payload":{"account_id":"22699852","entity_id":"42909291","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"919dcd8"}
[2026-10-23 14:29:10] 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\":22699852})","payload":{"account_id":"22699852","entity_id":"42909291","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"919dcd8"}
[2026-10-23 14:29:10] docflow.DEBUG: GAS request {"url":"https://script.google.com/macros/s/AKfycbwrvOJD46zkuoTzdhpc1kulhV8jRfgQBFZfQ121nkIip_k8yKit4xrbWTOzaJ-C-Yed6w/exec","body":{"templateFileId":"1snQY4ritjrb76kkRXORjQOdbteGoUc5GjdQR8UlRbIM","accountId":"22699852","folderId":"1Us2AfskxgdA729xVr0F2vjZU9y5PlYDe","key":"~VTsK5dcnHc2cSSsjM$LFSjLlgbmJXwrp3R2P5nd","data":"{\"fileName\":\"\\u0421\\u0447\\u0435\\u0442 \\u043d\\u0430 \\u043e\\u043f\\u043b\\u0430\\u0442\\u0443 DOC PARK (EUR\\/USD\\/MDL) 131 20261023142910\",\"leadId\":\"42909291\",\"entities\":{\"\\u0441\\u0434\\u0435\\u043b\\u043a\\u0430\":{\"Suma \\u20ac\":\"0\",\"Categorie Serviciu\":\"Cet.MD\",\"Serviciu solicitat\":\"1520102\",\"Ancheta completat\\u0103\":\"DA\",\"Temperatura client\":\"Fierbinte\",\"Manager front office\":\"Cezara Cenusa\",\"ID\":\"42909291\",\"\\u0421\\u0434\\u0435\\u043b\\u043a\\u0430_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Cet. MD\",\"Lead_name\":\"Cet. MD\",\"\\u0411\\u044e\\u0434\\u0436\\u0435\\u0442\":\"0\",\"Budget\":\"0\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"Cezara Cenusa\",\"Responsible\":\"Cezara Cenusa\"},\"lead\":{\"Suma \\u20ac\":\"0\",\"Categorie Serviciu\":\"Cet.MD\",\"Serviciu solicitat\":\"1520102\",\"Ancheta completat\\u0103\":\"DA\",\"Temperatura client\":\"Fierbinte\",\"Manager front office\":\"Cezara Cenusa\",\"ID\":\"42909291\",\"\\u0421\\u0434\\u0435\\u043b\\u043a\\u0430_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Cet. MD\",\"Lead_name\":\"Cet. MD\",\"\\u0411\\u044e\\u0434\\u0436\\u0435\\u0442\":\"0\",\"Budget\":\"0\",\"\\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\":{\"WhatsappLid_WZ\":\"280637609132139\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"+37369742459\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Larisa Neamtu\",\"Contact_name\":\"Larisa Neamtu\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"Cezara Cenusa\",\"Responsible\":\"Cezara Cenusa\"},\"contact\":{\"WhatsappLid_WZ\":\"280637609132139\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"+37369742459\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Larisa Neamtu\",\"Contact_name\":\"Larisa Neamtu\",\"\\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\":[{\"WhatsappLid_WZ\":\"280637609132139\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"+37369742459\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Larisa Neamtu\",\"\\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\":\"23.10.2026\",\"\\u041d\\u043e\\u043c\\u0435\\u0440\":\"131\"},\"document\":{\"Date\":\"23.10.2026\",\"Number\":\"131\"}}}","edit":true}} {"uid":"919dcd8"}
[2026-10-23 14:29:19] docflow.DEBUG: GAS raw response {"raw":"[object] (stdClass: {\"code\":1,\"url\":\"https://docs.google.com/open?id=1fzbYCQazr6wF5N4VdEFPB8ydM2tHUWnqS9xUZh5vXbw\",\"file_id\":\"1fzbYCQazr6wF5N4VdEFPB8ydM2tHUWnqS9xUZh5vXbw\",\"error\":\"\",\"vars\":\"\"})"} {"uid":"919dcd8"}
[2026-10-23 14:29:19] docflow.WARNING: AmoDrive generated-file move is not ready. {"fileId":"1fzbYCQazr6wF5N4VdEFPB8ydM2tHUWnqS9xUZh5vXbw","context":null} {"uid":"919dcd8"}
[2026-10-23 14:32:36] docflow.INFO: Apel createDoc {"data":{"amoAccountId":"32990686","amoUserId":null,"amoEntityId":"50114361","amoEntityType":"2","templateId":"11625","corporateEntityId":"","settlementAccountId":"","is_signed":null,"gdi":null,"number":null,"currentAmoUserId":null,"lang":"ru"}} {"uid":"a1b529b"}
[2026-10-23 14:32:37] docflow.INFO: Token is valid for account 32990686. [] {"uid":"a1b529b"}
[2026-10-23 14:32:37] docflow.DEBUG: getClientAuth returned {"auth":"[object] (stdClass: {\"domain\":\"eurosanteh.amocrm.ru\",\"access_token\":\"eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImp0aSI6IjY5Mzc5OGZlNDIzMGE1MWY0YzI0ZmMxM2U1YzVkMzVmYTBiMTk5YjhkNzgwOGYxOThiNTNiZDBhNjhiYjJlM2IwYWQxMThmYzNhOTEwNjJjIn0.eyJhdWQiOiIwZDY0ZGZmYi1lNTRiLTQ0OGYtOWZiZi1iYWYyMjUxYTExZGIiLCJqdGkiOiI2OTM3OThmZTQyMzBhNTFmNGMyNGZjMTNlNWM1ZDM1ZmEwYjE5OWI4ZDc4MDhmMTk4YjUzYmQwYTY4YmIyZTNiMGFkMTE4ZmMzYTkxMDYyYyIsImlhdCI6MTc5Mjc1MzA5NCwibmJmIjoxNzkyNzUzMDk0LCJleHAiOjE3OTI4Mzk0OTQsInN1YiI6IjEzNjg3MzAyIiwiZ3JhbnRfdHlwZSI6IiIsImFjY291bnRfaWQiOjMyOTkwNjg2LCJiYXNlX2RvbWFpbiI6ImFtb2NybS5ydSIsInZlcnNpb24iOjIsInNjb3BlcyI6WyJwdXNoX25vdGlmaWNhdGlvbnMiLCJjcm0iLCJub3RpZmljYXRpb25zIl0sImhhc2hfdXVpZCI6IjQwYTU5NTBlLTc2Y2ItNDExMS1iMzEwLTY2NTFlYTExNjkyMSIsImFwaV9kb21haW4iOiJhcGktYi5hbW9jcm0ucnUifQ.LmcONZq4bG-4wu9yZLdix4X8YEJ9nnjo4EH6Gtm6_xVdDEu-aAT2kKF3da_wNDK9LvN4Kk4dpyolrDtajRotJBTS2kmtmExqa5EbRGeclQfHAHqXw63Pp4WZ0xAtOZ0RydvY4Zv9pSgffwBIaUrH4VGUiRz0JtnzUX94HfZTRvj0RVtdGH05wRqb3K14oexZxIuAeHlqaeoC5B8HnApykH2SERXLcXE61GxPBymRGMF51koNMW5WIoTo6DSTTSQLxshtNOgz1gomQn12gKDr7pVAEipYdEpiOkJAOzHovIeV1XnzxReiLWq8CIdTEuaVIc2h5MXt_F168QL8BpOPiA\"})","file":"/home/ytvmclwh/document.amocrm.md/src/Models/Docs.php","line":121} {"uid":"a1b529b"}
[2026-10-23 14:32:42] docflow.DEBUG: AmoDrive docflow context request {"url":"https://google.emale.uno/api/docflow/google-context","query":{"account_id":"32990686","entity_id":"50114361","entity_type":"leads"}} {"uid":"a1b529b"}
[2026-10-23 14:32:42] 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=32990686&amp;entity_id=50114361&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/10/23 14:32:42</td>\r\n</tr>\r\n</table>\r\n<hr><center>tengine</center>\r\n</body>\r\n</html>\r\n"} {"uid":"a1b529b"}
[2026-10-23 14:32:42] docflow.DEBUG: AmoDrive docflow context request {"url":"https://gd.glucose-dev.online/api/docflow/google-context","query":{"account_id":"32990686","entity_id":"50114361","entity_type":"leads"}} {"uid":"a1b529b"}
[2026-10-23 14:32:42] 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":32990686,"entityId":"50114361","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":"a1b529b"}
[2026-10-23 14:32:42] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://google.emale.uno/api/docflow/prepare-generated-doc","payload":{"account_id":"32990686","entity_id":"50114361","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"a1b529b"}
[2026-10-23 14:32:42] 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/10/23 14:32:42</td>\r\n</tr>\r\n</table>\r\n<hr><center>tengine</center>\r\n</body>\r\n</html>\r\n","payload":{"account_id":"32990686","entity_id":"50114361","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"a1b529b"}
[2026-10-23 14:32:42] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://gd.glucose-dev.online/api/docflow/prepare-generated-doc","payload":{"account_id":"32990686","entity_id":"50114361","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"a1b529b"}
[2026-10-23 14:32:42] 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\":32990686})","payload":{"account_id":"32990686","entity_id":"50114361","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"a1b529b"}
[2026-10-23 14:32:42] docflow.DEBUG: GAS request {"url":"https://script.google.com/macros/s/AKfycbwrvOJD46zkuoTzdhpc1kulhV8jRfgQBFZfQ121nkIip_k8yKit4xrbWTOzaJ-C-Yed6w/exec","body":{"templateFileId":"1AjK4khA9mRlFDVy4RXRqHAg2GTFWJYC-Gac1Mx3OLnA","accountId":"32990686","folderId":"1Us2AfskxgdA729xVr0F2vjZU9y5PlYDe","key":"~VTsK5dcnHc2cSSsjM$LFSjLlgbmJXwrp3R2P5nd","data":"{\"fileName\":\"ALL FOR ALL \\u041d\\u0430\\u0440\\u044f\\u0434 \\u043d\\u0430 \\u0432\\u044b\\u043f\\u043e\\u043b\\u043d\\u0435\\u043d\\u0438\\u0435 \\u0440\\u0430\\u0431\\u043e\\u0442 1420 20261023143242\",\"leadId\":\"50114361\",\"entities\":{\"\\u0441\\u0434\\u0435\\u043b\\u043a\\u0430\":{\"\\u0414\\u0430\\u0442\\u0430 \\u0438 \\u0432\\u0440\\u0435\\u043c\\u044f \\u0432\\u0438\\u0437\\u0438\\u0442\\u0430\":\"2026-10-24 14:30:00\",\"\\u0414\\u0430\\u0442\\u0430 \\u0432\\u0438\\u0437\\u0438\\u0442\\u0430\":\"24.10.2026\",\"\\u0426\\u0435\\u043b\\u044c \\u0432\\u044b\\u0435\\u0437\\u0434\\u0430\":\"\\u041f\\u0440\\u043e\\u0444\\u0438\\u043b\\u0430\\u043a\\u0442\\u0438\\u043a\\u0430 \\u043f\\u043e \\u0433\\u0430\\u0440\\u0430\\u043d\\u0442\\u0438\\u0438\",\"\\u0412\\u0438\\u0434 \\u0432\\u044b\\u043f\\u043e\\u043b\\u043d\\u0435\\u043d\\u043d\\u044b\\u0445 \\u0440\\u0430\\u0431\\u043e\\u0442\":\"\\u041f\\u0440\\u043e\\u0444\\u0438\\u043b\\u0430\\u043a\\u0442\\u0438\\u043a\\u0430 \\u0441\\u043f\\u043b\\u0438\\u0442-\\u0441\\u0438\\u0441\\u0442\\u0435\\u043c \\u0432\\u0441\\u0435\\u0445 \\u043c\\u043e\\u0449\\u043d\\u043e\\u0441\\u0442\\u0435\\u0439 (\\u043e\\u0447\\u0438\\u0441\\u0442\\u043a\\u0430, \\u043f\\u0440\\u043e\\u0432\\u0435\\u0440\\u043a\\u0430 \\u0440\\u0430\\u0431\\u043e\\u0442\\u044b)\",\"\\u0421\\u043b\\u0435\\u0434\\u0443\\u044e\\u0449\\u0430\\u044f \\u0434\\u0430\\u0442\\u0430 \\u0441\\u0435\\u0440\\u0432\\u0438\\u0441\\u0430\":\"24.10.2027\",\"\\u041c\\u043e\\u0434\\u0435\\u043b\\u044c \\u043e\\u0431\\u043e\\u0440\\u0443\\u0434\\u043e\\u0432\\u0430\\u043d\\u0438\\u044f 1\":\"Gree Smart 12-2\",\"ID\":\"50114361\",\"\\u0421\\u0434\\u0435\\u043b\\u043a\\u0430_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"\\u041f\\u0422\\u041e\",\"Lead_name\":\"\\u041f\\u0422\\u041e\",\"\\u0411\\u044e\\u0434\\u0436\\u0435\\u0442\":\"0\",\"Budget\":\"0\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"\\u0410\\u0441\\u0442\\u0430\\u043f\\u0435\\u043d\\u043a\\u043e\\u0432\\u0430 \\u042e\\u043b\\u0438\\u0430\\u043d\\u043d\\u0430\",\"Responsible\":\"\\u0410\\u0441\\u0442\\u0430\\u043f\\u0435\\u043d\\u043a\\u043e\\u0432\\u0430 \\u042e\\u043b\\u0438\\u0430\\u043d\\u043d\\u0430\"},\"lead\":{\"\\u0414\\u0430\\u0442\\u0430 \\u0438 \\u0432\\u0440\\u0435\\u043c\\u044f \\u0432\\u0438\\u0437\\u0438\\u0442\\u0430\":\"2026-10-24 14:30:00\",\"\\u0414\\u0430\\u0442\\u0430 \\u0432\\u0438\\u0437\\u0438\\u0442\\u0430\":\"24.10.2026\",\"\\u0426\\u0435\\u043b\\u044c \\u0432\\u044b\\u0435\\u0437\\u0434\\u0430\":\"\\u041f\\u0440\\u043e\\u0444\\u0438\\u043b\\u0430\\u043a\\u0442\\u0438\\u043a\\u0430 \\u043f\\u043e \\u0433\\u0430\\u0440\\u0430\\u043d\\u0442\\u0438\\u0438\",\"\\u0412\\u0438\\u0434 \\u0432\\u044b\\u043f\\u043e\\u043b\\u043d\\u0435\\u043d\\u043d\\u044b\\u0445 \\u0440\\u0430\\u0431\\u043e\\u0442\":\"\\u041f\\u0440\\u043e\\u0444\\u0438\\u043b\\u0430\\u043a\\u0442\\u0438\\u043a\\u0430 \\u0441\\u043f\\u043b\\u0438\\u0442-\\u0441\\u0438\\u0441\\u0442\\u0435\\u043c \\u0432\\u0441\\u0435\\u0445 \\u043c\\u043e\\u0449\\u043d\\u043e\\u0441\\u0442\\u0435\\u0439 (\\u043e\\u0447\\u0438\\u0441\\u0442\\u043a\\u0430, \\u043f\\u0440\\u043e\\u0432\\u0435\\u0440\\u043a\\u0430 \\u0440\\u0430\\u0431\\u043e\\u0442\\u044b)\",\"\\u0421\\u043b\\u0435\\u0434\\u0443\\u044e\\u0449\\u0430\\u044f \\u0434\\u0430\\u0442\\u0430 \\u0441\\u0435\\u0440\\u0432\\u0438\\u0441\\u0430\":\"24.10.2027\",\"\\u041c\\u043e\\u0434\\u0435\\u043b\\u044c \\u043e\\u0431\\u043e\\u0440\\u0443\\u0434\\u043e\\u0432\\u0430\\u043d\\u0438\\u044f 1\":\"Gree Smart 12-2\",\"ID\":\"50114361\",\"\\u0421\\u0434\\u0435\\u043b\\u043a\\u0430_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"\\u041f\\u0422\\u041e\",\"Lead_name\":\"\\u041f\\u0422\\u041e\",\"\\u0411\\u044e\\u0434\\u0436\\u0435\\u0442\":\"0\",\"Budget\":\"0\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"\\u0410\\u0441\\u0442\\u0430\\u043f\\u0435\\u043d\\u043a\\u043e\\u0432\\u0430 \\u042e\\u043b\\u0438\\u0430\\u043d\\u043d\\u0430\",\"Responsible\":\"\\u0410\\u0441\\u0442\\u0430\\u043f\\u0435\\u043d\\u043a\\u043e\\u0432\\u0430 \\u042e\\u043b\\u0438\\u0430\\u043d\\u043d\\u0430\"},\"\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442\":{\"\\u0418\\u0414\\u041d\\u041e\":\"981805884698\",\"\\u0410\\u0434\\u0440\\u0435\\u0441\":\"sat Baltata\",\"\\u0418\\u043c\\u044f \\u043a\\u043b\\u0438\\u0435\\u043d\\u0442\\u0430 (\\u0421\\u041c\\u0421)\":\"Nicolai\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"37379392876\",\"\\u0422\\u0438\\u043f \\u0438 \\u043c\\u043e\\u0434\\u0435\\u043b\\u044c \\u043e\\u0431\\u043e\\u0440\\u0443\\u0434\\u043e\\u0432\\u0430\\u043d\\u0438\\u044f (\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442)\":\"Gree Smart 12-2\",\"\\u041a\\u043e\\u043b - \\u0432\\u043e \\u043e\\u0431\\u043e\\u0440\\u0443\\u0434\\u043e\\u0432\\u0430\\u043d\\u0438\\u044f (\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442)\":\"2\",\"\\u041a\\u0442\\u043e \\u043c\\u043e\\u043d\\u0442\\u0438\\u0440\\u043e\\u0432\\u0430\\u043b (\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442)\":\"\\u041c\\u0430\\u0441\\u0442\\u0435\\u0440 \\u043a\\u043e\\u043c\\u043f\\u0430\\u043d\\u0438\\u0438 Edenvor SRL\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Nicolai Bodnariuc\",\"Contact_name\":\"Nicolai Bodnariuc\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"\\u0410\\u0441\\u0442\\u0430\\u043f\\u0435\\u043d\\u043a\\u043e\\u0432\\u0430 \\u042e\\u043b\\u0438\\u0430\\u043d\\u043d\\u0430\",\"Responsible\":\"\\u0410\\u0441\\u0442\\u0430\\u043f\\u0435\\u043d\\u043a\\u043e\\u0432\\u0430 \\u042e\\u043b\\u0438\\u0430\\u043d\\u043d\\u0430\"},\"contact\":{\"\\u0418\\u0414\\u041d\\u041e\":\"981805884698\",\"\\u0410\\u0434\\u0440\\u0435\\u0441\":\"sat Baltata\",\"\\u0418\\u043c\\u044f \\u043a\\u043b\\u0438\\u0435\\u043d\\u0442\\u0430 (\\u0421\\u041c\\u0421)\":\"Nicolai\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"37379392876\",\"\\u0422\\u0438\\u043f \\u0438 \\u043c\\u043e\\u0434\\u0435\\u043b\\u044c \\u043e\\u0431\\u043e\\u0440\\u0443\\u0434\\u043e\\u0432\\u0430\\u043d\\u0438\\u044f (\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442)\":\"Gree Smart 12-2\",\"\\u041a\\u043e\\u043b - \\u0432\\u043e \\u043e\\u0431\\u043e\\u0440\\u0443\\u0434\\u043e\\u0432\\u0430\\u043d\\u0438\\u044f (\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442)\":\"2\",\"\\u041a\\u0442\\u043e \\u043c\\u043e\\u043d\\u0442\\u0438\\u0440\\u043e\\u0432\\u0430\\u043b (\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442)\":\"\\u041c\\u0430\\u0441\\u0442\\u0435\\u0440 \\u043a\\u043e\\u043c\\u043f\\u0430\\u043d\\u0438\\u0438 Edenvor SRL\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Nicolai Bodnariuc\",\"Contact_name\":\"Nicolai Bodnariuc\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"\\u0410\\u0441\\u0442\\u0430\\u043f\\u0435\\u043d\\u043a\\u043e\\u0432\\u0430 \\u042e\\u043b\\u0438\\u0430\\u043d\\u043d\\u0430\",\"Responsible\":\"\\u0410\\u0441\\u0442\\u0430\\u043f\\u0435\\u043d\\u043a\\u043e\\u0432\\u0430 \\u042e\\u043b\\u0438\\u0430\\u043d\\u043d\\u0430\"},\"\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442\\u044b\":[{\"\\u0418\\u0414\\u041d\\u041e\":\"981805884698\",\"\\u0410\\u0434\\u0440\\u0435\\u0441\":\"sat Baltata\",\"\\u0418\\u043c\\u044f \\u043a\\u043b\\u0438\\u0435\\u043d\\u0442\\u0430 (\\u0421\\u041c\\u0421)\":\"Nicolai\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"37379392876\",\"\\u0422\\u0438\\u043f \\u0438 \\u043c\\u043e\\u0434\\u0435\\u043b\\u044c \\u043e\\u0431\\u043e\\u0440\\u0443\\u0434\\u043e\\u0432\\u0430\\u043d\\u0438\\u044f (\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442)\":\"Gree Smart 12-2\",\"\\u041a\\u043e\\u043b - \\u0432\\u043e \\u043e\\u0431\\u043e\\u0440\\u0443\\u0434\\u043e\\u0432\\u0430\\u043d\\u0438\\u044f (\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442)\":\"2\",\"\\u041a\\u0442\\u043e \\u043c\\u043e\\u043d\\u0442\\u0438\\u0440\\u043e\\u0432\\u0430\\u043b (\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442)\":\"\\u041c\\u0430\\u0441\\u0442\\u0435\\u0440 \\u043a\\u043e\\u043c\\u043f\\u0430\\u043d\\u0438\\u0438 Edenvor SRL\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Nicolai Bodnariuc\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"\\u0410\\u0441\\u0442\\u0430\\u043f\\u0435\\u043d\\u043a\\u043e\\u0432\\u0430 \\u042e\\u043b\\u0438\\u0430\\u043d\\u043d\\u0430\"}],\"\\u0434\\u043e\\u043a\\u0443\\u043c\\u0435\\u043d\\u0442\":{\"\\u0414\\u0430\\u0442\\u0430\":\"23.10.2026\",\"\\u041d\\u043e\\u043c\\u0435\\u0440\":\"1420\"},\"document\":{\"Date\":\"23.10.2026\",\"Number\":\"1420\"}}}","edit":true}} {"uid":"a1b529b"}
[2026-10-23 14:32:47] docflow.DEBUG: GAS raw response {"raw":"[object] (stdClass: {\"code\":1,\"url\":\"https://docs.google.com/open?id=1HaJPmDW26QOiRl39r7xOl-_8j31WZI-Z0cJH-iLuCpg\",\"file_id\":\"1HaJPmDW26QOiRl39r7xOl-_8j31WZI-Z0cJH-iLuCpg\",\"error\":\"\",\"vars\":\"\"})"} {"uid":"a1b529b"}
[2026-10-23 14:32:47] docflow.WARNING: AmoDrive generated-file move is not ready. {"fileId":"1HaJPmDW26QOiRl39r7xOl-_8j31WZI-Z0cJH-iLuCpg","context":null} {"uid":"a1b529b"}
[2026-10-23 14:32:57] docflow.INFO: Apel createDoc {"data":{"amoAccountId":"32990686","amoUserId":null,"amoEntityId":"50114361","amoEntityType":"2","templateId":"11646","corporateEntityId":"","settlementAccountId":"","is_signed":null,"gdi":null,"number":null,"currentAmoUserId":null,"lang":"ru"}} {"uid":"2de3166"}
[2026-10-23 14:32:57] docflow.INFO: Token is valid for account 32990686. [] {"uid":"2de3166"}
[2026-10-23 14:32:57] docflow.DEBUG: getClientAuth returned {"auth":"[object] (stdClass: {\"domain\":\"eurosanteh.amocrm.ru\",\"access_token\":\"eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImp0aSI6IjY5Mzc5OGZlNDIzMGE1MWY0YzI0ZmMxM2U1YzVkMzVmYTBiMTk5YjhkNzgwOGYxOThiNTNiZDBhNjhiYjJlM2IwYWQxMThmYzNhOTEwNjJjIn0.eyJhdWQiOiIwZDY0ZGZmYi1lNTRiLTQ0OGYtOWZiZi1iYWYyMjUxYTExZGIiLCJqdGkiOiI2OTM3OThmZTQyMzBhNTFmNGMyNGZjMTNlNWM1ZDM1ZmEwYjE5OWI4ZDc4MDhmMTk4YjUzYmQwYTY4YmIyZTNiMGFkMTE4ZmMzYTkxMDYyYyIsImlhdCI6MTc5Mjc1MzA5NCwibmJmIjoxNzkyNzUzMDk0LCJleHAiOjE3OTI4Mzk0OTQsInN1YiI6IjEzNjg3MzAyIiwiZ3JhbnRfdHlwZSI6IiIsImFjY291bnRfaWQiOjMyOTkwNjg2LCJiYXNlX2RvbWFpbiI6ImFtb2NybS5ydSIsInZlcnNpb24iOjIsInNjb3BlcyI6WyJwdXNoX25vdGlmaWNhdGlvbnMiLCJjcm0iLCJub3RpZmljYXRpb25zIl0sImhhc2hfdXVpZCI6IjQwYTU5NTBlLTc2Y2ItNDExMS1iMzEwLTY2NTFlYTExNjkyMSIsImFwaV9kb21haW4iOiJhcGktYi5hbW9jcm0ucnUifQ.LmcONZq4bG-4wu9yZLdix4X8YEJ9nnjo4EH6Gtm6_xVdDEu-aAT2kKF3da_wNDK9LvN4Kk4dpyolrDtajRotJBTS2kmtmExqa5EbRGeclQfHAHqXw63Pp4WZ0xAtOZ0RydvY4Zv9pSgffwBIaUrH4VGUiRz0JtnzUX94HfZTRvj0RVtdGH05wRqb3K14oexZxIuAeHlqaeoC5B8HnApykH2SERXLcXE61GxPBymRGMF51koNMW5WIoTo6DSTTSQLxshtNOgz1gomQn12gKDr7pVAEipYdEpiOkJAOzHovIeV1XnzxReiLWq8CIdTEuaVIc2h5MXt_F168QL8BpOPiA\"})","file":"/home/ytvmclwh/document.amocrm.md/src/Models/Docs.php","line":121} {"uid":"2de3166"}
[2026-10-23 14:33:00] docflow.DEBUG: AmoDrive docflow context request {"url":"https://google.emale.uno/api/docflow/google-context","query":{"account_id":"32990686","entity_id":"50114361","entity_type":"leads"}} {"uid":"2de3166"}
[2026-10-23 14:33:00] 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=32990686&amp;entity_id=50114361&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/10/23 14:33:00</td>\r\n</tr>\r\n</table>\r\n<hr><center>tengine</center>\r\n</body>\r\n</html>\r\n"} {"uid":"2de3166"}
[2026-10-23 14:33:00] docflow.DEBUG: AmoDrive docflow context request {"url":"https://gd.glucose-dev.online/api/docflow/google-context","query":{"account_id":"32990686","entity_id":"50114361","entity_type":"leads"}} {"uid":"2de3166"}
[2026-10-23 14:33:00] 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":32990686,"entityId":"50114361","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":"2de3166"}
[2026-10-23 14:33:00] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://google.emale.uno/api/docflow/prepare-generated-doc","payload":{"account_id":"32990686","entity_id":"50114361","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"2de3166"}
[2026-10-23 14:33: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/10/23 14:33: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":"32990686","entity_id":"50114361","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"2de3166"}
[2026-10-23 14:33:00] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://gd.glucose-dev.online/api/docflow/prepare-generated-doc","payload":{"account_id":"32990686","entity_id":"50114361","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"2de3166"}
[2026-10-23 14:33:00] 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\":32990686})","payload":{"account_id":"32990686","entity_id":"50114361","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"2de3166"}
[2026-10-23 14:33:00] docflow.DEBUG: GAS request {"url":"https://script.google.com/macros/s/AKfycbwrvOJD46zkuoTzdhpc1kulhV8jRfgQBFZfQ121nkIip_k8yKit4xrbWTOzaJ-C-Yed6w/exec","body":{"templateFileId":"1ISSW7q2any2Qldkh8ZtwiERwaib6ci11XCezBMQIcRU","accountId":"32990686","folderId":"1Us2AfskxgdA729xVr0F2vjZU9y5PlYDe","key":"~VTsK5dcnHc2cSSsjM$LFSjLlgbmJXwrp3R2P5nd","data":"{\"fileName\":\"Act primire predare new All for All 1420 20261023143300\",\"leadId\":\"50114361\",\"entities\":{\"\\u0441\\u0434\\u0435\\u043b\\u043a\\u0430\":{\"\\u0414\\u0430\\u0442\\u0430 \\u0438 \\u0432\\u0440\\u0435\\u043c\\u044f \\u0432\\u0438\\u0437\\u0438\\u0442\\u0430\":\"2026-10-24 14:30:00\",\"\\u0414\\u0430\\u0442\\u0430 \\u0432\\u0438\\u0437\\u0438\\u0442\\u0430\":\"24.10.2026\",\"\\u0426\\u0435\\u043b\\u044c \\u0432\\u044b\\u0435\\u0437\\u0434\\u0430\":\"\\u041f\\u0440\\u043e\\u0444\\u0438\\u043b\\u0430\\u043a\\u0442\\u0438\\u043a\\u0430 \\u043f\\u043e \\u0433\\u0430\\u0440\\u0430\\u043d\\u0442\\u0438\\u0438\",\"\\u0412\\u0438\\u0434 \\u0432\\u044b\\u043f\\u043e\\u043b\\u043d\\u0435\\u043d\\u043d\\u044b\\u0445 \\u0440\\u0430\\u0431\\u043e\\u0442\":\"\\u041f\\u0440\\u043e\\u0444\\u0438\\u043b\\u0430\\u043a\\u0442\\u0438\\u043a\\u0430 \\u0441\\u043f\\u043b\\u0438\\u0442-\\u0441\\u0438\\u0441\\u0442\\u0435\\u043c \\u0432\\u0441\\u0435\\u0445 \\u043c\\u043e\\u0449\\u043d\\u043e\\u0441\\u0442\\u0435\\u0439 (\\u043e\\u0447\\u0438\\u0441\\u0442\\u043a\\u0430, \\u043f\\u0440\\u043e\\u0432\\u0435\\u0440\\u043a\\u0430 \\u0440\\u0430\\u0431\\u043e\\u0442\\u044b)\",\"\\u0421\\u043b\\u0435\\u0434\\u0443\\u044e\\u0449\\u0430\\u044f \\u0434\\u0430\\u0442\\u0430 \\u0441\\u0435\\u0440\\u0432\\u0438\\u0441\\u0430\":\"24.10.2027\",\"\\u041c\\u043e\\u0434\\u0435\\u043b\\u044c \\u043e\\u0431\\u043e\\u0440\\u0443\\u0434\\u043e\\u0432\\u0430\\u043d\\u0438\\u044f 1\":\"Gree Smart 12-2\",\"ID\":\"50114361\",\"\\u0421\\u0434\\u0435\\u043b\\u043a\\u0430_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"\\u041f\\u0422\\u041e\",\"Lead_name\":\"\\u041f\\u0422\\u041e\",\"\\u0411\\u044e\\u0434\\u0436\\u0435\\u0442\":\"0\",\"Budget\":\"0\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"\\u0410\\u0441\\u0442\\u0430\\u043f\\u0435\\u043d\\u043a\\u043e\\u0432\\u0430 \\u042e\\u043b\\u0438\\u0430\\u043d\\u043d\\u0430\",\"Responsible\":\"\\u0410\\u0441\\u0442\\u0430\\u043f\\u0435\\u043d\\u043a\\u043e\\u0432\\u0430 \\u042e\\u043b\\u0438\\u0430\\u043d\\u043d\\u0430\"},\"lead\":{\"\\u0414\\u0430\\u0442\\u0430 \\u0438 \\u0432\\u0440\\u0435\\u043c\\u044f \\u0432\\u0438\\u0437\\u0438\\u0442\\u0430\":\"2026-10-24 14:30:00\",\"\\u0414\\u0430\\u0442\\u0430 \\u0432\\u0438\\u0437\\u0438\\u0442\\u0430\":\"24.10.2026\",\"\\u0426\\u0435\\u043b\\u044c \\u0432\\u044b\\u0435\\u0437\\u0434\\u0430\":\"\\u041f\\u0440\\u043e\\u0444\\u0438\\u043b\\u0430\\u043a\\u0442\\u0438\\u043a\\u0430 \\u043f\\u043e \\u0433\\u0430\\u0440\\u0430\\u043d\\u0442\\u0438\\u0438\",\"\\u0412\\u0438\\u0434 \\u0432\\u044b\\u043f\\u043e\\u043b\\u043d\\u0435\\u043d\\u043d\\u044b\\u0445 \\u0440\\u0430\\u0431\\u043e\\u0442\":\"\\u041f\\u0440\\u043e\\u0444\\u0438\\u043b\\u0430\\u043a\\u0442\\u0438\\u043a\\u0430 \\u0441\\u043f\\u043b\\u0438\\u0442-\\u0441\\u0438\\u0441\\u0442\\u0435\\u043c \\u0432\\u0441\\u0435\\u0445 \\u043c\\u043e\\u0449\\u043d\\u043e\\u0441\\u0442\\u0435\\u0439 (\\u043e\\u0447\\u0438\\u0441\\u0442\\u043a\\u0430, \\u043f\\u0440\\u043e\\u0432\\u0435\\u0440\\u043a\\u0430 \\u0440\\u0430\\u0431\\u043e\\u0442\\u044b)\",\"\\u0421\\u043b\\u0435\\u0434\\u0443\\u044e\\u0449\\u0430\\u044f \\u0434\\u0430\\u0442\\u0430 \\u0441\\u0435\\u0440\\u0432\\u0438\\u0441\\u0430\":\"24.10.2027\",\"\\u041c\\u043e\\u0434\\u0435\\u043b\\u044c \\u043e\\u0431\\u043e\\u0440\\u0443\\u0434\\u043e\\u0432\\u0430\\u043d\\u0438\\u044f 1\":\"Gree Smart 12-2\",\"ID\":\"50114361\",\"\\u0421\\u0434\\u0435\\u043b\\u043a\\u0430_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"\\u041f\\u0422\\u041e\",\"Lead_name\":\"\\u041f\\u0422\\u041e\",\"\\u0411\\u044e\\u0434\\u0436\\u0435\\u0442\":\"0\",\"Budget\":\"0\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"\\u0410\\u0441\\u0442\\u0430\\u043f\\u0435\\u043d\\u043a\\u043e\\u0432\\u0430 \\u042e\\u043b\\u0438\\u0430\\u043d\\u043d\\u0430\",\"Responsible\":\"\\u0410\\u0441\\u0442\\u0430\\u043f\\u0435\\u043d\\u043a\\u043e\\u0432\\u0430 \\u042e\\u043b\\u0438\\u0430\\u043d\\u043d\\u0430\"},\"\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442\":{\"\\u0418\\u0414\\u041d\\u041e\":\"981805884698\",\"\\u0410\\u0434\\u0440\\u0435\\u0441\":\"sat Baltata\",\"\\u0418\\u043c\\u044f \\u043a\\u043b\\u0438\\u0435\\u043d\\u0442\\u0430 (\\u0421\\u041c\\u0421)\":\"Nicolai\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"37379392876\",\"\\u0422\\u0438\\u043f \\u0438 \\u043c\\u043e\\u0434\\u0435\\u043b\\u044c \\u043e\\u0431\\u043e\\u0440\\u0443\\u0434\\u043e\\u0432\\u0430\\u043d\\u0438\\u044f (\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442)\":\"Gree Smart 12-2\",\"\\u041a\\u043e\\u043b - \\u0432\\u043e \\u043e\\u0431\\u043e\\u0440\\u0443\\u0434\\u043e\\u0432\\u0430\\u043d\\u0438\\u044f (\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442)\":\"2\",\"\\u041a\\u0442\\u043e \\u043c\\u043e\\u043d\\u0442\\u0438\\u0440\\u043e\\u0432\\u0430\\u043b (\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442)\":\"\\u041c\\u0430\\u0441\\u0442\\u0435\\u0440 \\u043a\\u043e\\u043c\\u043f\\u0430\\u043d\\u0438\\u0438 Edenvor SRL\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Nicolai Bodnariuc\",\"Contact_name\":\"Nicolai Bodnariuc\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"\\u0410\\u0441\\u0442\\u0430\\u043f\\u0435\\u043d\\u043a\\u043e\\u0432\\u0430 \\u042e\\u043b\\u0438\\u0430\\u043d\\u043d\\u0430\",\"Responsible\":\"\\u0410\\u0441\\u0442\\u0430\\u043f\\u0435\\u043d\\u043a\\u043e\\u0432\\u0430 \\u042e\\u043b\\u0438\\u0430\\u043d\\u043d\\u0430\"},\"contact\":{\"\\u0418\\u0414\\u041d\\u041e\":\"981805884698\",\"\\u0410\\u0434\\u0440\\u0435\\u0441\":\"sat Baltata\",\"\\u0418\\u043c\\u044f \\u043a\\u043b\\u0438\\u0435\\u043d\\u0442\\u0430 (\\u0421\\u041c\\u0421)\":\"Nicolai\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"37379392876\",\"\\u0422\\u0438\\u043f \\u0438 \\u043c\\u043e\\u0434\\u0435\\u043b\\u044c \\u043e\\u0431\\u043e\\u0440\\u0443\\u0434\\u043e\\u0432\\u0430\\u043d\\u0438\\u044f (\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442)\":\"Gree Smart 12-2\",\"\\u041a\\u043e\\u043b - \\u0432\\u043e \\u043e\\u0431\\u043e\\u0440\\u0443\\u0434\\u043e\\u0432\\u0430\\u043d\\u0438\\u044f (\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442)\":\"2\",\"\\u041a\\u0442\\u043e \\u043c\\u043e\\u043d\\u0442\\u0438\\u0440\\u043e\\u0432\\u0430\\u043b (\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442)\":\"\\u041c\\u0430\\u0441\\u0442\\u0435\\u0440 \\u043a\\u043e\\u043c\\u043f\\u0430\\u043d\\u0438\\u0438 Edenvor SRL\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Nicolai Bodnariuc\",\"Contact_name\":\"Nicolai Bodnariuc\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"\\u0410\\u0441\\u0442\\u0430\\u043f\\u0435\\u043d\\u043a\\u043e\\u0432\\u0430 \\u042e\\u043b\\u0438\\u0430\\u043d\\u043d\\u0430\",\"Responsible\":\"\\u0410\\u0441\\u0442\\u0430\\u043f\\u0435\\u043d\\u043a\\u043e\\u0432\\u0430 \\u042e\\u043b\\u0438\\u0430\\u043d\\u043d\\u0430\"},\"\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442\\u044b\":[{\"\\u0418\\u0414\\u041d\\u041e\":\"981805884698\",\"\\u0410\\u0434\\u0440\\u0435\\u0441\":\"sat Baltata\",\"\\u0418\\u043c\\u044f \\u043a\\u043b\\u0438\\u0435\\u043d\\u0442\\u0430 (\\u0421\\u041c\\u0421)\":\"Nicolai\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"37379392876\",\"\\u0422\\u0438\\u043f \\u0438 \\u043c\\u043e\\u0434\\u0435\\u043b\\u044c \\u043e\\u0431\\u043e\\u0440\\u0443\\u0434\\u043e\\u0432\\u0430\\u043d\\u0438\\u044f (\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442)\":\"Gree Smart 12-2\",\"\\u041a\\u043e\\u043b - \\u0432\\u043e \\u043e\\u0431\\u043e\\u0440\\u0443\\u0434\\u043e\\u0432\\u0430\\u043d\\u0438\\u044f (\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442)\":\"2\",\"\\u041a\\u0442\\u043e \\u043c\\u043e\\u043d\\u0442\\u0438\\u0440\\u043e\\u0432\\u0430\\u043b (\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442)\":\"\\u041c\\u0430\\u0441\\u0442\\u0435\\u0440 \\u043a\\u043e\\u043c\\u043f\\u0430\\u043d\\u0438\\u0438 Edenvor SRL\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Nicolai Bodnariuc\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"\\u0410\\u0441\\u0442\\u0430\\u043f\\u0435\\u043d\\u043a\\u043e\\u0432\\u0430 \\u042e\\u043b\\u0438\\u0430\\u043d\\u043d\\u0430\"}],\"\\u0434\\u043e\\u043a\\u0443\\u043c\\u0435\\u043d\\u0442\":{\"\\u0414\\u0430\\u0442\\u0430\":\"23.10.2026\",\"\\u041d\\u043e\\u043c\\u0435\\u0440\":\"1420\"},\"document\":{\"Date\":\"23.10.2026\",\"Number\":\"1420\"}}}","edit":true}} {"uid":"2de3166"}
[2026-10-23 14:33:06] docflow.DEBUG: GAS raw response {"raw":"[object] (stdClass: {\"code\":1,\"url\":\"https://docs.google.com/open?id=1MZkVVXSu8yB_cUlX66rUW4trhOmqY4mi314ZpjnCUE8\",\"file_id\":\"1MZkVVXSu8yB_cUlX66rUW4trhOmqY4mi314ZpjnCUE8\",\"error\":\"\",\"vars\":\"\"})"} {"uid":"2de3166"}
[2026-10-23 14:33:06] docflow.WARNING: AmoDrive generated-file move is not ready. {"fileId":"1MZkVVXSu8yB_cUlX66rUW4trhOmqY4mi314ZpjnCUE8","context":null} {"uid":"2de3166"}
[2026-10-23 14:35:49] docflow.INFO: Apel createDoc {"data":{"amoAccountId":"33101758","amoUserId":null,"amoEntityId":"50797959","amoEntityType":"2","templateId":"11642","corporateEntityId":"1981","settlementAccountId":"","is_signed":null,"gdi":null,"number":null,"currentAmoUserId":null,"lang":"ru"}} {"uid":"04d1ed0"}
[2026-10-23 14:35:49] docflow.INFO: Token validation failed for account 33101758. Refreshing... {"http_code":null,"error_message":"HTTP/2 401 "} {"uid":"04d1ed0"}
[2026-10-23 14:35:49] docflow.INFO: Attempting token refresh with payload: {"client_id":"0d64dffb-e54b-448f-9fbf-baf2251a11db","client_secret":"AXqHrT1J35SilTTtI3yyaHdQKiS5bonhySaPYkLmo7mR6ZZ9zDP24dUjG189VG9G","grant_type":"refresh_token","refresh_token":"def50200f2c60c985a2a294009c3951513c9fb4d03888257fd87a6c77e5ff74d10eb5b77ea3ca4b67e554779e62e5d5ba659a4f16a36ff4224530643a2e8136b867203d707c017ab8513c040ddac3beb302a97dd8f38e0d781fe8573b5753a733f33a5aeea7e475cdee38a29be7c5164b56c9b5256bedcbdb3f27fa1fa9f8599c0767978b4e68809ee69e8dfa1792e5b233f22957097ea0ad63116a8ac8ff046bcf6885490f2c911d8f55868039631dd2ca64e93a3c1f46c212bafe989b5dae43f9fd1ef9c04ce341da6312e7403e4ee3ac1edfef8e7e709f3b3eaf2e4b4855a6f38a694226fe1ccd71cb3255242b603eb431abcbb067bfaf1674af76f2ca8253d0bddc48ed46e650dd5f68593e3e940821da95efdae23db030d28c5750d14175820d9728aee049e1d978d4624d004f0cc504d707873da85d628c969bf42ca87301a480260e8e618faa86cd2bad1dbcaa582612ab99b37eaecbd036c9a64550d21c1c25b7c5d59d8885eea8d696ad58029f1772216985def70b69a37ff477e4c0f9c2be2d3f573d890e5d11f652d45c428b712a0a425db128632b426f734b39566fdfe370a78e81e27ebfec61234fb3dd41c5001662ee671f50e3c7a2268194f781a6523894ec407baf694783d05c5693cecd40674c378","redirect_uri":"https://document.amocrm.md/core/manager/install.php"} {"uid":"04d1ed0"}
[2026-10-23 14:35:50] docflow.ERROR: Failed to refresh OAuth token (cURL error) {"http_code":null,"error_message":"HTTP/2 401 ","response_body":"[object] (stdClass: {\"hint\":\"Token has expired\",\"title\":\"Некорректный запрос\",\"type\":\"https://developers.amocrm.ru/v3/errors/OAuthProblemJson\",\"status\":401,\"detail\":\"В запросе отсутствует ряд параметров или параметры невалидны\"})","request_body_sent":{"client_id":"0d64dffb-e54b-448f-9fbf-baf2251a11db","client_secret":"AXqHrT1J35SilTTtI3yyaHdQKiS5bonhySaPYkLmo7mR6ZZ9zDP24dUjG189VG9G","grant_type":"refresh_token","refresh_token":"def50200f2c60c985a2a294009c3951513c9fb4d03888257fd87a6c77e5ff74d10eb5b77ea3ca4b67e554779e62e5d5ba659a4f16a36ff4224530643a2e8136b867203d707c017ab8513c040ddac3beb302a97dd8f38e0d781fe8573b5753a733f33a5aeea7e475cdee38a29be7c5164b56c9b5256bedcbdb3f27fa1fa9f8599c0767978b4e68809ee69e8dfa1792e5b233f22957097ea0ad63116a8ac8ff046bcf6885490f2c911d8f55868039631dd2ca64e93a3c1f46c212bafe989b5dae43f9fd1ef9c04ce341da6312e7403e4ee3ac1edfef8e7e709f3b3eaf2e4b4855a6f38a694226fe1ccd71cb3255242b603eb431abcbb067bfaf1674af76f2ca8253d0bddc48ed46e650dd5f68593e3e940821da95efdae23db030d28c5750d14175820d9728aee049e1d978d4624d004f0cc504d707873da85d628c969bf42ca87301a480260e8e618faa86cd2bad1dbcaa582612ab99b37eaecbd036c9a64550d21c1c25b7c5d59d8885eea8d696ad58029f1772216985def70b69a37ff477e4c0f9c2be2d3f573d890e5d11f652d45c428b712a0a425db128632b426f734b39566fdfe370a78e81e27ebfec61234fb3dd41c5001662ee671f50e3c7a2268194f781a6523894ec407baf694783d05c5693cecd40674c378","redirect_uri":"https://document.amocrm.md/core/manager/install.php"}} {"uid":"04d1ed0"}
[2026-10-23 14:35:50] docflow.ERROR: cURL error on token refresh: HTTP/2 401  {"trace":"#0 /home/ytvmclwh/document.amocrm.md/src/Models/Docs.php(1322): Genezis\\Docflow\\Models\\Docs->performTokenRefresh('evodent.amocrm....', 'def50200f2c60c9...', '0d64dffb-e54b-4...')\n#1 /home/ytvmclwh/document.amocrm.md/src/Models/Docs.php(621): Genezis\\Docflow\\Models\\Docs->getOAuthTokenAmo(3, 33101758)\n#2 /home/ytvmclwh/document.amocrm.md/src/Models/Docs.php(117): Genezis\\Docflow\\Models\\Docs->getClientAuth('33101758', 3)\n#3 /home/ytvmclwh/document.amocrm.md/src/Controllers/Docs.php(94): Genezis\\Docflow\\Models\\Docs->createDoc(Array)\n#4 [internal function]: Genezis\\Docflow\\Controllers\\Docs->create(Object(Slim\\Http\\Request), Object(Slim\\Http\\Response), Array)\n#5 /home/ytvmclwh/document.amocrm.md/vendor/slim/slim/Slim/Handlers/Strategies/RequestResponse.php(41): call_user_func(Array, Object(Slim\\Http\\Request), Object(Slim\\Http\\Response), Array)\n#6 /home/ytvmclwh/document.amocrm.md/vendor/slim/slim/Slim/Route.php(335): Slim\\Handlers\\Strategies\\RequestResponse->__invoke(Array, Object(Slim\\Http\\Request), Object(Slim\\Http\\Response), Array)\n#7 /home/ytvmclwh/document.amocrm.md/vendor/slim/slim/Slim/MiddlewareAwareTrait.php(117): Slim\\Route->__invoke(Object(Slim\\Http\\Request), Object(Slim\\Http\\Response))\n#8 /home/ytvmclwh/document.amocrm.md/vendor/slim/slim/Slim/Route.php(313): Slim\\Route->callMiddlewareStack(Object(Slim\\Http\\Request), Object(Slim\\Http\\Response))\n#9 /home/ytvmclwh/document.amocrm.md/vendor/slim/slim/Slim/App.php(495): Slim\\Route->run(Object(Slim\\Http\\Request), Object(Slim\\Http\\Response))\n#10 /home/ytvmclwh/document.amocrm.md/vendor/genezis/amocrm-cors/src/AmoCors.php(54): Slim\\App->__invoke(Object(Slim\\Http\\Request), Object(Slim\\Http\\Response))\n#11 [internal function]: Genezis\\Middlewares\\AmoCors->__invoke(Object(Slim\\Http\\Request), Object(Slim\\Http\\Response), Object(Slim\\App))\n#12 /home/ytvmclwh/document.amocrm.md/vendor/slim/slim/Slim/DeferredCallable.php(43): call_user_func_array(Object(Genezis\\Middlewares\\AmoCors), Array)\n#13 [internal function]: Slim\\DeferredCallable->__invoke(Object(Slim\\Http\\Request), Object(Slim\\Http\\Response), Object(Slim\\App))\n#14 /home/ytvmclwh/document.amocrm.md/vendor/slim/slim/Slim/MiddlewareAwareTrait.php(70): call_user_func(Object(Slim\\DeferredCallable), Object(Slim\\Http\\Request), Object(Slim\\Http\\Response), Object(Slim\\App))\n#15 /home/ytvmclwh/document.amocrm.md/vendor/slim/slim/Slim/MiddlewareAwareTrait.php(117): Slim\\App->Slim\\{closure}(Object(Slim\\Http\\Request), Object(Slim\\Http\\Response))\n#16 /home/ytvmclwh/document.amocrm.md/vendor/slim/slim/Slim/App.php(388): Slim\\App->callMiddlewareStack(Object(Slim\\Http\\Request), Object(Slim\\Http\\Response))\n#17 /home/ytvmclwh/document.amocrm.md/vendor/slim/slim/Slim/App.php(296): Slim\\App->process(Object(Slim\\Http\\Request), Object(Slim\\Http\\Response))\n#18 /home/ytvmclwh/document.amocrm.md/public/index.php(37): Slim\\App->run()\n#19 {main}"} {"uid":"04d1ed0"}
[2026-10-23 14:36:00] docflow.INFO: Apel createDoc {"data":{"amoAccountId":"33101758","amoUserId":null,"amoEntityId":"50797959","amoEntityType":"2","templateId":"11642","corporateEntityId":"1981","settlementAccountId":"","is_signed":null,"gdi":null,"number":null,"currentAmoUserId":null,"lang":"ru"}} {"uid":"74dd06d"}
[2026-10-23 14:36:01] docflow.INFO: Token validation failed for account 33101758. Refreshing... {"http_code":null,"error_message":"HTTP/2 401 "} {"uid":"74dd06d"}
[2026-10-23 14:36:01] docflow.INFO: Attempting token refresh with payload: {"client_id":"0d64dffb-e54b-448f-9fbf-baf2251a11db","client_secret":"AXqHrT1J35SilTTtI3yyaHdQKiS5bonhySaPYkLmo7mR6ZZ9zDP24dUjG189VG9G","grant_type":"refresh_token","refresh_token":"def50200f2c60c985a2a294009c3951513c9fb4d03888257fd87a6c77e5ff74d10eb5b77ea3ca4b67e554779e62e5d5ba659a4f16a36ff4224530643a2e8136b867203d707c017ab8513c040ddac3beb302a97dd8f38e0d781fe8573b5753a733f33a5aeea7e475cdee38a29be7c5164b56c9b5256bedcbdb3f27fa1fa9f8599c0767978b4e68809ee69e8dfa1792e5b233f22957097ea0ad63116a8ac8ff046bcf6885490f2c911d8f55868039631dd2ca64e93a3c1f46c212bafe989b5dae43f9fd1ef9c04ce341da6312e7403e4ee3ac1edfef8e7e709f3b3eaf2e4b4855a6f38a694226fe1ccd71cb3255242b603eb431abcbb067bfaf1674af76f2ca8253d0bddc48ed46e650dd5f68593e3e940821da95efdae23db030d28c5750d14175820d9728aee049e1d978d4624d004f0cc504d707873da85d628c969bf42ca87301a480260e8e618faa86cd2bad1dbcaa582612ab99b37eaecbd036c9a64550d21c1c25b7c5d59d8885eea8d696ad58029f1772216985def70b69a37ff477e4c0f9c2be2d3f573d890e5d11f652d45c428b712a0a425db128632b426f734b39566fdfe370a78e81e27ebfec61234fb3dd41c5001662ee671f50e3c7a2268194f781a6523894ec407baf694783d05c5693cecd40674c378","redirect_uri":"https://document.amocrm.md/core/manager/install.php"} {"uid":"74dd06d"}
[2026-10-23 14:36:02] docflow.ERROR: Failed to refresh OAuth token (cURL error) {"http_code":null,"error_message":"HTTP/2 401 ","response_body":"[object] (stdClass: {\"hint\":\"Token has expired\",\"title\":\"Некорректный запрос\",\"type\":\"https://developers.amocrm.ru/v3/errors/OAuthProblemJson\",\"status\":401,\"detail\":\"В запросе отсутствует ряд параметров или параметры невалидны\"})","request_body_sent":{"client_id":"0d64dffb-e54b-448f-9fbf-baf2251a11db","client_secret":"AXqHrT1J35SilTTtI3yyaHdQKiS5bonhySaPYkLmo7mR6ZZ9zDP24dUjG189VG9G","grant_type":"refresh_token","refresh_token":"def50200f2c60c985a2a294009c3951513c9fb4d03888257fd87a6c77e5ff74d10eb5b77ea3ca4b67e554779e62e5d5ba659a4f16a36ff4224530643a2e8136b867203d707c017ab8513c040ddac3beb302a97dd8f38e0d781fe8573b5753a733f33a5aeea7e475cdee38a29be7c5164b56c9b5256bedcbdb3f27fa1fa9f8599c0767978b4e68809ee69e8dfa1792e5b233f22957097ea0ad63116a8ac8ff046bcf6885490f2c911d8f55868039631dd2ca64e93a3c1f46c212bafe989b5dae43f9fd1ef9c04ce341da6312e7403e4ee3ac1edfef8e7e709f3b3eaf2e4b4855a6f38a694226fe1ccd71cb3255242b603eb431abcbb067bfaf1674af76f2ca8253d0bddc48ed46e650dd5f68593e3e940821da95efdae23db030d28c5750d14175820d9728aee049e1d978d4624d004f0cc504d707873da85d628c969bf42ca87301a480260e8e618faa86cd2bad1dbcaa582612ab99b37eaecbd036c9a64550d21c1c25b7c5d59d8885eea8d696ad58029f1772216985def70b69a37ff477e4c0f9c2be2d3f573d890e5d11f652d45c428b712a0a425db128632b426f734b39566fdfe370a78e81e27ebfec61234fb3dd41c5001662ee671f50e3c7a2268194f781a6523894ec407baf694783d05c5693cecd40674c378","redirect_uri":"https://document.amocrm.md/core/manager/install.php"}} {"uid":"74dd06d"}
[2026-10-23 14:36:02] docflow.ERROR: cURL error on token refresh: HTTP/2 401  {"trace":"#0 /home/ytvmclwh/document.amocrm.md/src/Models/Docs.php(1322): Genezis\\Docflow\\Models\\Docs->performTokenRefresh('evodent.amocrm....', 'def50200f2c60c9...', '0d64dffb-e54b-4...')\n#1 /home/ytvmclwh/document.amocrm.md/src/Models/Docs.php(621): Genezis\\Docflow\\Models\\Docs->getOAuthTokenAmo(3, 33101758)\n#2 /home/ytvmclwh/document.amocrm.md/src/Models/Docs.php(117): Genezis\\Docflow\\Models\\Docs->getClientAuth('33101758', 3)\n#3 /home/ytvmclwh/document.amocrm.md/src/Controllers/Docs.php(94): Genezis\\Docflow\\Models\\Docs->createDoc(Array)\n#4 [internal function]: Genezis\\Docflow\\Controllers\\Docs->create(Object(Slim\\Http\\Request), Object(Slim\\Http\\Response), Array)\n#5 /home/ytvmclwh/document.amocrm.md/vendor/slim/slim/Slim/Handlers/Strategies/RequestResponse.php(41): call_user_func(Array, Object(Slim\\Http\\Request), Object(Slim\\Http\\Response), Array)\n#6 /home/ytvmclwh/document.amocrm.md/vendor/slim/slim/Slim/Route.php(335): Slim\\Handlers\\Strategies\\RequestResponse->__invoke(Array, Object(Slim\\Http\\Request), Object(Slim\\Http\\Response), Array)\n#7 /home/ytvmclwh/document.amocrm.md/vendor/slim/slim/Slim/MiddlewareAwareTrait.php(117): Slim\\Route->__invoke(Object(Slim\\Http\\Request), Object(Slim\\Http\\Response))\n#8 /home/ytvmclwh/document.amocrm.md/vendor/slim/slim/Slim/Route.php(313): Slim\\Route->callMiddlewareStack(Object(Slim\\Http\\Request), Object(Slim\\Http\\Response))\n#9 /home/ytvmclwh/document.amocrm.md/vendor/slim/slim/Slim/App.php(495): Slim\\Route->run(Object(Slim\\Http\\Request), Object(Slim\\Http\\Response))\n#10 /home/ytvmclwh/document.amocrm.md/vendor/genezis/amocrm-cors/src/AmoCors.php(54): Slim\\App->__invoke(Object(Slim\\Http\\Request), Object(Slim\\Http\\Response))\n#11 [internal function]: Genezis\\Middlewares\\AmoCors->__invoke(Object(Slim\\Http\\Request), Object(Slim\\Http\\Response), Object(Slim\\App))\n#12 /home/ytvmclwh/document.amocrm.md/vendor/slim/slim/Slim/DeferredCallable.php(43): call_user_func_array(Object(Genezis\\Middlewares\\AmoCors), Array)\n#13 [internal function]: Slim\\DeferredCallable->__invoke(Object(Slim\\Http\\Request), Object(Slim\\Http\\Response), Object(Slim\\App))\n#14 /home/ytvmclwh/document.amocrm.md/vendor/slim/slim/Slim/MiddlewareAwareTrait.php(70): call_user_func(Object(Slim\\DeferredCallable), Object(Slim\\Http\\Request), Object(Slim\\Http\\Response), Object(Slim\\App))\n#15 /home/ytvmclwh/document.amocrm.md/vendor/slim/slim/Slim/MiddlewareAwareTrait.php(117): Slim\\App->Slim\\{closure}(Object(Slim\\Http\\Request), Object(Slim\\Http\\Response))\n#16 /home/ytvmclwh/document.amocrm.md/vendor/slim/slim/Slim/App.php(388): Slim\\App->callMiddlewareStack(Object(Slim\\Http\\Request), Object(Slim\\Http\\Response))\n#17 /home/ytvmclwh/document.amocrm.md/vendor/slim/slim/Slim/App.php(296): Slim\\App->process(Object(Slim\\Http\\Request), Object(Slim\\Http\\Response))\n#18 /home/ytvmclwh/document.amocrm.md/public/index.php(37): Slim\\App->run()\n#19 {main}"} {"uid":"74dd06d"}
[2026-10-23 17:39:37] docflow.INFO: Apel createDoc {"data":{"amoAccountId":"22699852","amoUserId":null,"amoEntityId":"42860422","amoEntityType":"2","templateId":"11501","corporateEntityId":"","settlementAccountId":"","is_signed":null,"gdi":null,"number":null,"currentAmoUserId":null,"lang":"ru"}} {"uid":"e00cfcd"}
[2026-10-23 17:39:38] docflow.INFO: Token is valid for account 22699852. [] {"uid":"e00cfcd"}
[2026-10-23 17:39:38] docflow.DEBUG: getClientAuth returned {"auth":"[object] (stdClass: {\"domain\":\"emigrare.amocrm.ru\",\"access_token\":\"eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImp0aSI6IjdkNTUxOTM4ZjU2ZDc3NWEyZTk2YWNkZWYxMDBhZTVjMTU0ZDY4N2QxYTY3N2IxYTI3YWY2NGVkZjgwMzU3ZWY1NjM0MzVjNjRkNDM5NWZhIn0.eyJhdWQiOiIwZDY0ZGZmYi1lNTRiLTQ0OGYtOWZiZi1iYWYyMjUxYTExZGIiLCJqdGkiOiI3ZDU1MTkzOGY1NmQ3NzVhMmU5NmFjZGVmMTAwYWU1YzE1NGQ2ODdkMWE2NzdiMWEyN2FmNjRlZGY4MDM1N2VmNTYzNDM1YzY0ZDQzOTVmYSIsImlhdCI6MTc5Mjc0MzYxNSwibmJmIjoxNzkyNzQzNjE1LCJleHAiOjE3OTI4MzAwMTUsInN1YiI6IjI5MzAzODAiLCJncmFudF90eXBlIjoiIiwiYWNjb3VudF9pZCI6MjI2OTk4NTIsImJhc2VfZG9tYWluIjoiYW1vY3JtLnJ1IiwidmVyc2lvbiI6Miwic2NvcGVzIjpbInB1c2hfbm90aWZpY2F0aW9ucyIsImNybSIsIm5vdGlmaWNhdGlvbnMiXSwiaGFzaF91dWlkIjoiZDkwN2YxYWQtMWU5My00MjNlLThmNDUtZDU5YTQwYTE4N2JiIiwiYXBpX2RvbWFpbiI6ImFwaS1iLmFtb2NybS5ydSJ9.VJwfNIsD_VjFyc-KJFe4wAavXR_qq6DceEzrkvgbjYneig12MqF6Lb8xTPGrej5Aw1OBziCdPaN09MNtY4NNmpaK_C8UX-xHYHq4o9mX-lWl7IgTJvaf6t0N1M3WYryYuGsYQeJlURnFagoQ8_szFb6JzsJTBLBEklqRCGkf3ZyRn_X9-4UbFt0jCT5EOIr4SVYB3fUu__k3Bwv_MCav1y2nEbKoFlK3G6JT-voVzVAn-_dOt0j0OSASvBPrIeMraRG6R3QUbSWZ52Al86I6Uv9tT7Swu9LeibZCs6EsuLQpxuVJNhdbdu7ah0QXHK5rmLIBc6584ZVlCEZKZ8EfNw\"})","file":"/home/ytvmclwh/document.amocrm.md/src/Models/Docs.php","line":121} {"uid":"e00cfcd"}
[2026-10-23 17:39:40] docflow.DEBUG: AmoDrive docflow context request {"url":"https://google.emale.uno/api/docflow/google-context","query":{"account_id":"22699852","entity_id":"42860422","entity_type":"leads"}} {"uid":"e00cfcd"}
[2026-10-23 17:39:40] 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=42860422&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/10/23 17:39:40</td>\r\n</tr>\r\n</table>\r\n<hr><center>tengine</center>\r\n</body>\r\n</html>\r\n"} {"uid":"e00cfcd"}
[2026-10-23 17:39:40] docflow.DEBUG: AmoDrive docflow context request {"url":"https://gd.glucose-dev.online/api/docflow/google-context","query":{"account_id":"22699852","entity_id":"42860422","entity_type":"leads"}} {"uid":"e00cfcd"}
[2026-10-23 17:39:40] 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":22699852,"entityId":"42860422","entityType":"leads","amodrive":{"installed":false,"widgetStatus":"uninstalled","amoAccountId":22699852,"accountHost":"emigrare.amocrm.ru","license":{"status":"active","configuredStatus":"active","expiresAt":"2027-08-20T10:16:56.291Z","isExpired":false,"isTrial":false,"isActive":true,"expiredByDate":false,"daysRemaining":301,"isLifetime":false},"licenseActive":false,"googleConnected":false,"googleEmail":null,"googleHasDriveScope":false,"googleHasDriveFileScope":false,"googleHasOwnershipScope":false,"readyForGeneratedFileMove":false,"readyForTransfer":false},"folder":{"id":"1dETNCsGYZAnD_Q2TutLibNtYkmAMoqhq","name":"42860422 - Lead #42860422","webViewLink":"https://drive.google.com/drive/folders/1dETNCsGYZAnD_Q2TutLibNtYkmAMoqhq"}}} {"uid":"e00cfcd"}
[2026-10-23 17:39:40] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://google.emale.uno/api/docflow/prepare-generated-doc","payload":{"account_id":"22699852","entity_id":"42860422","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"e00cfcd"}
[2026-10-23 17:39:41] 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/10/23 17:39:41</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":"42860422","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"e00cfcd"}
[2026-10-23 17:39:41] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://gd.glucose-dev.online/api/docflow/prepare-generated-doc","payload":{"account_id":"22699852","entity_id":"42860422","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"e00cfcd"}
[2026-10-23 17:39:41] 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\":22699852})","payload":{"account_id":"22699852","entity_id":"42860422","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"e00cfcd"}
[2026-10-23 17:39:41] docflow.DEBUG: GAS request {"url":"https://script.google.com/macros/s/AKfycbwrvOJD46zkuoTzdhpc1kulhV8jRfgQBFZfQ121nkIip_k8yKit4xrbWTOzaJ-C-Yed6w/exec","body":{"templateFileId":"1x1zxaxrp1LDWZEw9UD72HujRNhGaZgwjFm3OngS7l7o","accountId":"22699852","folderId":"1Us2AfskxgdA729xVr0F2vjZU9y5PlYDe","key":"~VTsK5dcnHc2cSSsjM$LFSjLlgbmJXwrp3R2P5nd","data":"{\"fileName\":\"Act de predare (servicii prestate) 147 20261023173940\",\"leadId\":\"42860422\",\"entities\":{\"\\u0441\\u0434\\u0435\\u043b\\u043a\\u0430\":{\"Categorie Serviciu\":\"Permis de sedere\",\"Serviciu solicitat\":\"1541431\",\"Manager front office\":\"Cezara Cenusa\",\"ID\":\"42860422\",\"\\u0421\\u0434\\u0435\\u043b\\u043a\\u0430_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"PS\",\"Lead_name\":\"PS\",\"\\u0411\\u044e\\u0434\\u0436\\u0435\\u0442\":\"0\",\"Budget\":\"0\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"Cezara Cenusa\",\"Responsible\":\"Cezara Cenusa\"},\"lead\":{\"Categorie Serviciu\":\"Permis de sedere\",\"Serviciu solicitat\":\"1541431\",\"Manager front office\":\"Cezara Cenusa\",\"ID\":\"42860422\",\"\\u0421\\u0434\\u0435\\u043b\\u043a\\u0430_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"PS\",\"Lead_name\":\"PS\",\"\\u0411\\u044e\\u0434\\u0436\\u0435\\u0442\":\"0\",\"Budget\":\"0\",\"\\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\":{\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"+32493207222\",\"Email\":\"martin.scaillet@hotmail.com\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Martin Jean A. Scaillet\",\"Contact_name\":\"Martin Jean A. Scaillet\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"Cezara Cenusa\",\"Responsible\":\"Cezara Cenusa\"},\"contact\":{\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"+32493207222\",\"Email\":\"martin.scaillet@hotmail.com\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Martin Jean A. Scaillet\",\"Contact_name\":\"Martin Jean A. Scaillet\",\"\\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\":[{\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"+32493207222\",\"Email\":\"martin.scaillet@hotmail.com\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Martin Jean A. Scaillet\",\"\\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\":\"23.10.2026\",\"\\u041d\\u043e\\u043c\\u0435\\u0440\":\"147\"},\"document\":{\"Date\":\"23.10.2026\",\"Number\":\"147\"}}}","edit":true}} {"uid":"e00cfcd"}
[2026-10-23 17:39:47] docflow.DEBUG: GAS raw response {"raw":"[object] (stdClass: {\"code\":1,\"url\":\"https://docs.google.com/open?id=1YiGNse6b5tCb7sv7vfSt1Yqg9JDxb28NYciRngq1Fmw\",\"file_id\":\"1YiGNse6b5tCb7sv7vfSt1Yqg9JDxb28NYciRngq1Fmw\",\"error\":\"\",\"vars\":\"\"})"} {"uid":"e00cfcd"}
[2026-10-23 17:39:47] docflow.WARNING: AmoDrive generated-file move is not ready. {"fileId":"1YiGNse6b5tCb7sv7vfSt1Yqg9JDxb28NYciRngq1Fmw","context":null} {"uid":"e00cfcd"}
