[2026-10-20 09:09:02] docflow.INFO: Apel createDoc {"data":{"amoAccountId":"22699852","amoUserId":null,"amoEntityId":"42438358","amoEntityType":"2","templateId":"11526","corporateEntityId":"","settlementAccountId":"","is_signed":null,"gdi":null,"number":null,"currentAmoUserId":null,"lang":"ru"}} {"uid":"cc7501b"}
[2026-10-20 09:09:03] docflow.INFO: Token validation failed for account 22699852. Refreshing... {"http_code":null,"error_message":"HTTP/2 401 "} {"uid":"cc7501b"}
[2026-10-20 09:09:03] docflow.INFO: Attempting token refresh with payload: {"client_id":"0d64dffb-e54b-448f-9fbf-baf2251a11db","client_secret":"AXqHrT1J35SilTTtI3yyaHdQKiS5bonhySaPYkLmo7mR6ZZ9zDP24dUjG189VG9G","grant_type":"refresh_token","refresh_token":"def502008ecf2417cc6bd5c89de4aa6c4013c2f65951936fa9c7c82e4fc0d12354eb2b0a123d0a5828afa00f34f7b9d171d29ab4b5b45a08dc8e608a3a0ef5019bd82c0e96f79f6f51b636c4b4c2261f0ef9b79e993ba30344eb601fea68a9c4afbb02fc29136119cbe534008c1d24a214fd232306e510687fa866f2cea7328f98b2670b5287e093967b4e7b2fe482403ba36c5389ca2f2c35600c97d3a4b349feb5c86a9ba904bfc9d02e5e1f3d3ed4a260bb55adfbba17ff248947894c846f085ac10a8d5717ff4f505d259fe1b1d8ef369c7ea8330f565e1e8f8e599b5f430f27074eb89c2b99aeed33e7ce68f230f99af39f6329105b949f3422777b9546e4b4cb970492d8e5c6c81af9c4b178f52e9872998827779767de755e1605bb6f32903aad3a8ab68f2b0797081f0a928df4483c70a0ef021caae63caae8f377fa9387eef3e50554c682aeb2a97519938a113b64efcbf8329033c8c7a21770af2560e78cb85cedfaeeebf611a142b9d42869684a7c5a3bc7e8716c801918f87095bd59fa7bf7f67d0125fc16ae82dbae384a87cffcc52d70dc36fa65e06a0d4cb9d78185ba7d44b03928287f5dce5ad2b7a9f82ea5559ca40f285c3a8d706c5eca41381e3f9b749609ed59e81d37223a6737b35f392ba6","redirect_uri":"https://document.amocrm.md/core/manager/install.php"} {"uid":"cc7501b"}
[2026-10-20 09:09:04] docflow.INFO: Token for account 22699852 refreshed successfully. [] {"uid":"cc7501b"}
[2026-10-20 09:09:04] docflow.DEBUG: getClientAuth returned {"auth":"[object] (stdClass: {\"domain\":\"emigrare.amocrm.ru\",\"access_token\":\"eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImp0aSI6IjM2MjFhNTE2ODhlNTY2NzRkNDZlZTc2ZWU1MGY3Y2ZkZTM1NTJmNTE4ZDUwZDJmOTVlNGYxNWVlYmU3MDBiMjAwYjRlN2ZmZTM1ZDExOWIzIn0.eyJhdWQiOiIwZDY0ZGZmYi1lNTRiLTQ0OGYtOWZiZi1iYWYyMjUxYTExZGIiLCJqdGkiOiIzNjIxYTUxNjg4ZTU2Njc0ZDQ2ZWU3NmVlNTBmN2NmZGUzNTUyZjUxOGQ1MGQyZjk1ZTRmMTVlZWJlNzAwYjIwMGI0ZTdmZmUzNWQxMTliMyIsImlhdCI6MTc5MjQ3NjU0NCwibmJmIjoxNzkyNDc2NTQ0LCJleHAiOjE3OTI1NjI5NDQsInN1YiI6IjI5MzAzODAiLCJncmFudF90eXBlIjoiIiwiYWNjb3VudF9pZCI6MjI2OTk4NTIsImJhc2VfZG9tYWluIjoiYW1vY3JtLnJ1IiwidmVyc2lvbiI6Miwic2NvcGVzIjpbInB1c2hfbm90aWZpY2F0aW9ucyIsImNybSIsIm5vdGlmaWNhdGlvbnMiXSwiaGFzaF91dWlkIjoiOWE3NWEwYzQtZGMzOC00MzhmLTg2NmEtMWIxZWIwNzYyNjZlIiwiYXBpX2RvbWFpbiI6ImFwaS1iLmFtb2NybS5ydSJ9.qehz4h7sbmBOqc2WoRpnMDr7JDLCNhcyFK0dk2J1kdkNQ8gzqB35VS6EgeS4v5Q5O1O4SRNKFuSvIB-5lrCv0q7Dg5SRiRmxfG_vqqg5R4YK67own5xWhW6vEVSS1aPH1pxSeqCA7qhMFyAxz9Dsrm1tVt15o4ePIGLpWrlkjvoVCpMvsvSCZ9y1LdI_UF9ZhUW9SGQwuyhIzqQdEbmlmNnqHf8yd6roK6IOhluPISHsMmRWJBAThQQ-Z6IwXvU9t9uDb35rSe9xH0RCb_GrrWAvWtVEKh_qCbOvFlY1pfSMFm_w-smIYAdeBGxKrGW4Xd2scXU7XXH6BgpXaAB4uw\"})","file":"/home/ytvmclwh/document.amocrm.md/src/Models/Docs.php","line":121} {"uid":"cc7501b"}
[2026-10-20 09:09:07] docflow.DEBUG: AmoDrive docflow context request {"url":"https://google.emale.uno/api/docflow/google-context","query":{"account_id":"22699852","entity_id":"42438358","entity_type":"leads"}} {"uid":"cc7501b"}
[2026-10-20 09: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=22699852&amp;entity_id=42438358&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/20 09:09:07</td>\r\n</tr>\r\n</table>\r\n<hr><center>tengine</center>\r\n</body>\r\n</html>\r\n"} {"uid":"cc7501b"}
[2026-10-20 09:09:07] docflow.DEBUG: AmoDrive docflow context request {"url":"https://gd.glucose-dev.online/api/docflow/google-context","query":{"account_id":"22699852","entity_id":"42438358","entity_type":"leads"}} {"uid":"cc7501b"}
[2026-10-20 09: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":22699852,"entityId":"42438358","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":305,"isLifetime":false},"licenseActive":false,"googleConnected":false,"googleEmail":null,"googleHasDriveScope":false,"googleHasDriveFileScope":false,"googleHasOwnershipScope":false,"readyForGeneratedFileMove":false,"readyForTransfer":false},"folder":{"id":"1jFlS_XiX50bNfc9CWGf6CrKHoKioIdqy","name":"42438358 - Lead #42438358","webViewLink":"https://drive.google.com/drive/folders/1jFlS_XiX50bNfc9CWGf6CrKHoKioIdqy"}}} {"uid":"cc7501b"}
[2026-10-20 09:09:07] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://google.emale.uno/api/docflow/prepare-generated-doc","payload":{"account_id":"22699852","entity_id":"42438358","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"cc7501b"}
[2026-10-20 09: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/20 09: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":"22699852","entity_id":"42438358","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"cc7501b"}
[2026-10-20 09:09: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":"42438358","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"cc7501b"}
[2026-10-20 09: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\":22699852})","payload":{"account_id":"22699852","entity_id":"42438358","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"cc7501b"}
[2026-10-20 09:09:07] 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) 128 20261020090907\",\"leadId\":\"42438358\",\"entities\":{\"\\u0441\\u0434\\u0435\\u043b\\u043a\\u0430\":{\"referrer\":\"https:\\/\\/emigrare.md\\/respublika-moldova\\/grazhdanstvo-respubliki-moldova\\/\",\"Suma \\u20ac\":\"0\",\"ID\":\"42438358\",\"\\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\":\"Iulia Chiperi\",\"Responsible\":\"Iulia Chiperi\"},\"lead\":{\"referrer\":\"https:\\/\\/emigrare.md\\/respublika-moldova\\/grazhdanstvo-respubliki-moldova\\/\",\"Suma \\u20ac\":\"0\",\"ID\":\"42438358\",\"\\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\":\"Iulia Chiperi\",\"Responsible\":\"Iulia Chiperi\"},\"\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442\":{\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"+79043033840\",\"Email\":\"zykovgronsky@gmail.com\",\"TelegramId_WZ\":\"72804178\",\"TelegramUsername_WZ\":\"@zykovgronsky\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"\\u0410\\u043b\\u0435\\u043a\\u0441\\u0435\\u0439\",\"Contact_name\":\"\\u0410\\u043b\\u0435\\u043a\\u0441\\u0435\\u0439\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"Iulia Chiperi\",\"Responsible\":\"Iulia Chiperi\"},\"contact\":{\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"+79043033840\",\"Email\":\"zykovgronsky@gmail.com\",\"TelegramId_WZ\":\"72804178\",\"TelegramUsername_WZ\":\"@zykovgronsky\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"\\u0410\\u043b\\u0435\\u043a\\u0441\\u0435\\u0439\",\"Contact_name\":\"\\u0410\\u043b\\u0435\\u043a\\u0441\\u0435\\u0439\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"Iulia Chiperi\",\"Responsible\":\"Iulia Chiperi\"},\"\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442\\u044b\":[{\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"+79043033840\",\"Email\":\"zykovgronsky@gmail.com\",\"TelegramId_WZ\":\"72804178\",\"TelegramUsername_WZ\":\"@zykovgronsky\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"\\u0410\\u043b\\u0435\\u043a\\u0441\\u0435\\u0439\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"Iulia Chiperi\"}],\"\\u043a\\u043e\\u043c\\u043f\\u0430\\u043d\\u0438\\u044f\":{\"\\u0410\\u0434\\u0440\\u0435\\u0441\":\"\\u041f\\u0440\\u0438\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0443\\u044e! \\r\\n\\r\\n\\u042f \\u0431\\u044b \\u0445\\u043e\\u0442\\u0435\\u043b \\u043e\\u0431\\u0440\\u0430\\u0442\\u0438\\u0442\\u044c\\u0441\\u044f \\u0432 \\u0432\\u0430\\u0448\\u0443 \\u043a\\u043e\\u043c\\u043f\\u0430\\u043d\\u0438\\u044e. \\u0418\\u043d\\u0442\\u0435\\u0440\\u0435\\u0441\\u0443\\u0435\\u0442 \\u043f\\u043e\\u043b\\u0443\\u0447\\u0435\\u043d\\u0438\\u0435 \\u0433\\u0440\\u0430\\u0436\\u0434\\u0430\\u043d\\u0441\\u0442\\u0432\\u0430 \\u0434\\u043b\\u044f \\u043c\\u0435\\u043d\\u044f \\u0438 \\u043c\\u043e\\u0435\\u0433\\u043e \\u0441\\u044b\\u043d\\u0430. \\u0415\\u0441\\u0442\\u044c \\u043f\\u0435\\u0440\\u0432\\u0438\\u0447\\u043d\\u044b\\u0435 \\u0434\\u043e\\u043a\\u0443\\u043c\\u0435\\u043d\\u0442\\u044b. \\u0413\\u043e\\u0442\\u043e\\u0432 \\u043e\\u0431\\u0441\\u0443\\u0434\\u0438\\u0442\\u044c.\\r\\n\\r\\n\\u0421\\u043e\\u0440\\u0438\\u0435\\u043d\\u0442\\u0438\\u0440\\u0443\\u0439\\u0442\\u0435, \\u043f\\u043e\\u0436\\u0430\\u043b\\u0443\\u0439\\u0441\\u0442\\u0430, \\u0441\\u043a\\u043e\\u043b\\u044c\\u043a\\u043e \\u0441\\u0442\\u043e\\u0438\\u0442 \\u0434\\u0430\\u043d\\u043d\\u0430\\u044f \\u0443\\u0441\\u043b\\u0443\\u0433\\u0430 \\u0438 \\u0441\\u043a\\u043e\\u043b\\u044c\\u043a\\u043e \\u043f\\u043e\\u0442\\u0440\\u0435\\u0431\\u0443\\u0435\\u0442\\u0441\\u044f \\u0432\\u0440\\u0435\\u043c\\u0435\\u043d\\u0438?\",\"\\u041a\\u043e\\u043c\\u043f\\u0430\\u043d\\u0438\\u044f_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"\\u041d\\u0430\\u0437\\u0432\\u0430\\u043d\\u0438\\u0435 \\u043d\\u0435 \\u0443\\u043a\\u0430\\u0437\\u0430\\u043d\\u043e\",\"Company_name\":\"\\u041d\\u0430\\u0437\\u0432\\u0430\\u043d\\u0438\\u0435 \\u043d\\u0435 \\u0443\\u043a\\u0430\\u0437\\u0430\\u043d\\u043e\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"Iulia Chiperi\",\"Responsible\":\"Iulia Chiperi\"},\"company\":{\"\\u0410\\u0434\\u0440\\u0435\\u0441\":\"\\u041f\\u0440\\u0438\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0443\\u044e! \\r\\n\\r\\n\\u042f \\u0431\\u044b \\u0445\\u043e\\u0442\\u0435\\u043b \\u043e\\u0431\\u0440\\u0430\\u0442\\u0438\\u0442\\u044c\\u0441\\u044f \\u0432 \\u0432\\u0430\\u0448\\u0443 \\u043a\\u043e\\u043c\\u043f\\u0430\\u043d\\u0438\\u044e. \\u0418\\u043d\\u0442\\u0435\\u0440\\u0435\\u0441\\u0443\\u0435\\u0442 \\u043f\\u043e\\u043b\\u0443\\u0447\\u0435\\u043d\\u0438\\u0435 \\u0433\\u0440\\u0430\\u0436\\u0434\\u0430\\u043d\\u0441\\u0442\\u0432\\u0430 \\u0434\\u043b\\u044f \\u043c\\u0435\\u043d\\u044f \\u0438 \\u043c\\u043e\\u0435\\u0433\\u043e \\u0441\\u044b\\u043d\\u0430. \\u0415\\u0441\\u0442\\u044c \\u043f\\u0435\\u0440\\u0432\\u0438\\u0447\\u043d\\u044b\\u0435 \\u0434\\u043e\\u043a\\u0443\\u043c\\u0435\\u043d\\u0442\\u044b. \\u0413\\u043e\\u0442\\u043e\\u0432 \\u043e\\u0431\\u0441\\u0443\\u0434\\u0438\\u0442\\u044c.\\r\\n\\r\\n\\u0421\\u043e\\u0440\\u0438\\u0435\\u043d\\u0442\\u0438\\u0440\\u0443\\u0439\\u0442\\u0435, \\u043f\\u043e\\u0436\\u0430\\u043b\\u0443\\u0439\\u0441\\u0442\\u0430, \\u0441\\u043a\\u043e\\u043b\\u044c\\u043a\\u043e \\u0441\\u0442\\u043e\\u0438\\u0442 \\u0434\\u0430\\u043d\\u043d\\u0430\\u044f \\u0443\\u0441\\u043b\\u0443\\u0433\\u0430 \\u0438 \\u0441\\u043a\\u043e\\u043b\\u044c\\u043a\\u043e \\u043f\\u043e\\u0442\\u0440\\u0435\\u0431\\u0443\\u0435\\u0442\\u0441\\u044f \\u0432\\u0440\\u0435\\u043c\\u0435\\u043d\\u0438?\",\"\\u041a\\u043e\\u043c\\u043f\\u0430\\u043d\\u0438\\u044f_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"\\u041d\\u0430\\u0437\\u0432\\u0430\\u043d\\u0438\\u0435 \\u043d\\u0435 \\u0443\\u043a\\u0430\\u0437\\u0430\\u043d\\u043e\",\"Company_name\":\"\\u041d\\u0430\\u0437\\u0432\\u0430\\u043d\\u0438\\u0435 \\u043d\\u0435 \\u0443\\u043a\\u0430\\u0437\\u0430\\u043d\\u043e\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"Iulia Chiperi\",\"Responsible\":\"Iulia Chiperi\"},\"\\u0434\\u043e\\u043a\\u0443\\u043c\\u0435\\u043d\\u0442\":{\"\\u0414\\u0430\\u0442\\u0430\":\"20.10.2026\",\"\\u041d\\u043e\\u043c\\u0435\\u0440\":\"128\"},\"document\":{\"Date\":\"20.10.2026\",\"Number\":\"128\"}}}","edit":true}} {"uid":"cc7501b"}
[2026-10-20 09:09:14] docflow.DEBUG: GAS raw response {"raw":"[object] (stdClass: {\"code\":1,\"url\":\"https://docs.google.com/open?id=1r9LzHw_GCF1p8umBy6L0ybTZzOKoEVmP8P_3c4iOnNI\",\"file_id\":\"1r9LzHw_GCF1p8umBy6L0ybTZzOKoEVmP8P_3c4iOnNI\",\"error\":\"\",\"vars\":\"\"})"} {"uid":"cc7501b"}
[2026-10-20 09:09:14] docflow.WARNING: AmoDrive generated-file move is not ready. {"fileId":"1r9LzHw_GCF1p8umBy6L0ybTZzOKoEVmP8P_3c4iOnNI","context":null} {"uid":"cc7501b"}
[2026-10-20 11:47:59] docflow.INFO: Apel createDoc {"data":{"amoAccountId":"22699852","amoUserId":null,"amoEntityId":"42860486","amoEntityType":"2","templateId":"11495","corporateEntityId":"","settlementAccountId":"","is_signed":null,"gdi":null,"number":null,"currentAmoUserId":null,"lang":"ru"}} {"uid":"f9b8c02"}
[2026-10-20 11:47:59] docflow.INFO: Token is valid for account 22699852. [] {"uid":"f9b8c02"}
[2026-10-20 11:47:59] docflow.DEBUG: getClientAuth returned {"auth":"[object] (stdClass: {\"domain\":\"emigrare.amocrm.ru\",\"access_token\":\"eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImp0aSI6IjM2MjFhNTE2ODhlNTY2NzRkNDZlZTc2ZWU1MGY3Y2ZkZTM1NTJmNTE4ZDUwZDJmOTVlNGYxNWVlYmU3MDBiMjAwYjRlN2ZmZTM1ZDExOWIzIn0.eyJhdWQiOiIwZDY0ZGZmYi1lNTRiLTQ0OGYtOWZiZi1iYWYyMjUxYTExZGIiLCJqdGkiOiIzNjIxYTUxNjg4ZTU2Njc0ZDQ2ZWU3NmVlNTBmN2NmZGUzNTUyZjUxOGQ1MGQyZjk1ZTRmMTVlZWJlNzAwYjIwMGI0ZTdmZmUzNWQxMTliMyIsImlhdCI6MTc5MjQ3NjU0NCwibmJmIjoxNzkyNDc2NTQ0LCJleHAiOjE3OTI1NjI5NDQsInN1YiI6IjI5MzAzODAiLCJncmFudF90eXBlIjoiIiwiYWNjb3VudF9pZCI6MjI2OTk4NTIsImJhc2VfZG9tYWluIjoiYW1vY3JtLnJ1IiwidmVyc2lvbiI6Miwic2NvcGVzIjpbInB1c2hfbm90aWZpY2F0aW9ucyIsImNybSIsIm5vdGlmaWNhdGlvbnMiXSwiaGFzaF91dWlkIjoiOWE3NWEwYzQtZGMzOC00MzhmLTg2NmEtMWIxZWIwNzYyNjZlIiwiYXBpX2RvbWFpbiI6ImFwaS1iLmFtb2NybS5ydSJ9.qehz4h7sbmBOqc2WoRpnMDr7JDLCNhcyFK0dk2J1kdkNQ8gzqB35VS6EgeS4v5Q5O1O4SRNKFuSvIB-5lrCv0q7Dg5SRiRmxfG_vqqg5R4YK67own5xWhW6vEVSS1aPH1pxSeqCA7qhMFyAxz9Dsrm1tVt15o4ePIGLpWrlkjvoVCpMvsvSCZ9y1LdI_UF9ZhUW9SGQwuyhIzqQdEbmlmNnqHf8yd6roK6IOhluPISHsMmRWJBAThQQ-Z6IwXvU9t9uDb35rSe9xH0RCb_GrrWAvWtVEKh_qCbOvFlY1pfSMFm_w-smIYAdeBGxKrGW4Xd2scXU7XXH6BgpXaAB4uw\"})","file":"/home/ytvmclwh/document.amocrm.md/src/Models/Docs.php","line":121} {"uid":"f9b8c02"}
[2026-10-20 11:48:04] docflow.DEBUG: AmoDrive docflow context request {"url":"https://google.emale.uno/api/docflow/google-context","query":{"account_id":"22699852","entity_id":"42860486","entity_type":"leads"}} {"uid":"f9b8c02"}
[2026-10-20 11:48:04] 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=42860486&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/20 11:48:04</td>\r\n</tr>\r\n</table>\r\n<hr><center>tengine</center>\r\n</body>\r\n</html>\r\n"} {"uid":"f9b8c02"}
[2026-10-20 11:48:04] docflow.DEBUG: AmoDrive docflow context request {"url":"https://gd.glucose-dev.online/api/docflow/google-context","query":{"account_id":"22699852","entity_id":"42860486","entity_type":"leads"}} {"uid":"f9b8c02"}
[2026-10-20 11:48:04] 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":"42860486","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":305,"isLifetime":false},"licenseActive":false,"googleConnected":false,"googleEmail":null,"googleHasDriveScope":false,"googleHasDriveFileScope":false,"googleHasOwnershipScope":false,"readyForGeneratedFileMove":false,"readyForTransfer":false},"folder":{"id":"1Gay075BWy8nAsVw4ybsPIMunR2Tyn1KU","name":"42860486 - Lead #42860486","webViewLink":"https://drive.google.com/drive/folders/1Gay075BWy8nAsVw4ybsPIMunR2Tyn1KU"}}} {"uid":"f9b8c02"}
[2026-10-20 11:48:04] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://google.emale.uno/api/docflow/prepare-generated-doc","payload":{"account_id":"22699852","entity_id":"42860486","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"f9b8c02"}
[2026-10-20 11:48: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/20 11:48: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":"22699852","entity_id":"42860486","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"f9b8c02"}
[2026-10-20 11:48:04] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://gd.glucose-dev.online/api/docflow/prepare-generated-doc","payload":{"account_id":"22699852","entity_id":"42860486","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"f9b8c02"}
[2026-10-20 11:48: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\":22699852})","payload":{"account_id":"22699852","entity_id":"42860486","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"f9b8c02"}
[2026-10-20 11:48:04] 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) 455 20261020114804\",\"leadId\":\"42860486\",\"entities\":{\"\\u0441\\u0434\\u0435\\u043b\\u043a\\u0430\":{\"roistat\":\"2014\",\"Suma \\u20ac\":\"0\",\"Categorie Serviciu\":\"Cet.MD\",\"Serviciu solicitat\":\"1520102\",\"Ancheta completat\\u0103\":\"DA\",\"Temperatura client\":\"Fierbinte\",\"ID\":\"42860486\",\"\\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\":{\"roistat\":\"2014\",\"Suma \\u20ac\":\"0\",\"Categorie Serviciu\":\"Cet.MD\",\"Serviciu solicitat\":\"1520102\",\"Ancheta completat\\u0103\":\"DA\",\"Temperatura client\":\"Fierbinte\",\"ID\":\"42860486\",\"\\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\":{\"WhatsappLid_WZ\":\"220989103308954\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"+79629620306\",\"Email\":\"lsbp@ya.ru\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Evgeny\",\"Contact_name\":\"Evgeny\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"Stanislav Slivinschi\",\"Responsible\":\"Stanislav Slivinschi\"},\"contact\":{\"WhatsappLid_WZ\":\"220989103308954\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"+79629620306\",\"Email\":\"lsbp@ya.ru\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Evgeny\",\"Contact_name\":\"Evgeny\",\"\\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\":[{\"WhatsappLid_WZ\":\"220989103308954\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"+79629620306\",\"Email\":\"lsbp@ya.ru\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Evgeny\",\"\\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\":\"20.10.2026\",\"\\u041d\\u043e\\u043c\\u0435\\u0440\":\"455\"},\"document\":{\"Date\":\"20.10.2026\",\"Number\":\"455\"}}}","edit":true}} {"uid":"f9b8c02"}
[2026-10-20 11:48:17] docflow.DEBUG: GAS raw response {"raw":"[object] (stdClass: {\"code\":1,\"url\":\"https://docs.google.com/open?id=11QkulLxz55SLCcgNFYXO_v2O_fUqlzJoA4ILyYNC1IQ\",\"file_id\":\"11QkulLxz55SLCcgNFYXO_v2O_fUqlzJoA4ILyYNC1IQ\",\"error\":\"\",\"vars\":\"\"})"} {"uid":"f9b8c02"}
[2026-10-20 11:48:17] docflow.WARNING: AmoDrive generated-file move is not ready. {"fileId":"11QkulLxz55SLCcgNFYXO_v2O_fUqlzJoA4ILyYNC1IQ","context":null} {"uid":"f9b8c02"}
[2026-10-20 11:48:31] docflow.INFO: Apel createDoc {"data":{"amoAccountId":"22699852","amoUserId":null,"amoEntityId":"42860486","amoEntityType":"2","templateId":"11493","corporateEntityId":"","settlementAccountId":"","is_signed":null,"gdi":null,"number":null,"currentAmoUserId":null,"lang":"ru"}} {"uid":"30c1c41"}
[2026-10-20 11:48:32] docflow.INFO: Token is valid for account 22699852. [] {"uid":"30c1c41"}
[2026-10-20 11:48:32] docflow.DEBUG: getClientAuth returned {"auth":"[object] (stdClass: {\"domain\":\"emigrare.amocrm.ru\",\"access_token\":\"eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImp0aSI6IjM2MjFhNTE2ODhlNTY2NzRkNDZlZTc2ZWU1MGY3Y2ZkZTM1NTJmNTE4ZDUwZDJmOTVlNGYxNWVlYmU3MDBiMjAwYjRlN2ZmZTM1ZDExOWIzIn0.eyJhdWQiOiIwZDY0ZGZmYi1lNTRiLTQ0OGYtOWZiZi1iYWYyMjUxYTExZGIiLCJqdGkiOiIzNjIxYTUxNjg4ZTU2Njc0ZDQ2ZWU3NmVlNTBmN2NmZGUzNTUyZjUxOGQ1MGQyZjk1ZTRmMTVlZWJlNzAwYjIwMGI0ZTdmZmUzNWQxMTliMyIsImlhdCI6MTc5MjQ3NjU0NCwibmJmIjoxNzkyNDc2NTQ0LCJleHAiOjE3OTI1NjI5NDQsInN1YiI6IjI5MzAzODAiLCJncmFudF90eXBlIjoiIiwiYWNjb3VudF9pZCI6MjI2OTk4NTIsImJhc2VfZG9tYWluIjoiYW1vY3JtLnJ1IiwidmVyc2lvbiI6Miwic2NvcGVzIjpbInB1c2hfbm90aWZpY2F0aW9ucyIsImNybSIsIm5vdGlmaWNhdGlvbnMiXSwiaGFzaF91dWlkIjoiOWE3NWEwYzQtZGMzOC00MzhmLTg2NmEtMWIxZWIwNzYyNjZlIiwiYXBpX2RvbWFpbiI6ImFwaS1iLmFtb2NybS5ydSJ9.qehz4h7sbmBOqc2WoRpnMDr7JDLCNhcyFK0dk2J1kdkNQ8gzqB35VS6EgeS4v5Q5O1O4SRNKFuSvIB-5lrCv0q7Dg5SRiRmxfG_vqqg5R4YK67own5xWhW6vEVSS1aPH1pxSeqCA7qhMFyAxz9Dsrm1tVt15o4ePIGLpWrlkjvoVCpMvsvSCZ9y1LdI_UF9ZhUW9SGQwuyhIzqQdEbmlmNnqHf8yd6roK6IOhluPISHsMmRWJBAThQQ-Z6IwXvU9t9uDb35rSe9xH0RCb_GrrWAvWtVEKh_qCbOvFlY1pfSMFm_w-smIYAdeBGxKrGW4Xd2scXU7XXH6BgpXaAB4uw\"})","file":"/home/ytvmclwh/document.amocrm.md/src/Models/Docs.php","line":121} {"uid":"30c1c41"}
[2026-10-20 11:48:34] docflow.DEBUG: AmoDrive docflow context request {"url":"https://google.emale.uno/api/docflow/google-context","query":{"account_id":"22699852","entity_id":"42860486","entity_type":"leads"}} {"uid":"30c1c41"}
[2026-10-20 11:48:34] 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=42860486&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/20 11:48:34</td>\r\n</tr>\r\n</table>\r\n<hr><center>tengine</center>\r\n</body>\r\n</html>\r\n"} {"uid":"30c1c41"}
[2026-10-20 11:48:34] docflow.DEBUG: AmoDrive docflow context request {"url":"https://gd.glucose-dev.online/api/docflow/google-context","query":{"account_id":"22699852","entity_id":"42860486","entity_type":"leads"}} {"uid":"30c1c41"}
[2026-10-20 11:48:34] 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":"42860486","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":305,"isLifetime":false},"licenseActive":false,"googleConnected":false,"googleEmail":null,"googleHasDriveScope":false,"googleHasDriveFileScope":false,"googleHasOwnershipScope":false,"readyForGeneratedFileMove":false,"readyForTransfer":false},"folder":{"id":"1Gay075BWy8nAsVw4ybsPIMunR2Tyn1KU","name":"42860486 - Lead #42860486","webViewLink":"https://drive.google.com/drive/folders/1Gay075BWy8nAsVw4ybsPIMunR2Tyn1KU"}}} {"uid":"30c1c41"}
[2026-10-20 11:48:34] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://google.emale.uno/api/docflow/prepare-generated-doc","payload":{"account_id":"22699852","entity_id":"42860486","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"30c1c41"}
[2026-10-20 11:48: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/20 11:48:34</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":"42860486","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"30c1c41"}
[2026-10-20 11:48: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":"42860486","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"30c1c41"}
[2026-10-20 11:48:35] 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":"42860486","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"30c1c41"}
[2026-10-20 11:48:35] 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  99 20261020114834\",\"leadId\":\"42860486\",\"entities\":{\"\\u0441\\u0434\\u0435\\u043b\\u043a\\u0430\":{\"roistat\":\"2014\",\"Suma \\u20ac\":\"0\",\"Categorie Serviciu\":\"Cet.MD\",\"Serviciu solicitat\":\"1520102\",\"Ancheta completat\\u0103\":\"DA\",\"Temperatura client\":\"Fierbinte\",\"ID\":\"42860486\",\"\\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\":{\"roistat\":\"2014\",\"Suma \\u20ac\":\"0\",\"Categorie Serviciu\":\"Cet.MD\",\"Serviciu solicitat\":\"1520102\",\"Ancheta completat\\u0103\":\"DA\",\"Temperatura client\":\"Fierbinte\",\"ID\":\"42860486\",\"\\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\":{\"WhatsappLid_WZ\":\"220989103308954\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"+79629620306\",\"Email\":\"lsbp@ya.ru\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Evgeny\",\"Contact_name\":\"Evgeny\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"Stanislav Slivinschi\",\"Responsible\":\"Stanislav Slivinschi\"},\"contact\":{\"WhatsappLid_WZ\":\"220989103308954\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"+79629620306\",\"Email\":\"lsbp@ya.ru\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Evgeny\",\"Contact_name\":\"Evgeny\",\"\\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\":[{\"WhatsappLid_WZ\":\"220989103308954\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"+79629620306\",\"Email\":\"lsbp@ya.ru\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Evgeny\",\"\\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\":\"20.10.2026\",\"\\u041d\\u043e\\u043c\\u0435\\u0440\":\"99\"},\"document\":{\"Date\":\"20.10.2026\",\"Number\":\"99\"}}}","edit":true}} {"uid":"30c1c41"}
[2026-10-20 11:48:42] docflow.DEBUG: GAS raw response {"raw":"[object] (stdClass: {\"code\":1,\"url\":\"https://docs.google.com/open?id=1Vbxtuzb2H5YOTqBGgMwvceLmeMPrBQrk-d6BMvCfFRg\",\"file_id\":\"1Vbxtuzb2H5YOTqBGgMwvceLmeMPrBQrk-d6BMvCfFRg\",\"error\":\"\",\"vars\":\"\"})"} {"uid":"30c1c41"}
[2026-10-20 11:48:42] docflow.WARNING: AmoDrive generated-file move is not ready. {"fileId":"1Vbxtuzb2H5YOTqBGgMwvceLmeMPrBQrk-d6BMvCfFRg","context":null} {"uid":"30c1c41"}
[2026-10-20 11:49:23] docflow.INFO: Apel createDoc {"data":{"amoAccountId":"22699852","amoUserId":null,"amoEntityId":"42860486","amoEntityType":"2","templateId":"11528","corporateEntityId":"","settlementAccountId":"","is_signed":null,"gdi":null,"number":null,"currentAmoUserId":null,"lang":"ru"}} {"uid":"cb030ac"}
[2026-10-20 11:49:23] docflow.INFO: Token is valid for account 22699852. [] {"uid":"cb030ac"}
[2026-10-20 11:49:23] docflow.DEBUG: getClientAuth returned {"auth":"[object] (stdClass: {\"domain\":\"emigrare.amocrm.ru\",\"access_token\":\"eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImp0aSI6IjM2MjFhNTE2ODhlNTY2NzRkNDZlZTc2ZWU1MGY3Y2ZkZTM1NTJmNTE4ZDUwZDJmOTVlNGYxNWVlYmU3MDBiMjAwYjRlN2ZmZTM1ZDExOWIzIn0.eyJhdWQiOiIwZDY0ZGZmYi1lNTRiLTQ0OGYtOWZiZi1iYWYyMjUxYTExZGIiLCJqdGkiOiIzNjIxYTUxNjg4ZTU2Njc0ZDQ2ZWU3NmVlNTBmN2NmZGUzNTUyZjUxOGQ1MGQyZjk1ZTRmMTVlZWJlNzAwYjIwMGI0ZTdmZmUzNWQxMTliMyIsImlhdCI6MTc5MjQ3NjU0NCwibmJmIjoxNzkyNDc2NTQ0LCJleHAiOjE3OTI1NjI5NDQsInN1YiI6IjI5MzAzODAiLCJncmFudF90eXBlIjoiIiwiYWNjb3VudF9pZCI6MjI2OTk4NTIsImJhc2VfZG9tYWluIjoiYW1vY3JtLnJ1IiwidmVyc2lvbiI6Miwic2NvcGVzIjpbInB1c2hfbm90aWZpY2F0aW9ucyIsImNybSIsIm5vdGlmaWNhdGlvbnMiXSwiaGFzaF91dWlkIjoiOWE3NWEwYzQtZGMzOC00MzhmLTg2NmEtMWIxZWIwNzYyNjZlIiwiYXBpX2RvbWFpbiI6ImFwaS1iLmFtb2NybS5ydSJ9.qehz4h7sbmBOqc2WoRpnMDr7JDLCNhcyFK0dk2J1kdkNQ8gzqB35VS6EgeS4v5Q5O1O4SRNKFuSvIB-5lrCv0q7Dg5SRiRmxfG_vqqg5R4YK67own5xWhW6vEVSS1aPH1pxSeqCA7qhMFyAxz9Dsrm1tVt15o4ePIGLpWrlkjvoVCpMvsvSCZ9y1LdI_UF9ZhUW9SGQwuyhIzqQdEbmlmNnqHf8yd6roK6IOhluPISHsMmRWJBAThQQ-Z6IwXvU9t9uDb35rSe9xH0RCb_GrrWAvWtVEKh_qCbOvFlY1pfSMFm_w-smIYAdeBGxKrGW4Xd2scXU7XXH6BgpXaAB4uw\"})","file":"/home/ytvmclwh/document.amocrm.md/src/Models/Docs.php","line":121} {"uid":"cb030ac"}
[2026-10-20 11:49:26] docflow.DEBUG: AmoDrive docflow context request {"url":"https://google.emale.uno/api/docflow/google-context","query":{"account_id":"22699852","entity_id":"42860486","entity_type":"leads"}} {"uid":"cb030ac"}
[2026-10-20 11:49:26] 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=42860486&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/20 11:49:26</td>\r\n</tr>\r\n</table>\r\n<hr><center>tengine</center>\r\n</body>\r\n</html>\r\n"} {"uid":"cb030ac"}
[2026-10-20 11:49:26] docflow.DEBUG: AmoDrive docflow context request {"url":"https://gd.glucose-dev.online/api/docflow/google-context","query":{"account_id":"22699852","entity_id":"42860486","entity_type":"leads"}} {"uid":"cb030ac"}
[2026-10-20 11:49:26] 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":"42860486","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":305,"isLifetime":false},"licenseActive":false,"googleConnected":false,"googleEmail":null,"googleHasDriveScope":false,"googleHasDriveFileScope":false,"googleHasOwnershipScope":false,"readyForGeneratedFileMove":false,"readyForTransfer":false},"folder":{"id":"1Gay075BWy8nAsVw4ybsPIMunR2Tyn1KU","name":"42860486 - Lead #42860486","webViewLink":"https://drive.google.com/drive/folders/1Gay075BWy8nAsVw4ybsPIMunR2Tyn1KU"}}} {"uid":"cb030ac"}
[2026-10-20 11:49:26] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://google.emale.uno/api/docflow/prepare-generated-doc","payload":{"account_id":"22699852","entity_id":"42860486","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"cb030ac"}
[2026-10-20 11:49:26] 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/20 11:49:26</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":"42860486","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"cb030ac"}
[2026-10-20 11:49:26] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://gd.glucose-dev.online/api/docflow/prepare-generated-doc","payload":{"account_id":"22699852","entity_id":"42860486","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"cb030ac"}
[2026-10-20 11:49:26] 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":"42860486","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"cb030ac"}
[2026-10-20 11:49:26] 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) 221 20261020114926\",\"leadId\":\"42860486\",\"entities\":{\"\\u0441\\u0434\\u0435\\u043b\\u043a\\u0430\":{\"roistat\":\"2014\",\"Suma \\u20ac\":\"0\",\"Categorie Serviciu\":\"Cet.MD\",\"Serviciu solicitat\":\"1520102\",\"Ancheta completat\\u0103\":\"DA\",\"Temperatura client\":\"Fierbinte\",\"ID\":\"42860486\",\"\\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\":{\"roistat\":\"2014\",\"Suma \\u20ac\":\"0\",\"Categorie Serviciu\":\"Cet.MD\",\"Serviciu solicitat\":\"1520102\",\"Ancheta completat\\u0103\":\"DA\",\"Temperatura client\":\"Fierbinte\",\"ID\":\"42860486\",\"\\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\":{\"WhatsappLid_WZ\":\"220989103308954\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"+79629620306\",\"Email\":\"lsbp@ya.ru\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Evgeny\",\"Contact_name\":\"Evgeny\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"Stanislav Slivinschi\",\"Responsible\":\"Stanislav Slivinschi\"},\"contact\":{\"WhatsappLid_WZ\":\"220989103308954\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"+79629620306\",\"Email\":\"lsbp@ya.ru\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Evgeny\",\"Contact_name\":\"Evgeny\",\"\\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\":[{\"WhatsappLid_WZ\":\"220989103308954\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"+79629620306\",\"Email\":\"lsbp@ya.ru\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Evgeny\",\"\\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\":\"20.10.2026\",\"\\u041d\\u043e\\u043c\\u0435\\u0440\":\"221\"},\"document\":{\"Date\":\"20.10.2026\",\"Number\":\"221\"}}}","edit":true}} {"uid":"cb030ac"}
[2026-10-20 11:49:32] docflow.DEBUG: GAS raw response {"raw":"[object] (stdClass: {\"code\":1,\"url\":\"https://docs.google.com/open?id=1-WE9fRRvBz3piuWuSBJUk0xYr0-Ht8L32dh-irxvDyo\",\"file_id\":\"1-WE9fRRvBz3piuWuSBJUk0xYr0-Ht8L32dh-irxvDyo\",\"error\":\"\",\"vars\":\"\"})"} {"uid":"cb030ac"}
[2026-10-20 11:49:32] docflow.WARNING: AmoDrive generated-file move is not ready. {"fileId":"1-WE9fRRvBz3piuWuSBJUk0xYr0-Ht8L32dh-irxvDyo","context":null} {"uid":"cb030ac"}
[2026-10-20 11:56:34] docflow.INFO: Apel createDoc {"data":{"amoAccountId":"22699852","amoUserId":null,"amoEntityId":"42860486","amoEntityType":"2","templateId":"11502","corporateEntityId":"","settlementAccountId":"","is_signed":null,"gdi":null,"number":null,"currentAmoUserId":null,"lang":"ru"}} {"uid":"9d55967"}
[2026-10-20 11:56:36] docflow.INFO: Token is valid for account 22699852. [] {"uid":"9d55967"}
[2026-10-20 11:56:36] docflow.DEBUG: getClientAuth returned {"auth":"[object] (stdClass: {\"domain\":\"emigrare.amocrm.ru\",\"access_token\":\"eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImp0aSI6IjM2MjFhNTE2ODhlNTY2NzRkNDZlZTc2ZWU1MGY3Y2ZkZTM1NTJmNTE4ZDUwZDJmOTVlNGYxNWVlYmU3MDBiMjAwYjRlN2ZmZTM1ZDExOWIzIn0.eyJhdWQiOiIwZDY0ZGZmYi1lNTRiLTQ0OGYtOWZiZi1iYWYyMjUxYTExZGIiLCJqdGkiOiIzNjIxYTUxNjg4ZTU2Njc0ZDQ2ZWU3NmVlNTBmN2NmZGUzNTUyZjUxOGQ1MGQyZjk1ZTRmMTVlZWJlNzAwYjIwMGI0ZTdmZmUzNWQxMTliMyIsImlhdCI6MTc5MjQ3NjU0NCwibmJmIjoxNzkyNDc2NTQ0LCJleHAiOjE3OTI1NjI5NDQsInN1YiI6IjI5MzAzODAiLCJncmFudF90eXBlIjoiIiwiYWNjb3VudF9pZCI6MjI2OTk4NTIsImJhc2VfZG9tYWluIjoiYW1vY3JtLnJ1IiwidmVyc2lvbiI6Miwic2NvcGVzIjpbInB1c2hfbm90aWZpY2F0aW9ucyIsImNybSIsIm5vdGlmaWNhdGlvbnMiXSwiaGFzaF91dWlkIjoiOWE3NWEwYzQtZGMzOC00MzhmLTg2NmEtMWIxZWIwNzYyNjZlIiwiYXBpX2RvbWFpbiI6ImFwaS1iLmFtb2NybS5ydSJ9.qehz4h7sbmBOqc2WoRpnMDr7JDLCNhcyFK0dk2J1kdkNQ8gzqB35VS6EgeS4v5Q5O1O4SRNKFuSvIB-5lrCv0q7Dg5SRiRmxfG_vqqg5R4YK67own5xWhW6vEVSS1aPH1pxSeqCA7qhMFyAxz9Dsrm1tVt15o4ePIGLpWrlkjvoVCpMvsvSCZ9y1LdI_UF9ZhUW9SGQwuyhIzqQdEbmlmNnqHf8yd6roK6IOhluPISHsMmRWJBAThQQ-Z6IwXvU9t9uDb35rSe9xH0RCb_GrrWAvWtVEKh_qCbOvFlY1pfSMFm_w-smIYAdeBGxKrGW4Xd2scXU7XXH6BgpXaAB4uw\"})","file":"/home/ytvmclwh/document.amocrm.md/src/Models/Docs.php","line":121} {"uid":"9d55967"}
[2026-10-20 11:56:38] docflow.DEBUG: AmoDrive docflow context request {"url":"https://google.emale.uno/api/docflow/google-context","query":{"account_id":"22699852","entity_id":"42860486","entity_type":"leads"}} {"uid":"9d55967"}
[2026-10-20 11:56:38] 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=42860486&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/20 11:56:38</td>\r\n</tr>\r\n</table>\r\n<hr><center>tengine</center>\r\n</body>\r\n</html>\r\n"} {"uid":"9d55967"}
[2026-10-20 11:56:38] docflow.DEBUG: AmoDrive docflow context request {"url":"https://gd.glucose-dev.online/api/docflow/google-context","query":{"account_id":"22699852","entity_id":"42860486","entity_type":"leads"}} {"uid":"9d55967"}
[2026-10-20 11:56:38] 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":"42860486","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":305,"isLifetime":false},"licenseActive":false,"googleConnected":false,"googleEmail":null,"googleHasDriveScope":false,"googleHasDriveFileScope":false,"googleHasOwnershipScope":false,"readyForGeneratedFileMove":false,"readyForTransfer":false},"folder":{"id":"1Gay075BWy8nAsVw4ybsPIMunR2Tyn1KU","name":"42860486 - Lead #42860486","webViewLink":"https://drive.google.com/drive/folders/1Gay075BWy8nAsVw4ybsPIMunR2Tyn1KU"}}} {"uid":"9d55967"}
[2026-10-20 11:56:38] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://google.emale.uno/api/docflow/prepare-generated-doc","payload":{"account_id":"22699852","entity_id":"42860486","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"9d55967"}
[2026-10-20 11:56:39] 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/20 11:56:39</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":"42860486","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"9d55967"}
[2026-10-20 11:56:39] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://gd.glucose-dev.online/api/docflow/prepare-generated-doc","payload":{"account_id":"22699852","entity_id":"42860486","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"9d55967"}
[2026-10-20 11:56:39] 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":"42860486","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"9d55967"}
[2026-10-20 11:56:39] 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) 122 20261020115638\",\"leadId\":\"42860486\",\"entities\":{\"\\u0441\\u0434\\u0435\\u043b\\u043a\\u0430\":{\"roistat\":\"2014\",\"Suma \\u20ac\":\"0\",\"Categorie Serviciu\":\"Cet.MD\",\"Serviciu solicitat\":\"1520102\",\"Ancheta completat\\u0103\":\"DA\",\"Temperatura client\":\"Fierbinte\",\"ID\":\"42860486\",\"\\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\":{\"roistat\":\"2014\",\"Suma \\u20ac\":\"0\",\"Categorie Serviciu\":\"Cet.MD\",\"Serviciu solicitat\":\"1520102\",\"Ancheta completat\\u0103\":\"DA\",\"Temperatura client\":\"Fierbinte\",\"ID\":\"42860486\",\"\\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\":{\"WhatsappLid_WZ\":\"220989103308954\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"+79629620306\",\"Email\":\"lsbp@ya.ru\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Evgeny\",\"Contact_name\":\"Evgeny\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"Stanislav Slivinschi\",\"Responsible\":\"Stanislav Slivinschi\"},\"contact\":{\"WhatsappLid_WZ\":\"220989103308954\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"+79629620306\",\"Email\":\"lsbp@ya.ru\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Evgeny\",\"Contact_name\":\"Evgeny\",\"\\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\":[{\"WhatsappLid_WZ\":\"220989103308954\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"+79629620306\",\"Email\":\"lsbp@ya.ru\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Evgeny\",\"\\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\":\"20.10.2026\",\"\\u041d\\u043e\\u043c\\u0435\\u0440\":\"122\"},\"document\":{\"Date\":\"20.10.2026\",\"Number\":\"122\"}}}","edit":true}} {"uid":"9d55967"}
[2026-10-20 11:56:45] docflow.DEBUG: GAS raw response {"raw":"[object] (stdClass: {\"code\":1,\"url\":\"https://docs.google.com/open?id=1IQDa47iiYPpSZ6uHh50YeLh3IhXWuBV7JTkn9GVOtrU\",\"file_id\":\"1IQDa47iiYPpSZ6uHh50YeLh3IhXWuBV7JTkn9GVOtrU\",\"error\":\"\",\"vars\":\"\"})"} {"uid":"9d55967"}
[2026-10-20 11:56:45] docflow.WARNING: AmoDrive generated-file move is not ready. {"fileId":"1IQDa47iiYPpSZ6uHh50YeLh3IhXWuBV7JTkn9GVOtrU","context":null} {"uid":"9d55967"}
[2026-10-20 12:17:51] docflow.INFO: Apel createDoc {"data":{"amoAccountId":"22699852","amoUserId":null,"amoEntityId":"42885541","amoEntityType":"2","templateId":"11487","corporateEntityId":"","settlementAccountId":"","is_signed":null,"gdi":null,"number":null,"currentAmoUserId":null,"lang":"ru"}} {"uid":"cc0581a"}
[2026-10-20 12:17:51] docflow.INFO: Token is valid for account 22699852. [] {"uid":"cc0581a"}
[2026-10-20 12:17:51] docflow.DEBUG: getClientAuth returned {"auth":"[object] (stdClass: {\"domain\":\"emigrare.amocrm.ru\",\"access_token\":\"eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImp0aSI6IjM2MjFhNTE2ODhlNTY2NzRkNDZlZTc2ZWU1MGY3Y2ZkZTM1NTJmNTE4ZDUwZDJmOTVlNGYxNWVlYmU3MDBiMjAwYjRlN2ZmZTM1ZDExOWIzIn0.eyJhdWQiOiIwZDY0ZGZmYi1lNTRiLTQ0OGYtOWZiZi1iYWYyMjUxYTExZGIiLCJqdGkiOiIzNjIxYTUxNjg4ZTU2Njc0ZDQ2ZWU3NmVlNTBmN2NmZGUzNTUyZjUxOGQ1MGQyZjk1ZTRmMTVlZWJlNzAwYjIwMGI0ZTdmZmUzNWQxMTliMyIsImlhdCI6MTc5MjQ3NjU0NCwibmJmIjoxNzkyNDc2NTQ0LCJleHAiOjE3OTI1NjI5NDQsInN1YiI6IjI5MzAzODAiLCJncmFudF90eXBlIjoiIiwiYWNjb3VudF9pZCI6MjI2OTk4NTIsImJhc2VfZG9tYWluIjoiYW1vY3JtLnJ1IiwidmVyc2lvbiI6Miwic2NvcGVzIjpbInB1c2hfbm90aWZpY2F0aW9ucyIsImNybSIsIm5vdGlmaWNhdGlvbnMiXSwiaGFzaF91dWlkIjoiOWE3NWEwYzQtZGMzOC00MzhmLTg2NmEtMWIxZWIwNzYyNjZlIiwiYXBpX2RvbWFpbiI6ImFwaS1iLmFtb2NybS5ydSJ9.qehz4h7sbmBOqc2WoRpnMDr7JDLCNhcyFK0dk2J1kdkNQ8gzqB35VS6EgeS4v5Q5O1O4SRNKFuSvIB-5lrCv0q7Dg5SRiRmxfG_vqqg5R4YK67own5xWhW6vEVSS1aPH1pxSeqCA7qhMFyAxz9Dsrm1tVt15o4ePIGLpWrlkjvoVCpMvsvSCZ9y1LdI_UF9ZhUW9SGQwuyhIzqQdEbmlmNnqHf8yd6roK6IOhluPISHsMmRWJBAThQQ-Z6IwXvU9t9uDb35rSe9xH0RCb_GrrWAvWtVEKh_qCbOvFlY1pfSMFm_w-smIYAdeBGxKrGW4Xd2scXU7XXH6BgpXaAB4uw\"})","file":"/home/ytvmclwh/document.amocrm.md/src/Models/Docs.php","line":121} {"uid":"cc0581a"}
[2026-10-20 12:17:54] docflow.DEBUG: AmoDrive docflow context request {"url":"https://google.emale.uno/api/docflow/google-context","query":{"account_id":"22699852","entity_id":"42885541","entity_type":"leads"}} {"uid":"cc0581a"}
[2026-10-20 12:17:54] 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=42885541&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/20 12:17:54</td>\r\n</tr>\r\n</table>\r\n<hr><center>tengine</center>\r\n</body>\r\n</html>\r\n"} {"uid":"cc0581a"}
[2026-10-20 12:17:54] docflow.DEBUG: AmoDrive docflow context request {"url":"https://gd.glucose-dev.online/api/docflow/google-context","query":{"account_id":"22699852","entity_id":"42885541","entity_type":"leads"}} {"uid":"cc0581a"}
[2026-10-20 12:17:54] 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":"42885541","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":305,"isLifetime":false},"licenseActive":false,"googleConnected":false,"googleEmail":null,"googleHasDriveScope":false,"googleHasDriveFileScope":false,"googleHasOwnershipScope":false,"readyForGeneratedFileMove":false,"readyForTransfer":false},"folder":{"id":"1mLyz8Uo2P8NY79AgHWG0ZwwywJhkUbt4","name":"42885541 - Lead #42885541","webViewLink":"https://drive.google.com/drive/folders/1mLyz8Uo2P8NY79AgHWG0ZwwywJhkUbt4"}}} {"uid":"cc0581a"}
[2026-10-20 12:17:54] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://google.emale.uno/api/docflow/prepare-generated-doc","payload":{"account_id":"22699852","entity_id":"42885541","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"cc0581a"}
[2026-10-20 12:17:54] 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/20 12:17:54</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":"42885541","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"cc0581a"}
[2026-10-20 12:17:54] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://gd.glucose-dev.online/api/docflow/prepare-generated-doc","payload":{"account_id":"22699852","entity_id":"42885541","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"cc0581a"}
[2026-10-20 12:17:54] 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":"42885541","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"cc0581a"}
[2026-10-20 12:17:54] 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 1297 20261020121754\",\"leadId\":\"42885541\",\"entities\":{\"\\u0441\\u0434\\u0435\\u043b\\u043a\\u0430\":{\"Brand\":\"Emigrare.md\",\"Manager front office\":\"Cezara Cenusa\",\"Nota SQL\":\"1\",\"\\u041b\\u041f\\u0420\":\"0\",\"\\u041e\\u0441\\u043e\\u0437\\u043d\\u0430\\u043d\\u043d\\u0430\\u044f \\u043f\\u043e\\u0442\\u0440\\u0435\\u0431\\u043d\\u043e\\u0441\\u0442\\u044c\":\"0\",\"\\u0414\\u043e\\u0432\\u0435\\u0440\\u0438\\u0435\":\"0\",\"\\u0424\\u0438\\u043d. \\u0432\\u043e\\u0437\\u043c\\u043e\\u0436\\u043d\\u043e\\u0441\\u0442\\u044c\":\"0\",\"\\u041c\\u043e\\u0442\\u0438\\u0432\\u0430\\u0446\\u0438\\u044f \\u043a\\u0443\\u043f\\u0438\\u0442\\u044c \\u0437\\u0434\\u0435\\u0441\\u044c \\u0438 \\u0441\\u0435\\u0439\\u0447\\u0430\\u0441\":\"0\",\"Nota Consultatie Efectuata\":\"1\",\"Suma \\u20ac\":\"0\",\"#Manager Front\":\"Cezara Cenusa\",\"Urm\\u0103torul contact\":\"2026-10-20 12:13:00\",\"Mod achitare\":\"Transfer firm\\u0103\",\"Suma avans\":\"350\",\"ID\":\"42885541\",\"\\u0421\\u0434\\u0435\\u043b\\u043a\\u0430_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"\\u0410\\u0432\\u0442\\u043e\\u0441\\u0434\\u0435\\u043b\\u043a\\u0430: PS\",\"Lead_name\":\"\\u0410\\u0432\\u0442\\u043e\\u0441\\u0434\\u0435\\u043b\\u043a\\u0430: PS\",\"\\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\":{\"Brand\":\"Emigrare.md\",\"Manager front office\":\"Cezara Cenusa\",\"Nota SQL\":\"1\",\"\\u041b\\u041f\\u0420\":\"0\",\"\\u041e\\u0441\\u043e\\u0437\\u043d\\u0430\\u043d\\u043d\\u0430\\u044f \\u043f\\u043e\\u0442\\u0440\\u0435\\u0431\\u043d\\u043e\\u0441\\u0442\\u044c\":\"0\",\"\\u0414\\u043e\\u0432\\u0435\\u0440\\u0438\\u0435\":\"0\",\"\\u0424\\u0438\\u043d. \\u0432\\u043e\\u0437\\u043c\\u043e\\u0436\\u043d\\u043e\\u0441\\u0442\\u044c\":\"0\",\"\\u041c\\u043e\\u0442\\u0438\\u0432\\u0430\\u0446\\u0438\\u044f \\u043a\\u0443\\u043f\\u0438\\u0442\\u044c \\u0437\\u0434\\u0435\\u0441\\u044c \\u0438 \\u0441\\u0435\\u0439\\u0447\\u0430\\u0441\":\"0\",\"Nota Consultatie Efectuata\":\"1\",\"Suma \\u20ac\":\"0\",\"#Manager Front\":\"Cezara Cenusa\",\"Urm\\u0103torul contact\":\"2026-10-20 12:13:00\",\"Mod achitare\":\"Transfer firm\\u0103\",\"Suma avans\":\"350\",\"ID\":\"42885541\",\"\\u0421\\u0434\\u0435\\u043b\\u043a\\u0430_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"\\u0410\\u0432\\u0442\\u043e\\u0441\\u0434\\u0435\\u043b\\u043a\\u0430: PS\",\"Lead_name\":\"\\u0410\\u0432\\u0442\\u043e\\u0441\\u0434\\u0435\\u043b\\u043a\\u0430: PS\",\"\\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\":\"+37379749627\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Repede Cristina\",\"Contact_name\":\"Repede Cristina\",\"\\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\":\"+37379749627\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Repede Cristina\",\"Contact_name\":\"Repede Cristina\",\"\\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\":\"+37379749627\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Repede Cristina\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"Cezara Cenusa\"}],\"\\u0434\\u043e\\u043a\\u0443\\u043c\\u0435\\u043d\\u0442\":{\"\\u0414\\u0430\\u0442\\u0430\":\"20.10.2026\",\"\\u041d\\u043e\\u043c\\u0435\\u0440\":\"1297\"},\"document\":{\"Date\":\"20.10.2026\",\"Number\":\"1297\"}}}","edit":true}} {"uid":"cc0581a"}
[2026-10-20 12:18:08] docflow.DEBUG: GAS raw response {"raw":"[object] (stdClass: {\"code\":1,\"url\":\"https://docs.google.com/open?id=1IbFR4SagYTQI6xl3LAbXvg8jmlR3gFBpptzx9KiVoMY\",\"file_id\":\"1IbFR4SagYTQI6xl3LAbXvg8jmlR3gFBpptzx9KiVoMY\",\"error\":\"\",\"vars\":\"\"})"} {"uid":"cc0581a"}
[2026-10-20 12:18:08] docflow.WARNING: AmoDrive generated-file move is not ready. {"fileId":"1IbFR4SagYTQI6xl3LAbXvg8jmlR3gFBpptzx9KiVoMY","context":null} {"uid":"cc0581a"}
[2026-10-20 12:18:20] docflow.INFO: Apel createDoc {"data":{"amoAccountId":"22699852","amoUserId":null,"amoEntityId":"42885541","amoEntityType":"2","templateId":"11500","corporateEntityId":"","settlementAccountId":"","is_signed":null,"gdi":null,"number":null,"currentAmoUserId":null,"lang":"ru"}} {"uid":"d704239"}
[2026-10-20 12:18:21] docflow.INFO: Token is valid for account 22699852. [] {"uid":"d704239"}
[2026-10-20 12:18:21] docflow.DEBUG: getClientAuth returned {"auth":"[object] (stdClass: {\"domain\":\"emigrare.amocrm.ru\",\"access_token\":\"eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImp0aSI6IjM2MjFhNTE2ODhlNTY2NzRkNDZlZTc2ZWU1MGY3Y2ZkZTM1NTJmNTE4ZDUwZDJmOTVlNGYxNWVlYmU3MDBiMjAwYjRlN2ZmZTM1ZDExOWIzIn0.eyJhdWQiOiIwZDY0ZGZmYi1lNTRiLTQ0OGYtOWZiZi1iYWYyMjUxYTExZGIiLCJqdGkiOiIzNjIxYTUxNjg4ZTU2Njc0ZDQ2ZWU3NmVlNTBmN2NmZGUzNTUyZjUxOGQ1MGQyZjk1ZTRmMTVlZWJlNzAwYjIwMGI0ZTdmZmUzNWQxMTliMyIsImlhdCI6MTc5MjQ3NjU0NCwibmJmIjoxNzkyNDc2NTQ0LCJleHAiOjE3OTI1NjI5NDQsInN1YiI6IjI5MzAzODAiLCJncmFudF90eXBlIjoiIiwiYWNjb3VudF9pZCI6MjI2OTk4NTIsImJhc2VfZG9tYWluIjoiYW1vY3JtLnJ1IiwidmVyc2lvbiI6Miwic2NvcGVzIjpbInB1c2hfbm90aWZpY2F0aW9ucyIsImNybSIsIm5vdGlmaWNhdGlvbnMiXSwiaGFzaF91dWlkIjoiOWE3NWEwYzQtZGMzOC00MzhmLTg2NmEtMWIxZWIwNzYyNjZlIiwiYXBpX2RvbWFpbiI6ImFwaS1iLmFtb2NybS5ydSJ9.qehz4h7sbmBOqc2WoRpnMDr7JDLCNhcyFK0dk2J1kdkNQ8gzqB35VS6EgeS4v5Q5O1O4SRNKFuSvIB-5lrCv0q7Dg5SRiRmxfG_vqqg5R4YK67own5xWhW6vEVSS1aPH1pxSeqCA7qhMFyAxz9Dsrm1tVt15o4ePIGLpWrlkjvoVCpMvsvSCZ9y1LdI_UF9ZhUW9SGQwuyhIzqQdEbmlmNnqHf8yd6roK6IOhluPISHsMmRWJBAThQQ-Z6IwXvU9t9uDb35rSe9xH0RCb_GrrWAvWtVEKh_qCbOvFlY1pfSMFm_w-smIYAdeBGxKrGW4Xd2scXU7XXH6BgpXaAB4uw\"})","file":"/home/ytvmclwh/document.amocrm.md/src/Models/Docs.php","line":121} {"uid":"d704239"}
[2026-10-20 12:18:25] docflow.DEBUG: AmoDrive docflow context request {"url":"https://google.emale.uno/api/docflow/google-context","query":{"account_id":"22699852","entity_id":"42885541","entity_type":"leads"}} {"uid":"d704239"}
[2026-10-20 12:18: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=42885541&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/20 12:18:25</td>\r\n</tr>\r\n</table>\r\n<hr><center>tengine</center>\r\n</body>\r\n</html>\r\n"} {"uid":"d704239"}
[2026-10-20 12:18:25] docflow.DEBUG: AmoDrive docflow context request {"url":"https://gd.glucose-dev.online/api/docflow/google-context","query":{"account_id":"22699852","entity_id":"42885541","entity_type":"leads"}} {"uid":"d704239"}
[2026-10-20 12:18: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":"42885541","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":305,"isLifetime":false},"licenseActive":false,"googleConnected":false,"googleEmail":null,"googleHasDriveScope":false,"googleHasDriveFileScope":false,"googleHasOwnershipScope":false,"readyForGeneratedFileMove":false,"readyForTransfer":false},"folder":{"id":"1mLyz8Uo2P8NY79AgHWG0ZwwywJhkUbt4","name":"42885541 - Lead #42885541","webViewLink":"https://drive.google.com/drive/folders/1mLyz8Uo2P8NY79AgHWG0ZwwywJhkUbt4"}}} {"uid":"d704239"}
[2026-10-20 12:18:25] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://google.emale.uno/api/docflow/prepare-generated-doc","payload":{"account_id":"22699852","entity_id":"42885541","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"d704239"}
[2026-10-20 12:18: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/20 12:18: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":"42885541","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"d704239"}
[2026-10-20 12:18: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":"42885541","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"d704239"}
[2026-10-20 12:18: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":"42885541","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"d704239"}
[2026-10-20 12:18:25] 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 726 20261020121825\",\"leadId\":\"42885541\",\"entities\":{\"\\u0441\\u0434\\u0435\\u043b\\u043a\\u0430\":{\"Brand\":\"Emigrare.md\",\"Manager front office\":\"Cezara Cenusa\",\"Nota SQL\":\"1\",\"\\u041b\\u041f\\u0420\":\"0\",\"\\u041e\\u0441\\u043e\\u0437\\u043d\\u0430\\u043d\\u043d\\u0430\\u044f \\u043f\\u043e\\u0442\\u0440\\u0435\\u0431\\u043d\\u043e\\u0441\\u0442\\u044c\":\"0\",\"\\u0414\\u043e\\u0432\\u0435\\u0440\\u0438\\u0435\":\"0\",\"\\u0424\\u0438\\u043d. \\u0432\\u043e\\u0437\\u043c\\u043e\\u0436\\u043d\\u043e\\u0441\\u0442\\u044c\":\"0\",\"\\u041c\\u043e\\u0442\\u0438\\u0432\\u0430\\u0446\\u0438\\u044f \\u043a\\u0443\\u043f\\u0438\\u0442\\u044c \\u0437\\u0434\\u0435\\u0441\\u044c \\u0438 \\u0441\\u0435\\u0439\\u0447\\u0430\\u0441\":\"0\",\"Nota Consultatie Efectuata\":\"1\",\"Suma \\u20ac\":\"0\",\"#Manager Front\":\"Cezara Cenusa\",\"Urm\\u0103torul contact\":\"2026-10-20 12:13:00\",\"Mod achitare\":\"Transfer firm\\u0103\",\"Suma avans\":\"350\",\"Manager Juridic\":\"Dascal Anatolie\",\"#Manager Jurist\":\"Dascal Anatolie\",\"ID\":\"42885541\",\"\\u0421\\u0434\\u0435\\u043b\\u043a\\u0430_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"\\u0410\\u0432\\u0442\\u043e\\u0441\\u0434\\u0435\\u043b\\u043a\\u0430: PS\",\"Lead_name\":\"\\u0410\\u0432\\u0442\\u043e\\u0441\\u0434\\u0435\\u043b\\u043a\\u0430: PS\",\"\\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\":{\"Brand\":\"Emigrare.md\",\"Manager front office\":\"Cezara Cenusa\",\"Nota SQL\":\"1\",\"\\u041b\\u041f\\u0420\":\"0\",\"\\u041e\\u0441\\u043e\\u0437\\u043d\\u0430\\u043d\\u043d\\u0430\\u044f \\u043f\\u043e\\u0442\\u0440\\u0435\\u0431\\u043d\\u043e\\u0441\\u0442\\u044c\":\"0\",\"\\u0414\\u043e\\u0432\\u0435\\u0440\\u0438\\u0435\":\"0\",\"\\u0424\\u0438\\u043d. \\u0432\\u043e\\u0437\\u043c\\u043e\\u0436\\u043d\\u043e\\u0441\\u0442\\u044c\":\"0\",\"\\u041c\\u043e\\u0442\\u0438\\u0432\\u0430\\u0446\\u0438\\u044f \\u043a\\u0443\\u043f\\u0438\\u0442\\u044c \\u0437\\u0434\\u0435\\u0441\\u044c \\u0438 \\u0441\\u0435\\u0439\\u0447\\u0430\\u0441\":\"0\",\"Nota Consultatie Efectuata\":\"1\",\"Suma \\u20ac\":\"0\",\"#Manager Front\":\"Cezara Cenusa\",\"Urm\\u0103torul contact\":\"2026-10-20 12:13:00\",\"Mod achitare\":\"Transfer firm\\u0103\",\"Suma avans\":\"350\",\"Manager Juridic\":\"Dascal Anatolie\",\"#Manager Jurist\":\"Dascal Anatolie\",\"ID\":\"42885541\",\"\\u0421\\u0434\\u0435\\u043b\\u043a\\u0430_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"\\u0410\\u0432\\u0442\\u043e\\u0441\\u0434\\u0435\\u043b\\u043a\\u0430: PS\",\"Lead_name\":\"\\u0410\\u0432\\u0442\\u043e\\u0441\\u0434\\u0435\\u043b\\u043a\\u0430: PS\",\"\\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\":\"+37379749627\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Repede Cristina\",\"Contact_name\":\"Repede Cristina\",\"\\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\":\"+37379749627\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Repede Cristina\",\"Contact_name\":\"Repede Cristina\",\"\\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\":\"+37379749627\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Repede Cristina\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"Cezara Cenusa\"}],\"\\u0434\\u043e\\u043a\\u0443\\u043c\\u0435\\u043d\\u0442\":{\"\\u0414\\u0430\\u0442\\u0430\":\"20.10.2026\",\"\\u041d\\u043e\\u043c\\u0435\\u0440\":\"726\"},\"document\":{\"Date\":\"20.10.2026\",\"Number\":\"726\"}}}","edit":true}} {"uid":"d704239"}
[2026-10-20 12:18:31] docflow.DEBUG: GAS raw response {"raw":"[object] (stdClass: {\"code\":1,\"url\":\"https://docs.google.com/open?id=1HmBeD3jsr-eJvGzxBl_xz49E2rXcaG3hT0qav6fpJcs\",\"file_id\":\"1HmBeD3jsr-eJvGzxBl_xz49E2rXcaG3hT0qav6fpJcs\",\"error\":\"\",\"vars\":\"\"})"} {"uid":"d704239"}
[2026-10-20 12:18:31] docflow.WARNING: AmoDrive generated-file move is not ready. {"fileId":"1HmBeD3jsr-eJvGzxBl_xz49E2rXcaG3hT0qav6fpJcs","context":null} {"uid":"d704239"}
[2026-10-20 12:18:51] docflow.INFO: Apel createDoc {"data":{"amoAccountId":"22699852","amoUserId":null,"amoEntityId":"42885541","amoEntityType":"2","templateId":"11504","corporateEntityId":"","settlementAccountId":"","is_signed":null,"gdi":null,"number":null,"currentAmoUserId":null,"lang":"ru"}} {"uid":"642388a"}
[2026-10-20 12:18:52] docflow.INFO: Token is valid for account 22699852. [] {"uid":"642388a"}
[2026-10-20 12:18:52] docflow.DEBUG: getClientAuth returned {"auth":"[object] (stdClass: {\"domain\":\"emigrare.amocrm.ru\",\"access_token\":\"eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImp0aSI6IjM2MjFhNTE2ODhlNTY2NzRkNDZlZTc2ZWU1MGY3Y2ZkZTM1NTJmNTE4ZDUwZDJmOTVlNGYxNWVlYmU3MDBiMjAwYjRlN2ZmZTM1ZDExOWIzIn0.eyJhdWQiOiIwZDY0ZGZmYi1lNTRiLTQ0OGYtOWZiZi1iYWYyMjUxYTExZGIiLCJqdGkiOiIzNjIxYTUxNjg4ZTU2Njc0ZDQ2ZWU3NmVlNTBmN2NmZGUzNTUyZjUxOGQ1MGQyZjk1ZTRmMTVlZWJlNzAwYjIwMGI0ZTdmZmUzNWQxMTliMyIsImlhdCI6MTc5MjQ3NjU0NCwibmJmIjoxNzkyNDc2NTQ0LCJleHAiOjE3OTI1NjI5NDQsInN1YiI6IjI5MzAzODAiLCJncmFudF90eXBlIjoiIiwiYWNjb3VudF9pZCI6MjI2OTk4NTIsImJhc2VfZG9tYWluIjoiYW1vY3JtLnJ1IiwidmVyc2lvbiI6Miwic2NvcGVzIjpbInB1c2hfbm90aWZpY2F0aW9ucyIsImNybSIsIm5vdGlmaWNhdGlvbnMiXSwiaGFzaF91dWlkIjoiOWE3NWEwYzQtZGMzOC00MzhmLTg2NmEtMWIxZWIwNzYyNjZlIiwiYXBpX2RvbWFpbiI6ImFwaS1iLmFtb2NybS5ydSJ9.qehz4h7sbmBOqc2WoRpnMDr7JDLCNhcyFK0dk2J1kdkNQ8gzqB35VS6EgeS4v5Q5O1O4SRNKFuSvIB-5lrCv0q7Dg5SRiRmxfG_vqqg5R4YK67own5xWhW6vEVSS1aPH1pxSeqCA7qhMFyAxz9Dsrm1tVt15o4ePIGLpWrlkjvoVCpMvsvSCZ9y1LdI_UF9ZhUW9SGQwuyhIzqQdEbmlmNnqHf8yd6roK6IOhluPISHsMmRWJBAThQQ-Z6IwXvU9t9uDb35rSe9xH0RCb_GrrWAvWtVEKh_qCbOvFlY1pfSMFm_w-smIYAdeBGxKrGW4Xd2scXU7XXH6BgpXaAB4uw\"})","file":"/home/ytvmclwh/document.amocrm.md/src/Models/Docs.php","line":121} {"uid":"642388a"}
[2026-10-20 12:18:55] docflow.DEBUG: AmoDrive docflow context request {"url":"https://google.emale.uno/api/docflow/google-context","query":{"account_id":"22699852","entity_id":"42885541","entity_type":"leads"}} {"uid":"642388a"}
[2026-10-20 12:18:55] 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=42885541&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/20 12:18:55</td>\r\n</tr>\r\n</table>\r\n<hr><center>tengine</center>\r\n</body>\r\n</html>\r\n"} {"uid":"642388a"}
[2026-10-20 12:18:55] docflow.DEBUG: AmoDrive docflow context request {"url":"https://gd.glucose-dev.online/api/docflow/google-context","query":{"account_id":"22699852","entity_id":"42885541","entity_type":"leads"}} {"uid":"642388a"}
[2026-10-20 12:18:55] 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":"42885541","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":305,"isLifetime":false},"licenseActive":false,"googleConnected":false,"googleEmail":null,"googleHasDriveScope":false,"googleHasDriveFileScope":false,"googleHasOwnershipScope":false,"readyForGeneratedFileMove":false,"readyForTransfer":false},"folder":{"id":"1mLyz8Uo2P8NY79AgHWG0ZwwywJhkUbt4","name":"42885541 - Lead #42885541","webViewLink":"https://drive.google.com/drive/folders/1mLyz8Uo2P8NY79AgHWG0ZwwywJhkUbt4"}}} {"uid":"642388a"}
[2026-10-20 12:18:55] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://google.emale.uno/api/docflow/prepare-generated-doc","payload":{"account_id":"22699852","entity_id":"42885541","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"642388a"}
[2026-10-20 12:18:55] 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/20 12:18:55</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":"42885541","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"642388a"}
[2026-10-20 12:18:55] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://gd.glucose-dev.online/api/docflow/prepare-generated-doc","payload":{"account_id":"22699852","entity_id":"42885541","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"642388a"}
[2026-10-20 12:18:55] 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":"42885541","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"642388a"}
[2026-10-20 12:18:55] 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) 103 20261020121855\",\"leadId\":\"42885541\",\"entities\":{\"\\u0441\\u0434\\u0435\\u043b\\u043a\\u0430\":{\"Brand\":\"Emigrare.md\",\"Manager front office\":\"Cezara Cenusa\",\"Nota SQL\":\"1\",\"\\u041b\\u041f\\u0420\":\"0\",\"\\u041e\\u0441\\u043e\\u0437\\u043d\\u0430\\u043d\\u043d\\u0430\\u044f \\u043f\\u043e\\u0442\\u0440\\u0435\\u0431\\u043d\\u043e\\u0441\\u0442\\u044c\":\"0\",\"\\u0414\\u043e\\u0432\\u0435\\u0440\\u0438\\u0435\":\"0\",\"\\u0424\\u0438\\u043d. \\u0432\\u043e\\u0437\\u043c\\u043e\\u0436\\u043d\\u043e\\u0441\\u0442\\u044c\":\"0\",\"\\u041c\\u043e\\u0442\\u0438\\u0432\\u0430\\u0446\\u0438\\u044f \\u043a\\u0443\\u043f\\u0438\\u0442\\u044c \\u0437\\u0434\\u0435\\u0441\\u044c \\u0438 \\u0441\\u0435\\u0439\\u0447\\u0430\\u0441\":\"0\",\"Nota Consultatie Efectuata\":\"1\",\"Suma \\u20ac\":\"0\",\"#Manager Front\":\"Cezara Cenusa\",\"Urm\\u0103torul contact\":\"2026-10-20 12:13:00\",\"Mod achitare\":\"Transfer firm\\u0103\",\"Suma avans\":\"350\",\"Manager Juridic\":\"Dascal Anatolie\",\"#Manager Jurist\":\"Dascal Anatolie\",\"ID\":\"42885541\",\"\\u0421\\u0434\\u0435\\u043b\\u043a\\u0430_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"\\u0410\\u0432\\u0442\\u043e\\u0441\\u0434\\u0435\\u043b\\u043a\\u0430: PS\",\"Lead_name\":\"\\u0410\\u0432\\u0442\\u043e\\u0441\\u0434\\u0435\\u043b\\u043a\\u0430: PS\",\"\\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\":{\"Brand\":\"Emigrare.md\",\"Manager front office\":\"Cezara Cenusa\",\"Nota SQL\":\"1\",\"\\u041b\\u041f\\u0420\":\"0\",\"\\u041e\\u0441\\u043e\\u0437\\u043d\\u0430\\u043d\\u043d\\u0430\\u044f \\u043f\\u043e\\u0442\\u0440\\u0435\\u0431\\u043d\\u043e\\u0441\\u0442\\u044c\":\"0\",\"\\u0414\\u043e\\u0432\\u0435\\u0440\\u0438\\u0435\":\"0\",\"\\u0424\\u0438\\u043d. \\u0432\\u043e\\u0437\\u043c\\u043e\\u0436\\u043d\\u043e\\u0441\\u0442\\u044c\":\"0\",\"\\u041c\\u043e\\u0442\\u0438\\u0432\\u0430\\u0446\\u0438\\u044f \\u043a\\u0443\\u043f\\u0438\\u0442\\u044c \\u0437\\u0434\\u0435\\u0441\\u044c \\u0438 \\u0441\\u0435\\u0439\\u0447\\u0430\\u0441\":\"0\",\"Nota Consultatie Efectuata\":\"1\",\"Suma \\u20ac\":\"0\",\"#Manager Front\":\"Cezara Cenusa\",\"Urm\\u0103torul contact\":\"2026-10-20 12:13:00\",\"Mod achitare\":\"Transfer firm\\u0103\",\"Suma avans\":\"350\",\"Manager Juridic\":\"Dascal Anatolie\",\"#Manager Jurist\":\"Dascal Anatolie\",\"ID\":\"42885541\",\"\\u0421\\u0434\\u0435\\u043b\\u043a\\u0430_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"\\u0410\\u0432\\u0442\\u043e\\u0441\\u0434\\u0435\\u043b\\u043a\\u0430: PS\",\"Lead_name\":\"\\u0410\\u0432\\u0442\\u043e\\u0441\\u0434\\u0435\\u043b\\u043a\\u0430: PS\",\"\\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\":\"+37379749627\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Repede Cristina\",\"Contact_name\":\"Repede Cristina\",\"\\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\":\"+37379749627\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Repede Cristina\",\"Contact_name\":\"Repede Cristina\",\"\\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\":\"+37379749627\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Repede Cristina\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"Cezara Cenusa\"}],\"\\u0434\\u043e\\u043a\\u0443\\u043c\\u0435\\u043d\\u0442\":{\"\\u0414\\u0430\\u0442\\u0430\":\"20.10.2026\",\"\\u041d\\u043e\\u043c\\u0435\\u0440\":\"103\"},\"document\":{\"Date\":\"20.10.2026\",\"Number\":\"103\"}}}","edit":true}} {"uid":"642388a"}
[2026-10-20 12:19:01] docflow.DEBUG: GAS raw response {"raw":"[object] (stdClass: {\"code\":1,\"url\":\"https://docs.google.com/open?id=1tokgSLJ7KNTF3Ja-7ob2Y0YuaETUrL6dgbi7QC25uls\",\"file_id\":\"1tokgSLJ7KNTF3Ja-7ob2Y0YuaETUrL6dgbi7QC25uls\",\"error\":\"\",\"vars\":\"\"})"} {"uid":"642388a"}
[2026-10-20 12:19:01] docflow.WARNING: AmoDrive generated-file move is not ready. {"fileId":"1tokgSLJ7KNTF3Ja-7ob2Y0YuaETUrL6dgbi7QC25uls","context":null} {"uid":"642388a"}
[2026-10-20 12:22:56] docflow.INFO: Apel createDoc {"data":{"amoAccountId":"22699852","amoUserId":null,"amoEntityId":"42885541","amoEntityType":"2","templateId":"11484","corporateEntityId":"","settlementAccountId":"","is_signed":null,"gdi":null,"number":null,"currentAmoUserId":null,"lang":"ru"}} {"uid":"3983fde"}
[2026-10-20 12:22:57] docflow.INFO: Token is valid for account 22699852. [] {"uid":"3983fde"}
[2026-10-20 12:22:57] docflow.DEBUG: getClientAuth returned {"auth":"[object] (stdClass: {\"domain\":\"emigrare.amocrm.ru\",\"access_token\":\"eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImp0aSI6IjM2MjFhNTE2ODhlNTY2NzRkNDZlZTc2ZWU1MGY3Y2ZkZTM1NTJmNTE4ZDUwZDJmOTVlNGYxNWVlYmU3MDBiMjAwYjRlN2ZmZTM1ZDExOWIzIn0.eyJhdWQiOiIwZDY0ZGZmYi1lNTRiLTQ0OGYtOWZiZi1iYWYyMjUxYTExZGIiLCJqdGkiOiIzNjIxYTUxNjg4ZTU2Njc0ZDQ2ZWU3NmVlNTBmN2NmZGUzNTUyZjUxOGQ1MGQyZjk1ZTRmMTVlZWJlNzAwYjIwMGI0ZTdmZmUzNWQxMTliMyIsImlhdCI6MTc5MjQ3NjU0NCwibmJmIjoxNzkyNDc2NTQ0LCJleHAiOjE3OTI1NjI5NDQsInN1YiI6IjI5MzAzODAiLCJncmFudF90eXBlIjoiIiwiYWNjb3VudF9pZCI6MjI2OTk4NTIsImJhc2VfZG9tYWluIjoiYW1vY3JtLnJ1IiwidmVyc2lvbiI6Miwic2NvcGVzIjpbInB1c2hfbm90aWZpY2F0aW9ucyIsImNybSIsIm5vdGlmaWNhdGlvbnMiXSwiaGFzaF91dWlkIjoiOWE3NWEwYzQtZGMzOC00MzhmLTg2NmEtMWIxZWIwNzYyNjZlIiwiYXBpX2RvbWFpbiI6ImFwaS1iLmFtb2NybS5ydSJ9.qehz4h7sbmBOqc2WoRpnMDr7JDLCNhcyFK0dk2J1kdkNQ8gzqB35VS6EgeS4v5Q5O1O4SRNKFuSvIB-5lrCv0q7Dg5SRiRmxfG_vqqg5R4YK67own5xWhW6vEVSS1aPH1pxSeqCA7qhMFyAxz9Dsrm1tVt15o4ePIGLpWrlkjvoVCpMvsvSCZ9y1LdI_UF9ZhUW9SGQwuyhIzqQdEbmlmNnqHf8yd6roK6IOhluPISHsMmRWJBAThQQ-Z6IwXvU9t9uDb35rSe9xH0RCb_GrrWAvWtVEKh_qCbOvFlY1pfSMFm_w-smIYAdeBGxKrGW4Xd2scXU7XXH6BgpXaAB4uw\"})","file":"/home/ytvmclwh/document.amocrm.md/src/Models/Docs.php","line":121} {"uid":"3983fde"}
[2026-10-20 12:22:59] docflow.DEBUG: AmoDrive docflow context request {"url":"https://google.emale.uno/api/docflow/google-context","query":{"account_id":"22699852","entity_id":"42885541","entity_type":"leads"}} {"uid":"3983fde"}
[2026-10-20 12:23: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=22699852&amp;entity_id=42885541&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/20 12:23:00</td>\r\n</tr>\r\n</table>\r\n<hr><center>tengine</center>\r\n</body>\r\n</html>\r\n"} {"uid":"3983fde"}
[2026-10-20 12:23:00] docflow.DEBUG: AmoDrive docflow context request {"url":"https://gd.glucose-dev.online/api/docflow/google-context","query":{"account_id":"22699852","entity_id":"42885541","entity_type":"leads"}} {"uid":"3983fde"}
[2026-10-20 12:23: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":22699852,"entityId":"42885541","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":305,"isLifetime":false},"licenseActive":false,"googleConnected":false,"googleEmail":null,"googleHasDriveScope":false,"googleHasDriveFileScope":false,"googleHasOwnershipScope":false,"readyForGeneratedFileMove":false,"readyForTransfer":false},"folder":{"id":"1mLyz8Uo2P8NY79AgHWG0ZwwywJhkUbt4","name":"42885541 - Lead #42885541","webViewLink":"https://drive.google.com/drive/folders/1mLyz8Uo2P8NY79AgHWG0ZwwywJhkUbt4"}}} {"uid":"3983fde"}
[2026-10-20 12:23:00] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://google.emale.uno/api/docflow/prepare-generated-doc","payload":{"account_id":"22699852","entity_id":"42885541","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"3983fde"}
[2026-10-20 12:23: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/20 12:23:00</td>\r\n</tr>\r\n</table>\r\n<hr><center>tengine</center>\r\n</body>\r\n</html>\r\n","payload":{"account_id":"22699852","entity_id":"42885541","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"3983fde"}
[2026-10-20 12:23:00] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://gd.glucose-dev.online/api/docflow/prepare-generated-doc","payload":{"account_id":"22699852","entity_id":"42885541","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"3983fde"}
[2026-10-20 12:23: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\":22699852})","payload":{"account_id":"22699852","entity_id":"42885541","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"3983fde"}
[2026-10-20 12:23:00] docflow.DEBUG: GAS request {"url":"https://script.google.com/macros/s/AKfycbwrvOJD46zkuoTzdhpc1kulhV8jRfgQBFZfQ121nkIip_k8yKit4xrbWTOzaJ-C-Yed6w/exec","body":{"templateFileId":"1Dq2kaNUB1wMt7fRlggu4aCHqJdBiDmrUIK8fJ9NHVNo","accountId":"22699852","folderId":"1Us2AfskxgdA729xVr0F2vjZU9y5PlYDe","key":"~VTsK5dcnHc2cSSsjM$LFSjLlgbmJXwrp3R2P5nd","data":"{\"fileName\":\"PS 952 20261020122259\",\"leadId\":\"42885541\",\"entities\":{\"\\u0441\\u0434\\u0435\\u043b\\u043a\\u0430\":{\"Brand\":\"Emigrare.md\",\"Manager front office\":\"Cezara Cenusa\",\"Nota SQL\":\"1\",\"\\u041b\\u041f\\u0420\":\"0\",\"\\u041e\\u0441\\u043e\\u0437\\u043d\\u0430\\u043d\\u043d\\u0430\\u044f \\u043f\\u043e\\u0442\\u0440\\u0435\\u0431\\u043d\\u043e\\u0441\\u0442\\u044c\":\"0\",\"\\u0414\\u043e\\u0432\\u0435\\u0440\\u0438\\u0435\":\"0\",\"\\u0424\\u0438\\u043d. \\u0432\\u043e\\u0437\\u043c\\u043e\\u0436\\u043d\\u043e\\u0441\\u0442\\u044c\":\"0\",\"\\u041c\\u043e\\u0442\\u0438\\u0432\\u0430\\u0446\\u0438\\u044f \\u043a\\u0443\\u043f\\u0438\\u0442\\u044c \\u0437\\u0434\\u0435\\u0441\\u044c \\u0438 \\u0441\\u0435\\u0439\\u0447\\u0430\\u0441\":\"0\",\"Nota Consultatie Efectuata\":\"1\",\"Suma \\u20ac\":\"0\",\"#Manager Front\":\"Cezara Cenusa\",\"Urm\\u0103torul contact\":\"2026-10-20 12:13:00\",\"Mod achitare\":\"Transfer firm\\u0103\",\"Suma avans\":\"350\",\"Manager Juridic\":\"Dascal Anatolie\",\"#Manager Jurist\":\"Dascal Anatolie\",\"ID\":\"42885541\",\"\\u0421\\u0434\\u0435\\u043b\\u043a\\u0430_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"invita\\u021bie PS\",\"Lead_name\":\"invita\\u021bie PS\",\"\\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\":{\"Brand\":\"Emigrare.md\",\"Manager front office\":\"Cezara Cenusa\",\"Nota SQL\":\"1\",\"\\u041b\\u041f\\u0420\":\"0\",\"\\u041e\\u0441\\u043e\\u0437\\u043d\\u0430\\u043d\\u043d\\u0430\\u044f \\u043f\\u043e\\u0442\\u0440\\u0435\\u0431\\u043d\\u043e\\u0441\\u0442\\u044c\":\"0\",\"\\u0414\\u043e\\u0432\\u0435\\u0440\\u0438\\u0435\":\"0\",\"\\u0424\\u0438\\u043d. \\u0432\\u043e\\u0437\\u043c\\u043e\\u0436\\u043d\\u043e\\u0441\\u0442\\u044c\":\"0\",\"\\u041c\\u043e\\u0442\\u0438\\u0432\\u0430\\u0446\\u0438\\u044f \\u043a\\u0443\\u043f\\u0438\\u0442\\u044c \\u0437\\u0434\\u0435\\u0441\\u044c \\u0438 \\u0441\\u0435\\u0439\\u0447\\u0430\\u0441\":\"0\",\"Nota Consultatie Efectuata\":\"1\",\"Suma \\u20ac\":\"0\",\"#Manager Front\":\"Cezara Cenusa\",\"Urm\\u0103torul contact\":\"2026-10-20 12:13:00\",\"Mod achitare\":\"Transfer firm\\u0103\",\"Suma avans\":\"350\",\"Manager Juridic\":\"Dascal Anatolie\",\"#Manager Jurist\":\"Dascal Anatolie\",\"ID\":\"42885541\",\"\\u0421\\u0434\\u0435\\u043b\\u043a\\u0430_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"invita\\u021bie PS\",\"Lead_name\":\"invita\\u021bie PS\",\"\\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\":\"+37379749627\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Repede Cristina\",\"Contact_name\":\"Repede Cristina\",\"\\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\":\"+37379749627\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Repede Cristina\",\"Contact_name\":\"Repede Cristina\",\"\\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\":\"+37379749627\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Repede Cristina\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"Cezara Cenusa\"}],\"\\u0434\\u043e\\u043a\\u0443\\u043c\\u0435\\u043d\\u0442\":{\"\\u0414\\u0430\\u0442\\u0430\":\"20.10.2026\",\"\\u041d\\u043e\\u043c\\u0435\\u0440\":\"952\"},\"document\":{\"Date\":\"20.10.2026\",\"Number\":\"952\"}}}","edit":true}} {"uid":"3983fde"}
[2026-10-20 12:23:12] docflow.DEBUG: GAS raw response {"raw":"[object] (stdClass: {\"code\":1,\"url\":\"https://docs.google.com/open?id=1Rq8hgatUqtjrGtyoP9TJWmW3X0m-1fjgtGzj5HNhaDE\",\"file_id\":\"1Rq8hgatUqtjrGtyoP9TJWmW3X0m-1fjgtGzj5HNhaDE\",\"error\":\"\",\"vars\":\"\"})"} {"uid":"3983fde"}
[2026-10-20 12:23:12] docflow.WARNING: AmoDrive generated-file move is not ready. {"fileId":"1Rq8hgatUqtjrGtyoP9TJWmW3X0m-1fjgtGzj5HNhaDE","context":null} {"uid":"3983fde"}
[2026-10-20 12:34:33] docflow.INFO: Apel createDoc {"data":{"amoAccountId":"22699852","amoUserId":null,"amoEntityId":"42885541","amoEntityType":"2","templateId":"11525","corporateEntityId":"","settlementAccountId":"","is_signed":null,"gdi":null,"number":null,"currentAmoUserId":null,"lang":"ru"}} {"uid":"1ef11cc"}
[2026-10-20 12:34:34] docflow.INFO: Token is valid for account 22699852. [] {"uid":"1ef11cc"}
[2026-10-20 12:34:34] docflow.DEBUG: getClientAuth returned {"auth":"[object] (stdClass: {\"domain\":\"emigrare.amocrm.ru\",\"access_token\":\"eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImp0aSI6IjM2MjFhNTE2ODhlNTY2NzRkNDZlZTc2ZWU1MGY3Y2ZkZTM1NTJmNTE4ZDUwZDJmOTVlNGYxNWVlYmU3MDBiMjAwYjRlN2ZmZTM1ZDExOWIzIn0.eyJhdWQiOiIwZDY0ZGZmYi1lNTRiLTQ0OGYtOWZiZi1iYWYyMjUxYTExZGIiLCJqdGkiOiIzNjIxYTUxNjg4ZTU2Njc0ZDQ2ZWU3NmVlNTBmN2NmZGUzNTUyZjUxOGQ1MGQyZjk1ZTRmMTVlZWJlNzAwYjIwMGI0ZTdmZmUzNWQxMTliMyIsImlhdCI6MTc5MjQ3NjU0NCwibmJmIjoxNzkyNDc2NTQ0LCJleHAiOjE3OTI1NjI5NDQsInN1YiI6IjI5MzAzODAiLCJncmFudF90eXBlIjoiIiwiYWNjb3VudF9pZCI6MjI2OTk4NTIsImJhc2VfZG9tYWluIjoiYW1vY3JtLnJ1IiwidmVyc2lvbiI6Miwic2NvcGVzIjpbInB1c2hfbm90aWZpY2F0aW9ucyIsImNybSIsIm5vdGlmaWNhdGlvbnMiXSwiaGFzaF91dWlkIjoiOWE3NWEwYzQtZGMzOC00MzhmLTg2NmEtMWIxZWIwNzYyNjZlIiwiYXBpX2RvbWFpbiI6ImFwaS1iLmFtb2NybS5ydSJ9.qehz4h7sbmBOqc2WoRpnMDr7JDLCNhcyFK0dk2J1kdkNQ8gzqB35VS6EgeS4v5Q5O1O4SRNKFuSvIB-5lrCv0q7Dg5SRiRmxfG_vqqg5R4YK67own5xWhW6vEVSS1aPH1pxSeqCA7qhMFyAxz9Dsrm1tVt15o4ePIGLpWrlkjvoVCpMvsvSCZ9y1LdI_UF9ZhUW9SGQwuyhIzqQdEbmlmNnqHf8yd6roK6IOhluPISHsMmRWJBAThQQ-Z6IwXvU9t9uDb35rSe9xH0RCb_GrrWAvWtVEKh_qCbOvFlY1pfSMFm_w-smIYAdeBGxKrGW4Xd2scXU7XXH6BgpXaAB4uw\"})","file":"/home/ytvmclwh/document.amocrm.md/src/Models/Docs.php","line":121} {"uid":"1ef11cc"}
[2026-10-20 12:34:36] docflow.DEBUG: AmoDrive docflow context request {"url":"https://google.emale.uno/api/docflow/google-context","query":{"account_id":"22699852","entity_id":"42885541","entity_type":"leads"}} {"uid":"1ef11cc"}
[2026-10-20 12:34:36] 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=42885541&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/20 12:34:36</td>\r\n</tr>\r\n</table>\r\n<hr><center>tengine</center>\r\n</body>\r\n</html>\r\n"} {"uid":"1ef11cc"}
[2026-10-20 12:34:36] docflow.DEBUG: AmoDrive docflow context request {"url":"https://gd.glucose-dev.online/api/docflow/google-context","query":{"account_id":"22699852","entity_id":"42885541","entity_type":"leads"}} {"uid":"1ef11cc"}
[2026-10-20 12:34:36] 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":"42885541","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":305,"isLifetime":false},"licenseActive":false,"googleConnected":false,"googleEmail":null,"googleHasDriveScope":false,"googleHasDriveFileScope":false,"googleHasOwnershipScope":false,"readyForGeneratedFileMove":false,"readyForTransfer":false},"folder":{"id":"1mLyz8Uo2P8NY79AgHWG0ZwwywJhkUbt4","name":"42885541 - Lead #42885541","webViewLink":"https://drive.google.com/drive/folders/1mLyz8Uo2P8NY79AgHWG0ZwwywJhkUbt4"}}} {"uid":"1ef11cc"}
[2026-10-20 12:34:36] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://google.emale.uno/api/docflow/prepare-generated-doc","payload":{"account_id":"22699852","entity_id":"42885541","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"1ef11cc"}
[2026-10-20 12:34:37] 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/20 12:34:37</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":"42885541","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"1ef11cc"}
[2026-10-20 12:34:37] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://gd.glucose-dev.online/api/docflow/prepare-generated-doc","payload":{"account_id":"22699852","entity_id":"42885541","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"1ef11cc"}
[2026-10-20 12:34:37] 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":"42885541","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"1ef11cc"}
[2026-10-20 12:34:37] docflow.DEBUG: GAS request {"url":"https://script.google.com/macros/s/AKfycbwrvOJD46zkuoTzdhpc1kulhV8jRfgQBFZfQ121nkIip_k8yKit4xrbWTOzaJ-C-Yed6w/exec","body":{"templateFileId":"1WbsU1KEhQsgulJePwaSJXrk2Enf9WW8h7Hs9uPNHIDU","accountId":"22699852","folderId":"1Us2AfskxgdA729xVr0F2vjZU9y5PlYDe","key":"~VTsK5dcnHc2cSSsjM$LFSjLlgbmJXwrp3R2P5nd","data":"{\"fileName\":\"\\u0421\\u0447\\u0435\\u0442 \\u043d\\u0430 \\u043e\\u043f\\u043b\\u0430\\u0442\\u0443 CNC (EUR\\/USD\\/MDL) 146 20261020123436\",\"leadId\":\"42885541\",\"entities\":{\"\\u0441\\u0434\\u0435\\u043b\\u043a\\u0430\":{\"Brand\":\"Emigrare.md\",\"Manager front office\":\"Cezara Cenusa\",\"Nota SQL\":\"1\",\"\\u041b\\u041f\\u0420\":\"0\",\"\\u041e\\u0441\\u043e\\u0437\\u043d\\u0430\\u043d\\u043d\\u0430\\u044f \\u043f\\u043e\\u0442\\u0440\\u0435\\u0431\\u043d\\u043e\\u0441\\u0442\\u044c\":\"0\",\"\\u0414\\u043e\\u0432\\u0435\\u0440\\u0438\\u0435\":\"0\",\"\\u0424\\u0438\\u043d. \\u0432\\u043e\\u0437\\u043c\\u043e\\u0436\\u043d\\u043e\\u0441\\u0442\\u044c\":\"0\",\"\\u041c\\u043e\\u0442\\u0438\\u0432\\u0430\\u0446\\u0438\\u044f \\u043a\\u0443\\u043f\\u0438\\u0442\\u044c \\u0437\\u0434\\u0435\\u0441\\u044c \\u0438 \\u0441\\u0435\\u0439\\u0447\\u0430\\u0441\":\"0\",\"Nota Consultatie Efectuata\":\"1\",\"Suma \\u20ac\":\"0\",\"#Manager Front\":\"Cezara Cenusa\",\"Urm\\u0103torul contact\":\"2026-10-20 12:13:00\",\"Mod achitare\":\"Transfer firm\\u0103\",\"Suma avans\":\"350\",\"Manager Juridic\":\"Dascal Anatolie\",\"#Manager Jurist\":\"Dascal Anatolie\",\"ID\":\"42885541\",\"\\u0421\\u0434\\u0435\\u043b\\u043a\\u0430_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"invita\\u021bie PS\",\"Lead_name\":\"invita\\u021bie PS\",\"\\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\":{\"Brand\":\"Emigrare.md\",\"Manager front office\":\"Cezara Cenusa\",\"Nota SQL\":\"1\",\"\\u041b\\u041f\\u0420\":\"0\",\"\\u041e\\u0441\\u043e\\u0437\\u043d\\u0430\\u043d\\u043d\\u0430\\u044f \\u043f\\u043e\\u0442\\u0440\\u0435\\u0431\\u043d\\u043e\\u0441\\u0442\\u044c\":\"0\",\"\\u0414\\u043e\\u0432\\u0435\\u0440\\u0438\\u0435\":\"0\",\"\\u0424\\u0438\\u043d. \\u0432\\u043e\\u0437\\u043c\\u043e\\u0436\\u043d\\u043e\\u0441\\u0442\\u044c\":\"0\",\"\\u041c\\u043e\\u0442\\u0438\\u0432\\u0430\\u0446\\u0438\\u044f \\u043a\\u0443\\u043f\\u0438\\u0442\\u044c \\u0437\\u0434\\u0435\\u0441\\u044c \\u0438 \\u0441\\u0435\\u0439\\u0447\\u0430\\u0441\":\"0\",\"Nota Consultatie Efectuata\":\"1\",\"Suma \\u20ac\":\"0\",\"#Manager Front\":\"Cezara Cenusa\",\"Urm\\u0103torul contact\":\"2026-10-20 12:13:00\",\"Mod achitare\":\"Transfer firm\\u0103\",\"Suma avans\":\"350\",\"Manager Juridic\":\"Dascal Anatolie\",\"#Manager Jurist\":\"Dascal Anatolie\",\"ID\":\"42885541\",\"\\u0421\\u0434\\u0435\\u043b\\u043a\\u0430_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"invita\\u021bie PS\",\"Lead_name\":\"invita\\u021bie PS\",\"\\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\":\"+37379749627\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Repede Cristina\",\"Contact_name\":\"Repede Cristina\",\"\\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\":\"+37379749627\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Repede Cristina\",\"Contact_name\":\"Repede Cristina\",\"\\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\":\"+37379749627\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Repede Cristina\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"Cezara Cenusa\"}],\"\\u0434\\u043e\\u043a\\u0443\\u043c\\u0435\\u043d\\u0442\":{\"\\u0414\\u0430\\u0442\\u0430\":\"20.10.2026\",\"\\u041d\\u043e\\u043c\\u0435\\u0440\":\"146\"},\"document\":{\"Date\":\"20.10.2026\",\"Number\":\"146\"}}}","edit":true}} {"uid":"1ef11cc"}
[2026-10-20 12:34:45] docflow.DEBUG: GAS raw response {"raw":"[object] (stdClass: {\"code\":1,\"url\":\"https://docs.google.com/open?id=1ii84HYEzNPKGoUm70Ulj0q-awPlPsYKLF0waG5WCb8o\",\"file_id\":\"1ii84HYEzNPKGoUm70Ulj0q-awPlPsYKLF0waG5WCb8o\",\"error\":\"\",\"vars\":\"\"})"} {"uid":"1ef11cc"}
[2026-10-20 12:34:45] docflow.WARNING: AmoDrive generated-file move is not ready. {"fileId":"1ii84HYEzNPKGoUm70Ulj0q-awPlPsYKLF0waG5WCb8o","context":null} {"uid":"1ef11cc"}
[2026-10-20 13:09:19] docflow.INFO: Apel createDoc {"data":{"amoAccountId":"22699852","amoUserId":null,"amoEntityId":"42611110","amoEntityType":"2","templateId":"11487","corporateEntityId":"","settlementAccountId":"","is_signed":null,"gdi":null,"number":null,"currentAmoUserId":null,"lang":"ru"}} {"uid":"f70f34c"}
[2026-10-20 13:09:20] docflow.INFO: Token is valid for account 22699852. [] {"uid":"f70f34c"}
[2026-10-20 13:09:20] docflow.DEBUG: getClientAuth returned {"auth":"[object] (stdClass: {\"domain\":\"emigrare.amocrm.ru\",\"access_token\":\"eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImp0aSI6IjM2MjFhNTE2ODhlNTY2NzRkNDZlZTc2ZWU1MGY3Y2ZkZTM1NTJmNTE4ZDUwZDJmOTVlNGYxNWVlYmU3MDBiMjAwYjRlN2ZmZTM1ZDExOWIzIn0.eyJhdWQiOiIwZDY0ZGZmYi1lNTRiLTQ0OGYtOWZiZi1iYWYyMjUxYTExZGIiLCJqdGkiOiIzNjIxYTUxNjg4ZTU2Njc0ZDQ2ZWU3NmVlNTBmN2NmZGUzNTUyZjUxOGQ1MGQyZjk1ZTRmMTVlZWJlNzAwYjIwMGI0ZTdmZmUzNWQxMTliMyIsImlhdCI6MTc5MjQ3NjU0NCwibmJmIjoxNzkyNDc2NTQ0LCJleHAiOjE3OTI1NjI5NDQsInN1YiI6IjI5MzAzODAiLCJncmFudF90eXBlIjoiIiwiYWNjb3VudF9pZCI6MjI2OTk4NTIsImJhc2VfZG9tYWluIjoiYW1vY3JtLnJ1IiwidmVyc2lvbiI6Miwic2NvcGVzIjpbInB1c2hfbm90aWZpY2F0aW9ucyIsImNybSIsIm5vdGlmaWNhdGlvbnMiXSwiaGFzaF91dWlkIjoiOWE3NWEwYzQtZGMzOC00MzhmLTg2NmEtMWIxZWIwNzYyNjZlIiwiYXBpX2RvbWFpbiI6ImFwaS1iLmFtb2NybS5ydSJ9.qehz4h7sbmBOqc2WoRpnMDr7JDLCNhcyFK0dk2J1kdkNQ8gzqB35VS6EgeS4v5Q5O1O4SRNKFuSvIB-5lrCv0q7Dg5SRiRmxfG_vqqg5R4YK67own5xWhW6vEVSS1aPH1pxSeqCA7qhMFyAxz9Dsrm1tVt15o4ePIGLpWrlkjvoVCpMvsvSCZ9y1LdI_UF9ZhUW9SGQwuyhIzqQdEbmlmNnqHf8yd6roK6IOhluPISHsMmRWJBAThQQ-Z6IwXvU9t9uDb35rSe9xH0RCb_GrrWAvWtVEKh_qCbOvFlY1pfSMFm_w-smIYAdeBGxKrGW4Xd2scXU7XXH6BgpXaAB4uw\"})","file":"/home/ytvmclwh/document.amocrm.md/src/Models/Docs.php","line":121} {"uid":"f70f34c"}
[2026-10-20 13:09:26] docflow.DEBUG: AmoDrive docflow context request {"url":"https://google.emale.uno/api/docflow/google-context","query":{"account_id":"22699852","entity_id":"42611110","entity_type":"leads"}} {"uid":"f70f34c"}
[2026-10-20 13:09:26] 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=42611110&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/20 13:09:26</td>\r\n</tr>\r\n</table>\r\n<hr><center>tengine</center>\r\n</body>\r\n</html>\r\n"} {"uid":"f70f34c"}
[2026-10-20 13:09:26] docflow.DEBUG: AmoDrive docflow context request {"url":"https://gd.glucose-dev.online/api/docflow/google-context","query":{"account_id":"22699852","entity_id":"42611110","entity_type":"leads"}} {"uid":"f70f34c"}
[2026-10-20 13:09:26] 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":"42611110","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":305,"isLifetime":false},"licenseActive":false,"googleConnected":false,"googleEmail":null,"googleHasDriveScope":false,"googleHasDriveFileScope":false,"googleHasOwnershipScope":false,"readyForGeneratedFileMove":false,"readyForTransfer":false},"folder":{"id":"1Pf_f846YzVt8gkCBQMv30b4LwTkJFsA4","name":"42611110 - Lead #42611110","webViewLink":"https://drive.google.com/drive/folders/1Pf_f846YzVt8gkCBQMv30b4LwTkJFsA4"}}} {"uid":"f70f34c"}
[2026-10-20 13:09:26] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://google.emale.uno/api/docflow/prepare-generated-doc","payload":{"account_id":"22699852","entity_id":"42611110","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"f70f34c"}
[2026-10-20 13:09:26] 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/20 13:09:26</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":"42611110","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"f70f34c"}
[2026-10-20 13:09:26] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://gd.glucose-dev.online/api/docflow/prepare-generated-doc","payload":{"account_id":"22699852","entity_id":"42611110","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"f70f34c"}
[2026-10-20 13:09:26] 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":"42611110","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"f70f34c"}
[2026-10-20 13:09:26] 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 1298 20261020130926\",\"leadId\":\"42611110\",\"entities\":{\"\\u0441\\u0434\\u0435\\u043b\\u043a\\u0430\":{\"Suma \\u20ac\":\"0\",\"Manager front office\":\"Cezara Cenusa\",\"Nota SQL\":\"1\",\"ID\":\"42611110\",\"\\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\":\"Capanji Igor\",\"Responsible\":\"Capanji Igor\"},\"lead\":{\"Suma \\u20ac\":\"0\",\"Manager front office\":\"Cezara Cenusa\",\"Nota SQL\":\"1\",\"ID\":\"42611110\",\"\\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\":\"Capanji Igor\",\"Responsible\":\"Capanji Igor\"},\"\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442\":{\"TelegramId_WZ\":\"6021150589\",\"TelegramUsername_WZ\":\"@fetica727\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"+79851202312\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Ecaterina Daianova\",\"Contact_name\":\"Ecaterina Daianova\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"Cezara Cenusa\",\"Responsible\":\"Cezara Cenusa\"},\"contact\":{\"TelegramId_WZ\":\"6021150589\",\"TelegramUsername_WZ\":\"@fetica727\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"+79851202312\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Ecaterina Daianova\",\"Contact_name\":\"Ecaterina Daianova\",\"\\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\":\"6021150589\",\"TelegramUsername_WZ\":\"@fetica727\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"+79851202312\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Ecaterina Daianova\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"Cezara Cenusa\"}],\"\\u0434\\u043e\\u043a\\u0443\\u043c\\u0435\\u043d\\u0442\":{\"\\u0414\\u0430\\u0442\\u0430\":\"20.10.2026\",\"\\u041d\\u043e\\u043c\\u0435\\u0440\":\"1298\"},\"document\":{\"Date\":\"20.10.2026\",\"Number\":\"1298\"}}}","edit":true}} {"uid":"f70f34c"}
[2026-10-20 13:09:30] docflow.DEBUG: GAS raw response {"raw":"[object] (stdClass: {\"code\":1,\"url\":\"https://docs.google.com/open?id=1jjsA7SyzXhaiktgtIID8vlsUDKbTJbbIYcx0uevGgeM\",\"file_id\":\"1jjsA7SyzXhaiktgtIID8vlsUDKbTJbbIYcx0uevGgeM\",\"error\":\"\",\"vars\":\"\"})"} {"uid":"f70f34c"}
[2026-10-20 13:09:30] docflow.WARNING: AmoDrive generated-file move is not ready. {"fileId":"1jjsA7SyzXhaiktgtIID8vlsUDKbTJbbIYcx0uevGgeM","context":null} {"uid":"f70f34c"}
[2026-10-20 13:09:50] docflow.INFO: Apel createDoc {"data":{"amoAccountId":"22699852","amoUserId":null,"amoEntityId":"42611110","amoEntityType":"2","templateId":"11515","corporateEntityId":"","settlementAccountId":"","is_signed":null,"gdi":null,"number":null,"currentAmoUserId":null,"lang":"ru"}} {"uid":"19013c0"}
[2026-10-20 13:09:51] docflow.INFO: Token is valid for account 22699852. [] {"uid":"19013c0"}
[2026-10-20 13:09:51] docflow.DEBUG: getClientAuth returned {"auth":"[object] (stdClass: {\"domain\":\"emigrare.amocrm.ru\",\"access_token\":\"eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImp0aSI6IjM2MjFhNTE2ODhlNTY2NzRkNDZlZTc2ZWU1MGY3Y2ZkZTM1NTJmNTE4ZDUwZDJmOTVlNGYxNWVlYmU3MDBiMjAwYjRlN2ZmZTM1ZDExOWIzIn0.eyJhdWQiOiIwZDY0ZGZmYi1lNTRiLTQ0OGYtOWZiZi1iYWYyMjUxYTExZGIiLCJqdGkiOiIzNjIxYTUxNjg4ZTU2Njc0ZDQ2ZWU3NmVlNTBmN2NmZGUzNTUyZjUxOGQ1MGQyZjk1ZTRmMTVlZWJlNzAwYjIwMGI0ZTdmZmUzNWQxMTliMyIsImlhdCI6MTc5MjQ3NjU0NCwibmJmIjoxNzkyNDc2NTQ0LCJleHAiOjE3OTI1NjI5NDQsInN1YiI6IjI5MzAzODAiLCJncmFudF90eXBlIjoiIiwiYWNjb3VudF9pZCI6MjI2OTk4NTIsImJhc2VfZG9tYWluIjoiYW1vY3JtLnJ1IiwidmVyc2lvbiI6Miwic2NvcGVzIjpbInB1c2hfbm90aWZpY2F0aW9ucyIsImNybSIsIm5vdGlmaWNhdGlvbnMiXSwiaGFzaF91dWlkIjoiOWE3NWEwYzQtZGMzOC00MzhmLTg2NmEtMWIxZWIwNzYyNjZlIiwiYXBpX2RvbWFpbiI6ImFwaS1iLmFtb2NybS5ydSJ9.qehz4h7sbmBOqc2WoRpnMDr7JDLCNhcyFK0dk2J1kdkNQ8gzqB35VS6EgeS4v5Q5O1O4SRNKFuSvIB-5lrCv0q7Dg5SRiRmxfG_vqqg5R4YK67own5xWhW6vEVSS1aPH1pxSeqCA7qhMFyAxz9Dsrm1tVt15o4ePIGLpWrlkjvoVCpMvsvSCZ9y1LdI_UF9ZhUW9SGQwuyhIzqQdEbmlmNnqHf8yd6roK6IOhluPISHsMmRWJBAThQQ-Z6IwXvU9t9uDb35rSe9xH0RCb_GrrWAvWtVEKh_qCbOvFlY1pfSMFm_w-smIYAdeBGxKrGW4Xd2scXU7XXH6BgpXaAB4uw\"})","file":"/home/ytvmclwh/document.amocrm.md/src/Models/Docs.php","line":121} {"uid":"19013c0"}
[2026-10-20 13:09:53] docflow.DEBUG: AmoDrive docflow context request {"url":"https://google.emale.uno/api/docflow/google-context","query":{"account_id":"22699852","entity_id":"42611110","entity_type":"leads"}} {"uid":"19013c0"}
[2026-10-20 13:09:53] 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=42611110&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/20 13:09:53</td>\r\n</tr>\r\n</table>\r\n<hr><center>tengine</center>\r\n</body>\r\n</html>\r\n"} {"uid":"19013c0"}
[2026-10-20 13:09:53] docflow.DEBUG: AmoDrive docflow context request {"url":"https://gd.glucose-dev.online/api/docflow/google-context","query":{"account_id":"22699852","entity_id":"42611110","entity_type":"leads"}} {"uid":"19013c0"}
[2026-10-20 13:09:53] 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":"42611110","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":305,"isLifetime":false},"licenseActive":false,"googleConnected":false,"googleEmail":null,"googleHasDriveScope":false,"googleHasDriveFileScope":false,"googleHasOwnershipScope":false,"readyForGeneratedFileMove":false,"readyForTransfer":false},"folder":{"id":"1Pf_f846YzVt8gkCBQMv30b4LwTkJFsA4","name":"42611110 - Lead #42611110","webViewLink":"https://drive.google.com/drive/folders/1Pf_f846YzVt8gkCBQMv30b4LwTkJFsA4"}}} {"uid":"19013c0"}
[2026-10-20 13:09:53] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://google.emale.uno/api/docflow/prepare-generated-doc","payload":{"account_id":"22699852","entity_id":"42611110","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"19013c0"}
[2026-10-20 13:09:53] 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/20 13:09:53</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":"42611110","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"19013c0"}
[2026-10-20 13:09:53] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://gd.glucose-dev.online/api/docflow/prepare-generated-doc","payload":{"account_id":"22699852","entity_id":"42611110","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"19013c0"}
[2026-10-20 13:09:53] 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":"42611110","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"19013c0"}
[2026-10-20 13:09:53] 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) 1748 20261020130953\",\"leadId\":\"42611110\",\"entities\":{\"\\u0441\\u0434\\u0435\\u043b\\u043a\\u0430\":{\"Suma \\u20ac\":\"0\",\"Manager front office\":\"Cezara Cenusa\",\"Nota SQL\":\"1\",\"ID\":\"42611110\",\"\\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\":\"Capanji Igor\",\"Responsible\":\"Capanji Igor\"},\"lead\":{\"Suma \\u20ac\":\"0\",\"Manager front office\":\"Cezara Cenusa\",\"Nota SQL\":\"1\",\"ID\":\"42611110\",\"\\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\":\"Capanji Igor\",\"Responsible\":\"Capanji Igor\"},\"\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442\":{\"TelegramId_WZ\":\"6021150589\",\"TelegramUsername_WZ\":\"@fetica727\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"+79851202312\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Ecaterina Daianova\",\"Contact_name\":\"Ecaterina Daianova\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"Cezara Cenusa\",\"Responsible\":\"Cezara Cenusa\"},\"contact\":{\"TelegramId_WZ\":\"6021150589\",\"TelegramUsername_WZ\":\"@fetica727\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"+79851202312\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Ecaterina Daianova\",\"Contact_name\":\"Ecaterina Daianova\",\"\\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\":\"6021150589\",\"TelegramUsername_WZ\":\"@fetica727\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"+79851202312\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Ecaterina Daianova\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"Cezara Cenusa\"}],\"\\u0434\\u043e\\u043a\\u0443\\u043c\\u0435\\u043d\\u0442\":{\"\\u0414\\u0430\\u0442\\u0430\":\"20.10.2026\",\"\\u041d\\u043e\\u043c\\u0435\\u0440\":\"1748\"},\"document\":{\"Date\":\"20.10.2026\",\"Number\":\"1748\"}}}","edit":true}} {"uid":"19013c0"}
[2026-10-20 13:10:02] docflow.DEBUG: GAS raw response {"raw":"[object] (stdClass: {\"code\":1,\"url\":\"https://docs.google.com/open?id=1GbhnHj5J55L4XDuTGwrsaxVhFlsysKQXpujj7kQjYoA\",\"file_id\":\"1GbhnHj5J55L4XDuTGwrsaxVhFlsysKQXpujj7kQjYoA\",\"error\":\"\",\"vars\":\"\"})"} {"uid":"19013c0"}
[2026-10-20 13:10:02] docflow.WARNING: AmoDrive generated-file move is not ready. {"fileId":"1GbhnHj5J55L4XDuTGwrsaxVhFlsysKQXpujj7kQjYoA","context":null} {"uid":"19013c0"}
[2026-10-20 13:10:42] docflow.INFO: Apel createDoc {"data":{"amoAccountId":"22699852","amoUserId":null,"amoEntityId":"42611110","amoEntityType":"2","templateId":"11500","corporateEntityId":"","settlementAccountId":"","is_signed":null,"gdi":null,"number":null,"currentAmoUserId":null,"lang":"ru"}} {"uid":"fc96590"}
[2026-10-20 13:10:42] docflow.INFO: Token is valid for account 22699852. [] {"uid":"fc96590"}
[2026-10-20 13:10:42] docflow.DEBUG: getClientAuth returned {"auth":"[object] (stdClass: {\"domain\":\"emigrare.amocrm.ru\",\"access_token\":\"eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImp0aSI6IjM2MjFhNTE2ODhlNTY2NzRkNDZlZTc2ZWU1MGY3Y2ZkZTM1NTJmNTE4ZDUwZDJmOTVlNGYxNWVlYmU3MDBiMjAwYjRlN2ZmZTM1ZDExOWIzIn0.eyJhdWQiOiIwZDY0ZGZmYi1lNTRiLTQ0OGYtOWZiZi1iYWYyMjUxYTExZGIiLCJqdGkiOiIzNjIxYTUxNjg4ZTU2Njc0ZDQ2ZWU3NmVlNTBmN2NmZGUzNTUyZjUxOGQ1MGQyZjk1ZTRmMTVlZWJlNzAwYjIwMGI0ZTdmZmUzNWQxMTliMyIsImlhdCI6MTc5MjQ3NjU0NCwibmJmIjoxNzkyNDc2NTQ0LCJleHAiOjE3OTI1NjI5NDQsInN1YiI6IjI5MzAzODAiLCJncmFudF90eXBlIjoiIiwiYWNjb3VudF9pZCI6MjI2OTk4NTIsImJhc2VfZG9tYWluIjoiYW1vY3JtLnJ1IiwidmVyc2lvbiI6Miwic2NvcGVzIjpbInB1c2hfbm90aWZpY2F0aW9ucyIsImNybSIsIm5vdGlmaWNhdGlvbnMiXSwiaGFzaF91dWlkIjoiOWE3NWEwYzQtZGMzOC00MzhmLTg2NmEtMWIxZWIwNzYyNjZlIiwiYXBpX2RvbWFpbiI6ImFwaS1iLmFtb2NybS5ydSJ9.qehz4h7sbmBOqc2WoRpnMDr7JDLCNhcyFK0dk2J1kdkNQ8gzqB35VS6EgeS4v5Q5O1O4SRNKFuSvIB-5lrCv0q7Dg5SRiRmxfG_vqqg5R4YK67own5xWhW6vEVSS1aPH1pxSeqCA7qhMFyAxz9Dsrm1tVt15o4ePIGLpWrlkjvoVCpMvsvSCZ9y1LdI_UF9ZhUW9SGQwuyhIzqQdEbmlmNnqHf8yd6roK6IOhluPISHsMmRWJBAThQQ-Z6IwXvU9t9uDb35rSe9xH0RCb_GrrWAvWtVEKh_qCbOvFlY1pfSMFm_w-smIYAdeBGxKrGW4Xd2scXU7XXH6BgpXaAB4uw\"})","file":"/home/ytvmclwh/document.amocrm.md/src/Models/Docs.php","line":121} {"uid":"fc96590"}
[2026-10-20 13:10:45] docflow.DEBUG: AmoDrive docflow context request {"url":"https://google.emale.uno/api/docflow/google-context","query":{"account_id":"22699852","entity_id":"42611110","entity_type":"leads"}} {"uid":"fc96590"}
[2026-10-20 13:10:45] 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=42611110&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/20 13:10:45</td>\r\n</tr>\r\n</table>\r\n<hr><center>tengine</center>\r\n</body>\r\n</html>\r\n"} {"uid":"fc96590"}
[2026-10-20 13:10:45] docflow.DEBUG: AmoDrive docflow context request {"url":"https://gd.glucose-dev.online/api/docflow/google-context","query":{"account_id":"22699852","entity_id":"42611110","entity_type":"leads"}} {"uid":"fc96590"}
[2026-10-20 13:10:45] 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":"42611110","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":305,"isLifetime":false},"licenseActive":false,"googleConnected":false,"googleEmail":null,"googleHasDriveScope":false,"googleHasDriveFileScope":false,"googleHasOwnershipScope":false,"readyForGeneratedFileMove":false,"readyForTransfer":false},"folder":{"id":"1Pf_f846YzVt8gkCBQMv30b4LwTkJFsA4","name":"42611110 - Lead #42611110","webViewLink":"https://drive.google.com/drive/folders/1Pf_f846YzVt8gkCBQMv30b4LwTkJFsA4"}}} {"uid":"fc96590"}
[2026-10-20 13:10:45] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://google.emale.uno/api/docflow/prepare-generated-doc","payload":{"account_id":"22699852","entity_id":"42611110","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"fc96590"}
[2026-10-20 13:10:45] 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/20 13:10:45</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":"42611110","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"fc96590"}
[2026-10-20 13:10:45] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://gd.glucose-dev.online/api/docflow/prepare-generated-doc","payload":{"account_id":"22699852","entity_id":"42611110","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"fc96590"}
[2026-10-20 13:10:45] 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":"42611110","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"fc96590"}
[2026-10-20 13:10:45] 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 727 20261020131045\",\"leadId\":\"42611110\",\"entities\":{\"\\u0441\\u0434\\u0435\\u043b\\u043a\\u0430\":{\"Suma \\u20ac\":\"0\",\"Manager front office\":\"Cezara Cenusa\",\"Nota SQL\":\"1\",\"ID\":\"42611110\",\"\\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\":\"0\",\"Budget\":\"0\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"Capanji Igor\",\"Responsible\":\"Capanji Igor\"},\"lead\":{\"Suma \\u20ac\":\"0\",\"Manager front office\":\"Cezara Cenusa\",\"Nota SQL\":\"1\",\"ID\":\"42611110\",\"\\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\":\"0\",\"Budget\":\"0\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"Capanji Igor\",\"Responsible\":\"Capanji Igor\"},\"\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442\":{\"TelegramId_WZ\":\"6021150589\",\"TelegramUsername_WZ\":\"@fetica727\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"+79851202312\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Ecaterina Daianova\",\"Contact_name\":\"Ecaterina Daianova\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"Cezara Cenusa\",\"Responsible\":\"Cezara Cenusa\"},\"contact\":{\"TelegramId_WZ\":\"6021150589\",\"TelegramUsername_WZ\":\"@fetica727\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"+79851202312\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Ecaterina Daianova\",\"Contact_name\":\"Ecaterina Daianova\",\"\\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\":\"6021150589\",\"TelegramUsername_WZ\":\"@fetica727\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"+79851202312\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Ecaterina Daianova\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"Cezara Cenusa\"}],\"\\u0434\\u043e\\u043a\\u0443\\u043c\\u0435\\u043d\\u0442\":{\"\\u0414\\u0430\\u0442\\u0430\":\"20.10.2026\",\"\\u041d\\u043e\\u043c\\u0435\\u0440\":\"727\"},\"document\":{\"Date\":\"20.10.2026\",\"Number\":\"727\"}}}","edit":true}} {"uid":"fc96590"}
[2026-10-20 13:10:51] docflow.DEBUG: GAS raw response {"raw":"[object] (stdClass: {\"code\":1,\"url\":\"https://docs.google.com/open?id=1sX4GsLTMTBHfrQmJW-EoEn5xxY0ocOd3CHHDmJFJykg\",\"file_id\":\"1sX4GsLTMTBHfrQmJW-EoEn5xxY0ocOd3CHHDmJFJykg\",\"error\":\"\",\"vars\":\"\"})"} {"uid":"fc96590"}
[2026-10-20 13:10:51] docflow.WARNING: AmoDrive generated-file move is not ready. {"fileId":"1sX4GsLTMTBHfrQmJW-EoEn5xxY0ocOd3CHHDmJFJykg","context":null} {"uid":"fc96590"}
[2026-10-20 13:10:56] docflow.INFO: Apel createDoc {"data":{"amoAccountId":"22699852","amoUserId":null,"amoEntityId":"42611110","amoEntityType":"2","templateId":"11499","corporateEntityId":"","settlementAccountId":"","is_signed":null,"gdi":null,"number":null,"currentAmoUserId":null,"lang":"ru"}} {"uid":"decb1b8"}
[2026-10-20 13:10:57] docflow.INFO: Token is valid for account 22699852. [] {"uid":"decb1b8"}
[2026-10-20 13:10:57] docflow.DEBUG: getClientAuth returned {"auth":"[object] (stdClass: {\"domain\":\"emigrare.amocrm.ru\",\"access_token\":\"eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImp0aSI6IjM2MjFhNTE2ODhlNTY2NzRkNDZlZTc2ZWU1MGY3Y2ZkZTM1NTJmNTE4ZDUwZDJmOTVlNGYxNWVlYmU3MDBiMjAwYjRlN2ZmZTM1ZDExOWIzIn0.eyJhdWQiOiIwZDY0ZGZmYi1lNTRiLTQ0OGYtOWZiZi1iYWYyMjUxYTExZGIiLCJqdGkiOiIzNjIxYTUxNjg4ZTU2Njc0ZDQ2ZWU3NmVlNTBmN2NmZGUzNTUyZjUxOGQ1MGQyZjk1ZTRmMTVlZWJlNzAwYjIwMGI0ZTdmZmUzNWQxMTliMyIsImlhdCI6MTc5MjQ3NjU0NCwibmJmIjoxNzkyNDc2NTQ0LCJleHAiOjE3OTI1NjI5NDQsInN1YiI6IjI5MzAzODAiLCJncmFudF90eXBlIjoiIiwiYWNjb3VudF9pZCI6MjI2OTk4NTIsImJhc2VfZG9tYWluIjoiYW1vY3JtLnJ1IiwidmVyc2lvbiI6Miwic2NvcGVzIjpbInB1c2hfbm90aWZpY2F0aW9ucyIsImNybSIsIm5vdGlmaWNhdGlvbnMiXSwiaGFzaF91dWlkIjoiOWE3NWEwYzQtZGMzOC00MzhmLTg2NmEtMWIxZWIwNzYyNjZlIiwiYXBpX2RvbWFpbiI6ImFwaS1iLmFtb2NybS5ydSJ9.qehz4h7sbmBOqc2WoRpnMDr7JDLCNhcyFK0dk2J1kdkNQ8gzqB35VS6EgeS4v5Q5O1O4SRNKFuSvIB-5lrCv0q7Dg5SRiRmxfG_vqqg5R4YK67own5xWhW6vEVSS1aPH1pxSeqCA7qhMFyAxz9Dsrm1tVt15o4ePIGLpWrlkjvoVCpMvsvSCZ9y1LdI_UF9ZhUW9SGQwuyhIzqQdEbmlmNnqHf8yd6roK6IOhluPISHsMmRWJBAThQQ-Z6IwXvU9t9uDb35rSe9xH0RCb_GrrWAvWtVEKh_qCbOvFlY1pfSMFm_w-smIYAdeBGxKrGW4Xd2scXU7XXH6BgpXaAB4uw\"})","file":"/home/ytvmclwh/document.amocrm.md/src/Models/Docs.php","line":121} {"uid":"decb1b8"}
[2026-10-20 13:10:59] docflow.DEBUG: AmoDrive docflow context request {"url":"https://google.emale.uno/api/docflow/google-context","query":{"account_id":"22699852","entity_id":"42611110","entity_type":"leads"}} {"uid":"decb1b8"}
[2026-10-20 13:10:59] docflow.WARNING: AmoDrive docflow context request failed {"url":"https://google.emale.uno/api/docflow/google-context","http_code":null,"error":"HTTP/2 400 ","response":"<!DOCTYPE HTML PUBLIC \"-//IETF//DTD HTML 2.0//EN\">\r\n<html>\r\n<head><title>400 Bad Request</title></head>\r\n<body>\r\n<center><h1>400 Bad Request</h1></center>\r\n Sorry for the inconvenience.<br/>\r\nPlease report this message and include the following information to us.<br/>\r\nThank you very much!</p>\r\n<table>\r\n<tr>\r\n<td>URL:</td>\r\n<td>https://gd.glucose-dev.online/api/docflow/google-context?account_id=22699852&amp;entity_id=42611110&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/20 13:10:59</td>\r\n</tr>\r\n</table>\r\n<hr><center>tengine</center>\r\n</body>\r\n</html>\r\n"} {"uid":"decb1b8"}
[2026-10-20 13:10:59] docflow.DEBUG: AmoDrive docflow context request {"url":"https://gd.glucose-dev.online/api/docflow/google-context","query":{"account_id":"22699852","entity_id":"42611110","entity_type":"leads"}} {"uid":"decb1b8"}
[2026-10-20 13:10:59] 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":"42611110","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":305,"isLifetime":false},"licenseActive":false,"googleConnected":false,"googleEmail":null,"googleHasDriveScope":false,"googleHasDriveFileScope":false,"googleHasOwnershipScope":false,"readyForGeneratedFileMove":false,"readyForTransfer":false},"folder":{"id":"1Pf_f846YzVt8gkCBQMv30b4LwTkJFsA4","name":"42611110 - Lead #42611110","webViewLink":"https://drive.google.com/drive/folders/1Pf_f846YzVt8gkCBQMv30b4LwTkJFsA4"}}} {"uid":"decb1b8"}
[2026-10-20 13:10:59] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://google.emale.uno/api/docflow/prepare-generated-doc","payload":{"account_id":"22699852","entity_id":"42611110","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"decb1b8"}
[2026-10-20 13:11: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/20 13:11:00</td>\r\n</tr>\r\n</table>\r\n<hr><center>tengine</center>\r\n</body>\r\n</html>\r\n","payload":{"account_id":"22699852","entity_id":"42611110","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"decb1b8"}
[2026-10-20 13:11:00] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://gd.glucose-dev.online/api/docflow/prepare-generated-doc","payload":{"account_id":"22699852","entity_id":"42611110","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"decb1b8"}
[2026-10-20 13:11: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\":22699852})","payload":{"account_id":"22699852","entity_id":"42611110","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"decb1b8"}
[2026-10-20 13:11:00] 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  724 20261020131059\",\"leadId\":\"42611110\",\"entities\":{\"\\u0441\\u0434\\u0435\\u043b\\u043a\\u0430\":{\"Suma \\u20ac\":\"0\",\"Manager front office\":\"Cezara Cenusa\",\"Nota SQL\":\"1\",\"ID\":\"42611110\",\"\\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\":\"0\",\"Budget\":\"0\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"Capanji Igor\",\"Responsible\":\"Capanji Igor\"},\"lead\":{\"Suma \\u20ac\":\"0\",\"Manager front office\":\"Cezara Cenusa\",\"Nota SQL\":\"1\",\"ID\":\"42611110\",\"\\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\":\"0\",\"Budget\":\"0\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"Capanji Igor\",\"Responsible\":\"Capanji Igor\"},\"\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442\":{\"TelegramId_WZ\":\"6021150589\",\"TelegramUsername_WZ\":\"@fetica727\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"+79851202312\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Ecaterina Daianova\",\"Contact_name\":\"Ecaterina Daianova\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"Cezara Cenusa\",\"Responsible\":\"Cezara Cenusa\"},\"contact\":{\"TelegramId_WZ\":\"6021150589\",\"TelegramUsername_WZ\":\"@fetica727\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"+79851202312\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Ecaterina Daianova\",\"Contact_name\":\"Ecaterina Daianova\",\"\\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\":\"6021150589\",\"TelegramUsername_WZ\":\"@fetica727\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"+79851202312\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Ecaterina Daianova\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"Cezara Cenusa\"}],\"\\u0434\\u043e\\u043a\\u0443\\u043c\\u0435\\u043d\\u0442\":{\"\\u0414\\u0430\\u0442\\u0430\":\"20.10.2026\",\"\\u041d\\u043e\\u043c\\u0435\\u0440\":\"724\"},\"document\":{\"Date\":\"20.10.2026\",\"Number\":\"724\"}}}","edit":true}} {"uid":"decb1b8"}
[2026-10-20 13:11:06] docflow.DEBUG: GAS raw response {"raw":"[object] (stdClass: {\"code\":1,\"url\":\"https://docs.google.com/open?id=1ZeqKlIvrG6KVsZYQnIk7A1VPue6rUa3GSH7CNuSdiGg\",\"file_id\":\"1ZeqKlIvrG6KVsZYQnIk7A1VPue6rUa3GSH7CNuSdiGg\",\"error\":\"\",\"vars\":\"\"})"} {"uid":"decb1b8"}
[2026-10-20 13:11:06] docflow.WARNING: AmoDrive generated-file move is not ready. {"fileId":"1ZeqKlIvrG6KVsZYQnIk7A1VPue6rUa3GSH7CNuSdiGg","context":null} {"uid":"decb1b8"}
[2026-10-20 13:28:22] docflow.INFO: Apel createDoc {"data":{"amoAccountId":"22699852","amoUserId":null,"amoEntityId":"42611110","amoEntityType":"2","templateId":"11504","corporateEntityId":"","settlementAccountId":"","is_signed":null,"gdi":null,"number":null,"currentAmoUserId":null,"lang":"ru"}} {"uid":"3e0b7e2"}
[2026-10-20 13:28:22] docflow.INFO: Token is valid for account 22699852. [] {"uid":"3e0b7e2"}
[2026-10-20 13:28:22] docflow.DEBUG: getClientAuth returned {"auth":"[object] (stdClass: {\"domain\":\"emigrare.amocrm.ru\",\"access_token\":\"eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImp0aSI6IjM2MjFhNTE2ODhlNTY2NzRkNDZlZTc2ZWU1MGY3Y2ZkZTM1NTJmNTE4ZDUwZDJmOTVlNGYxNWVlYmU3MDBiMjAwYjRlN2ZmZTM1ZDExOWIzIn0.eyJhdWQiOiIwZDY0ZGZmYi1lNTRiLTQ0OGYtOWZiZi1iYWYyMjUxYTExZGIiLCJqdGkiOiIzNjIxYTUxNjg4ZTU2Njc0ZDQ2ZWU3NmVlNTBmN2NmZGUzNTUyZjUxOGQ1MGQyZjk1ZTRmMTVlZWJlNzAwYjIwMGI0ZTdmZmUzNWQxMTliMyIsImlhdCI6MTc5MjQ3NjU0NCwibmJmIjoxNzkyNDc2NTQ0LCJleHAiOjE3OTI1NjI5NDQsInN1YiI6IjI5MzAzODAiLCJncmFudF90eXBlIjoiIiwiYWNjb3VudF9pZCI6MjI2OTk4NTIsImJhc2VfZG9tYWluIjoiYW1vY3JtLnJ1IiwidmVyc2lvbiI6Miwic2NvcGVzIjpbInB1c2hfbm90aWZpY2F0aW9ucyIsImNybSIsIm5vdGlmaWNhdGlvbnMiXSwiaGFzaF91dWlkIjoiOWE3NWEwYzQtZGMzOC00MzhmLTg2NmEtMWIxZWIwNzYyNjZlIiwiYXBpX2RvbWFpbiI6ImFwaS1iLmFtb2NybS5ydSJ9.qehz4h7sbmBOqc2WoRpnMDr7JDLCNhcyFK0dk2J1kdkNQ8gzqB35VS6EgeS4v5Q5O1O4SRNKFuSvIB-5lrCv0q7Dg5SRiRmxfG_vqqg5R4YK67own5xWhW6vEVSS1aPH1pxSeqCA7qhMFyAxz9Dsrm1tVt15o4ePIGLpWrlkjvoVCpMvsvSCZ9y1LdI_UF9ZhUW9SGQwuyhIzqQdEbmlmNnqHf8yd6roK6IOhluPISHsMmRWJBAThQQ-Z6IwXvU9t9uDb35rSe9xH0RCb_GrrWAvWtVEKh_qCbOvFlY1pfSMFm_w-smIYAdeBGxKrGW4Xd2scXU7XXH6BgpXaAB4uw\"})","file":"/home/ytvmclwh/document.amocrm.md/src/Models/Docs.php","line":121} {"uid":"3e0b7e2"}
[2026-10-20 13:28:25] docflow.DEBUG: AmoDrive docflow context request {"url":"https://google.emale.uno/api/docflow/google-context","query":{"account_id":"22699852","entity_id":"42611110","entity_type":"leads"}} {"uid":"3e0b7e2"}
[2026-10-20 13:28: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=42611110&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/20 13:28:25</td>\r\n</tr>\r\n</table>\r\n<hr><center>tengine</center>\r\n</body>\r\n</html>\r\n"} {"uid":"3e0b7e2"}
[2026-10-20 13:28:25] docflow.DEBUG: AmoDrive docflow context request {"url":"https://gd.glucose-dev.online/api/docflow/google-context","query":{"account_id":"22699852","entity_id":"42611110","entity_type":"leads"}} {"uid":"3e0b7e2"}
[2026-10-20 13:28: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":"42611110","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":304,"isLifetime":false},"licenseActive":false,"googleConnected":false,"googleEmail":null,"googleHasDriveScope":false,"googleHasDriveFileScope":false,"googleHasOwnershipScope":false,"readyForGeneratedFileMove":false,"readyForTransfer":false},"folder":{"id":"1Pf_f846YzVt8gkCBQMv30b4LwTkJFsA4","name":"42611110 - Lead #42611110","webViewLink":"https://drive.google.com/drive/folders/1Pf_f846YzVt8gkCBQMv30b4LwTkJFsA4"}}} {"uid":"3e0b7e2"}
[2026-10-20 13:28:25] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://google.emale.uno/api/docflow/prepare-generated-doc","payload":{"account_id":"22699852","entity_id":"42611110","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"3e0b7e2"}
[2026-10-20 13:28: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/20 13:28: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":"42611110","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"3e0b7e2"}
[2026-10-20 13:28: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":"42611110","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"3e0b7e2"}
[2026-10-20 13:28: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":"42611110","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"3e0b7e2"}
[2026-10-20 13:28:25] 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) 104 20261020132825\",\"leadId\":\"42611110\",\"entities\":{\"\\u0441\\u0434\\u0435\\u043b\\u043a\\u0430\":{\"Suma \\u20ac\":\"0\",\"Manager front office\":\"Cezara Cenusa\",\"Nota SQL\":\"1\",\"ID\":\"42611110\",\"\\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\":\"0\",\"Budget\":\"0\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"Capanji Igor\",\"Responsible\":\"Capanji Igor\"},\"lead\":{\"Suma \\u20ac\":\"0\",\"Manager front office\":\"Cezara Cenusa\",\"Nota SQL\":\"1\",\"ID\":\"42611110\",\"\\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\":\"0\",\"Budget\":\"0\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"Capanji Igor\",\"Responsible\":\"Capanji Igor\"},\"\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442\":{\"TelegramId_WZ\":\"6021150589\",\"TelegramUsername_WZ\":\"@fetica727\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"+79851202312\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Ecaterina Daianova\",\"Contact_name\":\"Ecaterina Daianova\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"Cezara Cenusa\",\"Responsible\":\"Cezara Cenusa\"},\"contact\":{\"TelegramId_WZ\":\"6021150589\",\"TelegramUsername_WZ\":\"@fetica727\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"+79851202312\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Ecaterina Daianova\",\"Contact_name\":\"Ecaterina Daianova\",\"\\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\":\"6021150589\",\"TelegramUsername_WZ\":\"@fetica727\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"+79851202312\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Ecaterina Daianova\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"Cezara Cenusa\"}],\"\\u0434\\u043e\\u043a\\u0443\\u043c\\u0435\\u043d\\u0442\":{\"\\u0414\\u0430\\u0442\\u0430\":\"20.10.2026\",\"\\u041d\\u043e\\u043c\\u0435\\u0440\":\"104\"},\"document\":{\"Date\":\"20.10.2026\",\"Number\":\"104\"}}}","edit":true}} {"uid":"3e0b7e2"}
[2026-10-20 13:28:34] docflow.DEBUG: GAS raw response {"raw":"[object] (stdClass: {\"code\":1,\"url\":\"https://docs.google.com/open?id=1ev-Z4npsgETeXGt6HYp7tjr2yn2NYE70qDardYsO86Y\",\"file_id\":\"1ev-Z4npsgETeXGt6HYp7tjr2yn2NYE70qDardYsO86Y\",\"error\":\"\",\"vars\":\"\"})"} {"uid":"3e0b7e2"}
[2026-10-20 13:28:34] docflow.WARNING: AmoDrive generated-file move is not ready. {"fileId":"1ev-Z4npsgETeXGt6HYp7tjr2yn2NYE70qDardYsO86Y","context":null} {"uid":"3e0b7e2"}
[2026-10-20 14:01:47] docflow.INFO: Apel createDoc {"data":{"amoAccountId":"32990686","amoUserId":null,"amoEntityId":"40281167","amoEntityType":"2","templateId":"11625","corporateEntityId":"","settlementAccountId":"","is_signed":null,"gdi":null,"number":null,"currentAmoUserId":null,"lang":"ru"}} {"uid":"b5db5db"}
[2026-10-20 14:01:48] docflow.INFO: Token validation failed for account 32990686. Refreshing... {"http_code":null,"error_message":"HTTP/2 401 "} {"uid":"b5db5db"}
[2026-10-20 14:01:48] docflow.INFO: Attempting token refresh with payload: {"client_id":"0d64dffb-e54b-448f-9fbf-baf2251a11db","client_secret":"AXqHrT1J35SilTTtI3yyaHdQKiS5bonhySaPYkLmo7mR6ZZ9zDP24dUjG189VG9G","grant_type":"refresh_token","refresh_token":"def50200bbc8e41671d012ddb3fd0bdff28361d88e1a9f743f232e128da493734ae989b776ce8712e775740dbd434e575cccf56d9591bd6d6a270e8bedf1229750b1ab264f3725c100d4144778cbbe6dcc65fb6e00a61000b69bbee5a8ca13a53f33ddebac611d625ce57e918b02bbbeb43b1bebc61a933dd28fb2a41596f2045c6049be7cd7636b2f1bbed2e4b0be522f7a781a1f05ee6b2928aef6eadb53e487d38143b4370132278de0d8a79b4c47b3d586f894bf33588458a64be64b00437044e0ae0454985b2f0af0b6bcbf2a4a4aa2c81deb985ae45c4196796f9368759bd20e43d1a22e36f5c65d9a9c32b4ff056f3283e79e61df590ea70ddbd2b31b70527d200de0f96906c11cb9db05e71b2e519962016136c34d171a5368a73b3c79185be3daef0d9c4149cb7737fb9d305d754948cabf1dab1541a5febb0ccccb2901bec1fff0ae5033b9265093fd20f1bf4e383c86839b5b3275684e6fc75f8de1b9e08daaec060397db3374acf78a624dcb96bbc2612cf936bddeee32d0323ad3fa6d78d83dc51004c18015d2c49360d11afc5ea73762631109baeec99da5a7a0e844b7f1c8e8570635fdac75e6dbc2f1a75190c86593d1e128c3c111d75451e4d2903d2f46fa9e99f5e7505b1236a9f4b87bee370a9f","redirect_uri":"https://document.amocrm.md/core/manager/install.php"} {"uid":"b5db5db"}
[2026-10-20 14:01:49] docflow.INFO: Token for account 32990686 refreshed successfully. [] {"uid":"b5db5db"}
[2026-10-20 14:01:49] docflow.DEBUG: getClientAuth returned {"auth":"[object] (stdClass: {\"domain\":\"eurosanteh.amocrm.ru\",\"access_token\":\"eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImp0aSI6ImQ4OGEzOTkzM2JmYjI0ODk3MGVhMzQ0MmIwYTBmNGRhMzU2ZDRlNmE3OWZmMjhhZGYyMDRlODU3ZjU1ZGJmNDJhMGZhZWY2ZDdiMmUyOTdlIn0.eyJhdWQiOiIwZDY0ZGZmYi1lNTRiLTQ0OGYtOWZiZi1iYWYyMjUxYTExZGIiLCJqdGkiOiJkODhhMzk5MzNiZmIyNDg5NzBlYTM0NDJiMGEwZjRkYTM1NmQ0ZTZhNzlmZjI4YWRmMjA0ZTg1N2Y1NWRiZjQyYTBmYWVmNmQ3YjJlMjk3ZSIsImlhdCI6MTc5MjQ5NDEwOCwibmJmIjoxNzkyNDk0MTA4LCJleHAiOjE3OTI1ODA1MDgsInN1YiI6IjEzNjg3MzAyIiwiZ3JhbnRfdHlwZSI6IiIsImFjY291bnRfaWQiOjMyOTkwNjg2LCJiYXNlX2RvbWFpbiI6ImFtb2NybS5ydSIsInZlcnNpb24iOjIsInNjb3BlcyI6WyJwdXNoX25vdGlmaWNhdGlvbnMiLCJjcm0iLCJub3RpZmljYXRpb25zIl0sImhhc2hfdXVpZCI6IjIxNzcyNTZjLTI5ZDktNGNjYy05MWI2LTc2MDkyN2YxNjllYiIsImFwaV9kb21haW4iOiJhcGktYi5hbW9jcm0ucnUifQ.migWzQZC4YW0WHAi2mRPA7jJRw0yWl4PAkPfRKcdHTb8PCshhECKnSg7NduDe7xfUDFHi0oufxkh7xqDz1Ad0ETiOouuC2I35ZWsHNwvvOfGH2s-JAffZ-nr_8SZhNbcP7BdXqf3QQLfoT5E_ACq6b-v-TfrQvwQKhedhAJXHA2w9U6UJ1ZsnVMo_gybDlYUswlRwmYm_Y2P1aYEX_4m5MiuOGWV7FrV4JbOR0bHilKY2SllQ2J2Dr4ms8e-vbQiTZVTBedl4dHqbzkk9SZhVEVLDi7lHd4MSkF8vOotZUQlqWo9ymt-3H9dYUvIOUhRL9SaGrD0XH1cmmJNbSRq3A\"})","file":"/home/ytvmclwh/document.amocrm.md/src/Models/Docs.php","line":121} {"uid":"b5db5db"}
[2026-10-20 14:01:52] docflow.DEBUG: AmoDrive docflow context request {"url":"https://google.emale.uno/api/docflow/google-context","query":{"account_id":"32990686","entity_id":"40281167","entity_type":"leads"}} {"uid":"b5db5db"}
[2026-10-20 14:01: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=32990686&amp;entity_id=40281167&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/20 14:01:52</td>\r\n</tr>\r\n</table>\r\n<hr><center>tengine</center>\r\n</body>\r\n</html>\r\n"} {"uid":"b5db5db"}
[2026-10-20 14:01:52] docflow.DEBUG: AmoDrive docflow context request {"url":"https://gd.glucose-dev.online/api/docflow/google-context","query":{"account_id":"32990686","entity_id":"40281167","entity_type":"leads"}} {"uid":"b5db5db"}
[2026-10-20 14:01: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":32990686,"entityId":"40281167","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":"b5db5db"}
[2026-10-20 14:01:52] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://google.emale.uno/api/docflow/prepare-generated-doc","payload":{"account_id":"32990686","entity_id":"40281167","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"b5db5db"}
[2026-10-20 14:01: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/20 14:01: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":"32990686","entity_id":"40281167","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"b5db5db"}
[2026-10-20 14:01:52] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://gd.glucose-dev.online/api/docflow/prepare-generated-doc","payload":{"account_id":"32990686","entity_id":"40281167","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"b5db5db"}
[2026-10-20 14:01: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\":32990686})","payload":{"account_id":"32990686","entity_id":"40281167","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"b5db5db"}
[2026-10-20 14:01:52] 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 1389 20261020140152\",\"leadId\":\"40281167\",\"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 Revive 25\",\"\\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\":\"\\u0412\\u0442\\u043e\\u0440\\u043d\\u0438\\u043a\",\"\\u0414\\u0430\\u0442\\u0430 \\u0438 \\u0432\\u0440\\u0435\\u043c\\u044f \\u0432\\u0438\\u0437\\u0438\\u0442\\u0430\":\"2026-10-21 17:10:00\",\"\\u0414\\u0430\\u0442\\u0430 \\u0432\\u0438\\u0437\\u0438\\u0442\\u0430\":\"21.10.2026\",\"\\u041c\\u043e\\u0434\\u0435\\u043b\\u044c \\u043e\\u0431\\u043e\\u0440\\u0443\\u0434\\u043e\\u0432\\u0430\\u043d\\u0438\\u044f 1\":\"Haier Revive 25\",\"\\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\":\"40281167\",\"\\u0421\\u0434\\u0435\\u043b\\u043a\\u0430_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"\\u043f\\u0442\\u043e\",\"Lead_name\":\"\\u043f\\u0442\\u043e\",\"\\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 Revive 25\",\"\\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\":\"\\u0412\\u0442\\u043e\\u0440\\u043d\\u0438\\u043a\",\"\\u0414\\u0430\\u0442\\u0430 \\u0438 \\u0432\\u0440\\u0435\\u043c\\u044f \\u0432\\u0438\\u0437\\u0438\\u0442\\u0430\":\"2026-10-21 17:10:00\",\"\\u0414\\u0430\\u0442\\u0430 \\u0432\\u0438\\u0437\\u0438\\u0442\\u0430\":\"21.10.2026\",\"\\u041c\\u043e\\u0434\\u0435\\u043b\\u044c \\u043e\\u0431\\u043e\\u0440\\u0443\\u0434\\u043e\\u0432\\u0430\\u043d\\u0438\\u044f 1\":\"Haier Revive 25\",\"\\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\":\"40281167\",\"\\u0421\\u0434\\u0435\\u043b\\u043a\\u0430_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"\\u043f\\u0442\\u043e\",\"Lead_name\":\"\\u043f\\u0442\\u043e\",\"\\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\":\"1021600021519\",\"\\u0410\\u0434\\u0440\\u0435\\u0441\":\"str.Grigore Vieru 22\\/1\",\"\\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 Revive 25\",\"\\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)\":\"B7272\",\"\\u0418\\u043c\\u044f \\u043a\\u043b\\u0438\\u0435\\u043d\\u0442\\u0430 (\\u0421\\u041c\\u0421)\":\"Pro Energie Proiect\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"37369973245\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Pro Energie Proiect\",\"Contact_name\":\"Pro Energie Proiect\",\"\\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\":\"1021600021519\",\"\\u0410\\u0434\\u0440\\u0435\\u0441\":\"str.Grigore Vieru 22\\/1\",\"\\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 Revive 25\",\"\\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)\":\"B7272\",\"\\u0418\\u043c\\u044f \\u043a\\u043b\\u0438\\u0435\\u043d\\u0442\\u0430 (\\u0421\\u041c\\u0421)\":\"Pro Energie Proiect\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"37369973245\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Pro Energie Proiect\",\"Contact_name\":\"Pro Energie Proiect\",\"\\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\":\"1021600021519\",\"\\u0410\\u0434\\u0440\\u0435\\u0441\":\"str.Grigore Vieru 22\\/1\",\"\\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 Revive 25\",\"\\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)\":\"B7272\",\"\\u0418\\u043c\\u044f \\u043a\\u043b\\u0438\\u0435\\u043d\\u0442\\u0430 (\\u0421\\u041c\\u0421)\":\"Pro Energie Proiect\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"37369973245\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Pro Energie Proiect\",\"\\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\":\"20.10.2026\",\"\\u041d\\u043e\\u043c\\u0435\\u0440\":\"1389\"},\"document\":{\"Date\":\"20.10.2026\",\"Number\":\"1389\"}}}","edit":true}} {"uid":"b5db5db"}
[2026-10-20 14:01:57] docflow.INFO: Apel createDoc {"data":{"amoAccountId":"32990686","amoUserId":null,"amoEntityId":"40281167","amoEntityType":"2","templateId":"11625","corporateEntityId":"","settlementAccountId":"","is_signed":null,"gdi":null,"number":null,"currentAmoUserId":null,"lang":"ru"}} {"uid":"6aedd3d"}
[2026-10-20 14:01:58] docflow.INFO: Token is valid for account 32990686. [] {"uid":"6aedd3d"}
[2026-10-20 14:01:58] docflow.DEBUG: getClientAuth returned {"auth":"[object] (stdClass: {\"domain\":\"eurosanteh.amocrm.ru\",\"access_token\":\"eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImp0aSI6ImQ4OGEzOTkzM2JmYjI0ODk3MGVhMzQ0MmIwYTBmNGRhMzU2ZDRlNmE3OWZmMjhhZGYyMDRlODU3ZjU1ZGJmNDJhMGZhZWY2ZDdiMmUyOTdlIn0.eyJhdWQiOiIwZDY0ZGZmYi1lNTRiLTQ0OGYtOWZiZi1iYWYyMjUxYTExZGIiLCJqdGkiOiJkODhhMzk5MzNiZmIyNDg5NzBlYTM0NDJiMGEwZjRkYTM1NmQ0ZTZhNzlmZjI4YWRmMjA0ZTg1N2Y1NWRiZjQyYTBmYWVmNmQ3YjJlMjk3ZSIsImlhdCI6MTc5MjQ5NDEwOCwibmJmIjoxNzkyNDk0MTA4LCJleHAiOjE3OTI1ODA1MDgsInN1YiI6IjEzNjg3MzAyIiwiZ3JhbnRfdHlwZSI6IiIsImFjY291bnRfaWQiOjMyOTkwNjg2LCJiYXNlX2RvbWFpbiI6ImFtb2NybS5ydSIsInZlcnNpb24iOjIsInNjb3BlcyI6WyJwdXNoX25vdGlmaWNhdGlvbnMiLCJjcm0iLCJub3RpZmljYXRpb25zIl0sImhhc2hfdXVpZCI6IjIxNzcyNTZjLTI5ZDktNGNjYy05MWI2LTc2MDkyN2YxNjllYiIsImFwaV9kb21haW4iOiJhcGktYi5hbW9jcm0ucnUifQ.migWzQZC4YW0WHAi2mRPA7jJRw0yWl4PAkPfRKcdHTb8PCshhECKnSg7NduDe7xfUDFHi0oufxkh7xqDz1Ad0ETiOouuC2I35ZWsHNwvvOfGH2s-JAffZ-nr_8SZhNbcP7BdXqf3QQLfoT5E_ACq6b-v-TfrQvwQKhedhAJXHA2w9U6UJ1ZsnVMo_gybDlYUswlRwmYm_Y2P1aYEX_4m5MiuOGWV7FrV4JbOR0bHilKY2SllQ2J2Dr4ms8e-vbQiTZVTBedl4dHqbzkk9SZhVEVLDi7lHd4MSkF8vOotZUQlqWo9ymt-3H9dYUvIOUhRL9SaGrD0XH1cmmJNbSRq3A\"})","file":"/home/ytvmclwh/document.amocrm.md/src/Models/Docs.php","line":121} {"uid":"6aedd3d"}
[2026-10-20 14:02:00] docflow.DEBUG: AmoDrive docflow context request {"url":"https://google.emale.uno/api/docflow/google-context","query":{"account_id":"32990686","entity_id":"40281167","entity_type":"leads"}} {"uid":"6aedd3d"}
[2026-10-20 14:02: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=40281167&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/20 14:02:00</td>\r\n</tr>\r\n</table>\r\n<hr><center>tengine</center>\r\n</body>\r\n</html>\r\n"} {"uid":"6aedd3d"}
[2026-10-20 14:02:00] docflow.DEBUG: AmoDrive docflow context request {"url":"https://gd.glucose-dev.online/api/docflow/google-context","query":{"account_id":"32990686","entity_id":"40281167","entity_type":"leads"}} {"uid":"6aedd3d"}
[2026-10-20 14:02: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":"40281167","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":"6aedd3d"}
[2026-10-20 14:02:00] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://google.emale.uno/api/docflow/prepare-generated-doc","payload":{"account_id":"32990686","entity_id":"40281167","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"6aedd3d"}
[2026-10-20 14:02: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/20 14:02: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":"40281167","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"6aedd3d"}
[2026-10-20 14:02: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":"40281167","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"6aedd3d"}
[2026-10-20 14:02: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":"40281167","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"6aedd3d"}
[2026-10-20 14:02:00] 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 1389 20261020140200\",\"leadId\":\"40281167\",\"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 Revive 25\",\"\\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\":\"\\u0412\\u0442\\u043e\\u0440\\u043d\\u0438\\u043a\",\"\\u0414\\u0430\\u0442\\u0430 \\u0438 \\u0432\\u0440\\u0435\\u043c\\u044f \\u0432\\u0438\\u0437\\u0438\\u0442\\u0430\":\"2026-10-21 17:10:00\",\"\\u0414\\u0430\\u0442\\u0430 \\u0432\\u0438\\u0437\\u0438\\u0442\\u0430\":\"21.10.2026\",\"\\u041c\\u043e\\u0434\\u0435\\u043b\\u044c \\u043e\\u0431\\u043e\\u0440\\u0443\\u0434\\u043e\\u0432\\u0430\\u043d\\u0438\\u044f 1\":\"Haier Revive 25\",\"\\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\":\"40281167\",\"\\u0421\\u0434\\u0435\\u043b\\u043a\\u0430_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"\\u043f\\u0442\\u043e\",\"Lead_name\":\"\\u043f\\u0442\\u043e\",\"\\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 Revive 25\",\"\\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\":\"\\u0412\\u0442\\u043e\\u0440\\u043d\\u0438\\u043a\",\"\\u0414\\u0430\\u0442\\u0430 \\u0438 \\u0432\\u0440\\u0435\\u043c\\u044f \\u0432\\u0438\\u0437\\u0438\\u0442\\u0430\":\"2026-10-21 17:10:00\",\"\\u0414\\u0430\\u0442\\u0430 \\u0432\\u0438\\u0437\\u0438\\u0442\\u0430\":\"21.10.2026\",\"\\u041c\\u043e\\u0434\\u0435\\u043b\\u044c \\u043e\\u0431\\u043e\\u0440\\u0443\\u0434\\u043e\\u0432\\u0430\\u043d\\u0438\\u044f 1\":\"Haier Revive 25\",\"\\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\":\"40281167\",\"\\u0421\\u0434\\u0435\\u043b\\u043a\\u0430_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"\\u043f\\u0442\\u043e\",\"Lead_name\":\"\\u043f\\u0442\\u043e\",\"\\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\":\"1021600021519\",\"\\u0410\\u0434\\u0440\\u0435\\u0441\":\"str.Grigore Vieru 22\\/1\",\"\\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 Revive 25\",\"\\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)\":\"B7272\",\"\\u0418\\u043c\\u044f \\u043a\\u043b\\u0438\\u0435\\u043d\\u0442\\u0430 (\\u0421\\u041c\\u0421)\":\"Pro Energie Proiect\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"37369973245\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Pro Energie Proiect\",\"Contact_name\":\"Pro Energie Proiect\",\"\\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\":\"1021600021519\",\"\\u0410\\u0434\\u0440\\u0435\\u0441\":\"str.Grigore Vieru 22\\/1\",\"\\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 Revive 25\",\"\\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)\":\"B7272\",\"\\u0418\\u043c\\u044f \\u043a\\u043b\\u0438\\u0435\\u043d\\u0442\\u0430 (\\u0421\\u041c\\u0421)\":\"Pro Energie Proiect\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"37369973245\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Pro Energie Proiect\",\"Contact_name\":\"Pro Energie Proiect\",\"\\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\":\"1021600021519\",\"\\u0410\\u0434\\u0440\\u0435\\u0441\":\"str.Grigore Vieru 22\\/1\",\"\\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 Revive 25\",\"\\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)\":\"B7272\",\"\\u0418\\u043c\\u044f \\u043a\\u043b\\u0438\\u0435\\u043d\\u0442\\u0430 (\\u0421\\u041c\\u0421)\":\"Pro Energie Proiect\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"37369973245\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Pro Energie Proiect\",\"\\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\":\"20.10.2026\",\"\\u041d\\u043e\\u043c\\u0435\\u0440\":\"1389\"},\"document\":{\"Date\":\"20.10.2026\",\"Number\":\"1389\"}}}","edit":true}} {"uid":"6aedd3d"}
[2026-10-20 14:02:09] docflow.DEBUG: GAS raw response {"raw":"[object] (stdClass: {\"code\":1,\"url\":\"https://docs.google.com/open?id=1ciOFBGMtj4kj54P6AXlG4TT1sWQNLKU0O7sv2GS38Rs\",\"file_id\":\"1ciOFBGMtj4kj54P6AXlG4TT1sWQNLKU0O7sv2GS38Rs\",\"error\":\"\",\"vars\":\"\"})"} {"uid":"6aedd3d"}
[2026-10-20 14:02:09] docflow.WARNING: AmoDrive generated-file move is not ready. {"fileId":"1ciOFBGMtj4kj54P6AXlG4TT1sWQNLKU0O7sv2GS38Rs","context":null} {"uid":"6aedd3d"}
[2026-10-20 14:02:09] docflow.DEBUG: GAS raw response {"raw":"[object] (stdClass: {\"code\":1,\"url\":\"https://docs.google.com/open?id=1ABiN4pB_bQuaPfoTNZNstFTFwiZ7zcBa3bu0gpQiy78\",\"file_id\":\"1ABiN4pB_bQuaPfoTNZNstFTFwiZ7zcBa3bu0gpQiy78\",\"error\":\"\",\"vars\":\"\"})"} {"uid":"b5db5db"}
[2026-10-20 14:02:09] docflow.WARNING: AmoDrive generated-file move is not ready. {"fileId":"1ABiN4pB_bQuaPfoTNZNstFTFwiZ7zcBa3bu0gpQiy78","context":null} {"uid":"b5db5db"}
[2026-10-20 14:02:29] docflow.INFO: Apel createDoc {"data":{"amoAccountId":"32990686","amoUserId":null,"amoEntityId":"40281167","amoEntityType":"2","templateId":"11646","corporateEntityId":"","settlementAccountId":"","is_signed":null,"gdi":null,"number":null,"currentAmoUserId":null,"lang":"ru"}} {"uid":"6617cba"}
[2026-10-20 14:02:29] docflow.INFO: Token is valid for account 32990686. [] {"uid":"6617cba"}
[2026-10-20 14:02:29] docflow.DEBUG: getClientAuth returned {"auth":"[object] (stdClass: {\"domain\":\"eurosanteh.amocrm.ru\",\"access_token\":\"eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImp0aSI6ImQ4OGEzOTkzM2JmYjI0ODk3MGVhMzQ0MmIwYTBmNGRhMzU2ZDRlNmE3OWZmMjhhZGYyMDRlODU3ZjU1ZGJmNDJhMGZhZWY2ZDdiMmUyOTdlIn0.eyJhdWQiOiIwZDY0ZGZmYi1lNTRiLTQ0OGYtOWZiZi1iYWYyMjUxYTExZGIiLCJqdGkiOiJkODhhMzk5MzNiZmIyNDg5NzBlYTM0NDJiMGEwZjRkYTM1NmQ0ZTZhNzlmZjI4YWRmMjA0ZTg1N2Y1NWRiZjQyYTBmYWVmNmQ3YjJlMjk3ZSIsImlhdCI6MTc5MjQ5NDEwOCwibmJmIjoxNzkyNDk0MTA4LCJleHAiOjE3OTI1ODA1MDgsInN1YiI6IjEzNjg3MzAyIiwiZ3JhbnRfdHlwZSI6IiIsImFjY291bnRfaWQiOjMyOTkwNjg2LCJiYXNlX2RvbWFpbiI6ImFtb2NybS5ydSIsInZlcnNpb24iOjIsInNjb3BlcyI6WyJwdXNoX25vdGlmaWNhdGlvbnMiLCJjcm0iLCJub3RpZmljYXRpb25zIl0sImhhc2hfdXVpZCI6IjIxNzcyNTZjLTI5ZDktNGNjYy05MWI2LTc2MDkyN2YxNjllYiIsImFwaV9kb21haW4iOiJhcGktYi5hbW9jcm0ucnUifQ.migWzQZC4YW0WHAi2mRPA7jJRw0yWl4PAkPfRKcdHTb8PCshhECKnSg7NduDe7xfUDFHi0oufxkh7xqDz1Ad0ETiOouuC2I35ZWsHNwvvOfGH2s-JAffZ-nr_8SZhNbcP7BdXqf3QQLfoT5E_ACq6b-v-TfrQvwQKhedhAJXHA2w9U6UJ1ZsnVMo_gybDlYUswlRwmYm_Y2P1aYEX_4m5MiuOGWV7FrV4JbOR0bHilKY2SllQ2J2Dr4ms8e-vbQiTZVTBedl4dHqbzkk9SZhVEVLDi7lHd4MSkF8vOotZUQlqWo9ymt-3H9dYUvIOUhRL9SaGrD0XH1cmmJNbSRq3A\"})","file":"/home/ytvmclwh/document.amocrm.md/src/Models/Docs.php","line":121} {"uid":"6617cba"}
[2026-10-20 14:02:33] docflow.DEBUG: AmoDrive docflow context request {"url":"https://google.emale.uno/api/docflow/google-context","query":{"account_id":"32990686","entity_id":"40281167","entity_type":"leads"}} {"uid":"6617cba"}
[2026-10-20 14:02: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=32990686&amp;entity_id=40281167&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/20 14:02:33</td>\r\n</tr>\r\n</table>\r\n<hr><center>tengine</center>\r\n</body>\r\n</html>\r\n"} {"uid":"6617cba"}
[2026-10-20 14:02:33] docflow.DEBUG: AmoDrive docflow context request {"url":"https://gd.glucose-dev.online/api/docflow/google-context","query":{"account_id":"32990686","entity_id":"40281167","entity_type":"leads"}} {"uid":"6617cba"}
[2026-10-20 14:02: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":32990686,"entityId":"40281167","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":"6617cba"}
[2026-10-20 14:02:33] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://google.emale.uno/api/docflow/prepare-generated-doc","payload":{"account_id":"32990686","entity_id":"40281167","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"6617cba"}
[2026-10-20 14:02: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/20 14:02: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":"32990686","entity_id":"40281167","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"6617cba"}
[2026-10-20 14:02:33] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://gd.glucose-dev.online/api/docflow/prepare-generated-doc","payload":{"account_id":"32990686","entity_id":"40281167","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"6617cba"}
[2026-10-20 14:02: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\":32990686})","payload":{"account_id":"32990686","entity_id":"40281167","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"6617cba"}
[2026-10-20 14:02:33] 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 1389 20261020140233\",\"leadId\":\"40281167\",\"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 Revive 25\",\"\\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\":\"\\u0412\\u0442\\u043e\\u0440\\u043d\\u0438\\u043a\",\"\\u0414\\u0430\\u0442\\u0430 \\u0438 \\u0432\\u0440\\u0435\\u043c\\u044f \\u0432\\u0438\\u0437\\u0438\\u0442\\u0430\":\"2026-10-21 17:10:00\",\"\\u0414\\u0430\\u0442\\u0430 \\u0432\\u0438\\u0437\\u0438\\u0442\\u0430\":\"21.10.2026\",\"\\u041c\\u043e\\u0434\\u0435\\u043b\\u044c \\u043e\\u0431\\u043e\\u0440\\u0443\\u0434\\u043e\\u0432\\u0430\\u043d\\u0438\\u044f 1\":\"Haier Revive 25\",\"\\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\":\"40281167\",\"\\u0421\\u0434\\u0435\\u043b\\u043a\\u0430_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"\\u043f\\u0442\\u043e\",\"Lead_name\":\"\\u043f\\u0442\\u043e\",\"\\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 Revive 25\",\"\\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\":\"\\u0412\\u0442\\u043e\\u0440\\u043d\\u0438\\u043a\",\"\\u0414\\u0430\\u0442\\u0430 \\u0438 \\u0432\\u0440\\u0435\\u043c\\u044f \\u0432\\u0438\\u0437\\u0438\\u0442\\u0430\":\"2026-10-21 17:10:00\",\"\\u0414\\u0430\\u0442\\u0430 \\u0432\\u0438\\u0437\\u0438\\u0442\\u0430\":\"21.10.2026\",\"\\u041c\\u043e\\u0434\\u0435\\u043b\\u044c \\u043e\\u0431\\u043e\\u0440\\u0443\\u0434\\u043e\\u0432\\u0430\\u043d\\u0438\\u044f 1\":\"Haier Revive 25\",\"\\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\":\"40281167\",\"\\u0421\\u0434\\u0435\\u043b\\u043a\\u0430_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"\\u043f\\u0442\\u043e\",\"Lead_name\":\"\\u043f\\u0442\\u043e\",\"\\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\":\"1021600021519\",\"\\u0410\\u0434\\u0440\\u0435\\u0441\":\"str.Grigore Vieru 22\\/1\",\"\\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 Revive 25\",\"\\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)\":\"B7272\",\"\\u0418\\u043c\\u044f \\u043a\\u043b\\u0438\\u0435\\u043d\\u0442\\u0430 (\\u0421\\u041c\\u0421)\":\"Pro Energie Proiect\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"37369973245\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Pro Energie Proiect\",\"Contact_name\":\"Pro Energie Proiect\",\"\\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\":\"1021600021519\",\"\\u0410\\u0434\\u0440\\u0435\\u0441\":\"str.Grigore Vieru 22\\/1\",\"\\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 Revive 25\",\"\\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)\":\"B7272\",\"\\u0418\\u043c\\u044f \\u043a\\u043b\\u0438\\u0435\\u043d\\u0442\\u0430 (\\u0421\\u041c\\u0421)\":\"Pro Energie Proiect\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"37369973245\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Pro Energie Proiect\",\"Contact_name\":\"Pro Energie Proiect\",\"\\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\":\"1021600021519\",\"\\u0410\\u0434\\u0440\\u0435\\u0441\":\"str.Grigore Vieru 22\\/1\",\"\\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 Revive 25\",\"\\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)\":\"B7272\",\"\\u0418\\u043c\\u044f \\u043a\\u043b\\u0438\\u0435\\u043d\\u0442\\u0430 (\\u0421\\u041c\\u0421)\":\"Pro Energie Proiect\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"37369973245\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Pro Energie Proiect\",\"\\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\":\"20.10.2026\",\"\\u041d\\u043e\\u043c\\u0435\\u0440\":\"1389\"},\"document\":{\"Date\":\"20.10.2026\",\"Number\":\"1389\"}}}","edit":true}} {"uid":"6617cba"}
[2026-10-20 14:02:39] docflow.DEBUG: GAS raw response {"raw":"[object] (stdClass: {\"code\":1,\"url\":\"https://docs.google.com/open?id=1R1sgbnrvT9BfVhnNRRYMwqNBUKeOrmL9xgrf0IBCZfs\",\"file_id\":\"1R1sgbnrvT9BfVhnNRRYMwqNBUKeOrmL9xgrf0IBCZfs\",\"error\":\"\",\"vars\":\"\"})"} {"uid":"6617cba"}
[2026-10-20 14:02:39] docflow.WARNING: AmoDrive generated-file move is not ready. {"fileId":"1R1sgbnrvT9BfVhnNRRYMwqNBUKeOrmL9xgrf0IBCZfs","context":null} {"uid":"6617cba"}
[2026-10-20 14:06:37] docflow.INFO: Apel createDoc {"data":{"amoAccountId":"32990686","amoUserId":null,"amoEntityId":"40281057","amoEntityType":"2","templateId":"11625","corporateEntityId":"","settlementAccountId":"","is_signed":null,"gdi":null,"number":null,"currentAmoUserId":null,"lang":"ru"}} {"uid":"e987141"}
[2026-10-20 14:06:37] docflow.INFO: Token is valid for account 32990686. [] {"uid":"e987141"}
[2026-10-20 14:06:37] docflow.DEBUG: getClientAuth returned {"auth":"[object] (stdClass: {\"domain\":\"eurosanteh.amocrm.ru\",\"access_token\":\"eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImp0aSI6ImQ4OGEzOTkzM2JmYjI0ODk3MGVhMzQ0MmIwYTBmNGRhMzU2ZDRlNmE3OWZmMjhhZGYyMDRlODU3ZjU1ZGJmNDJhMGZhZWY2ZDdiMmUyOTdlIn0.eyJhdWQiOiIwZDY0ZGZmYi1lNTRiLTQ0OGYtOWZiZi1iYWYyMjUxYTExZGIiLCJqdGkiOiJkODhhMzk5MzNiZmIyNDg5NzBlYTM0NDJiMGEwZjRkYTM1NmQ0ZTZhNzlmZjI4YWRmMjA0ZTg1N2Y1NWRiZjQyYTBmYWVmNmQ3YjJlMjk3ZSIsImlhdCI6MTc5MjQ5NDEwOCwibmJmIjoxNzkyNDk0MTA4LCJleHAiOjE3OTI1ODA1MDgsInN1YiI6IjEzNjg3MzAyIiwiZ3JhbnRfdHlwZSI6IiIsImFjY291bnRfaWQiOjMyOTkwNjg2LCJiYXNlX2RvbWFpbiI6ImFtb2NybS5ydSIsInZlcnNpb24iOjIsInNjb3BlcyI6WyJwdXNoX25vdGlmaWNhdGlvbnMiLCJjcm0iLCJub3RpZmljYXRpb25zIl0sImhhc2hfdXVpZCI6IjIxNzcyNTZjLTI5ZDktNGNjYy05MWI2LTc2MDkyN2YxNjllYiIsImFwaV9kb21haW4iOiJhcGktYi5hbW9jcm0ucnUifQ.migWzQZC4YW0WHAi2mRPA7jJRw0yWl4PAkPfRKcdHTb8PCshhECKnSg7NduDe7xfUDFHi0oufxkh7xqDz1Ad0ETiOouuC2I35ZWsHNwvvOfGH2s-JAffZ-nr_8SZhNbcP7BdXqf3QQLfoT5E_ACq6b-v-TfrQvwQKhedhAJXHA2w9U6UJ1ZsnVMo_gybDlYUswlRwmYm_Y2P1aYEX_4m5MiuOGWV7FrV4JbOR0bHilKY2SllQ2J2Dr4ms8e-vbQiTZVTBedl4dHqbzkk9SZhVEVLDi7lHd4MSkF8vOotZUQlqWo9ymt-3H9dYUvIOUhRL9SaGrD0XH1cmmJNbSRq3A\"})","file":"/home/ytvmclwh/document.amocrm.md/src/Models/Docs.php","line":121} {"uid":"e987141"}
[2026-10-20 14:06:39] docflow.DEBUG: AmoDrive docflow context request {"url":"https://google.emale.uno/api/docflow/google-context","query":{"account_id":"32990686","entity_id":"40281057","entity_type":"leads"}} {"uid":"e987141"}
[2026-10-20 14:06:39] 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=40281057&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/20 14:06:39</td>\r\n</tr>\r\n</table>\r\n<hr><center>tengine</center>\r\n</body>\r\n</html>\r\n"} {"uid":"e987141"}
[2026-10-20 14:06:39] docflow.DEBUG: AmoDrive docflow context request {"url":"https://gd.glucose-dev.online/api/docflow/google-context","query":{"account_id":"32990686","entity_id":"40281057","entity_type":"leads"}} {"uid":"e987141"}
[2026-10-20 14:06:39] 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":"40281057","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":"e987141"}
[2026-10-20 14:06:39] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://google.emale.uno/api/docflow/prepare-generated-doc","payload":{"account_id":"32990686","entity_id":"40281057","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"e987141"}
[2026-10-20 14:06: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/20 14:06: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":"32990686","entity_id":"40281057","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"e987141"}
[2026-10-20 14:06:40] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://gd.glucose-dev.online/api/docflow/prepare-generated-doc","payload":{"account_id":"32990686","entity_id":"40281057","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"e987141"}
[2026-10-20 14:06: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\":32990686})","payload":{"account_id":"32990686","entity_id":"40281057","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"e987141"}
[2026-10-20 14:06:40] 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 1391 20261020140639\",\"leadId\":\"40281057\",\"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\":\"21.10.2027\",\"\\u041d\\u043e\\u043c\\u0435\\u0440 \\u043a\\u043e\\u043d\\u0442\\u0440\\u0430\\u043a\\u0442\\u0430\":\"C7120\",\"\\u0414\\u0430\\u0442\\u0430 \\u043c\\u043e\\u043d\\u0442\\u0430\\u0436\\u0430 (\\u0411\\u0414)\":\"21.10.2025\",\"\\u041d\\u0430\\u0437\\u0432\\u0430\\u043d\\u0438\\u0435 \\u0442\\u043e\\u0432\\u0430\\u0440\\u0430 (\\u0411\\u0414)\":\"0\",\"\\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\":\"\\u0412\\u0442\\u043e\\u0440\\u043d\\u0438\\u043a\",\"\\u0414\\u0430\\u0442\\u0430 \\u0438 \\u0432\\u0440\\u0435\\u043c\\u044f \\u0432\\u0438\\u0437\\u0438\\u0442\\u0430\":\"2026-10-21 14:05:00\",\"\\u0414\\u0430\\u0442\\u0430 \\u0432\\u0438\\u0437\\u0438\\u0442\\u0430\":\"21.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\",\"\\u0418\\u0441\\u043f\\u043e\\u043b\\u043d\\u0438\\u0442\\u0435\\u043b\\u044c\":\"Ghenadie Tiuhtii\",\"\\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\":\"Haier Pearl 50\",\"ID\":\"40281057\",\"\\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\":\"21.10.2027\",\"\\u041d\\u043e\\u043c\\u0435\\u0440 \\u043a\\u043e\\u043d\\u0442\\u0440\\u0430\\u043a\\u0442\\u0430\":\"C7120\",\"\\u0414\\u0430\\u0442\\u0430 \\u043c\\u043e\\u043d\\u0442\\u0430\\u0436\\u0430 (\\u0411\\u0414)\":\"21.10.2025\",\"\\u041d\\u0430\\u0437\\u0432\\u0430\\u043d\\u0438\\u0435 \\u0442\\u043e\\u0432\\u0430\\u0440\\u0430 (\\u0411\\u0414)\":\"0\",\"\\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\":\"\\u0412\\u0442\\u043e\\u0440\\u043d\\u0438\\u043a\",\"\\u0414\\u0430\\u0442\\u0430 \\u0438 \\u0432\\u0440\\u0435\\u043c\\u044f \\u0432\\u0438\\u0437\\u0438\\u0442\\u0430\":\"2026-10-21 14:05:00\",\"\\u0414\\u0430\\u0442\\u0430 \\u0432\\u0438\\u0437\\u0438\\u0442\\u0430\":\"21.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\",\"\\u0418\\u0441\\u043f\\u043e\\u043b\\u043d\\u0438\\u0442\\u0435\\u043b\\u044c\":\"Ghenadie Tiuhtii\",\"\\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\":\"Haier Pearl 50\",\"ID\":\"40281057\",\"\\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\":\"2002042140128\",\"\\u0410\\u0434\\u0440\\u0435\\u0441\":\"sat.Braila str.Nucarilor 19\",\"\\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)\":\"21.10.2025\",\"\\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)\":\"C7120\",\"\\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 Pearl 50\",\"\\u0418\\u043c\\u044f \\u043a\\u043b\\u0438\\u0435\\u043d\\u0442\\u0430 (\\u0421\\u041c\\u0421)\":\"Ion\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"37368511012\",\"\\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\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Ion Danu\",\"Contact_name\":\"Ion Danu\",\"\\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\":\"2002042140128\",\"\\u0410\\u0434\\u0440\\u0435\\u0441\":\"sat.Braila str.Nucarilor 19\",\"\\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)\":\"21.10.2025\",\"\\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)\":\"C7120\",\"\\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 Pearl 50\",\"\\u0418\\u043c\\u044f \\u043a\\u043b\\u0438\\u0435\\u043d\\u0442\\u0430 (\\u0421\\u041c\\u0421)\":\"Ion\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"37368511012\",\"\\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\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Ion Danu\",\"Contact_name\":\"Ion Danu\",\"\\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\":\"2002042140128\",\"\\u0410\\u0434\\u0440\\u0435\\u0441\":\"sat.Braila str.Nucarilor 19\",\"\\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)\":\"21.10.2025\",\"\\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)\":\"C7120\",\"\\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 Pearl 50\",\"\\u0418\\u043c\\u044f \\u043a\\u043b\\u0438\\u0435\\u043d\\u0442\\u0430 (\\u0421\\u041c\\u0421)\":\"Ion\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"37368511012\",\"\\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\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Ion Danu\",\"\\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\":\"20.10.2026\",\"\\u041d\\u043e\\u043c\\u0435\\u0440\":\"1391\"},\"document\":{\"Date\":\"20.10.2026\",\"Number\":\"1391\"}}}","edit":true}} {"uid":"e987141"}
[2026-10-20 14:06:47] docflow.DEBUG: GAS raw response {"raw":"[object] (stdClass: {\"code\":1,\"url\":\"https://docs.google.com/open?id=1AcyuXq1fjkGbd0gHKVoVReIFWlkDskuunVI_Z0ZaVow\",\"file_id\":\"1AcyuXq1fjkGbd0gHKVoVReIFWlkDskuunVI_Z0ZaVow\",\"error\":\"\",\"vars\":\"\"})"} {"uid":"e987141"}
[2026-10-20 14:06:47] docflow.WARNING: AmoDrive generated-file move is not ready. {"fileId":"1AcyuXq1fjkGbd0gHKVoVReIFWlkDskuunVI_Z0ZaVow","context":null} {"uid":"e987141"}
[2026-10-20 14:06:55] docflow.INFO: Apel createDoc {"data":{"amoAccountId":"32990686","amoUserId":null,"amoEntityId":"40281057","amoEntityType":"2","templateId":"11646","corporateEntityId":"","settlementAccountId":"","is_signed":null,"gdi":null,"number":null,"currentAmoUserId":null,"lang":"ru"}} {"uid":"1dc6fb3"}
[2026-10-20 14:06:55] docflow.INFO: Token is valid for account 32990686. [] {"uid":"1dc6fb3"}
[2026-10-20 14:06:55] docflow.DEBUG: getClientAuth returned {"auth":"[object] (stdClass: {\"domain\":\"eurosanteh.amocrm.ru\",\"access_token\":\"eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImp0aSI6ImQ4OGEzOTkzM2JmYjI0ODk3MGVhMzQ0MmIwYTBmNGRhMzU2ZDRlNmE3OWZmMjhhZGYyMDRlODU3ZjU1ZGJmNDJhMGZhZWY2ZDdiMmUyOTdlIn0.eyJhdWQiOiIwZDY0ZGZmYi1lNTRiLTQ0OGYtOWZiZi1iYWYyMjUxYTExZGIiLCJqdGkiOiJkODhhMzk5MzNiZmIyNDg5NzBlYTM0NDJiMGEwZjRkYTM1NmQ0ZTZhNzlmZjI4YWRmMjA0ZTg1N2Y1NWRiZjQyYTBmYWVmNmQ3YjJlMjk3ZSIsImlhdCI6MTc5MjQ5NDEwOCwibmJmIjoxNzkyNDk0MTA4LCJleHAiOjE3OTI1ODA1MDgsInN1YiI6IjEzNjg3MzAyIiwiZ3JhbnRfdHlwZSI6IiIsImFjY291bnRfaWQiOjMyOTkwNjg2LCJiYXNlX2RvbWFpbiI6ImFtb2NybS5ydSIsInZlcnNpb24iOjIsInNjb3BlcyI6WyJwdXNoX25vdGlmaWNhdGlvbnMiLCJjcm0iLCJub3RpZmljYXRpb25zIl0sImhhc2hfdXVpZCI6IjIxNzcyNTZjLTI5ZDktNGNjYy05MWI2LTc2MDkyN2YxNjllYiIsImFwaV9kb21haW4iOiJhcGktYi5hbW9jcm0ucnUifQ.migWzQZC4YW0WHAi2mRPA7jJRw0yWl4PAkPfRKcdHTb8PCshhECKnSg7NduDe7xfUDFHi0oufxkh7xqDz1Ad0ETiOouuC2I35ZWsHNwvvOfGH2s-JAffZ-nr_8SZhNbcP7BdXqf3QQLfoT5E_ACq6b-v-TfrQvwQKhedhAJXHA2w9U6UJ1ZsnVMo_gybDlYUswlRwmYm_Y2P1aYEX_4m5MiuOGWV7FrV4JbOR0bHilKY2SllQ2J2Dr4ms8e-vbQiTZVTBedl4dHqbzkk9SZhVEVLDi7lHd4MSkF8vOotZUQlqWo9ymt-3H9dYUvIOUhRL9SaGrD0XH1cmmJNbSRq3A\"})","file":"/home/ytvmclwh/document.amocrm.md/src/Models/Docs.php","line":121} {"uid":"1dc6fb3"}
[2026-10-20 14:06:57] docflow.DEBUG: AmoDrive docflow context request {"url":"https://google.emale.uno/api/docflow/google-context","query":{"account_id":"32990686","entity_id":"40281057","entity_type":"leads"}} {"uid":"1dc6fb3"}
[2026-10-20 14:06:57] 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=40281057&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/20 14:06:57</td>\r\n</tr>\r\n</table>\r\n<hr><center>tengine</center>\r\n</body>\r\n</html>\r\n"} {"uid":"1dc6fb3"}
[2026-10-20 14:06:57] docflow.DEBUG: AmoDrive docflow context request {"url":"https://gd.glucose-dev.online/api/docflow/google-context","query":{"account_id":"32990686","entity_id":"40281057","entity_type":"leads"}} {"uid":"1dc6fb3"}
[2026-10-20 14:06:57] 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":"40281057","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":"1dc6fb3"}
[2026-10-20 14:06:57] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://google.emale.uno/api/docflow/prepare-generated-doc","payload":{"account_id":"32990686","entity_id":"40281057","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"1dc6fb3"}
[2026-10-20 14:06:58] 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/20 14:06:58</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":"40281057","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"1dc6fb3"}
[2026-10-20 14:06:58] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://gd.glucose-dev.online/api/docflow/prepare-generated-doc","payload":{"account_id":"32990686","entity_id":"40281057","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"1dc6fb3"}
[2026-10-20 14:06:58] 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":"40281057","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"1dc6fb3"}
[2026-10-20 14:06:58] 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 1390 20261020140657\",\"leadId\":\"40281057\",\"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\":\"21.10.2027\",\"\\u041d\\u043e\\u043c\\u0435\\u0440 \\u043a\\u043e\\u043d\\u0442\\u0440\\u0430\\u043a\\u0442\\u0430\":\"C7120\",\"\\u0414\\u0430\\u0442\\u0430 \\u043c\\u043e\\u043d\\u0442\\u0430\\u0436\\u0430 (\\u0411\\u0414)\":\"21.10.2025\",\"\\u041d\\u0430\\u0437\\u0432\\u0430\\u043d\\u0438\\u0435 \\u0442\\u043e\\u0432\\u0430\\u0440\\u0430 (\\u0411\\u0414)\":\"0\",\"\\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\":\"\\u0412\\u0442\\u043e\\u0440\\u043d\\u0438\\u043a\",\"\\u0414\\u0430\\u0442\\u0430 \\u0438 \\u0432\\u0440\\u0435\\u043c\\u044f \\u0432\\u0438\\u0437\\u0438\\u0442\\u0430\":\"2026-10-21 14:05:00\",\"\\u0414\\u0430\\u0442\\u0430 \\u0432\\u0438\\u0437\\u0438\\u0442\\u0430\":\"21.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\",\"\\u0418\\u0441\\u043f\\u043e\\u043b\\u043d\\u0438\\u0442\\u0435\\u043b\\u044c\":\"Ghenadie Tiuhtii\",\"\\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\":\"Haier Pearl 50\",\"ID\":\"40281057\",\"\\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\":\"21.10.2027\",\"\\u041d\\u043e\\u043c\\u0435\\u0440 \\u043a\\u043e\\u043d\\u0442\\u0440\\u0430\\u043a\\u0442\\u0430\":\"C7120\",\"\\u0414\\u0430\\u0442\\u0430 \\u043c\\u043e\\u043d\\u0442\\u0430\\u0436\\u0430 (\\u0411\\u0414)\":\"21.10.2025\",\"\\u041d\\u0430\\u0437\\u0432\\u0430\\u043d\\u0438\\u0435 \\u0442\\u043e\\u0432\\u0430\\u0440\\u0430 (\\u0411\\u0414)\":\"0\",\"\\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\":\"\\u0412\\u0442\\u043e\\u0440\\u043d\\u0438\\u043a\",\"\\u0414\\u0430\\u0442\\u0430 \\u0438 \\u0432\\u0440\\u0435\\u043c\\u044f \\u0432\\u0438\\u0437\\u0438\\u0442\\u0430\":\"2026-10-21 14:05:00\",\"\\u0414\\u0430\\u0442\\u0430 \\u0432\\u0438\\u0437\\u0438\\u0442\\u0430\":\"21.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\",\"\\u0418\\u0441\\u043f\\u043e\\u043b\\u043d\\u0438\\u0442\\u0435\\u043b\\u044c\":\"Ghenadie Tiuhtii\",\"\\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\":\"Haier Pearl 50\",\"ID\":\"40281057\",\"\\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\":\"2002042140128\",\"\\u0410\\u0434\\u0440\\u0435\\u0441\":\"sat.Braila str.Nucarilor 19\",\"\\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)\":\"21.10.2025\",\"\\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)\":\"C7120\",\"\\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 Pearl 50\",\"\\u0418\\u043c\\u044f \\u043a\\u043b\\u0438\\u0435\\u043d\\u0442\\u0430 (\\u0421\\u041c\\u0421)\":\"Ion\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"37368511012\",\"\\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\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Ion Danu\",\"Contact_name\":\"Ion Danu\",\"\\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\":\"2002042140128\",\"\\u0410\\u0434\\u0440\\u0435\\u0441\":\"sat.Braila str.Nucarilor 19\",\"\\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)\":\"21.10.2025\",\"\\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)\":\"C7120\",\"\\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 Pearl 50\",\"\\u0418\\u043c\\u044f \\u043a\\u043b\\u0438\\u0435\\u043d\\u0442\\u0430 (\\u0421\\u041c\\u0421)\":\"Ion\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"37368511012\",\"\\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\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Ion Danu\",\"Contact_name\":\"Ion Danu\",\"\\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\":\"2002042140128\",\"\\u0410\\u0434\\u0440\\u0435\\u0441\":\"sat.Braila str.Nucarilor 19\",\"\\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)\":\"21.10.2025\",\"\\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)\":\"C7120\",\"\\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 Pearl 50\",\"\\u0418\\u043c\\u044f \\u043a\\u043b\\u0438\\u0435\\u043d\\u0442\\u0430 (\\u0421\\u041c\\u0421)\":\"Ion\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"37368511012\",\"\\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\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Ion Danu\",\"\\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\":\"20.10.2026\",\"\\u041d\\u043e\\u043c\\u0435\\u0440\":\"1390\"},\"document\":{\"Date\":\"20.10.2026\",\"Number\":\"1390\"}}}","edit":true}} {"uid":"1dc6fb3"}
[2026-10-20 14:07:03] docflow.DEBUG: GAS raw response {"raw":"[object] (stdClass: {\"code\":1,\"url\":\"https://docs.google.com/open?id=1Tn9PrfwjVlGKNbqN91CrfN9-iL77b7qK-xqIwWEXTIs\",\"file_id\":\"1Tn9PrfwjVlGKNbqN91CrfN9-iL77b7qK-xqIwWEXTIs\",\"error\":\"\",\"vars\":\"\"})"} {"uid":"1dc6fb3"}
[2026-10-20 14:07:03] docflow.WARNING: AmoDrive generated-file move is not ready. {"fileId":"1Tn9PrfwjVlGKNbqN91CrfN9-iL77b7qK-xqIwWEXTIs","context":null} {"uid":"1dc6fb3"}
[2026-10-20 14:08:24] docflow.INFO: Apel createDoc {"data":{"amoAccountId":"32990686","amoUserId":null,"amoEntityId":"40281057","amoEntityType":"2","templateId":"11646","corporateEntityId":"","settlementAccountId":"","is_signed":null,"gdi":null,"number":null,"currentAmoUserId":null,"lang":"ru"}} {"uid":"7da41c0"}
[2026-10-20 14:08:25] docflow.INFO: Token is valid for account 32990686. [] {"uid":"7da41c0"}
[2026-10-20 14:08:25] docflow.DEBUG: getClientAuth returned {"auth":"[object] (stdClass: {\"domain\":\"eurosanteh.amocrm.ru\",\"access_token\":\"eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImp0aSI6ImQ4OGEzOTkzM2JmYjI0ODk3MGVhMzQ0MmIwYTBmNGRhMzU2ZDRlNmE3OWZmMjhhZGYyMDRlODU3ZjU1ZGJmNDJhMGZhZWY2ZDdiMmUyOTdlIn0.eyJhdWQiOiIwZDY0ZGZmYi1lNTRiLTQ0OGYtOWZiZi1iYWYyMjUxYTExZGIiLCJqdGkiOiJkODhhMzk5MzNiZmIyNDg5NzBlYTM0NDJiMGEwZjRkYTM1NmQ0ZTZhNzlmZjI4YWRmMjA0ZTg1N2Y1NWRiZjQyYTBmYWVmNmQ3YjJlMjk3ZSIsImlhdCI6MTc5MjQ5NDEwOCwibmJmIjoxNzkyNDk0MTA4LCJleHAiOjE3OTI1ODA1MDgsInN1YiI6IjEzNjg3MzAyIiwiZ3JhbnRfdHlwZSI6IiIsImFjY291bnRfaWQiOjMyOTkwNjg2LCJiYXNlX2RvbWFpbiI6ImFtb2NybS5ydSIsInZlcnNpb24iOjIsInNjb3BlcyI6WyJwdXNoX25vdGlmaWNhdGlvbnMiLCJjcm0iLCJub3RpZmljYXRpb25zIl0sImhhc2hfdXVpZCI6IjIxNzcyNTZjLTI5ZDktNGNjYy05MWI2LTc2MDkyN2YxNjllYiIsImFwaV9kb21haW4iOiJhcGktYi5hbW9jcm0ucnUifQ.migWzQZC4YW0WHAi2mRPA7jJRw0yWl4PAkPfRKcdHTb8PCshhECKnSg7NduDe7xfUDFHi0oufxkh7xqDz1Ad0ETiOouuC2I35ZWsHNwvvOfGH2s-JAffZ-nr_8SZhNbcP7BdXqf3QQLfoT5E_ACq6b-v-TfrQvwQKhedhAJXHA2w9U6UJ1ZsnVMo_gybDlYUswlRwmYm_Y2P1aYEX_4m5MiuOGWV7FrV4JbOR0bHilKY2SllQ2J2Dr4ms8e-vbQiTZVTBedl4dHqbzkk9SZhVEVLDi7lHd4MSkF8vOotZUQlqWo9ymt-3H9dYUvIOUhRL9SaGrD0XH1cmmJNbSRq3A\"})","file":"/home/ytvmclwh/document.amocrm.md/src/Models/Docs.php","line":121} {"uid":"7da41c0"}
[2026-10-20 14:08:27] docflow.DEBUG: AmoDrive docflow context request {"url":"https://google.emale.uno/api/docflow/google-context","query":{"account_id":"32990686","entity_id":"40281057","entity_type":"leads"}} {"uid":"7da41c0"}
[2026-10-20 14:08:27] 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=40281057&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/20 14:08:27</td>\r\n</tr>\r\n</table>\r\n<hr><center>tengine</center>\r\n</body>\r\n</html>\r\n"} {"uid":"7da41c0"}
[2026-10-20 14:08:27] docflow.DEBUG: AmoDrive docflow context request {"url":"https://gd.glucose-dev.online/api/docflow/google-context","query":{"account_id":"32990686","entity_id":"40281057","entity_type":"leads"}} {"uid":"7da41c0"}
[2026-10-20 14:08:27] 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":"40281057","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":"7da41c0"}
[2026-10-20 14:08:27] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://google.emale.uno/api/docflow/prepare-generated-doc","payload":{"account_id":"32990686","entity_id":"40281057","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"7da41c0"}
[2026-10-20 14:08:27] 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/20 14:08:27</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":"40281057","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"7da41c0"}
[2026-10-20 14:08:27] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://gd.glucose-dev.online/api/docflow/prepare-generated-doc","payload":{"account_id":"32990686","entity_id":"40281057","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"7da41c0"}
[2026-10-20 14:08:27] 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":"40281057","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"7da41c0"}
[2026-10-20 14:08:27] 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 1391 20261020140827\",\"leadId\":\"40281057\",\"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\":\"21.10.2027\",\"\\u041d\\u043e\\u043c\\u0435\\u0440 \\u043a\\u043e\\u043d\\u0442\\u0440\\u0430\\u043a\\u0442\\u0430\":\"C7120\",\"\\u0414\\u0430\\u0442\\u0430 \\u043c\\u043e\\u043d\\u0442\\u0430\\u0436\\u0430 (\\u0411\\u0414)\":\"21.10.2025\",\"\\u041d\\u0430\\u0437\\u0432\\u0430\\u043d\\u0438\\u0435 \\u0442\\u043e\\u0432\\u0430\\u0440\\u0430 (\\u0411\\u0414)\":\"0\",\"\\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\":\"\\u0412\\u0442\\u043e\\u0440\\u043d\\u0438\\u043a\",\"\\u0414\\u0430\\u0442\\u0430 \\u0438 \\u0432\\u0440\\u0435\\u043c\\u044f \\u0432\\u0438\\u0437\\u0438\\u0442\\u0430\":\"2026-10-21 14:05:00\",\"\\u0414\\u0430\\u0442\\u0430 \\u0432\\u0438\\u0437\\u0438\\u0442\\u0430\":\"21.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\",\"\\u0418\\u0441\\u043f\\u043e\\u043b\\u043d\\u0438\\u0442\\u0435\\u043b\\u044c\":\"Ghenadie Tiuhtii\",\"\\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\":\"Haier Pearl 50\",\"ID\":\"40281057\",\"\\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\":\"21.10.2027\",\"\\u041d\\u043e\\u043c\\u0435\\u0440 \\u043a\\u043e\\u043d\\u0442\\u0440\\u0430\\u043a\\u0442\\u0430\":\"C7120\",\"\\u0414\\u0430\\u0442\\u0430 \\u043c\\u043e\\u043d\\u0442\\u0430\\u0436\\u0430 (\\u0411\\u0414)\":\"21.10.2025\",\"\\u041d\\u0430\\u0437\\u0432\\u0430\\u043d\\u0438\\u0435 \\u0442\\u043e\\u0432\\u0430\\u0440\\u0430 (\\u0411\\u0414)\":\"0\",\"\\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\":\"\\u0412\\u0442\\u043e\\u0440\\u043d\\u0438\\u043a\",\"\\u0414\\u0430\\u0442\\u0430 \\u0438 \\u0432\\u0440\\u0435\\u043c\\u044f \\u0432\\u0438\\u0437\\u0438\\u0442\\u0430\":\"2026-10-21 14:05:00\",\"\\u0414\\u0430\\u0442\\u0430 \\u0432\\u0438\\u0437\\u0438\\u0442\\u0430\":\"21.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\",\"\\u0418\\u0441\\u043f\\u043e\\u043b\\u043d\\u0438\\u0442\\u0435\\u043b\\u044c\":\"Ghenadie Tiuhtii\",\"\\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\":\"Haier Pearl 50\",\"ID\":\"40281057\",\"\\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\":\"2002042140128\",\"\\u0410\\u0434\\u0440\\u0435\\u0441\":\"sat.Braila str.Nucarilor 19\",\"\\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)\":\"21.10.2025\",\"\\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)\":\"C7120\",\"\\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 Pearl 50\",\"\\u0418\\u043c\\u044f \\u043a\\u043b\\u0438\\u0435\\u043d\\u0442\\u0430 (\\u0421\\u041c\\u0421)\":\"Ion\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"37368511012\",\"\\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\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Ion Danu\",\"Contact_name\":\"Ion Danu\",\"\\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\":\"2002042140128\",\"\\u0410\\u0434\\u0440\\u0435\\u0441\":\"sat.Braila str.Nucarilor 19\",\"\\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)\":\"21.10.2025\",\"\\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)\":\"C7120\",\"\\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 Pearl 50\",\"\\u0418\\u043c\\u044f \\u043a\\u043b\\u0438\\u0435\\u043d\\u0442\\u0430 (\\u0421\\u041c\\u0421)\":\"Ion\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"37368511012\",\"\\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\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Ion Danu\",\"Contact_name\":\"Ion Danu\",\"\\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\":\"2002042140128\",\"\\u0410\\u0434\\u0440\\u0435\\u0441\":\"sat.Braila str.Nucarilor 19\",\"\\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)\":\"21.10.2025\",\"\\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)\":\"C7120\",\"\\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 Pearl 50\",\"\\u0418\\u043c\\u044f \\u043a\\u043b\\u0438\\u0435\\u043d\\u0442\\u0430 (\\u0421\\u041c\\u0421)\":\"Ion\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"37368511012\",\"\\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\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Ion Danu\",\"\\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\":\"20.10.2026\",\"\\u041d\\u043e\\u043c\\u0435\\u0440\":\"1391\"},\"document\":{\"Date\":\"20.10.2026\",\"Number\":\"1391\"}}}","edit":true}} {"uid":"7da41c0"}
[2026-10-20 14:08:35] docflow.DEBUG: GAS raw response {"raw":"[object] (stdClass: {\"code\":1,\"url\":\"https://docs.google.com/open?id=1U5Kma-Gvo5KpvS1dBjb-kmYr-bVqMzbac_cX60HerW0\",\"file_id\":\"1U5Kma-Gvo5KpvS1dBjb-kmYr-bVqMzbac_cX60HerW0\",\"error\":\"\",\"vars\":\"\"})"} {"uid":"7da41c0"}
[2026-10-20 14:08:35] docflow.WARNING: AmoDrive generated-file move is not ready. {"fileId":"1U5Kma-Gvo5KpvS1dBjb-kmYr-bVqMzbac_cX60HerW0","context":null} {"uid":"7da41c0"}
[2026-10-20 14:08:40] docflow.INFO: Apel createDoc {"data":{"amoAccountId":"32990686","amoUserId":null,"amoEntityId":"40281057","amoEntityType":"2","templateId":"11646","corporateEntityId":"","settlementAccountId":"","is_signed":null,"gdi":null,"number":null,"currentAmoUserId":null,"lang":"ru"}} {"uid":"60d06e7"}
[2026-10-20 14:08:41] docflow.INFO: Token is valid for account 32990686. [] {"uid":"60d06e7"}
[2026-10-20 14:08:41] docflow.DEBUG: getClientAuth returned {"auth":"[object] (stdClass: {\"domain\":\"eurosanteh.amocrm.ru\",\"access_token\":\"eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImp0aSI6ImQ4OGEzOTkzM2JmYjI0ODk3MGVhMzQ0MmIwYTBmNGRhMzU2ZDRlNmE3OWZmMjhhZGYyMDRlODU3ZjU1ZGJmNDJhMGZhZWY2ZDdiMmUyOTdlIn0.eyJhdWQiOiIwZDY0ZGZmYi1lNTRiLTQ0OGYtOWZiZi1iYWYyMjUxYTExZGIiLCJqdGkiOiJkODhhMzk5MzNiZmIyNDg5NzBlYTM0NDJiMGEwZjRkYTM1NmQ0ZTZhNzlmZjI4YWRmMjA0ZTg1N2Y1NWRiZjQyYTBmYWVmNmQ3YjJlMjk3ZSIsImlhdCI6MTc5MjQ5NDEwOCwibmJmIjoxNzkyNDk0MTA4LCJleHAiOjE3OTI1ODA1MDgsInN1YiI6IjEzNjg3MzAyIiwiZ3JhbnRfdHlwZSI6IiIsImFjY291bnRfaWQiOjMyOTkwNjg2LCJiYXNlX2RvbWFpbiI6ImFtb2NybS5ydSIsInZlcnNpb24iOjIsInNjb3BlcyI6WyJwdXNoX25vdGlmaWNhdGlvbnMiLCJjcm0iLCJub3RpZmljYXRpb25zIl0sImhhc2hfdXVpZCI6IjIxNzcyNTZjLTI5ZDktNGNjYy05MWI2LTc2MDkyN2YxNjllYiIsImFwaV9kb21haW4iOiJhcGktYi5hbW9jcm0ucnUifQ.migWzQZC4YW0WHAi2mRPA7jJRw0yWl4PAkPfRKcdHTb8PCshhECKnSg7NduDe7xfUDFHi0oufxkh7xqDz1Ad0ETiOouuC2I35ZWsHNwvvOfGH2s-JAffZ-nr_8SZhNbcP7BdXqf3QQLfoT5E_ACq6b-v-TfrQvwQKhedhAJXHA2w9U6UJ1ZsnVMo_gybDlYUswlRwmYm_Y2P1aYEX_4m5MiuOGWV7FrV4JbOR0bHilKY2SllQ2J2Dr4ms8e-vbQiTZVTBedl4dHqbzkk9SZhVEVLDi7lHd4MSkF8vOotZUQlqWo9ymt-3H9dYUvIOUhRL9SaGrD0XH1cmmJNbSRq3A\"})","file":"/home/ytvmclwh/document.amocrm.md/src/Models/Docs.php","line":121} {"uid":"60d06e7"}
[2026-10-20 14:08:43] docflow.DEBUG: AmoDrive docflow context request {"url":"https://google.emale.uno/api/docflow/google-context","query":{"account_id":"32990686","entity_id":"40281057","entity_type":"leads"}} {"uid":"60d06e7"}
[2026-10-20 14:08: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=40281057&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/20 14:08:43</td>\r\n</tr>\r\n</table>\r\n<hr><center>tengine</center>\r\n</body>\r\n</html>\r\n"} {"uid":"60d06e7"}
[2026-10-20 14:08:43] docflow.DEBUG: AmoDrive docflow context request {"url":"https://gd.glucose-dev.online/api/docflow/google-context","query":{"account_id":"32990686","entity_id":"40281057","entity_type":"leads"}} {"uid":"60d06e7"}
[2026-10-20 14:08: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":"40281057","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":"60d06e7"}
[2026-10-20 14:08:43] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://google.emale.uno/api/docflow/prepare-generated-doc","payload":{"account_id":"32990686","entity_id":"40281057","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"60d06e7"}
[2026-10-20 14:08: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/20 14:08: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":"40281057","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"60d06e7"}
[2026-10-20 14:08: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":"40281057","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"60d06e7"}
[2026-10-20 14:08: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":"40281057","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"60d06e7"}
[2026-10-20 14:08: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 1392 20261020140843\",\"leadId\":\"40281057\",\"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\":\"21.10.2027\",\"\\u041d\\u043e\\u043c\\u0435\\u0440 \\u043a\\u043e\\u043d\\u0442\\u0440\\u0430\\u043a\\u0442\\u0430\":\"C7120\",\"\\u0414\\u0430\\u0442\\u0430 \\u043c\\u043e\\u043d\\u0442\\u0430\\u0436\\u0430 (\\u0411\\u0414)\":\"21.10.2025\",\"\\u041d\\u0430\\u0437\\u0432\\u0430\\u043d\\u0438\\u0435 \\u0442\\u043e\\u0432\\u0430\\u0440\\u0430 (\\u0411\\u0414)\":\"0\",\"\\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\":\"\\u0412\\u0442\\u043e\\u0440\\u043d\\u0438\\u043a\",\"\\u0414\\u0430\\u0442\\u0430 \\u0438 \\u0432\\u0440\\u0435\\u043c\\u044f \\u0432\\u0438\\u0437\\u0438\\u0442\\u0430\":\"2026-10-21 14:05:00\",\"\\u0414\\u0430\\u0442\\u0430 \\u0432\\u0438\\u0437\\u0438\\u0442\\u0430\":\"21.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\",\"\\u0418\\u0441\\u043f\\u043e\\u043b\\u043d\\u0438\\u0442\\u0435\\u043b\\u044c\":\"Ghenadie Tiuhtii\",\"\\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\":\"Haier Pearl 50\",\"ID\":\"40281057\",\"\\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\":\"21.10.2027\",\"\\u041d\\u043e\\u043c\\u0435\\u0440 \\u043a\\u043e\\u043d\\u0442\\u0440\\u0430\\u043a\\u0442\\u0430\":\"C7120\",\"\\u0414\\u0430\\u0442\\u0430 \\u043c\\u043e\\u043d\\u0442\\u0430\\u0436\\u0430 (\\u0411\\u0414)\":\"21.10.2025\",\"\\u041d\\u0430\\u0437\\u0432\\u0430\\u043d\\u0438\\u0435 \\u0442\\u043e\\u0432\\u0430\\u0440\\u0430 (\\u0411\\u0414)\":\"0\",\"\\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\":\"\\u0412\\u0442\\u043e\\u0440\\u043d\\u0438\\u043a\",\"\\u0414\\u0430\\u0442\\u0430 \\u0438 \\u0432\\u0440\\u0435\\u043c\\u044f \\u0432\\u0438\\u0437\\u0438\\u0442\\u0430\":\"2026-10-21 14:05:00\",\"\\u0414\\u0430\\u0442\\u0430 \\u0432\\u0438\\u0437\\u0438\\u0442\\u0430\":\"21.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\",\"\\u0418\\u0441\\u043f\\u043e\\u043b\\u043d\\u0438\\u0442\\u0435\\u043b\\u044c\":\"Ghenadie Tiuhtii\",\"\\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\":\"Haier Pearl 50\",\"ID\":\"40281057\",\"\\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\":\"2002042140128\",\"\\u0410\\u0434\\u0440\\u0435\\u0441\":\"sat.Braila str.Nucarilor 19\",\"\\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)\":\"21.10.2025\",\"\\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)\":\"C7120\",\"\\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 Pearl 50\",\"\\u0418\\u043c\\u044f \\u043a\\u043b\\u0438\\u0435\\u043d\\u0442\\u0430 (\\u0421\\u041c\\u0421)\":\"Ion\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"37368511012\",\"\\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\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Ion Danu\",\"Contact_name\":\"Ion Danu\",\"\\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\":\"2002042140128\",\"\\u0410\\u0434\\u0440\\u0435\\u0441\":\"sat.Braila str.Nucarilor 19\",\"\\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)\":\"21.10.2025\",\"\\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)\":\"C7120\",\"\\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 Pearl 50\",\"\\u0418\\u043c\\u044f \\u043a\\u043b\\u0438\\u0435\\u043d\\u0442\\u0430 (\\u0421\\u041c\\u0421)\":\"Ion\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"37368511012\",\"\\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\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Ion Danu\",\"Contact_name\":\"Ion Danu\",\"\\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\":\"2002042140128\",\"\\u0410\\u0434\\u0440\\u0435\\u0441\":\"sat.Braila str.Nucarilor 19\",\"\\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)\":\"21.10.2025\",\"\\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)\":\"C7120\",\"\\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 Pearl 50\",\"\\u0418\\u043c\\u044f \\u043a\\u043b\\u0438\\u0435\\u043d\\u0442\\u0430 (\\u0421\\u041c\\u0421)\":\"Ion\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"37368511012\",\"\\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\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Ion Danu\",\"\\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\":\"20.10.2026\",\"\\u041d\\u043e\\u043c\\u0435\\u0440\":\"1392\"},\"document\":{\"Date\":\"20.10.2026\",\"Number\":\"1392\"}}}","edit":true}} {"uid":"60d06e7"}
[2026-10-20 14:08:49] docflow.DEBUG: GAS raw response {"raw":"[object] (stdClass: {\"code\":1,\"url\":\"https://docs.google.com/open?id=1uygc09QSMOC_914fZ5JBd26zWLGngWwWz3k5uHbUeoI\",\"file_id\":\"1uygc09QSMOC_914fZ5JBd26zWLGngWwWz3k5uHbUeoI\",\"error\":\"\",\"vars\":\"\"})"} {"uid":"60d06e7"}
[2026-10-20 14:08:49] docflow.WARNING: AmoDrive generated-file move is not ready. {"fileId":"1uygc09QSMOC_914fZ5JBd26zWLGngWwWz3k5uHbUeoI","context":null} {"uid":"60d06e7"}
[2026-10-20 14:09:12] docflow.INFO: Apel createDoc {"data":{"amoAccountId":"22699852","amoUserId":null,"amoEntityId":"42611110","amoEntityType":"2","templateId":"11528","corporateEntityId":"","settlementAccountId":"","is_signed":null,"gdi":null,"number":null,"currentAmoUserId":null,"lang":"ru"}} {"uid":"5a6e74b"}
[2026-10-20 14:09:13] docflow.INFO: Token is valid for account 22699852. [] {"uid":"5a6e74b"}
[2026-10-20 14:09:13] docflow.DEBUG: getClientAuth returned {"auth":"[object] (stdClass: {\"domain\":\"emigrare.amocrm.ru\",\"access_token\":\"eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImp0aSI6IjM2MjFhNTE2ODhlNTY2NzRkNDZlZTc2ZWU1MGY3Y2ZkZTM1NTJmNTE4ZDUwZDJmOTVlNGYxNWVlYmU3MDBiMjAwYjRlN2ZmZTM1ZDExOWIzIn0.eyJhdWQiOiIwZDY0ZGZmYi1lNTRiLTQ0OGYtOWZiZi1iYWYyMjUxYTExZGIiLCJqdGkiOiIzNjIxYTUxNjg4ZTU2Njc0ZDQ2ZWU3NmVlNTBmN2NmZGUzNTUyZjUxOGQ1MGQyZjk1ZTRmMTVlZWJlNzAwYjIwMGI0ZTdmZmUzNWQxMTliMyIsImlhdCI6MTc5MjQ3NjU0NCwibmJmIjoxNzkyNDc2NTQ0LCJleHAiOjE3OTI1NjI5NDQsInN1YiI6IjI5MzAzODAiLCJncmFudF90eXBlIjoiIiwiYWNjb3VudF9pZCI6MjI2OTk4NTIsImJhc2VfZG9tYWluIjoiYW1vY3JtLnJ1IiwidmVyc2lvbiI6Miwic2NvcGVzIjpbInB1c2hfbm90aWZpY2F0aW9ucyIsImNybSIsIm5vdGlmaWNhdGlvbnMiXSwiaGFzaF91dWlkIjoiOWE3NWEwYzQtZGMzOC00MzhmLTg2NmEtMWIxZWIwNzYyNjZlIiwiYXBpX2RvbWFpbiI6ImFwaS1iLmFtb2NybS5ydSJ9.qehz4h7sbmBOqc2WoRpnMDr7JDLCNhcyFK0dk2J1kdkNQ8gzqB35VS6EgeS4v5Q5O1O4SRNKFuSvIB-5lrCv0q7Dg5SRiRmxfG_vqqg5R4YK67own5xWhW6vEVSS1aPH1pxSeqCA7qhMFyAxz9Dsrm1tVt15o4ePIGLpWrlkjvoVCpMvsvSCZ9y1LdI_UF9ZhUW9SGQwuyhIzqQdEbmlmNnqHf8yd6roK6IOhluPISHsMmRWJBAThQQ-Z6IwXvU9t9uDb35rSe9xH0RCb_GrrWAvWtVEKh_qCbOvFlY1pfSMFm_w-smIYAdeBGxKrGW4Xd2scXU7XXH6BgpXaAB4uw\"})","file":"/home/ytvmclwh/document.amocrm.md/src/Models/Docs.php","line":121} {"uid":"5a6e74b"}
[2026-10-20 14:09:15] docflow.DEBUG: AmoDrive docflow context request {"url":"https://google.emale.uno/api/docflow/google-context","query":{"account_id":"22699852","entity_id":"42611110","entity_type":"leads"}} {"uid":"5a6e74b"}
[2026-10-20 14:09:15] 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=42611110&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/20 14:09:15</td>\r\n</tr>\r\n</table>\r\n<hr><center>tengine</center>\r\n</body>\r\n</html>\r\n"} {"uid":"5a6e74b"}
[2026-10-20 14:09:15] docflow.DEBUG: AmoDrive docflow context request {"url":"https://gd.glucose-dev.online/api/docflow/google-context","query":{"account_id":"22699852","entity_id":"42611110","entity_type":"leads"}} {"uid":"5a6e74b"}
[2026-10-20 14:09:15] 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":"42611110","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":304,"isLifetime":false},"licenseActive":false,"googleConnected":false,"googleEmail":null,"googleHasDriveScope":false,"googleHasDriveFileScope":false,"googleHasOwnershipScope":false,"readyForGeneratedFileMove":false,"readyForTransfer":false},"folder":{"id":"1Pf_f846YzVt8gkCBQMv30b4LwTkJFsA4","name":"42611110 - Lead #42611110","webViewLink":"https://drive.google.com/drive/folders/1Pf_f846YzVt8gkCBQMv30b4LwTkJFsA4"}}} {"uid":"5a6e74b"}
[2026-10-20 14:09:15] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://google.emale.uno/api/docflow/prepare-generated-doc","payload":{"account_id":"22699852","entity_id":"42611110","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"5a6e74b"}
[2026-10-20 14:09:16] 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/20 14:09:16</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":"42611110","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"5a6e74b"}
[2026-10-20 14:09:16] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://gd.glucose-dev.online/api/docflow/prepare-generated-doc","payload":{"account_id":"22699852","entity_id":"42611110","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"5a6e74b"}
[2026-10-20 14:09:16] 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":"42611110","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"5a6e74b"}
[2026-10-20 14:09:16] 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) 222 20261020140915\",\"leadId\":\"42611110\",\"entities\":{\"\\u0441\\u0434\\u0435\\u043b\\u043a\\u0430\":{\"Suma \\u20ac\":\"0\",\"Manager front office\":\"Cezara Cenusa\",\"Nota SQL\":\"1\",\"ID\":\"42611110\",\"\\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\":\"0\",\"Budget\":\"0\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"Capanji Igor\",\"Responsible\":\"Capanji Igor\"},\"lead\":{\"Suma \\u20ac\":\"0\",\"Manager front office\":\"Cezara Cenusa\",\"Nota SQL\":\"1\",\"ID\":\"42611110\",\"\\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\":\"0\",\"Budget\":\"0\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"Capanji Igor\",\"Responsible\":\"Capanji Igor\"},\"\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442\":{\"TelegramId_WZ\":\"6021150589\",\"TelegramUsername_WZ\":\"@fetica727\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"+79851202312\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Ecaterina Daianova\",\"Contact_name\":\"Ecaterina Daianova\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"Cezara Cenusa\",\"Responsible\":\"Cezara Cenusa\"},\"contact\":{\"TelegramId_WZ\":\"6021150589\",\"TelegramUsername_WZ\":\"@fetica727\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"+79851202312\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Ecaterina Daianova\",\"Contact_name\":\"Ecaterina Daianova\",\"\\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\":\"6021150589\",\"TelegramUsername_WZ\":\"@fetica727\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"+79851202312\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Ecaterina Daianova\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"Cezara Cenusa\"}],\"\\u0434\\u043e\\u043a\\u0443\\u043c\\u0435\\u043d\\u0442\":{\"\\u0414\\u0430\\u0442\\u0430\":\"20.10.2026\",\"\\u041d\\u043e\\u043c\\u0435\\u0440\":\"222\"},\"document\":{\"Date\":\"20.10.2026\",\"Number\":\"222\"}}}","edit":true}} {"uid":"5a6e74b"}
[2026-10-20 14:09:46] docflow.ERROR: GAS request failed: 28 - Timeout was reached: Operation timed out after 30001 milliseconds with 0 bytes received {"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":"5a6e74b"}
[2026-10-20 14:10:06] docflow.INFO: Apel createDoc {"data":{"amoAccountId":"22699852","amoUserId":null,"amoEntityId":"42887055","amoEntityType":"2","templateId":"11487","corporateEntityId":"","settlementAccountId":"","is_signed":null,"gdi":null,"number":null,"currentAmoUserId":null,"lang":"ru"}} {"uid":"a074e96"}
[2026-10-20 14:10:06] docflow.INFO: Token is valid for account 22699852. [] {"uid":"a074e96"}
[2026-10-20 14:10:06] docflow.DEBUG: getClientAuth returned {"auth":"[object] (stdClass: {\"domain\":\"emigrare.amocrm.ru\",\"access_token\":\"eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImp0aSI6IjM2MjFhNTE2ODhlNTY2NzRkNDZlZTc2ZWU1MGY3Y2ZkZTM1NTJmNTE4ZDUwZDJmOTVlNGYxNWVlYmU3MDBiMjAwYjRlN2ZmZTM1ZDExOWIzIn0.eyJhdWQiOiIwZDY0ZGZmYi1lNTRiLTQ0OGYtOWZiZi1iYWYyMjUxYTExZGIiLCJqdGkiOiIzNjIxYTUxNjg4ZTU2Njc0ZDQ2ZWU3NmVlNTBmN2NmZGUzNTUyZjUxOGQ1MGQyZjk1ZTRmMTVlZWJlNzAwYjIwMGI0ZTdmZmUzNWQxMTliMyIsImlhdCI6MTc5MjQ3NjU0NCwibmJmIjoxNzkyNDc2NTQ0LCJleHAiOjE3OTI1NjI5NDQsInN1YiI6IjI5MzAzODAiLCJncmFudF90eXBlIjoiIiwiYWNjb3VudF9pZCI6MjI2OTk4NTIsImJhc2VfZG9tYWluIjoiYW1vY3JtLnJ1IiwidmVyc2lvbiI6Miwic2NvcGVzIjpbInB1c2hfbm90aWZpY2F0aW9ucyIsImNybSIsIm5vdGlmaWNhdGlvbnMiXSwiaGFzaF91dWlkIjoiOWE3NWEwYzQtZGMzOC00MzhmLTg2NmEtMWIxZWIwNzYyNjZlIiwiYXBpX2RvbWFpbiI6ImFwaS1iLmFtb2NybS5ydSJ9.qehz4h7sbmBOqc2WoRpnMDr7JDLCNhcyFK0dk2J1kdkNQ8gzqB35VS6EgeS4v5Q5O1O4SRNKFuSvIB-5lrCv0q7Dg5SRiRmxfG_vqqg5R4YK67own5xWhW6vEVSS1aPH1pxSeqCA7qhMFyAxz9Dsrm1tVt15o4ePIGLpWrlkjvoVCpMvsvSCZ9y1LdI_UF9ZhUW9SGQwuyhIzqQdEbmlmNnqHf8yd6roK6IOhluPISHsMmRWJBAThQQ-Z6IwXvU9t9uDb35rSe9xH0RCb_GrrWAvWtVEKh_qCbOvFlY1pfSMFm_w-smIYAdeBGxKrGW4Xd2scXU7XXH6BgpXaAB4uw\"})","file":"/home/ytvmclwh/document.amocrm.md/src/Models/Docs.php","line":121} {"uid":"a074e96"}
[2026-10-20 14:10:10] docflow.DEBUG: AmoDrive docflow context request {"url":"https://google.emale.uno/api/docflow/google-context","query":{"account_id":"22699852","entity_id":"42887055","entity_type":"leads"}} {"uid":"a074e96"}
[2026-10-20 14:10:11] 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=42887055&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/20 14:10:11</td>\r\n</tr>\r\n</table>\r\n<hr><center>tengine</center>\r\n</body>\r\n</html>\r\n"} {"uid":"a074e96"}
[2026-10-20 14:10:11] docflow.DEBUG: AmoDrive docflow context request {"url":"https://gd.glucose-dev.online/api/docflow/google-context","query":{"account_id":"22699852","entity_id":"42887055","entity_type":"leads"}} {"uid":"a074e96"}
[2026-10-20 14:10:11] 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":"42887055","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":304,"isLifetime":false},"licenseActive":false,"googleConnected":false,"googleEmail":null,"googleHasDriveScope":false,"googleHasDriveFileScope":false,"googleHasOwnershipScope":false,"readyForGeneratedFileMove":false,"readyForTransfer":false},"folder":{"id":"1Z4dZWYibi_yVKallzZP3J9enLhPFWklA","name":"42887055 - Lead #42887055","webViewLink":"https://drive.google.com/drive/folders/1Z4dZWYibi_yVKallzZP3J9enLhPFWklA"}}} {"uid":"a074e96"}
[2026-10-20 14:10:11] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://google.emale.uno/api/docflow/prepare-generated-doc","payload":{"account_id":"22699852","entity_id":"42887055","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"a074e96"}
[2026-10-20 14:10:11] 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/20 14:10:11</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":"42887055","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"a074e96"}
[2026-10-20 14:10:11] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://gd.glucose-dev.online/api/docflow/prepare-generated-doc","payload":{"account_id":"22699852","entity_id":"42887055","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"a074e96"}
[2026-10-20 14:10:11] 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":"42887055","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"a074e96"}
[2026-10-20 14:10:11] 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 1299 20261020141010\",\"leadId\":\"42887055\",\"entities\":{\"\\u0441\\u0434\\u0435\\u043b\\u043a\\u0430\":{\"ID\":\"42887055\",\"\\u0421\\u0434\\u0435\\u043b\\u043a\\u0430_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"CZ + apostila\",\"Lead_name\":\"CZ + apostila\",\"\\u0411\\u044e\\u0434\\u0436\\u0435\\u0442\":\"200\",\"Budget\":\"200\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"Cezara Cenusa\",\"Responsible\":\"Cezara Cenusa\"},\"lead\":{\"ID\":\"42887055\",\"\\u0421\\u0434\\u0435\\u043b\\u043a\\u0430_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"CZ + apostila\",\"Lead_name\":\"CZ + apostila\",\"\\u0411\\u044e\\u0434\\u0436\\u0435\\u0442\":\"200\",\"Budget\":\"200\",\"\\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\":\"+79296969259\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Maria Laicova\",\"Contact_name\":\"Maria Laicova\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"Iulia Chiperi\",\"Responsible\":\"Iulia Chiperi\"},\"contact\":{\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"+79296969259\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Maria Laicova\",\"Contact_name\":\"Maria Laicova\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"Iulia Chiperi\",\"Responsible\":\"Iulia Chiperi\"},\"\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442\\u044b\":[{\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"+79296969259\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Maria Laicova\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"Iulia Chiperi\"}],\"\\u0434\\u043e\\u043a\\u0443\\u043c\\u0435\\u043d\\u0442\":{\"\\u0414\\u0430\\u0442\\u0430\":\"20.10.2026\",\"\\u041d\\u043e\\u043c\\u0435\\u0440\":\"1299\"},\"document\":{\"Date\":\"20.10.2026\",\"Number\":\"1299\"}}}","edit":true}} {"uid":"a074e96"}
[2026-10-20 14:10:39] docflow.DEBUG: GAS raw response {"raw":"[object] (stdClass: {\"code\":1,\"url\":\"https://docs.google.com/open?id=1JjdgbwkBLTCXUDVAafBSR6sdcRMBufXGcaNEAiKxPl4\",\"file_id\":\"1JjdgbwkBLTCXUDVAafBSR6sdcRMBufXGcaNEAiKxPl4\",\"error\":\"\",\"vars\":\"\"})"} {"uid":"a074e96"}
[2026-10-20 14:10:39] docflow.WARNING: AmoDrive generated-file move is not ready. {"fileId":"1JjdgbwkBLTCXUDVAafBSR6sdcRMBufXGcaNEAiKxPl4","context":null} {"uid":"a074e96"}
[2026-10-20 14:11:36] docflow.INFO: Apel createDoc {"data":{"amoAccountId":"32990686","amoUserId":null,"amoEntityId":"40281057","amoEntityType":"2","templateId":"11625","corporateEntityId":"","settlementAccountId":"","is_signed":null,"gdi":null,"number":null,"currentAmoUserId":null,"lang":"ru"}} {"uid":"e6de61c"}
[2026-10-20 14:11:36] docflow.INFO: Token is valid for account 32990686. [] {"uid":"e6de61c"}
[2026-10-20 14:11:36] docflow.DEBUG: getClientAuth returned {"auth":"[object] (stdClass: {\"domain\":\"eurosanteh.amocrm.ru\",\"access_token\":\"eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImp0aSI6ImQ4OGEzOTkzM2JmYjI0ODk3MGVhMzQ0MmIwYTBmNGRhMzU2ZDRlNmE3OWZmMjhhZGYyMDRlODU3ZjU1ZGJmNDJhMGZhZWY2ZDdiMmUyOTdlIn0.eyJhdWQiOiIwZDY0ZGZmYi1lNTRiLTQ0OGYtOWZiZi1iYWYyMjUxYTExZGIiLCJqdGkiOiJkODhhMzk5MzNiZmIyNDg5NzBlYTM0NDJiMGEwZjRkYTM1NmQ0ZTZhNzlmZjI4YWRmMjA0ZTg1N2Y1NWRiZjQyYTBmYWVmNmQ3YjJlMjk3ZSIsImlhdCI6MTc5MjQ5NDEwOCwibmJmIjoxNzkyNDk0MTA4LCJleHAiOjE3OTI1ODA1MDgsInN1YiI6IjEzNjg3MzAyIiwiZ3JhbnRfdHlwZSI6IiIsImFjY291bnRfaWQiOjMyOTkwNjg2LCJiYXNlX2RvbWFpbiI6ImFtb2NybS5ydSIsInZlcnNpb24iOjIsInNjb3BlcyI6WyJwdXNoX25vdGlmaWNhdGlvbnMiLCJjcm0iLCJub3RpZmljYXRpb25zIl0sImhhc2hfdXVpZCI6IjIxNzcyNTZjLTI5ZDktNGNjYy05MWI2LTc2MDkyN2YxNjllYiIsImFwaV9kb21haW4iOiJhcGktYi5hbW9jcm0ucnUifQ.migWzQZC4YW0WHAi2mRPA7jJRw0yWl4PAkPfRKcdHTb8PCshhECKnSg7NduDe7xfUDFHi0oufxkh7xqDz1Ad0ETiOouuC2I35ZWsHNwvvOfGH2s-JAffZ-nr_8SZhNbcP7BdXqf3QQLfoT5E_ACq6b-v-TfrQvwQKhedhAJXHA2w9U6UJ1ZsnVMo_gybDlYUswlRwmYm_Y2P1aYEX_4m5MiuOGWV7FrV4JbOR0bHilKY2SllQ2J2Dr4ms8e-vbQiTZVTBedl4dHqbzkk9SZhVEVLDi7lHd4MSkF8vOotZUQlqWo9ymt-3H9dYUvIOUhRL9SaGrD0XH1cmmJNbSRq3A\"})","file":"/home/ytvmclwh/document.amocrm.md/src/Models/Docs.php","line":121} {"uid":"e6de61c"}
[2026-10-20 14:11:39] docflow.DEBUG: AmoDrive docflow context request {"url":"https://google.emale.uno/api/docflow/google-context","query":{"account_id":"32990686","entity_id":"40281057","entity_type":"leads"}} {"uid":"e6de61c"}
[2026-10-20 14:11:39] 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=40281057&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/20 14:11:39</td>\r\n</tr>\r\n</table>\r\n<hr><center>tengine</center>\r\n</body>\r\n</html>\r\n"} {"uid":"e6de61c"}
[2026-10-20 14:11:39] docflow.DEBUG: AmoDrive docflow context request {"url":"https://gd.glucose-dev.online/api/docflow/google-context","query":{"account_id":"32990686","entity_id":"40281057","entity_type":"leads"}} {"uid":"e6de61c"}
[2026-10-20 14:11:39] 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":"40281057","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":"e6de61c"}
[2026-10-20 14:11:39] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://google.emale.uno/api/docflow/prepare-generated-doc","payload":{"account_id":"32990686","entity_id":"40281057","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"e6de61c"}
[2026-10-20 14:11:39] 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/20 14:11:39</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":"40281057","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"e6de61c"}
[2026-10-20 14:11:39] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://gd.glucose-dev.online/api/docflow/prepare-generated-doc","payload":{"account_id":"32990686","entity_id":"40281057","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"e6de61c"}
[2026-10-20 14:11:39] 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":"40281057","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"e6de61c"}
[2026-10-20 14:11:39] 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 1392 20261020141139\",\"leadId\":\"40281057\",\"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\":\"21.10.2027\",\"\\u041d\\u043e\\u043c\\u0435\\u0440 \\u043a\\u043e\\u043d\\u0442\\u0440\\u0430\\u043a\\u0442\\u0430\":\"C7120\",\"\\u0414\\u0430\\u0442\\u0430 \\u043c\\u043e\\u043d\\u0442\\u0430\\u0436\\u0430 (\\u0411\\u0414)\":\"21.10.2025\",\"\\u041d\\u0430\\u0437\\u0432\\u0430\\u043d\\u0438\\u0435 \\u0442\\u043e\\u0432\\u0430\\u0440\\u0430 (\\u0411\\u0414)\":\"0\",\"\\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\":\"\\u0412\\u0442\\u043e\\u0440\\u043d\\u0438\\u043a\",\"\\u0414\\u0430\\u0442\\u0430 \\u0438 \\u0432\\u0440\\u0435\\u043c\\u044f \\u0432\\u0438\\u0437\\u0438\\u0442\\u0430\":\"2026-10-21 14:05:00\",\"\\u0414\\u0430\\u0442\\u0430 \\u0432\\u0438\\u0437\\u0438\\u0442\\u0430\":\"21.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\",\"\\u0418\\u0441\\u043f\\u043e\\u043b\\u043d\\u0438\\u0442\\u0435\\u043b\\u044c\":\"Ghenadie Tiuhtii\",\"\\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\":\"Haier Pearl 50\",\"ID\":\"40281057\",\"\\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\":\"21.10.2027\",\"\\u041d\\u043e\\u043c\\u0435\\u0440 \\u043a\\u043e\\u043d\\u0442\\u0440\\u0430\\u043a\\u0442\\u0430\":\"C7120\",\"\\u0414\\u0430\\u0442\\u0430 \\u043c\\u043e\\u043d\\u0442\\u0430\\u0436\\u0430 (\\u0411\\u0414)\":\"21.10.2025\",\"\\u041d\\u0430\\u0437\\u0432\\u0430\\u043d\\u0438\\u0435 \\u0442\\u043e\\u0432\\u0430\\u0440\\u0430 (\\u0411\\u0414)\":\"0\",\"\\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\":\"\\u0412\\u0442\\u043e\\u0440\\u043d\\u0438\\u043a\",\"\\u0414\\u0430\\u0442\\u0430 \\u0438 \\u0432\\u0440\\u0435\\u043c\\u044f \\u0432\\u0438\\u0437\\u0438\\u0442\\u0430\":\"2026-10-21 14:05:00\",\"\\u0414\\u0430\\u0442\\u0430 \\u0432\\u0438\\u0437\\u0438\\u0442\\u0430\":\"21.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\",\"\\u0418\\u0441\\u043f\\u043e\\u043b\\u043d\\u0438\\u0442\\u0435\\u043b\\u044c\":\"Ghenadie Tiuhtii\",\"\\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\":\"Haier Pearl 50\",\"ID\":\"40281057\",\"\\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\":\"2002042140128\",\"\\u0410\\u0434\\u0440\\u0435\\u0441\":\"sat.Braila str.Nucarilor 19\",\"\\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)\":\"21.10.2025\",\"\\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)\":\"C7120\",\"\\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 Pearl 50\",\"\\u0418\\u043c\\u044f \\u043a\\u043b\\u0438\\u0435\\u043d\\u0442\\u0430 (\\u0421\\u041c\\u0421)\":\"Ion\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"37368511012\",\"\\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\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Ion Danu\",\"Contact_name\":\"Ion Danu\",\"\\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\":\"2002042140128\",\"\\u0410\\u0434\\u0440\\u0435\\u0441\":\"sat.Braila str.Nucarilor 19\",\"\\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)\":\"21.10.2025\",\"\\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)\":\"C7120\",\"\\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 Pearl 50\",\"\\u0418\\u043c\\u044f \\u043a\\u043b\\u0438\\u0435\\u043d\\u0442\\u0430 (\\u0421\\u041c\\u0421)\":\"Ion\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"37368511012\",\"\\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\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Ion Danu\",\"Contact_name\":\"Ion Danu\",\"\\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\":\"2002042140128\",\"\\u0410\\u0434\\u0440\\u0435\\u0441\":\"sat.Braila str.Nucarilor 19\",\"\\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)\":\"21.10.2025\",\"\\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)\":\"C7120\",\"\\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 Pearl 50\",\"\\u0418\\u043c\\u044f \\u043a\\u043b\\u0438\\u0435\\u043d\\u0442\\u0430 (\\u0421\\u041c\\u0421)\":\"Ion\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"37368511012\",\"\\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\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Ion Danu\",\"\\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\":\"20.10.2026\",\"\\u041d\\u043e\\u043c\\u0435\\u0440\":\"1392\"},\"document\":{\"Date\":\"20.10.2026\",\"Number\":\"1392\"}}}","edit":true}} {"uid":"e6de61c"}
[2026-10-20 14:11:46] docflow.DEBUG: GAS raw response {"raw":"[object] (stdClass: {\"code\":1,\"url\":\"https://docs.google.com/open?id=1JOv2CwwEF69rHiKbqSlPOkfOISLBC5BizHe2jZoJ1fM\",\"file_id\":\"1JOv2CwwEF69rHiKbqSlPOkfOISLBC5BizHe2jZoJ1fM\",\"error\":\"\",\"vars\":\"\"})"} {"uid":"e6de61c"}
[2026-10-20 14:11:46] docflow.WARNING: AmoDrive generated-file move is not ready. {"fileId":"1JOv2CwwEF69rHiKbqSlPOkfOISLBC5BizHe2jZoJ1fM","context":null} {"uid":"e6de61c"}
[2026-10-20 14:19:00] docflow.INFO: Apel createDoc {"data":{"amoAccountId":"32990686","amoUserId":null,"amoEntityId":"50756259","amoEntityType":"2","templateId":"11625","corporateEntityId":"","settlementAccountId":"","is_signed":null,"gdi":null,"number":null,"currentAmoUserId":null,"lang":"ru"}} {"uid":"cf36fa1"}
[2026-10-20 14:19:01] docflow.INFO: Token is valid for account 32990686. [] {"uid":"cf36fa1"}
[2026-10-20 14:19:01] docflow.DEBUG: getClientAuth returned {"auth":"[object] (stdClass: {\"domain\":\"eurosanteh.amocrm.ru\",\"access_token\":\"eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImp0aSI6ImQ4OGEzOTkzM2JmYjI0ODk3MGVhMzQ0MmIwYTBmNGRhMzU2ZDRlNmE3OWZmMjhhZGYyMDRlODU3ZjU1ZGJmNDJhMGZhZWY2ZDdiMmUyOTdlIn0.eyJhdWQiOiIwZDY0ZGZmYi1lNTRiLTQ0OGYtOWZiZi1iYWYyMjUxYTExZGIiLCJqdGkiOiJkODhhMzk5MzNiZmIyNDg5NzBlYTM0NDJiMGEwZjRkYTM1NmQ0ZTZhNzlmZjI4YWRmMjA0ZTg1N2Y1NWRiZjQyYTBmYWVmNmQ3YjJlMjk3ZSIsImlhdCI6MTc5MjQ5NDEwOCwibmJmIjoxNzkyNDk0MTA4LCJleHAiOjE3OTI1ODA1MDgsInN1YiI6IjEzNjg3MzAyIiwiZ3JhbnRfdHlwZSI6IiIsImFjY291bnRfaWQiOjMyOTkwNjg2LCJiYXNlX2RvbWFpbiI6ImFtb2NybS5ydSIsInZlcnNpb24iOjIsInNjb3BlcyI6WyJwdXNoX25vdGlmaWNhdGlvbnMiLCJjcm0iLCJub3RpZmljYXRpb25zIl0sImhhc2hfdXVpZCI6IjIxNzcyNTZjLTI5ZDktNGNjYy05MWI2LTc2MDkyN2YxNjllYiIsImFwaV9kb21haW4iOiJhcGktYi5hbW9jcm0ucnUifQ.migWzQZC4YW0WHAi2mRPA7jJRw0yWl4PAkPfRKcdHTb8PCshhECKnSg7NduDe7xfUDFHi0oufxkh7xqDz1Ad0ETiOouuC2I35ZWsHNwvvOfGH2s-JAffZ-nr_8SZhNbcP7BdXqf3QQLfoT5E_ACq6b-v-TfrQvwQKhedhAJXHA2w9U6UJ1ZsnVMo_gybDlYUswlRwmYm_Y2P1aYEX_4m5MiuOGWV7FrV4JbOR0bHilKY2SllQ2J2Dr4ms8e-vbQiTZVTBedl4dHqbzkk9SZhVEVLDi7lHd4MSkF8vOotZUQlqWo9ymt-3H9dYUvIOUhRL9SaGrD0XH1cmmJNbSRq3A\"})","file":"/home/ytvmclwh/document.amocrm.md/src/Models/Docs.php","line":121} {"uid":"cf36fa1"}
[2026-10-20 14:19:05] docflow.DEBUG: AmoDrive docflow context request {"url":"https://google.emale.uno/api/docflow/google-context","query":{"account_id":"32990686","entity_id":"50756259","entity_type":"leads"}} {"uid":"cf36fa1"}
[2026-10-20 14:19:05] 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=50756259&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/20 14:19:05</td>\r\n</tr>\r\n</table>\r\n<hr><center>tengine</center>\r\n</body>\r\n</html>\r\n"} {"uid":"cf36fa1"}
[2026-10-20 14:19:05] docflow.DEBUG: AmoDrive docflow context request {"url":"https://gd.glucose-dev.online/api/docflow/google-context","query":{"account_id":"32990686","entity_id":"50756259","entity_type":"leads"}} {"uid":"cf36fa1"}
[2026-10-20 14:19:05] 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":"50756259","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":"cf36fa1"}
[2026-10-20 14:19:05] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://google.emale.uno/api/docflow/prepare-generated-doc","payload":{"account_id":"32990686","entity_id":"50756259","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"cf36fa1"}
[2026-10-20 14:19:05] 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/20 14:19:05</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":"50756259","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"cf36fa1"}
[2026-10-20 14:19:05] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://gd.glucose-dev.online/api/docflow/prepare-generated-doc","payload":{"account_id":"32990686","entity_id":"50756259","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"cf36fa1"}
[2026-10-20 14:19:05] 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":"50756259","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"cf36fa1"}
[2026-10-20 14:19:05] 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 1393 20261020141905\",\"leadId\":\"50756259\",\"entities\":{\"\\u0441\\u0434\\u0435\\u043b\\u043a\\u0430\":{\"\\u041f\\u043e\\u043f\\u044b\\u0442\\u043a\\u0430 \\u0441\\u0432\\u044f\\u0437\\u0438 \\u043e\\u0442 \\u043a\\u043b\\u0438\\u0435\\u043d\\u0442\\u0430\":\"1\",\"\\u041d\\u043e\\u043c\\u0435\\u0440 \\u043a\\u043e\\u043d\\u0442\\u0440\\u0430\\u043a\\u0442\\u0430\":\"K6883\",\"\\u041c\\u043e\\u0434\\u0435\\u043b\\u044c \\u043e\\u0431\\u043e\\u0440\\u0443\\u0434\\u043e\\u0432\\u0430\\u043d\\u0438\\u044f 1\":\"Haier Revive 25\",\"\\u041a\\u043e\\u043b - \\u0432\\u043e \\u043e\\u0431\\u043e\\u0440\\u0443\\u0434\\u043e\\u0432\\u0430\\u043d\\u0438\\u044f\":\"1\",\"\\u041f\\u0440\\u0438\\u0447\\u0438\\u043d\\u0430 \\u043e\\u0442\\u043a\\u0430\\u0437\\u0430\":\"\\u041f\\u043e\\u0432\\u0442\\u043e\\u0440\\u043d\\u044b\\u0439 \\u043a\\u043b\\u0438\\u0435\\u043d\\u0442\",\"\\u0414\\u0430\\u0442\\u0430 \\u0438 \\u0432\\u0440\\u0435\\u043c\\u044f \\u0432\\u0438\\u0437\\u0438\\u0442\\u0430\":\"2026-10-21 15:42:00\",\"\\u0414\\u0430\\u0442\\u0430 \\u0432\\u0438\\u0437\\u0438\\u0442\\u0430\":\"21.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\":\"21.10.2027\",\"ID\":\"50756259\",\"\\u0421\\u0434\\u0435\\u043b\\u043a\\u0430_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"\\u043f\\u0442\\u043e\",\"Lead_name\":\"\\u043f\\u0442\\u043e\",\"\\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\":{\"\\u041f\\u043e\\u043f\\u044b\\u0442\\u043a\\u0430 \\u0441\\u0432\\u044f\\u0437\\u0438 \\u043e\\u0442 \\u043a\\u043b\\u0438\\u0435\\u043d\\u0442\\u0430\":\"1\",\"\\u041d\\u043e\\u043c\\u0435\\u0440 \\u043a\\u043e\\u043d\\u0442\\u0440\\u0430\\u043a\\u0442\\u0430\":\"K6883\",\"\\u041c\\u043e\\u0434\\u0435\\u043b\\u044c \\u043e\\u0431\\u043e\\u0440\\u0443\\u0434\\u043e\\u0432\\u0430\\u043d\\u0438\\u044f 1\":\"Haier Revive 25\",\"\\u041a\\u043e\\u043b - \\u0432\\u043e \\u043e\\u0431\\u043e\\u0440\\u0443\\u0434\\u043e\\u0432\\u0430\\u043d\\u0438\\u044f\":\"1\",\"\\u041f\\u0440\\u0438\\u0447\\u0438\\u043d\\u0430 \\u043e\\u0442\\u043a\\u0430\\u0437\\u0430\":\"\\u041f\\u043e\\u0432\\u0442\\u043e\\u0440\\u043d\\u044b\\u0439 \\u043a\\u043b\\u0438\\u0435\\u043d\\u0442\",\"\\u0414\\u0430\\u0442\\u0430 \\u0438 \\u0432\\u0440\\u0435\\u043c\\u044f \\u0432\\u0438\\u0437\\u0438\\u0442\\u0430\":\"2026-10-21 15:42:00\",\"\\u0414\\u0430\\u0442\\u0430 \\u0432\\u0438\\u0437\\u0438\\u0442\\u0430\":\"21.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\":\"21.10.2027\",\"ID\":\"50756259\",\"\\u0421\\u0434\\u0435\\u043b\\u043a\\u0430_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"\\u043f\\u0442\\u043e\",\"Lead_name\":\"\\u043f\\u0442\\u043e\",\"\\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\":\"str.Calea Orheilui 29a\",\"\\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)\":\"09.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 25\",\"\\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)\":\"K6883\",\"\\u0418\\u043c\\u044f \\u043a\\u043b\\u0438\\u0435\\u043d\\u0442\\u0430 (\\u0421\\u041c\\u0421)\":\"Vadim\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"37379993324\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Vadim Simentul\",\"Contact_name\":\"Vadim Simentul\",\"\\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\":\"str.Calea Orheilui 29a\",\"\\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)\":\"09.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 25\",\"\\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)\":\"K6883\",\"\\u0418\\u043c\\u044f \\u043a\\u043b\\u0438\\u0435\\u043d\\u0442\\u0430 (\\u0421\\u041c\\u0421)\":\"Vadim\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"37379993324\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Vadim Simentul\",\"Contact_name\":\"Vadim Simentul\",\"\\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\":\"str.Calea Orheilui 29a\",\"\\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)\":\"09.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 25\",\"\\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)\":\"K6883\",\"\\u0418\\u043c\\u044f \\u043a\\u043b\\u0438\\u0435\\u043d\\u0442\\u0430 (\\u0421\\u041c\\u0421)\":\"Vadim\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"37379993324\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Vadim Simentul\",\"\\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\":\"20.10.2026\",\"\\u041d\\u043e\\u043c\\u0435\\u0440\":\"1393\"},\"document\":{\"Date\":\"20.10.2026\",\"Number\":\"1393\"}}}","edit":true}} {"uid":"cf36fa1"}
[2026-10-20 14:19:12] docflow.DEBUG: GAS raw response {"raw":"[object] (stdClass: {\"code\":1,\"url\":\"https://docs.google.com/open?id=1guBGyDvHCvb_g1GU6WR-b7KmMwf8R_GY1-fx0jQDgyY\",\"file_id\":\"1guBGyDvHCvb_g1GU6WR-b7KmMwf8R_GY1-fx0jQDgyY\",\"error\":\"\",\"vars\":\"\"})"} {"uid":"cf36fa1"}
[2026-10-20 14:19:12] docflow.WARNING: AmoDrive generated-file move is not ready. {"fileId":"1guBGyDvHCvb_g1GU6WR-b7KmMwf8R_GY1-fx0jQDgyY","context":null} {"uid":"cf36fa1"}
[2026-10-20 14:19:26] docflow.INFO: Apel createDoc {"data":{"amoAccountId":"22699852","amoUserId":null,"amoEntityId":"42887055","amoEntityType":"2","templateId":"11519","corporateEntityId":"","settlementAccountId":"","is_signed":null,"gdi":null,"number":null,"currentAmoUserId":null,"lang":"ru"}} {"uid":"d6a751b"}
[2026-10-20 14:19:27] docflow.INFO: Token is valid for account 22699852. [] {"uid":"d6a751b"}
[2026-10-20 14:19:27] docflow.DEBUG: getClientAuth returned {"auth":"[object] (stdClass: {\"domain\":\"emigrare.amocrm.ru\",\"access_token\":\"eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImp0aSI6IjM2MjFhNTE2ODhlNTY2NzRkNDZlZTc2ZWU1MGY3Y2ZkZTM1NTJmNTE4ZDUwZDJmOTVlNGYxNWVlYmU3MDBiMjAwYjRlN2ZmZTM1ZDExOWIzIn0.eyJhdWQiOiIwZDY0ZGZmYi1lNTRiLTQ0OGYtOWZiZi1iYWYyMjUxYTExZGIiLCJqdGkiOiIzNjIxYTUxNjg4ZTU2Njc0ZDQ2ZWU3NmVlNTBmN2NmZGUzNTUyZjUxOGQ1MGQyZjk1ZTRmMTVlZWJlNzAwYjIwMGI0ZTdmZmUzNWQxMTliMyIsImlhdCI6MTc5MjQ3NjU0NCwibmJmIjoxNzkyNDc2NTQ0LCJleHAiOjE3OTI1NjI5NDQsInN1YiI6IjI5MzAzODAiLCJncmFudF90eXBlIjoiIiwiYWNjb3VudF9pZCI6MjI2OTk4NTIsImJhc2VfZG9tYWluIjoiYW1vY3JtLnJ1IiwidmVyc2lvbiI6Miwic2NvcGVzIjpbInB1c2hfbm90aWZpY2F0aW9ucyIsImNybSIsIm5vdGlmaWNhdGlvbnMiXSwiaGFzaF91dWlkIjoiOWE3NWEwYzQtZGMzOC00MzhmLTg2NmEtMWIxZWIwNzYyNjZlIiwiYXBpX2RvbWFpbiI6ImFwaS1iLmFtb2NybS5ydSJ9.qehz4h7sbmBOqc2WoRpnMDr7JDLCNhcyFK0dk2J1kdkNQ8gzqB35VS6EgeS4v5Q5O1O4SRNKFuSvIB-5lrCv0q7Dg5SRiRmxfG_vqqg5R4YK67own5xWhW6vEVSS1aPH1pxSeqCA7qhMFyAxz9Dsrm1tVt15o4ePIGLpWrlkjvoVCpMvsvSCZ9y1LdI_UF9ZhUW9SGQwuyhIzqQdEbmlmNnqHf8yd6roK6IOhluPISHsMmRWJBAThQQ-Z6IwXvU9t9uDb35rSe9xH0RCb_GrrWAvWtVEKh_qCbOvFlY1pfSMFm_w-smIYAdeBGxKrGW4Xd2scXU7XXH6BgpXaAB4uw\"})","file":"/home/ytvmclwh/document.amocrm.md/src/Models/Docs.php","line":121} {"uid":"d6a751b"}
[2026-10-20 14:19:29] docflow.DEBUG: AmoDrive docflow context request {"url":"https://google.emale.uno/api/docflow/google-context","query":{"account_id":"22699852","entity_id":"42887055","entity_type":"leads"}} {"uid":"d6a751b"}
[2026-10-20 14:19:29] 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=42887055&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/20 14:19:29</td>\r\n</tr>\r\n</table>\r\n<hr><center>tengine</center>\r\n</body>\r\n</html>\r\n"} {"uid":"d6a751b"}
[2026-10-20 14:19:29] docflow.DEBUG: AmoDrive docflow context request {"url":"https://gd.glucose-dev.online/api/docflow/google-context","query":{"account_id":"22699852","entity_id":"42887055","entity_type":"leads"}} {"uid":"d6a751b"}
[2026-10-20 14:19:29] 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":"42887055","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":304,"isLifetime":false},"licenseActive":false,"googleConnected":false,"googleEmail":null,"googleHasDriveScope":false,"googleHasDriveFileScope":false,"googleHasOwnershipScope":false,"readyForGeneratedFileMove":false,"readyForTransfer":false},"folder":{"id":"1Z4dZWYibi_yVKallzZP3J9enLhPFWklA","name":"42887055 - Lead #42887055","webViewLink":"https://drive.google.com/drive/folders/1Z4dZWYibi_yVKallzZP3J9enLhPFWklA"}}} {"uid":"d6a751b"}
[2026-10-20 14:19:29] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://google.emale.uno/api/docflow/prepare-generated-doc","payload":{"account_id":"22699852","entity_id":"42887055","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"d6a751b"}
[2026-10-20 14:19:29] 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/20 14:19:29</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":"42887055","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"d6a751b"}
[2026-10-20 14:19:29] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://gd.glucose-dev.online/api/docflow/prepare-generated-doc","payload":{"account_id":"22699852","entity_id":"42887055","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"d6a751b"}
[2026-10-20 14:19:29] 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":"42887055","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"d6a751b"}
[2026-10-20 14:19:29] docflow.DEBUG: GAS request {"url":"https://script.google.com/macros/s/AKfycbwrvOJD46zkuoTzdhpc1kulhV8jRfgQBFZfQ121nkIip_k8yKit4xrbWTOzaJ-C-Yed6w/exec","body":{"templateFileId":"1ekgk00tIKeutOhblnl7sN9HG0r93Kn4o1ZQXR51tFww","accountId":"22699852","folderId":"1Us2AfskxgdA729xVr0F2vjZU9y5PlYDe","key":"~VTsK5dcnHc2cSSsjM$LFSjLlgbmJXwrp3R2P5nd","data":"{\"fileName\":\"\\u0421\\u0447\\u0435\\u0442 \\u043d\\u0430 \\u043e\\u043f\\u043b\\u0430\\u0442\\u0443 (PayPal) 191 20261020141929\",\"leadId\":\"42887055\",\"entities\":{\"\\u0441\\u0434\\u0435\\u043b\\u043a\\u0430\":{\"ID\":\"42887055\",\"\\u0421\\u0434\\u0435\\u043b\\u043a\\u0430_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"CZ + apostila\",\"Lead_name\":\"CZ + apostila\",\"\\u0411\\u044e\\u0434\\u0436\\u0435\\u0442\":\"200\",\"Budget\":\"200\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"Cezara Cenusa\",\"Responsible\":\"Cezara Cenusa\"},\"lead\":{\"ID\":\"42887055\",\"\\u0421\\u0434\\u0435\\u043b\\u043a\\u0430_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"CZ + apostila\",\"Lead_name\":\"CZ + apostila\",\"\\u0411\\u044e\\u0434\\u0436\\u0435\\u0442\":\"200\",\"Budget\":\"200\",\"\\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\":\"+79296969259\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Maria Laicova\",\"Contact_name\":\"Maria Laicova\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"Iulia Chiperi\",\"Responsible\":\"Iulia Chiperi\"},\"contact\":{\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"+79296969259\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Maria Laicova\",\"Contact_name\":\"Maria Laicova\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"Iulia Chiperi\",\"Responsible\":\"Iulia Chiperi\"},\"\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442\\u044b\":[{\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"+79296969259\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Maria Laicova\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"Iulia Chiperi\"}],\"\\u0434\\u043e\\u043a\\u0443\\u043c\\u0435\\u043d\\u0442\":{\"\\u0414\\u0430\\u0442\\u0430\":\"20.10.2026\",\"\\u041d\\u043e\\u043c\\u0435\\u0440\":\"191\"},\"document\":{\"Date\":\"20.10.2026\",\"Number\":\"191\"}}}","edit":true}} {"uid":"d6a751b"}
[2026-10-20 14:19:36] docflow.DEBUG: GAS raw response {"raw":"[object] (stdClass: {\"code\":1,\"url\":\"https://docs.google.com/open?id=11f4Gs4VReejrI1b0iQUHtWMB7JQ0Wu9FazjQvssP_c8\",\"file_id\":\"11f4Gs4VReejrI1b0iQUHtWMB7JQ0Wu9FazjQvssP_c8\",\"error\":\"\",\"vars\":\"\"})"} {"uid":"d6a751b"}
[2026-10-20 14:19:36] docflow.WARNING: AmoDrive generated-file move is not ready. {"fileId":"11f4Gs4VReejrI1b0iQUHtWMB7JQ0Wu9FazjQvssP_c8","context":null} {"uid":"d6a751b"}
[2026-10-20 14:19:37] docflow.INFO: Apel createDoc {"data":{"amoAccountId":"22699852","amoUserId":null,"amoEntityId":"42611110","amoEntityType":"2","templateId":"11528","corporateEntityId":"","settlementAccountId":"","is_signed":null,"gdi":null,"number":null,"currentAmoUserId":null,"lang":"ru"}} {"uid":"46f76fe"}
[2026-10-20 14:19:38] docflow.INFO: Token is valid for account 22699852. [] {"uid":"46f76fe"}
[2026-10-20 14:19:38] docflow.DEBUG: getClientAuth returned {"auth":"[object] (stdClass: {\"domain\":\"emigrare.amocrm.ru\",\"access_token\":\"eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImp0aSI6IjM2MjFhNTE2ODhlNTY2NzRkNDZlZTc2ZWU1MGY3Y2ZkZTM1NTJmNTE4ZDUwZDJmOTVlNGYxNWVlYmU3MDBiMjAwYjRlN2ZmZTM1ZDExOWIzIn0.eyJhdWQiOiIwZDY0ZGZmYi1lNTRiLTQ0OGYtOWZiZi1iYWYyMjUxYTExZGIiLCJqdGkiOiIzNjIxYTUxNjg4ZTU2Njc0ZDQ2ZWU3NmVlNTBmN2NmZGUzNTUyZjUxOGQ1MGQyZjk1ZTRmMTVlZWJlNzAwYjIwMGI0ZTdmZmUzNWQxMTliMyIsImlhdCI6MTc5MjQ3NjU0NCwibmJmIjoxNzkyNDc2NTQ0LCJleHAiOjE3OTI1NjI5NDQsInN1YiI6IjI5MzAzODAiLCJncmFudF90eXBlIjoiIiwiYWNjb3VudF9pZCI6MjI2OTk4NTIsImJhc2VfZG9tYWluIjoiYW1vY3JtLnJ1IiwidmVyc2lvbiI6Miwic2NvcGVzIjpbInB1c2hfbm90aWZpY2F0aW9ucyIsImNybSIsIm5vdGlmaWNhdGlvbnMiXSwiaGFzaF91dWlkIjoiOWE3NWEwYzQtZGMzOC00MzhmLTg2NmEtMWIxZWIwNzYyNjZlIiwiYXBpX2RvbWFpbiI6ImFwaS1iLmFtb2NybS5ydSJ9.qehz4h7sbmBOqc2WoRpnMDr7JDLCNhcyFK0dk2J1kdkNQ8gzqB35VS6EgeS4v5Q5O1O4SRNKFuSvIB-5lrCv0q7Dg5SRiRmxfG_vqqg5R4YK67own5xWhW6vEVSS1aPH1pxSeqCA7qhMFyAxz9Dsrm1tVt15o4ePIGLpWrlkjvoVCpMvsvSCZ9y1LdI_UF9ZhUW9SGQwuyhIzqQdEbmlmNnqHf8yd6roK6IOhluPISHsMmRWJBAThQQ-Z6IwXvU9t9uDb35rSe9xH0RCb_GrrWAvWtVEKh_qCbOvFlY1pfSMFm_w-smIYAdeBGxKrGW4Xd2scXU7XXH6BgpXaAB4uw\"})","file":"/home/ytvmclwh/document.amocrm.md/src/Models/Docs.php","line":121} {"uid":"46f76fe"}
[2026-10-20 14:19:41] docflow.DEBUG: AmoDrive docflow context request {"url":"https://google.emale.uno/api/docflow/google-context","query":{"account_id":"22699852","entity_id":"42611110","entity_type":"leads"}} {"uid":"46f76fe"}
[2026-10-20 14:19:41] 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=42611110&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/20 14:19:41</td>\r\n</tr>\r\n</table>\r\n<hr><center>tengine</center>\r\n</body>\r\n</html>\r\n"} {"uid":"46f76fe"}
[2026-10-20 14:19:41] docflow.DEBUG: AmoDrive docflow context request {"url":"https://gd.glucose-dev.online/api/docflow/google-context","query":{"account_id":"22699852","entity_id":"42611110","entity_type":"leads"}} {"uid":"46f76fe"}
[2026-10-20 14:19:41] 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":"42611110","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":304,"isLifetime":false},"licenseActive":false,"googleConnected":false,"googleEmail":null,"googleHasDriveScope":false,"googleHasDriveFileScope":false,"googleHasOwnershipScope":false,"readyForGeneratedFileMove":false,"readyForTransfer":false},"folder":{"id":"1Pf_f846YzVt8gkCBQMv30b4LwTkJFsA4","name":"42611110 - Lead #42611110","webViewLink":"https://drive.google.com/drive/folders/1Pf_f846YzVt8gkCBQMv30b4LwTkJFsA4"}}} {"uid":"46f76fe"}
[2026-10-20 14:19:41] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://google.emale.uno/api/docflow/prepare-generated-doc","payload":{"account_id":"22699852","entity_id":"42611110","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"46f76fe"}
[2026-10-20 14:19: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/20 14:19: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":"42611110","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"46f76fe"}
[2026-10-20 14:19: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":"42611110","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"46f76fe"}
[2026-10-20 14:19: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":"42611110","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"46f76fe"}
[2026-10-20 14:19:41] 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) 222 20261020141941\",\"leadId\":\"42611110\",\"entities\":{\"\\u0441\\u0434\\u0435\\u043b\\u043a\\u0430\":{\"Suma \\u20ac\":\"0\",\"Manager front office\":\"Cezara Cenusa\",\"Nota SQL\":\"1\",\"ID\":\"42611110\",\"\\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\":\"0\",\"Budget\":\"0\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"Capanji Igor\",\"Responsible\":\"Capanji Igor\"},\"lead\":{\"Suma \\u20ac\":\"0\",\"Manager front office\":\"Cezara Cenusa\",\"Nota SQL\":\"1\",\"ID\":\"42611110\",\"\\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\":\"0\",\"Budget\":\"0\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"Capanji Igor\",\"Responsible\":\"Capanji Igor\"},\"\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442\":{\"TelegramId_WZ\":\"6021150589\",\"TelegramUsername_WZ\":\"@fetica727\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"+79851202312\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Ecaterina Daianova\",\"Contact_name\":\"Ecaterina Daianova\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"Cezara Cenusa\",\"Responsible\":\"Cezara Cenusa\"},\"contact\":{\"TelegramId_WZ\":\"6021150589\",\"TelegramUsername_WZ\":\"@fetica727\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"+79851202312\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Ecaterina Daianova\",\"Contact_name\":\"Ecaterina Daianova\",\"\\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\":\"6021150589\",\"TelegramUsername_WZ\":\"@fetica727\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"+79851202312\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Ecaterina Daianova\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"Cezara Cenusa\"}],\"\\u0434\\u043e\\u043a\\u0443\\u043c\\u0435\\u043d\\u0442\":{\"\\u0414\\u0430\\u0442\\u0430\":\"20.10.2026\",\"\\u041d\\u043e\\u043c\\u0435\\u0440\":\"222\"},\"document\":{\"Date\":\"20.10.2026\",\"Number\":\"222\"}}}","edit":true}} {"uid":"46f76fe"}
[2026-10-20 14:19:42] docflow.INFO: Apel createDoc {"data":{"amoAccountId":"32990686","amoUserId":null,"amoEntityId":"50756259","amoEntityType":"2","templateId":"11646","corporateEntityId":"","settlementAccountId":"","is_signed":null,"gdi":null,"number":null,"currentAmoUserId":null,"lang":"ru"}} {"uid":"8b97891"}
[2026-10-20 14:19:43] docflow.INFO: Token is valid for account 32990686. [] {"uid":"8b97891"}
[2026-10-20 14:19:43] docflow.DEBUG: getClientAuth returned {"auth":"[object] (stdClass: {\"domain\":\"eurosanteh.amocrm.ru\",\"access_token\":\"eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImp0aSI6ImQ4OGEzOTkzM2JmYjI0ODk3MGVhMzQ0MmIwYTBmNGRhMzU2ZDRlNmE3OWZmMjhhZGYyMDRlODU3ZjU1ZGJmNDJhMGZhZWY2ZDdiMmUyOTdlIn0.eyJhdWQiOiIwZDY0ZGZmYi1lNTRiLTQ0OGYtOWZiZi1iYWYyMjUxYTExZGIiLCJqdGkiOiJkODhhMzk5MzNiZmIyNDg5NzBlYTM0NDJiMGEwZjRkYTM1NmQ0ZTZhNzlmZjI4YWRmMjA0ZTg1N2Y1NWRiZjQyYTBmYWVmNmQ3YjJlMjk3ZSIsImlhdCI6MTc5MjQ5NDEwOCwibmJmIjoxNzkyNDk0MTA4LCJleHAiOjE3OTI1ODA1MDgsInN1YiI6IjEzNjg3MzAyIiwiZ3JhbnRfdHlwZSI6IiIsImFjY291bnRfaWQiOjMyOTkwNjg2LCJiYXNlX2RvbWFpbiI6ImFtb2NybS5ydSIsInZlcnNpb24iOjIsInNjb3BlcyI6WyJwdXNoX25vdGlmaWNhdGlvbnMiLCJjcm0iLCJub3RpZmljYXRpb25zIl0sImhhc2hfdXVpZCI6IjIxNzcyNTZjLTI5ZDktNGNjYy05MWI2LTc2MDkyN2YxNjllYiIsImFwaV9kb21haW4iOiJhcGktYi5hbW9jcm0ucnUifQ.migWzQZC4YW0WHAi2mRPA7jJRw0yWl4PAkPfRKcdHTb8PCshhECKnSg7NduDe7xfUDFHi0oufxkh7xqDz1Ad0ETiOouuC2I35ZWsHNwvvOfGH2s-JAffZ-nr_8SZhNbcP7BdXqf3QQLfoT5E_ACq6b-v-TfrQvwQKhedhAJXHA2w9U6UJ1ZsnVMo_gybDlYUswlRwmYm_Y2P1aYEX_4m5MiuOGWV7FrV4JbOR0bHilKY2SllQ2J2Dr4ms8e-vbQiTZVTBedl4dHqbzkk9SZhVEVLDi7lHd4MSkF8vOotZUQlqWo9ymt-3H9dYUvIOUhRL9SaGrD0XH1cmmJNbSRq3A\"})","file":"/home/ytvmclwh/document.amocrm.md/src/Models/Docs.php","line":121} {"uid":"8b97891"}
[2026-10-20 14:19:45] docflow.DEBUG: AmoDrive docflow context request {"url":"https://google.emale.uno/api/docflow/google-context","query":{"account_id":"32990686","entity_id":"50756259","entity_type":"leads"}} {"uid":"8b97891"}
[2026-10-20 14:19:45] 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=50756259&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/20 14:19:45</td>\r\n</tr>\r\n</table>\r\n<hr><center>tengine</center>\r\n</body>\r\n</html>\r\n"} {"uid":"8b97891"}
[2026-10-20 14:19:45] docflow.DEBUG: AmoDrive docflow context request {"url":"https://gd.glucose-dev.online/api/docflow/google-context","query":{"account_id":"32990686","entity_id":"50756259","entity_type":"leads"}} {"uid":"8b97891"}
[2026-10-20 14:19:45] 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":"50756259","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":"8b97891"}
[2026-10-20 14:19:45] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://google.emale.uno/api/docflow/prepare-generated-doc","payload":{"account_id":"32990686","entity_id":"50756259","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"8b97891"}
[2026-10-20 14:19:45] 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/20 14:19:45</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":"50756259","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"8b97891"}
[2026-10-20 14:19:45] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://gd.glucose-dev.online/api/docflow/prepare-generated-doc","payload":{"account_id":"32990686","entity_id":"50756259","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"8b97891"}
[2026-10-20 14:19:45] 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":"50756259","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"8b97891"}
[2026-10-20 14:19:45] 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 1393 20261020141945\",\"leadId\":\"50756259\",\"entities\":{\"\\u0441\\u0434\\u0435\\u043b\\u043a\\u0430\":{\"\\u041f\\u043e\\u043f\\u044b\\u0442\\u043a\\u0430 \\u0441\\u0432\\u044f\\u0437\\u0438 \\u043e\\u0442 \\u043a\\u043b\\u0438\\u0435\\u043d\\u0442\\u0430\":\"1\",\"\\u041d\\u043e\\u043c\\u0435\\u0440 \\u043a\\u043e\\u043d\\u0442\\u0440\\u0430\\u043a\\u0442\\u0430\":\"K6883\",\"\\u041c\\u043e\\u0434\\u0435\\u043b\\u044c \\u043e\\u0431\\u043e\\u0440\\u0443\\u0434\\u043e\\u0432\\u0430\\u043d\\u0438\\u044f 1\":\"Haier Revive 25\",\"\\u041a\\u043e\\u043b - \\u0432\\u043e \\u043e\\u0431\\u043e\\u0440\\u0443\\u0434\\u043e\\u0432\\u0430\\u043d\\u0438\\u044f\":\"1\",\"\\u041f\\u0440\\u0438\\u0447\\u0438\\u043d\\u0430 \\u043e\\u0442\\u043a\\u0430\\u0437\\u0430\":\"\\u041f\\u043e\\u0432\\u0442\\u043e\\u0440\\u043d\\u044b\\u0439 \\u043a\\u043b\\u0438\\u0435\\u043d\\u0442\",\"\\u0414\\u0430\\u0442\\u0430 \\u0438 \\u0432\\u0440\\u0435\\u043c\\u044f \\u0432\\u0438\\u0437\\u0438\\u0442\\u0430\":\"2026-10-21 15:42:00\",\"\\u0414\\u0430\\u0442\\u0430 \\u0432\\u0438\\u0437\\u0438\\u0442\\u0430\":\"21.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\":\"21.10.2027\",\"ID\":\"50756259\",\"\\u0421\\u0434\\u0435\\u043b\\u043a\\u0430_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"\\u043f\\u0442\\u043e\",\"Lead_name\":\"\\u043f\\u0442\\u043e\",\"\\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\":{\"\\u041f\\u043e\\u043f\\u044b\\u0442\\u043a\\u0430 \\u0441\\u0432\\u044f\\u0437\\u0438 \\u043e\\u0442 \\u043a\\u043b\\u0438\\u0435\\u043d\\u0442\\u0430\":\"1\",\"\\u041d\\u043e\\u043c\\u0435\\u0440 \\u043a\\u043e\\u043d\\u0442\\u0440\\u0430\\u043a\\u0442\\u0430\":\"K6883\",\"\\u041c\\u043e\\u0434\\u0435\\u043b\\u044c \\u043e\\u0431\\u043e\\u0440\\u0443\\u0434\\u043e\\u0432\\u0430\\u043d\\u0438\\u044f 1\":\"Haier Revive 25\",\"\\u041a\\u043e\\u043b - \\u0432\\u043e \\u043e\\u0431\\u043e\\u0440\\u0443\\u0434\\u043e\\u0432\\u0430\\u043d\\u0438\\u044f\":\"1\",\"\\u041f\\u0440\\u0438\\u0447\\u0438\\u043d\\u0430 \\u043e\\u0442\\u043a\\u0430\\u0437\\u0430\":\"\\u041f\\u043e\\u0432\\u0442\\u043e\\u0440\\u043d\\u044b\\u0439 \\u043a\\u043b\\u0438\\u0435\\u043d\\u0442\",\"\\u0414\\u0430\\u0442\\u0430 \\u0438 \\u0432\\u0440\\u0435\\u043c\\u044f \\u0432\\u0438\\u0437\\u0438\\u0442\\u0430\":\"2026-10-21 15:42:00\",\"\\u0414\\u0430\\u0442\\u0430 \\u0432\\u0438\\u0437\\u0438\\u0442\\u0430\":\"21.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\":\"21.10.2027\",\"ID\":\"50756259\",\"\\u0421\\u0434\\u0435\\u043b\\u043a\\u0430_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"\\u043f\\u0442\\u043e\",\"Lead_name\":\"\\u043f\\u0442\\u043e\",\"\\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\":\"str.Calea Orheilui 29a\",\"\\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)\":\"09.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 25\",\"\\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)\":\"K6883\",\"\\u0418\\u043c\\u044f \\u043a\\u043b\\u0438\\u0435\\u043d\\u0442\\u0430 (\\u0421\\u041c\\u0421)\":\"Vadim\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"37379993324\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Vadim Simentul\",\"Contact_name\":\"Vadim Simentul\",\"\\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\":\"str.Calea Orheilui 29a\",\"\\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)\":\"09.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 25\",\"\\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)\":\"K6883\",\"\\u0418\\u043c\\u044f \\u043a\\u043b\\u0438\\u0435\\u043d\\u0442\\u0430 (\\u0421\\u041c\\u0421)\":\"Vadim\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"37379993324\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Vadim Simentul\",\"Contact_name\":\"Vadim Simentul\",\"\\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\":\"str.Calea Orheilui 29a\",\"\\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)\":\"09.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 25\",\"\\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)\":\"K6883\",\"\\u0418\\u043c\\u044f \\u043a\\u043b\\u0438\\u0435\\u043d\\u0442\\u0430 (\\u0421\\u041c\\u0421)\":\"Vadim\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"37379993324\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Vadim Simentul\",\"\\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\":\"20.10.2026\",\"\\u041d\\u043e\\u043c\\u0435\\u0440\":\"1393\"},\"document\":{\"Date\":\"20.10.2026\",\"Number\":\"1393\"}}}","edit":true}} {"uid":"8b97891"}
[2026-10-20 14:19:49] docflow.DEBUG: GAS raw response {"raw":"[object] (stdClass: {\"code\":1,\"url\":\"https://docs.google.com/open?id=1ZtGUfsOZ1KXi_3iFhxYa6SnGfREdzXOzzqzD-VkI6Mo\",\"file_id\":\"1ZtGUfsOZ1KXi_3iFhxYa6SnGfREdzXOzzqzD-VkI6Mo\",\"error\":\"\",\"vars\":\"\"})"} {"uid":"46f76fe"}
[2026-10-20 14:19:49] docflow.WARNING: AmoDrive generated-file move is not ready. {"fileId":"1ZtGUfsOZ1KXi_3iFhxYa6SnGfREdzXOzzqzD-VkI6Mo","context":null} {"uid":"46f76fe"}
[2026-10-20 14:19:52] docflow.DEBUG: GAS raw response {"raw":"[object] (stdClass: {\"code\":1,\"url\":\"https://docs.google.com/open?id=1yR7btFbZ0wd_m-QleroBceBUZ84tnPJH8Fb4o9q_LKg\",\"file_id\":\"1yR7btFbZ0wd_m-QleroBceBUZ84tnPJH8Fb4o9q_LKg\",\"error\":\"\",\"vars\":\"\"})"} {"uid":"8b97891"}
[2026-10-20 14:19:52] docflow.WARNING: AmoDrive generated-file move is not ready. {"fileId":"1yR7btFbZ0wd_m-QleroBceBUZ84tnPJH8Fb4o9q_LKg","context":null} {"uid":"8b97891"}
[2026-10-20 14:21:50] docflow.INFO: Apel createDoc {"data":{"amoAccountId":"32990686","amoUserId":null,"amoEntityId":"40279737","amoEntityType":"2","templateId":"11625","corporateEntityId":"","settlementAccountId":"","is_signed":null,"gdi":null,"number":null,"currentAmoUserId":null,"lang":"ru"}} {"uid":"96dbc19"}
[2026-10-20 14:21:51] docflow.INFO: Token is valid for account 32990686. [] {"uid":"96dbc19"}
[2026-10-20 14:21:51] docflow.DEBUG: getClientAuth returned {"auth":"[object] (stdClass: {\"domain\":\"eurosanteh.amocrm.ru\",\"access_token\":\"eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImp0aSI6ImQ4OGEzOTkzM2JmYjI0ODk3MGVhMzQ0MmIwYTBmNGRhMzU2ZDRlNmE3OWZmMjhhZGYyMDRlODU3ZjU1ZGJmNDJhMGZhZWY2ZDdiMmUyOTdlIn0.eyJhdWQiOiIwZDY0ZGZmYi1lNTRiLTQ0OGYtOWZiZi1iYWYyMjUxYTExZGIiLCJqdGkiOiJkODhhMzk5MzNiZmIyNDg5NzBlYTM0NDJiMGEwZjRkYTM1NmQ0ZTZhNzlmZjI4YWRmMjA0ZTg1N2Y1NWRiZjQyYTBmYWVmNmQ3YjJlMjk3ZSIsImlhdCI6MTc5MjQ5NDEwOCwibmJmIjoxNzkyNDk0MTA4LCJleHAiOjE3OTI1ODA1MDgsInN1YiI6IjEzNjg3MzAyIiwiZ3JhbnRfdHlwZSI6IiIsImFjY291bnRfaWQiOjMyOTkwNjg2LCJiYXNlX2RvbWFpbiI6ImFtb2NybS5ydSIsInZlcnNpb24iOjIsInNjb3BlcyI6WyJwdXNoX25vdGlmaWNhdGlvbnMiLCJjcm0iLCJub3RpZmljYXRpb25zIl0sImhhc2hfdXVpZCI6IjIxNzcyNTZjLTI5ZDktNGNjYy05MWI2LTc2MDkyN2YxNjllYiIsImFwaV9kb21haW4iOiJhcGktYi5hbW9jcm0ucnUifQ.migWzQZC4YW0WHAi2mRPA7jJRw0yWl4PAkPfRKcdHTb8PCshhECKnSg7NduDe7xfUDFHi0oufxkh7xqDz1Ad0ETiOouuC2I35ZWsHNwvvOfGH2s-JAffZ-nr_8SZhNbcP7BdXqf3QQLfoT5E_ACq6b-v-TfrQvwQKhedhAJXHA2w9U6UJ1ZsnVMo_gybDlYUswlRwmYm_Y2P1aYEX_4m5MiuOGWV7FrV4JbOR0bHilKY2SllQ2J2Dr4ms8e-vbQiTZVTBedl4dHqbzkk9SZhVEVLDi7lHd4MSkF8vOotZUQlqWo9ymt-3H9dYUvIOUhRL9SaGrD0XH1cmmJNbSRq3A\"})","file":"/home/ytvmclwh/document.amocrm.md/src/Models/Docs.php","line":121} {"uid":"96dbc19"}
[2026-10-20 14:21:52] docflow.DEBUG: AmoDrive docflow context request {"url":"https://google.emale.uno/api/docflow/google-context","query":{"account_id":"32990686","entity_id":"40279737","entity_type":"leads"}} {"uid":"96dbc19"}
[2026-10-20 14:21: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=32990686&amp;entity_id=40279737&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/20 14:21:52</td>\r\n</tr>\r\n</table>\r\n<hr><center>tengine</center>\r\n</body>\r\n</html>\r\n"} {"uid":"96dbc19"}
[2026-10-20 14:21:52] docflow.DEBUG: AmoDrive docflow context request {"url":"https://gd.glucose-dev.online/api/docflow/google-context","query":{"account_id":"32990686","entity_id":"40279737","entity_type":"leads"}} {"uid":"96dbc19"}
[2026-10-20 14:21: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":32990686,"entityId":"40279737","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":"96dbc19"}
[2026-10-20 14:21:52] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://google.emale.uno/api/docflow/prepare-generated-doc","payload":{"account_id":"32990686","entity_id":"40279737","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"96dbc19"}
[2026-10-20 14:21: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/20 14:21: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":"32990686","entity_id":"40279737","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"96dbc19"}
[2026-10-20 14:21:52] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://gd.glucose-dev.online/api/docflow/prepare-generated-doc","payload":{"account_id":"32990686","entity_id":"40279737","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"96dbc19"}
[2026-10-20 14:21: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\":32990686})","payload":{"account_id":"32990686","entity_id":"40279737","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"96dbc19"}
[2026-10-20 14:21:52] 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 1394 20261020142152\",\"leadId\":\"40279737\",\"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\":\"04.08.2027\",\"\\u0414\\u0430\\u0442\\u0430 \\u043c\\u043e\\u043d\\u0442\\u0430\\u0436\\u0430 (\\u0411\\u0414)\":\"04.08.2025\",\"\\u041d\\u0430\\u0437\\u0432\\u0430\\u043d\\u0438\\u0435 \\u0442\\u043e\\u0432\\u0430\\u0440\\u0430 (\\u0411\\u0414)\":\"0\",\"\\u0412\\u0438\\u0434 \\u0440\\u0430\\u0431\\u043e\\u0442\\u044b (\\u0411\\u0414)\":\"\\u041f\\u0422\\u041e\",\"\\u0424\\u0418\\u041e \\u043c\\u043e\\u043d\\u0442\\u0430\\u0436\\u043d\\u0438\\u043a\\u0430 (\\u0411\\u0414)\":\"\\u0422\\u044e\\u0445\\u0442\\u0438\\u0439 \\u0413\",\"\\u0414\\u0435\\u043d\\u044c \\u043d\\u0435\\u0434\\u0435\\u043b\\u0438\":\"\\u0412\\u0442\\u043e\\u0440\\u043d\\u0438\\u043a\",\"\\u0414\\u0430\\u0442\\u0430 \\u0438 \\u0432\\u0440\\u0435\\u043c\\u044f \\u0432\\u0438\\u0437\\u0438\\u0442\\u0430\":\"2026-10-21 14:21:00\",\"\\u0414\\u0430\\u0442\\u0430 \\u0432\\u0438\\u0437\\u0438\\u0442\\u0430\":\"21.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\":\"Haier\",\"ID\":\"40279737\",\"\\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\":\"04.08.2027\",\"\\u0414\\u0430\\u0442\\u0430 \\u043c\\u043e\\u043d\\u0442\\u0430\\u0436\\u0430 (\\u0411\\u0414)\":\"04.08.2025\",\"\\u041d\\u0430\\u0437\\u0432\\u0430\\u043d\\u0438\\u0435 \\u0442\\u043e\\u0432\\u0430\\u0440\\u0430 (\\u0411\\u0414)\":\"0\",\"\\u0412\\u0438\\u0434 \\u0440\\u0430\\u0431\\u043e\\u0442\\u044b (\\u0411\\u0414)\":\"\\u041f\\u0422\\u041e\",\"\\u0424\\u0418\\u041e \\u043c\\u043e\\u043d\\u0442\\u0430\\u0436\\u043d\\u0438\\u043a\\u0430 (\\u0411\\u0414)\":\"\\u0422\\u044e\\u0445\\u0442\\u0438\\u0439 \\u0413\",\"\\u0414\\u0435\\u043d\\u044c \\u043d\\u0435\\u0434\\u0435\\u043b\\u0438\":\"\\u0412\\u0442\\u043e\\u0440\\u043d\\u0438\\u043a\",\"\\u0414\\u0430\\u0442\\u0430 \\u0438 \\u0432\\u0440\\u0435\\u043c\\u044f \\u0432\\u0438\\u0437\\u0438\\u0442\\u0430\":\"2026-10-21 14:21:00\",\"\\u0414\\u0430\\u0442\\u0430 \\u0432\\u0438\\u0437\\u0438\\u0442\\u0430\":\"21.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\":\"Haier\",\"ID\":\"40279737\",\"\\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\":\"2006033029383\",\"\\u0410\\u0434\\u0440\\u0435\\u0441\":\"Cojusna str.Tineretului 10\",\"\\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)\":\"04.08.2025\",\"\\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)\":\"T3598\",\"\\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\",\"\\u0418\\u043c\\u044f \\u043a\\u043b\\u0438\\u0435\\u043d\\u0442\\u0430 (\\u0421\\u041c\\u0421)\":\"Victoria\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"37369197378\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Victoria Hubenco\",\"Contact_name\":\"Victoria Hubenco\",\"\\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\":\"2006033029383\",\"\\u0410\\u0434\\u0440\\u0435\\u0441\":\"Cojusna str.Tineretului 10\",\"\\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)\":\"04.08.2025\",\"\\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)\":\"T3598\",\"\\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\",\"\\u0418\\u043c\\u044f \\u043a\\u043b\\u0438\\u0435\\u043d\\u0442\\u0430 (\\u0421\\u041c\\u0421)\":\"Victoria\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"37369197378\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Victoria Hubenco\",\"Contact_name\":\"Victoria Hubenco\",\"\\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\":\"2006033029383\",\"\\u0410\\u0434\\u0440\\u0435\\u0441\":\"Cojusna str.Tineretului 10\",\"\\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)\":\"04.08.2025\",\"\\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)\":\"T3598\",\"\\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\",\"\\u0418\\u043c\\u044f \\u043a\\u043b\\u0438\\u0435\\u043d\\u0442\\u0430 (\\u0421\\u041c\\u0421)\":\"Victoria\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"37369197378\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Victoria Hubenco\",\"\\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\":\"20.10.2026\",\"\\u041d\\u043e\\u043c\\u0435\\u0440\":\"1394\"},\"document\":{\"Date\":\"20.10.2026\",\"Number\":\"1394\"}}}","edit":true}} {"uid":"96dbc19"}
[2026-10-20 14:21:59] docflow.DEBUG: GAS raw response {"raw":"[object] (stdClass: {\"code\":1,\"url\":\"https://docs.google.com/open?id=10rBioMDRfQlurPOqk7_86H4xNnPHLLn_Kf37wAIyE-0\",\"file_id\":\"10rBioMDRfQlurPOqk7_86H4xNnPHLLn_Kf37wAIyE-0\",\"error\":\"\",\"vars\":\"\"})"} {"uid":"96dbc19"}
[2026-10-20 14:21:59] docflow.WARNING: AmoDrive generated-file move is not ready. {"fileId":"10rBioMDRfQlurPOqk7_86H4xNnPHLLn_Kf37wAIyE-0","context":null} {"uid":"96dbc19"}
[2026-10-20 14:22:13] docflow.INFO: Apel createDoc {"data":{"amoAccountId":"32990686","amoUserId":null,"amoEntityId":"40279737","amoEntityType":"2","templateId":"11646","corporateEntityId":"","settlementAccountId":"","is_signed":null,"gdi":null,"number":null,"currentAmoUserId":null,"lang":"ru"}} {"uid":"bd948bf"}
[2026-10-20 14:22:14] docflow.INFO: Token is valid for account 32990686. [] {"uid":"bd948bf"}
[2026-10-20 14:22:14] docflow.DEBUG: getClientAuth returned {"auth":"[object] (stdClass: {\"domain\":\"eurosanteh.amocrm.ru\",\"access_token\":\"eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImp0aSI6ImQ4OGEzOTkzM2JmYjI0ODk3MGVhMzQ0MmIwYTBmNGRhMzU2ZDRlNmE3OWZmMjhhZGYyMDRlODU3ZjU1ZGJmNDJhMGZhZWY2ZDdiMmUyOTdlIn0.eyJhdWQiOiIwZDY0ZGZmYi1lNTRiLTQ0OGYtOWZiZi1iYWYyMjUxYTExZGIiLCJqdGkiOiJkODhhMzk5MzNiZmIyNDg5NzBlYTM0NDJiMGEwZjRkYTM1NmQ0ZTZhNzlmZjI4YWRmMjA0ZTg1N2Y1NWRiZjQyYTBmYWVmNmQ3YjJlMjk3ZSIsImlhdCI6MTc5MjQ5NDEwOCwibmJmIjoxNzkyNDk0MTA4LCJleHAiOjE3OTI1ODA1MDgsInN1YiI6IjEzNjg3MzAyIiwiZ3JhbnRfdHlwZSI6IiIsImFjY291bnRfaWQiOjMyOTkwNjg2LCJiYXNlX2RvbWFpbiI6ImFtb2NybS5ydSIsInZlcnNpb24iOjIsInNjb3BlcyI6WyJwdXNoX25vdGlmaWNhdGlvbnMiLCJjcm0iLCJub3RpZmljYXRpb25zIl0sImhhc2hfdXVpZCI6IjIxNzcyNTZjLTI5ZDktNGNjYy05MWI2LTc2MDkyN2YxNjllYiIsImFwaV9kb21haW4iOiJhcGktYi5hbW9jcm0ucnUifQ.migWzQZC4YW0WHAi2mRPA7jJRw0yWl4PAkPfRKcdHTb8PCshhECKnSg7NduDe7xfUDFHi0oufxkh7xqDz1Ad0ETiOouuC2I35ZWsHNwvvOfGH2s-JAffZ-nr_8SZhNbcP7BdXqf3QQLfoT5E_ACq6b-v-TfrQvwQKhedhAJXHA2w9U6UJ1ZsnVMo_gybDlYUswlRwmYm_Y2P1aYEX_4m5MiuOGWV7FrV4JbOR0bHilKY2SllQ2J2Dr4ms8e-vbQiTZVTBedl4dHqbzkk9SZhVEVLDi7lHd4MSkF8vOotZUQlqWo9ymt-3H9dYUvIOUhRL9SaGrD0XH1cmmJNbSRq3A\"})","file":"/home/ytvmclwh/document.amocrm.md/src/Models/Docs.php","line":121} {"uid":"bd948bf"}
[2026-10-20 14:22:16] docflow.DEBUG: AmoDrive docflow context request {"url":"https://google.emale.uno/api/docflow/google-context","query":{"account_id":"32990686","entity_id":"40279737","entity_type":"leads"}} {"uid":"bd948bf"}
[2026-10-20 14:22:16] 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=40279737&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/20 14:22:16</td>\r\n</tr>\r\n</table>\r\n<hr><center>tengine</center>\r\n</body>\r\n</html>\r\n"} {"uid":"bd948bf"}
[2026-10-20 14:22:16] docflow.DEBUG: AmoDrive docflow context request {"url":"https://gd.glucose-dev.online/api/docflow/google-context","query":{"account_id":"32990686","entity_id":"40279737","entity_type":"leads"}} {"uid":"bd948bf"}
[2026-10-20 14:22:16] 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":"40279737","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":"bd948bf"}
[2026-10-20 14:22:16] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://google.emale.uno/api/docflow/prepare-generated-doc","payload":{"account_id":"32990686","entity_id":"40279737","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"bd948bf"}
[2026-10-20 14:22:16] 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/20 14:22:16</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":"40279737","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"bd948bf"}
[2026-10-20 14:22:16] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://gd.glucose-dev.online/api/docflow/prepare-generated-doc","payload":{"account_id":"32990686","entity_id":"40279737","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"bd948bf"}
[2026-10-20 14:22:16] 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":"40279737","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"bd948bf"}
[2026-10-20 14:22:16] 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 1394 20261020142216\",\"leadId\":\"40279737\",\"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\":\"04.08.2027\",\"\\u0414\\u0430\\u0442\\u0430 \\u043c\\u043e\\u043d\\u0442\\u0430\\u0436\\u0430 (\\u0411\\u0414)\":\"04.08.2025\",\"\\u041d\\u0430\\u0437\\u0432\\u0430\\u043d\\u0438\\u0435 \\u0442\\u043e\\u0432\\u0430\\u0440\\u0430 (\\u0411\\u0414)\":\"0\",\"\\u0412\\u0438\\u0434 \\u0440\\u0430\\u0431\\u043e\\u0442\\u044b (\\u0411\\u0414)\":\"\\u041f\\u0422\\u041e\",\"\\u0424\\u0418\\u041e \\u043c\\u043e\\u043d\\u0442\\u0430\\u0436\\u043d\\u0438\\u043a\\u0430 (\\u0411\\u0414)\":\"\\u0422\\u044e\\u0445\\u0442\\u0438\\u0439 \\u0413\",\"\\u0414\\u0435\\u043d\\u044c \\u043d\\u0435\\u0434\\u0435\\u043b\\u0438\":\"\\u0412\\u0442\\u043e\\u0440\\u043d\\u0438\\u043a\",\"\\u0414\\u0430\\u0442\\u0430 \\u0438 \\u0432\\u0440\\u0435\\u043c\\u044f \\u0432\\u0438\\u0437\\u0438\\u0442\\u0430\":\"2026-10-21 14:21:00\",\"\\u0414\\u0430\\u0442\\u0430 \\u0432\\u0438\\u0437\\u0438\\u0442\\u0430\":\"21.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\":\"Haier\",\"ID\":\"40279737\",\"\\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\":\"04.08.2027\",\"\\u0414\\u0430\\u0442\\u0430 \\u043c\\u043e\\u043d\\u0442\\u0430\\u0436\\u0430 (\\u0411\\u0414)\":\"04.08.2025\",\"\\u041d\\u0430\\u0437\\u0432\\u0430\\u043d\\u0438\\u0435 \\u0442\\u043e\\u0432\\u0430\\u0440\\u0430 (\\u0411\\u0414)\":\"0\",\"\\u0412\\u0438\\u0434 \\u0440\\u0430\\u0431\\u043e\\u0442\\u044b (\\u0411\\u0414)\":\"\\u041f\\u0422\\u041e\",\"\\u0424\\u0418\\u041e \\u043c\\u043e\\u043d\\u0442\\u0430\\u0436\\u043d\\u0438\\u043a\\u0430 (\\u0411\\u0414)\":\"\\u0422\\u044e\\u0445\\u0442\\u0438\\u0439 \\u0413\",\"\\u0414\\u0435\\u043d\\u044c \\u043d\\u0435\\u0434\\u0435\\u043b\\u0438\":\"\\u0412\\u0442\\u043e\\u0440\\u043d\\u0438\\u043a\",\"\\u0414\\u0430\\u0442\\u0430 \\u0438 \\u0432\\u0440\\u0435\\u043c\\u044f \\u0432\\u0438\\u0437\\u0438\\u0442\\u0430\":\"2026-10-21 14:21:00\",\"\\u0414\\u0430\\u0442\\u0430 \\u0432\\u0438\\u0437\\u0438\\u0442\\u0430\":\"21.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\":\"Haier\",\"ID\":\"40279737\",\"\\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\":\"2006033029383\",\"\\u0410\\u0434\\u0440\\u0435\\u0441\":\"Cojusna str.Tineretului 10\",\"\\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)\":\"04.08.2025\",\"\\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)\":\"T3598\",\"\\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\",\"\\u0418\\u043c\\u044f \\u043a\\u043b\\u0438\\u0435\\u043d\\u0442\\u0430 (\\u0421\\u041c\\u0421)\":\"Victoria\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"37369197378\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Victoria Hubenco\",\"Contact_name\":\"Victoria Hubenco\",\"\\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\":\"2006033029383\",\"\\u0410\\u0434\\u0440\\u0435\\u0441\":\"Cojusna str.Tineretului 10\",\"\\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)\":\"04.08.2025\",\"\\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)\":\"T3598\",\"\\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\",\"\\u0418\\u043c\\u044f \\u043a\\u043b\\u0438\\u0435\\u043d\\u0442\\u0430 (\\u0421\\u041c\\u0421)\":\"Victoria\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"37369197378\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Victoria Hubenco\",\"Contact_name\":\"Victoria Hubenco\",\"\\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\":\"2006033029383\",\"\\u0410\\u0434\\u0440\\u0435\\u0441\":\"Cojusna str.Tineretului 10\",\"\\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)\":\"04.08.2025\",\"\\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)\":\"T3598\",\"\\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\",\"\\u0418\\u043c\\u044f \\u043a\\u043b\\u0438\\u0435\\u043d\\u0442\\u0430 (\\u0421\\u041c\\u0421)\":\"Victoria\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"37369197378\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Victoria Hubenco\",\"\\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\":\"20.10.2026\",\"\\u041d\\u043e\\u043c\\u0435\\u0440\":\"1394\"},\"document\":{\"Date\":\"20.10.2026\",\"Number\":\"1394\"}}}","edit":true}} {"uid":"bd948bf"}
[2026-10-20 14:22:23] docflow.DEBUG: GAS raw response {"raw":"[object] (stdClass: {\"code\":1,\"url\":\"https://docs.google.com/open?id=1GDfTae8-e6YJWkWiD3vMY0swMlL44QUjkyL2ezKeVck\",\"file_id\":\"1GDfTae8-e6YJWkWiD3vMY0swMlL44QUjkyL2ezKeVck\",\"error\":\"\",\"vars\":\"\"})"} {"uid":"bd948bf"}
[2026-10-20 14:22:23] docflow.WARNING: AmoDrive generated-file move is not ready. {"fileId":"1GDfTae8-e6YJWkWiD3vMY0swMlL44QUjkyL2ezKeVck","context":null} {"uid":"bd948bf"}
[2026-10-20 14:26:10] docflow.INFO: Apel createDoc {"data":{"amoAccountId":"32990686","amoUserId":null,"amoEntityId":"51293989","amoEntityType":"2","templateId":"11625","corporateEntityId":"","settlementAccountId":"","is_signed":null,"gdi":null,"number":null,"currentAmoUserId":null,"lang":"ru"}} {"uid":"0095729"}
[2026-10-20 14:26:10] docflow.INFO: Token is valid for account 32990686. [] {"uid":"0095729"}
[2026-10-20 14:26:10] docflow.DEBUG: getClientAuth returned {"auth":"[object] (stdClass: {\"domain\":\"eurosanteh.amocrm.ru\",\"access_token\":\"eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImp0aSI6ImQ4OGEzOTkzM2JmYjI0ODk3MGVhMzQ0MmIwYTBmNGRhMzU2ZDRlNmE3OWZmMjhhZGYyMDRlODU3ZjU1ZGJmNDJhMGZhZWY2ZDdiMmUyOTdlIn0.eyJhdWQiOiIwZDY0ZGZmYi1lNTRiLTQ0OGYtOWZiZi1iYWYyMjUxYTExZGIiLCJqdGkiOiJkODhhMzk5MzNiZmIyNDg5NzBlYTM0NDJiMGEwZjRkYTM1NmQ0ZTZhNzlmZjI4YWRmMjA0ZTg1N2Y1NWRiZjQyYTBmYWVmNmQ3YjJlMjk3ZSIsImlhdCI6MTc5MjQ5NDEwOCwibmJmIjoxNzkyNDk0MTA4LCJleHAiOjE3OTI1ODA1MDgsInN1YiI6IjEzNjg3MzAyIiwiZ3JhbnRfdHlwZSI6IiIsImFjY291bnRfaWQiOjMyOTkwNjg2LCJiYXNlX2RvbWFpbiI6ImFtb2NybS5ydSIsInZlcnNpb24iOjIsInNjb3BlcyI6WyJwdXNoX25vdGlmaWNhdGlvbnMiLCJjcm0iLCJub3RpZmljYXRpb25zIl0sImhhc2hfdXVpZCI6IjIxNzcyNTZjLTI5ZDktNGNjYy05MWI2LTc2MDkyN2YxNjllYiIsImFwaV9kb21haW4iOiJhcGktYi5hbW9jcm0ucnUifQ.migWzQZC4YW0WHAi2mRPA7jJRw0yWl4PAkPfRKcdHTb8PCshhECKnSg7NduDe7xfUDFHi0oufxkh7xqDz1Ad0ETiOouuC2I35ZWsHNwvvOfGH2s-JAffZ-nr_8SZhNbcP7BdXqf3QQLfoT5E_ACq6b-v-TfrQvwQKhedhAJXHA2w9U6UJ1ZsnVMo_gybDlYUswlRwmYm_Y2P1aYEX_4m5MiuOGWV7FrV4JbOR0bHilKY2SllQ2J2Dr4ms8e-vbQiTZVTBedl4dHqbzkk9SZhVEVLDi7lHd4MSkF8vOotZUQlqWo9ymt-3H9dYUvIOUhRL9SaGrD0XH1cmmJNbSRq3A\"})","file":"/home/ytvmclwh/document.amocrm.md/src/Models/Docs.php","line":121} {"uid":"0095729"}
[2026-10-20 14:26:12] docflow.DEBUG: AmoDrive docflow context request {"url":"https://google.emale.uno/api/docflow/google-context","query":{"account_id":"32990686","entity_id":"51293989","entity_type":"leads"}} {"uid":"0095729"}
[2026-10-20 14:26:12] 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=51293989&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/20 14:26:12</td>\r\n</tr>\r\n</table>\r\n<hr><center>tengine</center>\r\n</body>\r\n</html>\r\n"} {"uid":"0095729"}
[2026-10-20 14:26:12] docflow.DEBUG: AmoDrive docflow context request {"url":"https://gd.glucose-dev.online/api/docflow/google-context","query":{"account_id":"32990686","entity_id":"51293989","entity_type":"leads"}} {"uid":"0095729"}
[2026-10-20 14:26:12] 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":"51293989","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":"0095729"}
[2026-10-20 14:26:12] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://google.emale.uno/api/docflow/prepare-generated-doc","payload":{"account_id":"32990686","entity_id":"51293989","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"0095729"}
[2026-10-20 14:26:12] 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/20 14:26:12</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":"51293989","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"0095729"}
[2026-10-20 14:26:12] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://gd.glucose-dev.online/api/docflow/prepare-generated-doc","payload":{"account_id":"32990686","entity_id":"51293989","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"0095729"}
[2026-10-20 14:26:12] 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":"51293989","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"0095729"}
[2026-10-20 14:26:12] 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 1395 20261020142612\",\"leadId\":\"51293989\",\"entities\":{\"\\u0441\\u0434\\u0435\\u043b\\u043a\\u0430\":{\"\\u041f\\u043e\\u043f\\u044b\\u0442\\u043a\\u0430 \\u0441\\u0432\\u044f\\u0437\\u0438 \\u043e\\u0442 \\u043a\\u043b\\u0438\\u0435\\u043d\\u0442\\u0430\":\"1\",\"\\u041d\\u043e\\u043c\\u0435\\u0440 \\u043a\\u043e\\u043d\\u0442\\u0440\\u0430\\u043a\\u0442\\u0430\":\"V1027\",\"\\u041c\\u043e\\u0434\\u0435\\u043b\\u044c \\u043e\\u0431\\u043e\\u0440\\u0443\\u0434\\u043e\\u0432\\u0430\\u043d\\u0438\\u044f 1\":\"Haier Pearl 35\",\"\\u0414\\u0430\\u0442\\u0430 \\u0438 \\u0432\\u0440\\u0435\\u043c\\u044f \\u0432\\u0438\\u0437\\u0438\\u0442\\u0430\":\"2026-10-21 11:42:00\",\"\\u0414\\u0430\\u0442\\u0430 \\u0432\\u0438\\u0437\\u0438\\u0442\\u0430\":\"21.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\":\"21.10.2027\",\"ID\":\"51293989\",\"\\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\":{\"\\u041f\\u043e\\u043f\\u044b\\u0442\\u043a\\u0430 \\u0441\\u0432\\u044f\\u0437\\u0438 \\u043e\\u0442 \\u043a\\u043b\\u0438\\u0435\\u043d\\u0442\\u0430\":\"1\",\"\\u041d\\u043e\\u043c\\u0435\\u0440 \\u043a\\u043e\\u043d\\u0442\\u0440\\u0430\\u043a\\u0442\\u0430\":\"V1027\",\"\\u041c\\u043e\\u0434\\u0435\\u043b\\u044c \\u043e\\u0431\\u043e\\u0440\\u0443\\u0434\\u043e\\u0432\\u0430\\u043d\\u0438\\u044f 1\":\"Haier Pearl 35\",\"\\u0414\\u0430\\u0442\\u0430 \\u0438 \\u0432\\u0440\\u0435\\u043c\\u044f \\u0432\\u0438\\u0437\\u0438\\u0442\\u0430\":\"2026-10-21 11:42:00\",\"\\u0414\\u0430\\u0442\\u0430 \\u0432\\u0438\\u0437\\u0438\\u0442\\u0430\":\"21.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\":\"21.10.2027\",\"ID\":\"51293989\",\"\\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\":\"981606018582\",\"\\u0410\\u0434\\u0440\\u0435\\u0441\":\"str.Asachi 71\\/5 et3 ap32\",\"\\u041f\\u043e\\u0432\\u0442\\u043e\\u0440\\u043d\\u044b\\u0439 \\u043a\\u043b\\u0438\\u0435\\u043d\\u0442?\":\"\\u0414\\u0430\",\"\\u041d\\u043e\\u043c\\u0435\\u0440 \\u043a\\u043e\\u043d\\u0442\\u0440\\u0430\\u043a\\u0442\\u0430 (\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442)\":\"V1027\",\"\\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 Pearl 35\",\"\\u0418\\u043c\\u044f \\u043a\\u043b\\u0438\\u0435\\u043d\\u0442\\u0430 (\\u0421\\u041c\\u0421)\":\"Victor\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"37369366880\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Victor Luca\",\"Contact_name\":\"Victor Luca\",\"\\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\":\"981606018582\",\"\\u0410\\u0434\\u0440\\u0435\\u0441\":\"str.Asachi 71\\/5 et3 ap32\",\"\\u041f\\u043e\\u0432\\u0442\\u043e\\u0440\\u043d\\u044b\\u0439 \\u043a\\u043b\\u0438\\u0435\\u043d\\u0442?\":\"\\u0414\\u0430\",\"\\u041d\\u043e\\u043c\\u0435\\u0440 \\u043a\\u043e\\u043d\\u0442\\u0440\\u0430\\u043a\\u0442\\u0430 (\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442)\":\"V1027\",\"\\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 Pearl 35\",\"\\u0418\\u043c\\u044f \\u043a\\u043b\\u0438\\u0435\\u043d\\u0442\\u0430 (\\u0421\\u041c\\u0421)\":\"Victor\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"37369366880\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Victor Luca\",\"Contact_name\":\"Victor Luca\",\"\\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\":\"981606018582\",\"\\u0410\\u0434\\u0440\\u0435\\u0441\":\"str.Asachi 71\\/5 et3 ap32\",\"\\u041f\\u043e\\u0432\\u0442\\u043e\\u0440\\u043d\\u044b\\u0439 \\u043a\\u043b\\u0438\\u0435\\u043d\\u0442?\":\"\\u0414\\u0430\",\"\\u041d\\u043e\\u043c\\u0435\\u0440 \\u043a\\u043e\\u043d\\u0442\\u0440\\u0430\\u043a\\u0442\\u0430 (\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442)\":\"V1027\",\"\\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 Pearl 35\",\"\\u0418\\u043c\\u044f \\u043a\\u043b\\u0438\\u0435\\u043d\\u0442\\u0430 (\\u0421\\u041c\\u0421)\":\"Victor\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"37369366880\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Victor Luca\",\"\\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\":\"20.10.2026\",\"\\u041d\\u043e\\u043c\\u0435\\u0440\":\"1395\"},\"document\":{\"Date\":\"20.10.2026\",\"Number\":\"1395\"}}}","edit":true}} {"uid":"0095729"}
[2026-10-20 14:26:21] docflow.DEBUG: GAS raw response {"raw":"[object] (stdClass: {\"code\":1,\"url\":\"https://docs.google.com/open?id=11YFTGNWV9nIoRA7sUDY5DQZ5L_o6NqqS7vjwyOsdBhI\",\"file_id\":\"11YFTGNWV9nIoRA7sUDY5DQZ5L_o6NqqS7vjwyOsdBhI\",\"error\":\"\",\"vars\":\"\"})"} {"uid":"0095729"}
[2026-10-20 14:26:21] docflow.WARNING: AmoDrive generated-file move is not ready. {"fileId":"11YFTGNWV9nIoRA7sUDY5DQZ5L_o6NqqS7vjwyOsdBhI","context":null} {"uid":"0095729"}
[2026-10-20 14:26:32] docflow.INFO: Apel createDoc {"data":{"amoAccountId":"32990686","amoUserId":null,"amoEntityId":"51293989","amoEntityType":"2","templateId":"11646","corporateEntityId":"","settlementAccountId":"","is_signed":null,"gdi":null,"number":null,"currentAmoUserId":null,"lang":"ru"}} {"uid":"25b5965"}
[2026-10-20 14:26:32] docflow.INFO: Token is valid for account 32990686. [] {"uid":"25b5965"}
[2026-10-20 14:26:32] docflow.DEBUG: getClientAuth returned {"auth":"[object] (stdClass: {\"domain\":\"eurosanteh.amocrm.ru\",\"access_token\":\"eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImp0aSI6ImQ4OGEzOTkzM2JmYjI0ODk3MGVhMzQ0MmIwYTBmNGRhMzU2ZDRlNmE3OWZmMjhhZGYyMDRlODU3ZjU1ZGJmNDJhMGZhZWY2ZDdiMmUyOTdlIn0.eyJhdWQiOiIwZDY0ZGZmYi1lNTRiLTQ0OGYtOWZiZi1iYWYyMjUxYTExZGIiLCJqdGkiOiJkODhhMzk5MzNiZmIyNDg5NzBlYTM0NDJiMGEwZjRkYTM1NmQ0ZTZhNzlmZjI4YWRmMjA0ZTg1N2Y1NWRiZjQyYTBmYWVmNmQ3YjJlMjk3ZSIsImlhdCI6MTc5MjQ5NDEwOCwibmJmIjoxNzkyNDk0MTA4LCJleHAiOjE3OTI1ODA1MDgsInN1YiI6IjEzNjg3MzAyIiwiZ3JhbnRfdHlwZSI6IiIsImFjY291bnRfaWQiOjMyOTkwNjg2LCJiYXNlX2RvbWFpbiI6ImFtb2NybS5ydSIsInZlcnNpb24iOjIsInNjb3BlcyI6WyJwdXNoX25vdGlmaWNhdGlvbnMiLCJjcm0iLCJub3RpZmljYXRpb25zIl0sImhhc2hfdXVpZCI6IjIxNzcyNTZjLTI5ZDktNGNjYy05MWI2LTc2MDkyN2YxNjllYiIsImFwaV9kb21haW4iOiJhcGktYi5hbW9jcm0ucnUifQ.migWzQZC4YW0WHAi2mRPA7jJRw0yWl4PAkPfRKcdHTb8PCshhECKnSg7NduDe7xfUDFHi0oufxkh7xqDz1Ad0ETiOouuC2I35ZWsHNwvvOfGH2s-JAffZ-nr_8SZhNbcP7BdXqf3QQLfoT5E_ACq6b-v-TfrQvwQKhedhAJXHA2w9U6UJ1ZsnVMo_gybDlYUswlRwmYm_Y2P1aYEX_4m5MiuOGWV7FrV4JbOR0bHilKY2SllQ2J2Dr4ms8e-vbQiTZVTBedl4dHqbzkk9SZhVEVLDi7lHd4MSkF8vOotZUQlqWo9ymt-3H9dYUvIOUhRL9SaGrD0XH1cmmJNbSRq3A\"})","file":"/home/ytvmclwh/document.amocrm.md/src/Models/Docs.php","line":121} {"uid":"25b5965"}
[2026-10-20 14:26:34] docflow.DEBUG: AmoDrive docflow context request {"url":"https://google.emale.uno/api/docflow/google-context","query":{"account_id":"32990686","entity_id":"51293989","entity_type":"leads"}} {"uid":"25b5965"}
[2026-10-20 14:26:34] 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=51293989&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/20 14:26:34</td>\r\n</tr>\r\n</table>\r\n<hr><center>tengine</center>\r\n</body>\r\n</html>\r\n"} {"uid":"25b5965"}
[2026-10-20 14:26:34] docflow.DEBUG: AmoDrive docflow context request {"url":"https://gd.glucose-dev.online/api/docflow/google-context","query":{"account_id":"32990686","entity_id":"51293989","entity_type":"leads"}} {"uid":"25b5965"}
[2026-10-20 14:26:35] 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":"51293989","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":"25b5965"}
[2026-10-20 14:26:35] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://google.emale.uno/api/docflow/prepare-generated-doc","payload":{"account_id":"32990686","entity_id":"51293989","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"25b5965"}
[2026-10-20 14:26:35] 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/20 14:26:35</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":"51293989","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"25b5965"}
[2026-10-20 14:26:35] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://gd.glucose-dev.online/api/docflow/prepare-generated-doc","payload":{"account_id":"32990686","entity_id":"51293989","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"25b5965"}
[2026-10-20 14:26:35] 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":"51293989","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"25b5965"}
[2026-10-20 14:26:35] 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 1395 20261020142634\",\"leadId\":\"51293989\",\"entities\":{\"\\u0441\\u0434\\u0435\\u043b\\u043a\\u0430\":{\"\\u041f\\u043e\\u043f\\u044b\\u0442\\u043a\\u0430 \\u0441\\u0432\\u044f\\u0437\\u0438 \\u043e\\u0442 \\u043a\\u043b\\u0438\\u0435\\u043d\\u0442\\u0430\":\"1\",\"\\u041d\\u043e\\u043c\\u0435\\u0440 \\u043a\\u043e\\u043d\\u0442\\u0440\\u0430\\u043a\\u0442\\u0430\":\"V1027\",\"\\u041c\\u043e\\u0434\\u0435\\u043b\\u044c \\u043e\\u0431\\u043e\\u0440\\u0443\\u0434\\u043e\\u0432\\u0430\\u043d\\u0438\\u044f 1\":\"Haier Pearl 35\",\"\\u0414\\u0430\\u0442\\u0430 \\u0438 \\u0432\\u0440\\u0435\\u043c\\u044f \\u0432\\u0438\\u0437\\u0438\\u0442\\u0430\":\"2026-10-21 11:42:00\",\"\\u0414\\u0430\\u0442\\u0430 \\u0432\\u0438\\u0437\\u0438\\u0442\\u0430\":\"21.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\":\"21.10.2027\",\"ID\":\"51293989\",\"\\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\":{\"\\u041f\\u043e\\u043f\\u044b\\u0442\\u043a\\u0430 \\u0441\\u0432\\u044f\\u0437\\u0438 \\u043e\\u0442 \\u043a\\u043b\\u0438\\u0435\\u043d\\u0442\\u0430\":\"1\",\"\\u041d\\u043e\\u043c\\u0435\\u0440 \\u043a\\u043e\\u043d\\u0442\\u0440\\u0430\\u043a\\u0442\\u0430\":\"V1027\",\"\\u041c\\u043e\\u0434\\u0435\\u043b\\u044c \\u043e\\u0431\\u043e\\u0440\\u0443\\u0434\\u043e\\u0432\\u0430\\u043d\\u0438\\u044f 1\":\"Haier Pearl 35\",\"\\u0414\\u0430\\u0442\\u0430 \\u0438 \\u0432\\u0440\\u0435\\u043c\\u044f \\u0432\\u0438\\u0437\\u0438\\u0442\\u0430\":\"2026-10-21 11:42:00\",\"\\u0414\\u0430\\u0442\\u0430 \\u0432\\u0438\\u0437\\u0438\\u0442\\u0430\":\"21.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\":\"21.10.2027\",\"ID\":\"51293989\",\"\\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\":\"981606018582\",\"\\u0410\\u0434\\u0440\\u0435\\u0441\":\"str.Asachi 71\\/5 et3 ap32\",\"\\u041f\\u043e\\u0432\\u0442\\u043e\\u0440\\u043d\\u044b\\u0439 \\u043a\\u043b\\u0438\\u0435\\u043d\\u0442?\":\"\\u0414\\u0430\",\"\\u041d\\u043e\\u043c\\u0435\\u0440 \\u043a\\u043e\\u043d\\u0442\\u0440\\u0430\\u043a\\u0442\\u0430 (\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442)\":\"V1027\",\"\\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 Pearl 35\",\"\\u0418\\u043c\\u044f \\u043a\\u043b\\u0438\\u0435\\u043d\\u0442\\u0430 (\\u0421\\u041c\\u0421)\":\"Victor\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"37369366880\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Victor Luca\",\"Contact_name\":\"Victor Luca\",\"\\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\":\"981606018582\",\"\\u0410\\u0434\\u0440\\u0435\\u0441\":\"str.Asachi 71\\/5 et3 ap32\",\"\\u041f\\u043e\\u0432\\u0442\\u043e\\u0440\\u043d\\u044b\\u0439 \\u043a\\u043b\\u0438\\u0435\\u043d\\u0442?\":\"\\u0414\\u0430\",\"\\u041d\\u043e\\u043c\\u0435\\u0440 \\u043a\\u043e\\u043d\\u0442\\u0440\\u0430\\u043a\\u0442\\u0430 (\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442)\":\"V1027\",\"\\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 Pearl 35\",\"\\u0418\\u043c\\u044f \\u043a\\u043b\\u0438\\u0435\\u043d\\u0442\\u0430 (\\u0421\\u041c\\u0421)\":\"Victor\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"37369366880\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Victor Luca\",\"Contact_name\":\"Victor Luca\",\"\\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\":\"981606018582\",\"\\u0410\\u0434\\u0440\\u0435\\u0441\":\"str.Asachi 71\\/5 et3 ap32\",\"\\u041f\\u043e\\u0432\\u0442\\u043e\\u0440\\u043d\\u044b\\u0439 \\u043a\\u043b\\u0438\\u0435\\u043d\\u0442?\":\"\\u0414\\u0430\",\"\\u041d\\u043e\\u043c\\u0435\\u0440 \\u043a\\u043e\\u043d\\u0442\\u0440\\u0430\\u043a\\u0442\\u0430 (\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442)\":\"V1027\",\"\\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 Pearl 35\",\"\\u0418\\u043c\\u044f \\u043a\\u043b\\u0438\\u0435\\u043d\\u0442\\u0430 (\\u0421\\u041c\\u0421)\":\"Victor\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"37369366880\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Victor Luca\",\"\\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\":\"20.10.2026\",\"\\u041d\\u043e\\u043c\\u0435\\u0440\":\"1395\"},\"document\":{\"Date\":\"20.10.2026\",\"Number\":\"1395\"}}}","edit":true}} {"uid":"25b5965"}
[2026-10-20 14:26:41] docflow.DEBUG: GAS raw response {"raw":"[object] (stdClass: {\"code\":1,\"url\":\"https://docs.google.com/open?id=1FrshfPI8NhFCZu_FfIgo5-r10lpeDMlWEo7AZv2bK7w\",\"file_id\":\"1FrshfPI8NhFCZu_FfIgo5-r10lpeDMlWEo7AZv2bK7w\",\"error\":\"\",\"vars\":\"\"})"} {"uid":"25b5965"}
[2026-10-20 14:26:41] docflow.WARNING: AmoDrive generated-file move is not ready. {"fileId":"1FrshfPI8NhFCZu_FfIgo5-r10lpeDMlWEo7AZv2bK7w","context":null} {"uid":"25b5965"}
[2026-10-20 14:28:23] docflow.INFO: Apel createDoc {"data":{"amoAccountId":"32990686","amoUserId":null,"amoEntityId":"40281355","amoEntityType":"2","templateId":"11625","corporateEntityId":"","settlementAccountId":"","is_signed":null,"gdi":null,"number":null,"currentAmoUserId":null,"lang":"ru"}} {"uid":"4a61e33"}
[2026-10-20 14:28:23] docflow.INFO: Token is valid for account 32990686. [] {"uid":"4a61e33"}
[2026-10-20 14:28:23] docflow.DEBUG: getClientAuth returned {"auth":"[object] (stdClass: {\"domain\":\"eurosanteh.amocrm.ru\",\"access_token\":\"eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImp0aSI6ImQ4OGEzOTkzM2JmYjI0ODk3MGVhMzQ0MmIwYTBmNGRhMzU2ZDRlNmE3OWZmMjhhZGYyMDRlODU3ZjU1ZGJmNDJhMGZhZWY2ZDdiMmUyOTdlIn0.eyJhdWQiOiIwZDY0ZGZmYi1lNTRiLTQ0OGYtOWZiZi1iYWYyMjUxYTExZGIiLCJqdGkiOiJkODhhMzk5MzNiZmIyNDg5NzBlYTM0NDJiMGEwZjRkYTM1NmQ0ZTZhNzlmZjI4YWRmMjA0ZTg1N2Y1NWRiZjQyYTBmYWVmNmQ3YjJlMjk3ZSIsImlhdCI6MTc5MjQ5NDEwOCwibmJmIjoxNzkyNDk0MTA4LCJleHAiOjE3OTI1ODA1MDgsInN1YiI6IjEzNjg3MzAyIiwiZ3JhbnRfdHlwZSI6IiIsImFjY291bnRfaWQiOjMyOTkwNjg2LCJiYXNlX2RvbWFpbiI6ImFtb2NybS5ydSIsInZlcnNpb24iOjIsInNjb3BlcyI6WyJwdXNoX25vdGlmaWNhdGlvbnMiLCJjcm0iLCJub3RpZmljYXRpb25zIl0sImhhc2hfdXVpZCI6IjIxNzcyNTZjLTI5ZDktNGNjYy05MWI2LTc2MDkyN2YxNjllYiIsImFwaV9kb21haW4iOiJhcGktYi5hbW9jcm0ucnUifQ.migWzQZC4YW0WHAi2mRPA7jJRw0yWl4PAkPfRKcdHTb8PCshhECKnSg7NduDe7xfUDFHi0oufxkh7xqDz1Ad0ETiOouuC2I35ZWsHNwvvOfGH2s-JAffZ-nr_8SZhNbcP7BdXqf3QQLfoT5E_ACq6b-v-TfrQvwQKhedhAJXHA2w9U6UJ1ZsnVMo_gybDlYUswlRwmYm_Y2P1aYEX_4m5MiuOGWV7FrV4JbOR0bHilKY2SllQ2J2Dr4ms8e-vbQiTZVTBedl4dHqbzkk9SZhVEVLDi7lHd4MSkF8vOotZUQlqWo9ymt-3H9dYUvIOUhRL9SaGrD0XH1cmmJNbSRq3A\"})","file":"/home/ytvmclwh/document.amocrm.md/src/Models/Docs.php","line":121} {"uid":"4a61e33"}
[2026-10-20 14:28:25] docflow.DEBUG: AmoDrive docflow context request {"url":"https://google.emale.uno/api/docflow/google-context","query":{"account_id":"32990686","entity_id":"40281355","entity_type":"leads"}} {"uid":"4a61e33"}
[2026-10-20 14:28:26] 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=40281355&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/20 14:28:26</td>\r\n</tr>\r\n</table>\r\n<hr><center>tengine</center>\r\n</body>\r\n</html>\r\n"} {"uid":"4a61e33"}
[2026-10-20 14:28:26] docflow.DEBUG: AmoDrive docflow context request {"url":"https://gd.glucose-dev.online/api/docflow/google-context","query":{"account_id":"32990686","entity_id":"40281355","entity_type":"leads"}} {"uid":"4a61e33"}
[2026-10-20 14:28:26] 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":"40281355","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":"4a61e33"}
[2026-10-20 14:28:26] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://google.emale.uno/api/docflow/prepare-generated-doc","payload":{"account_id":"32990686","entity_id":"40281355","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"4a61e33"}
[2026-10-20 14:28:26] 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/20 14:28:26</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":"40281355","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"4a61e33"}
[2026-10-20 14:28:26] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://gd.glucose-dev.online/api/docflow/prepare-generated-doc","payload":{"account_id":"32990686","entity_id":"40281355","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"4a61e33"}
[2026-10-20 14:28:26] 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":"40281355","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"4a61e33"}
[2026-10-20 14:28:26] 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 1396 20261020142825\",\"leadId\":\"40281355\",\"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\":\"08.11.2027\",\"\\u0414\\u0430\\u0442\\u0430 \\u043c\\u043e\\u043d\\u0442\\u0430\\u0436\\u0430 (\\u0411\\u0414)\":\"08.11.2025\",\"\\u041d\\u0430\\u0437\\u0432\\u0430\\u043d\\u0438\\u0435 \\u0442\\u043e\\u0432\\u0430\\u0440\\u0430 (\\u0411\\u0414)\":\"CH 71\",\"\\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-21 14:05:00\",\"\\u0414\\u0430\\u0442\\u0430 \\u0432\\u0438\\u0437\\u0438\\u0442\\u0430\":\"21.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\":\"CH 35*3 +25\",\"ID\":\"40281355\",\"\\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\":\"08.11.2027\",\"\\u0414\\u0430\\u0442\\u0430 \\u043c\\u043e\\u043d\\u0442\\u0430\\u0436\\u0430 (\\u0411\\u0414)\":\"08.11.2025\",\"\\u041d\\u0430\\u0437\\u0432\\u0430\\u043d\\u0438\\u0435 \\u0442\\u043e\\u0432\\u0430\\u0440\\u0430 (\\u0411\\u0414)\":\"CH 71\",\"\\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-21 14:05:00\",\"\\u0414\\u0430\\u0442\\u0430 \\u0432\\u0438\\u0437\\u0438\\u0442\\u0430\":\"21.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\":\"CH 35*3 +25\",\"ID\":\"40281355\",\"\\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\":\"981202037783\",\"\\u0410\\u0434\\u0440\\u0435\\u0441\":\"stradela 9 Tineretului 13\",\"\\u041f\\u043e\\u0432\\u0442\\u043e\\u0440\\u043d\\u044b\\u0439 \\u043a\\u043b\\u0438\\u0435\\u043d\\u0442?\":\"\\u0414\\u0430\",\"\\u041d\\u043e\\u043c\\u0435\\u0440 \\u043a\\u043e\\u043d\\u0442\\u0440\\u0430\\u043a\\u0442\\u0430 (\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442)\":\"C6095\",\"\\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)\":\"CH 35*3 +25\",\"\\u0418\\u043c\\u044f \\u043a\\u043b\\u0438\\u0435\\u043d\\u0442\\u0430 (\\u0421\\u041c\\u0421)\":\"Radu\",\"\\u0414\\u0430\\u0442\\u0430 \\u043c\\u043e\\u043d\\u0442\\u0430\\u0436\\u0430 (\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442)\":\"08.11.2025\",\"\\u041a\\u043e\\u043b - \\u0432\\u043e \\u043e\\u0431\\u043e\\u0440\\u0443\\u0434\\u043e\\u0432\\u0430\\u043d\\u0438\\u044f (\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442)\":\"4\",\"\\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\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"37369933118\",\"\\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\":\"Radu Chistruga\",\"Contact_name\":\"Radu Chistruga\",\"\\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\":\"981202037783\",\"\\u0410\\u0434\\u0440\\u0435\\u0441\":\"stradela 9 Tineretului 13\",\"\\u041f\\u043e\\u0432\\u0442\\u043e\\u0440\\u043d\\u044b\\u0439 \\u043a\\u043b\\u0438\\u0435\\u043d\\u0442?\":\"\\u0414\\u0430\",\"\\u041d\\u043e\\u043c\\u0435\\u0440 \\u043a\\u043e\\u043d\\u0442\\u0440\\u0430\\u043a\\u0442\\u0430 (\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442)\":\"C6095\",\"\\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)\":\"CH 35*3 +25\",\"\\u0418\\u043c\\u044f \\u043a\\u043b\\u0438\\u0435\\u043d\\u0442\\u0430 (\\u0421\\u041c\\u0421)\":\"Radu\",\"\\u0414\\u0430\\u0442\\u0430 \\u043c\\u043e\\u043d\\u0442\\u0430\\u0436\\u0430 (\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442)\":\"08.11.2025\",\"\\u041a\\u043e\\u043b - \\u0432\\u043e \\u043e\\u0431\\u043e\\u0440\\u0443\\u0434\\u043e\\u0432\\u0430\\u043d\\u0438\\u044f (\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442)\":\"4\",\"\\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\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"37369933118\",\"\\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\":\"Radu Chistruga\",\"Contact_name\":\"Radu Chistruga\",\"\\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\":\"981202037783\",\"\\u0410\\u0434\\u0440\\u0435\\u0441\":\"stradela 9 Tineretului 13\",\"\\u041f\\u043e\\u0432\\u0442\\u043e\\u0440\\u043d\\u044b\\u0439 \\u043a\\u043b\\u0438\\u0435\\u043d\\u0442?\":\"\\u0414\\u0430\",\"\\u041d\\u043e\\u043c\\u0435\\u0440 \\u043a\\u043e\\u043d\\u0442\\u0440\\u0430\\u043a\\u0442\\u0430 (\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442)\":\"C6095\",\"\\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)\":\"CH 35*3 +25\",\"\\u0418\\u043c\\u044f \\u043a\\u043b\\u0438\\u0435\\u043d\\u0442\\u0430 (\\u0421\\u041c\\u0421)\":\"Radu\",\"\\u0414\\u0430\\u0442\\u0430 \\u043c\\u043e\\u043d\\u0442\\u0430\\u0436\\u0430 (\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442)\":\"08.11.2025\",\"\\u041a\\u043e\\u043b - \\u0432\\u043e \\u043e\\u0431\\u043e\\u0440\\u0443\\u0434\\u043e\\u0432\\u0430\\u043d\\u0438\\u044f (\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442)\":\"4\",\"\\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\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"37369933118\",\"\\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\":\"Radu Chistruga\",\"\\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\":\"20.10.2026\",\"\\u041d\\u043e\\u043c\\u0435\\u0440\":\"1396\"},\"document\":{\"Date\":\"20.10.2026\",\"Number\":\"1396\"}}}","edit":true}} {"uid":"4a61e33"}
[2026-10-20 14:28:31] docflow.DEBUG: GAS raw response {"raw":"[object] (stdClass: {\"code\":1,\"url\":\"https://docs.google.com/open?id=1i5g1Mp-o9YT9JCI4XjfUpGbwgh8p7OTqRlxkezSeH8g\",\"file_id\":\"1i5g1Mp-o9YT9JCI4XjfUpGbwgh8p7OTqRlxkezSeH8g\",\"error\":\"\",\"vars\":\"\"})"} {"uid":"4a61e33"}
[2026-10-20 14:28:31] docflow.WARNING: AmoDrive generated-file move is not ready. {"fileId":"1i5g1Mp-o9YT9JCI4XjfUpGbwgh8p7OTqRlxkezSeH8g","context":null} {"uid":"4a61e33"}
[2026-10-20 14:28:36] docflow.INFO: Apel createDoc {"data":{"amoAccountId":"32990686","amoUserId":null,"amoEntityId":"40281355","amoEntityType":"2","templateId":"11646","corporateEntityId":"","settlementAccountId":"","is_signed":null,"gdi":null,"number":null,"currentAmoUserId":null,"lang":"ru"}} {"uid":"b9af656"}
[2026-10-20 14:28:37] docflow.INFO: Token is valid for account 32990686. [] {"uid":"b9af656"}
[2026-10-20 14:28:37] docflow.DEBUG: getClientAuth returned {"auth":"[object] (stdClass: {\"domain\":\"eurosanteh.amocrm.ru\",\"access_token\":\"eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImp0aSI6ImQ4OGEzOTkzM2JmYjI0ODk3MGVhMzQ0MmIwYTBmNGRhMzU2ZDRlNmE3OWZmMjhhZGYyMDRlODU3ZjU1ZGJmNDJhMGZhZWY2ZDdiMmUyOTdlIn0.eyJhdWQiOiIwZDY0ZGZmYi1lNTRiLTQ0OGYtOWZiZi1iYWYyMjUxYTExZGIiLCJqdGkiOiJkODhhMzk5MzNiZmIyNDg5NzBlYTM0NDJiMGEwZjRkYTM1NmQ0ZTZhNzlmZjI4YWRmMjA0ZTg1N2Y1NWRiZjQyYTBmYWVmNmQ3YjJlMjk3ZSIsImlhdCI6MTc5MjQ5NDEwOCwibmJmIjoxNzkyNDk0MTA4LCJleHAiOjE3OTI1ODA1MDgsInN1YiI6IjEzNjg3MzAyIiwiZ3JhbnRfdHlwZSI6IiIsImFjY291bnRfaWQiOjMyOTkwNjg2LCJiYXNlX2RvbWFpbiI6ImFtb2NybS5ydSIsInZlcnNpb24iOjIsInNjb3BlcyI6WyJwdXNoX25vdGlmaWNhdGlvbnMiLCJjcm0iLCJub3RpZmljYXRpb25zIl0sImhhc2hfdXVpZCI6IjIxNzcyNTZjLTI5ZDktNGNjYy05MWI2LTc2MDkyN2YxNjllYiIsImFwaV9kb21haW4iOiJhcGktYi5hbW9jcm0ucnUifQ.migWzQZC4YW0WHAi2mRPA7jJRw0yWl4PAkPfRKcdHTb8PCshhECKnSg7NduDe7xfUDFHi0oufxkh7xqDz1Ad0ETiOouuC2I35ZWsHNwvvOfGH2s-JAffZ-nr_8SZhNbcP7BdXqf3QQLfoT5E_ACq6b-v-TfrQvwQKhedhAJXHA2w9U6UJ1ZsnVMo_gybDlYUswlRwmYm_Y2P1aYEX_4m5MiuOGWV7FrV4JbOR0bHilKY2SllQ2J2Dr4ms8e-vbQiTZVTBedl4dHqbzkk9SZhVEVLDi7lHd4MSkF8vOotZUQlqWo9ymt-3H9dYUvIOUhRL9SaGrD0XH1cmmJNbSRq3A\"})","file":"/home/ytvmclwh/document.amocrm.md/src/Models/Docs.php","line":121} {"uid":"b9af656"}
[2026-10-20 14:28:39] docflow.DEBUG: AmoDrive docflow context request {"url":"https://google.emale.uno/api/docflow/google-context","query":{"account_id":"32990686","entity_id":"40281355","entity_type":"leads"}} {"uid":"b9af656"}
[2026-10-20 14:28:39] 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=40281355&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/20 14:28:39</td>\r\n</tr>\r\n</table>\r\n<hr><center>tengine</center>\r\n</body>\r\n</html>\r\n"} {"uid":"b9af656"}
[2026-10-20 14:28:39] docflow.DEBUG: AmoDrive docflow context request {"url":"https://gd.glucose-dev.online/api/docflow/google-context","query":{"account_id":"32990686","entity_id":"40281355","entity_type":"leads"}} {"uid":"b9af656"}
[2026-10-20 14:28:39] 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":"40281355","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":"b9af656"}
[2026-10-20 14:28:39] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://google.emale.uno/api/docflow/prepare-generated-doc","payload":{"account_id":"32990686","entity_id":"40281355","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"b9af656"}
[2026-10-20 14:28:39] 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/20 14:28:39</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":"40281355","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"b9af656"}
[2026-10-20 14:28:39] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://gd.glucose-dev.online/api/docflow/prepare-generated-doc","payload":{"account_id":"32990686","entity_id":"40281355","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"b9af656"}
[2026-10-20 14:28:39] 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":"40281355","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"b9af656"}
[2026-10-20 14:28:39] 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 1396 20261020142839\",\"leadId\":\"40281355\",\"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\":\"08.11.2027\",\"\\u0414\\u0430\\u0442\\u0430 \\u043c\\u043e\\u043d\\u0442\\u0430\\u0436\\u0430 (\\u0411\\u0414)\":\"08.11.2025\",\"\\u041d\\u0430\\u0437\\u0432\\u0430\\u043d\\u0438\\u0435 \\u0442\\u043e\\u0432\\u0430\\u0440\\u0430 (\\u0411\\u0414)\":\"CH 71\",\"\\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-21 14:05:00\",\"\\u0414\\u0430\\u0442\\u0430 \\u0432\\u0438\\u0437\\u0438\\u0442\\u0430\":\"21.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\":\"CH 35*3 +25\",\"ID\":\"40281355\",\"\\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\":\"08.11.2027\",\"\\u0414\\u0430\\u0442\\u0430 \\u043c\\u043e\\u043d\\u0442\\u0430\\u0436\\u0430 (\\u0411\\u0414)\":\"08.11.2025\",\"\\u041d\\u0430\\u0437\\u0432\\u0430\\u043d\\u0438\\u0435 \\u0442\\u043e\\u0432\\u0430\\u0440\\u0430 (\\u0411\\u0414)\":\"CH 71\",\"\\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-21 14:05:00\",\"\\u0414\\u0430\\u0442\\u0430 \\u0432\\u0438\\u0437\\u0438\\u0442\\u0430\":\"21.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\":\"CH 35*3 +25\",\"ID\":\"40281355\",\"\\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\":\"981202037783\",\"\\u0410\\u0434\\u0440\\u0435\\u0441\":\"stradela 9 Tineretului 13\",\"\\u041f\\u043e\\u0432\\u0442\\u043e\\u0440\\u043d\\u044b\\u0439 \\u043a\\u043b\\u0438\\u0435\\u043d\\u0442?\":\"\\u0414\\u0430\",\"\\u041d\\u043e\\u043c\\u0435\\u0440 \\u043a\\u043e\\u043d\\u0442\\u0440\\u0430\\u043a\\u0442\\u0430 (\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442)\":\"C6095\",\"\\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)\":\"CH 35*3 +25\",\"\\u0418\\u043c\\u044f \\u043a\\u043b\\u0438\\u0435\\u043d\\u0442\\u0430 (\\u0421\\u041c\\u0421)\":\"Radu\",\"\\u0414\\u0430\\u0442\\u0430 \\u043c\\u043e\\u043d\\u0442\\u0430\\u0436\\u0430 (\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442)\":\"08.11.2025\",\"\\u041a\\u043e\\u043b - \\u0432\\u043e \\u043e\\u0431\\u043e\\u0440\\u0443\\u0434\\u043e\\u0432\\u0430\\u043d\\u0438\\u044f (\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442)\":\"4\",\"\\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\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"37369933118\",\"\\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\":\"Radu Chistruga\",\"Contact_name\":\"Radu Chistruga\",\"\\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\":\"981202037783\",\"\\u0410\\u0434\\u0440\\u0435\\u0441\":\"stradela 9 Tineretului 13\",\"\\u041f\\u043e\\u0432\\u0442\\u043e\\u0440\\u043d\\u044b\\u0439 \\u043a\\u043b\\u0438\\u0435\\u043d\\u0442?\":\"\\u0414\\u0430\",\"\\u041d\\u043e\\u043c\\u0435\\u0440 \\u043a\\u043e\\u043d\\u0442\\u0440\\u0430\\u043a\\u0442\\u0430 (\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442)\":\"C6095\",\"\\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)\":\"CH 35*3 +25\",\"\\u0418\\u043c\\u044f \\u043a\\u043b\\u0438\\u0435\\u043d\\u0442\\u0430 (\\u0421\\u041c\\u0421)\":\"Radu\",\"\\u0414\\u0430\\u0442\\u0430 \\u043c\\u043e\\u043d\\u0442\\u0430\\u0436\\u0430 (\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442)\":\"08.11.2025\",\"\\u041a\\u043e\\u043b - \\u0432\\u043e \\u043e\\u0431\\u043e\\u0440\\u0443\\u0434\\u043e\\u0432\\u0430\\u043d\\u0438\\u044f (\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442)\":\"4\",\"\\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\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"37369933118\",\"\\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\":\"Radu Chistruga\",\"Contact_name\":\"Radu Chistruga\",\"\\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\":\"981202037783\",\"\\u0410\\u0434\\u0440\\u0435\\u0441\":\"stradela 9 Tineretului 13\",\"\\u041f\\u043e\\u0432\\u0442\\u043e\\u0440\\u043d\\u044b\\u0439 \\u043a\\u043b\\u0438\\u0435\\u043d\\u0442?\":\"\\u0414\\u0430\",\"\\u041d\\u043e\\u043c\\u0435\\u0440 \\u043a\\u043e\\u043d\\u0442\\u0440\\u0430\\u043a\\u0442\\u0430 (\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442)\":\"C6095\",\"\\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)\":\"CH 35*3 +25\",\"\\u0418\\u043c\\u044f \\u043a\\u043b\\u0438\\u0435\\u043d\\u0442\\u0430 (\\u0421\\u041c\\u0421)\":\"Radu\",\"\\u0414\\u0430\\u0442\\u0430 \\u043c\\u043e\\u043d\\u0442\\u0430\\u0436\\u0430 (\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442)\":\"08.11.2025\",\"\\u041a\\u043e\\u043b - \\u0432\\u043e \\u043e\\u0431\\u043e\\u0440\\u0443\\u0434\\u043e\\u0432\\u0430\\u043d\\u0438\\u044f (\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442)\":\"4\",\"\\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\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"37369933118\",\"\\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\":\"Radu Chistruga\",\"\\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\":\"20.10.2026\",\"\\u041d\\u043e\\u043c\\u0435\\u0440\":\"1396\"},\"document\":{\"Date\":\"20.10.2026\",\"Number\":\"1396\"}}}","edit":true}} {"uid":"b9af656"}
[2026-10-20 14:28:47] docflow.DEBUG: GAS raw response {"raw":"[object] (stdClass: {\"code\":1,\"url\":\"https://docs.google.com/open?id=17ps9woVe-5LpQwU9AbDH81TzIdjK96ZrbjTyWqOnOpY\",\"file_id\":\"17ps9woVe-5LpQwU9AbDH81TzIdjK96ZrbjTyWqOnOpY\",\"error\":\"\",\"vars\":\"\"})"} {"uid":"b9af656"}
[2026-10-20 14:28:47] docflow.WARNING: AmoDrive generated-file move is not ready. {"fileId":"17ps9woVe-5LpQwU9AbDH81TzIdjK96ZrbjTyWqOnOpY","context":null} {"uid":"b9af656"}
[2026-10-20 14:30:43] docflow.INFO: Apel createDoc {"data":{"amoAccountId":"32990686","amoUserId":null,"amoEntityId":"49681657","amoEntityType":"2","templateId":"11625","corporateEntityId":"","settlementAccountId":"","is_signed":null,"gdi":null,"number":null,"currentAmoUserId":null,"lang":"ru"}} {"uid":"b4f00d8"}
[2026-10-20 14:30:44] docflow.INFO: Token is valid for account 32990686. [] {"uid":"b4f00d8"}
[2026-10-20 14:30:44] docflow.DEBUG: getClientAuth returned {"auth":"[object] (stdClass: {\"domain\":\"eurosanteh.amocrm.ru\",\"access_token\":\"eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImp0aSI6ImQ4OGEzOTkzM2JmYjI0ODk3MGVhMzQ0MmIwYTBmNGRhMzU2ZDRlNmE3OWZmMjhhZGYyMDRlODU3ZjU1ZGJmNDJhMGZhZWY2ZDdiMmUyOTdlIn0.eyJhdWQiOiIwZDY0ZGZmYi1lNTRiLTQ0OGYtOWZiZi1iYWYyMjUxYTExZGIiLCJqdGkiOiJkODhhMzk5MzNiZmIyNDg5NzBlYTM0NDJiMGEwZjRkYTM1NmQ0ZTZhNzlmZjI4YWRmMjA0ZTg1N2Y1NWRiZjQyYTBmYWVmNmQ3YjJlMjk3ZSIsImlhdCI6MTc5MjQ5NDEwOCwibmJmIjoxNzkyNDk0MTA4LCJleHAiOjE3OTI1ODA1MDgsInN1YiI6IjEzNjg3MzAyIiwiZ3JhbnRfdHlwZSI6IiIsImFjY291bnRfaWQiOjMyOTkwNjg2LCJiYXNlX2RvbWFpbiI6ImFtb2NybS5ydSIsInZlcnNpb24iOjIsInNjb3BlcyI6WyJwdXNoX25vdGlmaWNhdGlvbnMiLCJjcm0iLCJub3RpZmljYXRpb25zIl0sImhhc2hfdXVpZCI6IjIxNzcyNTZjLTI5ZDktNGNjYy05MWI2LTc2MDkyN2YxNjllYiIsImFwaV9kb21haW4iOiJhcGktYi5hbW9jcm0ucnUifQ.migWzQZC4YW0WHAi2mRPA7jJRw0yWl4PAkPfRKcdHTb8PCshhECKnSg7NduDe7xfUDFHi0oufxkh7xqDz1Ad0ETiOouuC2I35ZWsHNwvvOfGH2s-JAffZ-nr_8SZhNbcP7BdXqf3QQLfoT5E_ACq6b-v-TfrQvwQKhedhAJXHA2w9U6UJ1ZsnVMo_gybDlYUswlRwmYm_Y2P1aYEX_4m5MiuOGWV7FrV4JbOR0bHilKY2SllQ2J2Dr4ms8e-vbQiTZVTBedl4dHqbzkk9SZhVEVLDi7lHd4MSkF8vOotZUQlqWo9ymt-3H9dYUvIOUhRL9SaGrD0XH1cmmJNbSRq3A\"})","file":"/home/ytvmclwh/document.amocrm.md/src/Models/Docs.php","line":121} {"uid":"b4f00d8"}
[2026-10-20 14:30:47] docflow.DEBUG: AmoDrive docflow context request {"url":"https://google.emale.uno/api/docflow/google-context","query":{"account_id":"32990686","entity_id":"49681657","entity_type":"leads"}} {"uid":"b4f00d8"}
[2026-10-20 14:30:47] 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=49681657&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/20 14:30:47</td>\r\n</tr>\r\n</table>\r\n<hr><center>tengine</center>\r\n</body>\r\n</html>\r\n"} {"uid":"b4f00d8"}
[2026-10-20 14:30:47] docflow.DEBUG: AmoDrive docflow context request {"url":"https://gd.glucose-dev.online/api/docflow/google-context","query":{"account_id":"32990686","entity_id":"49681657","entity_type":"leads"}} {"uid":"b4f00d8"}
[2026-10-20 14:30:47] 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":"49681657","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":"b4f00d8"}
[2026-10-20 14:30:47] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://google.emale.uno/api/docflow/prepare-generated-doc","payload":{"account_id":"32990686","entity_id":"49681657","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"b4f00d8"}
[2026-10-20 14:30:47] 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/20 14:30:47</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":"49681657","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"b4f00d8"}
[2026-10-20 14:30:47] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://gd.glucose-dev.online/api/docflow/prepare-generated-doc","payload":{"account_id":"32990686","entity_id":"49681657","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"b4f00d8"}
[2026-10-20 14:30:47] 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":"49681657","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"b4f00d8"}
[2026-10-20 14:30:47] 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 1397 20261020143047\",\"leadId\":\"49681657\",\"entities\":{\"\\u0441\\u0434\\u0435\\u043b\\u043a\\u0430\":{\"\\u041f\\u043e\\u043f\\u044b\\u0442\\u043a\\u0430 \\u0441\\u0432\\u044f\\u0437\\u0438 \\u043e\\u0442 \\u043a\\u043b\\u0438\\u0435\\u043d\\u0442\\u0430\":\"1\",\"\\u041d\\u043e\\u043c\\u0435\\u0440 \\u043a\\u043e\\u043d\\u0442\\u0440\\u0430\\u043a\\u0442\\u0430\":\"K6232\",\"\\u041c\\u043e\\u0434\\u0435\\u043b\\u044c \\u043e\\u0431\\u043e\\u0440\\u0443\\u0434\\u043e\\u0432\\u0430\\u043d\\u0438\\u044f 1\":\"Filtru Suzuki PH8\",\"\\u041a\\u043e\\u043b - \\u0432\\u043e \\u043e\\u0431\\u043e\\u0440\\u0443\\u0434\\u043e\\u0432\\u0430\\u043d\\u0438\\u044f\":\"1\",\"\\u0414\\u0430\\u0442\\u0430 \\u0438 \\u0432\\u0440\\u0435\\u043c\\u044f \\u0432\\u0438\\u0437\\u0438\\u0442\\u0430\":\"2026-10-21 14:30:00\",\"\\u0414\\u0430\\u0442\\u0430 \\u0432\\u0438\\u0437\\u0438\\u0442\\u0430\":\"21.10.2026\",\"ID\":\"49681657\",\"\\u0421\\u0434\\u0435\\u043b\\u043a\\u0430_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"\\u0437\\u0430\\u043c\\u0435\\u043d\\u0430 \\u0444\\u0438\\u043b\\u044c\\u0442\\u0440\\u043e\\u0432\",\"Lead_name\":\"\\u0437\\u0430\\u043c\\u0435\\u043d\\u0430 \\u0444\\u0438\\u043b\\u044c\\u0442\\u0440\\u043e\\u0432\",\"\\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\":{\"\\u041f\\u043e\\u043f\\u044b\\u0442\\u043a\\u0430 \\u0441\\u0432\\u044f\\u0437\\u0438 \\u043e\\u0442 \\u043a\\u043b\\u0438\\u0435\\u043d\\u0442\\u0430\":\"1\",\"\\u041d\\u043e\\u043c\\u0435\\u0440 \\u043a\\u043e\\u043d\\u0442\\u0440\\u0430\\u043a\\u0442\\u0430\":\"K6232\",\"\\u041c\\u043e\\u0434\\u0435\\u043b\\u044c \\u043e\\u0431\\u043e\\u0440\\u0443\\u0434\\u043e\\u0432\\u0430\\u043d\\u0438\\u044f 1\":\"Filtru Suzuki PH8\",\"\\u041a\\u043e\\u043b - \\u0432\\u043e \\u043e\\u0431\\u043e\\u0440\\u0443\\u0434\\u043e\\u0432\\u0430\\u043d\\u0438\\u044f\":\"1\",\"\\u0414\\u0430\\u0442\\u0430 \\u0438 \\u0432\\u0440\\u0435\\u043c\\u044f \\u0432\\u0438\\u0437\\u0438\\u0442\\u0430\":\"2026-10-21 14:30:00\",\"\\u0414\\u0430\\u0442\\u0430 \\u0432\\u0438\\u0437\\u0438\\u0442\\u0430\":\"21.10.2026\",\"ID\":\"49681657\",\"\\u0421\\u0434\\u0435\\u043b\\u043a\\u0430_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"\\u0437\\u0430\\u043c\\u0435\\u043d\\u0430 \\u0444\\u0438\\u043b\\u044c\\u0442\\u0440\\u043e\\u0432\",\"Lead_name\":\"\\u0437\\u0430\\u043c\\u0435\\u043d\\u0430 \\u0444\\u0438\\u043b\\u044c\\u0442\\u0440\\u043e\\u0432\",\"\\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\":\"Ghideghici str.Matievici 20A\",\"\\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)\":\"11.09.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)\":\"Filtru Suzuki PH8\",\"\\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)\":\"K6232\",\"\\u0418\\u043c\\u044f \\u043a\\u043b\\u0438\\u0435\\u043d\\u0442\\u0430 (\\u0421\\u041c\\u0421)\":\"Sorin\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"+37369336555\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Sorin Cazacu\",\"Contact_name\":\"Sorin Cazacu\",\"\\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\":\"Ghideghici str.Matievici 20A\",\"\\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)\":\"11.09.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)\":\"Filtru Suzuki PH8\",\"\\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)\":\"K6232\",\"\\u0418\\u043c\\u044f \\u043a\\u043b\\u0438\\u0435\\u043d\\u0442\\u0430 (\\u0421\\u041c\\u0421)\":\"Sorin\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"+37369336555\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Sorin Cazacu\",\"Contact_name\":\"Sorin Cazacu\",\"\\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\":\"Ghideghici str.Matievici 20A\",\"\\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)\":\"11.09.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)\":\"Filtru Suzuki PH8\",\"\\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)\":\"K6232\",\"\\u0418\\u043c\\u044f \\u043a\\u043b\\u0438\\u0435\\u043d\\u0442\\u0430 (\\u0421\\u041c\\u0421)\":\"Sorin\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"+37369336555\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Sorin Cazacu\",\"\\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\":\"20.10.2026\",\"\\u041d\\u043e\\u043c\\u0435\\u0440\":\"1397\"},\"document\":{\"Date\":\"20.10.2026\",\"Number\":\"1397\"}}}","edit":true}} {"uid":"b4f00d8"}
[2026-10-20 14:30:52] docflow.DEBUG: GAS raw response {"raw":"[object] (stdClass: {\"code\":1,\"url\":\"https://docs.google.com/open?id=1_4PtQbPTJ3iOq_riKhlOnQON_Ebsgq-MmduO8aU_8qo\",\"file_id\":\"1_4PtQbPTJ3iOq_riKhlOnQON_Ebsgq-MmduO8aU_8qo\",\"error\":\"\",\"vars\":\"\"})"} {"uid":"b4f00d8"}
[2026-10-20 14:30:52] docflow.WARNING: AmoDrive generated-file move is not ready. {"fileId":"1_4PtQbPTJ3iOq_riKhlOnQON_Ebsgq-MmduO8aU_8qo","context":null} {"uid":"b4f00d8"}
[2026-10-20 14:30:56] docflow.INFO: Apel createDoc {"data":{"amoAccountId":"32990686","amoUserId":null,"amoEntityId":"49681657","amoEntityType":"2","templateId":"11646","corporateEntityId":"","settlementAccountId":"","is_signed":null,"gdi":null,"number":null,"currentAmoUserId":null,"lang":"ru"}} {"uid":"0f51abf"}
[2026-10-20 14:30:57] docflow.INFO: Token is valid for account 32990686. [] {"uid":"0f51abf"}
[2026-10-20 14:30:57] docflow.DEBUG: getClientAuth returned {"auth":"[object] (stdClass: {\"domain\":\"eurosanteh.amocrm.ru\",\"access_token\":\"eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImp0aSI6ImQ4OGEzOTkzM2JmYjI0ODk3MGVhMzQ0MmIwYTBmNGRhMzU2ZDRlNmE3OWZmMjhhZGYyMDRlODU3ZjU1ZGJmNDJhMGZhZWY2ZDdiMmUyOTdlIn0.eyJhdWQiOiIwZDY0ZGZmYi1lNTRiLTQ0OGYtOWZiZi1iYWYyMjUxYTExZGIiLCJqdGkiOiJkODhhMzk5MzNiZmIyNDg5NzBlYTM0NDJiMGEwZjRkYTM1NmQ0ZTZhNzlmZjI4YWRmMjA0ZTg1N2Y1NWRiZjQyYTBmYWVmNmQ3YjJlMjk3ZSIsImlhdCI6MTc5MjQ5NDEwOCwibmJmIjoxNzkyNDk0MTA4LCJleHAiOjE3OTI1ODA1MDgsInN1YiI6IjEzNjg3MzAyIiwiZ3JhbnRfdHlwZSI6IiIsImFjY291bnRfaWQiOjMyOTkwNjg2LCJiYXNlX2RvbWFpbiI6ImFtb2NybS5ydSIsInZlcnNpb24iOjIsInNjb3BlcyI6WyJwdXNoX25vdGlmaWNhdGlvbnMiLCJjcm0iLCJub3RpZmljYXRpb25zIl0sImhhc2hfdXVpZCI6IjIxNzcyNTZjLTI5ZDktNGNjYy05MWI2LTc2MDkyN2YxNjllYiIsImFwaV9kb21haW4iOiJhcGktYi5hbW9jcm0ucnUifQ.migWzQZC4YW0WHAi2mRPA7jJRw0yWl4PAkPfRKcdHTb8PCshhECKnSg7NduDe7xfUDFHi0oufxkh7xqDz1Ad0ETiOouuC2I35ZWsHNwvvOfGH2s-JAffZ-nr_8SZhNbcP7BdXqf3QQLfoT5E_ACq6b-v-TfrQvwQKhedhAJXHA2w9U6UJ1ZsnVMo_gybDlYUswlRwmYm_Y2P1aYEX_4m5MiuOGWV7FrV4JbOR0bHilKY2SllQ2J2Dr4ms8e-vbQiTZVTBedl4dHqbzkk9SZhVEVLDi7lHd4MSkF8vOotZUQlqWo9ymt-3H9dYUvIOUhRL9SaGrD0XH1cmmJNbSRq3A\"})","file":"/home/ytvmclwh/document.amocrm.md/src/Models/Docs.php","line":121} {"uid":"0f51abf"}
[2026-10-20 14:30:58] docflow.INFO: Apel createDoc {"data":{"amoAccountId":"32990686","amoUserId":null,"amoEntityId":"49681657","amoEntityType":"2","templateId":"11646","corporateEntityId":"","settlementAccountId":"","is_signed":null,"gdi":null,"number":null,"currentAmoUserId":null,"lang":"ru"}} {"uid":"b34543a"}
[2026-10-20 14:30:59] docflow.INFO: Token is valid for account 32990686. [] {"uid":"b34543a"}
[2026-10-20 14:30:59] docflow.DEBUG: getClientAuth returned {"auth":"[object] (stdClass: {\"domain\":\"eurosanteh.amocrm.ru\",\"access_token\":\"eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImp0aSI6ImQ4OGEzOTkzM2JmYjI0ODk3MGVhMzQ0MmIwYTBmNGRhMzU2ZDRlNmE3OWZmMjhhZGYyMDRlODU3ZjU1ZGJmNDJhMGZhZWY2ZDdiMmUyOTdlIn0.eyJhdWQiOiIwZDY0ZGZmYi1lNTRiLTQ0OGYtOWZiZi1iYWYyMjUxYTExZGIiLCJqdGkiOiJkODhhMzk5MzNiZmIyNDg5NzBlYTM0NDJiMGEwZjRkYTM1NmQ0ZTZhNzlmZjI4YWRmMjA0ZTg1N2Y1NWRiZjQyYTBmYWVmNmQ3YjJlMjk3ZSIsImlhdCI6MTc5MjQ5NDEwOCwibmJmIjoxNzkyNDk0MTA4LCJleHAiOjE3OTI1ODA1MDgsInN1YiI6IjEzNjg3MzAyIiwiZ3JhbnRfdHlwZSI6IiIsImFjY291bnRfaWQiOjMyOTkwNjg2LCJiYXNlX2RvbWFpbiI6ImFtb2NybS5ydSIsInZlcnNpb24iOjIsInNjb3BlcyI6WyJwdXNoX25vdGlmaWNhdGlvbnMiLCJjcm0iLCJub3RpZmljYXRpb25zIl0sImhhc2hfdXVpZCI6IjIxNzcyNTZjLTI5ZDktNGNjYy05MWI2LTc2MDkyN2YxNjllYiIsImFwaV9kb21haW4iOiJhcGktYi5hbW9jcm0ucnUifQ.migWzQZC4YW0WHAi2mRPA7jJRw0yWl4PAkPfRKcdHTb8PCshhECKnSg7NduDe7xfUDFHi0oufxkh7xqDz1Ad0ETiOouuC2I35ZWsHNwvvOfGH2s-JAffZ-nr_8SZhNbcP7BdXqf3QQLfoT5E_ACq6b-v-TfrQvwQKhedhAJXHA2w9U6UJ1ZsnVMo_gybDlYUswlRwmYm_Y2P1aYEX_4m5MiuOGWV7FrV4JbOR0bHilKY2SllQ2J2Dr4ms8e-vbQiTZVTBedl4dHqbzkk9SZhVEVLDi7lHd4MSkF8vOotZUQlqWo9ymt-3H9dYUvIOUhRL9SaGrD0XH1cmmJNbSRq3A\"})","file":"/home/ytvmclwh/document.amocrm.md/src/Models/Docs.php","line":121} {"uid":"b34543a"}
[2026-10-20 14:31:00] docflow.DEBUG: AmoDrive docflow context request {"url":"https://google.emale.uno/api/docflow/google-context","query":{"account_id":"32990686","entity_id":"49681657","entity_type":"leads"}} {"uid":"0f51abf"}
[2026-10-20 14:31: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=49681657&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/20 14:31:00</td>\r\n</tr>\r\n</table>\r\n<hr><center>tengine</center>\r\n</body>\r\n</html>\r\n"} {"uid":"0f51abf"}
[2026-10-20 14:31:00] docflow.DEBUG: AmoDrive docflow context request {"url":"https://gd.glucose-dev.online/api/docflow/google-context","query":{"account_id":"32990686","entity_id":"49681657","entity_type":"leads"}} {"uid":"0f51abf"}
[2026-10-20 14:31: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":"49681657","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":"0f51abf"}
[2026-10-20 14:31:00] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://google.emale.uno/api/docflow/prepare-generated-doc","payload":{"account_id":"32990686","entity_id":"49681657","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"0f51abf"}
[2026-10-20 14:31: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/20 14:31: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":"49681657","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"0f51abf"}
[2026-10-20 14:31: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":"49681657","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"0f51abf"}
[2026-10-20 14:31: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":"49681657","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"0f51abf"}
[2026-10-20 14:31: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 1397 20261020143100\",\"leadId\":\"49681657\",\"entities\":{\"\\u0441\\u0434\\u0435\\u043b\\u043a\\u0430\":{\"\\u041f\\u043e\\u043f\\u044b\\u0442\\u043a\\u0430 \\u0441\\u0432\\u044f\\u0437\\u0438 \\u043e\\u0442 \\u043a\\u043b\\u0438\\u0435\\u043d\\u0442\\u0430\":\"1\",\"\\u041d\\u043e\\u043c\\u0435\\u0440 \\u043a\\u043e\\u043d\\u0442\\u0440\\u0430\\u043a\\u0442\\u0430\":\"K6232\",\"\\u041c\\u043e\\u0434\\u0435\\u043b\\u044c \\u043e\\u0431\\u043e\\u0440\\u0443\\u0434\\u043e\\u0432\\u0430\\u043d\\u0438\\u044f 1\":\"Filtru Suzuki PH8\",\"\\u041a\\u043e\\u043b - \\u0432\\u043e \\u043e\\u0431\\u043e\\u0440\\u0443\\u0434\\u043e\\u0432\\u0430\\u043d\\u0438\\u044f\":\"1\",\"\\u0414\\u0430\\u0442\\u0430 \\u0438 \\u0432\\u0440\\u0435\\u043c\\u044f \\u0432\\u0438\\u0437\\u0438\\u0442\\u0430\":\"2026-10-21 14:30:00\",\"\\u0414\\u0430\\u0442\\u0430 \\u0432\\u0438\\u0437\\u0438\\u0442\\u0430\":\"21.10.2026\",\"ID\":\"49681657\",\"\\u0421\\u0434\\u0435\\u043b\\u043a\\u0430_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"\\u0437\\u0430\\u043c\\u0435\\u043d\\u0430 \\u0444\\u0438\\u043b\\u044c\\u0442\\u0440\\u043e\\u0432\",\"Lead_name\":\"\\u0437\\u0430\\u043c\\u0435\\u043d\\u0430 \\u0444\\u0438\\u043b\\u044c\\u0442\\u0440\\u043e\\u0432\",\"\\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\":{\"\\u041f\\u043e\\u043f\\u044b\\u0442\\u043a\\u0430 \\u0441\\u0432\\u044f\\u0437\\u0438 \\u043e\\u0442 \\u043a\\u043b\\u0438\\u0435\\u043d\\u0442\\u0430\":\"1\",\"\\u041d\\u043e\\u043c\\u0435\\u0440 \\u043a\\u043e\\u043d\\u0442\\u0440\\u0430\\u043a\\u0442\\u0430\":\"K6232\",\"\\u041c\\u043e\\u0434\\u0435\\u043b\\u044c \\u043e\\u0431\\u043e\\u0440\\u0443\\u0434\\u043e\\u0432\\u0430\\u043d\\u0438\\u044f 1\":\"Filtru Suzuki PH8\",\"\\u041a\\u043e\\u043b - \\u0432\\u043e \\u043e\\u0431\\u043e\\u0440\\u0443\\u0434\\u043e\\u0432\\u0430\\u043d\\u0438\\u044f\":\"1\",\"\\u0414\\u0430\\u0442\\u0430 \\u0438 \\u0432\\u0440\\u0435\\u043c\\u044f \\u0432\\u0438\\u0437\\u0438\\u0442\\u0430\":\"2026-10-21 14:30:00\",\"\\u0414\\u0430\\u0442\\u0430 \\u0432\\u0438\\u0437\\u0438\\u0442\\u0430\":\"21.10.2026\",\"ID\":\"49681657\",\"\\u0421\\u0434\\u0435\\u043b\\u043a\\u0430_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"\\u0437\\u0430\\u043c\\u0435\\u043d\\u0430 \\u0444\\u0438\\u043b\\u044c\\u0442\\u0440\\u043e\\u0432\",\"Lead_name\":\"\\u0437\\u0430\\u043c\\u0435\\u043d\\u0430 \\u0444\\u0438\\u043b\\u044c\\u0442\\u0440\\u043e\\u0432\",\"\\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\":\"Ghideghici str.Matievici 20A\",\"\\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)\":\"11.09.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)\":\"Filtru Suzuki PH8\",\"\\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)\":\"K6232\",\"\\u0418\\u043c\\u044f \\u043a\\u043b\\u0438\\u0435\\u043d\\u0442\\u0430 (\\u0421\\u041c\\u0421)\":\"Sorin\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"+37369336555\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Sorin Cazacu\",\"Contact_name\":\"Sorin Cazacu\",\"\\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\":\"Ghideghici str.Matievici 20A\",\"\\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)\":\"11.09.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)\":\"Filtru Suzuki PH8\",\"\\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)\":\"K6232\",\"\\u0418\\u043c\\u044f \\u043a\\u043b\\u0438\\u0435\\u043d\\u0442\\u0430 (\\u0421\\u041c\\u0421)\":\"Sorin\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"+37369336555\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Sorin Cazacu\",\"Contact_name\":\"Sorin Cazacu\",\"\\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\":\"Ghideghici str.Matievici 20A\",\"\\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)\":\"11.09.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)\":\"Filtru Suzuki PH8\",\"\\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)\":\"K6232\",\"\\u0418\\u043c\\u044f \\u043a\\u043b\\u0438\\u0435\\u043d\\u0442\\u0430 (\\u0421\\u041c\\u0421)\":\"Sorin\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"+37369336555\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Sorin Cazacu\",\"\\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\":\"20.10.2026\",\"\\u041d\\u043e\\u043c\\u0435\\u0440\":\"1397\"},\"document\":{\"Date\":\"20.10.2026\",\"Number\":\"1397\"}}}","edit":true}} {"uid":"0f51abf"}
[2026-10-20 14:31:02] docflow.DEBUG: AmoDrive docflow context request {"url":"https://google.emale.uno/api/docflow/google-context","query":{"account_id":"32990686","entity_id":"49681657","entity_type":"leads"}} {"uid":"b34543a"}
[2026-10-20 14:31: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=49681657&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/20 14:31:03</td>\r\n</tr>\r\n</table>\r\n<hr><center>tengine</center>\r\n</body>\r\n</html>\r\n"} {"uid":"b34543a"}
[2026-10-20 14:31:03] docflow.DEBUG: AmoDrive docflow context request {"url":"https://gd.glucose-dev.online/api/docflow/google-context","query":{"account_id":"32990686","entity_id":"49681657","entity_type":"leads"}} {"uid":"b34543a"}
[2026-10-20 14:31: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":"49681657","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":"b34543a"}
[2026-10-20 14:31:03] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://google.emale.uno/api/docflow/prepare-generated-doc","payload":{"account_id":"32990686","entity_id":"49681657","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"b34543a"}
[2026-10-20 14:31:03] 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/20 14:31:03</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":"49681657","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"b34543a"}
[2026-10-20 14:31:03] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://gd.glucose-dev.online/api/docflow/prepare-generated-doc","payload":{"account_id":"32990686","entity_id":"49681657","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"b34543a"}
[2026-10-20 14:31:03] 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":"49681657","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"b34543a"}
[2026-10-20 14:31:03] 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 1397 20261020143102\",\"leadId\":\"49681657\",\"entities\":{\"\\u0441\\u0434\\u0435\\u043b\\u043a\\u0430\":{\"\\u041f\\u043e\\u043f\\u044b\\u0442\\u043a\\u0430 \\u0441\\u0432\\u044f\\u0437\\u0438 \\u043e\\u0442 \\u043a\\u043b\\u0438\\u0435\\u043d\\u0442\\u0430\":\"1\",\"\\u041d\\u043e\\u043c\\u0435\\u0440 \\u043a\\u043e\\u043d\\u0442\\u0440\\u0430\\u043a\\u0442\\u0430\":\"K6232\",\"\\u041c\\u043e\\u0434\\u0435\\u043b\\u044c \\u043e\\u0431\\u043e\\u0440\\u0443\\u0434\\u043e\\u0432\\u0430\\u043d\\u0438\\u044f 1\":\"Filtru Suzuki PH8\",\"\\u041a\\u043e\\u043b - \\u0432\\u043e \\u043e\\u0431\\u043e\\u0440\\u0443\\u0434\\u043e\\u0432\\u0430\\u043d\\u0438\\u044f\":\"1\",\"\\u0414\\u0430\\u0442\\u0430 \\u0438 \\u0432\\u0440\\u0435\\u043c\\u044f \\u0432\\u0438\\u0437\\u0438\\u0442\\u0430\":\"2026-10-21 14:30:00\",\"\\u0414\\u0430\\u0442\\u0430 \\u0432\\u0438\\u0437\\u0438\\u0442\\u0430\":\"21.10.2026\",\"ID\":\"49681657\",\"\\u0421\\u0434\\u0435\\u043b\\u043a\\u0430_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"\\u0437\\u0430\\u043c\\u0435\\u043d\\u0430 \\u0444\\u0438\\u043b\\u044c\\u0442\\u0440\\u043e\\u0432\",\"Lead_name\":\"\\u0437\\u0430\\u043c\\u0435\\u043d\\u0430 \\u0444\\u0438\\u043b\\u044c\\u0442\\u0440\\u043e\\u0432\",\"\\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\":{\"\\u041f\\u043e\\u043f\\u044b\\u0442\\u043a\\u0430 \\u0441\\u0432\\u044f\\u0437\\u0438 \\u043e\\u0442 \\u043a\\u043b\\u0438\\u0435\\u043d\\u0442\\u0430\":\"1\",\"\\u041d\\u043e\\u043c\\u0435\\u0440 \\u043a\\u043e\\u043d\\u0442\\u0440\\u0430\\u043a\\u0442\\u0430\":\"K6232\",\"\\u041c\\u043e\\u0434\\u0435\\u043b\\u044c \\u043e\\u0431\\u043e\\u0440\\u0443\\u0434\\u043e\\u0432\\u0430\\u043d\\u0438\\u044f 1\":\"Filtru Suzuki PH8\",\"\\u041a\\u043e\\u043b - \\u0432\\u043e \\u043e\\u0431\\u043e\\u0440\\u0443\\u0434\\u043e\\u0432\\u0430\\u043d\\u0438\\u044f\":\"1\",\"\\u0414\\u0430\\u0442\\u0430 \\u0438 \\u0432\\u0440\\u0435\\u043c\\u044f \\u0432\\u0438\\u0437\\u0438\\u0442\\u0430\":\"2026-10-21 14:30:00\",\"\\u0414\\u0430\\u0442\\u0430 \\u0432\\u0438\\u0437\\u0438\\u0442\\u0430\":\"21.10.2026\",\"ID\":\"49681657\",\"\\u0421\\u0434\\u0435\\u043b\\u043a\\u0430_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"\\u0437\\u0430\\u043c\\u0435\\u043d\\u0430 \\u0444\\u0438\\u043b\\u044c\\u0442\\u0440\\u043e\\u0432\",\"Lead_name\":\"\\u0437\\u0430\\u043c\\u0435\\u043d\\u0430 \\u0444\\u0438\\u043b\\u044c\\u0442\\u0440\\u043e\\u0432\",\"\\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\":\"Ghideghici str.Matievici 20A\",\"\\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)\":\"11.09.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)\":\"Filtru Suzuki PH8\",\"\\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)\":\"K6232\",\"\\u0418\\u043c\\u044f \\u043a\\u043b\\u0438\\u0435\\u043d\\u0442\\u0430 (\\u0421\\u041c\\u0421)\":\"Sorin\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"+37369336555\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Sorin Cazacu\",\"Contact_name\":\"Sorin Cazacu\",\"\\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\":\"Ghideghici str.Matievici 20A\",\"\\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)\":\"11.09.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)\":\"Filtru Suzuki PH8\",\"\\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)\":\"K6232\",\"\\u0418\\u043c\\u044f \\u043a\\u043b\\u0438\\u0435\\u043d\\u0442\\u0430 (\\u0421\\u041c\\u0421)\":\"Sorin\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"+37369336555\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Sorin Cazacu\",\"Contact_name\":\"Sorin Cazacu\",\"\\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\":\"Ghideghici str.Matievici 20A\",\"\\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)\":\"11.09.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)\":\"Filtru Suzuki PH8\",\"\\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)\":\"K6232\",\"\\u0418\\u043c\\u044f \\u043a\\u043b\\u0438\\u0435\\u043d\\u0442\\u0430 (\\u0421\\u041c\\u0421)\":\"Sorin\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"+37369336555\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Sorin Cazacu\",\"\\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\":\"20.10.2026\",\"\\u041d\\u043e\\u043c\\u0435\\u0440\":\"1397\"},\"document\":{\"Date\":\"20.10.2026\",\"Number\":\"1397\"}}}","edit":true}} {"uid":"b34543a"}
[2026-10-20 14:31:07] docflow.DEBUG: GAS raw response {"raw":"[object] (stdClass: {\"code\":1,\"url\":\"https://docs.google.com/open?id=1UlqNGYqggjXmrn0WiIY31nQkS4kjdQk22bvxZpNwnS4\",\"file_id\":\"1UlqNGYqggjXmrn0WiIY31nQkS4kjdQk22bvxZpNwnS4\",\"error\":\"\",\"vars\":\"\"})"} {"uid":"0f51abf"}
[2026-10-20 14:31:07] docflow.WARNING: AmoDrive generated-file move is not ready. {"fileId":"1UlqNGYqggjXmrn0WiIY31nQkS4kjdQk22bvxZpNwnS4","context":null} {"uid":"0f51abf"}
[2026-10-20 14:31:10] docflow.DEBUG: GAS raw response {"raw":"[object] (stdClass: {\"code\":1,\"url\":\"https://docs.google.com/open?id=17t17RcUOmCaH63_LCStgleetWexvEtQlyKjkahP2ubI\",\"file_id\":\"17t17RcUOmCaH63_LCStgleetWexvEtQlyKjkahP2ubI\",\"error\":\"\",\"vars\":\"\"})"} {"uid":"b34543a"}
[2026-10-20 14:31:10] docflow.WARNING: AmoDrive generated-file move is not ready. {"fileId":"17t17RcUOmCaH63_LCStgleetWexvEtQlyKjkahP2ubI","context":null} {"uid":"b34543a"}
[2026-10-20 14:35:54] docflow.INFO: Apel createDoc {"data":{"amoAccountId":"22699852","amoUserId":null,"amoEntityId":"42887055","amoEntityType":"2","templateId":"11504","corporateEntityId":"","settlementAccountId":"","is_signed":null,"gdi":null,"number":null,"currentAmoUserId":null,"lang":"ru"}} {"uid":"ed8680b"}
[2026-10-20 14:35:55] docflow.INFO: Token is valid for account 22699852. [] {"uid":"ed8680b"}
[2026-10-20 14:35:55] docflow.DEBUG: getClientAuth returned {"auth":"[object] (stdClass: {\"domain\":\"emigrare.amocrm.ru\",\"access_token\":\"eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImp0aSI6IjM2MjFhNTE2ODhlNTY2NzRkNDZlZTc2ZWU1MGY3Y2ZkZTM1NTJmNTE4ZDUwZDJmOTVlNGYxNWVlYmU3MDBiMjAwYjRlN2ZmZTM1ZDExOWIzIn0.eyJhdWQiOiIwZDY0ZGZmYi1lNTRiLTQ0OGYtOWZiZi1iYWYyMjUxYTExZGIiLCJqdGkiOiIzNjIxYTUxNjg4ZTU2Njc0ZDQ2ZWU3NmVlNTBmN2NmZGUzNTUyZjUxOGQ1MGQyZjk1ZTRmMTVlZWJlNzAwYjIwMGI0ZTdmZmUzNWQxMTliMyIsImlhdCI6MTc5MjQ3NjU0NCwibmJmIjoxNzkyNDc2NTQ0LCJleHAiOjE3OTI1NjI5NDQsInN1YiI6IjI5MzAzODAiLCJncmFudF90eXBlIjoiIiwiYWNjb3VudF9pZCI6MjI2OTk4NTIsImJhc2VfZG9tYWluIjoiYW1vY3JtLnJ1IiwidmVyc2lvbiI6Miwic2NvcGVzIjpbInB1c2hfbm90aWZpY2F0aW9ucyIsImNybSIsIm5vdGlmaWNhdGlvbnMiXSwiaGFzaF91dWlkIjoiOWE3NWEwYzQtZGMzOC00MzhmLTg2NmEtMWIxZWIwNzYyNjZlIiwiYXBpX2RvbWFpbiI6ImFwaS1iLmFtb2NybS5ydSJ9.qehz4h7sbmBOqc2WoRpnMDr7JDLCNhcyFK0dk2J1kdkNQ8gzqB35VS6EgeS4v5Q5O1O4SRNKFuSvIB-5lrCv0q7Dg5SRiRmxfG_vqqg5R4YK67own5xWhW6vEVSS1aPH1pxSeqCA7qhMFyAxz9Dsrm1tVt15o4ePIGLpWrlkjvoVCpMvsvSCZ9y1LdI_UF9ZhUW9SGQwuyhIzqQdEbmlmNnqHf8yd6roK6IOhluPISHsMmRWJBAThQQ-Z6IwXvU9t9uDb35rSe9xH0RCb_GrrWAvWtVEKh_qCbOvFlY1pfSMFm_w-smIYAdeBGxKrGW4Xd2scXU7XXH6BgpXaAB4uw\"})","file":"/home/ytvmclwh/document.amocrm.md/src/Models/Docs.php","line":121} {"uid":"ed8680b"}
[2026-10-20 14:35:57] docflow.DEBUG: AmoDrive docflow context request {"url":"https://google.emale.uno/api/docflow/google-context","query":{"account_id":"22699852","entity_id":"42887055","entity_type":"leads"}} {"uid":"ed8680b"}
[2026-10-20 14:35:57] 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=42887055&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/20 14:35:57</td>\r\n</tr>\r\n</table>\r\n<hr><center>tengine</center>\r\n</body>\r\n</html>\r\n"} {"uid":"ed8680b"}
[2026-10-20 14:35:57] docflow.DEBUG: AmoDrive docflow context request {"url":"https://gd.glucose-dev.online/api/docflow/google-context","query":{"account_id":"22699852","entity_id":"42887055","entity_type":"leads"}} {"uid":"ed8680b"}
[2026-10-20 14:35:57] 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":"42887055","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":304,"isLifetime":false},"licenseActive":false,"googleConnected":false,"googleEmail":null,"googleHasDriveScope":false,"googleHasDriveFileScope":false,"googleHasOwnershipScope":false,"readyForGeneratedFileMove":false,"readyForTransfer":false},"folder":{"id":"1Z4dZWYibi_yVKallzZP3J9enLhPFWklA","name":"42887055 - Lead #42887055","webViewLink":"https://drive.google.com/drive/folders/1Z4dZWYibi_yVKallzZP3J9enLhPFWklA"}}} {"uid":"ed8680b"}
[2026-10-20 14:35:57] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://google.emale.uno/api/docflow/prepare-generated-doc","payload":{"account_id":"22699852","entity_id":"42887055","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"ed8680b"}
[2026-10-20 14:35:57] 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/20 14:35:57</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":"42887055","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"ed8680b"}
[2026-10-20 14:35:57] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://gd.glucose-dev.online/api/docflow/prepare-generated-doc","payload":{"account_id":"22699852","entity_id":"42887055","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"ed8680b"}
[2026-10-20 14:35:57] 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":"42887055","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"ed8680b"}
[2026-10-20 14:35:57] 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) 105 20261020143557\",\"leadId\":\"42887055\",\"entities\":{\"\\u0441\\u0434\\u0435\\u043b\\u043a\\u0430\":{\"ID\":\"42887055\",\"\\u0421\\u0434\\u0435\\u043b\\u043a\\u0430_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"CZ + apostila\",\"Lead_name\":\"CZ + apostila\",\"\\u0411\\u044e\\u0434\\u0436\\u0435\\u0442\":\"200\",\"Budget\":\"200\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"Cezara Cenusa\",\"Responsible\":\"Cezara Cenusa\"},\"lead\":{\"ID\":\"42887055\",\"\\u0421\\u0434\\u0435\\u043b\\u043a\\u0430_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"CZ + apostila\",\"Lead_name\":\"CZ + apostila\",\"\\u0411\\u044e\\u0434\\u0436\\u0435\\u0442\":\"200\",\"Budget\":\"200\",\"\\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\":\"+79296969259\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Maria Laicova\",\"Contact_name\":\"Maria Laicova\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"Iulia Chiperi\",\"Responsible\":\"Iulia Chiperi\"},\"contact\":{\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"+79296969259\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Maria Laicova\",\"Contact_name\":\"Maria Laicova\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"Iulia Chiperi\",\"Responsible\":\"Iulia Chiperi\"},\"\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442\\u044b\":[{\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"+79296969259\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Maria Laicova\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"Iulia Chiperi\"}],\"\\u0434\\u043e\\u043a\\u0443\\u043c\\u0435\\u043d\\u0442\":{\"\\u0414\\u0430\\u0442\\u0430\":\"20.10.2026\",\"\\u041d\\u043e\\u043c\\u0435\\u0440\":\"105\"},\"document\":{\"Date\":\"20.10.2026\",\"Number\":\"105\"}}}","edit":true}} {"uid":"ed8680b"}
[2026-10-20 14:36:02] docflow.DEBUG: GAS raw response {"raw":"[object] (stdClass: {\"code\":1,\"url\":\"https://docs.google.com/open?id=1veuROSyameQ6KWoKNylUV3JNAkhDvW4diSwE-v6wr04\",\"file_id\":\"1veuROSyameQ6KWoKNylUV3JNAkhDvW4diSwE-v6wr04\",\"error\":\"\",\"vars\":\"\"})"} {"uid":"ed8680b"}
[2026-10-20 14:36:02] docflow.WARNING: AmoDrive generated-file move is not ready. {"fileId":"1veuROSyameQ6KWoKNylUV3JNAkhDvW4diSwE-v6wr04","context":null} {"uid":"ed8680b"}
[2026-10-20 14:38:48] docflow.INFO: Apel createDoc {"data":{"amoAccountId":"22699852","amoUserId":null,"amoEntityId":"42887055","amoEntityType":"2","templateId":"11526","corporateEntityId":"","settlementAccountId":"","is_signed":null,"gdi":null,"number":null,"currentAmoUserId":null,"lang":"ru"}} {"uid":"c577393"}
[2026-10-20 14:38:49] docflow.INFO: Token is valid for account 22699852. [] {"uid":"c577393"}
[2026-10-20 14:38:49] docflow.DEBUG: getClientAuth returned {"auth":"[object] (stdClass: {\"domain\":\"emigrare.amocrm.ru\",\"access_token\":\"eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImp0aSI6IjM2MjFhNTE2ODhlNTY2NzRkNDZlZTc2ZWU1MGY3Y2ZkZTM1NTJmNTE4ZDUwZDJmOTVlNGYxNWVlYmU3MDBiMjAwYjRlN2ZmZTM1ZDExOWIzIn0.eyJhdWQiOiIwZDY0ZGZmYi1lNTRiLTQ0OGYtOWZiZi1iYWYyMjUxYTExZGIiLCJqdGkiOiIzNjIxYTUxNjg4ZTU2Njc0ZDQ2ZWU3NmVlNTBmN2NmZGUzNTUyZjUxOGQ1MGQyZjk1ZTRmMTVlZWJlNzAwYjIwMGI0ZTdmZmUzNWQxMTliMyIsImlhdCI6MTc5MjQ3NjU0NCwibmJmIjoxNzkyNDc2NTQ0LCJleHAiOjE3OTI1NjI5NDQsInN1YiI6IjI5MzAzODAiLCJncmFudF90eXBlIjoiIiwiYWNjb3VudF9pZCI6MjI2OTk4NTIsImJhc2VfZG9tYWluIjoiYW1vY3JtLnJ1IiwidmVyc2lvbiI6Miwic2NvcGVzIjpbInB1c2hfbm90aWZpY2F0aW9ucyIsImNybSIsIm5vdGlmaWNhdGlvbnMiXSwiaGFzaF91dWlkIjoiOWE3NWEwYzQtZGMzOC00MzhmLTg2NmEtMWIxZWIwNzYyNjZlIiwiYXBpX2RvbWFpbiI6ImFwaS1iLmFtb2NybS5ydSJ9.qehz4h7sbmBOqc2WoRpnMDr7JDLCNhcyFK0dk2J1kdkNQ8gzqB35VS6EgeS4v5Q5O1O4SRNKFuSvIB-5lrCv0q7Dg5SRiRmxfG_vqqg5R4YK67own5xWhW6vEVSS1aPH1pxSeqCA7qhMFyAxz9Dsrm1tVt15o4ePIGLpWrlkjvoVCpMvsvSCZ9y1LdI_UF9ZhUW9SGQwuyhIzqQdEbmlmNnqHf8yd6roK6IOhluPISHsMmRWJBAThQQ-Z6IwXvU9t9uDb35rSe9xH0RCb_GrrWAvWtVEKh_qCbOvFlY1pfSMFm_w-smIYAdeBGxKrGW4Xd2scXU7XXH6BgpXaAB4uw\"})","file":"/home/ytvmclwh/document.amocrm.md/src/Models/Docs.php","line":121} {"uid":"c577393"}
[2026-10-20 14:38:51] docflow.DEBUG: AmoDrive docflow context request {"url":"https://google.emale.uno/api/docflow/google-context","query":{"account_id":"22699852","entity_id":"42887055","entity_type":"leads"}} {"uid":"c577393"}
[2026-10-20 14:38: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=42887055&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/20 14:38:52</td>\r\n</tr>\r\n</table>\r\n<hr><center>tengine</center>\r\n</body>\r\n</html>\r\n"} {"uid":"c577393"}
[2026-10-20 14:38:52] docflow.DEBUG: AmoDrive docflow context request {"url":"https://gd.glucose-dev.online/api/docflow/google-context","query":{"account_id":"22699852","entity_id":"42887055","entity_type":"leads"}} {"uid":"c577393"}
[2026-10-20 14:38: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":"42887055","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":304,"isLifetime":false},"licenseActive":false,"googleConnected":false,"googleEmail":null,"googleHasDriveScope":false,"googleHasDriveFileScope":false,"googleHasOwnershipScope":false,"readyForGeneratedFileMove":false,"readyForTransfer":false},"folder":{"id":"1Z4dZWYibi_yVKallzZP3J9enLhPFWklA","name":"42887055 - Lead #42887055","webViewLink":"https://drive.google.com/drive/folders/1Z4dZWYibi_yVKallzZP3J9enLhPFWklA"}}} {"uid":"c577393"}
[2026-10-20 14:38:52] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://google.emale.uno/api/docflow/prepare-generated-doc","payload":{"account_id":"22699852","entity_id":"42887055","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"c577393"}
[2026-10-20 14:38: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/20 14:38: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":"42887055","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"c577393"}
[2026-10-20 14:38: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":"42887055","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"c577393"}
[2026-10-20 14:38: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":"42887055","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"c577393"}
[2026-10-20 14:38:52] 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) 129 20261020143851\",\"leadId\":\"42887055\",\"entities\":{\"\\u0441\\u0434\\u0435\\u043b\\u043a\\u0430\":{\"ID\":\"42887055\",\"\\u0421\\u0434\\u0435\\u043b\\u043a\\u0430_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"CZ + apostila\",\"Lead_name\":\"CZ + apostila\",\"\\u0411\\u044e\\u0434\\u0436\\u0435\\u0442\":\"200\",\"Budget\":\"200\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"Cezara Cenusa\",\"Responsible\":\"Cezara Cenusa\"},\"lead\":{\"ID\":\"42887055\",\"\\u0421\\u0434\\u0435\\u043b\\u043a\\u0430_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"CZ + apostila\",\"Lead_name\":\"CZ + apostila\",\"\\u0411\\u044e\\u0434\\u0436\\u0435\\u0442\":\"200\",\"Budget\":\"200\",\"\\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\":\"+79296969259\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Maria Laicova\",\"Contact_name\":\"Maria Laicova\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"Iulia Chiperi\",\"Responsible\":\"Iulia Chiperi\"},\"contact\":{\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"+79296969259\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Maria Laicova\",\"Contact_name\":\"Maria Laicova\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"Iulia Chiperi\",\"Responsible\":\"Iulia Chiperi\"},\"\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442\\u044b\":[{\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"+79296969259\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Maria Laicova\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"Iulia Chiperi\"}],\"\\u0434\\u043e\\u043a\\u0443\\u043c\\u0435\\u043d\\u0442\":{\"\\u0414\\u0430\\u0442\\u0430\":\"20.10.2026\",\"\\u041d\\u043e\\u043c\\u0435\\u0440\":\"129\"},\"document\":{\"Date\":\"20.10.2026\",\"Number\":\"129\"}}}","edit":true}} {"uid":"c577393"}
[2026-10-20 14:39:01] docflow.DEBUG: GAS raw response {"raw":"[object] (stdClass: {\"code\":1,\"url\":\"https://docs.google.com/open?id=1EeonEKx0TmNn5UIhUPbIVGtVBoh3EDHCGpeKcArUrkg\",\"file_id\":\"1EeonEKx0TmNn5UIhUPbIVGtVBoh3EDHCGpeKcArUrkg\",\"error\":\"\",\"vars\":\"\"})"} {"uid":"c577393"}
[2026-10-20 14:39:01] docflow.WARNING: AmoDrive generated-file move is not ready. {"fileId":"1EeonEKx0TmNn5UIhUPbIVGtVBoh3EDHCGpeKcArUrkg","context":null} {"uid":"c577393"}
[2026-10-20 14:40:59] docflow.INFO: Apel createDoc {"data":{"amoAccountId":"32990686","amoUserId":null,"amoEntityId":"51225393","amoEntityType":"2","templateId":"11625","corporateEntityId":"","settlementAccountId":"","is_signed":null,"gdi":null,"number":null,"currentAmoUserId":null,"lang":"ru"}} {"uid":"9ffcb40"}
[2026-10-20 14:40:59] docflow.INFO: Token is valid for account 32990686. [] {"uid":"9ffcb40"}
[2026-10-20 14:40:59] docflow.DEBUG: getClientAuth returned {"auth":"[object] (stdClass: {\"domain\":\"eurosanteh.amocrm.ru\",\"access_token\":\"eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImp0aSI6ImQ4OGEzOTkzM2JmYjI0ODk3MGVhMzQ0MmIwYTBmNGRhMzU2ZDRlNmE3OWZmMjhhZGYyMDRlODU3ZjU1ZGJmNDJhMGZhZWY2ZDdiMmUyOTdlIn0.eyJhdWQiOiIwZDY0ZGZmYi1lNTRiLTQ0OGYtOWZiZi1iYWYyMjUxYTExZGIiLCJqdGkiOiJkODhhMzk5MzNiZmIyNDg5NzBlYTM0NDJiMGEwZjRkYTM1NmQ0ZTZhNzlmZjI4YWRmMjA0ZTg1N2Y1NWRiZjQyYTBmYWVmNmQ3YjJlMjk3ZSIsImlhdCI6MTc5MjQ5NDEwOCwibmJmIjoxNzkyNDk0MTA4LCJleHAiOjE3OTI1ODA1MDgsInN1YiI6IjEzNjg3MzAyIiwiZ3JhbnRfdHlwZSI6IiIsImFjY291bnRfaWQiOjMyOTkwNjg2LCJiYXNlX2RvbWFpbiI6ImFtb2NybS5ydSIsInZlcnNpb24iOjIsInNjb3BlcyI6WyJwdXNoX25vdGlmaWNhdGlvbnMiLCJjcm0iLCJub3RpZmljYXRpb25zIl0sImhhc2hfdXVpZCI6IjIxNzcyNTZjLTI5ZDktNGNjYy05MWI2LTc2MDkyN2YxNjllYiIsImFwaV9kb21haW4iOiJhcGktYi5hbW9jcm0ucnUifQ.migWzQZC4YW0WHAi2mRPA7jJRw0yWl4PAkPfRKcdHTb8PCshhECKnSg7NduDe7xfUDFHi0oufxkh7xqDz1Ad0ETiOouuC2I35ZWsHNwvvOfGH2s-JAffZ-nr_8SZhNbcP7BdXqf3QQLfoT5E_ACq6b-v-TfrQvwQKhedhAJXHA2w9U6UJ1ZsnVMo_gybDlYUswlRwmYm_Y2P1aYEX_4m5MiuOGWV7FrV4JbOR0bHilKY2SllQ2J2Dr4ms8e-vbQiTZVTBedl4dHqbzkk9SZhVEVLDi7lHd4MSkF8vOotZUQlqWo9ymt-3H9dYUvIOUhRL9SaGrD0XH1cmmJNbSRq3A\"})","file":"/home/ytvmclwh/document.amocrm.md/src/Models/Docs.php","line":121} {"uid":"9ffcb40"}
[2026-10-20 14:41:02] docflow.DEBUG: AmoDrive docflow context request {"url":"https://google.emale.uno/api/docflow/google-context","query":{"account_id":"32990686","entity_id":"51225393","entity_type":"leads"}} {"uid":"9ffcb40"}
[2026-10-20 14:41:02] 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=51225393&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/20 14:41:02</td>\r\n</tr>\r\n</table>\r\n<hr><center>tengine</center>\r\n</body>\r\n</html>\r\n"} {"uid":"9ffcb40"}
[2026-10-20 14:41:02] docflow.DEBUG: AmoDrive docflow context request {"url":"https://gd.glucose-dev.online/api/docflow/google-context","query":{"account_id":"32990686","entity_id":"51225393","entity_type":"leads"}} {"uid":"9ffcb40"}
[2026-10-20 14:41:02] 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":"51225393","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":"9ffcb40"}
[2026-10-20 14:41:02] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://google.emale.uno/api/docflow/prepare-generated-doc","payload":{"account_id":"32990686","entity_id":"51225393","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"9ffcb40"}
[2026-10-20 14:41:02] 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/20 14:41:02</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":"51225393","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"9ffcb40"}
[2026-10-20 14:41:02] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://gd.glucose-dev.online/api/docflow/prepare-generated-doc","payload":{"account_id":"32990686","entity_id":"51225393","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"9ffcb40"}
[2026-10-20 14:41:02] 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":"51225393","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"9ffcb40"}
[2026-10-20 14:41:02] 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 1398 20261020144102\",\"leadId\":\"51225393\",\"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-21 12:55:00\",\"\\u0414\\u0430\\u0442\\u0430 \\u0432\\u0438\\u0437\\u0438\\u0442\\u0430\":\"21.10.2026\",\"\\u0418\\u0441\\u043f\\u043e\\u043b\\u043d\\u0438\\u0442\\u0435\\u043b\\u044c\":\"Ghenadie Tiuhtii\",\"\\u0426\\u0435\\u043b\\u044c \\u0432\\u044b\\u0435\\u0437\\u0434\\u0430\":\"\\u0414\\u0438\\u0430\\u0433\\u043d\\u043e\\u0441\\u0442\\u0438\\u043a\\u0430\",\"\\u0412\\u0438\\u0434 \\u0432\\u044b\\u043f\\u043e\\u043b\\u043d\\u0435\\u043d\\u043d\\u044b\\u0445 \\u0440\\u0430\\u0431\\u043e\\u0442\":\"\\u0414\\u0438\\u0430\\u0433\\u043d\\u043e\\u0441\\u0442\\u0438\\u043a\\u0430 \\u0441\\u043f\\u043b\\u0438\\u0442-\\u0441\\u0438\\u0441\\u0442\\u0435\\u043c \\u0438 \\u0434\\u0440\\u0443\\u0433\\u0438\\u0445 \\u0442\\u0438\\u043f\\u043e\\u0432 \\u043a\\u043e\\u043d\\u0434\\u0438\\u0446\\u0438\\u043e\\u043d\\u0435\\u0440\\u043e\\u0432\",\"\\u041c\\u043e\\u0434\\u0435\\u043b\\u044c \\u043e\\u0431\\u043e\\u0440\\u0443\\u0434\\u043e\\u0432\\u0430\\u043d\\u0438\\u044f 1\":\"Artel\",\"ID\":\"51225393\",\"\\u0421\\u0434\\u0435\\u043b\\u043a\\u0430_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"\\u0434\\u0438\\u0430\\u0433\\u043d\\u043e\\u0441\\u0442\\u0438\\u043a\\u0430\",\"Lead_name\":\"\\u0434\\u0438\\u0430\\u0433\\u043d\\u043e\\u0441\\u0442\\u0438\\u043a\\u0430\",\"\\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-21 12:55:00\",\"\\u0414\\u0430\\u0442\\u0430 \\u0432\\u0438\\u0437\\u0438\\u0442\\u0430\":\"21.10.2026\",\"\\u0418\\u0441\\u043f\\u043e\\u043b\\u043d\\u0438\\u0442\\u0435\\u043b\\u044c\":\"Ghenadie Tiuhtii\",\"\\u0426\\u0435\\u043b\\u044c \\u0432\\u044b\\u0435\\u0437\\u0434\\u0430\":\"\\u0414\\u0438\\u0430\\u0433\\u043d\\u043e\\u0441\\u0442\\u0438\\u043a\\u0430\",\"\\u0412\\u0438\\u0434 \\u0432\\u044b\\u043f\\u043e\\u043b\\u043d\\u0435\\u043d\\u043d\\u044b\\u0445 \\u0440\\u0430\\u0431\\u043e\\u0442\":\"\\u0414\\u0438\\u0430\\u0433\\u043d\\u043e\\u0441\\u0442\\u0438\\u043a\\u0430 \\u0441\\u043f\\u043b\\u0438\\u0442-\\u0441\\u0438\\u0441\\u0442\\u0435\\u043c \\u0438 \\u0434\\u0440\\u0443\\u0433\\u0438\\u0445 \\u0442\\u0438\\u043f\\u043e\\u0432 \\u043a\\u043e\\u043d\\u0434\\u0438\\u0446\\u0438\\u043e\\u043d\\u0435\\u0440\\u043e\\u0432\",\"\\u041c\\u043e\\u0434\\u0435\\u043b\\u044c \\u043e\\u0431\\u043e\\u0440\\u0443\\u0434\\u043e\\u0432\\u0430\\u043d\\u0438\\u044f 1\":\"Artel\",\"ID\":\"51225393\",\"\\u0421\\u0434\\u0435\\u043b\\u043a\\u0430_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"\\u0434\\u0438\\u0430\\u0433\\u043d\\u043e\\u0441\\u0442\\u0438\\u043a\\u0430\",\"Lead_name\":\"\\u0434\\u0438\\u0430\\u0433\\u043d\\u043e\\u0441\\u0442\\u0438\\u043a\\u0430\",\"\\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\":{\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"37360178477\",\"\\u0418\\u043c\\u044f \\u043a\\u043b\\u0438\\u0435\\u043d\\u0442\\u0430 (\\u0421\\u041c\\u0421)\":\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442 37360178477\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442 37360178477\",\"Contact_name\":\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442 37360178477\",\"\\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\":{\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"37360178477\",\"\\u0418\\u043c\\u044f \\u043a\\u043b\\u0438\\u0435\\u043d\\u0442\\u0430 (\\u0421\\u041c\\u0421)\":\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442 37360178477\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442 37360178477\",\"Contact_name\":\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442 37360178477\",\"\\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\":[{\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"37360178477\",\"\\u0418\\u043c\\u044f \\u043a\\u043b\\u0438\\u0435\\u043d\\u0442\\u0430 (\\u0421\\u041c\\u0421)\":\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442 37360178477\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442 37360178477\",\"\\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\":\"20.10.2026\",\"\\u041d\\u043e\\u043c\\u0435\\u0440\":\"1398\"},\"document\":{\"Date\":\"20.10.2026\",\"Number\":\"1398\"}}}","edit":true}} {"uid":"9ffcb40"}
[2026-10-20 14:41:10] docflow.DEBUG: GAS raw response {"raw":"[object] (stdClass: {\"code\":1,\"url\":\"https://docs.google.com/open?id=19JVTgmt2ijGqHTyT0mVOgvEOhZKbqS7cvyYLcz2b-8A\",\"file_id\":\"19JVTgmt2ijGqHTyT0mVOgvEOhZKbqS7cvyYLcz2b-8A\",\"error\":\"\",\"vars\":\"\"})"} {"uid":"9ffcb40"}
[2026-10-20 14:41:10] docflow.WARNING: AmoDrive generated-file move is not ready. {"fileId":"19JVTgmt2ijGqHTyT0mVOgvEOhZKbqS7cvyYLcz2b-8A","context":null} {"uid":"9ffcb40"}
[2026-10-20 14:41:35] docflow.INFO: Apel createDoc {"data":{"amoAccountId":"32990686","amoUserId":null,"amoEntityId":"51225393","amoEntityType":"2","templateId":"11646","corporateEntityId":"","settlementAccountId":"","is_signed":null,"gdi":null,"number":null,"currentAmoUserId":null,"lang":"ru"}} {"uid":"ebcfd88"}
[2026-10-20 14:41:35] docflow.INFO: Token is valid for account 32990686. [] {"uid":"ebcfd88"}
[2026-10-20 14:41:35] docflow.DEBUG: getClientAuth returned {"auth":"[object] (stdClass: {\"domain\":\"eurosanteh.amocrm.ru\",\"access_token\":\"eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImp0aSI6ImQ4OGEzOTkzM2JmYjI0ODk3MGVhMzQ0MmIwYTBmNGRhMzU2ZDRlNmE3OWZmMjhhZGYyMDRlODU3ZjU1ZGJmNDJhMGZhZWY2ZDdiMmUyOTdlIn0.eyJhdWQiOiIwZDY0ZGZmYi1lNTRiLTQ0OGYtOWZiZi1iYWYyMjUxYTExZGIiLCJqdGkiOiJkODhhMzk5MzNiZmIyNDg5NzBlYTM0NDJiMGEwZjRkYTM1NmQ0ZTZhNzlmZjI4YWRmMjA0ZTg1N2Y1NWRiZjQyYTBmYWVmNmQ3YjJlMjk3ZSIsImlhdCI6MTc5MjQ5NDEwOCwibmJmIjoxNzkyNDk0MTA4LCJleHAiOjE3OTI1ODA1MDgsInN1YiI6IjEzNjg3MzAyIiwiZ3JhbnRfdHlwZSI6IiIsImFjY291bnRfaWQiOjMyOTkwNjg2LCJiYXNlX2RvbWFpbiI6ImFtb2NybS5ydSIsInZlcnNpb24iOjIsInNjb3BlcyI6WyJwdXNoX25vdGlmaWNhdGlvbnMiLCJjcm0iLCJub3RpZmljYXRpb25zIl0sImhhc2hfdXVpZCI6IjIxNzcyNTZjLTI5ZDktNGNjYy05MWI2LTc2MDkyN2YxNjllYiIsImFwaV9kb21haW4iOiJhcGktYi5hbW9jcm0ucnUifQ.migWzQZC4YW0WHAi2mRPA7jJRw0yWl4PAkPfRKcdHTb8PCshhECKnSg7NduDe7xfUDFHi0oufxkh7xqDz1Ad0ETiOouuC2I35ZWsHNwvvOfGH2s-JAffZ-nr_8SZhNbcP7BdXqf3QQLfoT5E_ACq6b-v-TfrQvwQKhedhAJXHA2w9U6UJ1ZsnVMo_gybDlYUswlRwmYm_Y2P1aYEX_4m5MiuOGWV7FrV4JbOR0bHilKY2SllQ2J2Dr4ms8e-vbQiTZVTBedl4dHqbzkk9SZhVEVLDi7lHd4MSkF8vOotZUQlqWo9ymt-3H9dYUvIOUhRL9SaGrD0XH1cmmJNbSRq3A\"})","file":"/home/ytvmclwh/document.amocrm.md/src/Models/Docs.php","line":121} {"uid":"ebcfd88"}
[2026-10-20 14:41:37] docflow.DEBUG: AmoDrive docflow context request {"url":"https://google.emale.uno/api/docflow/google-context","query":{"account_id":"32990686","entity_id":"51225393","entity_type":"leads"}} {"uid":"ebcfd88"}
[2026-10-20 14:41:38] 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=51225393&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/20 14:41:38</td>\r\n</tr>\r\n</table>\r\n<hr><center>tengine</center>\r\n</body>\r\n</html>\r\n"} {"uid":"ebcfd88"}
[2026-10-20 14:41:38] docflow.DEBUG: AmoDrive docflow context request {"url":"https://gd.glucose-dev.online/api/docflow/google-context","query":{"account_id":"32990686","entity_id":"51225393","entity_type":"leads"}} {"uid":"ebcfd88"}
[2026-10-20 14:41:38] 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":"51225393","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":"ebcfd88"}
[2026-10-20 14:41:38] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://google.emale.uno/api/docflow/prepare-generated-doc","payload":{"account_id":"32990686","entity_id":"51225393","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"ebcfd88"}
[2026-10-20 14:41:38] 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/20 14:41:38</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":"51225393","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"ebcfd88"}
[2026-10-20 14:41:38] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://gd.glucose-dev.online/api/docflow/prepare-generated-doc","payload":{"account_id":"32990686","entity_id":"51225393","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"ebcfd88"}
[2026-10-20 14:41:38] 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":"51225393","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"ebcfd88"}
[2026-10-20 14:41:38] 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 1399 20261020144137\",\"leadId\":\"51225393\",\"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-21 12:55:00\",\"\\u0414\\u0430\\u0442\\u0430 \\u0432\\u0438\\u0437\\u0438\\u0442\\u0430\":\"21.10.2026\",\"\\u0418\\u0441\\u043f\\u043e\\u043b\\u043d\\u0438\\u0442\\u0435\\u043b\\u044c\":\"Ghenadie Tiuhtii\",\"\\u0426\\u0435\\u043b\\u044c \\u0432\\u044b\\u0435\\u0437\\u0434\\u0430\":\"\\u0414\\u0438\\u0430\\u0433\\u043d\\u043e\\u0441\\u0442\\u0438\\u043a\\u0430\",\"\\u0412\\u0438\\u0434 \\u0432\\u044b\\u043f\\u043e\\u043b\\u043d\\u0435\\u043d\\u043d\\u044b\\u0445 \\u0440\\u0430\\u0431\\u043e\\u0442\":\"\\u0414\\u0438\\u0430\\u0433\\u043d\\u043e\\u0441\\u0442\\u0438\\u043a\\u0430 \\u0441\\u043f\\u043b\\u0438\\u0442-\\u0441\\u0438\\u0441\\u0442\\u0435\\u043c \\u0438 \\u0434\\u0440\\u0443\\u0433\\u0438\\u0445 \\u0442\\u0438\\u043f\\u043e\\u0432 \\u043a\\u043e\\u043d\\u0434\\u0438\\u0446\\u0438\\u043e\\u043d\\u0435\\u0440\\u043e\\u0432\",\"\\u041c\\u043e\\u0434\\u0435\\u043b\\u044c \\u043e\\u0431\\u043e\\u0440\\u0443\\u0434\\u043e\\u0432\\u0430\\u043d\\u0438\\u044f 1\":\"Artel\",\"ID\":\"51225393\",\"\\u0421\\u0434\\u0435\\u043b\\u043a\\u0430_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"\\u0434\\u0438\\u0430\\u0433\\u043d\\u043e\\u0441\\u0442\\u0438\\u043a\\u0430\",\"Lead_name\":\"\\u0434\\u0438\\u0430\\u0433\\u043d\\u043e\\u0441\\u0442\\u0438\\u043a\\u0430\",\"\\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-21 12:55:00\",\"\\u0414\\u0430\\u0442\\u0430 \\u0432\\u0438\\u0437\\u0438\\u0442\\u0430\":\"21.10.2026\",\"\\u0418\\u0441\\u043f\\u043e\\u043b\\u043d\\u0438\\u0442\\u0435\\u043b\\u044c\":\"Ghenadie Tiuhtii\",\"\\u0426\\u0435\\u043b\\u044c \\u0432\\u044b\\u0435\\u0437\\u0434\\u0430\":\"\\u0414\\u0438\\u0430\\u0433\\u043d\\u043e\\u0441\\u0442\\u0438\\u043a\\u0430\",\"\\u0412\\u0438\\u0434 \\u0432\\u044b\\u043f\\u043e\\u043b\\u043d\\u0435\\u043d\\u043d\\u044b\\u0445 \\u0440\\u0430\\u0431\\u043e\\u0442\":\"\\u0414\\u0438\\u0430\\u0433\\u043d\\u043e\\u0441\\u0442\\u0438\\u043a\\u0430 \\u0441\\u043f\\u043b\\u0438\\u0442-\\u0441\\u0438\\u0441\\u0442\\u0435\\u043c \\u0438 \\u0434\\u0440\\u0443\\u0433\\u0438\\u0445 \\u0442\\u0438\\u043f\\u043e\\u0432 \\u043a\\u043e\\u043d\\u0434\\u0438\\u0446\\u0438\\u043e\\u043d\\u0435\\u0440\\u043e\\u0432\",\"\\u041c\\u043e\\u0434\\u0435\\u043b\\u044c \\u043e\\u0431\\u043e\\u0440\\u0443\\u0434\\u043e\\u0432\\u0430\\u043d\\u0438\\u044f 1\":\"Artel\",\"ID\":\"51225393\",\"\\u0421\\u0434\\u0435\\u043b\\u043a\\u0430_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"\\u0434\\u0438\\u0430\\u0433\\u043d\\u043e\\u0441\\u0442\\u0438\\u043a\\u0430\",\"Lead_name\":\"\\u0434\\u0438\\u0430\\u0433\\u043d\\u043e\\u0441\\u0442\\u0438\\u043a\\u0430\",\"\\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\":{\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"37360178477\",\"\\u0418\\u043c\\u044f \\u043a\\u043b\\u0438\\u0435\\u043d\\u0442\\u0430 (\\u0421\\u041c\\u0421)\":\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442 37360178477\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442 37360178477\",\"Contact_name\":\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442 37360178477\",\"\\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\":{\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"37360178477\",\"\\u0418\\u043c\\u044f \\u043a\\u043b\\u0438\\u0435\\u043d\\u0442\\u0430 (\\u0421\\u041c\\u0421)\":\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442 37360178477\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442 37360178477\",\"Contact_name\":\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442 37360178477\",\"\\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\":[{\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"37360178477\",\"\\u0418\\u043c\\u044f \\u043a\\u043b\\u0438\\u0435\\u043d\\u0442\\u0430 (\\u0421\\u041c\\u0421)\":\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442 37360178477\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442 37360178477\",\"\\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\":\"20.10.2026\",\"\\u041d\\u043e\\u043c\\u0435\\u0440\":\"1399\"},\"document\":{\"Date\":\"20.10.2026\",\"Number\":\"1399\"}}}","edit":true}} {"uid":"ebcfd88"}
[2026-10-20 14:41:45] docflow.DEBUG: GAS raw response {"raw":"[object] (stdClass: {\"code\":1,\"url\":\"https://docs.google.com/open?id=17HfwOXcB0AnU38cBLX2cfwvsmcG6Mr5g18KYpt1-usA\",\"file_id\":\"17HfwOXcB0AnU38cBLX2cfwvsmcG6Mr5g18KYpt1-usA\",\"error\":\"\",\"vars\":\"\"})"} {"uid":"ebcfd88"}
[2026-10-20 14:41:45] docflow.WARNING: AmoDrive generated-file move is not ready. {"fileId":"17HfwOXcB0AnU38cBLX2cfwvsmcG6Mr5g18KYpt1-usA","context":null} {"uid":"ebcfd88"}
[2026-10-20 14:42:37] docflow.INFO: Apel createDoc {"data":{"amoAccountId":"22699852","amoUserId":null,"amoEntityId":"42800542","amoEntityType":"2","templateId":"11500","corporateEntityId":"","settlementAccountId":"","is_signed":null,"gdi":null,"number":null,"currentAmoUserId":null,"lang":"ru"}} {"uid":"7eec432"}
[2026-10-20 14:42:38] docflow.INFO: Token is valid for account 22699852. [] {"uid":"7eec432"}
[2026-10-20 14:42:38] docflow.DEBUG: getClientAuth returned {"auth":"[object] (stdClass: {\"domain\":\"emigrare.amocrm.ru\",\"access_token\":\"eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImp0aSI6IjM2MjFhNTE2ODhlNTY2NzRkNDZlZTc2ZWU1MGY3Y2ZkZTM1NTJmNTE4ZDUwZDJmOTVlNGYxNWVlYmU3MDBiMjAwYjRlN2ZmZTM1ZDExOWIzIn0.eyJhdWQiOiIwZDY0ZGZmYi1lNTRiLTQ0OGYtOWZiZi1iYWYyMjUxYTExZGIiLCJqdGkiOiIzNjIxYTUxNjg4ZTU2Njc0ZDQ2ZWU3NmVlNTBmN2NmZGUzNTUyZjUxOGQ1MGQyZjk1ZTRmMTVlZWJlNzAwYjIwMGI0ZTdmZmUzNWQxMTliMyIsImlhdCI6MTc5MjQ3NjU0NCwibmJmIjoxNzkyNDc2NTQ0LCJleHAiOjE3OTI1NjI5NDQsInN1YiI6IjI5MzAzODAiLCJncmFudF90eXBlIjoiIiwiYWNjb3VudF9pZCI6MjI2OTk4NTIsImJhc2VfZG9tYWluIjoiYW1vY3JtLnJ1IiwidmVyc2lvbiI6Miwic2NvcGVzIjpbInB1c2hfbm90aWZpY2F0aW9ucyIsImNybSIsIm5vdGlmaWNhdGlvbnMiXSwiaGFzaF91dWlkIjoiOWE3NWEwYzQtZGMzOC00MzhmLTg2NmEtMWIxZWIwNzYyNjZlIiwiYXBpX2RvbWFpbiI6ImFwaS1iLmFtb2NybS5ydSJ9.qehz4h7sbmBOqc2WoRpnMDr7JDLCNhcyFK0dk2J1kdkNQ8gzqB35VS6EgeS4v5Q5O1O4SRNKFuSvIB-5lrCv0q7Dg5SRiRmxfG_vqqg5R4YK67own5xWhW6vEVSS1aPH1pxSeqCA7qhMFyAxz9Dsrm1tVt15o4ePIGLpWrlkjvoVCpMvsvSCZ9y1LdI_UF9ZhUW9SGQwuyhIzqQdEbmlmNnqHf8yd6roK6IOhluPISHsMmRWJBAThQQ-Z6IwXvU9t9uDb35rSe9xH0RCb_GrrWAvWtVEKh_qCbOvFlY1pfSMFm_w-smIYAdeBGxKrGW4Xd2scXU7XXH6BgpXaAB4uw\"})","file":"/home/ytvmclwh/document.amocrm.md/src/Models/Docs.php","line":121} {"uid":"7eec432"}
[2026-10-20 14:42:40] docflow.DEBUG: AmoDrive docflow context request {"url":"https://google.emale.uno/api/docflow/google-context","query":{"account_id":"22699852","entity_id":"42800542","entity_type":"leads"}} {"uid":"7eec432"}
[2026-10-20 14:42: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=42800542&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/20 14:42:40</td>\r\n</tr>\r\n</table>\r\n<hr><center>tengine</center>\r\n</body>\r\n</html>\r\n"} {"uid":"7eec432"}
[2026-10-20 14:42:40] docflow.DEBUG: AmoDrive docflow context request {"url":"https://gd.glucose-dev.online/api/docflow/google-context","query":{"account_id":"22699852","entity_id":"42800542","entity_type":"leads"}} {"uid":"7eec432"}
[2026-10-20 14:42: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":"42800542","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":304,"isLifetime":false},"licenseActive":false,"googleConnected":false,"googleEmail":null,"googleHasDriveScope":false,"googleHasDriveFileScope":false,"googleHasOwnershipScope":false,"readyForGeneratedFileMove":false,"readyForTransfer":false},"folder":{"id":"1w02NXsnK2EqVOi36SeC_vMbz5yPWMcOp","name":"42800542 - Lead #42800542","webViewLink":"https://drive.google.com/drive/folders/1w02NXsnK2EqVOi36SeC_vMbz5yPWMcOp"}}} {"uid":"7eec432"}
[2026-10-20 14:42:40] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://google.emale.uno/api/docflow/prepare-generated-doc","payload":{"account_id":"22699852","entity_id":"42800542","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"7eec432"}
[2026-10-20 14:42: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/20 14:42: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":"42800542","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"7eec432"}
[2026-10-20 14:42: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":"42800542","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"7eec432"}
[2026-10-20 14:42: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":"42800542","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"7eec432"}
[2026-10-20 14:42:40] 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 728 20261020144240\",\"leadId\":\"42800542\",\"entities\":{\"\\u0441\\u0434\\u0435\\u043b\\u043a\\u0430\":{\"Brand\":\"Emigrare.md\",\"Shema\":\"Emigrare\",\"Suma \\u20ac\":\"0\",\"#Manager Front\":\"Cezara Cenusa\",\"Urm\\u0103torul contact\":\"2026-10-20 14:33:00\",\"Mod achitare\":\"Cash\",\"Suma avans\":\"120\",\"Manager Juridic\":\"Dascal Anatolie\",\"#Manager Jurist\":\"Dascal Anatolie\",\"ID\":\"42800542\",\"\\u0421\\u0434\\u0435\\u043b\\u043a\\u0430_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"sub. RO\",\"Lead_name\":\"sub. RO\",\"\\u0411\\u044e\\u0434\\u0436\\u0435\\u0442\":\"120\",\"Budget\":\"120\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"Untila Dorina\",\"Responsible\":\"Untila Dorina\"},\"lead\":{\"Brand\":\"Emigrare.md\",\"Shema\":\"Emigrare\",\"Suma \\u20ac\":\"0\",\"#Manager Front\":\"Cezara Cenusa\",\"Urm\\u0103torul contact\":\"2026-10-20 14:33:00\",\"Mod achitare\":\"Cash\",\"Suma avans\":\"120\",\"Manager Juridic\":\"Dascal Anatolie\",\"#Manager Jurist\":\"Dascal Anatolie\",\"ID\":\"42800542\",\"\\u0421\\u0434\\u0435\\u043b\\u043a\\u0430_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"sub. RO\",\"Lead_name\":\"sub. RO\",\"\\u0411\\u044e\\u0434\\u0436\\u0435\\u0442\":\"120\",\"Budget\":\"120\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"Untila Dorina\",\"Responsible\":\"Untila Dorina\"},\"\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442\":{\"Limba vorbita\":\"Rusa\",\"Email\":\"sergdragon@icloud.com\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"37368454348\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Ana Maria Vorobiova\",\"Contact_name\":\"Ana Maria Vorobiova\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"Untila Dorina\",\"Responsible\":\"Untila Dorina\"},\"contact\":{\"Limba vorbita\":\"Rusa\",\"Email\":\"sergdragon@icloud.com\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"37368454348\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Ana Maria Vorobiova\",\"Contact_name\":\"Ana Maria Vorobiova\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"Untila Dorina\",\"Responsible\":\"Untila Dorina\"},\"\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442\\u044b\":[{\"Limba vorbita\":\"Rusa\",\"Email\":\"sergdragon@icloud.com\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"37368454348\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Ana Maria Vorobiova\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"Untila Dorina\"}],\"\\u0434\\u043e\\u043a\\u0443\\u043c\\u0435\\u043d\\u0442\":{\"\\u0414\\u0430\\u0442\\u0430\":\"20.10.2026\",\"\\u041d\\u043e\\u043c\\u0435\\u0440\":\"728\"},\"document\":{\"Date\":\"20.10.2026\",\"Number\":\"728\"}}}","edit":true}} {"uid":"7eec432"}
[2026-10-20 14:42:47] docflow.DEBUG: GAS raw response {"raw":"[object] (stdClass: {\"code\":1,\"url\":\"https://docs.google.com/open?id=1NlSNajyUp7bSjqrj1SvL3ci_x7BWwT9GUOYlDqxne8s\",\"file_id\":\"1NlSNajyUp7bSjqrj1SvL3ci_x7BWwT9GUOYlDqxne8s\",\"error\":\"\",\"vars\":\"\"})"} {"uid":"7eec432"}
[2026-10-20 14:42:47] docflow.WARNING: AmoDrive generated-file move is not ready. {"fileId":"1NlSNajyUp7bSjqrj1SvL3ci_x7BWwT9GUOYlDqxne8s","context":null} {"uid":"7eec432"}
[2026-10-20 14:43:42] docflow.INFO: Apel createDoc {"data":{"amoAccountId":"22699852","amoUserId":null,"amoEntityId":"42800542","amoEntityType":"2","templateId":"11505","corporateEntityId":"","settlementAccountId":"","is_signed":null,"gdi":null,"number":null,"currentAmoUserId":null,"lang":"ru"}} {"uid":"0d1dee8"}
[2026-10-20 14:43:43] docflow.INFO: Token is valid for account 22699852. [] {"uid":"0d1dee8"}
[2026-10-20 14:43:43] docflow.DEBUG: getClientAuth returned {"auth":"[object] (stdClass: {\"domain\":\"emigrare.amocrm.ru\",\"access_token\":\"eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImp0aSI6IjM2MjFhNTE2ODhlNTY2NzRkNDZlZTc2ZWU1MGY3Y2ZkZTM1NTJmNTE4ZDUwZDJmOTVlNGYxNWVlYmU3MDBiMjAwYjRlN2ZmZTM1ZDExOWIzIn0.eyJhdWQiOiIwZDY0ZGZmYi1lNTRiLTQ0OGYtOWZiZi1iYWYyMjUxYTExZGIiLCJqdGkiOiIzNjIxYTUxNjg4ZTU2Njc0ZDQ2ZWU3NmVlNTBmN2NmZGUzNTUyZjUxOGQ1MGQyZjk1ZTRmMTVlZWJlNzAwYjIwMGI0ZTdmZmUzNWQxMTliMyIsImlhdCI6MTc5MjQ3NjU0NCwibmJmIjoxNzkyNDc2NTQ0LCJleHAiOjE3OTI1NjI5NDQsInN1YiI6IjI5MzAzODAiLCJncmFudF90eXBlIjoiIiwiYWNjb3VudF9pZCI6MjI2OTk4NTIsImJhc2VfZG9tYWluIjoiYW1vY3JtLnJ1IiwidmVyc2lvbiI6Miwic2NvcGVzIjpbInB1c2hfbm90aWZpY2F0aW9ucyIsImNybSIsIm5vdGlmaWNhdGlvbnMiXSwiaGFzaF91dWlkIjoiOWE3NWEwYzQtZGMzOC00MzhmLTg2NmEtMWIxZWIwNzYyNjZlIiwiYXBpX2RvbWFpbiI6ImFwaS1iLmFtb2NybS5ydSJ9.qehz4h7sbmBOqc2WoRpnMDr7JDLCNhcyFK0dk2J1kdkNQ8gzqB35VS6EgeS4v5Q5O1O4SRNKFuSvIB-5lrCv0q7Dg5SRiRmxfG_vqqg5R4YK67own5xWhW6vEVSS1aPH1pxSeqCA7qhMFyAxz9Dsrm1tVt15o4ePIGLpWrlkjvoVCpMvsvSCZ9y1LdI_UF9ZhUW9SGQwuyhIzqQdEbmlmNnqHf8yd6roK6IOhluPISHsMmRWJBAThQQ-Z6IwXvU9t9uDb35rSe9xH0RCb_GrrWAvWtVEKh_qCbOvFlY1pfSMFm_w-smIYAdeBGxKrGW4Xd2scXU7XXH6BgpXaAB4uw\"})","file":"/home/ytvmclwh/document.amocrm.md/src/Models/Docs.php","line":121} {"uid":"0d1dee8"}
[2026-10-20 14:43:46] docflow.DEBUG: AmoDrive docflow context request {"url":"https://google.emale.uno/api/docflow/google-context","query":{"account_id":"22699852","entity_id":"42800542","entity_type":"leads"}} {"uid":"0d1dee8"}
[2026-10-20 14:43:46] 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=42800542&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/20 14:43:46</td>\r\n</tr>\r\n</table>\r\n<hr><center>tengine</center>\r\n</body>\r\n</html>\r\n"} {"uid":"0d1dee8"}
[2026-10-20 14:43:46] docflow.DEBUG: AmoDrive docflow context request {"url":"https://gd.glucose-dev.online/api/docflow/google-context","query":{"account_id":"22699852","entity_id":"42800542","entity_type":"leads"}} {"uid":"0d1dee8"}
[2026-10-20 14:43:46] 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":"42800542","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":304,"isLifetime":false},"licenseActive":false,"googleConnected":false,"googleEmail":null,"googleHasDriveScope":false,"googleHasDriveFileScope":false,"googleHasOwnershipScope":false,"readyForGeneratedFileMove":false,"readyForTransfer":false},"folder":{"id":"1w02NXsnK2EqVOi36SeC_vMbz5yPWMcOp","name":"42800542 - Lead #42800542","webViewLink":"https://drive.google.com/drive/folders/1w02NXsnK2EqVOi36SeC_vMbz5yPWMcOp"}}} {"uid":"0d1dee8"}
[2026-10-20 14:43:46] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://google.emale.uno/api/docflow/prepare-generated-doc","payload":{"account_id":"22699852","entity_id":"42800542","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"0d1dee8"}
[2026-10-20 14:43:46] 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/20 14:43:46</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":"42800542","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"0d1dee8"}
[2026-10-20 14:43:46] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://gd.glucose-dev.online/api/docflow/prepare-generated-doc","payload":{"account_id":"22699852","entity_id":"42800542","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"0d1dee8"}
[2026-10-20 14:43:46] 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":"42800542","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"0d1dee8"}
[2026-10-20 14:43:46] docflow.DEBUG: GAS request {"url":"https://script.google.com/macros/s/AKfycbwrvOJD46zkuoTzdhpc1kulhV8jRfgQBFZfQ121nkIip_k8yKit4xrbWTOzaJ-C-Yed6w/exec","body":{"templateFileId":"1hXWulQoQx3ku68_Q-y3zD0b3xoTPzXRiIx-q50uHeqI","accountId":"22699852","folderId":"1Us2AfskxgdA729xVr0F2vjZU9y5PlYDe","key":"~VTsK5dcnHc2cSSsjM$LFSjLlgbmJXwrp3R2P5nd","data":"{\"fileName\":\"Consim\\u021b\\u0103m\\u00eent (contract) 41 20261020144346\",\"leadId\":\"42800542\",\"entities\":{\"\\u0441\\u0434\\u0435\\u043b\\u043a\\u0430\":{\"Brand\":\"Emigrare.md\",\"Shema\":\"Emigrare\",\"Suma \\u20ac\":\"0\",\"#Manager Front\":\"Cezara Cenusa\",\"Urm\\u0103torul contact\":\"2026-10-20 14:33:00\",\"Mod achitare\":\"Cash\",\"Suma avans\":\"120\",\"Manager Juridic\":\"Dascal Anatolie\",\"#Manager Jurist\":\"Dascal Anatolie\",\"ID\":\"42800542\",\"\\u0421\\u0434\\u0435\\u043b\\u043a\\u0430_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"sub. RO\",\"Lead_name\":\"sub. RO\",\"\\u0411\\u044e\\u0434\\u0436\\u0435\\u0442\":\"120\",\"Budget\":\"120\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"Untila Dorina\",\"Responsible\":\"Untila Dorina\"},\"lead\":{\"Brand\":\"Emigrare.md\",\"Shema\":\"Emigrare\",\"Suma \\u20ac\":\"0\",\"#Manager Front\":\"Cezara Cenusa\",\"Urm\\u0103torul contact\":\"2026-10-20 14:33:00\",\"Mod achitare\":\"Cash\",\"Suma avans\":\"120\",\"Manager Juridic\":\"Dascal Anatolie\",\"#Manager Jurist\":\"Dascal Anatolie\",\"ID\":\"42800542\",\"\\u0421\\u0434\\u0435\\u043b\\u043a\\u0430_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"sub. RO\",\"Lead_name\":\"sub. RO\",\"\\u0411\\u044e\\u0434\\u0436\\u0435\\u0442\":\"120\",\"Budget\":\"120\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"Untila Dorina\",\"Responsible\":\"Untila Dorina\"},\"\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442\":{\"Limba vorbita\":\"Rusa\",\"Email\":\"sergdragon@icloud.com\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"37368454348\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Ana Maria Vorobiova\",\"Contact_name\":\"Ana Maria Vorobiova\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"Untila Dorina\",\"Responsible\":\"Untila Dorina\"},\"contact\":{\"Limba vorbita\":\"Rusa\",\"Email\":\"sergdragon@icloud.com\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"37368454348\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Ana Maria Vorobiova\",\"Contact_name\":\"Ana Maria Vorobiova\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"Untila Dorina\",\"Responsible\":\"Untila Dorina\"},\"\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442\\u044b\":[{\"Limba vorbita\":\"Rusa\",\"Email\":\"sergdragon@icloud.com\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"37368454348\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Ana Maria Vorobiova\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"Untila Dorina\"}],\"\\u0434\\u043e\\u043a\\u0443\\u043c\\u0435\\u043d\\u0442\":{\"\\u0414\\u0430\\u0442\\u0430\":\"20.10.2026\",\"\\u041d\\u043e\\u043c\\u0435\\u0440\":\"41\"},\"document\":{\"Date\":\"20.10.2026\",\"Number\":\"41\"}}}","edit":true}} {"uid":"0d1dee8"}
[2026-10-20 14:43:55] docflow.DEBUG: GAS raw response {"raw":"[object] (stdClass: {\"code\":1,\"url\":\"https://docs.google.com/open?id=1gqlYqZGwA_7vzsZeBSlhQzl5O0ClBFjyGEX3KgtVw6M\",\"file_id\":\"1gqlYqZGwA_7vzsZeBSlhQzl5O0ClBFjyGEX3KgtVw6M\",\"error\":\"\",\"vars\":\"\"})"} {"uid":"0d1dee8"}
[2026-10-20 14:43:55] docflow.WARNING: AmoDrive generated-file move is not ready. {"fileId":"1gqlYqZGwA_7vzsZeBSlhQzl5O0ClBFjyGEX3KgtVw6M","context":null} {"uid":"0d1dee8"}
[2026-10-20 14:44:13] docflow.INFO: Apel createDoc {"data":{"amoAccountId":"32990686","amoUserId":null,"amoEntityId":"51225393","amoEntityType":"2","templateId":"11625","corporateEntityId":"","settlementAccountId":"","is_signed":null,"gdi":null,"number":null,"currentAmoUserId":null,"lang":"ru"}} {"uid":"c31cb3e"}
[2026-10-20 14:44:14] docflow.INFO: Token is valid for account 32990686. [] {"uid":"c31cb3e"}
[2026-10-20 14:44:14] docflow.DEBUG: getClientAuth returned {"auth":"[object] (stdClass: {\"domain\":\"eurosanteh.amocrm.ru\",\"access_token\":\"eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImp0aSI6ImQ4OGEzOTkzM2JmYjI0ODk3MGVhMzQ0MmIwYTBmNGRhMzU2ZDRlNmE3OWZmMjhhZGYyMDRlODU3ZjU1ZGJmNDJhMGZhZWY2ZDdiMmUyOTdlIn0.eyJhdWQiOiIwZDY0ZGZmYi1lNTRiLTQ0OGYtOWZiZi1iYWYyMjUxYTExZGIiLCJqdGkiOiJkODhhMzk5MzNiZmIyNDg5NzBlYTM0NDJiMGEwZjRkYTM1NmQ0ZTZhNzlmZjI4YWRmMjA0ZTg1N2Y1NWRiZjQyYTBmYWVmNmQ3YjJlMjk3ZSIsImlhdCI6MTc5MjQ5NDEwOCwibmJmIjoxNzkyNDk0MTA4LCJleHAiOjE3OTI1ODA1MDgsInN1YiI6IjEzNjg3MzAyIiwiZ3JhbnRfdHlwZSI6IiIsImFjY291bnRfaWQiOjMyOTkwNjg2LCJiYXNlX2RvbWFpbiI6ImFtb2NybS5ydSIsInZlcnNpb24iOjIsInNjb3BlcyI6WyJwdXNoX25vdGlmaWNhdGlvbnMiLCJjcm0iLCJub3RpZmljYXRpb25zIl0sImhhc2hfdXVpZCI6IjIxNzcyNTZjLTI5ZDktNGNjYy05MWI2LTc2MDkyN2YxNjllYiIsImFwaV9kb21haW4iOiJhcGktYi5hbW9jcm0ucnUifQ.migWzQZC4YW0WHAi2mRPA7jJRw0yWl4PAkPfRKcdHTb8PCshhECKnSg7NduDe7xfUDFHi0oufxkh7xqDz1Ad0ETiOouuC2I35ZWsHNwvvOfGH2s-JAffZ-nr_8SZhNbcP7BdXqf3QQLfoT5E_ACq6b-v-TfrQvwQKhedhAJXHA2w9U6UJ1ZsnVMo_gybDlYUswlRwmYm_Y2P1aYEX_4m5MiuOGWV7FrV4JbOR0bHilKY2SllQ2J2Dr4ms8e-vbQiTZVTBedl4dHqbzkk9SZhVEVLDi7lHd4MSkF8vOotZUQlqWo9ymt-3H9dYUvIOUhRL9SaGrD0XH1cmmJNbSRq3A\"})","file":"/home/ytvmclwh/document.amocrm.md/src/Models/Docs.php","line":121} {"uid":"c31cb3e"}
[2026-10-20 14:44:16] docflow.DEBUG: AmoDrive docflow context request {"url":"https://google.emale.uno/api/docflow/google-context","query":{"account_id":"32990686","entity_id":"51225393","entity_type":"leads"}} {"uid":"c31cb3e"}
[2026-10-20 14:44:16] 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=51225393&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/20 14:44:16</td>\r\n</tr>\r\n</table>\r\n<hr><center>tengine</center>\r\n</body>\r\n</html>\r\n"} {"uid":"c31cb3e"}
[2026-10-20 14:44:16] docflow.DEBUG: AmoDrive docflow context request {"url":"https://gd.glucose-dev.online/api/docflow/google-context","query":{"account_id":"32990686","entity_id":"51225393","entity_type":"leads"}} {"uid":"c31cb3e"}
[2026-10-20 14:44:16] 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":"51225393","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":"c31cb3e"}
[2026-10-20 14:44:16] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://google.emale.uno/api/docflow/prepare-generated-doc","payload":{"account_id":"32990686","entity_id":"51225393","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"c31cb3e"}
[2026-10-20 14:44:17] 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/20 14:44:17</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":"51225393","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"c31cb3e"}
[2026-10-20 14:44:17] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://gd.glucose-dev.online/api/docflow/prepare-generated-doc","payload":{"account_id":"32990686","entity_id":"51225393","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"c31cb3e"}
[2026-10-20 14:44:17] 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":"51225393","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"c31cb3e"}
[2026-10-20 14:44:17] 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 1399 20261020144416\",\"leadId\":\"51225393\",\"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-21 12:55:00\",\"\\u0414\\u0430\\u0442\\u0430 \\u0432\\u0438\\u0437\\u0438\\u0442\\u0430\":\"21.10.2026\",\"\\u0418\\u0441\\u043f\\u043e\\u043b\\u043d\\u0438\\u0442\\u0435\\u043b\\u044c\":\"Ghenadie Tiuhtii\",\"\\u0426\\u0435\\u043b\\u044c \\u0432\\u044b\\u0435\\u0437\\u0434\\u0430\":\"\\u0414\\u0438\\u0430\\u0433\\u043d\\u043e\\u0441\\u0442\\u0438\\u043a\\u0430\",\"\\u0412\\u0438\\u0434 \\u0432\\u044b\\u043f\\u043e\\u043b\\u043d\\u0435\\u043d\\u043d\\u044b\\u0445 \\u0440\\u0430\\u0431\\u043e\\u0442\":\"\\u0414\\u0438\\u0430\\u0433\\u043d\\u043e\\u0441\\u0442\\u0438\\u043a\\u0430 \\u0441\\u043f\\u043b\\u0438\\u0442-\\u0441\\u0438\\u0441\\u0442\\u0435\\u043c \\u0438 \\u0434\\u0440\\u0443\\u0433\\u0438\\u0445 \\u0442\\u0438\\u043f\\u043e\\u0432 \\u043a\\u043e\\u043d\\u0434\\u0438\\u0446\\u0438\\u043e\\u043d\\u0435\\u0440\\u043e\\u0432\",\"\\u041c\\u043e\\u0434\\u0435\\u043b\\u044c \\u043e\\u0431\\u043e\\u0440\\u0443\\u0434\\u043e\\u0432\\u0430\\u043d\\u0438\\u044f 1\":\"Artel\",\"ID\":\"51225393\",\"\\u0421\\u0434\\u0435\\u043b\\u043a\\u0430_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"\\u0434\\u0438\\u0430\\u0433\\u043d\\u043e\\u0441\\u0442\\u0438\\u043a\\u0430\",\"Lead_name\":\"\\u0434\\u0438\\u0430\\u0433\\u043d\\u043e\\u0441\\u0442\\u0438\\u043a\\u0430\",\"\\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-21 12:55:00\",\"\\u0414\\u0430\\u0442\\u0430 \\u0432\\u0438\\u0437\\u0438\\u0442\\u0430\":\"21.10.2026\",\"\\u0418\\u0441\\u043f\\u043e\\u043b\\u043d\\u0438\\u0442\\u0435\\u043b\\u044c\":\"Ghenadie Tiuhtii\",\"\\u0426\\u0435\\u043b\\u044c \\u0432\\u044b\\u0435\\u0437\\u0434\\u0430\":\"\\u0414\\u0438\\u0430\\u0433\\u043d\\u043e\\u0441\\u0442\\u0438\\u043a\\u0430\",\"\\u0412\\u0438\\u0434 \\u0432\\u044b\\u043f\\u043e\\u043b\\u043d\\u0435\\u043d\\u043d\\u044b\\u0445 \\u0440\\u0430\\u0431\\u043e\\u0442\":\"\\u0414\\u0438\\u0430\\u0433\\u043d\\u043e\\u0441\\u0442\\u0438\\u043a\\u0430 \\u0441\\u043f\\u043b\\u0438\\u0442-\\u0441\\u0438\\u0441\\u0442\\u0435\\u043c \\u0438 \\u0434\\u0440\\u0443\\u0433\\u0438\\u0445 \\u0442\\u0438\\u043f\\u043e\\u0432 \\u043a\\u043e\\u043d\\u0434\\u0438\\u0446\\u0438\\u043e\\u043d\\u0435\\u0440\\u043e\\u0432\",\"\\u041c\\u043e\\u0434\\u0435\\u043b\\u044c \\u043e\\u0431\\u043e\\u0440\\u0443\\u0434\\u043e\\u0432\\u0430\\u043d\\u0438\\u044f 1\":\"Artel\",\"ID\":\"51225393\",\"\\u0421\\u0434\\u0435\\u043b\\u043a\\u0430_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"\\u0434\\u0438\\u0430\\u0433\\u043d\\u043e\\u0441\\u0442\\u0438\\u043a\\u0430\",\"Lead_name\":\"\\u0434\\u0438\\u0430\\u0433\\u043d\\u043e\\u0441\\u0442\\u0438\\u043a\\u0430\",\"\\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\":{\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"37360178477\",\"\\u0418\\u043c\\u044f \\u043a\\u043b\\u0438\\u0435\\u043d\\u0442\\u0430 (\\u0421\\u041c\\u0421)\":\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442 37360178477\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442 37360178477\",\"Contact_name\":\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442 37360178477\",\"\\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\":{\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"37360178477\",\"\\u0418\\u043c\\u044f \\u043a\\u043b\\u0438\\u0435\\u043d\\u0442\\u0430 (\\u0421\\u041c\\u0421)\":\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442 37360178477\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442 37360178477\",\"Contact_name\":\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442 37360178477\",\"\\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\":[{\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"37360178477\",\"\\u0418\\u043c\\u044f \\u043a\\u043b\\u0438\\u0435\\u043d\\u0442\\u0430 (\\u0421\\u041c\\u0421)\":\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442 37360178477\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442 37360178477\",\"\\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\":\"20.10.2026\",\"\\u041d\\u043e\\u043c\\u0435\\u0440\":\"1399\"},\"document\":{\"Date\":\"20.10.2026\",\"Number\":\"1399\"}}}","edit":true}} {"uid":"c31cb3e"}
[2026-10-20 14:44:25] docflow.DEBUG: GAS raw response {"raw":"[object] (stdClass: {\"code\":1,\"url\":\"https://docs.google.com/open?id=1xymAGxBpe2k0SHAWmX4bmV4CLpHoCOC09EuwIZxeh-w\",\"file_id\":\"1xymAGxBpe2k0SHAWmX4bmV4CLpHoCOC09EuwIZxeh-w\",\"error\":\"\",\"vars\":\"\"})"} {"uid":"c31cb3e"}
[2026-10-20 14:44:25] docflow.WARNING: AmoDrive generated-file move is not ready. {"fileId":"1xymAGxBpe2k0SHAWmX4bmV4CLpHoCOC09EuwIZxeh-w","context":null} {"uid":"c31cb3e"}
[2026-10-20 15:36:05] docflow.INFO: Apel createDoc {"data":{"amoAccountId":"22699852","amoUserId":null,"amoEntityId":"42865982","amoEntityType":"2","templateId":"11493","corporateEntityId":"","settlementAccountId":"","is_signed":null,"gdi":null,"number":null,"currentAmoUserId":null,"lang":"ru"}} {"uid":"9fdce04"}
[2026-10-20 15:36:06] docflow.INFO: Token is valid for account 22699852. [] {"uid":"9fdce04"}
[2026-10-20 15:36:06] docflow.DEBUG: getClientAuth returned {"auth":"[object] (stdClass: {\"domain\":\"emigrare.amocrm.ru\",\"access_token\":\"eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImp0aSI6IjM2MjFhNTE2ODhlNTY2NzRkNDZlZTc2ZWU1MGY3Y2ZkZTM1NTJmNTE4ZDUwZDJmOTVlNGYxNWVlYmU3MDBiMjAwYjRlN2ZmZTM1ZDExOWIzIn0.eyJhdWQiOiIwZDY0ZGZmYi1lNTRiLTQ0OGYtOWZiZi1iYWYyMjUxYTExZGIiLCJqdGkiOiIzNjIxYTUxNjg4ZTU2Njc0ZDQ2ZWU3NmVlNTBmN2NmZGUzNTUyZjUxOGQ1MGQyZjk1ZTRmMTVlZWJlNzAwYjIwMGI0ZTdmZmUzNWQxMTliMyIsImlhdCI6MTc5MjQ3NjU0NCwibmJmIjoxNzkyNDc2NTQ0LCJleHAiOjE3OTI1NjI5NDQsInN1YiI6IjI5MzAzODAiLCJncmFudF90eXBlIjoiIiwiYWNjb3VudF9pZCI6MjI2OTk4NTIsImJhc2VfZG9tYWluIjoiYW1vY3JtLnJ1IiwidmVyc2lvbiI6Miwic2NvcGVzIjpbInB1c2hfbm90aWZpY2F0aW9ucyIsImNybSIsIm5vdGlmaWNhdGlvbnMiXSwiaGFzaF91dWlkIjoiOWE3NWEwYzQtZGMzOC00MzhmLTg2NmEtMWIxZWIwNzYyNjZlIiwiYXBpX2RvbWFpbiI6ImFwaS1iLmFtb2NybS5ydSJ9.qehz4h7sbmBOqc2WoRpnMDr7JDLCNhcyFK0dk2J1kdkNQ8gzqB35VS6EgeS4v5Q5O1O4SRNKFuSvIB-5lrCv0q7Dg5SRiRmxfG_vqqg5R4YK67own5xWhW6vEVSS1aPH1pxSeqCA7qhMFyAxz9Dsrm1tVt15o4ePIGLpWrlkjvoVCpMvsvSCZ9y1LdI_UF9ZhUW9SGQwuyhIzqQdEbmlmNnqHf8yd6roK6IOhluPISHsMmRWJBAThQQ-Z6IwXvU9t9uDb35rSe9xH0RCb_GrrWAvWtVEKh_qCbOvFlY1pfSMFm_w-smIYAdeBGxKrGW4Xd2scXU7XXH6BgpXaAB4uw\"})","file":"/home/ytvmclwh/document.amocrm.md/src/Models/Docs.php","line":121} {"uid":"9fdce04"}
[2026-10-20 15:36:09] docflow.DEBUG: AmoDrive docflow context request {"url":"https://google.emale.uno/api/docflow/google-context","query":{"account_id":"22699852","entity_id":"42865982","entity_type":"leads"}} {"uid":"9fdce04"}
[2026-10-20 15:36:09] 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=42865982&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/20 15:36:09</td>\r\n</tr>\r\n</table>\r\n<hr><center>tengine</center>\r\n</body>\r\n</html>\r\n"} {"uid":"9fdce04"}
[2026-10-20 15:36:09] docflow.DEBUG: AmoDrive docflow context request {"url":"https://gd.glucose-dev.online/api/docflow/google-context","query":{"account_id":"22699852","entity_id":"42865982","entity_type":"leads"}} {"uid":"9fdce04"}
[2026-10-20 15:36:09] 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":"42865982","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":304,"isLifetime":false},"licenseActive":false,"googleConnected":false,"googleEmail":null,"googleHasDriveScope":false,"googleHasDriveFileScope":false,"googleHasOwnershipScope":false,"readyForGeneratedFileMove":false,"readyForTransfer":false},"folder":{"id":"1_As-xLnGVTjlqwrJzRkAd5kugLQ-mJUY","name":"42865982 - Lead #42865982","webViewLink":"https://drive.google.com/drive/folders/1_As-xLnGVTjlqwrJzRkAd5kugLQ-mJUY"}}} {"uid":"9fdce04"}
[2026-10-20 15:36:09] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://google.emale.uno/api/docflow/prepare-generated-doc","payload":{"account_id":"22699852","entity_id":"42865982","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"9fdce04"}
[2026-10-20 15:36:09] 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/20 15:36:09</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":"42865982","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"9fdce04"}
[2026-10-20 15:36:09] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://gd.glucose-dev.online/api/docflow/prepare-generated-doc","payload":{"account_id":"22699852","entity_id":"42865982","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"9fdce04"}
[2026-10-20 15:36:09] 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":"42865982","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"9fdce04"}
[2026-10-20 15:36:09] 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  100 20261020153609\",\"leadId\":\"42865982\",\"entities\":{\"\\u0441\\u0434\\u0435\\u043b\\u043a\\u0430\":{\"Suma \\u20ac\":\"0\",\"Categorie Serviciu\":\"Cet.MD\",\"Serviciu solicitat\":\"1520102\",\"Ancheta completat\\u0103\":\"DA\",\"Temperatura client\":\"De revenit\",\"ID\":\"42865982\",\"\\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\":{\"Suma \\u20ac\":\"0\",\"Categorie Serviciu\":\"Cet.MD\",\"Serviciu solicitat\":\"1520102\",\"Ancheta completat\\u0103\":\"DA\",\"Temperatura client\":\"De revenit\",\"ID\":\"42865982\",\"\\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\":{\"TelegramId_WZ\":\"1134941905\",\"TelegramUsername_WZ\":\"@zh_lenchik\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"+79818090237\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Zherdeva Elena Andreevna\",\"Contact_name\":\"Zherdeva Elena Andreevna\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"Stanislav Slivinschi\",\"Responsible\":\"Stanislav Slivinschi\"},\"contact\":{\"TelegramId_WZ\":\"1134941905\",\"TelegramUsername_WZ\":\"@zh_lenchik\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"+79818090237\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Zherdeva Elena Andreevna\",\"Contact_name\":\"Zherdeva Elena Andreevna\",\"\\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\":[{\"TelegramId_WZ\":\"1134941905\",\"TelegramUsername_WZ\":\"@zh_lenchik\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"+79818090237\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Zherdeva Elena Andreevna\",\"\\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\":\"20.10.2026\",\"\\u041d\\u043e\\u043c\\u0435\\u0440\":\"100\"},\"document\":{\"Date\":\"20.10.2026\",\"Number\":\"100\"}}}","edit":true}} {"uid":"9fdce04"}
[2026-10-20 15:36:18] docflow.DEBUG: GAS raw response {"raw":"[object] (stdClass: {\"code\":1,\"url\":\"https://docs.google.com/open?id=16DlgE_MThjVqwbBVYO6YAL33dDPpgMwvDd7yl2tDkGA\",\"file_id\":\"16DlgE_MThjVqwbBVYO6YAL33dDPpgMwvDd7yl2tDkGA\",\"error\":\"\",\"vars\":\"\"})"} {"uid":"9fdce04"}
[2026-10-20 15:36:18] docflow.WARNING: AmoDrive generated-file move is not ready. {"fileId":"16DlgE_MThjVqwbBVYO6YAL33dDPpgMwvDd7yl2tDkGA","context":null} {"uid":"9fdce04"}
[2026-10-20 15:37:37] docflow.INFO: Apel createDoc {"data":{"amoAccountId":"22699852","amoUserId":null,"amoEntityId":"42865982","amoEntityType":"2","templateId":"11528","corporateEntityId":"","settlementAccountId":"","is_signed":null,"gdi":null,"number":null,"currentAmoUserId":null,"lang":"ru"}} {"uid":"5aa15b5"}
[2026-10-20 15:37:37] docflow.INFO: Token is valid for account 22699852. [] {"uid":"5aa15b5"}
[2026-10-20 15:37:37] docflow.DEBUG: getClientAuth returned {"auth":"[object] (stdClass: {\"domain\":\"emigrare.amocrm.ru\",\"access_token\":\"eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImp0aSI6IjM2MjFhNTE2ODhlNTY2NzRkNDZlZTc2ZWU1MGY3Y2ZkZTM1NTJmNTE4ZDUwZDJmOTVlNGYxNWVlYmU3MDBiMjAwYjRlN2ZmZTM1ZDExOWIzIn0.eyJhdWQiOiIwZDY0ZGZmYi1lNTRiLTQ0OGYtOWZiZi1iYWYyMjUxYTExZGIiLCJqdGkiOiIzNjIxYTUxNjg4ZTU2Njc0ZDQ2ZWU3NmVlNTBmN2NmZGUzNTUyZjUxOGQ1MGQyZjk1ZTRmMTVlZWJlNzAwYjIwMGI0ZTdmZmUzNWQxMTliMyIsImlhdCI6MTc5MjQ3NjU0NCwibmJmIjoxNzkyNDc2NTQ0LCJleHAiOjE3OTI1NjI5NDQsInN1YiI6IjI5MzAzODAiLCJncmFudF90eXBlIjoiIiwiYWNjb3VudF9pZCI6MjI2OTk4NTIsImJhc2VfZG9tYWluIjoiYW1vY3JtLnJ1IiwidmVyc2lvbiI6Miwic2NvcGVzIjpbInB1c2hfbm90aWZpY2F0aW9ucyIsImNybSIsIm5vdGlmaWNhdGlvbnMiXSwiaGFzaF91dWlkIjoiOWE3NWEwYzQtZGMzOC00MzhmLTg2NmEtMWIxZWIwNzYyNjZlIiwiYXBpX2RvbWFpbiI6ImFwaS1iLmFtb2NybS5ydSJ9.qehz4h7sbmBOqc2WoRpnMDr7JDLCNhcyFK0dk2J1kdkNQ8gzqB35VS6EgeS4v5Q5O1O4SRNKFuSvIB-5lrCv0q7Dg5SRiRmxfG_vqqg5R4YK67own5xWhW6vEVSS1aPH1pxSeqCA7qhMFyAxz9Dsrm1tVt15o4ePIGLpWrlkjvoVCpMvsvSCZ9y1LdI_UF9ZhUW9SGQwuyhIzqQdEbmlmNnqHf8yd6roK6IOhluPISHsMmRWJBAThQQ-Z6IwXvU9t9uDb35rSe9xH0RCb_GrrWAvWtVEKh_qCbOvFlY1pfSMFm_w-smIYAdeBGxKrGW4Xd2scXU7XXH6BgpXaAB4uw\"})","file":"/home/ytvmclwh/document.amocrm.md/src/Models/Docs.php","line":121} {"uid":"5aa15b5"}
[2026-10-20 15:37:39] docflow.DEBUG: AmoDrive docflow context request {"url":"https://google.emale.uno/api/docflow/google-context","query":{"account_id":"22699852","entity_id":"42865982","entity_type":"leads"}} {"uid":"5aa15b5"}
[2026-10-20 15:37: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=42865982&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/20 15:37:40</td>\r\n</tr>\r\n</table>\r\n<hr><center>tengine</center>\r\n</body>\r\n</html>\r\n"} {"uid":"5aa15b5"}
[2026-10-20 15:37:40] docflow.DEBUG: AmoDrive docflow context request {"url":"https://gd.glucose-dev.online/api/docflow/google-context","query":{"account_id":"22699852","entity_id":"42865982","entity_type":"leads"}} {"uid":"5aa15b5"}
[2026-10-20 15:37: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":"42865982","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":304,"isLifetime":false},"licenseActive":false,"googleConnected":false,"googleEmail":null,"googleHasDriveScope":false,"googleHasDriveFileScope":false,"googleHasOwnershipScope":false,"readyForGeneratedFileMove":false,"readyForTransfer":false},"folder":{"id":"1_As-xLnGVTjlqwrJzRkAd5kugLQ-mJUY","name":"42865982 - Lead #42865982","webViewLink":"https://drive.google.com/drive/folders/1_As-xLnGVTjlqwrJzRkAd5kugLQ-mJUY"}}} {"uid":"5aa15b5"}
[2026-10-20 15:37:40] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://google.emale.uno/api/docflow/prepare-generated-doc","payload":{"account_id":"22699852","entity_id":"42865982","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"5aa15b5"}
[2026-10-20 15:37: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/20 15:37: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":"42865982","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"5aa15b5"}
[2026-10-20 15:37: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":"42865982","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"5aa15b5"}
[2026-10-20 15:37: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":"42865982","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"5aa15b5"}
[2026-10-20 15:37: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) 223 20261020153739\",\"leadId\":\"42865982\",\"entities\":{\"\\u0441\\u0434\\u0435\\u043b\\u043a\\u0430\":{\"Suma \\u20ac\":\"0\",\"Categorie Serviciu\":\"Cet.MD\",\"Serviciu solicitat\":\"1520102\",\"Ancheta completat\\u0103\":\"DA\",\"Temperatura client\":\"De revenit\",\"ID\":\"42865982\",\"\\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\":{\"Suma \\u20ac\":\"0\",\"Categorie Serviciu\":\"Cet.MD\",\"Serviciu solicitat\":\"1520102\",\"Ancheta completat\\u0103\":\"DA\",\"Temperatura client\":\"De revenit\",\"ID\":\"42865982\",\"\\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\":{\"TelegramId_WZ\":\"1134941905\",\"TelegramUsername_WZ\":\"@zh_lenchik\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"+79818090237\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Zherdeva Elena Andreevna\",\"Contact_name\":\"Zherdeva Elena Andreevna\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"Stanislav Slivinschi\",\"Responsible\":\"Stanislav Slivinschi\"},\"contact\":{\"TelegramId_WZ\":\"1134941905\",\"TelegramUsername_WZ\":\"@zh_lenchik\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"+79818090237\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Zherdeva Elena Andreevna\",\"Contact_name\":\"Zherdeva Elena Andreevna\",\"\\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\":[{\"TelegramId_WZ\":\"1134941905\",\"TelegramUsername_WZ\":\"@zh_lenchik\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"+79818090237\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Zherdeva Elena Andreevna\",\"\\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\":\"20.10.2026\",\"\\u041d\\u043e\\u043c\\u0435\\u0440\":\"223\"},\"document\":{\"Date\":\"20.10.2026\",\"Number\":\"223\"}}}","edit":true}} {"uid":"5aa15b5"}
[2026-10-20 15:37:47] docflow.DEBUG: GAS raw response {"raw":"[object] (stdClass: {\"code\":1,\"url\":\"https://docs.google.com/open?id=1fywEEZVzCMmP6M7YfSTdqAXfdYKzBK-wpDV252EHmPQ\",\"file_id\":\"1fywEEZVzCMmP6M7YfSTdqAXfdYKzBK-wpDV252EHmPQ\",\"error\":\"\",\"vars\":\"\"})"} {"uid":"5aa15b5"}
[2026-10-20 15:37:47] docflow.WARNING: AmoDrive generated-file move is not ready. {"fileId":"1fywEEZVzCMmP6M7YfSTdqAXfdYKzBK-wpDV252EHmPQ","context":null} {"uid":"5aa15b5"}
[2026-10-20 15:38:47] docflow.INFO: Apel createDoc {"data":{"amoAccountId":"22699852","amoUserId":null,"amoEntityId":"42865982","amoEntityType":"2","templateId":"11504","corporateEntityId":"","settlementAccountId":"","is_signed":null,"gdi":null,"number":null,"currentAmoUserId":null,"lang":"ru"}} {"uid":"601c215"}
[2026-10-20 15:38:47] docflow.INFO: Token is valid for account 22699852. [] {"uid":"601c215"}
[2026-10-20 15:38:47] docflow.DEBUG: getClientAuth returned {"auth":"[object] (stdClass: {\"domain\":\"emigrare.amocrm.ru\",\"access_token\":\"eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImp0aSI6IjM2MjFhNTE2ODhlNTY2NzRkNDZlZTc2ZWU1MGY3Y2ZkZTM1NTJmNTE4ZDUwZDJmOTVlNGYxNWVlYmU3MDBiMjAwYjRlN2ZmZTM1ZDExOWIzIn0.eyJhdWQiOiIwZDY0ZGZmYi1lNTRiLTQ0OGYtOWZiZi1iYWYyMjUxYTExZGIiLCJqdGkiOiIzNjIxYTUxNjg4ZTU2Njc0ZDQ2ZWU3NmVlNTBmN2NmZGUzNTUyZjUxOGQ1MGQyZjk1ZTRmMTVlZWJlNzAwYjIwMGI0ZTdmZmUzNWQxMTliMyIsImlhdCI6MTc5MjQ3NjU0NCwibmJmIjoxNzkyNDc2NTQ0LCJleHAiOjE3OTI1NjI5NDQsInN1YiI6IjI5MzAzODAiLCJncmFudF90eXBlIjoiIiwiYWNjb3VudF9pZCI6MjI2OTk4NTIsImJhc2VfZG9tYWluIjoiYW1vY3JtLnJ1IiwidmVyc2lvbiI6Miwic2NvcGVzIjpbInB1c2hfbm90aWZpY2F0aW9ucyIsImNybSIsIm5vdGlmaWNhdGlvbnMiXSwiaGFzaF91dWlkIjoiOWE3NWEwYzQtZGMzOC00MzhmLTg2NmEtMWIxZWIwNzYyNjZlIiwiYXBpX2RvbWFpbiI6ImFwaS1iLmFtb2NybS5ydSJ9.qehz4h7sbmBOqc2WoRpnMDr7JDLCNhcyFK0dk2J1kdkNQ8gzqB35VS6EgeS4v5Q5O1O4SRNKFuSvIB-5lrCv0q7Dg5SRiRmxfG_vqqg5R4YK67own5xWhW6vEVSS1aPH1pxSeqCA7qhMFyAxz9Dsrm1tVt15o4ePIGLpWrlkjvoVCpMvsvSCZ9y1LdI_UF9ZhUW9SGQwuyhIzqQdEbmlmNnqHf8yd6roK6IOhluPISHsMmRWJBAThQQ-Z6IwXvU9t9uDb35rSe9xH0RCb_GrrWAvWtVEKh_qCbOvFlY1pfSMFm_w-smIYAdeBGxKrGW4Xd2scXU7XXH6BgpXaAB4uw\"})","file":"/home/ytvmclwh/document.amocrm.md/src/Models/Docs.php","line":121} {"uid":"601c215"}
[2026-10-20 15:38:49] docflow.DEBUG: AmoDrive docflow context request {"url":"https://google.emale.uno/api/docflow/google-context","query":{"account_id":"22699852","entity_id":"42865982","entity_type":"leads"}} {"uid":"601c215"}
[2026-10-20 15:38: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=42865982&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/20 15:38:49</td>\r\n</tr>\r\n</table>\r\n<hr><center>tengine</center>\r\n</body>\r\n</html>\r\n"} {"uid":"601c215"}
[2026-10-20 15:38:49] docflow.DEBUG: AmoDrive docflow context request {"url":"https://gd.glucose-dev.online/api/docflow/google-context","query":{"account_id":"22699852","entity_id":"42865982","entity_type":"leads"}} {"uid":"601c215"}
[2026-10-20 15:38: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":"42865982","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":304,"isLifetime":false},"licenseActive":false,"googleConnected":false,"googleEmail":null,"googleHasDriveScope":false,"googleHasDriveFileScope":false,"googleHasOwnershipScope":false,"readyForGeneratedFileMove":false,"readyForTransfer":false},"folder":{"id":"1_As-xLnGVTjlqwrJzRkAd5kugLQ-mJUY","name":"42865982 - Lead #42865982","webViewLink":"https://drive.google.com/drive/folders/1_As-xLnGVTjlqwrJzRkAd5kugLQ-mJUY"}}} {"uid":"601c215"}
[2026-10-20 15:38:49] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://google.emale.uno/api/docflow/prepare-generated-doc","payload":{"account_id":"22699852","entity_id":"42865982","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"601c215"}
[2026-10-20 15:38: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/20 15:38: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":"42865982","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"601c215"}
[2026-10-20 15:38: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":"42865982","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"601c215"}
[2026-10-20 15:38: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\":22699852})","payload":{"account_id":"22699852","entity_id":"42865982","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"601c215"}
[2026-10-20 15:38:50] 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) 106 20261020153849\",\"leadId\":\"42865982\",\"entities\":{\"\\u0441\\u0434\\u0435\\u043b\\u043a\\u0430\":{\"Suma \\u20ac\":\"0\",\"Categorie Serviciu\":\"Cet.MD\",\"Serviciu solicitat\":\"1520102\",\"Ancheta completat\\u0103\":\"DA\",\"Temperatura client\":\"De revenit\",\"ID\":\"42865982\",\"\\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\":{\"Suma \\u20ac\":\"0\",\"Categorie Serviciu\":\"Cet.MD\",\"Serviciu solicitat\":\"1520102\",\"Ancheta completat\\u0103\":\"DA\",\"Temperatura client\":\"De revenit\",\"ID\":\"42865982\",\"\\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\":{\"TelegramId_WZ\":\"1134941905\",\"TelegramUsername_WZ\":\"@zh_lenchik\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"+79818090237\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Zherdeva Elena Andreevna\",\"Contact_name\":\"Zherdeva Elena Andreevna\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"Stanislav Slivinschi\",\"Responsible\":\"Stanislav Slivinschi\"},\"contact\":{\"TelegramId_WZ\":\"1134941905\",\"TelegramUsername_WZ\":\"@zh_lenchik\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"+79818090237\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Zherdeva Elena Andreevna\",\"Contact_name\":\"Zherdeva Elena Andreevna\",\"\\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\":[{\"TelegramId_WZ\":\"1134941905\",\"TelegramUsername_WZ\":\"@zh_lenchik\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"+79818090237\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Zherdeva Elena Andreevna\",\"\\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\":\"20.10.2026\",\"\\u041d\\u043e\\u043c\\u0435\\u0440\":\"106\"},\"document\":{\"Date\":\"20.10.2026\",\"Number\":\"106\"}}}","edit":true}} {"uid":"601c215"}
[2026-10-20 15:38:56] docflow.DEBUG: GAS raw response {"raw":"[object] (stdClass: {\"code\":1,\"url\":\"https://docs.google.com/open?id=1tx9mTHp8UBwtMNhP0sKgpC_k-C1Ul38lz49Cj4ogV48\",\"file_id\":\"1tx9mTHp8UBwtMNhP0sKgpC_k-C1Ul38lz49Cj4ogV48\",\"error\":\"\",\"vars\":\"\"})"} {"uid":"601c215"}
[2026-10-20 15:38:56] docflow.WARNING: AmoDrive generated-file move is not ready. {"fileId":"1tx9mTHp8UBwtMNhP0sKgpC_k-C1Ul38lz49Cj4ogV48","context":null} {"uid":"601c215"}
[2026-10-20 15:40:40] docflow.INFO: Apel createDoc {"data":{"amoAccountId":"22699852","amoUserId":null,"amoEntityId":"42865982","amoEntityType":"2","templateId":"11500","corporateEntityId":"","settlementAccountId":"","is_signed":null,"gdi":null,"number":null,"currentAmoUserId":null,"lang":"ru"}} {"uid":"384af94"}
[2026-10-20 15:40:41] docflow.INFO: Token is valid for account 22699852. [] {"uid":"384af94"}
[2026-10-20 15:40:41] docflow.DEBUG: getClientAuth returned {"auth":"[object] (stdClass: {\"domain\":\"emigrare.amocrm.ru\",\"access_token\":\"eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImp0aSI6IjM2MjFhNTE2ODhlNTY2NzRkNDZlZTc2ZWU1MGY3Y2ZkZTM1NTJmNTE4ZDUwZDJmOTVlNGYxNWVlYmU3MDBiMjAwYjRlN2ZmZTM1ZDExOWIzIn0.eyJhdWQiOiIwZDY0ZGZmYi1lNTRiLTQ0OGYtOWZiZi1iYWYyMjUxYTExZGIiLCJqdGkiOiIzNjIxYTUxNjg4ZTU2Njc0ZDQ2ZWU3NmVlNTBmN2NmZGUzNTUyZjUxOGQ1MGQyZjk1ZTRmMTVlZWJlNzAwYjIwMGI0ZTdmZmUzNWQxMTliMyIsImlhdCI6MTc5MjQ3NjU0NCwibmJmIjoxNzkyNDc2NTQ0LCJleHAiOjE3OTI1NjI5NDQsInN1YiI6IjI5MzAzODAiLCJncmFudF90eXBlIjoiIiwiYWNjb3VudF9pZCI6MjI2OTk4NTIsImJhc2VfZG9tYWluIjoiYW1vY3JtLnJ1IiwidmVyc2lvbiI6Miwic2NvcGVzIjpbInB1c2hfbm90aWZpY2F0aW9ucyIsImNybSIsIm5vdGlmaWNhdGlvbnMiXSwiaGFzaF91dWlkIjoiOWE3NWEwYzQtZGMzOC00MzhmLTg2NmEtMWIxZWIwNzYyNjZlIiwiYXBpX2RvbWFpbiI6ImFwaS1iLmFtb2NybS5ydSJ9.qehz4h7sbmBOqc2WoRpnMDr7JDLCNhcyFK0dk2J1kdkNQ8gzqB35VS6EgeS4v5Q5O1O4SRNKFuSvIB-5lrCv0q7Dg5SRiRmxfG_vqqg5R4YK67own5xWhW6vEVSS1aPH1pxSeqCA7qhMFyAxz9Dsrm1tVt15o4ePIGLpWrlkjvoVCpMvsvSCZ9y1LdI_UF9ZhUW9SGQwuyhIzqQdEbmlmNnqHf8yd6roK6IOhluPISHsMmRWJBAThQQ-Z6IwXvU9t9uDb35rSe9xH0RCb_GrrWAvWtVEKh_qCbOvFlY1pfSMFm_w-smIYAdeBGxKrGW4Xd2scXU7XXH6BgpXaAB4uw\"})","file":"/home/ytvmclwh/document.amocrm.md/src/Models/Docs.php","line":121} {"uid":"384af94"}
[2026-10-20 15:40:45] docflow.DEBUG: AmoDrive docflow context request {"url":"https://google.emale.uno/api/docflow/google-context","query":{"account_id":"22699852","entity_id":"42865982","entity_type":"leads"}} {"uid":"384af94"}
[2026-10-20 15:40:45] 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=42865982&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/20 15:40:45</td>\r\n</tr>\r\n</table>\r\n<hr><center>tengine</center>\r\n</body>\r\n</html>\r\n"} {"uid":"384af94"}
[2026-10-20 15:40:45] docflow.DEBUG: AmoDrive docflow context request {"url":"https://gd.glucose-dev.online/api/docflow/google-context","query":{"account_id":"22699852","entity_id":"42865982","entity_type":"leads"}} {"uid":"384af94"}
[2026-10-20 15:40:45] 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":"42865982","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":304,"isLifetime":false},"licenseActive":false,"googleConnected":false,"googleEmail":null,"googleHasDriveScope":false,"googleHasDriveFileScope":false,"googleHasOwnershipScope":false,"readyForGeneratedFileMove":false,"readyForTransfer":false},"folder":{"id":"1_As-xLnGVTjlqwrJzRkAd5kugLQ-mJUY","name":"42865982 - Lead #42865982","webViewLink":"https://drive.google.com/drive/folders/1_As-xLnGVTjlqwrJzRkAd5kugLQ-mJUY"}}} {"uid":"384af94"}
[2026-10-20 15:40:45] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://google.emale.uno/api/docflow/prepare-generated-doc","payload":{"account_id":"22699852","entity_id":"42865982","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"384af94"}
[2026-10-20 15:40:45] 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/20 15:40:45</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":"42865982","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"384af94"}
[2026-10-20 15:40:45] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://gd.glucose-dev.online/api/docflow/prepare-generated-doc","payload":{"account_id":"22699852","entity_id":"42865982","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"384af94"}
[2026-10-20 15:40:45] 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":"42865982","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"384af94"}
[2026-10-20 15:40:45] 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 729 20261020154045\",\"leadId\":\"42865982\",\"entities\":{\"\\u0441\\u0434\\u0435\\u043b\\u043a\\u0430\":{\"Suma \\u20ac\":\"0\",\"Categorie Serviciu\":\"Cet.MD\",\"Serviciu solicitat\":\"1520102\",\"Ancheta completat\\u0103\":\"DA\",\"Temperatura client\":\"De revenit\",\"ID\":\"42865982\",\"\\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\":{\"Suma \\u20ac\":\"0\",\"Categorie Serviciu\":\"Cet.MD\",\"Serviciu solicitat\":\"1520102\",\"Ancheta completat\\u0103\":\"DA\",\"Temperatura client\":\"De revenit\",\"ID\":\"42865982\",\"\\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\":{\"TelegramId_WZ\":\"1134941905\",\"TelegramUsername_WZ\":\"@zh_lenchik\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"+79818090237\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Zherdeva Elena Andreevna\",\"Contact_name\":\"Zherdeva Elena Andreevna\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"Stanislav Slivinschi\",\"Responsible\":\"Stanislav Slivinschi\"},\"contact\":{\"TelegramId_WZ\":\"1134941905\",\"TelegramUsername_WZ\":\"@zh_lenchik\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"+79818090237\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Zherdeva Elena Andreevna\",\"Contact_name\":\"Zherdeva Elena Andreevna\",\"\\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\":[{\"TelegramId_WZ\":\"1134941905\",\"TelegramUsername_WZ\":\"@zh_lenchik\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"+79818090237\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Zherdeva Elena Andreevna\",\"\\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\":\"20.10.2026\",\"\\u041d\\u043e\\u043c\\u0435\\u0440\":\"729\"},\"document\":{\"Date\":\"20.10.2026\",\"Number\":\"729\"}}}","edit":true}} {"uid":"384af94"}
[2026-10-20 15:40:51] docflow.DEBUG: GAS raw response {"raw":"[object] (stdClass: {\"code\":1,\"url\":\"https://docs.google.com/open?id=1lCY4MyjSAezSIs49k_mC8Gmh1-1zIib6Mzweo0o_O9Q\",\"file_id\":\"1lCY4MyjSAezSIs49k_mC8Gmh1-1zIib6Mzweo0o_O9Q\",\"error\":\"\",\"vars\":\"\"})"} {"uid":"384af94"}
[2026-10-20 15:40:51] docflow.WARNING: AmoDrive generated-file move is not ready. {"fileId":"1lCY4MyjSAezSIs49k_mC8Gmh1-1zIib6Mzweo0o_O9Q","context":null} {"uid":"384af94"}
[2026-10-20 16:51:11] docflow.INFO: Apel createDoc {"data":{"amoAccountId":"32990686","amoUserId":null,"amoEntityId":"51392443","amoEntityType":"2","templateId":"11625","corporateEntityId":"","settlementAccountId":"","is_signed":null,"gdi":null,"number":null,"currentAmoUserId":null,"lang":"ru"}} {"uid":"3938b9d"}
[2026-10-20 16:51:12] docflow.INFO: Token is valid for account 32990686. [] {"uid":"3938b9d"}
[2026-10-20 16:51:12] docflow.DEBUG: getClientAuth returned {"auth":"[object] (stdClass: {\"domain\":\"eurosanteh.amocrm.ru\",\"access_token\":\"eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImp0aSI6ImQ4OGEzOTkzM2JmYjI0ODk3MGVhMzQ0MmIwYTBmNGRhMzU2ZDRlNmE3OWZmMjhhZGYyMDRlODU3ZjU1ZGJmNDJhMGZhZWY2ZDdiMmUyOTdlIn0.eyJhdWQiOiIwZDY0ZGZmYi1lNTRiLTQ0OGYtOWZiZi1iYWYyMjUxYTExZGIiLCJqdGkiOiJkODhhMzk5MzNiZmIyNDg5NzBlYTM0NDJiMGEwZjRkYTM1NmQ0ZTZhNzlmZjI4YWRmMjA0ZTg1N2Y1NWRiZjQyYTBmYWVmNmQ3YjJlMjk3ZSIsImlhdCI6MTc5MjQ5NDEwOCwibmJmIjoxNzkyNDk0MTA4LCJleHAiOjE3OTI1ODA1MDgsInN1YiI6IjEzNjg3MzAyIiwiZ3JhbnRfdHlwZSI6IiIsImFjY291bnRfaWQiOjMyOTkwNjg2LCJiYXNlX2RvbWFpbiI6ImFtb2NybS5ydSIsInZlcnNpb24iOjIsInNjb3BlcyI6WyJwdXNoX25vdGlmaWNhdGlvbnMiLCJjcm0iLCJub3RpZmljYXRpb25zIl0sImhhc2hfdXVpZCI6IjIxNzcyNTZjLTI5ZDktNGNjYy05MWI2LTc2MDkyN2YxNjllYiIsImFwaV9kb21haW4iOiJhcGktYi5hbW9jcm0ucnUifQ.migWzQZC4YW0WHAi2mRPA7jJRw0yWl4PAkPfRKcdHTb8PCshhECKnSg7NduDe7xfUDFHi0oufxkh7xqDz1Ad0ETiOouuC2I35ZWsHNwvvOfGH2s-JAffZ-nr_8SZhNbcP7BdXqf3QQLfoT5E_ACq6b-v-TfrQvwQKhedhAJXHA2w9U6UJ1ZsnVMo_gybDlYUswlRwmYm_Y2P1aYEX_4m5MiuOGWV7FrV4JbOR0bHilKY2SllQ2J2Dr4ms8e-vbQiTZVTBedl4dHqbzkk9SZhVEVLDi7lHd4MSkF8vOotZUQlqWo9ymt-3H9dYUvIOUhRL9SaGrD0XH1cmmJNbSRq3A\"})","file":"/home/ytvmclwh/document.amocrm.md/src/Models/Docs.php","line":121} {"uid":"3938b9d"}
[2026-10-20 16:51:14] docflow.DEBUG: AmoDrive docflow context request {"url":"https://google.emale.uno/api/docflow/google-context","query":{"account_id":"32990686","entity_id":"51392443","entity_type":"leads"}} {"uid":"3938b9d"}
[2026-10-20 16:51:14] 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=51392443&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/20 16:51:14</td>\r\n</tr>\r\n</table>\r\n<hr><center>tengine</center>\r\n</body>\r\n</html>\r\n"} {"uid":"3938b9d"}
[2026-10-20 16:51:14] docflow.DEBUG: AmoDrive docflow context request {"url":"https://gd.glucose-dev.online/api/docflow/google-context","query":{"account_id":"32990686","entity_id":"51392443","entity_type":"leads"}} {"uid":"3938b9d"}
[2026-10-20 16:51:14] 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":"51392443","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":"3938b9d"}
[2026-10-20 16:51:14] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://google.emale.uno/api/docflow/prepare-generated-doc","payload":{"account_id":"32990686","entity_id":"51392443","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"3938b9d"}
[2026-10-20 16:51:14] 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/20 16:51:14</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":"51392443","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"3938b9d"}
[2026-10-20 16:51:14] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://gd.glucose-dev.online/api/docflow/prepare-generated-doc","payload":{"account_id":"32990686","entity_id":"51392443","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"3938b9d"}
[2026-10-20 16:51:14] 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":"51392443","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"3938b9d"}
[2026-10-20 16:51:14] 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 1400 20261020165114\",\"leadId\":\"51392443\",\"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-21 16:29:00\",\"\\u0414\\u0430\\u0442\\u0430 \\u0432\\u0438\\u0437\\u0438\\u0442\\u0430\":\"21.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\":\"21.10.2027\",\"\\u041c\\u043e\\u0434\\u0435\\u043b\\u044c \\u043e\\u0431\\u043e\\u0440\\u0443\\u0434\\u043e\\u0432\\u0430\\u043d\\u0438\\u044f 1\":\"Gree Amber Prestij\",\"ID\":\"51392443\",\"\\u0421\\u0434\\u0435\\u043b\\u043a\\u0430_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"\\u041f\\u0422\\u041e \\u0431\\u0435\\u0437 \\u0433\\u0430\\u0440\\u0430\\u043d\\u0442\\u0438\\u0438\",\"Lead_name\":\"\\u041f\\u0422\\u041e \\u0431\\u0435\\u0437 \\u0433\\u0430\\u0440\\u0430\\u043d\\u0442\\u0438\\u0438\",\"\\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-21 16:29:00\",\"\\u0414\\u0430\\u0442\\u0430 \\u0432\\u0438\\u0437\\u0438\\u0442\\u0430\":\"21.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\":\"21.10.2027\",\"\\u041c\\u043e\\u0434\\u0435\\u043b\\u044c \\u043e\\u0431\\u043e\\u0440\\u0443\\u0434\\u043e\\u0432\\u0430\\u043d\\u0438\\u044f 1\":\"Gree Amber Prestij\",\"ID\":\"51392443\",\"\\u0421\\u0434\\u0435\\u043b\\u043a\\u0430_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"\\u041f\\u0422\\u041e \\u0431\\u0435\\u0437 \\u0433\\u0430\\u0440\\u0430\\u043d\\u0442\\u0438\\u0438\",\"Lead_name\":\"\\u041f\\u0422\\u041e \\u0431\\u0435\\u0437 \\u0433\\u0430\\u0440\\u0430\\u043d\\u0442\\u0438\\u0438\",\"\\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\":{\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"373068210151\",\"\\u0418\\u043c\\u044f \\u043a\\u043b\\u0438\\u0435\\u043d\\u0442\\u0430 (\\u0421\\u041c\\u0421)\":\"Ian\",\"\\u0410\\u0434\\u0440\\u0435\\u0441\":\"str Mihai Kogalniceanu 27 ap 2\",\"\\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\",\"\\u0414\\u0430\\u0442\\u0430 \\u043c\\u043e\\u043d\\u0442\\u0430\\u0436\\u0430 (\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442)\":\"10.10.2023\",\"\\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 Amber Prestij 18 000\",\"\\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\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Ian\",\"Contact_name\":\"Ian\",\"\\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\":{\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"373068210151\",\"\\u0418\\u043c\\u044f \\u043a\\u043b\\u0438\\u0435\\u043d\\u0442\\u0430 (\\u0421\\u041c\\u0421)\":\"Ian\",\"\\u0410\\u0434\\u0440\\u0435\\u0441\":\"str Mihai Kogalniceanu 27 ap 2\",\"\\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\",\"\\u0414\\u0430\\u0442\\u0430 \\u043c\\u043e\\u043d\\u0442\\u0430\\u0436\\u0430 (\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442)\":\"10.10.2023\",\"\\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 Amber Prestij 18 000\",\"\\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\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Ian\",\"Contact_name\":\"Ian\",\"\\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\":[{\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"373068210151\",\"\\u0418\\u043c\\u044f \\u043a\\u043b\\u0438\\u0435\\u043d\\u0442\\u0430 (\\u0421\\u041c\\u0421)\":\"Ian\",\"\\u0410\\u0434\\u0440\\u0435\\u0441\":\"str Mihai Kogalniceanu 27 ap 2\",\"\\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\",\"\\u0414\\u0430\\u0442\\u0430 \\u043c\\u043e\\u043d\\u0442\\u0430\\u0436\\u0430 (\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442)\":\"10.10.2023\",\"\\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 Amber Prestij 18 000\",\"\\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\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Ian\",\"\\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\":\"20.10.2026\",\"\\u041d\\u043e\\u043c\\u0435\\u0440\":\"1400\"},\"document\":{\"Date\":\"20.10.2026\",\"Number\":\"1400\"}}}","edit":true}} {"uid":"3938b9d"}
[2026-10-20 16:51:24] docflow.DEBUG: GAS raw response {"raw":"[object] (stdClass: {\"code\":1,\"url\":\"https://docs.google.com/open?id=1CNGqXS6SEfGfDjpwmLJP9-Vm-LtHjZJa5Ae_ag3qq38\",\"file_id\":\"1CNGqXS6SEfGfDjpwmLJP9-Vm-LtHjZJa5Ae_ag3qq38\",\"error\":\"\",\"vars\":\"\"})"} {"uid":"3938b9d"}
[2026-10-20 16:51:24] docflow.WARNING: AmoDrive generated-file move is not ready. {"fileId":"1CNGqXS6SEfGfDjpwmLJP9-Vm-LtHjZJa5Ae_ag3qq38","context":null} {"uid":"3938b9d"}
[2026-10-20 16:51:58] docflow.INFO: Apel createDoc {"data":{"amoAccountId":"32990686","amoUserId":null,"amoEntityId":"51392443","amoEntityType":"2","templateId":"11646","corporateEntityId":"","settlementAccountId":"","is_signed":null,"gdi":null,"number":null,"currentAmoUserId":null,"lang":"ru"}} {"uid":"4f08e41"}
[2026-10-20 16:51:59] docflow.INFO: Token is valid for account 32990686. [] {"uid":"4f08e41"}
[2026-10-20 16:51:59] docflow.DEBUG: getClientAuth returned {"auth":"[object] (stdClass: {\"domain\":\"eurosanteh.amocrm.ru\",\"access_token\":\"eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImp0aSI6ImQ4OGEzOTkzM2JmYjI0ODk3MGVhMzQ0MmIwYTBmNGRhMzU2ZDRlNmE3OWZmMjhhZGYyMDRlODU3ZjU1ZGJmNDJhMGZhZWY2ZDdiMmUyOTdlIn0.eyJhdWQiOiIwZDY0ZGZmYi1lNTRiLTQ0OGYtOWZiZi1iYWYyMjUxYTExZGIiLCJqdGkiOiJkODhhMzk5MzNiZmIyNDg5NzBlYTM0NDJiMGEwZjRkYTM1NmQ0ZTZhNzlmZjI4YWRmMjA0ZTg1N2Y1NWRiZjQyYTBmYWVmNmQ3YjJlMjk3ZSIsImlhdCI6MTc5MjQ5NDEwOCwibmJmIjoxNzkyNDk0MTA4LCJleHAiOjE3OTI1ODA1MDgsInN1YiI6IjEzNjg3MzAyIiwiZ3JhbnRfdHlwZSI6IiIsImFjY291bnRfaWQiOjMyOTkwNjg2LCJiYXNlX2RvbWFpbiI6ImFtb2NybS5ydSIsInZlcnNpb24iOjIsInNjb3BlcyI6WyJwdXNoX25vdGlmaWNhdGlvbnMiLCJjcm0iLCJub3RpZmljYXRpb25zIl0sImhhc2hfdXVpZCI6IjIxNzcyNTZjLTI5ZDktNGNjYy05MWI2LTc2MDkyN2YxNjllYiIsImFwaV9kb21haW4iOiJhcGktYi5hbW9jcm0ucnUifQ.migWzQZC4YW0WHAi2mRPA7jJRw0yWl4PAkPfRKcdHTb8PCshhECKnSg7NduDe7xfUDFHi0oufxkh7xqDz1Ad0ETiOouuC2I35ZWsHNwvvOfGH2s-JAffZ-nr_8SZhNbcP7BdXqf3QQLfoT5E_ACq6b-v-TfrQvwQKhedhAJXHA2w9U6UJ1ZsnVMo_gybDlYUswlRwmYm_Y2P1aYEX_4m5MiuOGWV7FrV4JbOR0bHilKY2SllQ2J2Dr4ms8e-vbQiTZVTBedl4dHqbzkk9SZhVEVLDi7lHd4MSkF8vOotZUQlqWo9ymt-3H9dYUvIOUhRL9SaGrD0XH1cmmJNbSRq3A\"})","file":"/home/ytvmclwh/document.amocrm.md/src/Models/Docs.php","line":121} {"uid":"4f08e41"}
[2026-10-20 16:52:01] docflow.DEBUG: AmoDrive docflow context request {"url":"https://google.emale.uno/api/docflow/google-context","query":{"account_id":"32990686","entity_id":"51392443","entity_type":"leads"}} {"uid":"4f08e41"}
[2026-10-20 16:52:01] 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=51392443&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/20 16:52:01</td>\r\n</tr>\r\n</table>\r\n<hr><center>tengine</center>\r\n</body>\r\n</html>\r\n"} {"uid":"4f08e41"}
[2026-10-20 16:52:01] docflow.DEBUG: AmoDrive docflow context request {"url":"https://gd.glucose-dev.online/api/docflow/google-context","query":{"account_id":"32990686","entity_id":"51392443","entity_type":"leads"}} {"uid":"4f08e41"}
[2026-10-20 16:52:01] 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":"51392443","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":"4f08e41"}
[2026-10-20 16:52:01] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://google.emale.uno/api/docflow/prepare-generated-doc","payload":{"account_id":"32990686","entity_id":"51392443","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"4f08e41"}
[2026-10-20 16:52:01] 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/20 16:52:01</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":"51392443","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"4f08e41"}
[2026-10-20 16:52:01] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://gd.glucose-dev.online/api/docflow/prepare-generated-doc","payload":{"account_id":"32990686","entity_id":"51392443","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"4f08e41"}
[2026-10-20 16:52:01] 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":"51392443","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"4f08e41"}
[2026-10-20 16:52:01] 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 1400 20261020165201\",\"leadId\":\"51392443\",\"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-21 16:29:00\",\"\\u0414\\u0430\\u0442\\u0430 \\u0432\\u0438\\u0437\\u0438\\u0442\\u0430\":\"21.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\":\"21.10.2027\",\"\\u041c\\u043e\\u0434\\u0435\\u043b\\u044c \\u043e\\u0431\\u043e\\u0440\\u0443\\u0434\\u043e\\u0432\\u0430\\u043d\\u0438\\u044f 1\":\"Gree Amber Prestij\",\"ID\":\"51392443\",\"\\u0421\\u0434\\u0435\\u043b\\u043a\\u0430_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"\\u041f\\u0422\\u041e \\u0431\\u0435\\u0437 \\u0433\\u0430\\u0440\\u0430\\u043d\\u0442\\u0438\\u0438\",\"Lead_name\":\"\\u041f\\u0422\\u041e \\u0431\\u0435\\u0437 \\u0433\\u0430\\u0440\\u0430\\u043d\\u0442\\u0438\\u0438\",\"\\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-21 16:29:00\",\"\\u0414\\u0430\\u0442\\u0430 \\u0432\\u0438\\u0437\\u0438\\u0442\\u0430\":\"21.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\":\"21.10.2027\",\"\\u041c\\u043e\\u0434\\u0435\\u043b\\u044c \\u043e\\u0431\\u043e\\u0440\\u0443\\u0434\\u043e\\u0432\\u0430\\u043d\\u0438\\u044f 1\":\"Gree Amber Prestij\",\"ID\":\"51392443\",\"\\u0421\\u0434\\u0435\\u043b\\u043a\\u0430_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"\\u041f\\u0422\\u041e \\u0431\\u0435\\u0437 \\u0433\\u0430\\u0440\\u0430\\u043d\\u0442\\u0438\\u0438\",\"Lead_name\":\"\\u041f\\u0422\\u041e \\u0431\\u0435\\u0437 \\u0433\\u0430\\u0440\\u0430\\u043d\\u0442\\u0438\\u0438\",\"\\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\":{\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"373068210151\",\"\\u0418\\u043c\\u044f \\u043a\\u043b\\u0438\\u0435\\u043d\\u0442\\u0430 (\\u0421\\u041c\\u0421)\":\"Ian\",\"\\u0410\\u0434\\u0440\\u0435\\u0441\":\"str Mihai Kogalniceanu 27 ap 2\",\"\\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\",\"\\u0414\\u0430\\u0442\\u0430 \\u043c\\u043e\\u043d\\u0442\\u0430\\u0436\\u0430 (\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442)\":\"10.10.2023\",\"\\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 Amber Prestij 18 000\",\"\\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\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Ian\",\"Contact_name\":\"Ian\",\"\\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\":{\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"373068210151\",\"\\u0418\\u043c\\u044f \\u043a\\u043b\\u0438\\u0435\\u043d\\u0442\\u0430 (\\u0421\\u041c\\u0421)\":\"Ian\",\"\\u0410\\u0434\\u0440\\u0435\\u0441\":\"str Mihai Kogalniceanu 27 ap 2\",\"\\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\",\"\\u0414\\u0430\\u0442\\u0430 \\u043c\\u043e\\u043d\\u0442\\u0430\\u0436\\u0430 (\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442)\":\"10.10.2023\",\"\\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 Amber Prestij 18 000\",\"\\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\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Ian\",\"Contact_name\":\"Ian\",\"\\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\":[{\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"373068210151\",\"\\u0418\\u043c\\u044f \\u043a\\u043b\\u0438\\u0435\\u043d\\u0442\\u0430 (\\u0421\\u041c\\u0421)\":\"Ian\",\"\\u0410\\u0434\\u0440\\u0435\\u0441\":\"str Mihai Kogalniceanu 27 ap 2\",\"\\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\",\"\\u0414\\u0430\\u0442\\u0430 \\u043c\\u043e\\u043d\\u0442\\u0430\\u0436\\u0430 (\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442)\":\"10.10.2023\",\"\\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 Amber Prestij 18 000\",\"\\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\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Ian\",\"\\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\":\"20.10.2026\",\"\\u041d\\u043e\\u043c\\u0435\\u0440\":\"1400\"},\"document\":{\"Date\":\"20.10.2026\",\"Number\":\"1400\"}}}","edit":true}} {"uid":"4f08e41"}
[2026-10-20 16:52:08] docflow.DEBUG: GAS raw response {"raw":"[object] (stdClass: {\"code\":1,\"url\":\"https://docs.google.com/open?id=1j6JFsE24A-ad9U5bqpn5wpA-9bbWlA4U6bH1m0Vu8Y0\",\"file_id\":\"1j6JFsE24A-ad9U5bqpn5wpA-9bbWlA4U6bH1m0Vu8Y0\",\"error\":\"\",\"vars\":\"\"})"} {"uid":"4f08e41"}
[2026-10-20 16:52:08] docflow.WARNING: AmoDrive generated-file move is not ready. {"fileId":"1j6JFsE24A-ad9U5bqpn5wpA-9bbWlA4U6bH1m0Vu8Y0","context":null} {"uid":"4f08e41"}
[2026-10-20 17:57:31] docflow.INFO: Apel createDoc {"data":{"amoAccountId":"32990686","amoUserId":null,"amoEntityId":"45569961","amoEntityType":"2","templateId":"11625","corporateEntityId":"","settlementAccountId":"","is_signed":null,"gdi":null,"number":null,"currentAmoUserId":null,"lang":"ru"}} {"uid":"983e87c"}
[2026-10-20 17:57:32] docflow.INFO: Token is valid for account 32990686. [] {"uid":"983e87c"}
[2026-10-20 17:57:32] docflow.DEBUG: getClientAuth returned {"auth":"[object] (stdClass: {\"domain\":\"eurosanteh.amocrm.ru\",\"access_token\":\"eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImp0aSI6ImQ4OGEzOTkzM2JmYjI0ODk3MGVhMzQ0MmIwYTBmNGRhMzU2ZDRlNmE3OWZmMjhhZGYyMDRlODU3ZjU1ZGJmNDJhMGZhZWY2ZDdiMmUyOTdlIn0.eyJhdWQiOiIwZDY0ZGZmYi1lNTRiLTQ0OGYtOWZiZi1iYWYyMjUxYTExZGIiLCJqdGkiOiJkODhhMzk5MzNiZmIyNDg5NzBlYTM0NDJiMGEwZjRkYTM1NmQ0ZTZhNzlmZjI4YWRmMjA0ZTg1N2Y1NWRiZjQyYTBmYWVmNmQ3YjJlMjk3ZSIsImlhdCI6MTc5MjQ5NDEwOCwibmJmIjoxNzkyNDk0MTA4LCJleHAiOjE3OTI1ODA1MDgsInN1YiI6IjEzNjg3MzAyIiwiZ3JhbnRfdHlwZSI6IiIsImFjY291bnRfaWQiOjMyOTkwNjg2LCJiYXNlX2RvbWFpbiI6ImFtb2NybS5ydSIsInZlcnNpb24iOjIsInNjb3BlcyI6WyJwdXNoX25vdGlmaWNhdGlvbnMiLCJjcm0iLCJub3RpZmljYXRpb25zIl0sImhhc2hfdXVpZCI6IjIxNzcyNTZjLTI5ZDktNGNjYy05MWI2LTc2MDkyN2YxNjllYiIsImFwaV9kb21haW4iOiJhcGktYi5hbW9jcm0ucnUifQ.migWzQZC4YW0WHAi2mRPA7jJRw0yWl4PAkPfRKcdHTb8PCshhECKnSg7NduDe7xfUDFHi0oufxkh7xqDz1Ad0ETiOouuC2I35ZWsHNwvvOfGH2s-JAffZ-nr_8SZhNbcP7BdXqf3QQLfoT5E_ACq6b-v-TfrQvwQKhedhAJXHA2w9U6UJ1ZsnVMo_gybDlYUswlRwmYm_Y2P1aYEX_4m5MiuOGWV7FrV4JbOR0bHilKY2SllQ2J2Dr4ms8e-vbQiTZVTBedl4dHqbzkk9SZhVEVLDi7lHd4MSkF8vOotZUQlqWo9ymt-3H9dYUvIOUhRL9SaGrD0XH1cmmJNbSRq3A\"})","file":"/home/ytvmclwh/document.amocrm.md/src/Models/Docs.php","line":121} {"uid":"983e87c"}
[2026-10-20 17:57:34] docflow.DEBUG: AmoDrive docflow context request {"url":"https://google.emale.uno/api/docflow/google-context","query":{"account_id":"32990686","entity_id":"45569961","entity_type":"leads"}} {"uid":"983e87c"}
[2026-10-20 17:57:34] 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=45569961&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/20 17:57:34</td>\r\n</tr>\r\n</table>\r\n<hr><center>tengine</center>\r\n</body>\r\n</html>\r\n"} {"uid":"983e87c"}
[2026-10-20 17:57:34] docflow.DEBUG: AmoDrive docflow context request {"url":"https://gd.glucose-dev.online/api/docflow/google-context","query":{"account_id":"32990686","entity_id":"45569961","entity_type":"leads"}} {"uid":"983e87c"}
[2026-10-20 17:57:34] 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":"45569961","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":"983e87c"}
[2026-10-20 17:57:34] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://google.emale.uno/api/docflow/prepare-generated-doc","payload":{"account_id":"32990686","entity_id":"45569961","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"983e87c"}
[2026-10-20 17:57: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/20 17:57:34</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":"45569961","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"983e87c"}
[2026-10-20 17:57:34] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://gd.glucose-dev.online/api/docflow/prepare-generated-doc","payload":{"account_id":"32990686","entity_id":"45569961","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"983e87c"}
[2026-10-20 17:57: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\":32990686})","payload":{"account_id":"32990686","entity_id":"45569961","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"983e87c"}
[2026-10-20 17:57:34] 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 1401 20261020175734\",\"leadId\":\"45569961\",\"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-21 17:56:00\",\"\\u0414\\u0430\\u0442\\u0430 \\u0432\\u0438\\u0437\\u0438\\u0442\\u0430\":\"21.10.2026\",\"\\u0426\\u0435\\u043b\\u044c \\u0432\\u044b\\u0435\\u0437\\u0434\\u0430\":\"\\u0414\\u0438\\u0430\\u0433\\u043d\\u043e\\u0441\\u0442\\u0438\\u043a\\u0430\",\"\\u0418\\u0441\\u043f\\u043e\\u043b\\u043d\\u0438\\u0442\\u0435\\u043b\\u044c\":\"Ghenadie Tiuhtii\",\"\\u0412\\u0438\\u0434 \\u0432\\u044b\\u043f\\u043e\\u043b\\u043d\\u0435\\u043d\\u043d\\u044b\\u0445 \\u0440\\u0430\\u0431\\u043e\\u0442\":\"\\u0414\\u0438\\u0430\\u0433\\u043d\\u043e\\u0441\\u0442\\u0438\\u043a\\u0430 \\u0441\\u043f\\u043b\\u0438\\u0442-\\u0441\\u0438\\u0441\\u0442\\u0435\\u043c \\u0438 \\u0434\\u0440\\u0443\\u0433\\u0438\\u0445 \\u0442\\u0438\\u043f\\u043e\\u0432 \\u043a\\u043e\\u043d\\u0434\\u0438\\u0446\\u0438\\u043e\\u043d\\u0435\\u0440\\u043e\\u0432\",\"\\u041c\\u043e\\u0434\\u0435\\u043b\\u044c \\u043e\\u0431\\u043e\\u0440\\u0443\\u0434\\u043e\\u0432\\u0430\\u043d\\u0438\\u044f 1\":\"electrolux\",\"ID\":\"45569961\",\"\\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-21 17:56:00\",\"\\u0414\\u0430\\u0442\\u0430 \\u0432\\u0438\\u0437\\u0438\\u0442\\u0430\":\"21.10.2026\",\"\\u0426\\u0435\\u043b\\u044c \\u0432\\u044b\\u0435\\u0437\\u0434\\u0430\":\"\\u0414\\u0438\\u0430\\u0433\\u043d\\u043e\\u0441\\u0442\\u0438\\u043a\\u0430\",\"\\u0418\\u0441\\u043f\\u043e\\u043b\\u043d\\u0438\\u0442\\u0435\\u043b\\u044c\":\"Ghenadie Tiuhtii\",\"\\u0412\\u0438\\u0434 \\u0432\\u044b\\u043f\\u043e\\u043b\\u043d\\u0435\\u043d\\u043d\\u044b\\u0445 \\u0440\\u0430\\u0431\\u043e\\u0442\":\"\\u0414\\u0438\\u0430\\u0433\\u043d\\u043e\\u0441\\u0442\\u0438\\u043a\\u0430 \\u0441\\u043f\\u043b\\u0438\\u0442-\\u0441\\u0438\\u0441\\u0442\\u0435\\u043c \\u0438 \\u0434\\u0440\\u0443\\u0433\\u0438\\u0445 \\u0442\\u0438\\u043f\\u043e\\u0432 \\u043a\\u043e\\u043d\\u0434\\u0438\\u0446\\u0438\\u043e\\u043d\\u0435\\u0440\\u043e\\u0432\",\"\\u041c\\u043e\\u0434\\u0435\\u043b\\u044c \\u043e\\u0431\\u043e\\u0440\\u0443\\u0434\\u043e\\u0432\\u0430\\u043d\\u0438\\u044f 1\":\"electrolux\",\"ID\":\"45569961\",\"\\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\":\"990604011077\",\"\\u0410\\u0434\\u0440\\u0435\\u0441\":\"Rosca 9\",\"\\u0418\\u043c\\u044f \\u043a\\u043b\\u0438\\u0435\\u043d\\u0442\\u0430 (\\u0421\\u041c\\u0421)\":\"Pasat Vatalie\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"37369269591\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Pasat Vatalie\",\"Contact_name\":\"Pasat Vatalie\",\"\\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\":\"990604011077\",\"\\u0410\\u0434\\u0440\\u0435\\u0441\":\"Rosca 9\",\"\\u0418\\u043c\\u044f \\u043a\\u043b\\u0438\\u0435\\u043d\\u0442\\u0430 (\\u0421\\u041c\\u0421)\":\"Pasat Vatalie\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"37369269591\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Pasat Vatalie\",\"Contact_name\":\"Pasat Vatalie\",\"\\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\":\"990604011077\",\"\\u0410\\u0434\\u0440\\u0435\\u0441\":\"Rosca 9\",\"\\u0418\\u043c\\u044f \\u043a\\u043b\\u0438\\u0435\\u043d\\u0442\\u0430 (\\u0421\\u041c\\u0421)\":\"Pasat Vatalie\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"37369269591\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Pasat Vatalie\",\"\\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\":\"20.10.2026\",\"\\u041d\\u043e\\u043c\\u0435\\u0440\":\"1401\"},\"document\":{\"Date\":\"20.10.2026\",\"Number\":\"1401\"}}}","edit":true}} {"uid":"983e87c"}
[2026-10-20 17:57:39] docflow.DEBUG: GAS raw response {"raw":"[object] (stdClass: {\"code\":1,\"url\":\"https://docs.google.com/open?id=1yH7o2Ysh6WKOC5JWF-M3QfWUJ53BbKCe_KZl2r2Gzrw\",\"file_id\":\"1yH7o2Ysh6WKOC5JWF-M3QfWUJ53BbKCe_KZl2r2Gzrw\",\"error\":\"\",\"vars\":\"\"})"} {"uid":"983e87c"}
[2026-10-20 17:57:39] docflow.WARNING: AmoDrive generated-file move is not ready. {"fileId":"1yH7o2Ysh6WKOC5JWF-M3QfWUJ53BbKCe_KZl2r2Gzrw","context":null} {"uid":"983e87c"}
[2026-10-20 17:57:56] docflow.INFO: Apel createDoc {"data":{"amoAccountId":"32990686","amoUserId":null,"amoEntityId":"45569961","amoEntityType":"2","templateId":"11646","corporateEntityId":"","settlementAccountId":"","is_signed":null,"gdi":null,"number":null,"currentAmoUserId":null,"lang":"ru"}} {"uid":"400ff0e"}
[2026-10-20 17:57:56] docflow.INFO: Token is valid for account 32990686. [] {"uid":"400ff0e"}
[2026-10-20 17:57:56] docflow.DEBUG: getClientAuth returned {"auth":"[object] (stdClass: {\"domain\":\"eurosanteh.amocrm.ru\",\"access_token\":\"eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImp0aSI6ImQ4OGEzOTkzM2JmYjI0ODk3MGVhMzQ0MmIwYTBmNGRhMzU2ZDRlNmE3OWZmMjhhZGYyMDRlODU3ZjU1ZGJmNDJhMGZhZWY2ZDdiMmUyOTdlIn0.eyJhdWQiOiIwZDY0ZGZmYi1lNTRiLTQ0OGYtOWZiZi1iYWYyMjUxYTExZGIiLCJqdGkiOiJkODhhMzk5MzNiZmIyNDg5NzBlYTM0NDJiMGEwZjRkYTM1NmQ0ZTZhNzlmZjI4YWRmMjA0ZTg1N2Y1NWRiZjQyYTBmYWVmNmQ3YjJlMjk3ZSIsImlhdCI6MTc5MjQ5NDEwOCwibmJmIjoxNzkyNDk0MTA4LCJleHAiOjE3OTI1ODA1MDgsInN1YiI6IjEzNjg3MzAyIiwiZ3JhbnRfdHlwZSI6IiIsImFjY291bnRfaWQiOjMyOTkwNjg2LCJiYXNlX2RvbWFpbiI6ImFtb2NybS5ydSIsInZlcnNpb24iOjIsInNjb3BlcyI6WyJwdXNoX25vdGlmaWNhdGlvbnMiLCJjcm0iLCJub3RpZmljYXRpb25zIl0sImhhc2hfdXVpZCI6IjIxNzcyNTZjLTI5ZDktNGNjYy05MWI2LTc2MDkyN2YxNjllYiIsImFwaV9kb21haW4iOiJhcGktYi5hbW9jcm0ucnUifQ.migWzQZC4YW0WHAi2mRPA7jJRw0yWl4PAkPfRKcdHTb8PCshhECKnSg7NduDe7xfUDFHi0oufxkh7xqDz1Ad0ETiOouuC2I35ZWsHNwvvOfGH2s-JAffZ-nr_8SZhNbcP7BdXqf3QQLfoT5E_ACq6b-v-TfrQvwQKhedhAJXHA2w9U6UJ1ZsnVMo_gybDlYUswlRwmYm_Y2P1aYEX_4m5MiuOGWV7FrV4JbOR0bHilKY2SllQ2J2Dr4ms8e-vbQiTZVTBedl4dHqbzkk9SZhVEVLDi7lHd4MSkF8vOotZUQlqWo9ymt-3H9dYUvIOUhRL9SaGrD0XH1cmmJNbSRq3A\"})","file":"/home/ytvmclwh/document.amocrm.md/src/Models/Docs.php","line":121} {"uid":"400ff0e"}
[2026-10-20 17:57:58] docflow.DEBUG: AmoDrive docflow context request {"url":"https://google.emale.uno/api/docflow/google-context","query":{"account_id":"32990686","entity_id":"45569961","entity_type":"leads"}} {"uid":"400ff0e"}
[2026-10-20 17:57:58] 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=45569961&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/20 17:57:58</td>\r\n</tr>\r\n</table>\r\n<hr><center>tengine</center>\r\n</body>\r\n</html>\r\n"} {"uid":"400ff0e"}
[2026-10-20 17:57:58] docflow.DEBUG: AmoDrive docflow context request {"url":"https://gd.glucose-dev.online/api/docflow/google-context","query":{"account_id":"32990686","entity_id":"45569961","entity_type":"leads"}} {"uid":"400ff0e"}
[2026-10-20 17:57:58] 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":"45569961","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":"400ff0e"}
[2026-10-20 17:57:58] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://google.emale.uno/api/docflow/prepare-generated-doc","payload":{"account_id":"32990686","entity_id":"45569961","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"400ff0e"}
[2026-10-20 17:57:58] 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/20 17:57:58</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":"45569961","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"400ff0e"}
[2026-10-20 17:57:58] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://gd.glucose-dev.online/api/docflow/prepare-generated-doc","payload":{"account_id":"32990686","entity_id":"45569961","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"400ff0e"}
[2026-10-20 17:57:58] 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":"45569961","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"400ff0e"}
[2026-10-20 17:57:58] 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 1401 20261020175758\",\"leadId\":\"45569961\",\"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-21 17:56:00\",\"\\u0414\\u0430\\u0442\\u0430 \\u0432\\u0438\\u0437\\u0438\\u0442\\u0430\":\"21.10.2026\",\"\\u0426\\u0435\\u043b\\u044c \\u0432\\u044b\\u0435\\u0437\\u0434\\u0430\":\"\\u0414\\u0438\\u0430\\u0433\\u043d\\u043e\\u0441\\u0442\\u0438\\u043a\\u0430\",\"\\u0418\\u0441\\u043f\\u043e\\u043b\\u043d\\u0438\\u0442\\u0435\\u043b\\u044c\":\"Ghenadie Tiuhtii\",\"\\u0412\\u0438\\u0434 \\u0432\\u044b\\u043f\\u043e\\u043b\\u043d\\u0435\\u043d\\u043d\\u044b\\u0445 \\u0440\\u0430\\u0431\\u043e\\u0442\":\"\\u0414\\u0438\\u0430\\u0433\\u043d\\u043e\\u0441\\u0442\\u0438\\u043a\\u0430 \\u0441\\u043f\\u043b\\u0438\\u0442-\\u0441\\u0438\\u0441\\u0442\\u0435\\u043c \\u0438 \\u0434\\u0440\\u0443\\u0433\\u0438\\u0445 \\u0442\\u0438\\u043f\\u043e\\u0432 \\u043a\\u043e\\u043d\\u0434\\u0438\\u0446\\u0438\\u043e\\u043d\\u0435\\u0440\\u043e\\u0432\",\"\\u041c\\u043e\\u0434\\u0435\\u043b\\u044c \\u043e\\u0431\\u043e\\u0440\\u0443\\u0434\\u043e\\u0432\\u0430\\u043d\\u0438\\u044f 1\":\"electrolux\",\"ID\":\"45569961\",\"\\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-21 17:56:00\",\"\\u0414\\u0430\\u0442\\u0430 \\u0432\\u0438\\u0437\\u0438\\u0442\\u0430\":\"21.10.2026\",\"\\u0426\\u0435\\u043b\\u044c \\u0432\\u044b\\u0435\\u0437\\u0434\\u0430\":\"\\u0414\\u0438\\u0430\\u0433\\u043d\\u043e\\u0441\\u0442\\u0438\\u043a\\u0430\",\"\\u0418\\u0441\\u043f\\u043e\\u043b\\u043d\\u0438\\u0442\\u0435\\u043b\\u044c\":\"Ghenadie Tiuhtii\",\"\\u0412\\u0438\\u0434 \\u0432\\u044b\\u043f\\u043e\\u043b\\u043d\\u0435\\u043d\\u043d\\u044b\\u0445 \\u0440\\u0430\\u0431\\u043e\\u0442\":\"\\u0414\\u0438\\u0430\\u0433\\u043d\\u043e\\u0441\\u0442\\u0438\\u043a\\u0430 \\u0441\\u043f\\u043b\\u0438\\u0442-\\u0441\\u0438\\u0441\\u0442\\u0435\\u043c \\u0438 \\u0434\\u0440\\u0443\\u0433\\u0438\\u0445 \\u0442\\u0438\\u043f\\u043e\\u0432 \\u043a\\u043e\\u043d\\u0434\\u0438\\u0446\\u0438\\u043e\\u043d\\u0435\\u0440\\u043e\\u0432\",\"\\u041c\\u043e\\u0434\\u0435\\u043b\\u044c \\u043e\\u0431\\u043e\\u0440\\u0443\\u0434\\u043e\\u0432\\u0430\\u043d\\u0438\\u044f 1\":\"electrolux\",\"ID\":\"45569961\",\"\\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\":\"990604011077\",\"\\u0410\\u0434\\u0440\\u0435\\u0441\":\"Rosca 9\",\"\\u0418\\u043c\\u044f \\u043a\\u043b\\u0438\\u0435\\u043d\\u0442\\u0430 (\\u0421\\u041c\\u0421)\":\"Pasat Vatalie\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"37369269591\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Pasat Vatalie\",\"Contact_name\":\"Pasat Vatalie\",\"\\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\":\"990604011077\",\"\\u0410\\u0434\\u0440\\u0435\\u0441\":\"Rosca 9\",\"\\u0418\\u043c\\u044f \\u043a\\u043b\\u0438\\u0435\\u043d\\u0442\\u0430 (\\u0421\\u041c\\u0421)\":\"Pasat Vatalie\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"37369269591\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Pasat Vatalie\",\"Contact_name\":\"Pasat Vatalie\",\"\\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\":\"990604011077\",\"\\u0410\\u0434\\u0440\\u0435\\u0441\":\"Rosca 9\",\"\\u0418\\u043c\\u044f \\u043a\\u043b\\u0438\\u0435\\u043d\\u0442\\u0430 (\\u0421\\u041c\\u0421)\":\"Pasat Vatalie\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"37369269591\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Pasat Vatalie\",\"\\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\":\"20.10.2026\",\"\\u041d\\u043e\\u043c\\u0435\\u0440\":\"1401\"},\"document\":{\"Date\":\"20.10.2026\",\"Number\":\"1401\"}}}","edit":true}} {"uid":"400ff0e"}
[2026-10-20 17:58:03] docflow.DEBUG: GAS raw response {"raw":"[object] (stdClass: {\"code\":1,\"url\":\"https://docs.google.com/open?id=19PLZtZU6y-cISMcoquHfldQVETiHfk-ElvgNdn5J_Yo\",\"file_id\":\"19PLZtZU6y-cISMcoquHfldQVETiHfk-ElvgNdn5J_Yo\",\"error\":\"\",\"vars\":\"\"})"} {"uid":"400ff0e"}
[2026-10-20 17:58:03] docflow.WARNING: AmoDrive generated-file move is not ready. {"fileId":"19PLZtZU6y-cISMcoquHfldQVETiHfk-ElvgNdn5J_Yo","context":null} {"uid":"400ff0e"}
