[2026-10-16 08:33:47] docflow.INFO: Apel createDoc {"data":{"amoAccountId":"22699852","amoUserId":null,"amoEntityId":"40714392","amoEntityType":"2","templateId":"11504","corporateEntityId":"","settlementAccountId":"","is_signed":null,"gdi":null,"number":null,"currentAmoUserId":null,"lang":"ru"}} {"uid":"6c5cc3f"}
[2026-10-16 08:33:47] docflow.INFO: Token is valid for account 22699852. [] {"uid":"6c5cc3f"}
[2026-10-16 08:33:47] docflow.DEBUG: getClientAuth returned {"auth":"[object] (stdClass: {\"domain\":\"emigrare.amocrm.ru\",\"access_token\":\"eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImp0aSI6ImRjNmE4MjY0MDY3ODYzMzk2ZjU5NDFkYWYyOTVhMGY5NDgxZDI5YmI3YWVhNThmNjUzMzQ0OTU0MWZjNzAxMjM1ZjU1OGE2OWEzYzZlN2RkIn0.eyJhdWQiOiIwZDY0ZGZmYi1lNTRiLTQ0OGYtOWZiZi1iYWYyMjUxYTExZGIiLCJqdGkiOiJkYzZhODI2NDA2Nzg2MzM5NmY1OTQxZGFmMjk1YTBmOTQ4MWQyOWJiN2FlYTU4ZjY1MzM0NDk1NDFmYzcwMTIzNWY1NThhNjlhM2M2ZTdkZCIsImlhdCI6MTc5MjA2MzgxMCwibmJmIjoxNzkyMDYzODEwLCJleHAiOjE3OTIxNTAyMTAsInN1YiI6IjI5MzAzODAiLCJncmFudF90eXBlIjoiIiwiYWNjb3VudF9pZCI6MjI2OTk4NTIsImJhc2VfZG9tYWluIjoiYW1vY3JtLnJ1IiwidmVyc2lvbiI6Miwic2NvcGVzIjpbInB1c2hfbm90aWZpY2F0aW9ucyIsImNybSIsIm5vdGlmaWNhdGlvbnMiXSwiaGFzaF91dWlkIjoiZTc4ODM2NTctODc0Yy00OWYxLWEzN2MtMzU4ODQ3Mzk2YThhIiwiYXBpX2RvbWFpbiI6ImFwaS1hLmFtb2NybS5ydSJ9.E3iFP8u4Jr2lbn2B8RbKrJsSP5s5QjFs1uUVa-FVughubNeotLJI0i3tZhHt2GKd8sINja9NadcCYexfP_CbZJ1CsQV3698uhDnb9okvzFZF6JUmw1MGXIMfKg2RG5g5nfBoyVnBoClfXvoK0yTt_xRmbqUVfmJ3rwlq0KLG5nGsevUDM3CzOsqoi2l6NETm39iiF6uE3Lav-tZ0ME4oajMHOrxvWiwrOIyax0qiMC_ylJWvBiJyfO4_dxdw9R1iLs4kjrrs9BTfIFHlduS1fn45f-8l3Y4Mwo-a0Ef8OOO_iJeJf5ml5SRMpu6ve6qqDEMsJrzwk6II6wQnCp30xw\"})","file":"/home/ytvmclwh/document.amocrm.md/src/Models/Docs.php","line":121} {"uid":"6c5cc3f"}
[2026-10-16 08:33:49] docflow.DEBUG: AmoDrive docflow context request {"url":"https://google.emale.uno/api/docflow/google-context","query":{"account_id":"22699852","entity_id":"40714392","entity_type":"leads"}} {"uid":"6c5cc3f"}
[2026-10-16 08:33:50] 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=40714392&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/16 08:33:50</td>\r\n</tr>\r\n</table>\r\n<hr><center>tengine</center>\r\n</body>\r\n</html>\r\n"} {"uid":"6c5cc3f"}
[2026-10-16 08:33:50] docflow.DEBUG: AmoDrive docflow context request {"url":"https://gd.glucose-dev.online/api/docflow/google-context","query":{"account_id":"22699852","entity_id":"40714392","entity_type":"leads"}} {"uid":"6c5cc3f"}
[2026-10-16 08:33:50] 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":"40714392","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":309,"isLifetime":false},"licenseActive":false,"googleConnected":false,"googleEmail":null,"googleHasDriveScope":false,"googleHasDriveFileScope":false,"googleHasOwnershipScope":false,"readyForGeneratedFileMove":false,"readyForTransfer":false},"folder":{"id":"1b8naM42YyHzdY1wGuis-kzKYDdgX3aDF","name":"Cet.md","webViewLink":"https://drive.google.com/drive/folders/1b8naM42YyHzdY1wGuis-kzKYDdgX3aDF"}}} {"uid":"6c5cc3f"}
[2026-10-16 08:33:50] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://google.emale.uno/api/docflow/prepare-generated-doc","payload":{"account_id":"22699852","entity_id":"40714392","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"6c5cc3f"}
[2026-10-16 08:33:50] docflow.WARNING: AmoDrive prepare-generated-doc request failed {"url":"https://google.emale.uno/api/docflow/prepare-generated-doc","http_code":null,"error":"HTTP/2 400 ","response":"<!DOCTYPE HTML PUBLIC \"-//IETF//DTD HTML 2.0//EN\">\r\n<html>\r\n<head><title>400 Bad Request</title></head>\r\n<body>\r\n<center><h1>400 Bad Request</h1></center>\r\n Sorry for the inconvenience.<br/>\r\nPlease report this message and include the following information to us.<br/>\r\nThank you very much!</p>\r\n<table>\r\n<tr>\r\n<td>URL:</td>\r\n<td>https://gd.glucose-dev.online/api/docflow/prepare-generated-doc</td>\r\n</tr>\r\n<tr>\r\n<td>Server:</td>\r\n<td>mail.glucose-dev.online</td>\r\n</tr>\r\n<tr>\r\n<td>Date:</td>\r\n<td>2026/10/16 08:33:50</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":"40714392","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"6c5cc3f"}
[2026-10-16 08:33:50] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://gd.glucose-dev.online/api/docflow/prepare-generated-doc","payload":{"account_id":"22699852","entity_id":"40714392","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"6c5cc3f"}
[2026-10-16 08:33: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":"40714392","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"6c5cc3f"}
[2026-10-16 08:33: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) 99 20261016083349\",\"leadId\":\"40714392\",\"entities\":{\"\\u0441\\u0434\\u0435\\u043b\\u043a\\u0430\":{\"#Manager Front\":\"Capanji Igor\",\"google_folder_id_leads_field\":\"1b8naM42YyHzdY1wGuis-kzKYDdgX3aDF\",\"google_folder_link_leads_field\":\"https:\\/\\/drive.google.com\\/drive\\/folders\\/1b8naM42YyHzdY1wGuis-kzKYDdgX3aDF\",\"Brand\":\"Emigrare.md\",\"Categorie Serviciu\":\"Cet.MD\",\"Serviciu solicitat\":\"1520102\",\"Suma Back\":\"0\",\"Data consulta\\u021biei\":\"15.10.2025\",\"Suma avans\":\"1200\",\"Urm\\u0103torul contact\":\"2025-10-15 14:59:00\",\"Compania\":\"EMG Consulting Group SRL\",\"Manager Juridic\":\"Alexei Sitnic\",\"#Manager Jurist\":\"Alexei Sitnic\",\"Numar de achitari\":\"3\",\"Suma contract\":\"3390\",\"Tentative de apel\":\"0\",\"Data trimitere Documentare\":\"2026-04-23 10:27:00\",\"Ian\\/Data depunerii\":\"17.11.2025\",\"Ian\\/Data primirii aviz\":\"17.11.2026\",\"Ian\\/Model dosar\":\"G2\",\"Traduceri si cheltuieli\":\"Da\",\"Na\\u021bionalitatea\":\"Ucraina\",\"Ian\\/Ultima verificare\":\"17.11.2026\",\"ID\":\"40714392\",\"\\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\":\"3390\",\"Budget\":\"3390\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"Cre\\u021bu Veronica\",\"Responsible\":\"Cre\\u021bu Veronica\"},\"lead\":{\"#Manager Front\":\"Capanji Igor\",\"google_folder_id_leads_field\":\"1b8naM42YyHzdY1wGuis-kzKYDdgX3aDF\",\"google_folder_link_leads_field\":\"https:\\/\\/drive.google.com\\/drive\\/folders\\/1b8naM42YyHzdY1wGuis-kzKYDdgX3aDF\",\"Brand\":\"Emigrare.md\",\"Categorie Serviciu\":\"Cet.MD\",\"Serviciu solicitat\":\"1520102\",\"Suma Back\":\"0\",\"Data consulta\\u021biei\":\"15.10.2025\",\"Suma avans\":\"1200\",\"Urm\\u0103torul contact\":\"2025-10-15 14:59:00\",\"Compania\":\"EMG Consulting Group SRL\",\"Manager Juridic\":\"Alexei Sitnic\",\"#Manager Jurist\":\"Alexei Sitnic\",\"Numar de achitari\":\"3\",\"Suma contract\":\"3390\",\"Tentative de apel\":\"0\",\"Data trimitere Documentare\":\"2026-04-23 10:27:00\",\"Ian\\/Data depunerii\":\"17.11.2025\",\"Ian\\/Data primirii aviz\":\"17.11.2026\",\"Ian\\/Model dosar\":\"G2\",\"Traduceri si cheltuieli\":\"Da\",\"Na\\u021bionalitatea\":\"Ucraina\",\"Ian\\/Ultima verificare\":\"17.11.2026\",\"ID\":\"40714392\",\"\\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\":\"3390\",\"Budget\":\"3390\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"Cre\\u021bu Veronica\",\"Responsible\":\"Cre\\u021bu Veronica\"},\"\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442\":{\"Email\":\"-\",\"Limba vorbita\":\"Rusa\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"+48784878235\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Fedosii Kutsytar\",\"Contact_name\":\"Fedosii Kutsytar\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"Dascal Anatolie\",\"Responsible\":\"Dascal Anatolie\"},\"contact\":{\"Email\":\"-\",\"Limba vorbita\":\"Rusa\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"+48784878235\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Fedosii Kutsytar\",\"Contact_name\":\"Fedosii Kutsytar\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"Dascal Anatolie\",\"Responsible\":\"Dascal Anatolie\"},\"\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442\\u044b\":[{\"Email\":\"-\",\"Limba vorbita\":\"Rusa\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"+48784878235\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Fedosii Kutsytar\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"Dascal Anatolie\"}],\"\\u0434\\u043e\\u043a\\u0443\\u043c\\u0435\\u043d\\u0442\":{\"\\u0414\\u0430\\u0442\\u0430\":\"16.10.2026\",\"\\u041d\\u043e\\u043c\\u0435\\u0440\":\"99\"},\"document\":{\"Date\":\"16.10.2026\",\"Number\":\"99\"}}}","edit":true}} {"uid":"6c5cc3f"}
[2026-10-16 08:33:57] docflow.DEBUG: GAS raw response {"raw":"[object] (stdClass: {\"code\":1,\"url\":\"https://docs.google.com/open?id=1TBkXJ60XzgkfqlT4h7pJw1hPfGfBdugy6Li762zuHlE\",\"file_id\":\"1TBkXJ60XzgkfqlT4h7pJw1hPfGfBdugy6Li762zuHlE\",\"error\":\"\",\"vars\":\"\"})"} {"uid":"6c5cc3f"}
[2026-10-16 08:33:57] docflow.WARNING: AmoDrive generated-file move is not ready. {"fileId":"1TBkXJ60XzgkfqlT4h7pJw1hPfGfBdugy6Li762zuHlE","context":null} {"uid":"6c5cc3f"}
[2026-10-16 10:25:49] docflow.INFO: Apel createDoc {"data":{"amoAccountId":"31995978","amoUserId":null,"amoEntityId":"26341227","amoEntityType":"2","templateId":"11570","corporateEntityId":"","settlementAccountId":"","is_signed":null,"gdi":null,"number":null,"currentAmoUserId":null,"lang":"en"}} {"uid":"88eff44"}
[2026-10-16 10:25:49] docflow.INFO: Token validation failed for account 31995978. Refreshing... {"http_code":null,"error_message":"HTTP/2 401 "} {"uid":"88eff44"}
[2026-10-16 10:25:49] docflow.INFO: Attempting token refresh with payload: {"client_id":"0d64dffb-e54b-448f-9fbf-baf2251a11db","client_secret":"AXqHrT1J35SilTTtI3yyaHdQKiS5bonhySaPYkLmo7mR6ZZ9zDP24dUjG189VG9G","grant_type":"refresh_token","refresh_token":"def502001fb05a06bc6c679615b48d542df6b0ec2ba0e3e2d513a2dd73ae12eac2c412d247c8b612f1efa6ccfc5d2ea8365b67361b3b539a00cf6018f1e19b3cd533cb09e2c67b1ce055ed8d4a5223c50af80bd53524b5b9597d8de3922f7c4cb720982bdd4bdd0a0b2a60e52604ae53112b59ea0e1a1ea879dd41f4c66f10f8d8862d1e635ac654f5cee415801b7597eb44cde8eb8ba0986fa253b2b1707bf426aee6a89488aad4634dea998dcc60700e57a1bfb605f69658628f64e9601b4bce47da32c838094478db15b7a8bfacaa4f1501e781e3e5330ed025096b4fbc9d8e4442519b0dd52fa59d2cd1ab01acd1e3ab81ad7fea724296540ef588a849c57b067ad708ca44a246eee1db9cf30658a284a30c8be0334a12b14b02767a283236ae5c078dab7ee51d8cdf187b75d7916014270361687bbf9f1715dae9bbc1e3c7710a9d1f02bf6e2370bd2203dd1484e7669b1c2a1fc981e9400e8d8fe270b2f433229532f812aea8a701aa488e072ce75bb035f13a41ddb73f0339b41fcc8d4a867d599985839dd70b60f37745af8345a78fa930b8db739b0c8bae559d817afdabee19148742d9ab2e35d9a3a5937da30af170b84070df004fba120e05261d12c491fca65754cbccb407883d199d863aea80e429c808","redirect_uri":"https://document.amocrm.md/core/manager/install.php"} {"uid":"88eff44"}
[2026-10-16 10:25:51] docflow.INFO: Token for account 31995978 refreshed successfully. [] {"uid":"88eff44"}
[2026-10-16 10:25:51] docflow.DEBUG: getClientAuth returned {"auth":"[object] (stdClass: {\"domain\":\"autostoremd.amocrm.ru\",\"access_token\":\"eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImp0aSI6IjFjYTg0ZTQ2MGMyMTEyYTNlMjZhM2Q5OWVkZjA5ZjFhNzk4MzlhNTIxNTZjNzdiMWJhYmNlOGQxZDZjNzFhNzZhMjY5MjEwZGYzMmU3NDhhIn0.eyJhdWQiOiIwZDY0ZGZmYi1lNTRiLTQ0OGYtOWZiZi1iYWYyMjUxYTExZGIiLCJqdGkiOiIxY2E4NGU0NjBjMjExMmEzZTI2YTNkOTllZGYwOWYxYTc5ODM5YTUyMTU2Yzc3YjFiYWJjZThkMWQ2YzcxYTc2YTI2OTIxMGRmMzJlNzQ4YSIsImlhdCI6MTc5MjEzNTU1MCwibmJmIjoxNzkyMTM1NTUwLCJleHAiOjE3OTIyMjE5NTAsInN1YiI6IjExNjIwMzgyIiwiZ3JhbnRfdHlwZSI6IiIsImFjY291bnRfaWQiOjMxOTk1OTc4LCJiYXNlX2RvbWFpbiI6ImFtb2NybS5ydSIsInZlcnNpb24iOjIsInNjb3BlcyI6WyJwdXNoX25vdGlmaWNhdGlvbnMiLCJjcm0iLCJub3RpZmljYXRpb25zIl0sImhhc2hfdXVpZCI6ImI2MjJjZGRjLWI1OGYtNGEyNS1iOGNlLWQxYTA1MDY4MThjMCIsImFwaV9kb21haW4iOiJhcGktYi5hbW9jcm0ucnUifQ.RjnWepIKCI_64NEWvO_oBYvO8fjrq81kNAk8KCZqHO88Fhfs2Y1n0kJOi8_X_GRNod5XKY1bqqpjVQGYpCzeu08uc3kMuy1ntitVyFuJUwx28vM1TjDlcRC3k7Kn_er2utkxQoLUnAjIYydvGjnJVFd04trWh8ynmjAajMTrKQz7UTkPEVinILE4XU7Fbvwd86NYt37wmkF9vnwk0mWOJuSGhRyQTkPvv6Rg31vw0UlE1di_co1F49lP_CZqH2EMFLwcO4ahJOx6mb5vm6WWviKoc4MjJ2Pk2LtRTRjrW1HDI-cu9mu2GVivc0MTOICJPJ7JjCc9jc68auQUpCq1Lg\"})","file":"/home/ytvmclwh/document.amocrm.md/src/Models/Docs.php","line":121} {"uid":"88eff44"}
[2026-10-16 10:25:53] docflow.DEBUG: AmoDrive docflow context request {"url":"https://google.emale.uno/api/docflow/google-context","query":{"account_id":"31995978","entity_id":"26341227","entity_type":"leads"}} {"uid":"88eff44"}
[2026-10-16 10:25: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=31995978&amp;entity_id=26341227&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/16 10:25:53</td>\r\n</tr>\r\n</table>\r\n<hr><center>tengine</center>\r\n</body>\r\n</html>\r\n"} {"uid":"88eff44"}
[2026-10-16 10:25:53] docflow.DEBUG: AmoDrive docflow context request {"url":"https://gd.glucose-dev.online/api/docflow/google-context","query":{"account_id":"31995978","entity_id":"26341227","entity_type":"leads"}} {"uid":"88eff44"}
[2026-10-16 10:25: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":31995978,"entityId":"26341227","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":"88eff44"}
[2026-10-16 10:25:53] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://google.emale.uno/api/docflow/prepare-generated-doc","payload":{"account_id":"31995978","entity_id":"26341227","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"88eff44"}
[2026-10-16 10:25: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/16 10:25: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":"31995978","entity_id":"26341227","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"88eff44"}
[2026-10-16 10:25:53] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://gd.glucose-dev.online/api/docflow/prepare-generated-doc","payload":{"account_id":"31995978","entity_id":"26341227","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"88eff44"}
[2026-10-16 10:25: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\":31995978})","payload":{"account_id":"31995978","entity_id":"26341227","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"88eff44"}
[2026-10-16 10:25:53] docflow.DEBUG: GAS request {"url":"https://script.google.com/macros/s/AKfycbwrvOJD46zkuoTzdhpc1kulhV8jRfgQBFZfQ121nkIip_k8yKit4xrbWTOzaJ-C-Yed6w/exec","body":{"templateFileId":"1okJBQQkXW4vP-jlgBQa2PmWyAHxdgDLMoNymOSNtKY4","accountId":"31995978","folderId":"1Us2AfskxgdA729xVr0F2vjZU9y5PlYDe","key":"~VTsK5dcnHc2cSSsjM$LFSjLlgbmJXwrp3R2P5nd","data":"{\"fileName\":\"Contract automobil nou - din stoc. 4 20261016102553\",\"leadId\":\"26341227\",\"entities\":{\"\\u0441\\u0434\\u0435\\u043b\\u043a\\u0430\":{\"buget\":\"0\",\"Ramas de achitat\":\"0\",\"ID\":\"26341227\",\"\\u0421\\u0434\\u0435\\u043b\\u043a\\u0430_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"2082. Hyundai Palisade - Arma\\u015fu Igor\",\"Lead_name\":\"2082. Hyundai Palisade - Arma\\u015fu Igor\",\"\\u0411\\u044e\\u0434\\u0436\\u0435\\u0442\":\"0\",\"Budget\":\"0\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"Radu Drosu\",\"Responsible\":\"Radu Drosu\"},\"lead\":{\"buget\":\"0\",\"Ramas de achitat\":\"0\",\"ID\":\"26341227\",\"\\u0421\\u0434\\u0435\\u043b\\u043a\\u0430_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"2082. Hyundai Palisade - Arma\\u015fu Igor\",\"Lead_name\":\"2082. Hyundai Palisade - Arma\\u015fu Igor\",\"\\u0411\\u044e\\u0434\\u0436\\u0435\\u0442\":\"0\",\"Budget\":\"0\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"Radu Drosu\",\"Responsible\":\"Radu Drosu\"},\"\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442\":{\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"37378843382\",\"Numarul Buletin\":\"1\",\"Seria Buletin\":\"1\",\"IDNP\":\"1\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Vasile Armasu\",\"Contact_name\":\"Vasile Armasu\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"Radu Drosu\",\"Responsible\":\"Radu Drosu\"},\"contact\":{\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"37378843382\",\"Numarul Buletin\":\"1\",\"Seria Buletin\":\"1\",\"IDNP\":\"1\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Vasile Armasu\",\"Contact_name\":\"Vasile Armasu\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"Radu Drosu\",\"Responsible\":\"Radu Drosu\"},\"\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442\\u044b\":[{\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"37378843382\",\"Numarul Buletin\":\"1\",\"Seria Buletin\":\"1\",\"IDNP\":\"1\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Vasile Armasu\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"Radu Drosu\"}],\"\\u0434\\u043e\\u043a\\u0443\\u043c\\u0435\\u043d\\u0442\":{\"\\u0414\\u0430\\u0442\\u0430\":\"16.10.2026\",\"\\u041d\\u043e\\u043c\\u0435\\u0440\":\"4\"},\"document\":{\"Date\":\"16.10.2026\",\"Number\":\"4\"}}}","edit":true}} {"uid":"88eff44"}
[2026-10-16 10:26:02] docflow.DEBUG: GAS raw response {"raw":"[object] (stdClass: {\"code\":1,\"url\":\"https://docs.google.com/open?id=1gK5VNoJoTz618XWDOYtzsA-jprCgSFMKUBEe0kdFCd4\",\"file_id\":\"1gK5VNoJoTz618XWDOYtzsA-jprCgSFMKUBEe0kdFCd4\",\"error\":\"\",\"vars\":\"\"})"} {"uid":"88eff44"}
[2026-10-16 10:26:02] docflow.WARNING: AmoDrive generated-file move is not ready. {"fileId":"1gK5VNoJoTz618XWDOYtzsA-jprCgSFMKUBEe0kdFCd4","context":null} {"uid":"88eff44"}
[2026-10-16 11:18:54] docflow.INFO: Apel createDoc {"data":{"amoAccountId":"22699852","amoUserId":null,"amoEntityId":"35368662","amoEntityType":"2","templateId":"11528","corporateEntityId":"","settlementAccountId":"","is_signed":null,"gdi":null,"number":null,"currentAmoUserId":null,"lang":"ru"}} {"uid":"d8ed5c4"}
[2026-10-16 11:18:55] docflow.INFO: Token is valid for account 22699852. [] {"uid":"d8ed5c4"}
[2026-10-16 11:18:55] docflow.DEBUG: getClientAuth returned {"auth":"[object] (stdClass: {\"domain\":\"emigrare.amocrm.ru\",\"access_token\":\"eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImp0aSI6ImRjNmE4MjY0MDY3ODYzMzk2ZjU5NDFkYWYyOTVhMGY5NDgxZDI5YmI3YWVhNThmNjUzMzQ0OTU0MWZjNzAxMjM1ZjU1OGE2OWEzYzZlN2RkIn0.eyJhdWQiOiIwZDY0ZGZmYi1lNTRiLTQ0OGYtOWZiZi1iYWYyMjUxYTExZGIiLCJqdGkiOiJkYzZhODI2NDA2Nzg2MzM5NmY1OTQxZGFmMjk1YTBmOTQ4MWQyOWJiN2FlYTU4ZjY1MzM0NDk1NDFmYzcwMTIzNWY1NThhNjlhM2M2ZTdkZCIsImlhdCI6MTc5MjA2MzgxMCwibmJmIjoxNzkyMDYzODEwLCJleHAiOjE3OTIxNTAyMTAsInN1YiI6IjI5MzAzODAiLCJncmFudF90eXBlIjoiIiwiYWNjb3VudF9pZCI6MjI2OTk4NTIsImJhc2VfZG9tYWluIjoiYW1vY3JtLnJ1IiwidmVyc2lvbiI6Miwic2NvcGVzIjpbInB1c2hfbm90aWZpY2F0aW9ucyIsImNybSIsIm5vdGlmaWNhdGlvbnMiXSwiaGFzaF91dWlkIjoiZTc4ODM2NTctODc0Yy00OWYxLWEzN2MtMzU4ODQ3Mzk2YThhIiwiYXBpX2RvbWFpbiI6ImFwaS1hLmFtb2NybS5ydSJ9.E3iFP8u4Jr2lbn2B8RbKrJsSP5s5QjFs1uUVa-FVughubNeotLJI0i3tZhHt2GKd8sINja9NadcCYexfP_CbZJ1CsQV3698uhDnb9okvzFZF6JUmw1MGXIMfKg2RG5g5nfBoyVnBoClfXvoK0yTt_xRmbqUVfmJ3rwlq0KLG5nGsevUDM3CzOsqoi2l6NETm39iiF6uE3Lav-tZ0ME4oajMHOrxvWiwrOIyax0qiMC_ylJWvBiJyfO4_dxdw9R1iLs4kjrrs9BTfIFHlduS1fn45f-8l3Y4Mwo-a0Ef8OOO_iJeJf5ml5SRMpu6ve6qqDEMsJrzwk6II6wQnCp30xw\"})","file":"/home/ytvmclwh/document.amocrm.md/src/Models/Docs.php","line":121} {"uid":"d8ed5c4"}
[2026-10-16 11:18:57] docflow.DEBUG: AmoDrive docflow context request {"url":"https://google.emale.uno/api/docflow/google-context","query":{"account_id":"22699852","entity_id":"35368662","entity_type":"leads"}} {"uid":"d8ed5c4"}
[2026-10-16 11:18: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=35368662&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/16 11:18:57</td>\r\n</tr>\r\n</table>\r\n<hr><center>tengine</center>\r\n</body>\r\n</html>\r\n"} {"uid":"d8ed5c4"}
[2026-10-16 11:18:57] docflow.DEBUG: AmoDrive docflow context request {"url":"https://gd.glucose-dev.online/api/docflow/google-context","query":{"account_id":"22699852","entity_id":"35368662","entity_type":"leads"}} {"uid":"d8ed5c4"}
[2026-10-16 11:18: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":"35368662","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":309,"isLifetime":false},"licenseActive":false,"googleConnected":false,"googleEmail":null,"googleHasDriveScope":false,"googleHasDriveFileScope":false,"googleHasOwnershipScope":false,"readyForGeneratedFileMove":false,"readyForTransfer":false},"folder":{"id":"13RRNAjfiP2ZBTyxaDjxBJSZWEDBj4Dfg","name":"Cet Ro","webViewLink":"https://drive.google.com/drive/folders/13RRNAjfiP2ZBTyxaDjxBJSZWEDBj4Dfg"}}} {"uid":"d8ed5c4"}
[2026-10-16 11:18:57] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://google.emale.uno/api/docflow/prepare-generated-doc","payload":{"account_id":"22699852","entity_id":"35368662","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"d8ed5c4"}
[2026-10-16 11:18: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/16 11:18: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":"35368662","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"d8ed5c4"}
[2026-10-16 11:18: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":"35368662","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"d8ed5c4"}
[2026-10-16 11:18: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":"35368662","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"d8ed5c4"}
[2026-10-16 11:18:57] 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) 217 20261016111857\",\"leadId\":\"35368662\",\"entities\":{\"\\u0441\\u0434\\u0435\\u043b\\u043a\\u0430\":{\"Luna crearii Tranzactiei back\":\"21.11.2022\",\"Luat \\u00een lucru\":\"1\",\"Brand\":\"Cetatenie.md\",\"google_folder_id_leads_field\":\"13RRNAjfiP2ZBTyxaDjxBJSZWEDBj4Dfg\",\"google_folder_link_leads_field\":\"https:\\/\\/drive.google.com\\/drive\\/folders\\/13RRNAjfiP2ZBTyxaDjxBJSZWEDBj4Dfg\",\"Categorie Serviciu\":\"Cet.RO\",\"Cet.RO\":\"Dosar cetatenie cetateni md\",\"Suma contract\":\"2500\",\"Cont\":\"\\u0421\\u0411\\u0415\\u0420\\u0411\\u0410\\u041d\\u041a                                      \\u041d\\u043e\\u043c\\u0435\\u0440 \\u043a\\u0430\\u0440\\u0442\\u044b 5484 3800 1562 7789  +79857493467.                             \\u041d\\u043e\\u043c\\u0435\\u0440 \\u0421\\u0447\\u0435\\u0442\\u0430 \\u0412\\u0430\\u043b\\u044e\\u0442\\u0430 \\u043f\\u043e\\u043b\\u0443\\u0447\\u0430\\u0435\\u043c\\u043e\\u0433\\u043e \\u043f\\u0435\\u0440\\u0435\\u0432\\u043e\\u0434\\u0430: \\u0420\\u0443\\u0431\\u043b\\u0438 (RUB)   \\u041f\\u043e\\u043b\\u0443\\u0447\\u0430\\u0442\\u0435\\u043b\\u044c: \\u041e\\u041a\\u0418\\u041d\\u0427\\u0423\\u041a \\u0412\\u0418\\u041a\\u0422\\u041e\\u0420    \\u041d\\u0440. \\u0441\\u0447\\u0451\\u0442\\u0430 40820810738177503380.               \\u0411\\u0430\\u043d\\u043a \\u043f\\u043e\\u043b\\u0443\\u0447\\u0430\\u0442\\u0435\\u043b\\u044f: \\u041f\\u0410\\u041e \\u0421\\u0411\\u0415\\u0420\\u0411\\u0410\\u041d\\u041a \\u0411\\u0418\\u041a: 044525225.                            \\u041a\\u043e\\u0440\\u0440. \\u0441\\u0447\\u0451\\u0442: 30101810400000000225 \\u0418\\u041d\\u041d: 7707083893,\\u041a\\u041f\\u041f: 773643001                  SWIFT-\\u043a\\u043e\\u0434: SABRRUMM\",\"#Manager Back\":\"Crucerescu Ecaterina\",\"Tip proces\":\"Lung\",\"Canal de comunicare\":\"Telegram\",\"Urm\\u0103torul contact\":\"2023-09-19 10:01:00\",\"Loca\\u021bia Curent\\u0103\":\"Alte \\u021b\\u0103ri\",\"Serviciu solicitat\":\"1520104\",\"ID\":\"35368662\",\"\\u0421\\u0434\\u0435\\u043b\\u043a\\u0430_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Cet. RO\",\"Lead_name\":\"Cet. RO\",\"\\u0411\\u044e\\u0434\\u0436\\u0435\\u0442\":\"2500\",\"Budget\":\"2500\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"Iu\\u0219an Nina\",\"Responsible\":\"Iu\\u0219an Nina\"},\"lead\":{\"Luna crearii Tranzactiei back\":\"21.11.2022\",\"Luat \\u00een lucru\":\"1\",\"Brand\":\"Cetatenie.md\",\"google_folder_id_leads_field\":\"13RRNAjfiP2ZBTyxaDjxBJSZWEDBj4Dfg\",\"google_folder_link_leads_field\":\"https:\\/\\/drive.google.com\\/drive\\/folders\\/13RRNAjfiP2ZBTyxaDjxBJSZWEDBj4Dfg\",\"Categorie Serviciu\":\"Cet.RO\",\"Cet.RO\":\"Dosar cetatenie cetateni md\",\"Suma contract\":\"2500\",\"Cont\":\"\\u0421\\u0411\\u0415\\u0420\\u0411\\u0410\\u041d\\u041a                                      \\u041d\\u043e\\u043c\\u0435\\u0440 \\u043a\\u0430\\u0440\\u0442\\u044b 5484 3800 1562 7789  +79857493467.                             \\u041d\\u043e\\u043c\\u0435\\u0440 \\u0421\\u0447\\u0435\\u0442\\u0430 \\u0412\\u0430\\u043b\\u044e\\u0442\\u0430 \\u043f\\u043e\\u043b\\u0443\\u0447\\u0430\\u0435\\u043c\\u043e\\u0433\\u043e \\u043f\\u0435\\u0440\\u0435\\u0432\\u043e\\u0434\\u0430: \\u0420\\u0443\\u0431\\u043b\\u0438 (RUB)   \\u041f\\u043e\\u043b\\u0443\\u0447\\u0430\\u0442\\u0435\\u043b\\u044c: \\u041e\\u041a\\u0418\\u041d\\u0427\\u0423\\u041a \\u0412\\u0418\\u041a\\u0422\\u041e\\u0420    \\u041d\\u0440. \\u0441\\u0447\\u0451\\u0442\\u0430 40820810738177503380.               \\u0411\\u0430\\u043d\\u043a \\u043f\\u043e\\u043b\\u0443\\u0447\\u0430\\u0442\\u0435\\u043b\\u044f: \\u041f\\u0410\\u041e \\u0421\\u0411\\u0415\\u0420\\u0411\\u0410\\u041d\\u041a \\u0411\\u0418\\u041a: 044525225.                            \\u041a\\u043e\\u0440\\u0440. \\u0441\\u0447\\u0451\\u0442: 30101810400000000225 \\u0418\\u041d\\u041d: 7707083893,\\u041a\\u041f\\u041f: 773643001                  SWIFT-\\u043a\\u043e\\u0434: SABRRUMM\",\"#Manager Back\":\"Crucerescu Ecaterina\",\"Tip proces\":\"Lung\",\"Canal de comunicare\":\"Telegram\",\"Urm\\u0103torul contact\":\"2023-09-19 10:01:00\",\"Loca\\u021bia Curent\\u0103\":\"Alte \\u021b\\u0103ri\",\"Serviciu solicitat\":\"1520104\",\"ID\":\"35368662\",\"\\u0421\\u0434\\u0435\\u043b\\u043a\\u0430_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Cet. RO\",\"Lead_name\":\"Cet. RO\",\"\\u0411\\u044e\\u0434\\u0436\\u0435\\u0442\":\"2500\",\"Budget\":\"2500\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"Iu\\u0219an Nina\",\"Responsible\":\"Iu\\u0219an Nina\"},\"\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442\":{\"Email\":\"s.kuzmenko@acso.ua\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"+380674045800\",\"Limba vorbita\":\"Rusa\",\"Data na\\u0219terii client\":\"18.04.1982\",\"Cet\\u0103\\u021benie de\\u021binut\\u0103\":\"RM\",\"Cum Comunicam\":\"Telegram\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Sava Cuzmenco\",\"Contact_name\":\"Sava Cuzmenco\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"Iu\\u0219an Nina\",\"Responsible\":\"Iu\\u0219an Nina\"},\"contact\":{\"Email\":\"s.kuzmenko@acso.ua\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"+380674045800\",\"Limba vorbita\":\"Rusa\",\"Data na\\u0219terii client\":\"18.04.1982\",\"Cet\\u0103\\u021benie de\\u021binut\\u0103\":\"RM\",\"Cum Comunicam\":\"Telegram\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Sava Cuzmenco\",\"Contact_name\":\"Sava Cuzmenco\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"Iu\\u0219an Nina\",\"Responsible\":\"Iu\\u0219an Nina\"},\"\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442\\u044b\":[{\"Email\":\"s.kuzmenko@acso.ua\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"+380674045800\",\"Limba vorbita\":\"Rusa\",\"Data na\\u0219terii client\":\"18.04.1982\",\"Cet\\u0103\\u021benie de\\u021binut\\u0103\":\"RM\",\"Cum Comunicam\":\"Telegram\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Sava Cuzmenco\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"Iu\\u0219an Nina\"}],\"\\u0434\\u043e\\u043a\\u0443\\u043c\\u0435\\u043d\\u0442\":{\"\\u0414\\u0430\\u0442\\u0430\":\"16.10.2026\",\"\\u041d\\u043e\\u043c\\u0435\\u0440\":\"217\"},\"document\":{\"Date\":\"16.10.2026\",\"Number\":\"217\"}}}","edit":true}} {"uid":"d8ed5c4"}
[2026-10-16 11:19:05] docflow.DEBUG: GAS raw response {"raw":"[object] (stdClass: {\"code\":1,\"url\":\"https://docs.google.com/open?id=1lbGlAgGSZDdoBC3j3DGgamOH9adba1MJz5_AhEmnlSA\",\"file_id\":\"1lbGlAgGSZDdoBC3j3DGgamOH9adba1MJz5_AhEmnlSA\",\"error\":\"\",\"vars\":\"\"})"} {"uid":"d8ed5c4"}
[2026-10-16 11:19:05] docflow.WARNING: AmoDrive generated-file move is not ready. {"fileId":"1lbGlAgGSZDdoBC3j3DGgamOH9adba1MJz5_AhEmnlSA","context":null} {"uid":"d8ed5c4"}
[2026-10-16 12:00:18] docflow.INFO: DETAIL LEAD{"order":{"use_nds":"0","items":[{"name":"Reportaj fotografic 15\/10\/2026","count":"1","measure":"serv","price":"7800","discount":"0","total_discount":"0","total_price":"7800.00"}],"total_price":"7800.00","total_discount":"0.00","total_nds":"0.00"}} [] {"uid":"60562f3"}
[2026-10-16 12:00:30] docflow.INFO: Apel createDoc {"data":{"amoAccountId":"29548744","amoUserId":null,"amoEntityId":"32684595","amoEntityType":"2","templateId":"11474","corporateEntityId":"","settlementAccountId":"","is_signed":null,"gdi":null,"number":null,"currentAmoUserId":null,"lang":null}} {"uid":"4699d2f"}
[2026-10-16 12:00:31] docflow.INFO: Token is valid for account 29548744. [] {"uid":"4699d2f"}
[2026-10-16 12:00:31] docflow.DEBUG: getClientAuth returned {"auth":"[object] (stdClass: {\"domain\":\"schimbatorstudio.amocrm.ru\",\"access_token\":\"eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImp0aSI6IjYyOWZhMjBiNTYyZjRkYjM3NjQ4MDI1MDZlNWQ5N2NiYmViNmEzM2RjZWI2MmUyMTU2YWQwMTliODQyZTc2Zjg0MmRkOWE0YzZkZTYwMzQ5In0.eyJhdWQiOiJlOWY4NTA4NS05YzE2LTQ4YzktODU4YS0wMjliMmM4OWVlNWYiLCJqdGkiOiI2MjlmYTIwYjU2MmY0ZGIzNzY0ODAyNTA2ZTVkOTdjYmJlYjZhMzNkY2ViNjJlMjE1NmFkMDE5Yjg0MmU3NmY4NDJkZDlhNGM2ZGU2MDM0OSIsImlhdCI6MTc1MTM2OTk1MywibmJmIjoxNzUxMzY5OTUzLCJleHAiOjE4ODAxNTA0MDAsInN1YiI6IjcxNjcwMjgiLCJncmFudF90eXBlIjoiIiwiYWNjb3VudF9pZCI6Mjk1NDg3NDQsImJhc2VfZG9tYWluIjoiYW1vY3JtLnJ1IiwidmVyc2lvbiI6Miwic2NvcGVzIjpbImNybSIsImZpbGVzIiwiZmlsZXNfZGVsZXRlIiwibm90aWZpY2F0aW9ucyIsInB1c2hfbm90aWZpY2F0aW9ucyJdLCJoYXNoX3V1aWQiOiI2ZTY1ZDYzMC1hNmRhLTQ2ZmEtYWZlMy0zNTE0NGU5YzU4ZDIiLCJhcGlfZG9tYWluIjoiYXBpLWIuYW1vY3JtLnJ1In0.AAYuEBV80lIrOkUXCBqwd5bwr31EDN780mA9x8LmJlQR0WVsr_nq0ozYRgUDtCEbc4VMejlFae1b1vddi7tJE2AoB2fGLuGtDbvOhG1BXUeNy6yqZHlM8lBZz7v5yBbjr01BmYzD1uAPUJ29T59mWjuIbYOpJ4Ka6FfCWFh47ECJjbhv8xxfQjDZMagFSUyISsJIL2o_zSFG_uUKcaPnSaQLsEJuwxyolHPxtC5I-mm41iRgl6pjNfZCUS8dwUy5twYIizYnZeCUteBwrcrMwD5Ocgv9Irk0X4jYHlnOP5KWdguew7VbRSMkt_IpckRQRFC3a8OIx1FfyqpoFZ_1Qw\"})","file":"/home/ytvmclwh/document.amocrm.md/src/Models/Docs.php","line":121} {"uid":"4699d2f"}
[2026-10-16 12:00:37] docflow.DEBUG: AmoDrive docflow context request {"url":"https://google.emale.uno/api/docflow/google-context","query":{"account_id":"29548744","entity_id":"32684595","entity_type":"leads"}} {"uid":"4699d2f"}
[2026-10-16 12:00:37] 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=29548744&amp;entity_id=32684595&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/16 12:00:37</td>\r\n</tr>\r\n</table>\r\n<hr><center>tengine</center>\r\n</body>\r\n</html>\r\n"} {"uid":"4699d2f"}
[2026-10-16 12:00:37] docflow.DEBUG: AmoDrive docflow context request {"url":"https://gd.glucose-dev.online/api/docflow/google-context","query":{"account_id":"29548744","entity_id":"32684595","entity_type":"leads"}} {"uid":"4699d2f"}
[2026-10-16 12:00: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":29548744,"entityId":"32684595","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":"4699d2f"}
[2026-10-16 12:00:38] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://google.emale.uno/api/docflow/prepare-generated-doc","payload":{"account_id":"29548744","entity_id":"32684595","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"4699d2f"}
[2026-10-16 12:00: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/16 12:00: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":"29548744","entity_id":"32684595","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"4699d2f"}
[2026-10-16 12:00:38] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://gd.glucose-dev.online/api/docflow/prepare-generated-doc","payload":{"account_id":"29548744","entity_id":"32684595","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"4699d2f"}
[2026-10-16 12:00: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\":29548744})","payload":{"account_id":"29548744","entity_id":"32684595","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"4699d2f"}
[2026-10-16 12:00:38] docflow.DEBUG: GAS request {"url":"https://script.google.com/macros/s/AKfycbwrvOJD46zkuoTzdhpc1kulhV8jRfgQBFZfQ121nkIip_k8yKit4xrbWTOzaJ-C-Yed6w/exec","body":{"templateFileId":"17jDTUKY-gXqdflPTdMBtCZdzorIsJxJc3Xnrtjc3VIc","accountId":"29548744","folderId":"1Us2AfskxgdA729xVr0F2vjZU9y5PlYDe","key":"~VTsK5dcnHc2cSSsjM$LFSjLlgbmJXwrp3R2P5nd","data":"{\"fileName\":\"Cont spre plat\\u0103 724 20261016120037\",\"leadId\":\"32684595\",\"entities\":{\"\\u0441\\u0434\\u0435\\u043b\\u043a\\u0430\":{\"Sursa\":\"Client existent\",\"Statut achitare\":\"Neachitat\",\"Mod achitare\":\"Transfer bancar\",\"Tip serviciu\":\"Reportaje fotografice\",\"Data \\u0219edin\\u021bei\":\"15.10.2026\",\"Data livr\\u0103rii lucr\\u0103rilor\":\"16.10.2026\",\"TVA\":\"Scutit\",\"ID\":\"32684595\",\"\\u0421\\u0434\\u0435\\u043b\\u043a\\u0430_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"UNDP 15\\/10\\/2026\",\"Lead_name\":\"UNDP 15\\/10\\/2026\",\"\\u0411\\u044e\\u0434\\u0436\\u0435\\u0442\":\"7800\",\"Budget\":\"7800\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"Marina Balan\",\"Responsible\":\"Marina Balan\"},\"lead\":{\"Sursa\":\"Client existent\",\"Statut achitare\":\"Neachitat\",\"Mod achitare\":\"Transfer bancar\",\"Tip serviciu\":\"Reportaje fotografice\",\"Data \\u0219edin\\u021bei\":\"15.10.2026\",\"Data livr\\u0103rii lucr\\u0103rilor\":\"16.10.2026\",\"TVA\":\"Scutit\",\"ID\":\"32684595\",\"\\u0421\\u0434\\u0435\\u043b\\u043a\\u0430_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"UNDP 15\\/10\\/2026\",\"Lead_name\":\"UNDP 15\\/10\\/2026\",\"\\u0411\\u044e\\u0434\\u0436\\u0435\\u0442\":\"7800\",\"Budget\":\"7800\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"Marina Balan\",\"Responsible\":\"Marina Balan\"},\"\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442\":{\"Email\":\"laura.bohantova@undp.org\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"0685 11 883\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Laura Bohan\\u021bova\",\"Contact_name\":\"Laura Bohan\\u021bova\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"Marina Balan\",\"Responsible\":\"Marina Balan\"},\"contact\":{\"Email\":\"laura.bohantova@undp.org\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"0685 11 883\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Laura Bohan\\u021bova\",\"Contact_name\":\"Laura Bohan\\u021bova\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"Marina Balan\",\"Responsible\":\"Marina Balan\"},\"\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442\\u044b\":[{\"Email\":\"laura.bohantova@undp.org\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"0685 11 883\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Laura Bohan\\u021bova\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"Marina Balan\"}],\"\\u043a\\u043e\\u043c\\u043f\\u0430\\u043d\\u0438\\u044f\":{\"Cod fiscal\":\"12626016\",\"Banca\":\"JSCB EXIMBANK-Gruppo Veneto Banca Chi\\u0219in\\u0103u, Moldova, Branch 20\",\"Tip Companie\":\"A.O.\",\"\\u0410\\u0434\\u0440\\u0435\\u0441\":\"str. 31 august 1989 nr. 131, Chi\\u0219in\\u0103u, Republica Moldova\",\"Cod Bancar\":\"EXMMMD22477\",\"IBAN\":\"MD24EX0000002251440007MD\",\"TVA\":\"0\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"000\",\"Tip companie\":\"Cump\\u0103r\\u0103tor\",\"\\u041a\\u043e\\u043c\\u043f\\u0430\\u043d\\u0438\\u044f_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"United Nations Development Program (UNDP Moldova\\/ PNUD Moldova)\",\"Company_name\":\"United Nations Development Program (UNDP Moldova\\/ PNUD Moldova)\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"Marina Balan\",\"Responsible\":\"Marina Balan\"},\"company\":{\"Cod fiscal\":\"12626016\",\"Banca\":\"JSCB EXIMBANK-Gruppo Veneto Banca Chi\\u0219in\\u0103u, Moldova, Branch 20\",\"Tip Companie\":\"A.O.\",\"\\u0410\\u0434\\u0440\\u0435\\u0441\":\"str. 31 august 1989 nr. 131, Chi\\u0219in\\u0103u, Republica Moldova\",\"Cod Bancar\":\"EXMMMD22477\",\"IBAN\":\"MD24EX0000002251440007MD\",\"TVA\":\"0\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"000\",\"Tip companie\":\"Cump\\u0103r\\u0103tor\",\"\\u041a\\u043e\\u043c\\u043f\\u0430\\u043d\\u0438\\u044f_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"United Nations Development Program (UNDP Moldova\\/ PNUD Moldova)\",\"Company_name\":\"United Nations Development Program (UNDP Moldova\\/ PNUD Moldova)\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"Marina Balan\",\"Responsible\":\"Marina Balan\"},\"\\u0434\\u043e\\u043a\\u0443\\u043c\\u0435\\u043d\\u0442\":{\"\\u0414\\u0430\\u0442\\u0430\":\"16.10.2026\",\"\\u041d\\u043e\\u043c\\u0435\\u0440\":\"724\"},\"document\":{\"Date\":\"16.10.2026\",\"Number\":\"724\"},\"\\u0444\\u0430\\u043a\\u0442\\u0443\\u0440\\u043d\\u0430\\u044f \\u0447\\u0430\\u0441\\u0442\\u044c\":{\"order\":{\"use_nds\":\"0\",\"items\":[{\"name\":\"Reportaj fotografic 15\\/10\\/2026\",\"count\":\"1\",\"measure\":\"serv\",\"price\":\"7800\",\"discount\":\"0\",\"total_discount\":\"0\",\"total_price\":\"7800.00\"}],\"total_price\":\"7800.00\",\"total_discount\":\"0.00\",\"total_nds\":\"0.00\"}},\"invoice part\":{\"order\":{\"use_nds\":\"0\",\"items\":[{\"name\":\"Reportaj fotografic 15\\/10\\/2026\",\"count\":\"1\",\"measure\":\"serv\",\"price\":\"7800\",\"discount\":\"0\",\"total_discount\":\"0\",\"total_price\":\"7800.00\"}],\"total_price\":\"7800.00\",\"total_discount\":\"0.00\",\"total_nds\":\"0.00\"}}}}","edit":true}} {"uid":"4699d2f"}
[2026-10-16 12:00:46] docflow.DEBUG: GAS raw response {"raw":"[object] (stdClass: {\"code\":1,\"url\":\"https://docs.google.com/open?id=1PwMGUP9gzrr7cA_40HsplR152kmnjeREpJsHpFKGEIc\",\"file_id\":\"1PwMGUP9gzrr7cA_40HsplR152kmnjeREpJsHpFKGEIc\",\"error\":\"\",\"vars\":\"\"})"} {"uid":"4699d2f"}
[2026-10-16 12:00:46] docflow.WARNING: AmoDrive generated-file move is not ready. {"fileId":"1PwMGUP9gzrr7cA_40HsplR152kmnjeREpJsHpFKGEIc","context":null} {"uid":"4699d2f"}
[2026-10-16 12:01:56] docflow.INFO: Apel createDoc {"data":{"amoAccountId":"29548744","amoUserId":null,"amoEntityId":"32684595","amoEntityType":"2","templateId":"11477","corporateEntityId":"","settlementAccountId":"","is_signed":null,"gdi":null,"number":null,"currentAmoUserId":null,"lang":null}} {"uid":"17c2f48"}
[2026-10-16 12:01:56] docflow.INFO: Token is valid for account 29548744. [] {"uid":"17c2f48"}
[2026-10-16 12:01:56] docflow.DEBUG: getClientAuth returned {"auth":"[object] (stdClass: {\"domain\":\"schimbatorstudio.amocrm.ru\",\"access_token\":\"eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImp0aSI6IjYyOWZhMjBiNTYyZjRkYjM3NjQ4MDI1MDZlNWQ5N2NiYmViNmEzM2RjZWI2MmUyMTU2YWQwMTliODQyZTc2Zjg0MmRkOWE0YzZkZTYwMzQ5In0.eyJhdWQiOiJlOWY4NTA4NS05YzE2LTQ4YzktODU4YS0wMjliMmM4OWVlNWYiLCJqdGkiOiI2MjlmYTIwYjU2MmY0ZGIzNzY0ODAyNTA2ZTVkOTdjYmJlYjZhMzNkY2ViNjJlMjE1NmFkMDE5Yjg0MmU3NmY4NDJkZDlhNGM2ZGU2MDM0OSIsImlhdCI6MTc1MTM2OTk1MywibmJmIjoxNzUxMzY5OTUzLCJleHAiOjE4ODAxNTA0MDAsInN1YiI6IjcxNjcwMjgiLCJncmFudF90eXBlIjoiIiwiYWNjb3VudF9pZCI6Mjk1NDg3NDQsImJhc2VfZG9tYWluIjoiYW1vY3JtLnJ1IiwidmVyc2lvbiI6Miwic2NvcGVzIjpbImNybSIsImZpbGVzIiwiZmlsZXNfZGVsZXRlIiwibm90aWZpY2F0aW9ucyIsInB1c2hfbm90aWZpY2F0aW9ucyJdLCJoYXNoX3V1aWQiOiI2ZTY1ZDYzMC1hNmRhLTQ2ZmEtYWZlMy0zNTE0NGU5YzU4ZDIiLCJhcGlfZG9tYWluIjoiYXBpLWIuYW1vY3JtLnJ1In0.AAYuEBV80lIrOkUXCBqwd5bwr31EDN780mA9x8LmJlQR0WVsr_nq0ozYRgUDtCEbc4VMejlFae1b1vddi7tJE2AoB2fGLuGtDbvOhG1BXUeNy6yqZHlM8lBZz7v5yBbjr01BmYzD1uAPUJ29T59mWjuIbYOpJ4Ka6FfCWFh47ECJjbhv8xxfQjDZMagFSUyISsJIL2o_zSFG_uUKcaPnSaQLsEJuwxyolHPxtC5I-mm41iRgl6pjNfZCUS8dwUy5twYIizYnZeCUteBwrcrMwD5Ocgv9Irk0X4jYHlnOP5KWdguew7VbRSMkt_IpckRQRFC3a8OIx1FfyqpoFZ_1Qw\"})","file":"/home/ytvmclwh/document.amocrm.md/src/Models/Docs.php","line":121} {"uid":"17c2f48"}
[2026-10-16 12:02:00] docflow.DEBUG: AmoDrive docflow context request {"url":"https://google.emale.uno/api/docflow/google-context","query":{"account_id":"29548744","entity_id":"32684595","entity_type":"leads"}} {"uid":"17c2f48"}
[2026-10-16 12: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=29548744&amp;entity_id=32684595&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/16 12:02:00</td>\r\n</tr>\r\n</table>\r\n<hr><center>tengine</center>\r\n</body>\r\n</html>\r\n"} {"uid":"17c2f48"}
[2026-10-16 12:02:00] docflow.DEBUG: AmoDrive docflow context request {"url":"https://gd.glucose-dev.online/api/docflow/google-context","query":{"account_id":"29548744","entity_id":"32684595","entity_type":"leads"}} {"uid":"17c2f48"}
[2026-10-16 12:02: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":29548744,"entityId":"32684595","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":"17c2f48"}
[2026-10-16 12:02:01] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://google.emale.uno/api/docflow/prepare-generated-doc","payload":{"account_id":"29548744","entity_id":"32684595","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"17c2f48"}
[2026-10-16 12:02: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/16 12:02: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":"29548744","entity_id":"32684595","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"17c2f48"}
[2026-10-16 12:02:01] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://gd.glucose-dev.online/api/docflow/prepare-generated-doc","payload":{"account_id":"29548744","entity_id":"32684595","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"17c2f48"}
[2026-10-16 12:02: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\":29548744})","payload":{"account_id":"29548744","entity_id":"32684595","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"17c2f48"}
[2026-10-16 12:02:01] docflow.DEBUG: GAS request {"url":"https://script.google.com/macros/s/AKfycbwrvOJD46zkuoTzdhpc1kulhV8jRfgQBFZfQ121nkIip_k8yKit4xrbWTOzaJ-C-Yed6w/exec","body":{"templateFileId":"1-joxND8bCEDSaoRftBxf3x9z1WlBMAN0DyfDpscbqAk","accountId":"29548744","folderId":"1Us2AfskxgdA729xVr0F2vjZU9y5PlYDe","key":"~VTsK5dcnHc2cSSsjM$LFSjLlgbmJXwrp3R2P5nd","data":"{\"fileName\":\"Act de primire predare 739 20261016120200\",\"leadId\":\"32684595\",\"entities\":{\"\\u0441\\u0434\\u0435\\u043b\\u043a\\u0430\":{\"Sursa\":\"Client existent\",\"Statut achitare\":\"Neachitat\",\"Mod achitare\":\"Transfer bancar\",\"Tip serviciu\":\"Reportaje fotografice\",\"Data \\u0219edin\\u021bei\":\"15.10.2026\",\"Data livr\\u0103rii lucr\\u0103rilor\":\"16.10.2026\",\"TVA\":\"Scutit\",\"ID\":\"32684595\",\"\\u0421\\u0434\\u0435\\u043b\\u043a\\u0430_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"UNDP 15\\/10\\/2026\",\"Lead_name\":\"UNDP 15\\/10\\/2026\",\"\\u0411\\u044e\\u0434\\u0436\\u0435\\u0442\":\"7800\",\"Budget\":\"7800\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"Marina Balan\",\"Responsible\":\"Marina Balan\"},\"lead\":{\"Sursa\":\"Client existent\",\"Statut achitare\":\"Neachitat\",\"Mod achitare\":\"Transfer bancar\",\"Tip serviciu\":\"Reportaje fotografice\",\"Data \\u0219edin\\u021bei\":\"15.10.2026\",\"Data livr\\u0103rii lucr\\u0103rilor\":\"16.10.2026\",\"TVA\":\"Scutit\",\"ID\":\"32684595\",\"\\u0421\\u0434\\u0435\\u043b\\u043a\\u0430_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"UNDP 15\\/10\\/2026\",\"Lead_name\":\"UNDP 15\\/10\\/2026\",\"\\u0411\\u044e\\u0434\\u0436\\u0435\\u0442\":\"7800\",\"Budget\":\"7800\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"Marina Balan\",\"Responsible\":\"Marina Balan\"},\"\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442\":{\"Email\":\"laura.bohantova@undp.org\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"0685 11 883\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Laura Bohan\\u021bova\",\"Contact_name\":\"Laura Bohan\\u021bova\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"Marina Balan\",\"Responsible\":\"Marina Balan\"},\"contact\":{\"Email\":\"laura.bohantova@undp.org\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"0685 11 883\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Laura Bohan\\u021bova\",\"Contact_name\":\"Laura Bohan\\u021bova\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"Marina Balan\",\"Responsible\":\"Marina Balan\"},\"\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442\\u044b\":[{\"Email\":\"laura.bohantova@undp.org\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"0685 11 883\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Laura Bohan\\u021bova\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"Marina Balan\"}],\"\\u043a\\u043e\\u043c\\u043f\\u0430\\u043d\\u0438\\u044f\":{\"Cod fiscal\":\"12626016\",\"Banca\":\"JSCB EXIMBANK-Gruppo Veneto Banca Chi\\u0219in\\u0103u, Moldova, Branch 20\",\"Tip Companie\":\"A.O.\",\"\\u0410\\u0434\\u0440\\u0435\\u0441\":\"str. 31 august 1989 nr. 131, Chi\\u0219in\\u0103u, Republica Moldova\",\"Cod Bancar\":\"EXMMMD22477\",\"IBAN\":\"MD24EX0000002251440007MD\",\"TVA\":\"0\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"000\",\"Tip companie\":\"Cump\\u0103r\\u0103tor\",\"\\u041a\\u043e\\u043c\\u043f\\u0430\\u043d\\u0438\\u044f_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"United Nations Development Program (UNDP Moldova\\/ PNUD Moldova)\",\"Company_name\":\"United Nations Development Program (UNDP Moldova\\/ PNUD Moldova)\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"Marina Balan\",\"Responsible\":\"Marina Balan\"},\"company\":{\"Cod fiscal\":\"12626016\",\"Banca\":\"JSCB EXIMBANK-Gruppo Veneto Banca Chi\\u0219in\\u0103u, Moldova, Branch 20\",\"Tip Companie\":\"A.O.\",\"\\u0410\\u0434\\u0440\\u0435\\u0441\":\"str. 31 august 1989 nr. 131, Chi\\u0219in\\u0103u, Republica Moldova\",\"Cod Bancar\":\"EXMMMD22477\",\"IBAN\":\"MD24EX0000002251440007MD\",\"TVA\":\"0\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"000\",\"Tip companie\":\"Cump\\u0103r\\u0103tor\",\"\\u041a\\u043e\\u043c\\u043f\\u0430\\u043d\\u0438\\u044f_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"United Nations Development Program (UNDP Moldova\\/ PNUD Moldova)\",\"Company_name\":\"United Nations Development Program (UNDP Moldova\\/ PNUD Moldova)\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"Marina Balan\",\"Responsible\":\"Marina Balan\"},\"\\u0434\\u043e\\u043a\\u0443\\u043c\\u0435\\u043d\\u0442\":{\"\\u0414\\u0430\\u0442\\u0430\":\"16.10.2026\",\"\\u041d\\u043e\\u043c\\u0435\\u0440\":\"739\"},\"document\":{\"Date\":\"16.10.2026\",\"Number\":\"739\"},\"\\u0444\\u0430\\u043a\\u0442\\u0443\\u0440\\u043d\\u0430\\u044f \\u0447\\u0430\\u0441\\u0442\\u044c\":{\"order\":{\"use_nds\":\"0\",\"items\":[{\"name\":\"Reportaj fotografic 15\\/10\\/2026\",\"count\":\"1\",\"measure\":\"serv\",\"price\":\"7800\",\"discount\":\"0\",\"total_discount\":\"0\",\"total_price\":\"7800.00\"}],\"total_price\":\"7800.00\",\"total_discount\":\"0.00\",\"total_nds\":\"0.00\"}},\"invoice part\":{\"order\":{\"use_nds\":\"0\",\"items\":[{\"name\":\"Reportaj fotografic 15\\/10\\/2026\",\"count\":\"1\",\"measure\":\"serv\",\"price\":\"7800\",\"discount\":\"0\",\"total_discount\":\"0\",\"total_price\":\"7800.00\"}],\"total_price\":\"7800.00\",\"total_discount\":\"0.00\",\"total_nds\":\"0.00\"}}}}","edit":true}} {"uid":"17c2f48"}
[2026-10-16 12:02:08] docflow.DEBUG: GAS raw response {"raw":"[object] (stdClass: {\"code\":1,\"url\":\"https://docs.google.com/open?id=1EbbUYyN77lE7HFG7mVP5zz-Wa60SqGrvwBMPC_OhbBk\",\"file_id\":\"1EbbUYyN77lE7HFG7mVP5zz-Wa60SqGrvwBMPC_OhbBk\",\"error\":\"\",\"vars\":\"\"})"} {"uid":"17c2f48"}
[2026-10-16 12:02:08] docflow.WARNING: AmoDrive generated-file move is not ready. {"fileId":"1EbbUYyN77lE7HFG7mVP5zz-Wa60SqGrvwBMPC_OhbBk","context":null} {"uid":"17c2f48"}
[2026-10-16 12:06:46] docflow.INFO: Apel createDoc {"data":{"amoAccountId":"22699852","amoUserId":null,"amoEntityId":"42836876","amoEntityType":"2","templateId":"11500","corporateEntityId":"","settlementAccountId":"","is_signed":null,"gdi":null,"number":null,"currentAmoUserId":null,"lang":"ru"}} {"uid":"ad3eef5"}
[2026-10-16 12:06:46] docflow.INFO: Token is valid for account 22699852. [] {"uid":"ad3eef5"}
[2026-10-16 12:06:46] docflow.DEBUG: getClientAuth returned {"auth":"[object] (stdClass: {\"domain\":\"emigrare.amocrm.ru\",\"access_token\":\"eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImp0aSI6ImRjNmE4MjY0MDY3ODYzMzk2ZjU5NDFkYWYyOTVhMGY5NDgxZDI5YmI3YWVhNThmNjUzMzQ0OTU0MWZjNzAxMjM1ZjU1OGE2OWEzYzZlN2RkIn0.eyJhdWQiOiIwZDY0ZGZmYi1lNTRiLTQ0OGYtOWZiZi1iYWYyMjUxYTExZGIiLCJqdGkiOiJkYzZhODI2NDA2Nzg2MzM5NmY1OTQxZGFmMjk1YTBmOTQ4MWQyOWJiN2FlYTU4ZjY1MzM0NDk1NDFmYzcwMTIzNWY1NThhNjlhM2M2ZTdkZCIsImlhdCI6MTc5MjA2MzgxMCwibmJmIjoxNzkyMDYzODEwLCJleHAiOjE3OTIxNTAyMTAsInN1YiI6IjI5MzAzODAiLCJncmFudF90eXBlIjoiIiwiYWNjb3VudF9pZCI6MjI2OTk4NTIsImJhc2VfZG9tYWluIjoiYW1vY3JtLnJ1IiwidmVyc2lvbiI6Miwic2NvcGVzIjpbInB1c2hfbm90aWZpY2F0aW9ucyIsImNybSIsIm5vdGlmaWNhdGlvbnMiXSwiaGFzaF91dWlkIjoiZTc4ODM2NTctODc0Yy00OWYxLWEzN2MtMzU4ODQ3Mzk2YThhIiwiYXBpX2RvbWFpbiI6ImFwaS1hLmFtb2NybS5ydSJ9.E3iFP8u4Jr2lbn2B8RbKrJsSP5s5QjFs1uUVa-FVughubNeotLJI0i3tZhHt2GKd8sINja9NadcCYexfP_CbZJ1CsQV3698uhDnb9okvzFZF6JUmw1MGXIMfKg2RG5g5nfBoyVnBoClfXvoK0yTt_xRmbqUVfmJ3rwlq0KLG5nGsevUDM3CzOsqoi2l6NETm39iiF6uE3Lav-tZ0ME4oajMHOrxvWiwrOIyax0qiMC_ylJWvBiJyfO4_dxdw9R1iLs4kjrrs9BTfIFHlduS1fn45f-8l3Y4Mwo-a0Ef8OOO_iJeJf5ml5SRMpu6ve6qqDEMsJrzwk6II6wQnCp30xw\"})","file":"/home/ytvmclwh/document.amocrm.md/src/Models/Docs.php","line":121} {"uid":"ad3eef5"}
[2026-10-16 12:06:49] docflow.DEBUG: AmoDrive docflow context request {"url":"https://google.emale.uno/api/docflow/google-context","query":{"account_id":"22699852","entity_id":"42836876","entity_type":"leads"}} {"uid":"ad3eef5"}
[2026-10-16 12:06: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=42836876&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/16 12:06:49</td>\r\n</tr>\r\n</table>\r\n<hr><center>tengine</center>\r\n</body>\r\n</html>\r\n"} {"uid":"ad3eef5"}
[2026-10-16 12:06:49] docflow.DEBUG: AmoDrive docflow context request {"url":"https://gd.glucose-dev.online/api/docflow/google-context","query":{"account_id":"22699852","entity_id":"42836876","entity_type":"leads"}} {"uid":"ad3eef5"}
[2026-10-16 12:06: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":"42836876","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":309,"isLifetime":false},"licenseActive":false,"googleConnected":false,"googleEmail":null,"googleHasDriveScope":false,"googleHasDriveFileScope":false,"googleHasOwnershipScope":false,"readyForGeneratedFileMove":false,"readyForTransfer":false},"folder":{"id":"1bv9efQQRxs2WJR5kzlCKp4Se6ZQ7HZzf","name":"42836876 - Lead #42836876","webViewLink":"https://drive.google.com/drive/folders/1bv9efQQRxs2WJR5kzlCKp4Se6ZQ7HZzf"}}} {"uid":"ad3eef5"}
[2026-10-16 12:06:49] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://google.emale.uno/api/docflow/prepare-generated-doc","payload":{"account_id":"22699852","entity_id":"42836876","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"ad3eef5"}
[2026-10-16 12:06: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/16 12:06: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":"42836876","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"ad3eef5"}
[2026-10-16 12:06: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":"42836876","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"ad3eef5"}
[2026-10-16 12:06:49] docflow.WARNING: AmoDrive prepare-generated-doc request failed {"url":"https://gd.glucose-dev.online/api/docflow/prepare-generated-doc","http_code":null,"error":"HTTP/2 404 ","response":"[object] (stdClass: {\"ok\":false,\"error\":\"AmoDrive is not installed for this account.\",\"accountId\":22699852})","payload":{"account_id":"22699852","entity_id":"42836876","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"ad3eef5"}
[2026-10-16 12:06:49] 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 724 20261016120649\",\"leadId\":\"42836876\",\"entities\":{\"\\u0441\\u0434\\u0435\\u043b\\u043a\\u0430\":{\"Brand\":\"Emigrare.md\",\"Shema\":\"Emigrare\",\"Suma \\u20ac\":\"0\",\"tree_name\":\"Emigrare\",\"Categorie Serviciu\":\"Alte servicii RO\",\"Serviciu solicitat\":\"1520104\",\"Temperatura client\":\"Fierbinte\",\"#Manager Front\":\"Capanji Igor\",\"Loca\\u021bia Curent\\u0103\":\"Moldova\",\"Canal de comunicare\":\"Whatsapp, Viber, Telegram\",\"Tip proces\":\"Scurt\",\"ID\":\"42836876\",\"\\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\":\"0\",\"Budget\":\"0\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"Capanji Igor\",\"Responsible\":\"Capanji Igor\"},\"lead\":{\"Brand\":\"Emigrare.md\",\"Shema\":\"Emigrare\",\"Suma \\u20ac\":\"0\",\"tree_name\":\"Emigrare\",\"Categorie Serviciu\":\"Alte servicii RO\",\"Serviciu solicitat\":\"1520104\",\"Temperatura client\":\"Fierbinte\",\"#Manager Front\":\"Capanji Igor\",\"Loca\\u021bia Curent\\u0103\":\"Moldova\",\"Canal de comunicare\":\"Whatsapp, Viber, Telegram\",\"Tip proces\":\"Scurt\",\"ID\":\"42836876\",\"\\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\":\"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\":{\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"37360081675\",\"Email\":\"-\",\"Limba vorbita\":\"Romana\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Virginia Galben\",\"Contact_name\":\"Virginia Galben\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"Capanji Igor\",\"Responsible\":\"Capanji Igor\"},\"contact\":{\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"37360081675\",\"Email\":\"-\",\"Limba vorbita\":\"Romana\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Virginia Galben\",\"Contact_name\":\"Virginia Galben\",\"\\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\\u044b\":[{\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"37360081675\",\"Email\":\"-\",\"Limba vorbita\":\"Romana\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Virginia Galben\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"Capanji Igor\"}],\"\\u0434\\u043e\\u043a\\u0443\\u043c\\u0435\\u043d\\u0442\":{\"\\u0414\\u0430\\u0442\\u0430\":\"16.10.2026\",\"\\u041d\\u043e\\u043c\\u0435\\u0440\":\"724\"},\"document\":{\"Date\":\"16.10.2026\",\"Number\":\"724\"}}}","edit":true}} {"uid":"ad3eef5"}
[2026-10-16 12:06:56] docflow.DEBUG: GAS raw response {"raw":"[object] (stdClass: {\"code\":1,\"url\":\"https://docs.google.com/open?id=11Kk-ZgkeyuS7EgqWiRTXM1rIIniUMkcdvIkTkVBM_hs\",\"file_id\":\"11Kk-ZgkeyuS7EgqWiRTXM1rIIniUMkcdvIkTkVBM_hs\",\"error\":\"\",\"vars\":\"\"})"} {"uid":"ad3eef5"}
[2026-10-16 12:06:56] docflow.WARNING: AmoDrive generated-file move is not ready. {"fileId":"11Kk-ZgkeyuS7EgqWiRTXM1rIIniUMkcdvIkTkVBM_hs","context":null} {"uid":"ad3eef5"}
[2026-10-16 12:08:41] docflow.INFO: Apel createDoc {"data":{"amoAccountId":"22699852","amoUserId":null,"amoEntityId":"42836876","amoEntityType":"2","templateId":"11505","corporateEntityId":"","settlementAccountId":"","is_signed":null,"gdi":null,"number":null,"currentAmoUserId":null,"lang":"ru"}} {"uid":"6741d3f"}
[2026-10-16 12:08:41] docflow.INFO: Token is valid for account 22699852. [] {"uid":"6741d3f"}
[2026-10-16 12:08:41] docflow.DEBUG: getClientAuth returned {"auth":"[object] (stdClass: {\"domain\":\"emigrare.amocrm.ru\",\"access_token\":\"eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImp0aSI6ImRjNmE4MjY0MDY3ODYzMzk2ZjU5NDFkYWYyOTVhMGY5NDgxZDI5YmI3YWVhNThmNjUzMzQ0OTU0MWZjNzAxMjM1ZjU1OGE2OWEzYzZlN2RkIn0.eyJhdWQiOiIwZDY0ZGZmYi1lNTRiLTQ0OGYtOWZiZi1iYWYyMjUxYTExZGIiLCJqdGkiOiJkYzZhODI2NDA2Nzg2MzM5NmY1OTQxZGFmMjk1YTBmOTQ4MWQyOWJiN2FlYTU4ZjY1MzM0NDk1NDFmYzcwMTIzNWY1NThhNjlhM2M2ZTdkZCIsImlhdCI6MTc5MjA2MzgxMCwibmJmIjoxNzkyMDYzODEwLCJleHAiOjE3OTIxNTAyMTAsInN1YiI6IjI5MzAzODAiLCJncmFudF90eXBlIjoiIiwiYWNjb3VudF9pZCI6MjI2OTk4NTIsImJhc2VfZG9tYWluIjoiYW1vY3JtLnJ1IiwidmVyc2lvbiI6Miwic2NvcGVzIjpbInB1c2hfbm90aWZpY2F0aW9ucyIsImNybSIsIm5vdGlmaWNhdGlvbnMiXSwiaGFzaF91dWlkIjoiZTc4ODM2NTctODc0Yy00OWYxLWEzN2MtMzU4ODQ3Mzk2YThhIiwiYXBpX2RvbWFpbiI6ImFwaS1hLmFtb2NybS5ydSJ9.E3iFP8u4Jr2lbn2B8RbKrJsSP5s5QjFs1uUVa-FVughubNeotLJI0i3tZhHt2GKd8sINja9NadcCYexfP_CbZJ1CsQV3698uhDnb9okvzFZF6JUmw1MGXIMfKg2RG5g5nfBoyVnBoClfXvoK0yTt_xRmbqUVfmJ3rwlq0KLG5nGsevUDM3CzOsqoi2l6NETm39iiF6uE3Lav-tZ0ME4oajMHOrxvWiwrOIyax0qiMC_ylJWvBiJyfO4_dxdw9R1iLs4kjrrs9BTfIFHlduS1fn45f-8l3Y4Mwo-a0Ef8OOO_iJeJf5ml5SRMpu6ve6qqDEMsJrzwk6II6wQnCp30xw\"})","file":"/home/ytvmclwh/document.amocrm.md/src/Models/Docs.php","line":121} {"uid":"6741d3f"}
[2026-10-16 12:08:43] docflow.DEBUG: AmoDrive docflow context request {"url":"https://google.emale.uno/api/docflow/google-context","query":{"account_id":"22699852","entity_id":"42836876","entity_type":"leads"}} {"uid":"6741d3f"}
[2026-10-16 12: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=22699852&amp;entity_id=42836876&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/16 12:08:43</td>\r\n</tr>\r\n</table>\r\n<hr><center>tengine</center>\r\n</body>\r\n</html>\r\n"} {"uid":"6741d3f"}
[2026-10-16 12:08:43] docflow.DEBUG: AmoDrive docflow context request {"url":"https://gd.glucose-dev.online/api/docflow/google-context","query":{"account_id":"22699852","entity_id":"42836876","entity_type":"leads"}} {"uid":"6741d3f"}
[2026-10-16 12: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":22699852,"entityId":"42836876","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":309,"isLifetime":false},"licenseActive":false,"googleConnected":false,"googleEmail":null,"googleHasDriveScope":false,"googleHasDriveFileScope":false,"googleHasOwnershipScope":false,"readyForGeneratedFileMove":false,"readyForTransfer":false},"folder":{"id":"1bv9efQQRxs2WJR5kzlCKp4Se6ZQ7HZzf","name":"42836876 - Lead #42836876","webViewLink":"https://drive.google.com/drive/folders/1bv9efQQRxs2WJR5kzlCKp4Se6ZQ7HZzf"}}} {"uid":"6741d3f"}
[2026-10-16 12:08:43] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://google.emale.uno/api/docflow/prepare-generated-doc","payload":{"account_id":"22699852","entity_id":"42836876","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"6741d3f"}
[2026-10-16 12: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/16 12: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":"22699852","entity_id":"42836876","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"6741d3f"}
[2026-10-16 12:08:43] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://gd.glucose-dev.online/api/docflow/prepare-generated-doc","payload":{"account_id":"22699852","entity_id":"42836876","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"6741d3f"}
[2026-10-16 12: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\":22699852})","payload":{"account_id":"22699852","entity_id":"42836876","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"6741d3f"}
[2026-10-16 12:08:43] 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) 40 20261016120843\",\"leadId\":\"42836876\",\"entities\":{\"\\u0441\\u0434\\u0435\\u043b\\u043a\\u0430\":{\"Brand\":\"Emigrare.md\",\"Shema\":\"Emigrare\",\"Suma \\u20ac\":\"0\",\"tree_name\":\"Emigrare\",\"Categorie Serviciu\":\"Alte servicii RO\",\"Serviciu solicitat\":\"1520104\",\"Temperatura client\":\"Fierbinte\",\"#Manager Front\":\"Capanji Igor\",\"Loca\\u021bia Curent\\u0103\":\"Moldova\",\"Canal de comunicare\":\"Whatsapp, Viber, Telegram\",\"Tip proces\":\"Scurt\",\"ID\":\"42836876\",\"\\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\":\"0\",\"Budget\":\"0\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"Capanji Igor\",\"Responsible\":\"Capanji Igor\"},\"lead\":{\"Brand\":\"Emigrare.md\",\"Shema\":\"Emigrare\",\"Suma \\u20ac\":\"0\",\"tree_name\":\"Emigrare\",\"Categorie Serviciu\":\"Alte servicii RO\",\"Serviciu solicitat\":\"1520104\",\"Temperatura client\":\"Fierbinte\",\"#Manager Front\":\"Capanji Igor\",\"Loca\\u021bia Curent\\u0103\":\"Moldova\",\"Canal de comunicare\":\"Whatsapp, Viber, Telegram\",\"Tip proces\":\"Scurt\",\"ID\":\"42836876\",\"\\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\":\"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\":{\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"37360081675\",\"Email\":\"-\",\"Limba vorbita\":\"Romana\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Virginia Galben\",\"Contact_name\":\"Virginia Galben\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"Capanji Igor\",\"Responsible\":\"Capanji Igor\"},\"contact\":{\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"37360081675\",\"Email\":\"-\",\"Limba vorbita\":\"Romana\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Virginia Galben\",\"Contact_name\":\"Virginia Galben\",\"\\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\\u044b\":[{\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"37360081675\",\"Email\":\"-\",\"Limba vorbita\":\"Romana\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Virginia Galben\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"Capanji Igor\"}],\"\\u0434\\u043e\\u043a\\u0443\\u043c\\u0435\\u043d\\u0442\":{\"\\u0414\\u0430\\u0442\\u0430\":\"16.10.2026\",\"\\u041d\\u043e\\u043c\\u0435\\u0440\":\"40\"},\"document\":{\"Date\":\"16.10.2026\",\"Number\":\"40\"}}}","edit":true}} {"uid":"6741d3f"}
[2026-10-16 12:08:50] docflow.DEBUG: GAS raw response {"raw":"[object] (stdClass: {\"code\":1,\"url\":\"https://docs.google.com/open?id=1m-RJgWXTOhelZrwHMmSnXxyg69G_72X-UPUstyzELfs\",\"file_id\":\"1m-RJgWXTOhelZrwHMmSnXxyg69G_72X-UPUstyzELfs\",\"error\":\"\",\"vars\":\"\"})"} {"uid":"6741d3f"}
[2026-10-16 12:08:50] docflow.WARNING: AmoDrive generated-file move is not ready. {"fileId":"1m-RJgWXTOhelZrwHMmSnXxyg69G_72X-UPUstyzELfs","context":null} {"uid":"6741d3f"}
[2026-10-16 12:20:08] docflow.INFO: Apel createDoc {"data":{"amoAccountId":"22699852","amoUserId":null,"amoEntityId":"42861980","amoEntityType":"2","templateId":"11492","corporateEntityId":"","settlementAccountId":"","is_signed":null,"gdi":null,"number":null,"currentAmoUserId":null,"lang":"ru"}} {"uid":"9d22219"}
[2026-10-16 12:20:09] docflow.INFO: Token is valid for account 22699852. [] {"uid":"9d22219"}
[2026-10-16 12:20:09] docflow.DEBUG: getClientAuth returned {"auth":"[object] (stdClass: {\"domain\":\"emigrare.amocrm.ru\",\"access_token\":\"eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImp0aSI6ImRjNmE4MjY0MDY3ODYzMzk2ZjU5NDFkYWYyOTVhMGY5NDgxZDI5YmI3YWVhNThmNjUzMzQ0OTU0MWZjNzAxMjM1ZjU1OGE2OWEzYzZlN2RkIn0.eyJhdWQiOiIwZDY0ZGZmYi1lNTRiLTQ0OGYtOWZiZi1iYWYyMjUxYTExZGIiLCJqdGkiOiJkYzZhODI2NDA2Nzg2MzM5NmY1OTQxZGFmMjk1YTBmOTQ4MWQyOWJiN2FlYTU4ZjY1MzM0NDk1NDFmYzcwMTIzNWY1NThhNjlhM2M2ZTdkZCIsImlhdCI6MTc5MjA2MzgxMCwibmJmIjoxNzkyMDYzODEwLCJleHAiOjE3OTIxNTAyMTAsInN1YiI6IjI5MzAzODAiLCJncmFudF90eXBlIjoiIiwiYWNjb3VudF9pZCI6MjI2OTk4NTIsImJhc2VfZG9tYWluIjoiYW1vY3JtLnJ1IiwidmVyc2lvbiI6Miwic2NvcGVzIjpbInB1c2hfbm90aWZpY2F0aW9ucyIsImNybSIsIm5vdGlmaWNhdGlvbnMiXSwiaGFzaF91dWlkIjoiZTc4ODM2NTctODc0Yy00OWYxLWEzN2MtMzU4ODQ3Mzk2YThhIiwiYXBpX2RvbWFpbiI6ImFwaS1hLmFtb2NybS5ydSJ9.E3iFP8u4Jr2lbn2B8RbKrJsSP5s5QjFs1uUVa-FVughubNeotLJI0i3tZhHt2GKd8sINja9NadcCYexfP_CbZJ1CsQV3698uhDnb9okvzFZF6JUmw1MGXIMfKg2RG5g5nfBoyVnBoClfXvoK0yTt_xRmbqUVfmJ3rwlq0KLG5nGsevUDM3CzOsqoi2l6NETm39iiF6uE3Lav-tZ0ME4oajMHOrxvWiwrOIyax0qiMC_ylJWvBiJyfO4_dxdw9R1iLs4kjrrs9BTfIFHlduS1fn45f-8l3Y4Mwo-a0Ef8OOO_iJeJf5ml5SRMpu6ve6qqDEMsJrzwk6II6wQnCp30xw\"})","file":"/home/ytvmclwh/document.amocrm.md/src/Models/Docs.php","line":121} {"uid":"9d22219"}
[2026-10-16 12:20:11] docflow.DEBUG: AmoDrive docflow context request {"url":"https://google.emale.uno/api/docflow/google-context","query":{"account_id":"22699852","entity_id":"42861980","entity_type":"leads"}} {"uid":"9d22219"}
[2026-10-16 12:20: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=22699852&amp;entity_id=42861980&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/16 12:20:12</td>\r\n</tr>\r\n</table>\r\n<hr><center>tengine</center>\r\n</body>\r\n</html>\r\n"} {"uid":"9d22219"}
[2026-10-16 12:20:12] docflow.DEBUG: AmoDrive docflow context request {"url":"https://gd.glucose-dev.online/api/docflow/google-context","query":{"account_id":"22699852","entity_id":"42861980","entity_type":"leads"}} {"uid":"9d22219"}
[2026-10-16 12:20: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":22699852,"entityId":"42861980","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":309,"isLifetime":false},"licenseActive":false,"googleConnected":false,"googleEmail":null,"googleHasDriveScope":false,"googleHasDriveFileScope":false,"googleHasOwnershipScope":false,"readyForGeneratedFileMove":false,"readyForTransfer":false},"folder":{"id":"1ARjJhB2JsO-YdjwTmrpHuv2wBY5R02U2","name":"42861980 - Lead #42861980","webViewLink":"https://drive.google.com/drive/folders/1ARjJhB2JsO-YdjwTmrpHuv2wBY5R02U2"}}} {"uid":"9d22219"}
[2026-10-16 12:20:12] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://google.emale.uno/api/docflow/prepare-generated-doc","payload":{"account_id":"22699852","entity_id":"42861980","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"9d22219"}
[2026-10-16 12:20: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/16 12:20: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":"22699852","entity_id":"42861980","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"9d22219"}
[2026-10-16 12:20:12] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://gd.glucose-dev.online/api/docflow/prepare-generated-doc","payload":{"account_id":"22699852","entity_id":"42861980","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"9d22219"}
[2026-10-16 12:20: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\":22699852})","payload":{"account_id":"22699852","entity_id":"42861980","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"9d22219"}
[2026-10-16 12:20:12] docflow.DEBUG: GAS request {"url":"https://script.google.com/macros/s/AKfycbwrvOJD46zkuoTzdhpc1kulhV8jRfgQBFZfQ121nkIip_k8yKit4xrbWTOzaJ-C-Yed6w/exec","body":{"templateFileId":"1FKXK35jtKpiduD-kqwGdMh_qii__EQs9wkQ6iT0Ii0o","accountId":"22699852","folderId":"1Us2AfskxgdA729xVr0F2vjZU9y5PlYDe","key":"~VTsK5dcnHc2cSSsjM$LFSjLlgbmJXwrp3R2P5nd","data":"{\"fileName\":\"Domiciliu 481 20261016122011\",\"leadId\":\"42861980\",\"entities\":{\"\\u0441\\u0434\\u0435\\u043b\\u043a\\u0430\":{\"ID\":\"42861980\",\"\\u0421\\u0434\\u0435\\u043b\\u043a\\u0430_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Prelunigre domiciliu (22.09.25 - 22.09.26)\",\"Lead_name\":\"Prelunigre domiciliu (22.09.25 - 22.09.26)\",\"\\u0411\\u044e\\u0434\\u0436\\u0435\\u0442\":\"350\",\"Budget\":\"350\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"Cezara Cenusa\",\"Responsible\":\"Cezara Cenusa\"},\"lead\":{\"ID\":\"42861980\",\"\\u0421\\u0434\\u0435\\u043b\\u043a\\u0430_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Prelunigre domiciliu (22.09.25 - 22.09.26)\",\"Lead_name\":\"Prelunigre domiciliu (22.09.25 - 22.09.26)\",\"\\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\":\"+375295983333\",\"Email\":\"Darya.polynskaya@hotmail.com\",\"Limba vorbita\":\"Rusa\",\"TelegramId_WZ\":\"335990721\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Darya Maskina\",\"Contact_name\":\"Darya Maskina\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"Victor Ochinciuc\",\"Responsible\":\"Victor Ochinciuc\"},\"contact\":{\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"+375295983333\",\"Email\":\"Darya.polynskaya@hotmail.com\",\"Limba vorbita\":\"Rusa\",\"TelegramId_WZ\":\"335990721\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Darya Maskina\",\"Contact_name\":\"Darya Maskina\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"Victor Ochinciuc\",\"Responsible\":\"Victor Ochinciuc\"},\"\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442\\u044b\":[{\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"+375295983333\",\"Email\":\"Darya.polynskaya@hotmail.com\",\"Limba vorbita\":\"Rusa\",\"TelegramId_WZ\":\"335990721\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Darya Maskina\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"Victor Ochinciuc\"}],\"\\u0434\\u043e\\u043a\\u0443\\u043c\\u0435\\u043d\\u0442\":{\"\\u0414\\u0430\\u0442\\u0430\":\"16.10.2026\",\"\\u041d\\u043e\\u043c\\u0435\\u0440\":\"481\"},\"document\":{\"Date\":\"16.10.2026\",\"Number\":\"481\"}}}","edit":true}} {"uid":"9d22219"}
[2026-10-16 12:20:20] docflow.DEBUG: GAS raw response {"raw":"[object] (stdClass: {\"code\":1,\"url\":\"https://docs.google.com/open?id=1Pkys31QJb5Ls3rIt_-2HfSGGn08OIIv2yJXXH10RTdI\",\"file_id\":\"1Pkys31QJb5Ls3rIt_-2HfSGGn08OIIv2yJXXH10RTdI\",\"error\":\"\",\"vars\":\"\"})"} {"uid":"9d22219"}
[2026-10-16 12:20:20] docflow.WARNING: AmoDrive generated-file move is not ready. {"fileId":"1Pkys31QJb5Ls3rIt_-2HfSGGn08OIIv2yJXXH10RTdI","context":null} {"uid":"9d22219"}
[2026-10-16 12:22:44] docflow.INFO: Apel createDoc {"data":{"amoAccountId":"22699852","amoUserId":null,"amoEntityId":"42861980","amoEntityType":"2","templateId":"11500","corporateEntityId":"","settlementAccountId":"","is_signed":null,"gdi":null,"number":null,"currentAmoUserId":null,"lang":"ru"}} {"uid":"eb3939c"}
[2026-10-16 12:22:45] docflow.INFO: Token is valid for account 22699852. [] {"uid":"eb3939c"}
[2026-10-16 12:22:45] docflow.DEBUG: getClientAuth returned {"auth":"[object] (stdClass: {\"domain\":\"emigrare.amocrm.ru\",\"access_token\":\"eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImp0aSI6ImRjNmE4MjY0MDY3ODYzMzk2ZjU5NDFkYWYyOTVhMGY5NDgxZDI5YmI3YWVhNThmNjUzMzQ0OTU0MWZjNzAxMjM1ZjU1OGE2OWEzYzZlN2RkIn0.eyJhdWQiOiIwZDY0ZGZmYi1lNTRiLTQ0OGYtOWZiZi1iYWYyMjUxYTExZGIiLCJqdGkiOiJkYzZhODI2NDA2Nzg2MzM5NmY1OTQxZGFmMjk1YTBmOTQ4MWQyOWJiN2FlYTU4ZjY1MzM0NDk1NDFmYzcwMTIzNWY1NThhNjlhM2M2ZTdkZCIsImlhdCI6MTc5MjA2MzgxMCwibmJmIjoxNzkyMDYzODEwLCJleHAiOjE3OTIxNTAyMTAsInN1YiI6IjI5MzAzODAiLCJncmFudF90eXBlIjoiIiwiYWNjb3VudF9pZCI6MjI2OTk4NTIsImJhc2VfZG9tYWluIjoiYW1vY3JtLnJ1IiwidmVyc2lvbiI6Miwic2NvcGVzIjpbInB1c2hfbm90aWZpY2F0aW9ucyIsImNybSIsIm5vdGlmaWNhdGlvbnMiXSwiaGFzaF91dWlkIjoiZTc4ODM2NTctODc0Yy00OWYxLWEzN2MtMzU4ODQ3Mzk2YThhIiwiYXBpX2RvbWFpbiI6ImFwaS1hLmFtb2NybS5ydSJ9.E3iFP8u4Jr2lbn2B8RbKrJsSP5s5QjFs1uUVa-FVughubNeotLJI0i3tZhHt2GKd8sINja9NadcCYexfP_CbZJ1CsQV3698uhDnb9okvzFZF6JUmw1MGXIMfKg2RG5g5nfBoyVnBoClfXvoK0yTt_xRmbqUVfmJ3rwlq0KLG5nGsevUDM3CzOsqoi2l6NETm39iiF6uE3Lav-tZ0ME4oajMHOrxvWiwrOIyax0qiMC_ylJWvBiJyfO4_dxdw9R1iLs4kjrrs9BTfIFHlduS1fn45f-8l3Y4Mwo-a0Ef8OOO_iJeJf5ml5SRMpu6ve6qqDEMsJrzwk6II6wQnCp30xw\"})","file":"/home/ytvmclwh/document.amocrm.md/src/Models/Docs.php","line":121} {"uid":"eb3939c"}
[2026-10-16 12:22:47] docflow.DEBUG: AmoDrive docflow context request {"url":"https://google.emale.uno/api/docflow/google-context","query":{"account_id":"22699852","entity_id":"42861980","entity_type":"leads"}} {"uid":"eb3939c"}
[2026-10-16 12:22: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=22699852&amp;entity_id=42861980&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/16 12:22:47</td>\r\n</tr>\r\n</table>\r\n<hr><center>tengine</center>\r\n</body>\r\n</html>\r\n"} {"uid":"eb3939c"}
[2026-10-16 12:22:47] docflow.DEBUG: AmoDrive docflow context request {"url":"https://gd.glucose-dev.online/api/docflow/google-context","query":{"account_id":"22699852","entity_id":"42861980","entity_type":"leads"}} {"uid":"eb3939c"}
[2026-10-16 12:22: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":22699852,"entityId":"42861980","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":309,"isLifetime":false},"licenseActive":false,"googleConnected":false,"googleEmail":null,"googleHasDriveScope":false,"googleHasDriveFileScope":false,"googleHasOwnershipScope":false,"readyForGeneratedFileMove":false,"readyForTransfer":false},"folder":{"id":"1ARjJhB2JsO-YdjwTmrpHuv2wBY5R02U2","name":"42861980 - Lead #42861980","webViewLink":"https://drive.google.com/drive/folders/1ARjJhB2JsO-YdjwTmrpHuv2wBY5R02U2"}}} {"uid":"eb3939c"}
[2026-10-16 12:22:47] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://google.emale.uno/api/docflow/prepare-generated-doc","payload":{"account_id":"22699852","entity_id":"42861980","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"eb3939c"}
[2026-10-16 12:22: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/16 12:22: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":"22699852","entity_id":"42861980","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"eb3939c"}
[2026-10-16 12:22:47] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://gd.glucose-dev.online/api/docflow/prepare-generated-doc","payload":{"account_id":"22699852","entity_id":"42861980","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"eb3939c"}
[2026-10-16 12:22: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\":22699852})","payload":{"account_id":"22699852","entity_id":"42861980","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"eb3939c"}
[2026-10-16 12:22:47] 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 725 20261016122247\",\"leadId\":\"42861980\",\"entities\":{\"\\u0441\\u0434\\u0435\\u043b\\u043a\\u0430\":{\"ID\":\"42861980\",\"\\u0421\\u0434\\u0435\\u043b\\u043a\\u0430_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Prelunigre domiciliu (22.09.25 - 22.09.26)\",\"Lead_name\":\"Prelunigre domiciliu (22.09.25 - 22.09.26)\",\"\\u0411\\u044e\\u0434\\u0436\\u0435\\u0442\":\"350\",\"Budget\":\"350\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"Cezara Cenusa\",\"Responsible\":\"Cezara Cenusa\"},\"lead\":{\"ID\":\"42861980\",\"\\u0421\\u0434\\u0435\\u043b\\u043a\\u0430_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Prelunigre domiciliu (22.09.25 - 22.09.26)\",\"Lead_name\":\"Prelunigre domiciliu (22.09.25 - 22.09.26)\",\"\\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\":\"+375295983333\",\"Email\":\"Darya.polynskaya@hotmail.com\",\"Limba vorbita\":\"Rusa\",\"TelegramId_WZ\":\"335990721\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Darya Maskina\",\"Contact_name\":\"Darya Maskina\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"Victor Ochinciuc\",\"Responsible\":\"Victor Ochinciuc\"},\"contact\":{\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"+375295983333\",\"Email\":\"Darya.polynskaya@hotmail.com\",\"Limba vorbita\":\"Rusa\",\"TelegramId_WZ\":\"335990721\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Darya Maskina\",\"Contact_name\":\"Darya Maskina\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"Victor Ochinciuc\",\"Responsible\":\"Victor Ochinciuc\"},\"\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442\\u044b\":[{\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"+375295983333\",\"Email\":\"Darya.polynskaya@hotmail.com\",\"Limba vorbita\":\"Rusa\",\"TelegramId_WZ\":\"335990721\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Darya Maskina\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"Victor Ochinciuc\"}],\"\\u0434\\u043e\\u043a\\u0443\\u043c\\u0435\\u043d\\u0442\":{\"\\u0414\\u0430\\u0442\\u0430\":\"16.10.2026\",\"\\u041d\\u043e\\u043c\\u0435\\u0440\":\"725\"},\"document\":{\"Date\":\"16.10.2026\",\"Number\":\"725\"}}}","edit":true}} {"uid":"eb3939c"}
[2026-10-16 12:22:55] docflow.DEBUG: GAS raw response {"raw":"[object] (stdClass: {\"code\":1,\"url\":\"https://docs.google.com/open?id=1zQgJtQTsHZNIYTvx8vW_gDBI1hXyeyNXl-PGxQ8pc84\",\"file_id\":\"1zQgJtQTsHZNIYTvx8vW_gDBI1hXyeyNXl-PGxQ8pc84\",\"error\":\"\",\"vars\":\"\"})"} {"uid":"eb3939c"}
[2026-10-16 12:22:55] docflow.WARNING: AmoDrive generated-file move is not ready. {"fileId":"1zQgJtQTsHZNIYTvx8vW_gDBI1hXyeyNXl-PGxQ8pc84","context":null} {"uid":"eb3939c"}
[2026-10-16 12:23:16] docflow.INFO: Apel createDoc {"data":{"amoAccountId":"22699852","amoUserId":null,"amoEntityId":"42861980","amoEntityType":"2","templateId":"11504","corporateEntityId":"","settlementAccountId":"","is_signed":null,"gdi":null,"number":null,"currentAmoUserId":null,"lang":"ru"}} {"uid":"d9b6856"}
[2026-10-16 12:23:16] docflow.INFO: Token is valid for account 22699852. [] {"uid":"d9b6856"}
[2026-10-16 12:23:16] docflow.DEBUG: getClientAuth returned {"auth":"[object] (stdClass: {\"domain\":\"emigrare.amocrm.ru\",\"access_token\":\"eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImp0aSI6ImRjNmE4MjY0MDY3ODYzMzk2ZjU5NDFkYWYyOTVhMGY5NDgxZDI5YmI3YWVhNThmNjUzMzQ0OTU0MWZjNzAxMjM1ZjU1OGE2OWEzYzZlN2RkIn0.eyJhdWQiOiIwZDY0ZGZmYi1lNTRiLTQ0OGYtOWZiZi1iYWYyMjUxYTExZGIiLCJqdGkiOiJkYzZhODI2NDA2Nzg2MzM5NmY1OTQxZGFmMjk1YTBmOTQ4MWQyOWJiN2FlYTU4ZjY1MzM0NDk1NDFmYzcwMTIzNWY1NThhNjlhM2M2ZTdkZCIsImlhdCI6MTc5MjA2MzgxMCwibmJmIjoxNzkyMDYzODEwLCJleHAiOjE3OTIxNTAyMTAsInN1YiI6IjI5MzAzODAiLCJncmFudF90eXBlIjoiIiwiYWNjb3VudF9pZCI6MjI2OTk4NTIsImJhc2VfZG9tYWluIjoiYW1vY3JtLnJ1IiwidmVyc2lvbiI6Miwic2NvcGVzIjpbInB1c2hfbm90aWZpY2F0aW9ucyIsImNybSIsIm5vdGlmaWNhdGlvbnMiXSwiaGFzaF91dWlkIjoiZTc4ODM2NTctODc0Yy00OWYxLWEzN2MtMzU4ODQ3Mzk2YThhIiwiYXBpX2RvbWFpbiI6ImFwaS1hLmFtb2NybS5ydSJ9.E3iFP8u4Jr2lbn2B8RbKrJsSP5s5QjFs1uUVa-FVughubNeotLJI0i3tZhHt2GKd8sINja9NadcCYexfP_CbZJ1CsQV3698uhDnb9okvzFZF6JUmw1MGXIMfKg2RG5g5nfBoyVnBoClfXvoK0yTt_xRmbqUVfmJ3rwlq0KLG5nGsevUDM3CzOsqoi2l6NETm39iiF6uE3Lav-tZ0ME4oajMHOrxvWiwrOIyax0qiMC_ylJWvBiJyfO4_dxdw9R1iLs4kjrrs9BTfIFHlduS1fn45f-8l3Y4Mwo-a0Ef8OOO_iJeJf5ml5SRMpu6ve6qqDEMsJrzwk6II6wQnCp30xw\"})","file":"/home/ytvmclwh/document.amocrm.md/src/Models/Docs.php","line":121} {"uid":"d9b6856"}
[2026-10-16 12:23:19] docflow.DEBUG: AmoDrive docflow context request {"url":"https://google.emale.uno/api/docflow/google-context","query":{"account_id":"22699852","entity_id":"42861980","entity_type":"leads"}} {"uid":"d9b6856"}
[2026-10-16 12:23:19] docflow.WARNING: AmoDrive docflow context request failed {"url":"https://google.emale.uno/api/docflow/google-context","http_code":null,"error":"HTTP/2 400 ","response":"<!DOCTYPE HTML PUBLIC \"-//IETF//DTD HTML 2.0//EN\">\r\n<html>\r\n<head><title>400 Bad Request</title></head>\r\n<body>\r\n<center><h1>400 Bad Request</h1></center>\r\n Sorry for the inconvenience.<br/>\r\nPlease report this message and include the following information to us.<br/>\r\nThank you very much!</p>\r\n<table>\r\n<tr>\r\n<td>URL:</td>\r\n<td>https://gd.glucose-dev.online/api/docflow/google-context?account_id=22699852&amp;entity_id=42861980&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/16 12:23:19</td>\r\n</tr>\r\n</table>\r\n<hr><center>tengine</center>\r\n</body>\r\n</html>\r\n"} {"uid":"d9b6856"}
[2026-10-16 12:23:19] docflow.DEBUG: AmoDrive docflow context request {"url":"https://gd.glucose-dev.online/api/docflow/google-context","query":{"account_id":"22699852","entity_id":"42861980","entity_type":"leads"}} {"uid":"d9b6856"}
[2026-10-16 12:23:19] docflow.WARNING: AmoDrive docflow context response is not ready, trying next backend. {"url":"https://gd.glucose-dev.online/api/docflow/google-context","payload":{"ok":true,"accountId":22699852,"entityId":"42861980","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":309,"isLifetime":false},"licenseActive":false,"googleConnected":false,"googleEmail":null,"googleHasDriveScope":false,"googleHasDriveFileScope":false,"googleHasOwnershipScope":false,"readyForGeneratedFileMove":false,"readyForTransfer":false},"folder":{"id":"1ARjJhB2JsO-YdjwTmrpHuv2wBY5R02U2","name":"42861980 - Lead #42861980","webViewLink":"https://drive.google.com/drive/folders/1ARjJhB2JsO-YdjwTmrpHuv2wBY5R02U2"}}} {"uid":"d9b6856"}
[2026-10-16 12:23:19] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://google.emale.uno/api/docflow/prepare-generated-doc","payload":{"account_id":"22699852","entity_id":"42861980","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"d9b6856"}
[2026-10-16 12:23:19] docflow.WARNING: AmoDrive prepare-generated-doc request failed {"url":"https://google.emale.uno/api/docflow/prepare-generated-doc","http_code":null,"error":"HTTP/2 400 ","response":"<!DOCTYPE HTML PUBLIC \"-//IETF//DTD HTML 2.0//EN\">\r\n<html>\r\n<head><title>400 Bad Request</title></head>\r\n<body>\r\n<center><h1>400 Bad Request</h1></center>\r\n Sorry for the inconvenience.<br/>\r\nPlease report this message and include the following information to us.<br/>\r\nThank you very much!</p>\r\n<table>\r\n<tr>\r\n<td>URL:</td>\r\n<td>https://gd.glucose-dev.online/api/docflow/prepare-generated-doc</td>\r\n</tr>\r\n<tr>\r\n<td>Server:</td>\r\n<td>mail.glucose-dev.online</td>\r\n</tr>\r\n<tr>\r\n<td>Date:</td>\r\n<td>2026/10/16 12:23:19</td>\r\n</tr>\r\n</table>\r\n<hr><center>tengine</center>\r\n</body>\r\n</html>\r\n","payload":{"account_id":"22699852","entity_id":"42861980","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"d9b6856"}
[2026-10-16 12:23:19] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://gd.glucose-dev.online/api/docflow/prepare-generated-doc","payload":{"account_id":"22699852","entity_id":"42861980","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"d9b6856"}
[2026-10-16 12:23:20] docflow.WARNING: AmoDrive prepare-generated-doc request failed {"url":"https://gd.glucose-dev.online/api/docflow/prepare-generated-doc","http_code":null,"error":"HTTP/2 404 ","response":"[object] (stdClass: {\"ok\":false,\"error\":\"AmoDrive is not installed for this account.\",\"accountId\":22699852})","payload":{"account_id":"22699852","entity_id":"42861980","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"d9b6856"}
[2026-10-16 12:23:20] 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) 100 20261016122319\",\"leadId\":\"42861980\",\"entities\":{\"\\u0441\\u0434\\u0435\\u043b\\u043a\\u0430\":{\"ID\":\"42861980\",\"\\u0421\\u0434\\u0435\\u043b\\u043a\\u0430_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Prelunigre domiciliu (22.09.25 - 22.09.26)\",\"Lead_name\":\"Prelunigre domiciliu (22.09.25 - 22.09.26)\",\"\\u0411\\u044e\\u0434\\u0436\\u0435\\u0442\":\"350\",\"Budget\":\"350\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"Cezara Cenusa\",\"Responsible\":\"Cezara Cenusa\"},\"lead\":{\"ID\":\"42861980\",\"\\u0421\\u0434\\u0435\\u043b\\u043a\\u0430_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Prelunigre domiciliu (22.09.25 - 22.09.26)\",\"Lead_name\":\"Prelunigre domiciliu (22.09.25 - 22.09.26)\",\"\\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\":\"+375295983333\",\"Email\":\"Darya.polynskaya@hotmail.com\",\"Limba vorbita\":\"Rusa\",\"TelegramId_WZ\":\"335990721\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Darya Maskina\",\"Contact_name\":\"Darya Maskina\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"Victor Ochinciuc\",\"Responsible\":\"Victor Ochinciuc\"},\"contact\":{\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"+375295983333\",\"Email\":\"Darya.polynskaya@hotmail.com\",\"Limba vorbita\":\"Rusa\",\"TelegramId_WZ\":\"335990721\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Darya Maskina\",\"Contact_name\":\"Darya Maskina\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"Victor Ochinciuc\",\"Responsible\":\"Victor Ochinciuc\"},\"\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442\\u044b\":[{\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"+375295983333\",\"Email\":\"Darya.polynskaya@hotmail.com\",\"Limba vorbita\":\"Rusa\",\"TelegramId_WZ\":\"335990721\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Darya Maskina\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"Victor Ochinciuc\"}],\"\\u0434\\u043e\\u043a\\u0443\\u043c\\u0435\\u043d\\u0442\":{\"\\u0414\\u0430\\u0442\\u0430\":\"16.10.2026\",\"\\u041d\\u043e\\u043c\\u0435\\u0440\":\"100\"},\"document\":{\"Date\":\"16.10.2026\",\"Number\":\"100\"}}}","edit":true}} {"uid":"d9b6856"}
[2026-10-16 12:23:26] docflow.DEBUG: GAS raw response {"raw":"[object] (stdClass: {\"code\":1,\"url\":\"https://docs.google.com/open?id=1ImFlL7VithzMqrKKsB7GVKbqDjINcBjL-TOGNU_1rcM\",\"file_id\":\"1ImFlL7VithzMqrKKsB7GVKbqDjINcBjL-TOGNU_1rcM\",\"error\":\"\",\"vars\":\"\"})"} {"uid":"d9b6856"}
[2026-10-16 12:23:26] docflow.WARNING: AmoDrive generated-file move is not ready. {"fileId":"1ImFlL7VithzMqrKKsB7GVKbqDjINcBjL-TOGNU_1rcM","context":null} {"uid":"d9b6856"}
[2026-10-16 12:28:00] docflow.INFO: Apel createDoc {"data":{"amoAccountId":"22699852","amoUserId":null,"amoEntityId":"42861980","amoEntityType":"2","templateId":"11526","corporateEntityId":"","settlementAccountId":"","is_signed":null,"gdi":null,"number":null,"currentAmoUserId":null,"lang":"ru"}} {"uid":"27f1caa"}
[2026-10-16 12:28:00] docflow.INFO: Token is valid for account 22699852. [] {"uid":"27f1caa"}
[2026-10-16 12:28:00] docflow.DEBUG: getClientAuth returned {"auth":"[object] (stdClass: {\"domain\":\"emigrare.amocrm.ru\",\"access_token\":\"eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImp0aSI6ImRjNmE4MjY0MDY3ODYzMzk2ZjU5NDFkYWYyOTVhMGY5NDgxZDI5YmI3YWVhNThmNjUzMzQ0OTU0MWZjNzAxMjM1ZjU1OGE2OWEzYzZlN2RkIn0.eyJhdWQiOiIwZDY0ZGZmYi1lNTRiLTQ0OGYtOWZiZi1iYWYyMjUxYTExZGIiLCJqdGkiOiJkYzZhODI2NDA2Nzg2MzM5NmY1OTQxZGFmMjk1YTBmOTQ4MWQyOWJiN2FlYTU4ZjY1MzM0NDk1NDFmYzcwMTIzNWY1NThhNjlhM2M2ZTdkZCIsImlhdCI6MTc5MjA2MzgxMCwibmJmIjoxNzkyMDYzODEwLCJleHAiOjE3OTIxNTAyMTAsInN1YiI6IjI5MzAzODAiLCJncmFudF90eXBlIjoiIiwiYWNjb3VudF9pZCI6MjI2OTk4NTIsImJhc2VfZG9tYWluIjoiYW1vY3JtLnJ1IiwidmVyc2lvbiI6Miwic2NvcGVzIjpbInB1c2hfbm90aWZpY2F0aW9ucyIsImNybSIsIm5vdGlmaWNhdGlvbnMiXSwiaGFzaF91dWlkIjoiZTc4ODM2NTctODc0Yy00OWYxLWEzN2MtMzU4ODQ3Mzk2YThhIiwiYXBpX2RvbWFpbiI6ImFwaS1hLmFtb2NybS5ydSJ9.E3iFP8u4Jr2lbn2B8RbKrJsSP5s5QjFs1uUVa-FVughubNeotLJI0i3tZhHt2GKd8sINja9NadcCYexfP_CbZJ1CsQV3698uhDnb9okvzFZF6JUmw1MGXIMfKg2RG5g5nfBoyVnBoClfXvoK0yTt_xRmbqUVfmJ3rwlq0KLG5nGsevUDM3CzOsqoi2l6NETm39iiF6uE3Lav-tZ0ME4oajMHOrxvWiwrOIyax0qiMC_ylJWvBiJyfO4_dxdw9R1iLs4kjrrs9BTfIFHlduS1fn45f-8l3Y4Mwo-a0Ef8OOO_iJeJf5ml5SRMpu6ve6qqDEMsJrzwk6II6wQnCp30xw\"})","file":"/home/ytvmclwh/document.amocrm.md/src/Models/Docs.php","line":121} {"uid":"27f1caa"}
[2026-10-16 12:28:03] docflow.DEBUG: AmoDrive docflow context request {"url":"https://google.emale.uno/api/docflow/google-context","query":{"account_id":"22699852","entity_id":"42861980","entity_type":"leads"}} {"uid":"27f1caa"}
[2026-10-16 12:28: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=22699852&amp;entity_id=42861980&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/16 12:28:03</td>\r\n</tr>\r\n</table>\r\n<hr><center>tengine</center>\r\n</body>\r\n</html>\r\n"} {"uid":"27f1caa"}
[2026-10-16 12:28:03] docflow.DEBUG: AmoDrive docflow context request {"url":"https://gd.glucose-dev.online/api/docflow/google-context","query":{"account_id":"22699852","entity_id":"42861980","entity_type":"leads"}} {"uid":"27f1caa"}
[2026-10-16 12:28: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":22699852,"entityId":"42861980","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":309,"isLifetime":false},"licenseActive":false,"googleConnected":false,"googleEmail":null,"googleHasDriveScope":false,"googleHasDriveFileScope":false,"googleHasOwnershipScope":false,"readyForGeneratedFileMove":false,"readyForTransfer":false},"folder":{"id":"1ARjJhB2JsO-YdjwTmrpHuv2wBY5R02U2","name":"42861980 - Lead #42861980","webViewLink":"https://drive.google.com/drive/folders/1ARjJhB2JsO-YdjwTmrpHuv2wBY5R02U2"}}} {"uid":"27f1caa"}
[2026-10-16 12:28:03] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://google.emale.uno/api/docflow/prepare-generated-doc","payload":{"account_id":"22699852","entity_id":"42861980","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"27f1caa"}
[2026-10-16 12:28: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/16 12:28: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":"22699852","entity_id":"42861980","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"27f1caa"}
[2026-10-16 12:28:03] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://gd.glucose-dev.online/api/docflow/prepare-generated-doc","payload":{"account_id":"22699852","entity_id":"42861980","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"27f1caa"}
[2026-10-16 12:28: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\":22699852})","payload":{"account_id":"22699852","entity_id":"42861980","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"27f1caa"}
[2026-10-16 12:28:03] 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) 127 20261016122803\",\"leadId\":\"42861980\",\"entities\":{\"\\u0441\\u0434\\u0435\\u043b\\u043a\\u0430\":{\"ID\":\"42861980\",\"\\u0421\\u0434\\u0435\\u043b\\u043a\\u0430_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Prelunigre domiciliu (22.09.25 - 22.09.26)\",\"Lead_name\":\"Prelunigre domiciliu (22.09.25 - 22.09.26)\",\"\\u0411\\u044e\\u0434\\u0436\\u0435\\u0442\":\"350\",\"Budget\":\"350\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"Cezara Cenusa\",\"Responsible\":\"Cezara Cenusa\"},\"lead\":{\"ID\":\"42861980\",\"\\u0421\\u0434\\u0435\\u043b\\u043a\\u0430_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Prelunigre domiciliu (22.09.25 - 22.09.26)\",\"Lead_name\":\"Prelunigre domiciliu (22.09.25 - 22.09.26)\",\"\\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\":\"+375295983333\",\"Limba vorbita\":\"Rusa\",\"TelegramId_WZ\":\"335990721\",\"Email\":\"darya.polynskaya@hotmail.com\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Darya Maskina\",\"Contact_name\":\"Darya Maskina\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"Victor Ochinciuc\",\"Responsible\":\"Victor Ochinciuc\"},\"contact\":{\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"+375295983333\",\"Limba vorbita\":\"Rusa\",\"TelegramId_WZ\":\"335990721\",\"Email\":\"darya.polynskaya@hotmail.com\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Darya Maskina\",\"Contact_name\":\"Darya Maskina\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"Victor Ochinciuc\",\"Responsible\":\"Victor Ochinciuc\"},\"\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442\\u044b\":[{\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"+375295983333\",\"Limba vorbita\":\"Rusa\",\"TelegramId_WZ\":\"335990721\",\"Email\":\"darya.polynskaya@hotmail.com\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Darya Maskina\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"Victor Ochinciuc\"}],\"\\u0434\\u043e\\u043a\\u0443\\u043c\\u0435\\u043d\\u0442\":{\"\\u0414\\u0430\\u0442\\u0430\":\"16.10.2026\",\"\\u041d\\u043e\\u043c\\u0435\\u0440\":\"127\"},\"document\":{\"Date\":\"16.10.2026\",\"Number\":\"127\"}}}","edit":true}} {"uid":"27f1caa"}
[2026-10-16 12:28:10] docflow.DEBUG: GAS raw response {"raw":"[object] (stdClass: {\"code\":1,\"url\":\"https://docs.google.com/open?id=1y7msKEGWeXId3uGTIG3ib1xmdF_RoA0WGq6E1Lfe28M\",\"file_id\":\"1y7msKEGWeXId3uGTIG3ib1xmdF_RoA0WGq6E1Lfe28M\",\"error\":\"\",\"vars\":\"\"})"} {"uid":"27f1caa"}
[2026-10-16 12:28:10] docflow.WARNING: AmoDrive generated-file move is not ready. {"fileId":"1y7msKEGWeXId3uGTIG3ib1xmdF_RoA0WGq6E1Lfe28M","context":null} {"uid":"27f1caa"}
[2026-10-16 13:10:07] docflow.INFO: Apel createDoc {"data":{"amoAccountId":"32990686","amoUserId":null,"amoEntityId":"51025659","amoEntityType":"2","templateId":"11625","corporateEntityId":"","settlementAccountId":"","is_signed":null,"gdi":null,"number":null,"currentAmoUserId":null,"lang":"ru"}} {"uid":"2b6c3b1"}
[2026-10-16 13:10:08] docflow.INFO: Token is valid for account 32990686. [] {"uid":"2b6c3b1"}
[2026-10-16 13:10:08] docflow.DEBUG: getClientAuth returned {"auth":"[object] (stdClass: {\"domain\":\"eurosanteh.amocrm.ru\",\"access_token\":\"eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImp0aSI6Ijc1YmU1MzQ3NDI3MTIyNTc0YzhjOWNiMDRhMDI2OTc5OGNhMTI2NDRkMGI2NWJlNmYzNWI4NTY3ZjdmZDk1OTRmODVlOTU3ZWNiMmQ2YTg1In0.eyJhdWQiOiIwZDY0ZGZmYi1lNTRiLTQ0OGYtOWZiZi1iYWYyMjUxYTExZGIiLCJqdGkiOiI3NWJlNTM0NzQyNzEyMjU3NGM4YzljYjA0YTAyNjk3OThjYTEyNjQ0ZDBiNjViZTZmMzViODU2N2Y3ZmQ5NTk0Zjg1ZTk1N2VjYjJkNmE4NSIsImlhdCI6MTc5MjA2OTYwOSwibmJmIjoxNzkyMDY5NjA5LCJleHAiOjE3OTIxNTYwMDksInN1YiI6IjEzNjg3MzAyIiwiZ3JhbnRfdHlwZSI6IiIsImFjY291bnRfaWQiOjMyOTkwNjg2LCJiYXNlX2RvbWFpbiI6ImFtb2NybS5ydSIsInZlcnNpb24iOjIsInNjb3BlcyI6WyJwdXNoX25vdGlmaWNhdGlvbnMiLCJjcm0iLCJub3RpZmljYXRpb25zIl0sImhhc2hfdXVpZCI6IjZmODlkMzc2LWRmNjAtNDhjZC05MGU4LTIzOTY1Mjk0NTY2ZiIsImFwaV9kb21haW4iOiJhcGktYi5hbW9jcm0ucnUifQ.rGt0T1fD4kyX0AbViKkyacRTGC_BNg-4LXO675cPDyDCzTPwF04flG-A0JuGNAufWZwAYdD6XTwpx-BPZ2WqnaVZ7NOZE-9RUlIppDKJt-Gn5eNAUIzK3Kjlv6_E2HFgQWW_PjnvaHqzeW1viENb4t3KsqHT35Aiuh8I0YgrgG5GW76QETuhtFU3VNlF1otA14YGZyjtVligXcA2CwEYUmCi8ow33B64-0ltQ9dAbMGxxy0pJxhcMpR8eorDIMWt1D0BejiitE7YRnYeWkyWSTbGWtW3tTKhD95s4LzYqEZsK0U-9KfsTLos32uGIQwmdEIbN7COQmEdMW24pQe8Cw\"})","file":"/home/ytvmclwh/document.amocrm.md/src/Models/Docs.php","line":121} {"uid":"2b6c3b1"}
[2026-10-16 13:10:13] docflow.DEBUG: AmoDrive docflow context request {"url":"https://google.emale.uno/api/docflow/google-context","query":{"account_id":"32990686","entity_id":"51025659","entity_type":"leads"}} {"uid":"2b6c3b1"}
[2026-10-16 13:10:13] 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=51025659&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/16 13:10:13</td>\r\n</tr>\r\n</table>\r\n<hr><center>tengine</center>\r\n</body>\r\n</html>\r\n"} {"uid":"2b6c3b1"}
[2026-10-16 13:10:13] docflow.DEBUG: AmoDrive docflow context request {"url":"https://gd.glucose-dev.online/api/docflow/google-context","query":{"account_id":"32990686","entity_id":"51025659","entity_type":"leads"}} {"uid":"2b6c3b1"}
[2026-10-16 13:10:13] 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":"51025659","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":"2b6c3b1"}
[2026-10-16 13:10:13] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://google.emale.uno/api/docflow/prepare-generated-doc","payload":{"account_id":"32990686","entity_id":"51025659","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"2b6c3b1"}
[2026-10-16 13:10:13] 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/16 13:10:13</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":"51025659","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"2b6c3b1"}
[2026-10-16 13:10:13] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://gd.glucose-dev.online/api/docflow/prepare-generated-doc","payload":{"account_id":"32990686","entity_id":"51025659","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"2b6c3b1"}
[2026-10-16 13:10:13] 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":"51025659","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"2b6c3b1"}
[2026-10-16 13:10:13] 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 1362 20261016131013\",\"leadId\":\"51025659\",\"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-19 13:40:00\",\"\\u0414\\u0430\\u0442\\u0430 \\u0432\\u0438\\u0437\\u0438\\u0442\\u0430\":\"19.10.2026\",\"\\u0426\\u0435\\u043b\\u044c \\u0432\\u044b\\u0435\\u0437\\u0434\\u0430\":\"\\u041f\\u0440\\u043e\\u0444\\u0438\\u043b\\u0430\\u043a\\u0442\\u0438\\u043a\\u0430 \\u043f\\u043e \\u0433\\u0430\\u0440\\u0430\\u043d\\u0442\\u0438\\u0438\",\"\\u0412\\u0438\\u0434 \\u0432\\u044b\\u043f\\u043e\\u043b\\u043d\\u0435\\u043d\\u043d\\u044b\\u0445 \\u0440\\u0430\\u0431\\u043e\\u0442\":\"\\u041f\\u0440\\u043e\\u0444\\u0438\\u043b\\u0430\\u043a\\u0442\\u0438\\u043a\\u0430 \\u0441\\u043f\\u043b\\u0438\\u0442-\\u0441\\u0438\\u0441\\u0442\\u0435\\u043c \\u0432\\u0441\\u0435\\u0445 \\u043c\\u043e\\u0449\\u043d\\u043e\\u0441\\u0442\\u0435\\u0439 (\\u043e\\u0447\\u0438\\u0441\\u0442\\u043a\\u0430, \\u043f\\u0440\\u043e\\u0432\\u0435\\u0440\\u043a\\u0430 \\u0440\\u0430\\u0431\\u043e\\u0442\\u044b)\",\"\\u041c\\u043e\\u0434\\u0435\\u043b\\u044c \\u043e\\u0431\\u043e\\u0440\\u0443\\u0434\\u043e\\u0432\\u0430\\u043d\\u0438\\u044f 1\":\"Gree Smart 09\\/Fairy 09\",\"ID\":\"51025659\",\"\\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\":{\"\\u0414\\u0430\\u0442\\u0430 \\u0438 \\u0432\\u0440\\u0435\\u043c\\u044f \\u0432\\u0438\\u0437\\u0438\\u0442\\u0430\":\"2026-10-19 13:40:00\",\"\\u0414\\u0430\\u0442\\u0430 \\u0432\\u0438\\u0437\\u0438\\u0442\\u0430\":\"19.10.2026\",\"\\u0426\\u0435\\u043b\\u044c \\u0432\\u044b\\u0435\\u0437\\u0434\\u0430\":\"\\u041f\\u0440\\u043e\\u0444\\u0438\\u043b\\u0430\\u043a\\u0442\\u0438\\u043a\\u0430 \\u043f\\u043e \\u0433\\u0430\\u0440\\u0430\\u043d\\u0442\\u0438\\u0438\",\"\\u0412\\u0438\\u0434 \\u0432\\u044b\\u043f\\u043e\\u043b\\u043d\\u0435\\u043d\\u043d\\u044b\\u0445 \\u0440\\u0430\\u0431\\u043e\\u0442\":\"\\u041f\\u0440\\u043e\\u0444\\u0438\\u043b\\u0430\\u043a\\u0442\\u0438\\u043a\\u0430 \\u0441\\u043f\\u043b\\u0438\\u0442-\\u0441\\u0438\\u0441\\u0442\\u0435\\u043c \\u0432\\u0441\\u0435\\u0445 \\u043c\\u043e\\u0449\\u043d\\u043e\\u0441\\u0442\\u0435\\u0439 (\\u043e\\u0447\\u0438\\u0441\\u0442\\u043a\\u0430, \\u043f\\u0440\\u043e\\u0432\\u0435\\u0440\\u043a\\u0430 \\u0440\\u0430\\u0431\\u043e\\u0442\\u044b)\",\"\\u041c\\u043e\\u0434\\u0435\\u043b\\u044c \\u043e\\u0431\\u043e\\u0440\\u0443\\u0434\\u043e\\u0432\\u0430\\u043d\\u0438\\u044f 1\":\"Gree Smart 09\\/Fairy 09\",\"ID\":\"51025659\",\"\\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\":\"2002044044585\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"37379144378\",\"\\u0410\\u0434\\u0440\\u0435\\u0441\":\"str Cuza Voda 15\\/5 ap 69\",\"\\u0418\\u043c\\u044f \\u043a\\u043b\\u0438\\u0435\\u043d\\u0442\\u0430 (\\u0421\\u041c\\u0421)\":\"Tatiana\",\"\\u0422\\u0438\\u043f \\u0438 \\u043c\\u043e\\u0434\\u0435\\u043b\\u044c \\u043e\\u0431\\u043e\\u0440\\u0443\\u0434\\u043e\\u0432\\u0430\\u043d\\u0438\\u044f (\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442)\":\"Gree Smart 09\\/Fairy 09\",\"\\u041a\\u043e\\u043b - \\u0432\\u043e \\u043e\\u0431\\u043e\\u0440\\u0443\\u0434\\u043e\\u0432\\u0430\\u043d\\u0438\\u044f (\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442)\":\"2\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Tatiana Procopenco\",\"Contact_name\":\"Tatiana Procopenco\",\"\\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\":\"2002044044585\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"37379144378\",\"\\u0410\\u0434\\u0440\\u0435\\u0441\":\"str Cuza Voda 15\\/5 ap 69\",\"\\u0418\\u043c\\u044f \\u043a\\u043b\\u0438\\u0435\\u043d\\u0442\\u0430 (\\u0421\\u041c\\u0421)\":\"Tatiana\",\"\\u0422\\u0438\\u043f \\u0438 \\u043c\\u043e\\u0434\\u0435\\u043b\\u044c \\u043e\\u0431\\u043e\\u0440\\u0443\\u0434\\u043e\\u0432\\u0430\\u043d\\u0438\\u044f (\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442)\":\"Gree Smart 09\\/Fairy 09\",\"\\u041a\\u043e\\u043b - \\u0432\\u043e \\u043e\\u0431\\u043e\\u0440\\u0443\\u0434\\u043e\\u0432\\u0430\\u043d\\u0438\\u044f (\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442)\":\"2\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Tatiana Procopenco\",\"Contact_name\":\"Tatiana Procopenco\",\"\\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\":\"2002044044585\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"37379144378\",\"\\u0410\\u0434\\u0440\\u0435\\u0441\":\"str Cuza Voda 15\\/5 ap 69\",\"\\u0418\\u043c\\u044f \\u043a\\u043b\\u0438\\u0435\\u043d\\u0442\\u0430 (\\u0421\\u041c\\u0421)\":\"Tatiana\",\"\\u0422\\u0438\\u043f \\u0438 \\u043c\\u043e\\u0434\\u0435\\u043b\\u044c \\u043e\\u0431\\u043e\\u0440\\u0443\\u0434\\u043e\\u0432\\u0430\\u043d\\u0438\\u044f (\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442)\":\"Gree Smart 09\\/Fairy 09\",\"\\u041a\\u043e\\u043b - \\u0432\\u043e \\u043e\\u0431\\u043e\\u0440\\u0443\\u0434\\u043e\\u0432\\u0430\\u043d\\u0438\\u044f (\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442)\":\"2\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Tatiana Procopenco\",\"\\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\":\"16.10.2026\",\"\\u041d\\u043e\\u043c\\u0435\\u0440\":\"1362\"},\"document\":{\"Date\":\"16.10.2026\",\"Number\":\"1362\"}}}","edit":true}} {"uid":"2b6c3b1"}
[2026-10-16 13:10:20] docflow.DEBUG: GAS raw response {"raw":"[object] (stdClass: {\"code\":1,\"url\":\"https://docs.google.com/open?id=1t-_Xq2ONy_oVgsiVmY18A1LC501pT02CUNW--0v3PTw\",\"file_id\":\"1t-_Xq2ONy_oVgsiVmY18A1LC501pT02CUNW--0v3PTw\",\"error\":\"\",\"vars\":\"\"})"} {"uid":"2b6c3b1"}
[2026-10-16 13:10:20] docflow.WARNING: AmoDrive generated-file move is not ready. {"fileId":"1t-_Xq2ONy_oVgsiVmY18A1LC501pT02CUNW--0v3PTw","context":null} {"uid":"2b6c3b1"}
[2026-10-16 13:10:24] docflow.INFO: Apel createDoc {"data":{"amoAccountId":"32990686","amoUserId":null,"amoEntityId":"51025659","amoEntityType":"2","templateId":"11646","corporateEntityId":"","settlementAccountId":"","is_signed":null,"gdi":null,"number":null,"currentAmoUserId":null,"lang":"ru"}} {"uid":"746dc16"}
[2026-10-16 13:10:25] docflow.INFO: Token is valid for account 32990686. [] {"uid":"746dc16"}
[2026-10-16 13:10:25] docflow.DEBUG: getClientAuth returned {"auth":"[object] (stdClass: {\"domain\":\"eurosanteh.amocrm.ru\",\"access_token\":\"eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImp0aSI6Ijc1YmU1MzQ3NDI3MTIyNTc0YzhjOWNiMDRhMDI2OTc5OGNhMTI2NDRkMGI2NWJlNmYzNWI4NTY3ZjdmZDk1OTRmODVlOTU3ZWNiMmQ2YTg1In0.eyJhdWQiOiIwZDY0ZGZmYi1lNTRiLTQ0OGYtOWZiZi1iYWYyMjUxYTExZGIiLCJqdGkiOiI3NWJlNTM0NzQyNzEyMjU3NGM4YzljYjA0YTAyNjk3OThjYTEyNjQ0ZDBiNjViZTZmMzViODU2N2Y3ZmQ5NTk0Zjg1ZTk1N2VjYjJkNmE4NSIsImlhdCI6MTc5MjA2OTYwOSwibmJmIjoxNzkyMDY5NjA5LCJleHAiOjE3OTIxNTYwMDksInN1YiI6IjEzNjg3MzAyIiwiZ3JhbnRfdHlwZSI6IiIsImFjY291bnRfaWQiOjMyOTkwNjg2LCJiYXNlX2RvbWFpbiI6ImFtb2NybS5ydSIsInZlcnNpb24iOjIsInNjb3BlcyI6WyJwdXNoX25vdGlmaWNhdGlvbnMiLCJjcm0iLCJub3RpZmljYXRpb25zIl0sImhhc2hfdXVpZCI6IjZmODlkMzc2LWRmNjAtNDhjZC05MGU4LTIzOTY1Mjk0NTY2ZiIsImFwaV9kb21haW4iOiJhcGktYi5hbW9jcm0ucnUifQ.rGt0T1fD4kyX0AbViKkyacRTGC_BNg-4LXO675cPDyDCzTPwF04flG-A0JuGNAufWZwAYdD6XTwpx-BPZ2WqnaVZ7NOZE-9RUlIppDKJt-Gn5eNAUIzK3Kjlv6_E2HFgQWW_PjnvaHqzeW1viENb4t3KsqHT35Aiuh8I0YgrgG5GW76QETuhtFU3VNlF1otA14YGZyjtVligXcA2CwEYUmCi8ow33B64-0ltQ9dAbMGxxy0pJxhcMpR8eorDIMWt1D0BejiitE7YRnYeWkyWSTbGWtW3tTKhD95s4LzYqEZsK0U-9KfsTLos32uGIQwmdEIbN7COQmEdMW24pQe8Cw\"})","file":"/home/ytvmclwh/document.amocrm.md/src/Models/Docs.php","line":121} {"uid":"746dc16"}
[2026-10-16 13:10:28] docflow.DEBUG: AmoDrive docflow context request {"url":"https://google.emale.uno/api/docflow/google-context","query":{"account_id":"32990686","entity_id":"51025659","entity_type":"leads"}} {"uid":"746dc16"}
[2026-10-16 13:10:28] 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=51025659&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/16 13:10:28</td>\r\n</tr>\r\n</table>\r\n<hr><center>tengine</center>\r\n</body>\r\n</html>\r\n"} {"uid":"746dc16"}
[2026-10-16 13:10:28] docflow.DEBUG: AmoDrive docflow context request {"url":"https://gd.glucose-dev.online/api/docflow/google-context","query":{"account_id":"32990686","entity_id":"51025659","entity_type":"leads"}} {"uid":"746dc16"}
[2026-10-16 13:10:28] 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":"51025659","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":"746dc16"}
[2026-10-16 13:10:28] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://google.emale.uno/api/docflow/prepare-generated-doc","payload":{"account_id":"32990686","entity_id":"51025659","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"746dc16"}
[2026-10-16 13:10:28] 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/16 13:10:28</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":"51025659","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"746dc16"}
[2026-10-16 13:10:28] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://gd.glucose-dev.online/api/docflow/prepare-generated-doc","payload":{"account_id":"32990686","entity_id":"51025659","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"746dc16"}
[2026-10-16 13:10:28] 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":"51025659","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"746dc16"}
[2026-10-16 13:10:28] 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 1362 20261016131028\",\"leadId\":\"51025659\",\"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-19 13:40:00\",\"\\u0414\\u0430\\u0442\\u0430 \\u0432\\u0438\\u0437\\u0438\\u0442\\u0430\":\"19.10.2026\",\"\\u0426\\u0435\\u043b\\u044c \\u0432\\u044b\\u0435\\u0437\\u0434\\u0430\":\"\\u041f\\u0440\\u043e\\u0444\\u0438\\u043b\\u0430\\u043a\\u0442\\u0438\\u043a\\u0430 \\u043f\\u043e \\u0433\\u0430\\u0440\\u0430\\u043d\\u0442\\u0438\\u0438\",\"\\u0412\\u0438\\u0434 \\u0432\\u044b\\u043f\\u043e\\u043b\\u043d\\u0435\\u043d\\u043d\\u044b\\u0445 \\u0440\\u0430\\u0431\\u043e\\u0442\":\"\\u041f\\u0440\\u043e\\u0444\\u0438\\u043b\\u0430\\u043a\\u0442\\u0438\\u043a\\u0430 \\u0441\\u043f\\u043b\\u0438\\u0442-\\u0441\\u0438\\u0441\\u0442\\u0435\\u043c \\u0432\\u0441\\u0435\\u0445 \\u043c\\u043e\\u0449\\u043d\\u043e\\u0441\\u0442\\u0435\\u0439 (\\u043e\\u0447\\u0438\\u0441\\u0442\\u043a\\u0430, \\u043f\\u0440\\u043e\\u0432\\u0435\\u0440\\u043a\\u0430 \\u0440\\u0430\\u0431\\u043e\\u0442\\u044b)\",\"\\u041c\\u043e\\u0434\\u0435\\u043b\\u044c \\u043e\\u0431\\u043e\\u0440\\u0443\\u0434\\u043e\\u0432\\u0430\\u043d\\u0438\\u044f 1\":\"Gree Smart 09\\/Fairy 09\",\"ID\":\"51025659\",\"\\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\":{\"\\u0414\\u0430\\u0442\\u0430 \\u0438 \\u0432\\u0440\\u0435\\u043c\\u044f \\u0432\\u0438\\u0437\\u0438\\u0442\\u0430\":\"2026-10-19 13:40:00\",\"\\u0414\\u0430\\u0442\\u0430 \\u0432\\u0438\\u0437\\u0438\\u0442\\u0430\":\"19.10.2026\",\"\\u0426\\u0435\\u043b\\u044c \\u0432\\u044b\\u0435\\u0437\\u0434\\u0430\":\"\\u041f\\u0440\\u043e\\u0444\\u0438\\u043b\\u0430\\u043a\\u0442\\u0438\\u043a\\u0430 \\u043f\\u043e \\u0433\\u0430\\u0440\\u0430\\u043d\\u0442\\u0438\\u0438\",\"\\u0412\\u0438\\u0434 \\u0432\\u044b\\u043f\\u043e\\u043b\\u043d\\u0435\\u043d\\u043d\\u044b\\u0445 \\u0440\\u0430\\u0431\\u043e\\u0442\":\"\\u041f\\u0440\\u043e\\u0444\\u0438\\u043b\\u0430\\u043a\\u0442\\u0438\\u043a\\u0430 \\u0441\\u043f\\u043b\\u0438\\u0442-\\u0441\\u0438\\u0441\\u0442\\u0435\\u043c \\u0432\\u0441\\u0435\\u0445 \\u043c\\u043e\\u0449\\u043d\\u043e\\u0441\\u0442\\u0435\\u0439 (\\u043e\\u0447\\u0438\\u0441\\u0442\\u043a\\u0430, \\u043f\\u0440\\u043e\\u0432\\u0435\\u0440\\u043a\\u0430 \\u0440\\u0430\\u0431\\u043e\\u0442\\u044b)\",\"\\u041c\\u043e\\u0434\\u0435\\u043b\\u044c \\u043e\\u0431\\u043e\\u0440\\u0443\\u0434\\u043e\\u0432\\u0430\\u043d\\u0438\\u044f 1\":\"Gree Smart 09\\/Fairy 09\",\"ID\":\"51025659\",\"\\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\":\"2002044044585\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"37379144378\",\"\\u0410\\u0434\\u0440\\u0435\\u0441\":\"str Cuza Voda 15\\/5 ap 69\",\"\\u0418\\u043c\\u044f \\u043a\\u043b\\u0438\\u0435\\u043d\\u0442\\u0430 (\\u0421\\u041c\\u0421)\":\"Tatiana\",\"\\u0422\\u0438\\u043f \\u0438 \\u043c\\u043e\\u0434\\u0435\\u043b\\u044c \\u043e\\u0431\\u043e\\u0440\\u0443\\u0434\\u043e\\u0432\\u0430\\u043d\\u0438\\u044f (\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442)\":\"Gree Smart 09\\/Fairy 09\",\"\\u041a\\u043e\\u043b - \\u0432\\u043e \\u043e\\u0431\\u043e\\u0440\\u0443\\u0434\\u043e\\u0432\\u0430\\u043d\\u0438\\u044f (\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442)\":\"2\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Tatiana Procopenco\",\"Contact_name\":\"Tatiana Procopenco\",\"\\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\":\"2002044044585\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"37379144378\",\"\\u0410\\u0434\\u0440\\u0435\\u0441\":\"str Cuza Voda 15\\/5 ap 69\",\"\\u0418\\u043c\\u044f \\u043a\\u043b\\u0438\\u0435\\u043d\\u0442\\u0430 (\\u0421\\u041c\\u0421)\":\"Tatiana\",\"\\u0422\\u0438\\u043f \\u0438 \\u043c\\u043e\\u0434\\u0435\\u043b\\u044c \\u043e\\u0431\\u043e\\u0440\\u0443\\u0434\\u043e\\u0432\\u0430\\u043d\\u0438\\u044f (\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442)\":\"Gree Smart 09\\/Fairy 09\",\"\\u041a\\u043e\\u043b - \\u0432\\u043e \\u043e\\u0431\\u043e\\u0440\\u0443\\u0434\\u043e\\u0432\\u0430\\u043d\\u0438\\u044f (\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442)\":\"2\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Tatiana Procopenco\",\"Contact_name\":\"Tatiana Procopenco\",\"\\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\":\"2002044044585\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"37379144378\",\"\\u0410\\u0434\\u0440\\u0435\\u0441\":\"str Cuza Voda 15\\/5 ap 69\",\"\\u0418\\u043c\\u044f \\u043a\\u043b\\u0438\\u0435\\u043d\\u0442\\u0430 (\\u0421\\u041c\\u0421)\":\"Tatiana\",\"\\u0422\\u0438\\u043f \\u0438 \\u043c\\u043e\\u0434\\u0435\\u043b\\u044c \\u043e\\u0431\\u043e\\u0440\\u0443\\u0434\\u043e\\u0432\\u0430\\u043d\\u0438\\u044f (\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442)\":\"Gree Smart 09\\/Fairy 09\",\"\\u041a\\u043e\\u043b - \\u0432\\u043e \\u043e\\u0431\\u043e\\u0440\\u0443\\u0434\\u043e\\u0432\\u0430\\u043d\\u0438\\u044f (\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442)\":\"2\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Tatiana Procopenco\",\"\\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\":\"16.10.2026\",\"\\u041d\\u043e\\u043c\\u0435\\u0440\":\"1362\"},\"document\":{\"Date\":\"16.10.2026\",\"Number\":\"1362\"}}}","edit":true}} {"uid":"746dc16"}
[2026-10-16 13:10:34] docflow.DEBUG: GAS raw response {"raw":"[object] (stdClass: {\"code\":1,\"url\":\"https://docs.google.com/open?id=1p23aOFCuWejP2MjUwfzt5lFPVixy_OiVPof7_2Z5UIo\",\"file_id\":\"1p23aOFCuWejP2MjUwfzt5lFPVixy_OiVPof7_2Z5UIo\",\"error\":\"\",\"vars\":\"\"})"} {"uid":"746dc16"}
[2026-10-16 13:10:34] docflow.WARNING: AmoDrive generated-file move is not ready. {"fileId":"1p23aOFCuWejP2MjUwfzt5lFPVixy_OiVPof7_2Z5UIo","context":null} {"uid":"746dc16"}
[2026-10-16 13:51:27] docflow.INFO: Apel createDoc {"data":{"amoAccountId":"32990686","amoUserId":null,"amoEntityId":"50680339","amoEntityType":"2","templateId":"11625","corporateEntityId":"","settlementAccountId":"","is_signed":null,"gdi":null,"number":null,"currentAmoUserId":null,"lang":"ru"}} {"uid":"933dacd"}
[2026-10-16 13:51:28] docflow.INFO: Token is valid for account 32990686. [] {"uid":"933dacd"}
[2026-10-16 13:51:28] docflow.DEBUG: getClientAuth returned {"auth":"[object] (stdClass: {\"domain\":\"eurosanteh.amocrm.ru\",\"access_token\":\"eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImp0aSI6Ijc1YmU1MzQ3NDI3MTIyNTc0YzhjOWNiMDRhMDI2OTc5OGNhMTI2NDRkMGI2NWJlNmYzNWI4NTY3ZjdmZDk1OTRmODVlOTU3ZWNiMmQ2YTg1In0.eyJhdWQiOiIwZDY0ZGZmYi1lNTRiLTQ0OGYtOWZiZi1iYWYyMjUxYTExZGIiLCJqdGkiOiI3NWJlNTM0NzQyNzEyMjU3NGM4YzljYjA0YTAyNjk3OThjYTEyNjQ0ZDBiNjViZTZmMzViODU2N2Y3ZmQ5NTk0Zjg1ZTk1N2VjYjJkNmE4NSIsImlhdCI6MTc5MjA2OTYwOSwibmJmIjoxNzkyMDY5NjA5LCJleHAiOjE3OTIxNTYwMDksInN1YiI6IjEzNjg3MzAyIiwiZ3JhbnRfdHlwZSI6IiIsImFjY291bnRfaWQiOjMyOTkwNjg2LCJiYXNlX2RvbWFpbiI6ImFtb2NybS5ydSIsInZlcnNpb24iOjIsInNjb3BlcyI6WyJwdXNoX25vdGlmaWNhdGlvbnMiLCJjcm0iLCJub3RpZmljYXRpb25zIl0sImhhc2hfdXVpZCI6IjZmODlkMzc2LWRmNjAtNDhjZC05MGU4LTIzOTY1Mjk0NTY2ZiIsImFwaV9kb21haW4iOiJhcGktYi5hbW9jcm0ucnUifQ.rGt0T1fD4kyX0AbViKkyacRTGC_BNg-4LXO675cPDyDCzTPwF04flG-A0JuGNAufWZwAYdD6XTwpx-BPZ2WqnaVZ7NOZE-9RUlIppDKJt-Gn5eNAUIzK3Kjlv6_E2HFgQWW_PjnvaHqzeW1viENb4t3KsqHT35Aiuh8I0YgrgG5GW76QETuhtFU3VNlF1otA14YGZyjtVligXcA2CwEYUmCi8ow33B64-0ltQ9dAbMGxxy0pJxhcMpR8eorDIMWt1D0BejiitE7YRnYeWkyWSTbGWtW3tTKhD95s4LzYqEZsK0U-9KfsTLos32uGIQwmdEIbN7COQmEdMW24pQe8Cw\"})","file":"/home/ytvmclwh/document.amocrm.md/src/Models/Docs.php","line":121} {"uid":"933dacd"}
[2026-10-16 13:51:30] docflow.DEBUG: AmoDrive docflow context request {"url":"https://google.emale.uno/api/docflow/google-context","query":{"account_id":"32990686","entity_id":"50680339","entity_type":"leads"}} {"uid":"933dacd"}
[2026-10-16 13:51:30] 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=50680339&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/16 13:51:30</td>\r\n</tr>\r\n</table>\r\n<hr><center>tengine</center>\r\n</body>\r\n</html>\r\n"} {"uid":"933dacd"}
[2026-10-16 13:51:30] docflow.DEBUG: AmoDrive docflow context request {"url":"https://gd.glucose-dev.online/api/docflow/google-context","query":{"account_id":"32990686","entity_id":"50680339","entity_type":"leads"}} {"uid":"933dacd"}
[2026-10-16 13:51:30] 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":"50680339","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":"933dacd"}
[2026-10-16 13:51:30] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://google.emale.uno/api/docflow/prepare-generated-doc","payload":{"account_id":"32990686","entity_id":"50680339","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"933dacd"}
[2026-10-16 13:51:30] 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/16 13:51:30</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":"50680339","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"933dacd"}
[2026-10-16 13:51:30] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://gd.glucose-dev.online/api/docflow/prepare-generated-doc","payload":{"account_id":"32990686","entity_id":"50680339","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"933dacd"}
[2026-10-16 13:51:30] 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":"50680339","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"933dacd"}
[2026-10-16 13:51:30] 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 1363 20261016135130\",\"leadId\":\"50680339\",\"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-19 13:42:00\",\"\\u0414\\u0430\\u0442\\u0430 \\u0432\\u0438\\u0437\\u0438\\u0442\\u0430\":\"19.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 Flexis 35\",\"\\u0421\\u043b\\u0435\\u0434\\u0443\\u044e\\u0449\\u0430\\u044f \\u0434\\u0430\\u0442\\u0430 \\u0441\\u0435\\u0440\\u0432\\u0438\\u0441\\u0430\":\"19.10.2027\",\"ID\":\"50680339\",\"\\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-19 13:42:00\",\"\\u0414\\u0430\\u0442\\u0430 \\u0432\\u0438\\u0437\\u0438\\u0442\\u0430\":\"19.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 Flexis 35\",\"\\u0421\\u043b\\u0435\\u0434\\u0443\\u044e\\u0449\\u0430\\u044f \\u0434\\u0430\\u0442\\u0430 \\u0441\\u0435\\u0440\\u0432\\u0438\\u0441\\u0430\":\"19.10.2027\",\"ID\":\"50680339\",\"\\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\\u043c\\u044f \\u043a\\u043b\\u0438\\u0435\\u043d\\u0442\\u0430 (\\u0421\\u041c\\u0421)\":\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442 0078800530\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"37378800530\",\"\\u0410\\u0434\\u0440\\u0435\\u0441\":\"sat Bubueci\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Andrei Vacaru\",\"Contact_name\":\"Andrei Vacaru\",\"\\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\\u043c\\u044f \\u043a\\u043b\\u0438\\u0435\\u043d\\u0442\\u0430 (\\u0421\\u041c\\u0421)\":\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442 0078800530\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"37378800530\",\"\\u0410\\u0434\\u0440\\u0435\\u0441\":\"sat Bubueci\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Andrei Vacaru\",\"Contact_name\":\"Andrei Vacaru\",\"\\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\\u043c\\u044f \\u043a\\u043b\\u0438\\u0435\\u043d\\u0442\\u0430 (\\u0421\\u041c\\u0421)\":\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442 0078800530\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"37378800530\",\"\\u0410\\u0434\\u0440\\u0435\\u0441\":\"sat Bubueci\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Andrei Vacaru\",\"\\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\":\"16.10.2026\",\"\\u041d\\u043e\\u043c\\u0435\\u0440\":\"1363\"},\"document\":{\"Date\":\"16.10.2026\",\"Number\":\"1363\"}}}","edit":true}} {"uid":"933dacd"}
[2026-10-16 13:51:38] docflow.DEBUG: GAS raw response {"raw":"[object] (stdClass: {\"code\":1,\"url\":\"https://docs.google.com/open?id=1MumlI7mS761tONsGvTOwppk9kfjoTy_PQujDv0VHxmA\",\"file_id\":\"1MumlI7mS761tONsGvTOwppk9kfjoTy_PQujDv0VHxmA\",\"error\":\"\",\"vars\":\"\"})"} {"uid":"933dacd"}
[2026-10-16 13:51:38] docflow.WARNING: AmoDrive generated-file move is not ready. {"fileId":"1MumlI7mS761tONsGvTOwppk9kfjoTy_PQujDv0VHxmA","context":null} {"uid":"933dacd"}
[2026-10-16 13:51:41] docflow.INFO: Apel createDoc {"data":{"amoAccountId":"32990686","amoUserId":null,"amoEntityId":"50680339","amoEntityType":"2","templateId":"11646","corporateEntityId":"","settlementAccountId":"","is_signed":null,"gdi":null,"number":null,"currentAmoUserId":null,"lang":"ru"}} {"uid":"d465fab"}
[2026-10-16 13:51:42] docflow.INFO: Token is valid for account 32990686. [] {"uid":"d465fab"}
[2026-10-16 13:51:42] docflow.DEBUG: getClientAuth returned {"auth":"[object] (stdClass: {\"domain\":\"eurosanteh.amocrm.ru\",\"access_token\":\"eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImp0aSI6Ijc1YmU1MzQ3NDI3MTIyNTc0YzhjOWNiMDRhMDI2OTc5OGNhMTI2NDRkMGI2NWJlNmYzNWI4NTY3ZjdmZDk1OTRmODVlOTU3ZWNiMmQ2YTg1In0.eyJhdWQiOiIwZDY0ZGZmYi1lNTRiLTQ0OGYtOWZiZi1iYWYyMjUxYTExZGIiLCJqdGkiOiI3NWJlNTM0NzQyNzEyMjU3NGM4YzljYjA0YTAyNjk3OThjYTEyNjQ0ZDBiNjViZTZmMzViODU2N2Y3ZmQ5NTk0Zjg1ZTk1N2VjYjJkNmE4NSIsImlhdCI6MTc5MjA2OTYwOSwibmJmIjoxNzkyMDY5NjA5LCJleHAiOjE3OTIxNTYwMDksInN1YiI6IjEzNjg3MzAyIiwiZ3JhbnRfdHlwZSI6IiIsImFjY291bnRfaWQiOjMyOTkwNjg2LCJiYXNlX2RvbWFpbiI6ImFtb2NybS5ydSIsInZlcnNpb24iOjIsInNjb3BlcyI6WyJwdXNoX25vdGlmaWNhdGlvbnMiLCJjcm0iLCJub3RpZmljYXRpb25zIl0sImhhc2hfdXVpZCI6IjZmODlkMzc2LWRmNjAtNDhjZC05MGU4LTIzOTY1Mjk0NTY2ZiIsImFwaV9kb21haW4iOiJhcGktYi5hbW9jcm0ucnUifQ.rGt0T1fD4kyX0AbViKkyacRTGC_BNg-4LXO675cPDyDCzTPwF04flG-A0JuGNAufWZwAYdD6XTwpx-BPZ2WqnaVZ7NOZE-9RUlIppDKJt-Gn5eNAUIzK3Kjlv6_E2HFgQWW_PjnvaHqzeW1viENb4t3KsqHT35Aiuh8I0YgrgG5GW76QETuhtFU3VNlF1otA14YGZyjtVligXcA2CwEYUmCi8ow33B64-0ltQ9dAbMGxxy0pJxhcMpR8eorDIMWt1D0BejiitE7YRnYeWkyWSTbGWtW3tTKhD95s4LzYqEZsK0U-9KfsTLos32uGIQwmdEIbN7COQmEdMW24pQe8Cw\"})","file":"/home/ytvmclwh/document.amocrm.md/src/Models/Docs.php","line":121} {"uid":"d465fab"}
[2026-10-16 13:51:44] docflow.DEBUG: AmoDrive docflow context request {"url":"https://google.emale.uno/api/docflow/google-context","query":{"account_id":"32990686","entity_id":"50680339","entity_type":"leads"}} {"uid":"d465fab"}
[2026-10-16 13:51:44] 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=50680339&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/16 13:51:44</td>\r\n</tr>\r\n</table>\r\n<hr><center>tengine</center>\r\n</body>\r\n</html>\r\n"} {"uid":"d465fab"}
[2026-10-16 13:51:44] docflow.DEBUG: AmoDrive docflow context request {"url":"https://gd.glucose-dev.online/api/docflow/google-context","query":{"account_id":"32990686","entity_id":"50680339","entity_type":"leads"}} {"uid":"d465fab"}
[2026-10-16 13:51:44] 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":"50680339","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":"d465fab"}
[2026-10-16 13:51:44] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://google.emale.uno/api/docflow/prepare-generated-doc","payload":{"account_id":"32990686","entity_id":"50680339","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"d465fab"}
[2026-10-16 13:51: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/16 13:51: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":"50680339","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"d465fab"}
[2026-10-16 13:51: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":"50680339","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"d465fab"}
[2026-10-16 13:51: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":"50680339","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"d465fab"}
[2026-10-16 13:51: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 1363 20261016135144\",\"leadId\":\"50680339\",\"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-19 13:42:00\",\"\\u0414\\u0430\\u0442\\u0430 \\u0432\\u0438\\u0437\\u0438\\u0442\\u0430\":\"19.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 Flexis 35\",\"\\u0421\\u043b\\u0435\\u0434\\u0443\\u044e\\u0449\\u0430\\u044f \\u0434\\u0430\\u0442\\u0430 \\u0441\\u0435\\u0440\\u0432\\u0438\\u0441\\u0430\":\"19.10.2027\",\"ID\":\"50680339\",\"\\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-19 13:42:00\",\"\\u0414\\u0430\\u0442\\u0430 \\u0432\\u0438\\u0437\\u0438\\u0442\\u0430\":\"19.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 Flexis 35\",\"\\u0421\\u043b\\u0435\\u0434\\u0443\\u044e\\u0449\\u0430\\u044f \\u0434\\u0430\\u0442\\u0430 \\u0441\\u0435\\u0440\\u0432\\u0438\\u0441\\u0430\":\"19.10.2027\",\"ID\":\"50680339\",\"\\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\\u043c\\u044f \\u043a\\u043b\\u0438\\u0435\\u043d\\u0442\\u0430 (\\u0421\\u041c\\u0421)\":\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442 0078800530\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"37378800530\",\"\\u0410\\u0434\\u0440\\u0435\\u0441\":\"sat Bubueci\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Andrei Vacaru\",\"Contact_name\":\"Andrei Vacaru\",\"\\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\\u043c\\u044f \\u043a\\u043b\\u0438\\u0435\\u043d\\u0442\\u0430 (\\u0421\\u041c\\u0421)\":\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442 0078800530\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"37378800530\",\"\\u0410\\u0434\\u0440\\u0435\\u0441\":\"sat Bubueci\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Andrei Vacaru\",\"Contact_name\":\"Andrei Vacaru\",\"\\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\\u043c\\u044f \\u043a\\u043b\\u0438\\u0435\\u043d\\u0442\\u0430 (\\u0421\\u041c\\u0421)\":\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442 0078800530\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"37378800530\",\"\\u0410\\u0434\\u0440\\u0435\\u0441\":\"sat Bubueci\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Andrei Vacaru\",\"\\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\":\"16.10.2026\",\"\\u041d\\u043e\\u043c\\u0435\\u0440\":\"1363\"},\"document\":{\"Date\":\"16.10.2026\",\"Number\":\"1363\"}}}","edit":true}} {"uid":"d465fab"}
[2026-10-16 13:51:51] docflow.DEBUG: GAS raw response {"raw":"[object] (stdClass: {\"code\":1,\"url\":\"https://docs.google.com/open?id=1fGI2h7tsRSpzSBy5W3QpaFRhDRMsTW8JS1e8B-kgkNQ\",\"file_id\":\"1fGI2h7tsRSpzSBy5W3QpaFRhDRMsTW8JS1e8B-kgkNQ\",\"error\":\"\",\"vars\":\"\"})"} {"uid":"d465fab"}
[2026-10-16 13:51:51] docflow.WARNING: AmoDrive generated-file move is not ready. {"fileId":"1fGI2h7tsRSpzSBy5W3QpaFRhDRMsTW8JS1e8B-kgkNQ","context":null} {"uid":"d465fab"}
[2026-10-16 14:07:35] 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":"bbfa2ef"}
[2026-10-16 14:07:35] docflow.INFO: Token is valid for account 32990686. [] {"uid":"bbfa2ef"}
[2026-10-16 14:07:35] docflow.DEBUG: getClientAuth returned {"auth":"[object] (stdClass: {\"domain\":\"eurosanteh.amocrm.ru\",\"access_token\":\"eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImp0aSI6Ijc1YmU1MzQ3NDI3MTIyNTc0YzhjOWNiMDRhMDI2OTc5OGNhMTI2NDRkMGI2NWJlNmYzNWI4NTY3ZjdmZDk1OTRmODVlOTU3ZWNiMmQ2YTg1In0.eyJhdWQiOiIwZDY0ZGZmYi1lNTRiLTQ0OGYtOWZiZi1iYWYyMjUxYTExZGIiLCJqdGkiOiI3NWJlNTM0NzQyNzEyMjU3NGM4YzljYjA0YTAyNjk3OThjYTEyNjQ0ZDBiNjViZTZmMzViODU2N2Y3ZmQ5NTk0Zjg1ZTk1N2VjYjJkNmE4NSIsImlhdCI6MTc5MjA2OTYwOSwibmJmIjoxNzkyMDY5NjA5LCJleHAiOjE3OTIxNTYwMDksInN1YiI6IjEzNjg3MzAyIiwiZ3JhbnRfdHlwZSI6IiIsImFjY291bnRfaWQiOjMyOTkwNjg2LCJiYXNlX2RvbWFpbiI6ImFtb2NybS5ydSIsInZlcnNpb24iOjIsInNjb3BlcyI6WyJwdXNoX25vdGlmaWNhdGlvbnMiLCJjcm0iLCJub3RpZmljYXRpb25zIl0sImhhc2hfdXVpZCI6IjZmODlkMzc2LWRmNjAtNDhjZC05MGU4LTIzOTY1Mjk0NTY2ZiIsImFwaV9kb21haW4iOiJhcGktYi5hbW9jcm0ucnUifQ.rGt0T1fD4kyX0AbViKkyacRTGC_BNg-4LXO675cPDyDCzTPwF04flG-A0JuGNAufWZwAYdD6XTwpx-BPZ2WqnaVZ7NOZE-9RUlIppDKJt-Gn5eNAUIzK3Kjlv6_E2HFgQWW_PjnvaHqzeW1viENb4t3KsqHT35Aiuh8I0YgrgG5GW76QETuhtFU3VNlF1otA14YGZyjtVligXcA2CwEYUmCi8ow33B64-0ltQ9dAbMGxxy0pJxhcMpR8eorDIMWt1D0BejiitE7YRnYeWkyWSTbGWtW3tTKhD95s4LzYqEZsK0U-9KfsTLos32uGIQwmdEIbN7COQmEdMW24pQe8Cw\"})","file":"/home/ytvmclwh/document.amocrm.md/src/Models/Docs.php","line":121} {"uid":"bbfa2ef"}
[2026-10-16 14:07:38] 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":"bbfa2ef"}
[2026-10-16 14:07: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/16 14:07:39</td>\r\n</tr>\r\n</table>\r\n<hr><center>tengine</center>\r\n</body>\r\n</html>\r\n"} {"uid":"bbfa2ef"}
[2026-10-16 14:07: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":"bbfa2ef"}
[2026-10-16 14:07: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":"bbfa2ef"}
[2026-10-16 14:07: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":"bbfa2ef"}
[2026-10-16 14:07: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/16 14:07: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":"bbfa2ef"}
[2026-10-16 14:07: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":"bbfa2ef"}
[2026-10-16 14:07: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":"bbfa2ef"}
[2026-10-16 14:07: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 1364 20261016140738\",\"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-19 14:05:00\",\"\\u0414\\u0430\\u0442\\u0430 \\u0432\\u0438\\u0437\\u0438\\u0442\\u0430\":\"19.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-19 14:05:00\",\"\\u0414\\u0430\\u0442\\u0430 \\u0432\\u0438\\u0437\\u0438\\u0442\\u0430\":\"19.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\":\"16.10.2026\",\"\\u041d\\u043e\\u043c\\u0435\\u0440\":\"1364\"},\"document\":{\"Date\":\"16.10.2026\",\"Number\":\"1364\"}}}","edit":true}} {"uid":"bbfa2ef"}
[2026-10-16 14:07:46] docflow.DEBUG: GAS raw response {"raw":"[object] (stdClass: {\"code\":1,\"url\":\"https://docs.google.com/open?id=18_lOd5E_-klSyL90ZxR6vms3ADvdf1sc3BFwZfUkObs\",\"file_id\":\"18_lOd5E_-klSyL90ZxR6vms3ADvdf1sc3BFwZfUkObs\",\"error\":\"\",\"vars\":\"\"})"} {"uid":"bbfa2ef"}
[2026-10-16 14:07:46] docflow.WARNING: AmoDrive generated-file move is not ready. {"fileId":"18_lOd5E_-klSyL90ZxR6vms3ADvdf1sc3BFwZfUkObs","context":null} {"uid":"bbfa2ef"}
[2026-10-16 14:07:50] 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":"657956e"}
[2026-10-16 14:07:50] docflow.INFO: Token is valid for account 32990686. [] {"uid":"657956e"}
[2026-10-16 14:07:50] docflow.DEBUG: getClientAuth returned {"auth":"[object] (stdClass: {\"domain\":\"eurosanteh.amocrm.ru\",\"access_token\":\"eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImp0aSI6Ijc1YmU1MzQ3NDI3MTIyNTc0YzhjOWNiMDRhMDI2OTc5OGNhMTI2NDRkMGI2NWJlNmYzNWI4NTY3ZjdmZDk1OTRmODVlOTU3ZWNiMmQ2YTg1In0.eyJhdWQiOiIwZDY0ZGZmYi1lNTRiLTQ0OGYtOWZiZi1iYWYyMjUxYTExZGIiLCJqdGkiOiI3NWJlNTM0NzQyNzEyMjU3NGM4YzljYjA0YTAyNjk3OThjYTEyNjQ0ZDBiNjViZTZmMzViODU2N2Y3ZmQ5NTk0Zjg1ZTk1N2VjYjJkNmE4NSIsImlhdCI6MTc5MjA2OTYwOSwibmJmIjoxNzkyMDY5NjA5LCJleHAiOjE3OTIxNTYwMDksInN1YiI6IjEzNjg3MzAyIiwiZ3JhbnRfdHlwZSI6IiIsImFjY291bnRfaWQiOjMyOTkwNjg2LCJiYXNlX2RvbWFpbiI6ImFtb2NybS5ydSIsInZlcnNpb24iOjIsInNjb3BlcyI6WyJwdXNoX25vdGlmaWNhdGlvbnMiLCJjcm0iLCJub3RpZmljYXRpb25zIl0sImhhc2hfdXVpZCI6IjZmODlkMzc2LWRmNjAtNDhjZC05MGU4LTIzOTY1Mjk0NTY2ZiIsImFwaV9kb21haW4iOiJhcGktYi5hbW9jcm0ucnUifQ.rGt0T1fD4kyX0AbViKkyacRTGC_BNg-4LXO675cPDyDCzTPwF04flG-A0JuGNAufWZwAYdD6XTwpx-BPZ2WqnaVZ7NOZE-9RUlIppDKJt-Gn5eNAUIzK3Kjlv6_E2HFgQWW_PjnvaHqzeW1viENb4t3KsqHT35Aiuh8I0YgrgG5GW76QETuhtFU3VNlF1otA14YGZyjtVligXcA2CwEYUmCi8ow33B64-0ltQ9dAbMGxxy0pJxhcMpR8eorDIMWt1D0BejiitE7YRnYeWkyWSTbGWtW3tTKhD95s4LzYqEZsK0U-9KfsTLos32uGIQwmdEIbN7COQmEdMW24pQe8Cw\"})","file":"/home/ytvmclwh/document.amocrm.md/src/Models/Docs.php","line":121} {"uid":"657956e"}
[2026-10-16 14:07:53] 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":"657956e"}
[2026-10-16 14:07: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=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/16 14:07:53</td>\r\n</tr>\r\n</table>\r\n<hr><center>tengine</center>\r\n</body>\r\n</html>\r\n"} {"uid":"657956e"}
[2026-10-16 14:07:53] 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":"657956e"}
[2026-10-16 14:07: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":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":"657956e"}
[2026-10-16 14:07:53] 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":"657956e"}
[2026-10-16 14:07: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/16 14:07: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":"32990686","entity_id":"40281355","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"657956e"}
[2026-10-16 14:07:53] 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":"657956e"}
[2026-10-16 14:07: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\":32990686})","payload":{"account_id":"32990686","entity_id":"40281355","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"657956e"}
[2026-10-16 14:07:53] 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 1364 20261016140753\",\"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-19 14:05:00\",\"\\u0414\\u0430\\u0442\\u0430 \\u0432\\u0438\\u0437\\u0438\\u0442\\u0430\":\"19.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-19 14:05:00\",\"\\u0414\\u0430\\u0442\\u0430 \\u0432\\u0438\\u0437\\u0438\\u0442\\u0430\":\"19.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\":\"16.10.2026\",\"\\u041d\\u043e\\u043c\\u0435\\u0440\":\"1364\"},\"document\":{\"Date\":\"16.10.2026\",\"Number\":\"1364\"}}}","edit":true}} {"uid":"657956e"}
[2026-10-16 14:08:00] docflow.DEBUG: GAS raw response {"raw":"[object] (stdClass: {\"code\":1,\"url\":\"https://docs.google.com/open?id=1gdGB7KyW6dkR5LA5RVOrLzN_j32cy6q0k3zW0cz1m9w\",\"file_id\":\"1gdGB7KyW6dkR5LA5RVOrLzN_j32cy6q0k3zW0cz1m9w\",\"error\":\"\",\"vars\":\"\"})"} {"uid":"657956e"}
[2026-10-16 14:08:00] docflow.WARNING: AmoDrive generated-file move is not ready. {"fileId":"1gdGB7KyW6dkR5LA5RVOrLzN_j32cy6q0k3zW0cz1m9w","context":null} {"uid":"657956e"}
[2026-10-16 14:11:43] docflow.INFO: Apel createDoc {"data":{"amoAccountId":"32990686","amoUserId":null,"amoEntityId":"51012637","amoEntityType":"2","templateId":"11625","corporateEntityId":"","settlementAccountId":"","is_signed":null,"gdi":null,"number":null,"currentAmoUserId":null,"lang":"ru"}} {"uid":"37e6290"}
[2026-10-16 14:11:43] docflow.INFO: Token is valid for account 32990686. [] {"uid":"37e6290"}
[2026-10-16 14:11:43] docflow.DEBUG: getClientAuth returned {"auth":"[object] (stdClass: {\"domain\":\"eurosanteh.amocrm.ru\",\"access_token\":\"eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImp0aSI6Ijc1YmU1MzQ3NDI3MTIyNTc0YzhjOWNiMDRhMDI2OTc5OGNhMTI2NDRkMGI2NWJlNmYzNWI4NTY3ZjdmZDk1OTRmODVlOTU3ZWNiMmQ2YTg1In0.eyJhdWQiOiIwZDY0ZGZmYi1lNTRiLTQ0OGYtOWZiZi1iYWYyMjUxYTExZGIiLCJqdGkiOiI3NWJlNTM0NzQyNzEyMjU3NGM4YzljYjA0YTAyNjk3OThjYTEyNjQ0ZDBiNjViZTZmMzViODU2N2Y3ZmQ5NTk0Zjg1ZTk1N2VjYjJkNmE4NSIsImlhdCI6MTc5MjA2OTYwOSwibmJmIjoxNzkyMDY5NjA5LCJleHAiOjE3OTIxNTYwMDksInN1YiI6IjEzNjg3MzAyIiwiZ3JhbnRfdHlwZSI6IiIsImFjY291bnRfaWQiOjMyOTkwNjg2LCJiYXNlX2RvbWFpbiI6ImFtb2NybS5ydSIsInZlcnNpb24iOjIsInNjb3BlcyI6WyJwdXNoX25vdGlmaWNhdGlvbnMiLCJjcm0iLCJub3RpZmljYXRpb25zIl0sImhhc2hfdXVpZCI6IjZmODlkMzc2LWRmNjAtNDhjZC05MGU4LTIzOTY1Mjk0NTY2ZiIsImFwaV9kb21haW4iOiJhcGktYi5hbW9jcm0ucnUifQ.rGt0T1fD4kyX0AbViKkyacRTGC_BNg-4LXO675cPDyDCzTPwF04flG-A0JuGNAufWZwAYdD6XTwpx-BPZ2WqnaVZ7NOZE-9RUlIppDKJt-Gn5eNAUIzK3Kjlv6_E2HFgQWW_PjnvaHqzeW1viENb4t3KsqHT35Aiuh8I0YgrgG5GW76QETuhtFU3VNlF1otA14YGZyjtVligXcA2CwEYUmCi8ow33B64-0ltQ9dAbMGxxy0pJxhcMpR8eorDIMWt1D0BejiitE7YRnYeWkyWSTbGWtW3tTKhD95s4LzYqEZsK0U-9KfsTLos32uGIQwmdEIbN7COQmEdMW24pQe8Cw\"})","file":"/home/ytvmclwh/document.amocrm.md/src/Models/Docs.php","line":121} {"uid":"37e6290"}
[2026-10-16 14:11:46] docflow.DEBUG: AmoDrive docflow context request {"url":"https://google.emale.uno/api/docflow/google-context","query":{"account_id":"32990686","entity_id":"51012637","entity_type":"leads"}} {"uid":"37e6290"}
[2026-10-16 14:11: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=32990686&amp;entity_id=51012637&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/16 14:11:46</td>\r\n</tr>\r\n</table>\r\n<hr><center>tengine</center>\r\n</body>\r\n</html>\r\n"} {"uid":"37e6290"}
[2026-10-16 14:11:46] docflow.DEBUG: AmoDrive docflow context request {"url":"https://gd.glucose-dev.online/api/docflow/google-context","query":{"account_id":"32990686","entity_id":"51012637","entity_type":"leads"}} {"uid":"37e6290"}
[2026-10-16 14:11: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":32990686,"entityId":"51012637","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":"37e6290"}
[2026-10-16 14:11:46] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://google.emale.uno/api/docflow/prepare-generated-doc","payload":{"account_id":"32990686","entity_id":"51012637","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"37e6290"}
[2026-10-16 14:11: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/16 14:11: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":"32990686","entity_id":"51012637","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"37e6290"}
[2026-10-16 14:11:46] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://gd.glucose-dev.online/api/docflow/prepare-generated-doc","payload":{"account_id":"32990686","entity_id":"51012637","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"37e6290"}
[2026-10-16 14:11: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\":32990686})","payload":{"account_id":"32990686","entity_id":"51012637","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"37e6290"}
[2026-10-16 14:11:46] 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 1365 20261016141146\",\"leadId\":\"51012637\",\"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-19 10:36:00\",\"\\u0414\\u0430\\u0442\\u0430 \\u0432\\u0438\\u0437\\u0438\\u0442\\u0430\":\"19.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 Revive 25\",\"\\u0421\\u043b\\u0435\\u0434\\u0443\\u044e\\u0449\\u0430\\u044f \\u0434\\u0430\\u0442\\u0430 \\u0441\\u0435\\u0440\\u0432\\u0438\\u0441\\u0430\":\"19.10.2027\",\"ID\":\"51012637\",\"\\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\":{\"\\u0414\\u0430\\u0442\\u0430 \\u0438 \\u0432\\u0440\\u0435\\u043c\\u044f \\u0432\\u0438\\u0437\\u0438\\u0442\\u0430\":\"2026-10-19 10:36:00\",\"\\u0414\\u0430\\u0442\\u0430 \\u0432\\u0438\\u0437\\u0438\\u0442\\u0430\":\"19.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 Revive 25\",\"\\u0421\\u043b\\u0435\\u0434\\u0443\\u044e\\u0449\\u0430\\u044f \\u0434\\u0430\\u0442\\u0430 \\u0441\\u0435\\u0440\\u0432\\u0438\\u0441\\u0430\":\"19.10.2027\",\"ID\":\"51012637\",\"\\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\":\"2004002120632\",\"\\u0410\\u0434\\u0440\\u0435\\u0441\":\"bl Moscovei 9\\/5 ap 323\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"37369045418\",\"\\u0418\\u043c\\u044f \\u043a\\u043b\\u0438\\u0435\\u043d\\u0442\\u0430 (\\u0421\\u041c\\u0421)\":\"Mighella\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Mihaela Munteanu\",\"Contact_name\":\"Mihaela Munteanu\",\"\\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\":\"2004002120632\",\"\\u0410\\u0434\\u0440\\u0435\\u0441\":\"bl Moscovei 9\\/5 ap 323\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"37369045418\",\"\\u0418\\u043c\\u044f \\u043a\\u043b\\u0438\\u0435\\u043d\\u0442\\u0430 (\\u0421\\u041c\\u0421)\":\"Mighella\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Mihaela Munteanu\",\"Contact_name\":\"Mihaela Munteanu\",\"\\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\":\"2004002120632\",\"\\u0410\\u0434\\u0440\\u0435\\u0441\":\"bl Moscovei 9\\/5 ap 323\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"37369045418\",\"\\u0418\\u043c\\u044f \\u043a\\u043b\\u0438\\u0435\\u043d\\u0442\\u0430 (\\u0421\\u041c\\u0421)\":\"Mighella\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Mihaela Munteanu\",\"\\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\":\"16.10.2026\",\"\\u041d\\u043e\\u043c\\u0435\\u0440\":\"1365\"},\"document\":{\"Date\":\"16.10.2026\",\"Number\":\"1365\"}}}","edit":true}} {"uid":"37e6290"}
[2026-10-16 14:11:52] docflow.DEBUG: GAS raw response {"raw":"[object] (stdClass: {\"code\":1,\"url\":\"https://docs.google.com/open?id=1EHwE0wM1ozuFzIjUiX7GAJIkwAyrWXCG_lXPIon3YpA\",\"file_id\":\"1EHwE0wM1ozuFzIjUiX7GAJIkwAyrWXCG_lXPIon3YpA\",\"error\":\"\",\"vars\":\"\"})"} {"uid":"37e6290"}
[2026-10-16 14:11:52] docflow.WARNING: AmoDrive generated-file move is not ready. {"fileId":"1EHwE0wM1ozuFzIjUiX7GAJIkwAyrWXCG_lXPIon3YpA","context":null} {"uid":"37e6290"}
[2026-10-16 14:11:57] docflow.INFO: Apel createDoc {"data":{"amoAccountId":"32990686","amoUserId":null,"amoEntityId":"51012637","amoEntityType":"2","templateId":"11646","corporateEntityId":"","settlementAccountId":"","is_signed":null,"gdi":null,"number":null,"currentAmoUserId":null,"lang":"ru"}} {"uid":"8fe63a0"}
[2026-10-16 14:11:57] docflow.INFO: Token is valid for account 32990686. [] {"uid":"8fe63a0"}
[2026-10-16 14:11:57] docflow.DEBUG: getClientAuth returned {"auth":"[object] (stdClass: {\"domain\":\"eurosanteh.amocrm.ru\",\"access_token\":\"eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImp0aSI6Ijc1YmU1MzQ3NDI3MTIyNTc0YzhjOWNiMDRhMDI2OTc5OGNhMTI2NDRkMGI2NWJlNmYzNWI4NTY3ZjdmZDk1OTRmODVlOTU3ZWNiMmQ2YTg1In0.eyJhdWQiOiIwZDY0ZGZmYi1lNTRiLTQ0OGYtOWZiZi1iYWYyMjUxYTExZGIiLCJqdGkiOiI3NWJlNTM0NzQyNzEyMjU3NGM4YzljYjA0YTAyNjk3OThjYTEyNjQ0ZDBiNjViZTZmMzViODU2N2Y3ZmQ5NTk0Zjg1ZTk1N2VjYjJkNmE4NSIsImlhdCI6MTc5MjA2OTYwOSwibmJmIjoxNzkyMDY5NjA5LCJleHAiOjE3OTIxNTYwMDksInN1YiI6IjEzNjg3MzAyIiwiZ3JhbnRfdHlwZSI6IiIsImFjY291bnRfaWQiOjMyOTkwNjg2LCJiYXNlX2RvbWFpbiI6ImFtb2NybS5ydSIsInZlcnNpb24iOjIsInNjb3BlcyI6WyJwdXNoX25vdGlmaWNhdGlvbnMiLCJjcm0iLCJub3RpZmljYXRpb25zIl0sImhhc2hfdXVpZCI6IjZmODlkMzc2LWRmNjAtNDhjZC05MGU4LTIzOTY1Mjk0NTY2ZiIsImFwaV9kb21haW4iOiJhcGktYi5hbW9jcm0ucnUifQ.rGt0T1fD4kyX0AbViKkyacRTGC_BNg-4LXO675cPDyDCzTPwF04flG-A0JuGNAufWZwAYdD6XTwpx-BPZ2WqnaVZ7NOZE-9RUlIppDKJt-Gn5eNAUIzK3Kjlv6_E2HFgQWW_PjnvaHqzeW1viENb4t3KsqHT35Aiuh8I0YgrgG5GW76QETuhtFU3VNlF1otA14YGZyjtVligXcA2CwEYUmCi8ow33B64-0ltQ9dAbMGxxy0pJxhcMpR8eorDIMWt1D0BejiitE7YRnYeWkyWSTbGWtW3tTKhD95s4LzYqEZsK0U-9KfsTLos32uGIQwmdEIbN7COQmEdMW24pQe8Cw\"})","file":"/home/ytvmclwh/document.amocrm.md/src/Models/Docs.php","line":121} {"uid":"8fe63a0"}
[2026-10-16 14:11:59] docflow.DEBUG: AmoDrive docflow context request {"url":"https://google.emale.uno/api/docflow/google-context","query":{"account_id":"32990686","entity_id":"51012637","entity_type":"leads"}} {"uid":"8fe63a0"}
[2026-10-16 14:11: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=32990686&amp;entity_id=51012637&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/16 14:11:59</td>\r\n</tr>\r\n</table>\r\n<hr><center>tengine</center>\r\n</body>\r\n</html>\r\n"} {"uid":"8fe63a0"}
[2026-10-16 14:11:59] docflow.DEBUG: AmoDrive docflow context request {"url":"https://gd.glucose-dev.online/api/docflow/google-context","query":{"account_id":"32990686","entity_id":"51012637","entity_type":"leads"}} {"uid":"8fe63a0"}
[2026-10-16 14:11: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":32990686,"entityId":"51012637","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":"8fe63a0"}
[2026-10-16 14:11:59] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://google.emale.uno/api/docflow/prepare-generated-doc","payload":{"account_id":"32990686","entity_id":"51012637","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"8fe63a0"}
[2026-10-16 14:12: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/16 14:12: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":"51012637","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"8fe63a0"}
[2026-10-16 14:12: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":"51012637","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"8fe63a0"}
[2026-10-16 14:12: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":"51012637","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"8fe63a0"}
[2026-10-16 14:12: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 1365 20261016141159\",\"leadId\":\"51012637\",\"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-19 10:36:00\",\"\\u0414\\u0430\\u0442\\u0430 \\u0432\\u0438\\u0437\\u0438\\u0442\\u0430\":\"19.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 Revive 25\",\"\\u0421\\u043b\\u0435\\u0434\\u0443\\u044e\\u0449\\u0430\\u044f \\u0434\\u0430\\u0442\\u0430 \\u0441\\u0435\\u0440\\u0432\\u0438\\u0441\\u0430\":\"19.10.2027\",\"ID\":\"51012637\",\"\\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\":{\"\\u0414\\u0430\\u0442\\u0430 \\u0438 \\u0432\\u0440\\u0435\\u043c\\u044f \\u0432\\u0438\\u0437\\u0438\\u0442\\u0430\":\"2026-10-19 10:36:00\",\"\\u0414\\u0430\\u0442\\u0430 \\u0432\\u0438\\u0437\\u0438\\u0442\\u0430\":\"19.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 Revive 25\",\"\\u0421\\u043b\\u0435\\u0434\\u0443\\u044e\\u0449\\u0430\\u044f \\u0434\\u0430\\u0442\\u0430 \\u0441\\u0435\\u0440\\u0432\\u0438\\u0441\\u0430\":\"19.10.2027\",\"ID\":\"51012637\",\"\\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\":\"2004002120632\",\"\\u0410\\u0434\\u0440\\u0435\\u0441\":\"bl Moscovei 9\\/5 ap 323\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"37369045418\",\"\\u0418\\u043c\\u044f \\u043a\\u043b\\u0438\\u0435\\u043d\\u0442\\u0430 (\\u0421\\u041c\\u0421)\":\"Mighella\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Mihaela Munteanu\",\"Contact_name\":\"Mihaela Munteanu\",\"\\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\":\"2004002120632\",\"\\u0410\\u0434\\u0440\\u0435\\u0441\":\"bl Moscovei 9\\/5 ap 323\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"37369045418\",\"\\u0418\\u043c\\u044f \\u043a\\u043b\\u0438\\u0435\\u043d\\u0442\\u0430 (\\u0421\\u041c\\u0421)\":\"Mighella\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Mihaela Munteanu\",\"Contact_name\":\"Mihaela Munteanu\",\"\\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\":\"2004002120632\",\"\\u0410\\u0434\\u0440\\u0435\\u0441\":\"bl Moscovei 9\\/5 ap 323\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"37369045418\",\"\\u0418\\u043c\\u044f \\u043a\\u043b\\u0438\\u0435\\u043d\\u0442\\u0430 (\\u0421\\u041c\\u0421)\":\"Mighella\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Mihaela Munteanu\",\"\\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\":\"16.10.2026\",\"\\u041d\\u043e\\u043c\\u0435\\u0440\":\"1365\"},\"document\":{\"Date\":\"16.10.2026\",\"Number\":\"1365\"}}}","edit":true}} {"uid":"8fe63a0"}
[2026-10-16 14:12:06] docflow.DEBUG: GAS raw response {"raw":"[object] (stdClass: {\"code\":1,\"url\":\"https://docs.google.com/open?id=1H5tb1EZoWSCCk2NEToeXDKFh0NQcAxZ-IXMf-H_zq8g\",\"file_id\":\"1H5tb1EZoWSCCk2NEToeXDKFh0NQcAxZ-IXMf-H_zq8g\",\"error\":\"\",\"vars\":\"\"})"} {"uid":"8fe63a0"}
[2026-10-16 14:12:06] docflow.WARNING: AmoDrive generated-file move is not ready. {"fileId":"1H5tb1EZoWSCCk2NEToeXDKFh0NQcAxZ-IXMf-H_zq8g","context":null} {"uid":"8fe63a0"}
[2026-10-16 14:15:10] docflow.INFO: Apel createDoc {"data":{"amoAccountId":"32990686","amoUserId":null,"amoEntityId":"51186103","amoEntityType":"2","templateId":"11625","corporateEntityId":"","settlementAccountId":"","is_signed":null,"gdi":null,"number":null,"currentAmoUserId":null,"lang":"ru"}} {"uid":"af2c956"}
[2026-10-16 14:15:11] docflow.INFO: Token is valid for account 32990686. [] {"uid":"af2c956"}
[2026-10-16 14:15:11] docflow.DEBUG: getClientAuth returned {"auth":"[object] (stdClass: {\"domain\":\"eurosanteh.amocrm.ru\",\"access_token\":\"eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImp0aSI6Ijc1YmU1MzQ3NDI3MTIyNTc0YzhjOWNiMDRhMDI2OTc5OGNhMTI2NDRkMGI2NWJlNmYzNWI4NTY3ZjdmZDk1OTRmODVlOTU3ZWNiMmQ2YTg1In0.eyJhdWQiOiIwZDY0ZGZmYi1lNTRiLTQ0OGYtOWZiZi1iYWYyMjUxYTExZGIiLCJqdGkiOiI3NWJlNTM0NzQyNzEyMjU3NGM4YzljYjA0YTAyNjk3OThjYTEyNjQ0ZDBiNjViZTZmMzViODU2N2Y3ZmQ5NTk0Zjg1ZTk1N2VjYjJkNmE4NSIsImlhdCI6MTc5MjA2OTYwOSwibmJmIjoxNzkyMDY5NjA5LCJleHAiOjE3OTIxNTYwMDksInN1YiI6IjEzNjg3MzAyIiwiZ3JhbnRfdHlwZSI6IiIsImFjY291bnRfaWQiOjMyOTkwNjg2LCJiYXNlX2RvbWFpbiI6ImFtb2NybS5ydSIsInZlcnNpb24iOjIsInNjb3BlcyI6WyJwdXNoX25vdGlmaWNhdGlvbnMiLCJjcm0iLCJub3RpZmljYXRpb25zIl0sImhhc2hfdXVpZCI6IjZmODlkMzc2LWRmNjAtNDhjZC05MGU4LTIzOTY1Mjk0NTY2ZiIsImFwaV9kb21haW4iOiJhcGktYi5hbW9jcm0ucnUifQ.rGt0T1fD4kyX0AbViKkyacRTGC_BNg-4LXO675cPDyDCzTPwF04flG-A0JuGNAufWZwAYdD6XTwpx-BPZ2WqnaVZ7NOZE-9RUlIppDKJt-Gn5eNAUIzK3Kjlv6_E2HFgQWW_PjnvaHqzeW1viENb4t3KsqHT35Aiuh8I0YgrgG5GW76QETuhtFU3VNlF1otA14YGZyjtVligXcA2CwEYUmCi8ow33B64-0ltQ9dAbMGxxy0pJxhcMpR8eorDIMWt1D0BejiitE7YRnYeWkyWSTbGWtW3tTKhD95s4LzYqEZsK0U-9KfsTLos32uGIQwmdEIbN7COQmEdMW24pQe8Cw\"})","file":"/home/ytvmclwh/document.amocrm.md/src/Models/Docs.php","line":121} {"uid":"af2c956"}
[2026-10-16 14:15:16] docflow.DEBUG: AmoDrive docflow context request {"url":"https://google.emale.uno/api/docflow/google-context","query":{"account_id":"32990686","entity_id":"51186103","entity_type":"leads"}} {"uid":"af2c956"}
[2026-10-16 14:15: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=51186103&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/16 14:15:16</td>\r\n</tr>\r\n</table>\r\n<hr><center>tengine</center>\r\n</body>\r\n</html>\r\n"} {"uid":"af2c956"}
[2026-10-16 14:15:16] docflow.DEBUG: AmoDrive docflow context request {"url":"https://gd.glucose-dev.online/api/docflow/google-context","query":{"account_id":"32990686","entity_id":"51186103","entity_type":"leads"}} {"uid":"af2c956"}
[2026-10-16 14:15:17] 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":"51186103","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":"af2c956"}
[2026-10-16 14:15:17] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://google.emale.uno/api/docflow/prepare-generated-doc","payload":{"account_id":"32990686","entity_id":"51186103","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"af2c956"}
[2026-10-16 14:15: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/16 14:15: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":"51186103","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"af2c956"}
[2026-10-16 14:15: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":"51186103","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"af2c956"}
[2026-10-16 14:15: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":"51186103","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"af2c956"}
[2026-10-16 14:15: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 1366 20261016141516\",\"leadId\":\"51186103\",\"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-17 14:14:00\",\"\\u0414\\u0430\\u0442\\u0430 \\u0432\\u0438\\u0437\\u0438\\u0442\\u0430\":\"17.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 Revive 25+Haier\",\"\\u0421\\u043b\\u0435\\u0434\\u0443\\u044e\\u0449\\u0430\\u044f \\u0434\\u0430\\u0442\\u0430 \\u0441\\u0435\\u0440\\u0432\\u0438\\u0441\\u0430\":\"17.10.2027\",\"ID\":\"51186103\",\"\\u0421\\u0434\\u0435\\u043b\\u043a\\u0430_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"\\u043f\\u0442\\u043e 1 \\u0448\\u0442 \\u043f\\u043e \\u0433\\u0430\\u0440\\u0430\\u043d\\u0442\\u0438\\u0438  1 \\u0448\\u0442 \\u0431\\u0435\\u0437 \\u0433\\u0430\\u0440\\u0430\\u043d\\u0442\\u0438\\u0438\",\"Lead_name\":\"\\u043f\\u0442\\u043e 1 \\u0448\\u0442 \\u043f\\u043e \\u0433\\u0430\\u0440\\u0430\\u043d\\u0442\\u0438\\u0438  1 \\u0448\\u0442 \\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-17 14:14:00\",\"\\u0414\\u0430\\u0442\\u0430 \\u0432\\u0438\\u0437\\u0438\\u0442\\u0430\":\"17.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 Revive 25+Haier\",\"\\u0421\\u043b\\u0435\\u0434\\u0443\\u044e\\u0449\\u0430\\u044f \\u0434\\u0430\\u0442\\u0430 \\u0441\\u0435\\u0440\\u0432\\u0438\\u0441\\u0430\":\"17.10.2027\",\"ID\":\"51186103\",\"\\u0421\\u0434\\u0435\\u043b\\u043a\\u0430_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"\\u043f\\u0442\\u043e 1 \\u0448\\u0442 \\u043f\\u043e \\u0433\\u0430\\u0440\\u0430\\u043d\\u0442\\u0438\\u0438  1 \\u0448\\u0442 \\u0431\\u0435\\u0437 \\u0433\\u0430\\u0440\\u0430\\u043d\\u0442\\u0438\\u0438\",\"Lead_name\":\"\\u043f\\u0442\\u043e 1 \\u0448\\u0442 \\u043f\\u043e \\u0433\\u0430\\u0440\\u0430\\u043d\\u0442\\u0438\\u0438  1 \\u0448\\u0442 \\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\":{\"\\u0418\\u0414\\u041d\\u041e\":\"970708021170\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"37360601195\",\"\\u0410\\u0434\\u0440\\u0435\\u0441\":\"A Doga 39\\/2 et 8 ap 100\",\"\\u0422\\u0438\\u043f \\u043a\\u043b\\u0438\\u0435\\u043d\\u0442\\u0430\":\"\\u0424\\u0438\\u0437.\\u043b\\u0438\\u0446\",\"\\u0420\\u0430\\u0439\\u043e\\u043d\":\"\\u0420\\u044b\\u0448\\u043a\\u0430\\u043d\\u043e\\u0432\\u043a\\u0430\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Anastasia Gaidaenco\",\"Contact_name\":\"Anastasia Gaidaenco\",\"\\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\":\"970708021170\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"37360601195\",\"\\u0410\\u0434\\u0440\\u0435\\u0441\":\"A Doga 39\\/2 et 8 ap 100\",\"\\u0422\\u0438\\u043f \\u043a\\u043b\\u0438\\u0435\\u043d\\u0442\\u0430\":\"\\u0424\\u0438\\u0437.\\u043b\\u0438\\u0446\",\"\\u0420\\u0430\\u0439\\u043e\\u043d\":\"\\u0420\\u044b\\u0448\\u043a\\u0430\\u043d\\u043e\\u0432\\u043a\\u0430\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Anastasia Gaidaenco\",\"Contact_name\":\"Anastasia Gaidaenco\",\"\\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\":\"970708021170\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"37360601195\",\"\\u0410\\u0434\\u0440\\u0435\\u0441\":\"A Doga 39\\/2 et 8 ap 100\",\"\\u0422\\u0438\\u043f \\u043a\\u043b\\u0438\\u0435\\u043d\\u0442\\u0430\":\"\\u0424\\u0438\\u0437.\\u043b\\u0438\\u0446\",\"\\u0420\\u0430\\u0439\\u043e\\u043d\":\"\\u0420\\u044b\\u0448\\u043a\\u0430\\u043d\\u043e\\u0432\\u043a\\u0430\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Anastasia Gaidaenco\",\"\\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\":\"16.10.2026\",\"\\u041d\\u043e\\u043c\\u0435\\u0440\":\"1366\"},\"document\":{\"Date\":\"16.10.2026\",\"Number\":\"1366\"}}}","edit":true}} {"uid":"af2c956"}
[2026-10-16 14:15:24] docflow.DEBUG: GAS raw response {"raw":"[object] (stdClass: {\"code\":1,\"url\":\"https://docs.google.com/open?id=12oeddltZaG4rReVS-wO6tDXYJGVu01g3sfyaRiOki6U\",\"file_id\":\"12oeddltZaG4rReVS-wO6tDXYJGVu01g3sfyaRiOki6U\",\"error\":\"\",\"vars\":\"\"})"} {"uid":"af2c956"}
[2026-10-16 14:15:24] docflow.WARNING: AmoDrive generated-file move is not ready. {"fileId":"12oeddltZaG4rReVS-wO6tDXYJGVu01g3sfyaRiOki6U","context":null} {"uid":"af2c956"}
[2026-10-16 14:16:50] docflow.INFO: Apel createDoc {"data":{"amoAccountId":"32990686","amoUserId":null,"amoEntityId":"51186103","amoEntityType":"2","templateId":"11646","corporateEntityId":"","settlementAccountId":"","is_signed":null,"gdi":null,"number":null,"currentAmoUserId":null,"lang":"ru"}} {"uid":"7a6309c"}
[2026-10-16 14:16:50] docflow.INFO: Token is valid for account 32990686. [] {"uid":"7a6309c"}
[2026-10-16 14:16:50] docflow.DEBUG: getClientAuth returned {"auth":"[object] (stdClass: {\"domain\":\"eurosanteh.amocrm.ru\",\"access_token\":\"eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImp0aSI6Ijc1YmU1MzQ3NDI3MTIyNTc0YzhjOWNiMDRhMDI2OTc5OGNhMTI2NDRkMGI2NWJlNmYzNWI4NTY3ZjdmZDk1OTRmODVlOTU3ZWNiMmQ2YTg1In0.eyJhdWQiOiIwZDY0ZGZmYi1lNTRiLTQ0OGYtOWZiZi1iYWYyMjUxYTExZGIiLCJqdGkiOiI3NWJlNTM0NzQyNzEyMjU3NGM4YzljYjA0YTAyNjk3OThjYTEyNjQ0ZDBiNjViZTZmMzViODU2N2Y3ZmQ5NTk0Zjg1ZTk1N2VjYjJkNmE4NSIsImlhdCI6MTc5MjA2OTYwOSwibmJmIjoxNzkyMDY5NjA5LCJleHAiOjE3OTIxNTYwMDksInN1YiI6IjEzNjg3MzAyIiwiZ3JhbnRfdHlwZSI6IiIsImFjY291bnRfaWQiOjMyOTkwNjg2LCJiYXNlX2RvbWFpbiI6ImFtb2NybS5ydSIsInZlcnNpb24iOjIsInNjb3BlcyI6WyJwdXNoX25vdGlmaWNhdGlvbnMiLCJjcm0iLCJub3RpZmljYXRpb25zIl0sImhhc2hfdXVpZCI6IjZmODlkMzc2LWRmNjAtNDhjZC05MGU4LTIzOTY1Mjk0NTY2ZiIsImFwaV9kb21haW4iOiJhcGktYi5hbW9jcm0ucnUifQ.rGt0T1fD4kyX0AbViKkyacRTGC_BNg-4LXO675cPDyDCzTPwF04flG-A0JuGNAufWZwAYdD6XTwpx-BPZ2WqnaVZ7NOZE-9RUlIppDKJt-Gn5eNAUIzK3Kjlv6_E2HFgQWW_PjnvaHqzeW1viENb4t3KsqHT35Aiuh8I0YgrgG5GW76QETuhtFU3VNlF1otA14YGZyjtVligXcA2CwEYUmCi8ow33B64-0ltQ9dAbMGxxy0pJxhcMpR8eorDIMWt1D0BejiitE7YRnYeWkyWSTbGWtW3tTKhD95s4LzYqEZsK0U-9KfsTLos32uGIQwmdEIbN7COQmEdMW24pQe8Cw\"})","file":"/home/ytvmclwh/document.amocrm.md/src/Models/Docs.php","line":121} {"uid":"7a6309c"}
[2026-10-16 14:16:53] docflow.DEBUG: AmoDrive docflow context request {"url":"https://google.emale.uno/api/docflow/google-context","query":{"account_id":"32990686","entity_id":"51186103","entity_type":"leads"}} {"uid":"7a6309c"}
[2026-10-16 14:16: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=32990686&amp;entity_id=51186103&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/16 14:16:53</td>\r\n</tr>\r\n</table>\r\n<hr><center>tengine</center>\r\n</body>\r\n</html>\r\n"} {"uid":"7a6309c"}
[2026-10-16 14:16:53] docflow.DEBUG: AmoDrive docflow context request {"url":"https://gd.glucose-dev.online/api/docflow/google-context","query":{"account_id":"32990686","entity_id":"51186103","entity_type":"leads"}} {"uid":"7a6309c"}
[2026-10-16 14:16: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":32990686,"entityId":"51186103","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":"7a6309c"}
[2026-10-16 14:16:53] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://google.emale.uno/api/docflow/prepare-generated-doc","payload":{"account_id":"32990686","entity_id":"51186103","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"7a6309c"}
[2026-10-16 14:16: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/16 14:16: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":"32990686","entity_id":"51186103","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"7a6309c"}
[2026-10-16 14:16:53] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://gd.glucose-dev.online/api/docflow/prepare-generated-doc","payload":{"account_id":"32990686","entity_id":"51186103","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"7a6309c"}
[2026-10-16 14:16: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\":32990686})","payload":{"account_id":"32990686","entity_id":"51186103","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"7a6309c"}
[2026-10-16 14:16:53] 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 1366 20261016141653\",\"leadId\":\"51186103\",\"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-17 14:14:00\",\"\\u0414\\u0430\\u0442\\u0430 \\u0432\\u0438\\u0437\\u0438\\u0442\\u0430\":\"17.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 Revive 25+Haier\",\"\\u0421\\u043b\\u0435\\u0434\\u0443\\u044e\\u0449\\u0430\\u044f \\u0434\\u0430\\u0442\\u0430 \\u0441\\u0435\\u0440\\u0432\\u0438\\u0441\\u0430\":\"17.10.2027\",\"ID\":\"51186103\",\"\\u0421\\u0434\\u0435\\u043b\\u043a\\u0430_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"\\u043f\\u0442\\u043e 1 \\u0448\\u0442 \\u043f\\u043e \\u0433\\u0430\\u0440\\u0430\\u043d\\u0442\\u0438\\u0438  1 \\u0448\\u0442 \\u0431\\u0435\\u0437 \\u0433\\u0430\\u0440\\u0430\\u043d\\u0442\\u0438\\u0438\",\"Lead_name\":\"\\u043f\\u0442\\u043e 1 \\u0448\\u0442 \\u043f\\u043e \\u0433\\u0430\\u0440\\u0430\\u043d\\u0442\\u0438\\u0438  1 \\u0448\\u0442 \\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-17 14:14:00\",\"\\u0414\\u0430\\u0442\\u0430 \\u0432\\u0438\\u0437\\u0438\\u0442\\u0430\":\"17.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 Revive 25+Haier\",\"\\u0421\\u043b\\u0435\\u0434\\u0443\\u044e\\u0449\\u0430\\u044f \\u0434\\u0430\\u0442\\u0430 \\u0441\\u0435\\u0440\\u0432\\u0438\\u0441\\u0430\":\"17.10.2027\",\"ID\":\"51186103\",\"\\u0421\\u0434\\u0435\\u043b\\u043a\\u0430_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"\\u043f\\u0442\\u043e 1 \\u0448\\u0442 \\u043f\\u043e \\u0433\\u0430\\u0440\\u0430\\u043d\\u0442\\u0438\\u0438  1 \\u0448\\u0442 \\u0431\\u0435\\u0437 \\u0433\\u0430\\u0440\\u0430\\u043d\\u0442\\u0438\\u0438\",\"Lead_name\":\"\\u043f\\u0442\\u043e 1 \\u0448\\u0442 \\u043f\\u043e \\u0433\\u0430\\u0440\\u0430\\u043d\\u0442\\u0438\\u0438  1 \\u0448\\u0442 \\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\":{\"\\u0418\\u0414\\u041d\\u041e\":\"970708021170\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"37360601195\",\"\\u0410\\u0434\\u0440\\u0435\\u0441\":\"A Doga 39\\/2 et 8 ap 100\",\"\\u0422\\u0438\\u043f \\u043a\\u043b\\u0438\\u0435\\u043d\\u0442\\u0430\":\"\\u0424\\u0438\\u0437.\\u043b\\u0438\\u0446\",\"\\u0420\\u0430\\u0439\\u043e\\u043d\":\"\\u0420\\u044b\\u0448\\u043a\\u0430\\u043d\\u043e\\u0432\\u043a\\u0430\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Anastasia Gaidaenco\",\"Contact_name\":\"Anastasia Gaidaenco\",\"\\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\":\"970708021170\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"37360601195\",\"\\u0410\\u0434\\u0440\\u0435\\u0441\":\"A Doga 39\\/2 et 8 ap 100\",\"\\u0422\\u0438\\u043f \\u043a\\u043b\\u0438\\u0435\\u043d\\u0442\\u0430\":\"\\u0424\\u0438\\u0437.\\u043b\\u0438\\u0446\",\"\\u0420\\u0430\\u0439\\u043e\\u043d\":\"\\u0420\\u044b\\u0448\\u043a\\u0430\\u043d\\u043e\\u0432\\u043a\\u0430\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Anastasia Gaidaenco\",\"Contact_name\":\"Anastasia Gaidaenco\",\"\\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\":\"970708021170\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"37360601195\",\"\\u0410\\u0434\\u0440\\u0435\\u0441\":\"A Doga 39\\/2 et 8 ap 100\",\"\\u0422\\u0438\\u043f \\u043a\\u043b\\u0438\\u0435\\u043d\\u0442\\u0430\":\"\\u0424\\u0438\\u0437.\\u043b\\u0438\\u0446\",\"\\u0420\\u0430\\u0439\\u043e\\u043d\":\"\\u0420\\u044b\\u0448\\u043a\\u0430\\u043d\\u043e\\u0432\\u043a\\u0430\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Anastasia Gaidaenco\",\"\\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\":\"16.10.2026\",\"\\u041d\\u043e\\u043c\\u0435\\u0440\":\"1366\"},\"document\":{\"Date\":\"16.10.2026\",\"Number\":\"1366\"}}}","edit":true}} {"uid":"7a6309c"}
[2026-10-16 14:17:03] docflow.DEBUG: GAS raw response {"raw":"[object] (stdClass: {\"code\":1,\"url\":\"https://docs.google.com/open?id=1ZiO41R5Fv_cV_tt4m5a6RKiaxjskNEFUnDcD39rt6xE\",\"file_id\":\"1ZiO41R5Fv_cV_tt4m5a6RKiaxjskNEFUnDcD39rt6xE\",\"error\":\"\",\"vars\":\"\"})"} {"uid":"7a6309c"}
[2026-10-16 14:17:03] docflow.WARNING: AmoDrive generated-file move is not ready. {"fileId":"1ZiO41R5Fv_cV_tt4m5a6RKiaxjskNEFUnDcD39rt6xE","context":null} {"uid":"7a6309c"}
[2026-10-16 14:31:41] docflow.INFO: Apel createDoc {"data":{"amoAccountId":"32990686","amoUserId":null,"amoEntityId":"51186819","amoEntityType":"2","templateId":"11625","corporateEntityId":"","settlementAccountId":"","is_signed":null,"gdi":null,"number":null,"currentAmoUserId":null,"lang":"ru"}} {"uid":"658d5ac"}
[2026-10-16 14:31:41] docflow.INFO: Token is valid for account 32990686. [] {"uid":"658d5ac"}
[2026-10-16 14:31:41] docflow.DEBUG: getClientAuth returned {"auth":"[object] (stdClass: {\"domain\":\"eurosanteh.amocrm.ru\",\"access_token\":\"eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImp0aSI6Ijc1YmU1MzQ3NDI3MTIyNTc0YzhjOWNiMDRhMDI2OTc5OGNhMTI2NDRkMGI2NWJlNmYzNWI4NTY3ZjdmZDk1OTRmODVlOTU3ZWNiMmQ2YTg1In0.eyJhdWQiOiIwZDY0ZGZmYi1lNTRiLTQ0OGYtOWZiZi1iYWYyMjUxYTExZGIiLCJqdGkiOiI3NWJlNTM0NzQyNzEyMjU3NGM4YzljYjA0YTAyNjk3OThjYTEyNjQ0ZDBiNjViZTZmMzViODU2N2Y3ZmQ5NTk0Zjg1ZTk1N2VjYjJkNmE4NSIsImlhdCI6MTc5MjA2OTYwOSwibmJmIjoxNzkyMDY5NjA5LCJleHAiOjE3OTIxNTYwMDksInN1YiI6IjEzNjg3MzAyIiwiZ3JhbnRfdHlwZSI6IiIsImFjY291bnRfaWQiOjMyOTkwNjg2LCJiYXNlX2RvbWFpbiI6ImFtb2NybS5ydSIsInZlcnNpb24iOjIsInNjb3BlcyI6WyJwdXNoX25vdGlmaWNhdGlvbnMiLCJjcm0iLCJub3RpZmljYXRpb25zIl0sImhhc2hfdXVpZCI6IjZmODlkMzc2LWRmNjAtNDhjZC05MGU4LTIzOTY1Mjk0NTY2ZiIsImFwaV9kb21haW4iOiJhcGktYi5hbW9jcm0ucnUifQ.rGt0T1fD4kyX0AbViKkyacRTGC_BNg-4LXO675cPDyDCzTPwF04flG-A0JuGNAufWZwAYdD6XTwpx-BPZ2WqnaVZ7NOZE-9RUlIppDKJt-Gn5eNAUIzK3Kjlv6_E2HFgQWW_PjnvaHqzeW1viENb4t3KsqHT35Aiuh8I0YgrgG5GW76QETuhtFU3VNlF1otA14YGZyjtVligXcA2CwEYUmCi8ow33B64-0ltQ9dAbMGxxy0pJxhcMpR8eorDIMWt1D0BejiitE7YRnYeWkyWSTbGWtW3tTKhD95s4LzYqEZsK0U-9KfsTLos32uGIQwmdEIbN7COQmEdMW24pQe8Cw\"})","file":"/home/ytvmclwh/document.amocrm.md/src/Models/Docs.php","line":121} {"uid":"658d5ac"}
[2026-10-16 14:31:45] docflow.DEBUG: AmoDrive docflow context request {"url":"https://google.emale.uno/api/docflow/google-context","query":{"account_id":"32990686","entity_id":"51186819","entity_type":"leads"}} {"uid":"658d5ac"}
[2026-10-16 14:31: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=51186819&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/16 14:31:45</td>\r\n</tr>\r\n</table>\r\n<hr><center>tengine</center>\r\n</body>\r\n</html>\r\n"} {"uid":"658d5ac"}
[2026-10-16 14:31:45] docflow.DEBUG: AmoDrive docflow context request {"url":"https://gd.glucose-dev.online/api/docflow/google-context","query":{"account_id":"32990686","entity_id":"51186819","entity_type":"leads"}} {"uid":"658d5ac"}
[2026-10-16 14:31: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":"51186819","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":"658d5ac"}
[2026-10-16 14:31:45] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://google.emale.uno/api/docflow/prepare-generated-doc","payload":{"account_id":"32990686","entity_id":"51186819","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"658d5ac"}
[2026-10-16 14:31: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/16 14:31: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":"51186819","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"658d5ac"}
[2026-10-16 14:31: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":"51186819","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"658d5ac"}
[2026-10-16 14:31: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":"51186819","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"658d5ac"}
[2026-10-16 14:31:45] 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 1367 20261016143145\",\"leadId\":\"51186819\",\"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-17 14:30:00\",\"\\u0414\\u0430\\u0442\\u0430 \\u0432\\u0438\\u0437\\u0438\\u0442\\u0430\":\"17.10.2026\",\"\\u041c\\u043e\\u0434\\u0435\\u043b\\u044c \\u043e\\u0431\\u043e\\u0440\\u0443\\u0434\\u043e\\u0432\\u0430\\u043d\\u0438\\u044f 1\":\"Haier revive 25\",\"\\u0421\\u043b\\u0435\\u0434\\u0443\\u044e\\u0449\\u0430\\u044f \\u0434\\u0430\\u0442\\u0430 \\u0441\\u0435\\u0440\\u0432\\u0438\\u0441\\u0430\":\"17.10.2027\",\"\\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\":\"51186819\",\"\\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\":{\"\\u0414\\u0430\\u0442\\u0430 \\u0438 \\u0432\\u0440\\u0435\\u043c\\u044f \\u0432\\u0438\\u0437\\u0438\\u0442\\u0430\":\"2026-10-17 14:30:00\",\"\\u0414\\u0430\\u0442\\u0430 \\u0432\\u0438\\u0437\\u0438\\u0442\\u0430\":\"17.10.2026\",\"\\u041c\\u043e\\u0434\\u0435\\u043b\\u044c \\u043e\\u0431\\u043e\\u0440\\u0443\\u0434\\u043e\\u0432\\u0430\\u043d\\u0438\\u044f 1\":\"Haier revive 25\",\"\\u0421\\u043b\\u0435\\u0434\\u0443\\u044e\\u0449\\u0430\\u044f \\u0434\\u0430\\u0442\\u0430 \\u0441\\u0435\\u0440\\u0432\\u0438\\u0441\\u0430\":\"17.10.2027\",\"\\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\":\"51186819\",\"\\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\":\"2004036080614\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"37369859579\",\"\\u0410\\u0434\\u0440\\u0435\\u0441\":\"str Petrarilor 14\\/2 ap 28\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Natalia Cerempei\",\"Contact_name\":\"Natalia Cerempei\",\"\\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\":\"2004036080614\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"37369859579\",\"\\u0410\\u0434\\u0440\\u0435\\u0441\":\"str Petrarilor 14\\/2 ap 28\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Natalia Cerempei\",\"Contact_name\":\"Natalia Cerempei\",\"\\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\":\"2004036080614\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"37369859579\",\"\\u0410\\u0434\\u0440\\u0435\\u0441\":\"str Petrarilor 14\\/2 ap 28\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Natalia Cerempei\",\"\\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\":\"16.10.2026\",\"\\u041d\\u043e\\u043c\\u0435\\u0440\":\"1367\"},\"document\":{\"Date\":\"16.10.2026\",\"Number\":\"1367\"}}}","edit":true}} {"uid":"658d5ac"}
[2026-10-16 14:31:50] docflow.DEBUG: GAS raw response {"raw":"[object] (stdClass: {\"code\":1,\"url\":\"https://docs.google.com/open?id=1BUc8DU_1pKgwQ0e9BJu1x7iCGE14FH4cXgJ9qcvUqWA\",\"file_id\":\"1BUc8DU_1pKgwQ0e9BJu1x7iCGE14FH4cXgJ9qcvUqWA\",\"error\":\"\",\"vars\":\"\"})"} {"uid":"658d5ac"}
[2026-10-16 14:31:50] docflow.WARNING: AmoDrive generated-file move is not ready. {"fileId":"1BUc8DU_1pKgwQ0e9BJu1x7iCGE14FH4cXgJ9qcvUqWA","context":null} {"uid":"658d5ac"}
[2026-10-16 14:36:22] docflow.INFO: Apel createDoc {"data":{"amoAccountId":"32990686","amoUserId":null,"amoEntityId":"51186819","amoEntityType":"2","templateId":"11646","corporateEntityId":"","settlementAccountId":"","is_signed":null,"gdi":null,"number":null,"currentAmoUserId":null,"lang":"ru"}} {"uid":"6f425ee"}
[2026-10-16 14:36:22] docflow.INFO: Token is valid for account 32990686. [] {"uid":"6f425ee"}
[2026-10-16 14:36:22] docflow.DEBUG: getClientAuth returned {"auth":"[object] (stdClass: {\"domain\":\"eurosanteh.amocrm.ru\",\"access_token\":\"eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImp0aSI6Ijc1YmU1MzQ3NDI3MTIyNTc0YzhjOWNiMDRhMDI2OTc5OGNhMTI2NDRkMGI2NWJlNmYzNWI4NTY3ZjdmZDk1OTRmODVlOTU3ZWNiMmQ2YTg1In0.eyJhdWQiOiIwZDY0ZGZmYi1lNTRiLTQ0OGYtOWZiZi1iYWYyMjUxYTExZGIiLCJqdGkiOiI3NWJlNTM0NzQyNzEyMjU3NGM4YzljYjA0YTAyNjk3OThjYTEyNjQ0ZDBiNjViZTZmMzViODU2N2Y3ZmQ5NTk0Zjg1ZTk1N2VjYjJkNmE4NSIsImlhdCI6MTc5MjA2OTYwOSwibmJmIjoxNzkyMDY5NjA5LCJleHAiOjE3OTIxNTYwMDksInN1YiI6IjEzNjg3MzAyIiwiZ3JhbnRfdHlwZSI6IiIsImFjY291bnRfaWQiOjMyOTkwNjg2LCJiYXNlX2RvbWFpbiI6ImFtb2NybS5ydSIsInZlcnNpb24iOjIsInNjb3BlcyI6WyJwdXNoX25vdGlmaWNhdGlvbnMiLCJjcm0iLCJub3RpZmljYXRpb25zIl0sImhhc2hfdXVpZCI6IjZmODlkMzc2LWRmNjAtNDhjZC05MGU4LTIzOTY1Mjk0NTY2ZiIsImFwaV9kb21haW4iOiJhcGktYi5hbW9jcm0ucnUifQ.rGt0T1fD4kyX0AbViKkyacRTGC_BNg-4LXO675cPDyDCzTPwF04flG-A0JuGNAufWZwAYdD6XTwpx-BPZ2WqnaVZ7NOZE-9RUlIppDKJt-Gn5eNAUIzK3Kjlv6_E2HFgQWW_PjnvaHqzeW1viENb4t3KsqHT35Aiuh8I0YgrgG5GW76QETuhtFU3VNlF1otA14YGZyjtVligXcA2CwEYUmCi8ow33B64-0ltQ9dAbMGxxy0pJxhcMpR8eorDIMWt1D0BejiitE7YRnYeWkyWSTbGWtW3tTKhD95s4LzYqEZsK0U-9KfsTLos32uGIQwmdEIbN7COQmEdMW24pQe8Cw\"})","file":"/home/ytvmclwh/document.amocrm.md/src/Models/Docs.php","line":121} {"uid":"6f425ee"}
[2026-10-16 14:36:25] docflow.DEBUG: AmoDrive docflow context request {"url":"https://google.emale.uno/api/docflow/google-context","query":{"account_id":"32990686","entity_id":"51186819","entity_type":"leads"}} {"uid":"6f425ee"}
[2026-10-16 14:36: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=32990686&amp;entity_id=51186819&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/16 14:36:25</td>\r\n</tr>\r\n</table>\r\n<hr><center>tengine</center>\r\n</body>\r\n</html>\r\n"} {"uid":"6f425ee"}
[2026-10-16 14:36:25] docflow.DEBUG: AmoDrive docflow context request {"url":"https://gd.glucose-dev.online/api/docflow/google-context","query":{"account_id":"32990686","entity_id":"51186819","entity_type":"leads"}} {"uid":"6f425ee"}
[2026-10-16 14:36: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":32990686,"entityId":"51186819","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":"6f425ee"}
[2026-10-16 14:36:25] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://google.emale.uno/api/docflow/prepare-generated-doc","payload":{"account_id":"32990686","entity_id":"51186819","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"6f425ee"}
[2026-10-16 14:36: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/16 14:36: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":"51186819","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"6f425ee"}
[2026-10-16 14:36: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":"51186819","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"6f425ee"}
[2026-10-16 14:36: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":"51186819","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"6f425ee"}
[2026-10-16 14:36:26] 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 1367 20261016143625\",\"leadId\":\"51186819\",\"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-17 14:30:00\",\"\\u0414\\u0430\\u0442\\u0430 \\u0432\\u0438\\u0437\\u0438\\u0442\\u0430\":\"17.10.2026\",\"\\u041c\\u043e\\u0434\\u0435\\u043b\\u044c \\u043e\\u0431\\u043e\\u0440\\u0443\\u0434\\u043e\\u0432\\u0430\\u043d\\u0438\\u044f 1\":\"Haier revive 25\",\"\\u0421\\u043b\\u0435\\u0434\\u0443\\u044e\\u0449\\u0430\\u044f \\u0434\\u0430\\u0442\\u0430 \\u0441\\u0435\\u0440\\u0432\\u0438\\u0441\\u0430\":\"17.10.2027\",\"\\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\":\"51186819\",\"\\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\":{\"\\u0414\\u0430\\u0442\\u0430 \\u0438 \\u0432\\u0440\\u0435\\u043c\\u044f \\u0432\\u0438\\u0437\\u0438\\u0442\\u0430\":\"2026-10-17 14:30:00\",\"\\u0414\\u0430\\u0442\\u0430 \\u0432\\u0438\\u0437\\u0438\\u0442\\u0430\":\"17.10.2026\",\"\\u041c\\u043e\\u0434\\u0435\\u043b\\u044c \\u043e\\u0431\\u043e\\u0440\\u0443\\u0434\\u043e\\u0432\\u0430\\u043d\\u0438\\u044f 1\":\"Haier revive 25\",\"\\u0421\\u043b\\u0435\\u0434\\u0443\\u044e\\u0449\\u0430\\u044f \\u0434\\u0430\\u0442\\u0430 \\u0441\\u0435\\u0440\\u0432\\u0438\\u0441\\u0430\":\"17.10.2027\",\"\\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\":\"51186819\",\"\\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\":\"2004036080614\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"37369859579\",\"\\u0410\\u0434\\u0440\\u0435\\u0441\":\"str Petrarilor 14\\/2 ap 28\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Natalia Cerempei\",\"Contact_name\":\"Natalia Cerempei\",\"\\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\":\"2004036080614\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"37369859579\",\"\\u0410\\u0434\\u0440\\u0435\\u0441\":\"str Petrarilor 14\\/2 ap 28\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Natalia Cerempei\",\"Contact_name\":\"Natalia Cerempei\",\"\\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\":\"2004036080614\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"37369859579\",\"\\u0410\\u0434\\u0440\\u0435\\u0441\":\"str Petrarilor 14\\/2 ap 28\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Natalia Cerempei\",\"\\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\":\"16.10.2026\",\"\\u041d\\u043e\\u043c\\u0435\\u0440\":\"1367\"},\"document\":{\"Date\":\"16.10.2026\",\"Number\":\"1367\"}}}","edit":true}} {"uid":"6f425ee"}
[2026-10-16 14:36:33] docflow.DEBUG: GAS raw response {"raw":"[object] (stdClass: {\"code\":1,\"url\":\"https://docs.google.com/open?id=1dd36ilfyEhyAH-dBQdPecZfjvX-KHgGJjcAIP4-lOx4\",\"file_id\":\"1dd36ilfyEhyAH-dBQdPecZfjvX-KHgGJjcAIP4-lOx4\",\"error\":\"\",\"vars\":\"\"})"} {"uid":"6f425ee"}
[2026-10-16 14:36:33] docflow.WARNING: AmoDrive generated-file move is not ready. {"fileId":"1dd36ilfyEhyAH-dBQdPecZfjvX-KHgGJjcAIP4-lOx4","context":null} {"uid":"6f425ee"}
[2026-10-16 14:44:11] docflow.INFO: Apel createDoc {"data":{"amoAccountId":"22699852","amoUserId":null,"amoEntityId":"42462912","amoEntityType":"2","templateId":"11487","corporateEntityId":"","settlementAccountId":"","is_signed":null,"gdi":null,"number":null,"currentAmoUserId":null,"lang":"ru"}} {"uid":"dfd6e18"}
[2026-10-16 14:44:11] docflow.INFO: Token validation failed for account 22699852. Refreshing... {"http_code":null,"error_message":"HTTP/2 401 "} {"uid":"dfd6e18"}
[2026-10-16 14:44:11] docflow.INFO: Attempting token refresh with payload: {"client_id":"0d64dffb-e54b-448f-9fbf-baf2251a11db","client_secret":"AXqHrT1J35SilTTtI3yyaHdQKiS5bonhySaPYkLmo7mR6ZZ9zDP24dUjG189VG9G","grant_type":"refresh_token","refresh_token":"def5020098848ef8d0fa05dba0ac57a0f7b7f4daf21eede1992ef55580219eecfe362d7f9781d2e0b8d4a44ca8cfd2c30bfe0959d8df1bd05169c15ba9e216af1547dc9e6a580460e8059d4bdad72f132ef223d140c98a20090265c948b4f919ac7f5df0836a7f74fc898c6b003417692e306add1a6958e77168a8488a7352482e6b769226488098a8e2854066a7f4f7b49e3bd3b19dc9fa12726f6cc470c8b458a80caac5ef65724fc3256f44cd9ffc0889c829c9b65946e04b31e90ff61a25e933ecd46adf28b0309a3b421ab499f068250e4c5fdfff2d69290f15faac5c0177c30db18e100f94f17fcfea70685f503ea69e73c1db0728fefafee1ee1b74b17b628089d7940715bf9e952b069484589998839f806be4b27823611cad201afae5cb2b944a5419507678aa7b56a89cb4852f43b8c01b452c553664836392c3df9d4ff9b62f04152ce61f4b07ef952043b9335b41606f4e8f32b4d45927466969d779dc5bde8e3d0d4c52b22e883e62c82c2d2692acf10930aa21af4e5dc18f10d728d2b96f2faa66267ae52ce58d45f8997fbd157896f2dab355dddd2c691124b259b5170a8061c629442313917ed72de6eb5649d855963e6683ce985e36c1fbb6f8aef946dace7801efed00daecea11674fa0a78482","redirect_uri":"https://document.amocrm.md/core/manager/install.php"} {"uid":"dfd6e18"}
[2026-10-16 14:44:12] docflow.INFO: Token for account 22699852 refreshed successfully. [] {"uid":"dfd6e18"}
[2026-10-16 14:44:12] docflow.DEBUG: getClientAuth returned {"auth":"[object] (stdClass: {\"domain\":\"emigrare.amocrm.ru\",\"access_token\":\"eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImp0aSI6ImFiZmZkMzBkYzk5MWY5ZmRjNTY2NzA2YjEyMGZiY2RkZTJlNDIxNmRjNDZjMDAwMThhNzFhMGZkODAwNWRkYmIwNDkxMGIxMGVkMjc2ZWIzIn0.eyJhdWQiOiIwZDY0ZGZmYi1lNTRiLTQ0OGYtOWZiZi1iYWYyMjUxYTExZGIiLCJqdGkiOiJhYmZmZDMwZGM5OTFmOWZkYzU2NjcwNmIxMjBmYmNkZGUyZTQyMTZkYzQ2YzAwMDE4YTcxYTBmZDgwMDVkZGJiMDQ5MTBiMTBlZDI3NmViMyIsImlhdCI6MTc5MjE1MTA1MiwibmJmIjoxNzkyMTUxMDUyLCJleHAiOjE3OTIyMzc0NTIsInN1YiI6IjI5MzAzODAiLCJncmFudF90eXBlIjoiIiwiYWNjb3VudF9pZCI6MjI2OTk4NTIsImJhc2VfZG9tYWluIjoiYW1vY3JtLnJ1IiwidmVyc2lvbiI6Miwic2NvcGVzIjpbInB1c2hfbm90aWZpY2F0aW9ucyIsImNybSIsIm5vdGlmaWNhdGlvbnMiXSwiaGFzaF91dWlkIjoiZWFjYjdhMWYtZDg1ZS00OTU0LThjNDEtMDMwZWRmNzJhMTVkIiwiYXBpX2RvbWFpbiI6ImFwaS1hLmFtb2NybS5ydSJ9.iNKoniLvooi4e-IcUzdQwUQjDWdEHDqC5mw0WfmgyQOMJwYyT-Ppk5tCYAeSQCvZfcNQMj9zVsQ7ekcKhRmHYHoOIMhLdJoC3XdHJe9lfa_Ebm8Zun1J8sqMAiQ3z_C5t6HieghXYcJ50Hf8v4MjvK-rIy5HBYJcdH3fCZfhdrzfBJ0M3Wsiof1SbtilvAHsceq7TgmvgfWEAyITH_PXYDBPGTXCPBHXBCUhnLVL6iXopXYPuHF8e9w14TW9CsPR3wMYq45UVC9_IgMoeF9A13pmWNiIgTo1ZREQm7A53_JWaHavf75WK3D_vzUD3xfnMJvDY7o2ImdI5XSTZW6WFA\"})","file":"/home/ytvmclwh/document.amocrm.md/src/Models/Docs.php","line":121} {"uid":"dfd6e18"}
[2026-10-16 14:44:14] docflow.DEBUG: AmoDrive docflow context request {"url":"https://google.emale.uno/api/docflow/google-context","query":{"account_id":"22699852","entity_id":"42462912","entity_type":"leads"}} {"uid":"dfd6e18"}
[2026-10-16 14:44: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=22699852&amp;entity_id=42462912&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/16 14:44:14</td>\r\n</tr>\r\n</table>\r\n<hr><center>tengine</center>\r\n</body>\r\n</html>\r\n"} {"uid":"dfd6e18"}
[2026-10-16 14:44:14] docflow.DEBUG: AmoDrive docflow context request {"url":"https://gd.glucose-dev.online/api/docflow/google-context","query":{"account_id":"22699852","entity_id":"42462912","entity_type":"leads"}} {"uid":"dfd6e18"}
[2026-10-16 14:44: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":22699852,"entityId":"42462912","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":308,"isLifetime":false},"licenseActive":false,"googleConnected":false,"googleEmail":null,"googleHasDriveScope":false,"googleHasDriveFileScope":false,"googleHasOwnershipScope":false,"readyForGeneratedFileMove":false,"readyForTransfer":false},"folder":{"id":"1M8X5o2sPuzPYyj8TCgEbNMOkSvWdi2x0","name":"42462912 - Lead #42462912","webViewLink":"https://drive.google.com/drive/folders/1M8X5o2sPuzPYyj8TCgEbNMOkSvWdi2x0"}}} {"uid":"dfd6e18"}
[2026-10-16 14:44:14] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://google.emale.uno/api/docflow/prepare-generated-doc","payload":{"account_id":"22699852","entity_id":"42462912","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"dfd6e18"}
[2026-10-16 14:44:15] 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/16 14:44:15</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":"42462912","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"dfd6e18"}
[2026-10-16 14:44:15] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://gd.glucose-dev.online/api/docflow/prepare-generated-doc","payload":{"account_id":"22699852","entity_id":"42462912","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"dfd6e18"}
[2026-10-16 14:44:15] 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":"42462912","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"dfd6e18"}
[2026-10-16 14:44:15] 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 1296 20261016144414\",\"leadId\":\"42462912\",\"entities\":{\"\\u0441\\u0434\\u0435\\u043b\\u043a\\u0430\":{\"Suma \\u20ac\":\"0\",\"Manager front office\":\"Capanji Igor\",\"Nota SQL\":\"1\",\"#Manager Front\":\"Capanji Igor\",\"Serviciu solicitat\":\"1520102\",\"Loca\\u021bia Curent\\u0103\":\"Federa\\u021bia Rus\\u0103\",\"Canal de comunicare\":\"Whatsapp\",\"Tip proces\":\"Scurt\",\"ID\":\"42462912\",\"\\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\":\"Capanji Igor\",\"Nota SQL\":\"1\",\"#Manager Front\":\"Capanji Igor\",\"Serviciu solicitat\":\"1520102\",\"Loca\\u021bia Curent\\u0103\":\"Federa\\u021bia Rus\\u0103\",\"Canal de comunicare\":\"Whatsapp\",\"Tip proces\":\"Scurt\",\"ID\":\"42462912\",\"\\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\":{\"WhatsappLid_WZ\":\"167881765572635\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"+79315382348\",\"Email\":\"donets.mikhail@yandex.ru\",\"Limba vorbita\":\"Rusa\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Mikhail Donets\",\"Contact_name\":\"Mikhail Donets\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"Capanji Igor\",\"Responsible\":\"Capanji Igor\"},\"contact\":{\"WhatsappLid_WZ\":\"167881765572635\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"+79315382348\",\"Email\":\"donets.mikhail@yandex.ru\",\"Limba vorbita\":\"Rusa\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Mikhail Donets\",\"Contact_name\":\"Mikhail Donets\",\"\\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\\u044b\":[{\"WhatsappLid_WZ\":\"167881765572635\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"+79315382348\",\"Email\":\"donets.mikhail@yandex.ru\",\"Limba vorbita\":\"Rusa\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Mikhail Donets\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"Capanji Igor\"}],\"\\u0434\\u043e\\u043a\\u0443\\u043c\\u0435\\u043d\\u0442\":{\"\\u0414\\u0430\\u0442\\u0430\":\"16.10.2026\",\"\\u041d\\u043e\\u043c\\u0435\\u0440\":\"1296\"},\"document\":{\"Date\":\"16.10.2026\",\"Number\":\"1296\"}}}","edit":true}} {"uid":"dfd6e18"}
[2026-10-16 14:44:21] docflow.DEBUG: GAS raw response {"raw":"[object] (stdClass: {\"code\":1,\"url\":\"https://docs.google.com/open?id=1hsOu8UDml8mlc48T4AYoH6t4uOKRuTtRZDu0FHpcO4M\",\"file_id\":\"1hsOu8UDml8mlc48T4AYoH6t4uOKRuTtRZDu0FHpcO4M\",\"error\":\"\",\"vars\":\"\"})"} {"uid":"dfd6e18"}
[2026-10-16 14:44:21] docflow.WARNING: AmoDrive generated-file move is not ready. {"fileId":"1hsOu8UDml8mlc48T4AYoH6t4uOKRuTtRZDu0FHpcO4M","context":null} {"uid":"dfd6e18"}
[2026-10-16 14:44:48] docflow.INFO: Apel createDoc {"data":{"amoAccountId":"22699852","amoUserId":null,"amoEntityId":"42462912","amoEntityType":"2","templateId":"11515","corporateEntityId":"","settlementAccountId":"","is_signed":null,"gdi":null,"number":null,"currentAmoUserId":null,"lang":"ru"}} {"uid":"44df286"}
[2026-10-16 14:44:48] docflow.INFO: Token is valid for account 22699852. [] {"uid":"44df286"}
[2026-10-16 14:44:48] docflow.DEBUG: getClientAuth returned {"auth":"[object] (stdClass: {\"domain\":\"emigrare.amocrm.ru\",\"access_token\":\"eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImp0aSI6ImFiZmZkMzBkYzk5MWY5ZmRjNTY2NzA2YjEyMGZiY2RkZTJlNDIxNmRjNDZjMDAwMThhNzFhMGZkODAwNWRkYmIwNDkxMGIxMGVkMjc2ZWIzIn0.eyJhdWQiOiIwZDY0ZGZmYi1lNTRiLTQ0OGYtOWZiZi1iYWYyMjUxYTExZGIiLCJqdGkiOiJhYmZmZDMwZGM5OTFmOWZkYzU2NjcwNmIxMjBmYmNkZGUyZTQyMTZkYzQ2YzAwMDE4YTcxYTBmZDgwMDVkZGJiMDQ5MTBiMTBlZDI3NmViMyIsImlhdCI6MTc5MjE1MTA1MiwibmJmIjoxNzkyMTUxMDUyLCJleHAiOjE3OTIyMzc0NTIsInN1YiI6IjI5MzAzODAiLCJncmFudF90eXBlIjoiIiwiYWNjb3VudF9pZCI6MjI2OTk4NTIsImJhc2VfZG9tYWluIjoiYW1vY3JtLnJ1IiwidmVyc2lvbiI6Miwic2NvcGVzIjpbInB1c2hfbm90aWZpY2F0aW9ucyIsImNybSIsIm5vdGlmaWNhdGlvbnMiXSwiaGFzaF91dWlkIjoiZWFjYjdhMWYtZDg1ZS00OTU0LThjNDEtMDMwZWRmNzJhMTVkIiwiYXBpX2RvbWFpbiI6ImFwaS1hLmFtb2NybS5ydSJ9.iNKoniLvooi4e-IcUzdQwUQjDWdEHDqC5mw0WfmgyQOMJwYyT-Ppk5tCYAeSQCvZfcNQMj9zVsQ7ekcKhRmHYHoOIMhLdJoC3XdHJe9lfa_Ebm8Zun1J8sqMAiQ3z_C5t6HieghXYcJ50Hf8v4MjvK-rIy5HBYJcdH3fCZfhdrzfBJ0M3Wsiof1SbtilvAHsceq7TgmvgfWEAyITH_PXYDBPGTXCPBHXBCUhnLVL6iXopXYPuHF8e9w14TW9CsPR3wMYq45UVC9_IgMoeF9A13pmWNiIgTo1ZREQm7A53_JWaHavf75WK3D_vzUD3xfnMJvDY7o2ImdI5XSTZW6WFA\"})","file":"/home/ytvmclwh/document.amocrm.md/src/Models/Docs.php","line":121} {"uid":"44df286"}
[2026-10-16 14:44:50] docflow.DEBUG: AmoDrive docflow context request {"url":"https://google.emale.uno/api/docflow/google-context","query":{"account_id":"22699852","entity_id":"42462912","entity_type":"leads"}} {"uid":"44df286"}
[2026-10-16 14:44:50] 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=42462912&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/16 14:44:50</td>\r\n</tr>\r\n</table>\r\n<hr><center>tengine</center>\r\n</body>\r\n</html>\r\n"} {"uid":"44df286"}
[2026-10-16 14:44:50] docflow.DEBUG: AmoDrive docflow context request {"url":"https://gd.glucose-dev.online/api/docflow/google-context","query":{"account_id":"22699852","entity_id":"42462912","entity_type":"leads"}} {"uid":"44df286"}
[2026-10-16 14:44:50] 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":"42462912","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":308,"isLifetime":false},"licenseActive":false,"googleConnected":false,"googleEmail":null,"googleHasDriveScope":false,"googleHasDriveFileScope":false,"googleHasOwnershipScope":false,"readyForGeneratedFileMove":false,"readyForTransfer":false},"folder":{"id":"1M8X5o2sPuzPYyj8TCgEbNMOkSvWdi2x0","name":"42462912 - Lead #42462912","webViewLink":"https://drive.google.com/drive/folders/1M8X5o2sPuzPYyj8TCgEbNMOkSvWdi2x0"}}} {"uid":"44df286"}
[2026-10-16 14:44:50] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://google.emale.uno/api/docflow/prepare-generated-doc","payload":{"account_id":"22699852","entity_id":"42462912","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"44df286"}
[2026-10-16 14:44:50] docflow.WARNING: AmoDrive prepare-generated-doc request failed {"url":"https://google.emale.uno/api/docflow/prepare-generated-doc","http_code":null,"error":"HTTP/2 400 ","response":"<!DOCTYPE HTML PUBLIC \"-//IETF//DTD HTML 2.0//EN\">\r\n<html>\r\n<head><title>400 Bad Request</title></head>\r\n<body>\r\n<center><h1>400 Bad Request</h1></center>\r\n Sorry for the inconvenience.<br/>\r\nPlease report this message and include the following information to us.<br/>\r\nThank you very much!</p>\r\n<table>\r\n<tr>\r\n<td>URL:</td>\r\n<td>https://gd.glucose-dev.online/api/docflow/prepare-generated-doc</td>\r\n</tr>\r\n<tr>\r\n<td>Server:</td>\r\n<td>mail.glucose-dev.online</td>\r\n</tr>\r\n<tr>\r\n<td>Date:</td>\r\n<td>2026/10/16 14:44:50</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":"42462912","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"44df286"}
[2026-10-16 14:44:50] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://gd.glucose-dev.online/api/docflow/prepare-generated-doc","payload":{"account_id":"22699852","entity_id":"42462912","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"44df286"}
[2026-10-16 14:44: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":"42462912","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"44df286"}
[2026-10-16 14:44:50] 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) 1743 20261016144450\",\"leadId\":\"42462912\",\"entities\":{\"\\u0441\\u0434\\u0435\\u043b\\u043a\\u0430\":{\"Suma \\u20ac\":\"0\",\"Manager front office\":\"Capanji Igor\",\"Nota SQL\":\"1\",\"#Manager Front\":\"Capanji Igor\",\"Serviciu solicitat\":\"1520102\",\"Loca\\u021bia Curent\\u0103\":\"Federa\\u021bia Rus\\u0103\",\"Canal de comunicare\":\"Whatsapp\",\"Tip proces\":\"Scurt\",\"ID\":\"42462912\",\"\\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\":\"Capanji Igor\",\"Nota SQL\":\"1\",\"#Manager Front\":\"Capanji Igor\",\"Serviciu solicitat\":\"1520102\",\"Loca\\u021bia Curent\\u0103\":\"Federa\\u021bia Rus\\u0103\",\"Canal de comunicare\":\"Whatsapp\",\"Tip proces\":\"Scurt\",\"ID\":\"42462912\",\"\\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\":{\"WhatsappLid_WZ\":\"167881765572635\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"+79315382348\",\"Email\":\"donets.mikhail@yandex.ru\",\"Limba vorbita\":\"Rusa\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Mikhail Donets\",\"Contact_name\":\"Mikhail Donets\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"Capanji Igor\",\"Responsible\":\"Capanji Igor\"},\"contact\":{\"WhatsappLid_WZ\":\"167881765572635\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"+79315382348\",\"Email\":\"donets.mikhail@yandex.ru\",\"Limba vorbita\":\"Rusa\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Mikhail Donets\",\"Contact_name\":\"Mikhail Donets\",\"\\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\\u044b\":[{\"WhatsappLid_WZ\":\"167881765572635\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"+79315382348\",\"Email\":\"donets.mikhail@yandex.ru\",\"Limba vorbita\":\"Rusa\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Mikhail Donets\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"Capanji Igor\"}],\"\\u0434\\u043e\\u043a\\u0443\\u043c\\u0435\\u043d\\u0442\":{\"\\u0414\\u0430\\u0442\\u0430\":\"16.10.2026\",\"\\u041d\\u043e\\u043c\\u0435\\u0440\":\"1743\"},\"document\":{\"Date\":\"16.10.2026\",\"Number\":\"1743\"}}}","edit":true}} {"uid":"44df286"}
[2026-10-16 14:44:58] docflow.DEBUG: GAS raw response {"raw":"[object] (stdClass: {\"code\":1,\"url\":\"https://docs.google.com/open?id=1sqnhrmd3jV8x2Kai1xk7wtFAiusArFuKSWM1jLoAEIE\",\"file_id\":\"1sqnhrmd3jV8x2Kai1xk7wtFAiusArFuKSWM1jLoAEIE\",\"error\":\"\",\"vars\":\"\"})"} {"uid":"44df286"}
[2026-10-16 14:44:58] docflow.WARNING: AmoDrive generated-file move is not ready. {"fileId":"1sqnhrmd3jV8x2Kai1xk7wtFAiusArFuKSWM1jLoAEIE","context":null} {"uid":"44df286"}
[2026-10-16 14:52:07] docflow.INFO: Apel createDoc {"data":{"amoAccountId":"32990686","amoUserId":null,"amoEntityId":"50759535","amoEntityType":"2","templateId":"11625","corporateEntityId":"","settlementAccountId":"","is_signed":null,"gdi":null,"number":null,"currentAmoUserId":null,"lang":"ru"}} {"uid":"38a34a7"}
[2026-10-16 14:52:08] docflow.INFO: Token is valid for account 32990686. [] {"uid":"38a34a7"}
[2026-10-16 14:52:08] docflow.DEBUG: getClientAuth returned {"auth":"[object] (stdClass: {\"domain\":\"eurosanteh.amocrm.ru\",\"access_token\":\"eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImp0aSI6Ijc1YmU1MzQ3NDI3MTIyNTc0YzhjOWNiMDRhMDI2OTc5OGNhMTI2NDRkMGI2NWJlNmYzNWI4NTY3ZjdmZDk1OTRmODVlOTU3ZWNiMmQ2YTg1In0.eyJhdWQiOiIwZDY0ZGZmYi1lNTRiLTQ0OGYtOWZiZi1iYWYyMjUxYTExZGIiLCJqdGkiOiI3NWJlNTM0NzQyNzEyMjU3NGM4YzljYjA0YTAyNjk3OThjYTEyNjQ0ZDBiNjViZTZmMzViODU2N2Y3ZmQ5NTk0Zjg1ZTk1N2VjYjJkNmE4NSIsImlhdCI6MTc5MjA2OTYwOSwibmJmIjoxNzkyMDY5NjA5LCJleHAiOjE3OTIxNTYwMDksInN1YiI6IjEzNjg3MzAyIiwiZ3JhbnRfdHlwZSI6IiIsImFjY291bnRfaWQiOjMyOTkwNjg2LCJiYXNlX2RvbWFpbiI6ImFtb2NybS5ydSIsInZlcnNpb24iOjIsInNjb3BlcyI6WyJwdXNoX25vdGlmaWNhdGlvbnMiLCJjcm0iLCJub3RpZmljYXRpb25zIl0sImhhc2hfdXVpZCI6IjZmODlkMzc2LWRmNjAtNDhjZC05MGU4LTIzOTY1Mjk0NTY2ZiIsImFwaV9kb21haW4iOiJhcGktYi5hbW9jcm0ucnUifQ.rGt0T1fD4kyX0AbViKkyacRTGC_BNg-4LXO675cPDyDCzTPwF04flG-A0JuGNAufWZwAYdD6XTwpx-BPZ2WqnaVZ7NOZE-9RUlIppDKJt-Gn5eNAUIzK3Kjlv6_E2HFgQWW_PjnvaHqzeW1viENb4t3KsqHT35Aiuh8I0YgrgG5GW76QETuhtFU3VNlF1otA14YGZyjtVligXcA2CwEYUmCi8ow33B64-0ltQ9dAbMGxxy0pJxhcMpR8eorDIMWt1D0BejiitE7YRnYeWkyWSTbGWtW3tTKhD95s4LzYqEZsK0U-9KfsTLos32uGIQwmdEIbN7COQmEdMW24pQe8Cw\"})","file":"/home/ytvmclwh/document.amocrm.md/src/Models/Docs.php","line":121} {"uid":"38a34a7"}
[2026-10-16 14:52:11] docflow.DEBUG: AmoDrive docflow context request {"url":"https://google.emale.uno/api/docflow/google-context","query":{"account_id":"32990686","entity_id":"50759535","entity_type":"leads"}} {"uid":"38a34a7"}
[2026-10-16 14:52: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=32990686&amp;entity_id=50759535&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/16 14:52:11</td>\r\n</tr>\r\n</table>\r\n<hr><center>tengine</center>\r\n</body>\r\n</html>\r\n"} {"uid":"38a34a7"}
[2026-10-16 14:52:11] docflow.DEBUG: AmoDrive docflow context request {"url":"https://gd.glucose-dev.online/api/docflow/google-context","query":{"account_id":"32990686","entity_id":"50759535","entity_type":"leads"}} {"uid":"38a34a7"}
[2026-10-16 14:52: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":32990686,"entityId":"50759535","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":"38a34a7"}
[2026-10-16 14:52:11] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://google.emale.uno/api/docflow/prepare-generated-doc","payload":{"account_id":"32990686","entity_id":"50759535","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"38a34a7"}
[2026-10-16 14:52: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/16 14:52: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":"32990686","entity_id":"50759535","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"38a34a7"}
[2026-10-16 14:52:11] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://gd.glucose-dev.online/api/docflow/prepare-generated-doc","payload":{"account_id":"32990686","entity_id":"50759535","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"38a34a7"}
[2026-10-16 14:52: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\":32990686})","payload":{"account_id":"32990686","entity_id":"50759535","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"38a34a7"}
[2026-10-16 14:52:11] 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 1368 20261016145211\",\"leadId\":\"50759535\",\"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-17 14:51:00\",\"\\u0414\\u0430\\u0442\\u0430 \\u0432\\u0438\\u0437\\u0438\\u0442\\u0430\":\"17.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\":\"17.10.2027\",\"ID\":\"50759535\",\"\\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-17 14:51:00\",\"\\u0414\\u0430\\u0442\\u0430 \\u0432\\u0438\\u0437\\u0438\\u0442\\u0430\":\"17.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\":\"17.10.2027\",\"ID\":\"50759535\",\"\\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\":\"2000025086654\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"37369316325\",\"\\u0410\\u0434\\u0440\\u0435\\u0441\":\"Chetrosu str Teilor 11\",\"\\u0418\\u043c\\u044f \\u043a\\u043b\\u0438\\u0435\\u043d\\u0442\\u0430 (\\u0421\\u041c\\u0421)\":\"Igor\",\"\\u0414\\u0430\\u0442\\u0430 \\u043c\\u043e\\u043d\\u0442\\u0430\\u0436\\u0430 (\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442)\":\"10.08.2024\",\"\\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 24\",\"\\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\":\"Igor Nistor\",\"Contact_name\":\"Igor Nistor\",\"\\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\":\"2000025086654\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"37369316325\",\"\\u0410\\u0434\\u0440\\u0435\\u0441\":\"Chetrosu str Teilor 11\",\"\\u0418\\u043c\\u044f \\u043a\\u043b\\u0438\\u0435\\u043d\\u0442\\u0430 (\\u0421\\u041c\\u0421)\":\"Igor\",\"\\u0414\\u0430\\u0442\\u0430 \\u043c\\u043e\\u043d\\u0442\\u0430\\u0436\\u0430 (\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442)\":\"10.08.2024\",\"\\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 24\",\"\\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\":\"Igor Nistor\",\"Contact_name\":\"Igor Nistor\",\"\\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\":\"2000025086654\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"37369316325\",\"\\u0410\\u0434\\u0440\\u0435\\u0441\":\"Chetrosu str Teilor 11\",\"\\u0418\\u043c\\u044f \\u043a\\u043b\\u0438\\u0435\\u043d\\u0442\\u0430 (\\u0421\\u041c\\u0421)\":\"Igor\",\"\\u0414\\u0430\\u0442\\u0430 \\u043c\\u043e\\u043d\\u0442\\u0430\\u0436\\u0430 (\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442)\":\"10.08.2024\",\"\\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 24\",\"\\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\":\"Igor Nistor\",\"\\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\":\"16.10.2026\",\"\\u041d\\u043e\\u043c\\u0435\\u0440\":\"1368\"},\"document\":{\"Date\":\"16.10.2026\",\"Number\":\"1368\"}}}","edit":true}} {"uid":"38a34a7"}
[2026-10-16 14:52:16] docflow.DEBUG: GAS raw response {"raw":"[object] (stdClass: {\"code\":1,\"url\":\"https://docs.google.com/open?id=1jhYUMREWoZFvExf4Hm3mENumQF2nTFtuqg4zZ6hng8c\",\"file_id\":\"1jhYUMREWoZFvExf4Hm3mENumQF2nTFtuqg4zZ6hng8c\",\"error\":\"\",\"vars\":\"\"})"} {"uid":"38a34a7"}
[2026-10-16 14:52:16] docflow.WARNING: AmoDrive generated-file move is not ready. {"fileId":"1jhYUMREWoZFvExf4Hm3mENumQF2nTFtuqg4zZ6hng8c","context":null} {"uid":"38a34a7"}
[2026-10-16 14:54:20] docflow.INFO: Apel createDoc {"data":{"amoAccountId":"22699852","amoUserId":null,"amoEntityId":"42462912","amoEntityType":"2","templateId":"11499","corporateEntityId":"","settlementAccountId":"","is_signed":null,"gdi":null,"number":null,"currentAmoUserId":null,"lang":"ru"}} {"uid":"873268d"}
[2026-10-16 14:54:20] docflow.INFO: Token is valid for account 22699852. [] {"uid":"873268d"}
[2026-10-16 14:54:20] docflow.DEBUG: getClientAuth returned {"auth":"[object] (stdClass: {\"domain\":\"emigrare.amocrm.ru\",\"access_token\":\"eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImp0aSI6ImFiZmZkMzBkYzk5MWY5ZmRjNTY2NzA2YjEyMGZiY2RkZTJlNDIxNmRjNDZjMDAwMThhNzFhMGZkODAwNWRkYmIwNDkxMGIxMGVkMjc2ZWIzIn0.eyJhdWQiOiIwZDY0ZGZmYi1lNTRiLTQ0OGYtOWZiZi1iYWYyMjUxYTExZGIiLCJqdGkiOiJhYmZmZDMwZGM5OTFmOWZkYzU2NjcwNmIxMjBmYmNkZGUyZTQyMTZkYzQ2YzAwMDE4YTcxYTBmZDgwMDVkZGJiMDQ5MTBiMTBlZDI3NmViMyIsImlhdCI6MTc5MjE1MTA1MiwibmJmIjoxNzkyMTUxMDUyLCJleHAiOjE3OTIyMzc0NTIsInN1YiI6IjI5MzAzODAiLCJncmFudF90eXBlIjoiIiwiYWNjb3VudF9pZCI6MjI2OTk4NTIsImJhc2VfZG9tYWluIjoiYW1vY3JtLnJ1IiwidmVyc2lvbiI6Miwic2NvcGVzIjpbInB1c2hfbm90aWZpY2F0aW9ucyIsImNybSIsIm5vdGlmaWNhdGlvbnMiXSwiaGFzaF91dWlkIjoiZWFjYjdhMWYtZDg1ZS00OTU0LThjNDEtMDMwZWRmNzJhMTVkIiwiYXBpX2RvbWFpbiI6ImFwaS1hLmFtb2NybS5ydSJ9.iNKoniLvooi4e-IcUzdQwUQjDWdEHDqC5mw0WfmgyQOMJwYyT-Ppk5tCYAeSQCvZfcNQMj9zVsQ7ekcKhRmHYHoOIMhLdJoC3XdHJe9lfa_Ebm8Zun1J8sqMAiQ3z_C5t6HieghXYcJ50Hf8v4MjvK-rIy5HBYJcdH3fCZfhdrzfBJ0M3Wsiof1SbtilvAHsceq7TgmvgfWEAyITH_PXYDBPGTXCPBHXBCUhnLVL6iXopXYPuHF8e9w14TW9CsPR3wMYq45UVC9_IgMoeF9A13pmWNiIgTo1ZREQm7A53_JWaHavf75WK3D_vzUD3xfnMJvDY7o2ImdI5XSTZW6WFA\"})","file":"/home/ytvmclwh/document.amocrm.md/src/Models/Docs.php","line":121} {"uid":"873268d"}
[2026-10-16 14:54:22] docflow.DEBUG: AmoDrive docflow context request {"url":"https://google.emale.uno/api/docflow/google-context","query":{"account_id":"22699852","entity_id":"42462912","entity_type":"leads"}} {"uid":"873268d"}
[2026-10-16 14:54:22] docflow.WARNING: AmoDrive docflow context request failed {"url":"https://google.emale.uno/api/docflow/google-context","http_code":null,"error":"HTTP/2 400 ","response":"<!DOCTYPE HTML PUBLIC \"-//IETF//DTD HTML 2.0//EN\">\r\n<html>\r\n<head><title>400 Bad Request</title></head>\r\n<body>\r\n<center><h1>400 Bad Request</h1></center>\r\n Sorry for the inconvenience.<br/>\r\nPlease report this message and include the following information to us.<br/>\r\nThank you very much!</p>\r\n<table>\r\n<tr>\r\n<td>URL:</td>\r\n<td>https://gd.glucose-dev.online/api/docflow/google-context?account_id=22699852&amp;entity_id=42462912&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/16 14:54:22</td>\r\n</tr>\r\n</table>\r\n<hr><center>tengine</center>\r\n</body>\r\n</html>\r\n"} {"uid":"873268d"}
[2026-10-16 14:54:22] docflow.DEBUG: AmoDrive docflow context request {"url":"https://gd.glucose-dev.online/api/docflow/google-context","query":{"account_id":"22699852","entity_id":"42462912","entity_type":"leads"}} {"uid":"873268d"}
[2026-10-16 14:54:22] docflow.WARNING: AmoDrive docflow context response is not ready, trying next backend. {"url":"https://gd.glucose-dev.online/api/docflow/google-context","payload":{"ok":true,"accountId":22699852,"entityId":"42462912","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":308,"isLifetime":false},"licenseActive":false,"googleConnected":false,"googleEmail":null,"googleHasDriveScope":false,"googleHasDriveFileScope":false,"googleHasOwnershipScope":false,"readyForGeneratedFileMove":false,"readyForTransfer":false},"folder":{"id":"1M8X5o2sPuzPYyj8TCgEbNMOkSvWdi2x0","name":"42462912 - Lead #42462912","webViewLink":"https://drive.google.com/drive/folders/1M8X5o2sPuzPYyj8TCgEbNMOkSvWdi2x0"}}} {"uid":"873268d"}
[2026-10-16 14:54:22] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://google.emale.uno/api/docflow/prepare-generated-doc","payload":{"account_id":"22699852","entity_id":"42462912","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"873268d"}
[2026-10-16 14:54:22] docflow.WARNING: AmoDrive prepare-generated-doc request failed {"url":"https://google.emale.uno/api/docflow/prepare-generated-doc","http_code":null,"error":"HTTP/2 400 ","response":"<!DOCTYPE HTML PUBLIC \"-//IETF//DTD HTML 2.0//EN\">\r\n<html>\r\n<head><title>400 Bad Request</title></head>\r\n<body>\r\n<center><h1>400 Bad Request</h1></center>\r\n Sorry for the inconvenience.<br/>\r\nPlease report this message and include the following information to us.<br/>\r\nThank you very much!</p>\r\n<table>\r\n<tr>\r\n<td>URL:</td>\r\n<td>https://gd.glucose-dev.online/api/docflow/prepare-generated-doc</td>\r\n</tr>\r\n<tr>\r\n<td>Server:</td>\r\n<td>mail.glucose-dev.online</td>\r\n</tr>\r\n<tr>\r\n<td>Date:</td>\r\n<td>2026/10/16 14:54:22</td>\r\n</tr>\r\n</table>\r\n<hr><center>tengine</center>\r\n</body>\r\n</html>\r\n","payload":{"account_id":"22699852","entity_id":"42462912","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"873268d"}
[2026-10-16 14:54:22] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://gd.glucose-dev.online/api/docflow/prepare-generated-doc","payload":{"account_id":"22699852","entity_id":"42462912","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"873268d"}
[2026-10-16 14:54:22] docflow.WARNING: AmoDrive prepare-generated-doc request failed {"url":"https://gd.glucose-dev.online/api/docflow/prepare-generated-doc","http_code":null,"error":"HTTP/2 404 ","response":"[object] (stdClass: {\"ok\":false,\"error\":\"AmoDrive is not installed for this account.\",\"accountId\":22699852})","payload":{"account_id":"22699852","entity_id":"42462912","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"873268d"}
[2026-10-16 14:54:22] 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  723 20261016145422\",\"leadId\":\"42462912\",\"entities\":{\"\\u0441\\u0434\\u0435\\u043b\\u043a\\u0430\":{\"Suma \\u20ac\":\"0\",\"Manager front office\":\"Capanji Igor\",\"Nota SQL\":\"1\",\"#Manager Front\":\"Capanji Igor\",\"Serviciu solicitat\":\"1520102\",\"Loca\\u021bia Curent\\u0103\":\"Federa\\u021bia Rus\\u0103\",\"Canal de comunicare\":\"Whatsapp\",\"Tip proces\":\"Scurt\",\"ID\":\"42462912\",\"\\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\":\"Capanji Igor\",\"Nota SQL\":\"1\",\"#Manager Front\":\"Capanji Igor\",\"Serviciu solicitat\":\"1520102\",\"Loca\\u021bia Curent\\u0103\":\"Federa\\u021bia Rus\\u0103\",\"Canal de comunicare\":\"Whatsapp\",\"Tip proces\":\"Scurt\",\"ID\":\"42462912\",\"\\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\":{\"WhatsappLid_WZ\":\"167881765572635\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"+79315382348\",\"Email\":\"donets.mikhail@yandex.ru\",\"Limba vorbita\":\"Rusa\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Mikhail Donets\",\"Contact_name\":\"Mikhail Donets\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"Capanji Igor\",\"Responsible\":\"Capanji Igor\"},\"contact\":{\"WhatsappLid_WZ\":\"167881765572635\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"+79315382348\",\"Email\":\"donets.mikhail@yandex.ru\",\"Limba vorbita\":\"Rusa\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Mikhail Donets\",\"Contact_name\":\"Mikhail Donets\",\"\\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\\u044b\":[{\"WhatsappLid_WZ\":\"167881765572635\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"+79315382348\",\"Email\":\"donets.mikhail@yandex.ru\",\"Limba vorbita\":\"Rusa\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Mikhail Donets\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"Capanji Igor\"}],\"\\u0434\\u043e\\u043a\\u0443\\u043c\\u0435\\u043d\\u0442\":{\"\\u0414\\u0430\\u0442\\u0430\":\"16.10.2026\",\"\\u041d\\u043e\\u043c\\u0435\\u0440\":\"723\"},\"document\":{\"Date\":\"16.10.2026\",\"Number\":\"723\"}}}","edit":true}} {"uid":"873268d"}
[2026-10-16 14:54:29] docflow.DEBUG: GAS raw response {"raw":"[object] (stdClass: {\"code\":1,\"url\":\"https://docs.google.com/open?id=1HmY0v7a_xtX0PD5ercEdgxagx4QFJMnGOwotWXn4gYY\",\"file_id\":\"1HmY0v7a_xtX0PD5ercEdgxagx4QFJMnGOwotWXn4gYY\",\"error\":\"\",\"vars\":\"\"})"} {"uid":"873268d"}
[2026-10-16 14:54:29] docflow.WARNING: AmoDrive generated-file move is not ready. {"fileId":"1HmY0v7a_xtX0PD5ercEdgxagx4QFJMnGOwotWXn4gYY","context":null} {"uid":"873268d"}
[2026-10-16 14:57:06] docflow.INFO: Apel createDoc {"data":{"amoAccountId":"22699852","amoUserId":null,"amoEntityId":"42462912","amoEntityType":"2","templateId":"11527","corporateEntityId":"","settlementAccountId":"","is_signed":null,"gdi":null,"number":null,"currentAmoUserId":null,"lang":"ru"}} {"uid":"30d96be"}
[2026-10-16 14:57:06] docflow.INFO: Token is valid for account 22699852. [] {"uid":"30d96be"}
[2026-10-16 14:57:06] docflow.DEBUG: getClientAuth returned {"auth":"[object] (stdClass: {\"domain\":\"emigrare.amocrm.ru\",\"access_token\":\"eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImp0aSI6ImFiZmZkMzBkYzk5MWY5ZmRjNTY2NzA2YjEyMGZiY2RkZTJlNDIxNmRjNDZjMDAwMThhNzFhMGZkODAwNWRkYmIwNDkxMGIxMGVkMjc2ZWIzIn0.eyJhdWQiOiIwZDY0ZGZmYi1lNTRiLTQ0OGYtOWZiZi1iYWYyMjUxYTExZGIiLCJqdGkiOiJhYmZmZDMwZGM5OTFmOWZkYzU2NjcwNmIxMjBmYmNkZGUyZTQyMTZkYzQ2YzAwMDE4YTcxYTBmZDgwMDVkZGJiMDQ5MTBiMTBlZDI3NmViMyIsImlhdCI6MTc5MjE1MTA1MiwibmJmIjoxNzkyMTUxMDUyLCJleHAiOjE3OTIyMzc0NTIsInN1YiI6IjI5MzAzODAiLCJncmFudF90eXBlIjoiIiwiYWNjb3VudF9pZCI6MjI2OTk4NTIsImJhc2VfZG9tYWluIjoiYW1vY3JtLnJ1IiwidmVyc2lvbiI6Miwic2NvcGVzIjpbInB1c2hfbm90aWZpY2F0aW9ucyIsImNybSIsIm5vdGlmaWNhdGlvbnMiXSwiaGFzaF91dWlkIjoiZWFjYjdhMWYtZDg1ZS00OTU0LThjNDEtMDMwZWRmNzJhMTVkIiwiYXBpX2RvbWFpbiI6ImFwaS1hLmFtb2NybS5ydSJ9.iNKoniLvooi4e-IcUzdQwUQjDWdEHDqC5mw0WfmgyQOMJwYyT-Ppk5tCYAeSQCvZfcNQMj9zVsQ7ekcKhRmHYHoOIMhLdJoC3XdHJe9lfa_Ebm8Zun1J8sqMAiQ3z_C5t6HieghXYcJ50Hf8v4MjvK-rIy5HBYJcdH3fCZfhdrzfBJ0M3Wsiof1SbtilvAHsceq7TgmvgfWEAyITH_PXYDBPGTXCPBHXBCUhnLVL6iXopXYPuHF8e9w14TW9CsPR3wMYq45UVC9_IgMoeF9A13pmWNiIgTo1ZREQm7A53_JWaHavf75WK3D_vzUD3xfnMJvDY7o2ImdI5XSTZW6WFA\"})","file":"/home/ytvmclwh/document.amocrm.md/src/Models/Docs.php","line":121} {"uid":"30d96be"}
[2026-10-16 14:57:08] docflow.DEBUG: AmoDrive docflow context request {"url":"https://google.emale.uno/api/docflow/google-context","query":{"account_id":"22699852","entity_id":"42462912","entity_type":"leads"}} {"uid":"30d96be"}
[2026-10-16 14:57: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=42462912&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/16 14:57:09</td>\r\n</tr>\r\n</table>\r\n<hr><center>tengine</center>\r\n</body>\r\n</html>\r\n"} {"uid":"30d96be"}
[2026-10-16 14:57:09] docflow.DEBUG: AmoDrive docflow context request {"url":"https://gd.glucose-dev.online/api/docflow/google-context","query":{"account_id":"22699852","entity_id":"42462912","entity_type":"leads"}} {"uid":"30d96be"}
[2026-10-16 14:57: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":"42462912","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":308,"isLifetime":false},"licenseActive":false,"googleConnected":false,"googleEmail":null,"googleHasDriveScope":false,"googleHasDriveFileScope":false,"googleHasOwnershipScope":false,"readyForGeneratedFileMove":false,"readyForTransfer":false},"folder":{"id":"1M8X5o2sPuzPYyj8TCgEbNMOkSvWdi2x0","name":"42462912 - Lead #42462912","webViewLink":"https://drive.google.com/drive/folders/1M8X5o2sPuzPYyj8TCgEbNMOkSvWdi2x0"}}} {"uid":"30d96be"}
[2026-10-16 14:57:09] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://google.emale.uno/api/docflow/prepare-generated-doc","payload":{"account_id":"22699852","entity_id":"42462912","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"30d96be"}
[2026-10-16 14:57: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/16 14:57: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":"42462912","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"30d96be"}
[2026-10-16 14:57: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":"42462912","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"30d96be"}
[2026-10-16 14:57: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":"42462912","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"30d96be"}
[2026-10-16 14:57:09] docflow.DEBUG: GAS request {"url":"https://script.google.com/macros/s/AKfycbwrvOJD46zkuoTzdhpc1kulhV8jRfgQBFZfQ121nkIip_k8yKit4xrbWTOzaJ-C-Yed6w/exec","body":{"templateFileId":"1fg3oSTbF4IjGkVHWbBV4RiDKEcqI4Do0-nHFPwkleY4","accountId":"22699852","folderId":"1Us2AfskxgdA729xVr0F2vjZU9y5PlYDe","key":"~VTsK5dcnHc2cSSsjM$LFSjLlgbmJXwrp3R2P5nd","data":"{\"fileName\":\"\\u0421\\u0447\\u0435\\u0442 \\u043d\\u0430 \\u043e\\u043f\\u043b\\u0430\\u0442\\u0443 DZ \\/ LZ \\/ OB (EUR\\/USD\\/MDL) 176 20261016145708\",\"leadId\":\"42462912\",\"entities\":{\"\\u0441\\u0434\\u0435\\u043b\\u043a\\u0430\":{\"Suma \\u20ac\":\"0\",\"Manager front office\":\"Capanji Igor\",\"Nota SQL\":\"1\",\"#Manager Front\":\"Capanji Igor\",\"Serviciu solicitat\":\"1520102\",\"Loca\\u021bia Curent\\u0103\":\"Federa\\u021bia Rus\\u0103\",\"Canal de comunicare\":\"Whatsapp\",\"Tip proces\":\"Scurt\",\"ID\":\"42462912\",\"\\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\":\"Capanji Igor\",\"Nota SQL\":\"1\",\"#Manager Front\":\"Capanji Igor\",\"Serviciu solicitat\":\"1520102\",\"Loca\\u021bia Curent\\u0103\":\"Federa\\u021bia Rus\\u0103\",\"Canal de comunicare\":\"Whatsapp\",\"Tip proces\":\"Scurt\",\"ID\":\"42462912\",\"\\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\":{\"WhatsappLid_WZ\":\"167881765572635\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"+79315382348\",\"Email\":\"donets.mikhail@yandex.ru\",\"Limba vorbita\":\"Rusa\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Mikhail Donets\",\"Contact_name\":\"Mikhail Donets\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"Capanji Igor\",\"Responsible\":\"Capanji Igor\"},\"contact\":{\"WhatsappLid_WZ\":\"167881765572635\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"+79315382348\",\"Email\":\"donets.mikhail@yandex.ru\",\"Limba vorbita\":\"Rusa\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Mikhail Donets\",\"Contact_name\":\"Mikhail Donets\",\"\\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\\u044b\":[{\"WhatsappLid_WZ\":\"167881765572635\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"+79315382348\",\"Email\":\"donets.mikhail@yandex.ru\",\"Limba vorbita\":\"Rusa\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Mikhail Donets\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"Capanji Igor\"}],\"\\u0434\\u043e\\u043a\\u0443\\u043c\\u0435\\u043d\\u0442\":{\"\\u0414\\u0430\\u0442\\u0430\":\"16.10.2026\",\"\\u041d\\u043e\\u043c\\u0435\\u0440\":\"176\"},\"document\":{\"Date\":\"16.10.2026\",\"Number\":\"176\"}}}","edit":true}} {"uid":"30d96be"}
[2026-10-16 14:57:19] docflow.DEBUG: GAS raw response {"raw":"[object] (stdClass: {\"code\":1,\"url\":\"https://docs.google.com/open?id=1gWLH3E2lyNFDkhou6XxLTq9whbLoKDOw5dxtXrMGBf8\",\"file_id\":\"1gWLH3E2lyNFDkhou6XxLTq9whbLoKDOw5dxtXrMGBf8\",\"error\":\"\",\"vars\":\"\"})"} {"uid":"30d96be"}
[2026-10-16 14:57:19] docflow.WARNING: AmoDrive generated-file move is not ready. {"fileId":"1gWLH3E2lyNFDkhou6XxLTq9whbLoKDOw5dxtXrMGBf8","context":null} {"uid":"30d96be"}
[2026-10-16 14:58:05] docflow.INFO: Apel createDoc {"data":{"amoAccountId":"32990686","amoUserId":null,"amoEntityId":"50759535","amoEntityType":"2","templateId":"11646","corporateEntityId":"","settlementAccountId":"","is_signed":null,"gdi":null,"number":null,"currentAmoUserId":null,"lang":"ru"}} {"uid":"b2be606"}
[2026-10-16 14:58:06] docflow.INFO: Token is valid for account 32990686. [] {"uid":"b2be606"}
[2026-10-16 14:58:06] docflow.DEBUG: getClientAuth returned {"auth":"[object] (stdClass: {\"domain\":\"eurosanteh.amocrm.ru\",\"access_token\":\"eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImp0aSI6Ijc1YmU1MzQ3NDI3MTIyNTc0YzhjOWNiMDRhMDI2OTc5OGNhMTI2NDRkMGI2NWJlNmYzNWI4NTY3ZjdmZDk1OTRmODVlOTU3ZWNiMmQ2YTg1In0.eyJhdWQiOiIwZDY0ZGZmYi1lNTRiLTQ0OGYtOWZiZi1iYWYyMjUxYTExZGIiLCJqdGkiOiI3NWJlNTM0NzQyNzEyMjU3NGM4YzljYjA0YTAyNjk3OThjYTEyNjQ0ZDBiNjViZTZmMzViODU2N2Y3ZmQ5NTk0Zjg1ZTk1N2VjYjJkNmE4NSIsImlhdCI6MTc5MjA2OTYwOSwibmJmIjoxNzkyMDY5NjA5LCJleHAiOjE3OTIxNTYwMDksInN1YiI6IjEzNjg3MzAyIiwiZ3JhbnRfdHlwZSI6IiIsImFjY291bnRfaWQiOjMyOTkwNjg2LCJiYXNlX2RvbWFpbiI6ImFtb2NybS5ydSIsInZlcnNpb24iOjIsInNjb3BlcyI6WyJwdXNoX25vdGlmaWNhdGlvbnMiLCJjcm0iLCJub3RpZmljYXRpb25zIl0sImhhc2hfdXVpZCI6IjZmODlkMzc2LWRmNjAtNDhjZC05MGU4LTIzOTY1Mjk0NTY2ZiIsImFwaV9kb21haW4iOiJhcGktYi5hbW9jcm0ucnUifQ.rGt0T1fD4kyX0AbViKkyacRTGC_BNg-4LXO675cPDyDCzTPwF04flG-A0JuGNAufWZwAYdD6XTwpx-BPZ2WqnaVZ7NOZE-9RUlIppDKJt-Gn5eNAUIzK3Kjlv6_E2HFgQWW_PjnvaHqzeW1viENb4t3KsqHT35Aiuh8I0YgrgG5GW76QETuhtFU3VNlF1otA14YGZyjtVligXcA2CwEYUmCi8ow33B64-0ltQ9dAbMGxxy0pJxhcMpR8eorDIMWt1D0BejiitE7YRnYeWkyWSTbGWtW3tTKhD95s4LzYqEZsK0U-9KfsTLos32uGIQwmdEIbN7COQmEdMW24pQe8Cw\"})","file":"/home/ytvmclwh/document.amocrm.md/src/Models/Docs.php","line":121} {"uid":"b2be606"}
[2026-10-16 14:58:10] docflow.DEBUG: AmoDrive docflow context request {"url":"https://google.emale.uno/api/docflow/google-context","query":{"account_id":"32990686","entity_id":"50759535","entity_type":"leads"}} {"uid":"b2be606"}
[2026-10-16 14:58:10] docflow.WARNING: AmoDrive docflow context request failed {"url":"https://google.emale.uno/api/docflow/google-context","http_code":null,"error":"HTTP/2 400 ","response":"<!DOCTYPE HTML PUBLIC \"-//IETF//DTD HTML 2.0//EN\">\r\n<html>\r\n<head><title>400 Bad Request</title></head>\r\n<body>\r\n<center><h1>400 Bad Request</h1></center>\r\n Sorry for the inconvenience.<br/>\r\nPlease report this message and include the following information to us.<br/>\r\nThank you very much!</p>\r\n<table>\r\n<tr>\r\n<td>URL:</td>\r\n<td>https://gd.glucose-dev.online/api/docflow/google-context?account_id=32990686&amp;entity_id=50759535&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/16 14:58:10</td>\r\n</tr>\r\n</table>\r\n<hr><center>tengine</center>\r\n</body>\r\n</html>\r\n"} {"uid":"b2be606"}
[2026-10-16 14:58:10] docflow.DEBUG: AmoDrive docflow context request {"url":"https://gd.glucose-dev.online/api/docflow/google-context","query":{"account_id":"32990686","entity_id":"50759535","entity_type":"leads"}} {"uid":"b2be606"}
[2026-10-16 14:58:10] docflow.WARNING: AmoDrive docflow context response is not ready, trying next backend. {"url":"https://gd.glucose-dev.online/api/docflow/google-context","payload":{"ok":true,"accountId":32990686,"entityId":"50759535","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":"b2be606"}
[2026-10-16 14:58:10] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://google.emale.uno/api/docflow/prepare-generated-doc","payload":{"account_id":"32990686","entity_id":"50759535","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"b2be606"}
[2026-10-16 14:58:10] docflow.WARNING: AmoDrive prepare-generated-doc request failed {"url":"https://google.emale.uno/api/docflow/prepare-generated-doc","http_code":null,"error":"HTTP/2 400 ","response":"<!DOCTYPE HTML PUBLIC \"-//IETF//DTD HTML 2.0//EN\">\r\n<html>\r\n<head><title>400 Bad Request</title></head>\r\n<body>\r\n<center><h1>400 Bad Request</h1></center>\r\n Sorry for the inconvenience.<br/>\r\nPlease report this message and include the following information to us.<br/>\r\nThank you very much!</p>\r\n<table>\r\n<tr>\r\n<td>URL:</td>\r\n<td>https://gd.glucose-dev.online/api/docflow/prepare-generated-doc</td>\r\n</tr>\r\n<tr>\r\n<td>Server:</td>\r\n<td>mail.glucose-dev.online</td>\r\n</tr>\r\n<tr>\r\n<td>Date:</td>\r\n<td>2026/10/16 14:58:10</td>\r\n</tr>\r\n</table>\r\n<hr><center>tengine</center>\r\n</body>\r\n</html>\r\n","payload":{"account_id":"32990686","entity_id":"50759535","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"b2be606"}
[2026-10-16 14:58:10] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://gd.glucose-dev.online/api/docflow/prepare-generated-doc","payload":{"account_id":"32990686","entity_id":"50759535","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"b2be606"}
[2026-10-16 14:58:10] docflow.WARNING: AmoDrive prepare-generated-doc request failed {"url":"https://gd.glucose-dev.online/api/docflow/prepare-generated-doc","http_code":null,"error":"HTTP/2 404 ","response":"[object] (stdClass: {\"ok\":false,\"error\":\"AmoDrive is not installed for this account.\",\"accountId\":32990686})","payload":{"account_id":"32990686","entity_id":"50759535","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"b2be606"}
[2026-10-16 14:58:10] 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 1368 20261016145810\",\"leadId\":\"50759535\",\"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-17 14:51:00\",\"\\u0414\\u0430\\u0442\\u0430 \\u0432\\u0438\\u0437\\u0438\\u0442\\u0430\":\"17.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\":\"17.10.2027\",\"\\u041c\\u043e\\u0434\\u0435\\u043b\\u044c \\u043e\\u0431\\u043e\\u0440\\u0443\\u0434\\u043e\\u0432\\u0430\\u043d\\u0438\\u044f 1\":\"Gree Amber 24\",\"ID\":\"50759535\",\"\\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-17 14:51:00\",\"\\u0414\\u0430\\u0442\\u0430 \\u0432\\u0438\\u0437\\u0438\\u0442\\u0430\":\"17.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\":\"17.10.2027\",\"\\u041c\\u043e\\u0434\\u0435\\u043b\\u044c \\u043e\\u0431\\u043e\\u0440\\u0443\\u0434\\u043e\\u0432\\u0430\\u043d\\u0438\\u044f 1\":\"Gree Amber 24\",\"ID\":\"50759535\",\"\\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\":\"2000025086654\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"37369316325\",\"\\u0410\\u0434\\u0440\\u0435\\u0441\":\"Chetrosu str Teilor 11\",\"\\u0418\\u043c\\u044f \\u043a\\u043b\\u0438\\u0435\\u043d\\u0442\\u0430 (\\u0421\\u041c\\u0421)\":\"Igor\",\"\\u0414\\u0430\\u0442\\u0430 \\u043c\\u043e\\u043d\\u0442\\u0430\\u0436\\u0430 (\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442)\":\"10.08.2024\",\"\\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 24\",\"\\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\":\"Igor Nistor\",\"Contact_name\":\"Igor Nistor\",\"\\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\":\"2000025086654\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"37369316325\",\"\\u0410\\u0434\\u0440\\u0435\\u0441\":\"Chetrosu str Teilor 11\",\"\\u0418\\u043c\\u044f \\u043a\\u043b\\u0438\\u0435\\u043d\\u0442\\u0430 (\\u0421\\u041c\\u0421)\":\"Igor\",\"\\u0414\\u0430\\u0442\\u0430 \\u043c\\u043e\\u043d\\u0442\\u0430\\u0436\\u0430 (\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442)\":\"10.08.2024\",\"\\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 24\",\"\\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\":\"Igor Nistor\",\"Contact_name\":\"Igor Nistor\",\"\\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\":\"2000025086654\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"37369316325\",\"\\u0410\\u0434\\u0440\\u0435\\u0441\":\"Chetrosu str Teilor 11\",\"\\u0418\\u043c\\u044f \\u043a\\u043b\\u0438\\u0435\\u043d\\u0442\\u0430 (\\u0421\\u041c\\u0421)\":\"Igor\",\"\\u0414\\u0430\\u0442\\u0430 \\u043c\\u043e\\u043d\\u0442\\u0430\\u0436\\u0430 (\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442)\":\"10.08.2024\",\"\\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 24\",\"\\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\":\"Igor Nistor\",\"\\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\":\"16.10.2026\",\"\\u041d\\u043e\\u043c\\u0435\\u0440\":\"1368\"},\"document\":{\"Date\":\"16.10.2026\",\"Number\":\"1368\"}}}","edit":true}} {"uid":"b2be606"}
[2026-10-16 14:58:24] docflow.DEBUG: GAS raw response {"raw":"GET is not supported"} {"uid":"b2be606"}
[2026-10-16 14:58:24] docflow.ERROR: Invalid JSON from GAS: Syntax error {"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":"b2be606"}
[2026-10-16 14:58:42] docflow.INFO: Apel createDoc {"data":{"amoAccountId":"32990686","amoUserId":null,"amoEntityId":"50759535","amoEntityType":"2","templateId":"11646","corporateEntityId":"","settlementAccountId":"","is_signed":null,"gdi":null,"number":null,"currentAmoUserId":null,"lang":"ru"}} {"uid":"101726f"}
[2026-10-16 14:58:42] docflow.INFO: Token is valid for account 32990686. [] {"uid":"101726f"}
[2026-10-16 14:58:42] docflow.DEBUG: getClientAuth returned {"auth":"[object] (stdClass: {\"domain\":\"eurosanteh.amocrm.ru\",\"access_token\":\"eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImp0aSI6Ijc1YmU1MzQ3NDI3MTIyNTc0YzhjOWNiMDRhMDI2OTc5OGNhMTI2NDRkMGI2NWJlNmYzNWI4NTY3ZjdmZDk1OTRmODVlOTU3ZWNiMmQ2YTg1In0.eyJhdWQiOiIwZDY0ZGZmYi1lNTRiLTQ0OGYtOWZiZi1iYWYyMjUxYTExZGIiLCJqdGkiOiI3NWJlNTM0NzQyNzEyMjU3NGM4YzljYjA0YTAyNjk3OThjYTEyNjQ0ZDBiNjViZTZmMzViODU2N2Y3ZmQ5NTk0Zjg1ZTk1N2VjYjJkNmE4NSIsImlhdCI6MTc5MjA2OTYwOSwibmJmIjoxNzkyMDY5NjA5LCJleHAiOjE3OTIxNTYwMDksInN1YiI6IjEzNjg3MzAyIiwiZ3JhbnRfdHlwZSI6IiIsImFjY291bnRfaWQiOjMyOTkwNjg2LCJiYXNlX2RvbWFpbiI6ImFtb2NybS5ydSIsInZlcnNpb24iOjIsInNjb3BlcyI6WyJwdXNoX25vdGlmaWNhdGlvbnMiLCJjcm0iLCJub3RpZmljYXRpb25zIl0sImhhc2hfdXVpZCI6IjZmODlkMzc2LWRmNjAtNDhjZC05MGU4LTIzOTY1Mjk0NTY2ZiIsImFwaV9kb21haW4iOiJhcGktYi5hbW9jcm0ucnUifQ.rGt0T1fD4kyX0AbViKkyacRTGC_BNg-4LXO675cPDyDCzTPwF04flG-A0JuGNAufWZwAYdD6XTwpx-BPZ2WqnaVZ7NOZE-9RUlIppDKJt-Gn5eNAUIzK3Kjlv6_E2HFgQWW_PjnvaHqzeW1viENb4t3KsqHT35Aiuh8I0YgrgG5GW76QETuhtFU3VNlF1otA14YGZyjtVligXcA2CwEYUmCi8ow33B64-0ltQ9dAbMGxxy0pJxhcMpR8eorDIMWt1D0BejiitE7YRnYeWkyWSTbGWtW3tTKhD95s4LzYqEZsK0U-9KfsTLos32uGIQwmdEIbN7COQmEdMW24pQe8Cw\"})","file":"/home/ytvmclwh/document.amocrm.md/src/Models/Docs.php","line":121} {"uid":"101726f"}
[2026-10-16 14:58:45] docflow.DEBUG: AmoDrive docflow context request {"url":"https://google.emale.uno/api/docflow/google-context","query":{"account_id":"32990686","entity_id":"50759535","entity_type":"leads"}} {"uid":"101726f"}
[2026-10-16 14:58: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=50759535&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/16 14:58:45</td>\r\n</tr>\r\n</table>\r\n<hr><center>tengine</center>\r\n</body>\r\n</html>\r\n"} {"uid":"101726f"}
[2026-10-16 14:58:45] docflow.DEBUG: AmoDrive docflow context request {"url":"https://gd.glucose-dev.online/api/docflow/google-context","query":{"account_id":"32990686","entity_id":"50759535","entity_type":"leads"}} {"uid":"101726f"}
[2026-10-16 14:58: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":"50759535","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":"101726f"}
[2026-10-16 14:58:45] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://google.emale.uno/api/docflow/prepare-generated-doc","payload":{"account_id":"32990686","entity_id":"50759535","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"101726f"}
[2026-10-16 14:58: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/16 14:58: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":"50759535","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"101726f"}
[2026-10-16 14:58: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":"50759535","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"101726f"}
[2026-10-16 14:58: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":"50759535","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"101726f"}
[2026-10-16 14:58: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 1368 20261016145845\",\"leadId\":\"50759535\",\"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-17 14:51:00\",\"\\u0414\\u0430\\u0442\\u0430 \\u0432\\u0438\\u0437\\u0438\\u0442\\u0430\":\"17.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\":\"17.10.2027\",\"\\u041c\\u043e\\u0434\\u0435\\u043b\\u044c \\u043e\\u0431\\u043e\\u0440\\u0443\\u0434\\u043e\\u0432\\u0430\\u043d\\u0438\\u044f 1\":\"Gree Amber 24\",\"ID\":\"50759535\",\"\\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-17 14:51:00\",\"\\u0414\\u0430\\u0442\\u0430 \\u0432\\u0438\\u0437\\u0438\\u0442\\u0430\":\"17.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\":\"17.10.2027\",\"\\u041c\\u043e\\u0434\\u0435\\u043b\\u044c \\u043e\\u0431\\u043e\\u0440\\u0443\\u0434\\u043e\\u0432\\u0430\\u043d\\u0438\\u044f 1\":\"Gree Amber 24\",\"ID\":\"50759535\",\"\\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\":\"2000025086654\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"37369316325\",\"\\u0410\\u0434\\u0440\\u0435\\u0441\":\"Chetrosu str Teilor 11\",\"\\u0418\\u043c\\u044f \\u043a\\u043b\\u0438\\u0435\\u043d\\u0442\\u0430 (\\u0421\\u041c\\u0421)\":\"Igor\",\"\\u0414\\u0430\\u0442\\u0430 \\u043c\\u043e\\u043d\\u0442\\u0430\\u0436\\u0430 (\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442)\":\"10.08.2024\",\"\\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 24\",\"\\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\":\"Igor Nistor\",\"Contact_name\":\"Igor Nistor\",\"\\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\":\"2000025086654\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"37369316325\",\"\\u0410\\u0434\\u0440\\u0435\\u0441\":\"Chetrosu str Teilor 11\",\"\\u0418\\u043c\\u044f \\u043a\\u043b\\u0438\\u0435\\u043d\\u0442\\u0430 (\\u0421\\u041c\\u0421)\":\"Igor\",\"\\u0414\\u0430\\u0442\\u0430 \\u043c\\u043e\\u043d\\u0442\\u0430\\u0436\\u0430 (\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442)\":\"10.08.2024\",\"\\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 24\",\"\\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\":\"Igor Nistor\",\"Contact_name\":\"Igor Nistor\",\"\\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\":\"2000025086654\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"37369316325\",\"\\u0410\\u0434\\u0440\\u0435\\u0441\":\"Chetrosu str Teilor 11\",\"\\u0418\\u043c\\u044f \\u043a\\u043b\\u0438\\u0435\\u043d\\u0442\\u0430 (\\u0421\\u041c\\u0421)\":\"Igor\",\"\\u0414\\u0430\\u0442\\u0430 \\u043c\\u043e\\u043d\\u0442\\u0430\\u0436\\u0430 (\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442)\":\"10.08.2024\",\"\\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 24\",\"\\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\":\"Igor Nistor\",\"\\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\":\"16.10.2026\",\"\\u041d\\u043e\\u043c\\u0435\\u0440\":\"1368\"},\"document\":{\"Date\":\"16.10.2026\",\"Number\":\"1368\"}}}","edit":true}} {"uid":"101726f"}
[2026-10-16 14:58:51] docflow.DEBUG: GAS raw response {"raw":"[object] (stdClass: {\"code\":1,\"url\":\"https://docs.google.com/open?id=1w_F3pQHwUeMF-j0zpHz52IdM4Bx5ZPu-gHpe_a27V-k\",\"file_id\":\"1w_F3pQHwUeMF-j0zpHz52IdM4Bx5ZPu-gHpe_a27V-k\",\"error\":\"\",\"vars\":\"\"})"} {"uid":"101726f"}
[2026-10-16 14:58:51] docflow.WARNING: AmoDrive generated-file move is not ready. {"fileId":"1w_F3pQHwUeMF-j0zpHz52IdM4Bx5ZPu-gHpe_a27V-k","context":null} {"uid":"101726f"}
[2026-10-16 15:01:43] docflow.INFO: Apel createDoc {"data":{"amoAccountId":"32990686","amoUserId":null,"amoEntityId":"50815643","amoEntityType":"2","templateId":"11625","corporateEntityId":"","settlementAccountId":"","is_signed":null,"gdi":null,"number":null,"currentAmoUserId":null,"lang":"ru"}} {"uid":"a10fd8a"}
[2026-10-16 15:01:43] docflow.INFO: Token is valid for account 32990686. [] {"uid":"a10fd8a"}
[2026-10-16 15:01:43] docflow.DEBUG: getClientAuth returned {"auth":"[object] (stdClass: {\"domain\":\"eurosanteh.amocrm.ru\",\"access_token\":\"eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImp0aSI6Ijc1YmU1MzQ3NDI3MTIyNTc0YzhjOWNiMDRhMDI2OTc5OGNhMTI2NDRkMGI2NWJlNmYzNWI4NTY3ZjdmZDk1OTRmODVlOTU3ZWNiMmQ2YTg1In0.eyJhdWQiOiIwZDY0ZGZmYi1lNTRiLTQ0OGYtOWZiZi1iYWYyMjUxYTExZGIiLCJqdGkiOiI3NWJlNTM0NzQyNzEyMjU3NGM4YzljYjA0YTAyNjk3OThjYTEyNjQ0ZDBiNjViZTZmMzViODU2N2Y3ZmQ5NTk0Zjg1ZTk1N2VjYjJkNmE4NSIsImlhdCI6MTc5MjA2OTYwOSwibmJmIjoxNzkyMDY5NjA5LCJleHAiOjE3OTIxNTYwMDksInN1YiI6IjEzNjg3MzAyIiwiZ3JhbnRfdHlwZSI6IiIsImFjY291bnRfaWQiOjMyOTkwNjg2LCJiYXNlX2RvbWFpbiI6ImFtb2NybS5ydSIsInZlcnNpb24iOjIsInNjb3BlcyI6WyJwdXNoX25vdGlmaWNhdGlvbnMiLCJjcm0iLCJub3RpZmljYXRpb25zIl0sImhhc2hfdXVpZCI6IjZmODlkMzc2LWRmNjAtNDhjZC05MGU4LTIzOTY1Mjk0NTY2ZiIsImFwaV9kb21haW4iOiJhcGktYi5hbW9jcm0ucnUifQ.rGt0T1fD4kyX0AbViKkyacRTGC_BNg-4LXO675cPDyDCzTPwF04flG-A0JuGNAufWZwAYdD6XTwpx-BPZ2WqnaVZ7NOZE-9RUlIppDKJt-Gn5eNAUIzK3Kjlv6_E2HFgQWW_PjnvaHqzeW1viENb4t3KsqHT35Aiuh8I0YgrgG5GW76QETuhtFU3VNlF1otA14YGZyjtVligXcA2CwEYUmCi8ow33B64-0ltQ9dAbMGxxy0pJxhcMpR8eorDIMWt1D0BejiitE7YRnYeWkyWSTbGWtW3tTKhD95s4LzYqEZsK0U-9KfsTLos32uGIQwmdEIbN7COQmEdMW24pQe8Cw\"})","file":"/home/ytvmclwh/document.amocrm.md/src/Models/Docs.php","line":121} {"uid":"a10fd8a"}
[2026-10-16 15:01:46] docflow.DEBUG: AmoDrive docflow context request {"url":"https://google.emale.uno/api/docflow/google-context","query":{"account_id":"32990686","entity_id":"50815643","entity_type":"leads"}} {"uid":"a10fd8a"}
[2026-10-16 15:01: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=50815643&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/16 15:01:47</td>\r\n</tr>\r\n</table>\r\n<hr><center>tengine</center>\r\n</body>\r\n</html>\r\n"} {"uid":"a10fd8a"}
[2026-10-16 15:01:47] docflow.DEBUG: AmoDrive docflow context request {"url":"https://gd.glucose-dev.online/api/docflow/google-context","query":{"account_id":"32990686","entity_id":"50815643","entity_type":"leads"}} {"uid":"a10fd8a"}
[2026-10-16 15:01: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":"50815643","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":"a10fd8a"}
[2026-10-16 15:01:47] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://google.emale.uno/api/docflow/prepare-generated-doc","payload":{"account_id":"32990686","entity_id":"50815643","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"a10fd8a"}
[2026-10-16 15:01: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/16 15:01: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":"50815643","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"a10fd8a"}
[2026-10-16 15:01: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":"50815643","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"a10fd8a"}
[2026-10-16 15:01: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":"50815643","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"a10fd8a"}
[2026-10-16 15:01: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 1369 20261016150146\",\"leadId\":\"50815643\",\"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-17 17:07:00\",\"\\u0414\\u0430\\u0442\\u0430 \\u0432\\u0438\\u0437\\u0438\\u0442\\u0430\":\"17.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\":\"17.10.2027\",\"\\u041c\\u043e\\u0434\\u0435\\u043b\\u044c \\u043e\\u0431\\u043e\\u0440\\u0443\\u0434\\u043e\\u0432\\u0430\\u043d\\u0438\\u044f 1\":\"Haier Tundra on\\/off 12\",\"ID\":\"50815643\",\"\\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\":{\"\\u0414\\u0430\\u0442\\u0430 \\u0438 \\u0432\\u0440\\u0435\\u043c\\u044f \\u0432\\u0438\\u0437\\u0438\\u0442\\u0430\":\"2026-10-17 17:07:00\",\"\\u0414\\u0430\\u0442\\u0430 \\u0432\\u0438\\u0437\\u0438\\u0442\\u0430\":\"17.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\":\"17.10.2027\",\"\\u041c\\u043e\\u0434\\u0435\\u043b\\u044c \\u043e\\u0431\\u043e\\u0440\\u0443\\u0434\\u043e\\u0432\\u0430\\u043d\\u0438\\u044f 1\":\"Haier Tundra on\\/off 12\",\"ID\":\"50815643\",\"\\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\":\"991901404801\",\"\\u0410\\u0434\\u0440\\u0435\\u0441\":\"str Belgrad 19\\/1 ap.102\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"37368499692\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Vladimir Dimitrov\",\"Contact_name\":\"Vladimir Dimitrov\",\"\\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\":\"991901404801\",\"\\u0410\\u0434\\u0440\\u0435\\u0441\":\"str Belgrad 19\\/1 ap.102\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"37368499692\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Vladimir Dimitrov\",\"Contact_name\":\"Vladimir Dimitrov\",\"\\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\":\"991901404801\",\"\\u0410\\u0434\\u0440\\u0435\\u0441\":\"str Belgrad 19\\/1 ap.102\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"37368499692\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Vladimir Dimitrov\",\"\\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\":\"16.10.2026\",\"\\u041d\\u043e\\u043c\\u0435\\u0440\":\"1369\"},\"document\":{\"Date\":\"16.10.2026\",\"Number\":\"1369\"}}}","edit":true}} {"uid":"a10fd8a"}
[2026-10-16 15:02:17] 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":"a10fd8a"}
[2026-10-16 15:02:35] docflow.INFO: Apel createDoc {"data":{"amoAccountId":"32990686","amoUserId":null,"amoEntityId":"50815643","amoEntityType":"2","templateId":"11625","corporateEntityId":"","settlementAccountId":"","is_signed":null,"gdi":null,"number":null,"currentAmoUserId":null,"lang":"ru"}} {"uid":"c5b1dd4"}
[2026-10-16 15:02:36] docflow.INFO: Token is valid for account 32990686. [] {"uid":"c5b1dd4"}
[2026-10-16 15:02:36] docflow.DEBUG: getClientAuth returned {"auth":"[object] (stdClass: {\"domain\":\"eurosanteh.amocrm.ru\",\"access_token\":\"eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImp0aSI6Ijc1YmU1MzQ3NDI3MTIyNTc0YzhjOWNiMDRhMDI2OTc5OGNhMTI2NDRkMGI2NWJlNmYzNWI4NTY3ZjdmZDk1OTRmODVlOTU3ZWNiMmQ2YTg1In0.eyJhdWQiOiIwZDY0ZGZmYi1lNTRiLTQ0OGYtOWZiZi1iYWYyMjUxYTExZGIiLCJqdGkiOiI3NWJlNTM0NzQyNzEyMjU3NGM4YzljYjA0YTAyNjk3OThjYTEyNjQ0ZDBiNjViZTZmMzViODU2N2Y3ZmQ5NTk0Zjg1ZTk1N2VjYjJkNmE4NSIsImlhdCI6MTc5MjA2OTYwOSwibmJmIjoxNzkyMDY5NjA5LCJleHAiOjE3OTIxNTYwMDksInN1YiI6IjEzNjg3MzAyIiwiZ3JhbnRfdHlwZSI6IiIsImFjY291bnRfaWQiOjMyOTkwNjg2LCJiYXNlX2RvbWFpbiI6ImFtb2NybS5ydSIsInZlcnNpb24iOjIsInNjb3BlcyI6WyJwdXNoX25vdGlmaWNhdGlvbnMiLCJjcm0iLCJub3RpZmljYXRpb25zIl0sImhhc2hfdXVpZCI6IjZmODlkMzc2LWRmNjAtNDhjZC05MGU4LTIzOTY1Mjk0NTY2ZiIsImFwaV9kb21haW4iOiJhcGktYi5hbW9jcm0ucnUifQ.rGt0T1fD4kyX0AbViKkyacRTGC_BNg-4LXO675cPDyDCzTPwF04flG-A0JuGNAufWZwAYdD6XTwpx-BPZ2WqnaVZ7NOZE-9RUlIppDKJt-Gn5eNAUIzK3Kjlv6_E2HFgQWW_PjnvaHqzeW1viENb4t3KsqHT35Aiuh8I0YgrgG5GW76QETuhtFU3VNlF1otA14YGZyjtVligXcA2CwEYUmCi8ow33B64-0ltQ9dAbMGxxy0pJxhcMpR8eorDIMWt1D0BejiitE7YRnYeWkyWSTbGWtW3tTKhD95s4LzYqEZsK0U-9KfsTLos32uGIQwmdEIbN7COQmEdMW24pQe8Cw\"})","file":"/home/ytvmclwh/document.amocrm.md/src/Models/Docs.php","line":121} {"uid":"c5b1dd4"}
[2026-10-16 15:02:40] docflow.DEBUG: AmoDrive docflow context request {"url":"https://google.emale.uno/api/docflow/google-context","query":{"account_id":"32990686","entity_id":"50815643","entity_type":"leads"}} {"uid":"c5b1dd4"}
[2026-10-16 15:02: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=32990686&amp;entity_id=50815643&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/16 15:02:40</td>\r\n</tr>\r\n</table>\r\n<hr><center>tengine</center>\r\n</body>\r\n</html>\r\n"} {"uid":"c5b1dd4"}
[2026-10-16 15:02:40] docflow.DEBUG: AmoDrive docflow context request {"url":"https://gd.glucose-dev.online/api/docflow/google-context","query":{"account_id":"32990686","entity_id":"50815643","entity_type":"leads"}} {"uid":"c5b1dd4"}
[2026-10-16 15:02: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":32990686,"entityId":"50815643","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":"c5b1dd4"}
[2026-10-16 15:02:40] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://google.emale.uno/api/docflow/prepare-generated-doc","payload":{"account_id":"32990686","entity_id":"50815643","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"c5b1dd4"}
[2026-10-16 15:02: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/16 15:02: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":"50815643","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"c5b1dd4"}
[2026-10-16 15:02: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":"50815643","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"c5b1dd4"}
[2026-10-16 15:02: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":"50815643","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"c5b1dd4"}
[2026-10-16 15:02: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 1369 20261016150240\",\"leadId\":\"50815643\",\"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-17 17:07:00\",\"\\u0414\\u0430\\u0442\\u0430 \\u0432\\u0438\\u0437\\u0438\\u0442\\u0430\":\"17.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\":\"17.10.2027\",\"\\u041c\\u043e\\u0434\\u0435\\u043b\\u044c \\u043e\\u0431\\u043e\\u0440\\u0443\\u0434\\u043e\\u0432\\u0430\\u043d\\u0438\\u044f 1\":\"Haier Tundra on\\/off 12\",\"ID\":\"50815643\",\"\\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\":{\"\\u0414\\u0430\\u0442\\u0430 \\u0438 \\u0432\\u0440\\u0435\\u043c\\u044f \\u0432\\u0438\\u0437\\u0438\\u0442\\u0430\":\"2026-10-17 17:07:00\",\"\\u0414\\u0430\\u0442\\u0430 \\u0432\\u0438\\u0437\\u0438\\u0442\\u0430\":\"17.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\":\"17.10.2027\",\"\\u041c\\u043e\\u0434\\u0435\\u043b\\u044c \\u043e\\u0431\\u043e\\u0440\\u0443\\u0434\\u043e\\u0432\\u0430\\u043d\\u0438\\u044f 1\":\"Haier Tundra on\\/off 12\",\"ID\":\"50815643\",\"\\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\":\"991901404801\",\"\\u0410\\u0434\\u0440\\u0435\\u0441\":\"str Belgrad 19\\/1 ap.102\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"37368499692\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Vladimir Dimitrov\",\"Contact_name\":\"Vladimir Dimitrov\",\"\\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\":\"991901404801\",\"\\u0410\\u0434\\u0440\\u0435\\u0441\":\"str Belgrad 19\\/1 ap.102\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"37368499692\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Vladimir Dimitrov\",\"Contact_name\":\"Vladimir Dimitrov\",\"\\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\":\"991901404801\",\"\\u0410\\u0434\\u0440\\u0435\\u0441\":\"str Belgrad 19\\/1 ap.102\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"37368499692\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Vladimir Dimitrov\",\"\\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\":\"16.10.2026\",\"\\u041d\\u043e\\u043c\\u0435\\u0440\":\"1369\"},\"document\":{\"Date\":\"16.10.2026\",\"Number\":\"1369\"}}}","edit":true}} {"uid":"c5b1dd4"}
[2026-10-16 15:02:54] docflow.DEBUG: GAS raw response {"raw":"[object] (stdClass: {\"code\":1,\"url\":\"https://docs.google.com/open?id=1ka_0UVnySyLXQZ7Y5yyJ3E7WdT5QWDLNoYetMlNBaMY\",\"file_id\":\"1ka_0UVnySyLXQZ7Y5yyJ3E7WdT5QWDLNoYetMlNBaMY\",\"error\":\"\",\"vars\":\"\"})"} {"uid":"c5b1dd4"}
[2026-10-16 15:02:54] docflow.WARNING: AmoDrive generated-file move is not ready. {"fileId":"1ka_0UVnySyLXQZ7Y5yyJ3E7WdT5QWDLNoYetMlNBaMY","context":null} {"uid":"c5b1dd4"}
[2026-10-16 15:03:32] docflow.INFO: Apel createDoc {"data":{"amoAccountId":"32990686","amoUserId":null,"amoEntityId":"50815643","amoEntityType":"2","templateId":"11646","corporateEntityId":"","settlementAccountId":"","is_signed":null,"gdi":null,"number":null,"currentAmoUserId":null,"lang":"ru"}} {"uid":"2a1f633"}
[2026-10-16 15:03:32] docflow.INFO: Token is valid for account 32990686. [] {"uid":"2a1f633"}
[2026-10-16 15:03:32] docflow.DEBUG: getClientAuth returned {"auth":"[object] (stdClass: {\"domain\":\"eurosanteh.amocrm.ru\",\"access_token\":\"eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImp0aSI6Ijc1YmU1MzQ3NDI3MTIyNTc0YzhjOWNiMDRhMDI2OTc5OGNhMTI2NDRkMGI2NWJlNmYzNWI4NTY3ZjdmZDk1OTRmODVlOTU3ZWNiMmQ2YTg1In0.eyJhdWQiOiIwZDY0ZGZmYi1lNTRiLTQ0OGYtOWZiZi1iYWYyMjUxYTExZGIiLCJqdGkiOiI3NWJlNTM0NzQyNzEyMjU3NGM4YzljYjA0YTAyNjk3OThjYTEyNjQ0ZDBiNjViZTZmMzViODU2N2Y3ZmQ5NTk0Zjg1ZTk1N2VjYjJkNmE4NSIsImlhdCI6MTc5MjA2OTYwOSwibmJmIjoxNzkyMDY5NjA5LCJleHAiOjE3OTIxNTYwMDksInN1YiI6IjEzNjg3MzAyIiwiZ3JhbnRfdHlwZSI6IiIsImFjY291bnRfaWQiOjMyOTkwNjg2LCJiYXNlX2RvbWFpbiI6ImFtb2NybS5ydSIsInZlcnNpb24iOjIsInNjb3BlcyI6WyJwdXNoX25vdGlmaWNhdGlvbnMiLCJjcm0iLCJub3RpZmljYXRpb25zIl0sImhhc2hfdXVpZCI6IjZmODlkMzc2LWRmNjAtNDhjZC05MGU4LTIzOTY1Mjk0NTY2ZiIsImFwaV9kb21haW4iOiJhcGktYi5hbW9jcm0ucnUifQ.rGt0T1fD4kyX0AbViKkyacRTGC_BNg-4LXO675cPDyDCzTPwF04flG-A0JuGNAufWZwAYdD6XTwpx-BPZ2WqnaVZ7NOZE-9RUlIppDKJt-Gn5eNAUIzK3Kjlv6_E2HFgQWW_PjnvaHqzeW1viENb4t3KsqHT35Aiuh8I0YgrgG5GW76QETuhtFU3VNlF1otA14YGZyjtVligXcA2CwEYUmCi8ow33B64-0ltQ9dAbMGxxy0pJxhcMpR8eorDIMWt1D0BejiitE7YRnYeWkyWSTbGWtW3tTKhD95s4LzYqEZsK0U-9KfsTLos32uGIQwmdEIbN7COQmEdMW24pQe8Cw\"})","file":"/home/ytvmclwh/document.amocrm.md/src/Models/Docs.php","line":121} {"uid":"2a1f633"}
[2026-10-16 15:03:35] docflow.DEBUG: AmoDrive docflow context request {"url":"https://google.emale.uno/api/docflow/google-context","query":{"account_id":"32990686","entity_id":"50815643","entity_type":"leads"}} {"uid":"2a1f633"}
[2026-10-16 15:03:35] 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=50815643&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/16 15:03:35</td>\r\n</tr>\r\n</table>\r\n<hr><center>tengine</center>\r\n</body>\r\n</html>\r\n"} {"uid":"2a1f633"}
[2026-10-16 15:03:35] docflow.DEBUG: AmoDrive docflow context request {"url":"https://gd.glucose-dev.online/api/docflow/google-context","query":{"account_id":"32990686","entity_id":"50815643","entity_type":"leads"}} {"uid":"2a1f633"}
[2026-10-16 15:03: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":"50815643","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":"2a1f633"}
[2026-10-16 15:03:35] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://google.emale.uno/api/docflow/prepare-generated-doc","payload":{"account_id":"32990686","entity_id":"50815643","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"2a1f633"}
[2026-10-16 15:03:36] 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/16 15:03:36</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":"50815643","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"2a1f633"}
[2026-10-16 15:03:36] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://gd.glucose-dev.online/api/docflow/prepare-generated-doc","payload":{"account_id":"32990686","entity_id":"50815643","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"2a1f633"}
[2026-10-16 15:03:36] 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":"50815643","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"2a1f633"}
[2026-10-16 15:03:36] 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 1369 20261016150335\",\"leadId\":\"50815643\",\"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-17 17:07:00\",\"\\u0414\\u0430\\u0442\\u0430 \\u0432\\u0438\\u0437\\u0438\\u0442\\u0430\":\"17.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\":\"17.10.2027\",\"\\u041c\\u043e\\u0434\\u0435\\u043b\\u044c \\u043e\\u0431\\u043e\\u0440\\u0443\\u0434\\u043e\\u0432\\u0430\\u043d\\u0438\\u044f 1\":\"Haier Tundra on\\/off 12\",\"ID\":\"50815643\",\"\\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\":{\"\\u0414\\u0430\\u0442\\u0430 \\u0438 \\u0432\\u0440\\u0435\\u043c\\u044f \\u0432\\u0438\\u0437\\u0438\\u0442\\u0430\":\"2026-10-17 17:07:00\",\"\\u0414\\u0430\\u0442\\u0430 \\u0432\\u0438\\u0437\\u0438\\u0442\\u0430\":\"17.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\":\"17.10.2027\",\"\\u041c\\u043e\\u0434\\u0435\\u043b\\u044c \\u043e\\u0431\\u043e\\u0440\\u0443\\u0434\\u043e\\u0432\\u0430\\u043d\\u0438\\u044f 1\":\"Haier Tundra on\\/off 12\",\"ID\":\"50815643\",\"\\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\":\"991901404801\",\"\\u0410\\u0434\\u0440\\u0435\\u0441\":\"str Belgrad 19\\/1 ap.102\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"37368499692\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Vladimir Dimitrov\",\"Contact_name\":\"Vladimir Dimitrov\",\"\\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\":\"991901404801\",\"\\u0410\\u0434\\u0440\\u0435\\u0441\":\"str Belgrad 19\\/1 ap.102\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"37368499692\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Vladimir Dimitrov\",\"Contact_name\":\"Vladimir Dimitrov\",\"\\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\":\"991901404801\",\"\\u0410\\u0434\\u0440\\u0435\\u0441\":\"str Belgrad 19\\/1 ap.102\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"37368499692\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Vladimir Dimitrov\",\"\\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\":\"16.10.2026\",\"\\u041d\\u043e\\u043c\\u0435\\u0440\":\"1369\"},\"document\":{\"Date\":\"16.10.2026\",\"Number\":\"1369\"}}}","edit":true}} {"uid":"2a1f633"}
[2026-10-16 15:03:41] docflow.DEBUG: GAS raw response {"raw":"[object] (stdClass: {\"code\":1,\"url\":\"https://docs.google.com/open?id=174HxsTfPi_Z1coTsRDUqTwS6xbo5SjGI5yUsiqMfVPA\",\"file_id\":\"174HxsTfPi_Z1coTsRDUqTwS6xbo5SjGI5yUsiqMfVPA\",\"error\":\"\",\"vars\":\"\"})"} {"uid":"2a1f633"}
[2026-10-16 15:03:41] docflow.WARNING: AmoDrive generated-file move is not ready. {"fileId":"174HxsTfPi_Z1coTsRDUqTwS6xbo5SjGI5yUsiqMfVPA","context":null} {"uid":"2a1f633"}
[2026-10-16 15:15:35] docflow.INFO: Apel createDoc {"data":{"amoAccountId":"22699852","amoUserId":null,"amoEntityId":"42462912","amoEntityType":"2","templateId":"11504","corporateEntityId":"","settlementAccountId":"","is_signed":null,"gdi":null,"number":null,"currentAmoUserId":null,"lang":"ru"}} {"uid":"1a0515b"}
[2026-10-16 15:15:36] docflow.INFO: Token is valid for account 22699852. [] {"uid":"1a0515b"}
[2026-10-16 15:15:36] docflow.DEBUG: getClientAuth returned {"auth":"[object] (stdClass: {\"domain\":\"emigrare.amocrm.ru\",\"access_token\":\"eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImp0aSI6ImFiZmZkMzBkYzk5MWY5ZmRjNTY2NzA2YjEyMGZiY2RkZTJlNDIxNmRjNDZjMDAwMThhNzFhMGZkODAwNWRkYmIwNDkxMGIxMGVkMjc2ZWIzIn0.eyJhdWQiOiIwZDY0ZGZmYi1lNTRiLTQ0OGYtOWZiZi1iYWYyMjUxYTExZGIiLCJqdGkiOiJhYmZmZDMwZGM5OTFmOWZkYzU2NjcwNmIxMjBmYmNkZGUyZTQyMTZkYzQ2YzAwMDE4YTcxYTBmZDgwMDVkZGJiMDQ5MTBiMTBlZDI3NmViMyIsImlhdCI6MTc5MjE1MTA1MiwibmJmIjoxNzkyMTUxMDUyLCJleHAiOjE3OTIyMzc0NTIsInN1YiI6IjI5MzAzODAiLCJncmFudF90eXBlIjoiIiwiYWNjb3VudF9pZCI6MjI2OTk4NTIsImJhc2VfZG9tYWluIjoiYW1vY3JtLnJ1IiwidmVyc2lvbiI6Miwic2NvcGVzIjpbInB1c2hfbm90aWZpY2F0aW9ucyIsImNybSIsIm5vdGlmaWNhdGlvbnMiXSwiaGFzaF91dWlkIjoiZWFjYjdhMWYtZDg1ZS00OTU0LThjNDEtMDMwZWRmNzJhMTVkIiwiYXBpX2RvbWFpbiI6ImFwaS1hLmFtb2NybS5ydSJ9.iNKoniLvooi4e-IcUzdQwUQjDWdEHDqC5mw0WfmgyQOMJwYyT-Ppk5tCYAeSQCvZfcNQMj9zVsQ7ekcKhRmHYHoOIMhLdJoC3XdHJe9lfa_Ebm8Zun1J8sqMAiQ3z_C5t6HieghXYcJ50Hf8v4MjvK-rIy5HBYJcdH3fCZfhdrzfBJ0M3Wsiof1SbtilvAHsceq7TgmvgfWEAyITH_PXYDBPGTXCPBHXBCUhnLVL6iXopXYPuHF8e9w14TW9CsPR3wMYq45UVC9_IgMoeF9A13pmWNiIgTo1ZREQm7A53_JWaHavf75WK3D_vzUD3xfnMJvDY7o2ImdI5XSTZW6WFA\"})","file":"/home/ytvmclwh/document.amocrm.md/src/Models/Docs.php","line":121} {"uid":"1a0515b"}
[2026-10-16 15:15:39] docflow.DEBUG: AmoDrive docflow context request {"url":"https://google.emale.uno/api/docflow/google-context","query":{"account_id":"22699852","entity_id":"42462912","entity_type":"leads"}} {"uid":"1a0515b"}
[2026-10-16 15:15: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=22699852&amp;entity_id=42462912&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/16 15:15:39</td>\r\n</tr>\r\n</table>\r\n<hr><center>tengine</center>\r\n</body>\r\n</html>\r\n"} {"uid":"1a0515b"}
[2026-10-16 15:15:39] docflow.DEBUG: AmoDrive docflow context request {"url":"https://gd.glucose-dev.online/api/docflow/google-context","query":{"account_id":"22699852","entity_id":"42462912","entity_type":"leads"}} {"uid":"1a0515b"}
[2026-10-16 15:15: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":22699852,"entityId":"42462912","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":308,"isLifetime":false},"licenseActive":false,"googleConnected":false,"googleEmail":null,"googleHasDriveScope":false,"googleHasDriveFileScope":false,"googleHasOwnershipScope":false,"readyForGeneratedFileMove":false,"readyForTransfer":false},"folder":{"id":"1M8X5o2sPuzPYyj8TCgEbNMOkSvWdi2x0","name":"42462912 - Lead #42462912","webViewLink":"https://drive.google.com/drive/folders/1M8X5o2sPuzPYyj8TCgEbNMOkSvWdi2x0"}}} {"uid":"1a0515b"}
[2026-10-16 15:15:39] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://google.emale.uno/api/docflow/prepare-generated-doc","payload":{"account_id":"22699852","entity_id":"42462912","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"1a0515b"}
[2026-10-16 15:15: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/16 15:15: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":"42462912","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"1a0515b"}
[2026-10-16 15:15: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":"42462912","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"1a0515b"}
[2026-10-16 15:15: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":"42462912","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"1a0515b"}
[2026-10-16 15:15:39] 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) 101 20261016151539\",\"leadId\":\"42462912\",\"entities\":{\"\\u0441\\u0434\\u0435\\u043b\\u043a\\u0430\":{\"Suma \\u20ac\":\"0\",\"Manager front office\":\"Capanji Igor\",\"Nota SQL\":\"1\",\"#Manager Front\":\"Capanji Igor\",\"Serviciu solicitat\":\"1520102\",\"Loca\\u021bia Curent\\u0103\":\"Federa\\u021bia Rus\\u0103\",\"Canal de comunicare\":\"Whatsapp\",\"Tip proces\":\"Scurt\",\"ID\":\"42462912\",\"\\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\":\"Capanji Igor\",\"Nota SQL\":\"1\",\"#Manager Front\":\"Capanji Igor\",\"Serviciu solicitat\":\"1520102\",\"Loca\\u021bia Curent\\u0103\":\"Federa\\u021bia Rus\\u0103\",\"Canal de comunicare\":\"Whatsapp\",\"Tip proces\":\"Scurt\",\"ID\":\"42462912\",\"\\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\":{\"WhatsappLid_WZ\":\"167881765572635\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"+79315382348\",\"Email\":\"donets.mikhail@yandex.ru\",\"Limba vorbita\":\"Rusa\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Mikhail Donets\",\"Contact_name\":\"Mikhail Donets\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"Capanji Igor\",\"Responsible\":\"Capanji Igor\"},\"contact\":{\"WhatsappLid_WZ\":\"167881765572635\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"+79315382348\",\"Email\":\"donets.mikhail@yandex.ru\",\"Limba vorbita\":\"Rusa\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Mikhail Donets\",\"Contact_name\":\"Mikhail Donets\",\"\\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\\u044b\":[{\"WhatsappLid_WZ\":\"167881765572635\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"+79315382348\",\"Email\":\"donets.mikhail@yandex.ru\",\"Limba vorbita\":\"Rusa\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Mikhail Donets\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"Capanji Igor\"}],\"\\u0434\\u043e\\u043a\\u0443\\u043c\\u0435\\u043d\\u0442\":{\"\\u0414\\u0430\\u0442\\u0430\":\"16.10.2026\",\"\\u041d\\u043e\\u043c\\u0435\\u0440\":\"101\"},\"document\":{\"Date\":\"16.10.2026\",\"Number\":\"101\"}}}","edit":true}} {"uid":"1a0515b"}
[2026-10-16 15:16:10] docflow.ERROR: GAS request failed: 28 - Timeout was reached: Operation timed out after 23051 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":"1a0515b"}
[2026-10-16 15:16:26] docflow.INFO: Apel createDoc {"data":{"amoAccountId":"22699852","amoUserId":null,"amoEntityId":"42462912","amoEntityType":"2","templateId":"11504","corporateEntityId":"","settlementAccountId":"","is_signed":null,"gdi":null,"number":null,"currentAmoUserId":null,"lang":"ru"}} {"uid":"2dad8b3"}
[2026-10-16 15:16:26] docflow.INFO: Token is valid for account 22699852. [] {"uid":"2dad8b3"}
[2026-10-16 15:16:26] docflow.DEBUG: getClientAuth returned {"auth":"[object] (stdClass: {\"domain\":\"emigrare.amocrm.ru\",\"access_token\":\"eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImp0aSI6ImFiZmZkMzBkYzk5MWY5ZmRjNTY2NzA2YjEyMGZiY2RkZTJlNDIxNmRjNDZjMDAwMThhNzFhMGZkODAwNWRkYmIwNDkxMGIxMGVkMjc2ZWIzIn0.eyJhdWQiOiIwZDY0ZGZmYi1lNTRiLTQ0OGYtOWZiZi1iYWYyMjUxYTExZGIiLCJqdGkiOiJhYmZmZDMwZGM5OTFmOWZkYzU2NjcwNmIxMjBmYmNkZGUyZTQyMTZkYzQ2YzAwMDE4YTcxYTBmZDgwMDVkZGJiMDQ5MTBiMTBlZDI3NmViMyIsImlhdCI6MTc5MjE1MTA1MiwibmJmIjoxNzkyMTUxMDUyLCJleHAiOjE3OTIyMzc0NTIsInN1YiI6IjI5MzAzODAiLCJncmFudF90eXBlIjoiIiwiYWNjb3VudF9pZCI6MjI2OTk4NTIsImJhc2VfZG9tYWluIjoiYW1vY3JtLnJ1IiwidmVyc2lvbiI6Miwic2NvcGVzIjpbInB1c2hfbm90aWZpY2F0aW9ucyIsImNybSIsIm5vdGlmaWNhdGlvbnMiXSwiaGFzaF91dWlkIjoiZWFjYjdhMWYtZDg1ZS00OTU0LThjNDEtMDMwZWRmNzJhMTVkIiwiYXBpX2RvbWFpbiI6ImFwaS1hLmFtb2NybS5ydSJ9.iNKoniLvooi4e-IcUzdQwUQjDWdEHDqC5mw0WfmgyQOMJwYyT-Ppk5tCYAeSQCvZfcNQMj9zVsQ7ekcKhRmHYHoOIMhLdJoC3XdHJe9lfa_Ebm8Zun1J8sqMAiQ3z_C5t6HieghXYcJ50Hf8v4MjvK-rIy5HBYJcdH3fCZfhdrzfBJ0M3Wsiof1SbtilvAHsceq7TgmvgfWEAyITH_PXYDBPGTXCPBHXBCUhnLVL6iXopXYPuHF8e9w14TW9CsPR3wMYq45UVC9_IgMoeF9A13pmWNiIgTo1ZREQm7A53_JWaHavf75WK3D_vzUD3xfnMJvDY7o2ImdI5XSTZW6WFA\"})","file":"/home/ytvmclwh/document.amocrm.md/src/Models/Docs.php","line":121} {"uid":"2dad8b3"}
[2026-10-16 15:16:28] docflow.DEBUG: AmoDrive docflow context request {"url":"https://google.emale.uno/api/docflow/google-context","query":{"account_id":"22699852","entity_id":"42462912","entity_type":"leads"}} {"uid":"2dad8b3"}
[2026-10-16 15:16:28] 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=42462912&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/16 15:16:28</td>\r\n</tr>\r\n</table>\r\n<hr><center>tengine</center>\r\n</body>\r\n</html>\r\n"} {"uid":"2dad8b3"}
[2026-10-16 15:16:28] docflow.DEBUG: AmoDrive docflow context request {"url":"https://gd.glucose-dev.online/api/docflow/google-context","query":{"account_id":"22699852","entity_id":"42462912","entity_type":"leads"}} {"uid":"2dad8b3"}
[2026-10-16 15:16:28] 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":"42462912","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":308,"isLifetime":false},"licenseActive":false,"googleConnected":false,"googleEmail":null,"googleHasDriveScope":false,"googleHasDriveFileScope":false,"googleHasOwnershipScope":false,"readyForGeneratedFileMove":false,"readyForTransfer":false},"folder":{"id":"1M8X5o2sPuzPYyj8TCgEbNMOkSvWdi2x0","name":"42462912 - Lead #42462912","webViewLink":"https://drive.google.com/drive/folders/1M8X5o2sPuzPYyj8TCgEbNMOkSvWdi2x0"}}} {"uid":"2dad8b3"}
[2026-10-16 15:16:28] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://google.emale.uno/api/docflow/prepare-generated-doc","payload":{"account_id":"22699852","entity_id":"42462912","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"2dad8b3"}
[2026-10-16 15:16:28] 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/16 15:16:28</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":"42462912","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"2dad8b3"}
[2026-10-16 15:16:28] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://gd.glucose-dev.online/api/docflow/prepare-generated-doc","payload":{"account_id":"22699852","entity_id":"42462912","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"2dad8b3"}
[2026-10-16 15:16:28] 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":"42462912","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"2dad8b3"}
[2026-10-16 15:16:28] 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) 101 20261016151628\",\"leadId\":\"42462912\",\"entities\":{\"\\u0441\\u0434\\u0435\\u043b\\u043a\\u0430\":{\"Suma \\u20ac\":\"0\",\"Manager front office\":\"Capanji Igor\",\"Nota SQL\":\"1\",\"#Manager Front\":\"Capanji Igor\",\"Serviciu solicitat\":\"1520102\",\"Loca\\u021bia Curent\\u0103\":\"Federa\\u021bia Rus\\u0103\",\"Canal de comunicare\":\"Whatsapp\",\"Tip proces\":\"Scurt\",\"ID\":\"42462912\",\"\\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\":\"Capanji Igor\",\"Nota SQL\":\"1\",\"#Manager Front\":\"Capanji Igor\",\"Serviciu solicitat\":\"1520102\",\"Loca\\u021bia Curent\\u0103\":\"Federa\\u021bia Rus\\u0103\",\"Canal de comunicare\":\"Whatsapp\",\"Tip proces\":\"Scurt\",\"ID\":\"42462912\",\"\\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\":{\"WhatsappLid_WZ\":\"167881765572635\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"+79315382348\",\"Email\":\"donets.mikhail@yandex.ru\",\"Limba vorbita\":\"Rusa\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Mikhail Donets\",\"Contact_name\":\"Mikhail Donets\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"Capanji Igor\",\"Responsible\":\"Capanji Igor\"},\"contact\":{\"WhatsappLid_WZ\":\"167881765572635\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"+79315382348\",\"Email\":\"donets.mikhail@yandex.ru\",\"Limba vorbita\":\"Rusa\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Mikhail Donets\",\"Contact_name\":\"Mikhail Donets\",\"\\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\\u044b\":[{\"WhatsappLid_WZ\":\"167881765572635\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"+79315382348\",\"Email\":\"donets.mikhail@yandex.ru\",\"Limba vorbita\":\"Rusa\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Mikhail Donets\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"Capanji Igor\"}],\"\\u0434\\u043e\\u043a\\u0443\\u043c\\u0435\\u043d\\u0442\":{\"\\u0414\\u0430\\u0442\\u0430\":\"16.10.2026\",\"\\u041d\\u043e\\u043c\\u0435\\u0440\":\"101\"},\"document\":{\"Date\":\"16.10.2026\",\"Number\":\"101\"}}}","edit":true}} {"uid":"2dad8b3"}
[2026-10-16 15:16:34] docflow.DEBUG: GAS raw response {"raw":"[object] (stdClass: {\"code\":1,\"url\":\"https://docs.google.com/open?id=1sCO6XKwJAf9Da8rnXSgxfygIUhwdjoe3xnoXpJNTIbI\",\"file_id\":\"1sCO6XKwJAf9Da8rnXSgxfygIUhwdjoe3xnoXpJNTIbI\",\"error\":\"\",\"vars\":\"\"})"} {"uid":"2dad8b3"}
[2026-10-16 15:16:34] docflow.WARNING: AmoDrive generated-file move is not ready. {"fileId":"1sCO6XKwJAf9Da8rnXSgxfygIUhwdjoe3xnoXpJNTIbI","context":null} {"uid":"2dad8b3"}
[2026-10-16 15:18:31] docflow.INFO: Apel createDoc {"data":{"amoAccountId":"32990686","amoUserId":null,"amoEntityId":"50519441","amoEntityType":"2","templateId":"11625","corporateEntityId":"","settlementAccountId":"","is_signed":null,"gdi":null,"number":null,"currentAmoUserId":null,"lang":"ru"}} {"uid":"0dd9769"}
[2026-10-16 15:18:31] docflow.INFO: Token is valid for account 32990686. [] {"uid":"0dd9769"}
[2026-10-16 15:18:31] docflow.DEBUG: getClientAuth returned {"auth":"[object] (stdClass: {\"domain\":\"eurosanteh.amocrm.ru\",\"access_token\":\"eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImp0aSI6Ijc1YmU1MzQ3NDI3MTIyNTc0YzhjOWNiMDRhMDI2OTc5OGNhMTI2NDRkMGI2NWJlNmYzNWI4NTY3ZjdmZDk1OTRmODVlOTU3ZWNiMmQ2YTg1In0.eyJhdWQiOiIwZDY0ZGZmYi1lNTRiLTQ0OGYtOWZiZi1iYWYyMjUxYTExZGIiLCJqdGkiOiI3NWJlNTM0NzQyNzEyMjU3NGM4YzljYjA0YTAyNjk3OThjYTEyNjQ0ZDBiNjViZTZmMzViODU2N2Y3ZmQ5NTk0Zjg1ZTk1N2VjYjJkNmE4NSIsImlhdCI6MTc5MjA2OTYwOSwibmJmIjoxNzkyMDY5NjA5LCJleHAiOjE3OTIxNTYwMDksInN1YiI6IjEzNjg3MzAyIiwiZ3JhbnRfdHlwZSI6IiIsImFjY291bnRfaWQiOjMyOTkwNjg2LCJiYXNlX2RvbWFpbiI6ImFtb2NybS5ydSIsInZlcnNpb24iOjIsInNjb3BlcyI6WyJwdXNoX25vdGlmaWNhdGlvbnMiLCJjcm0iLCJub3RpZmljYXRpb25zIl0sImhhc2hfdXVpZCI6IjZmODlkMzc2LWRmNjAtNDhjZC05MGU4LTIzOTY1Mjk0NTY2ZiIsImFwaV9kb21haW4iOiJhcGktYi5hbW9jcm0ucnUifQ.rGt0T1fD4kyX0AbViKkyacRTGC_BNg-4LXO675cPDyDCzTPwF04flG-A0JuGNAufWZwAYdD6XTwpx-BPZ2WqnaVZ7NOZE-9RUlIppDKJt-Gn5eNAUIzK3Kjlv6_E2HFgQWW_PjnvaHqzeW1viENb4t3KsqHT35Aiuh8I0YgrgG5GW76QETuhtFU3VNlF1otA14YGZyjtVligXcA2CwEYUmCi8ow33B64-0ltQ9dAbMGxxy0pJxhcMpR8eorDIMWt1D0BejiitE7YRnYeWkyWSTbGWtW3tTKhD95s4LzYqEZsK0U-9KfsTLos32uGIQwmdEIbN7COQmEdMW24pQe8Cw\"})","file":"/home/ytvmclwh/document.amocrm.md/src/Models/Docs.php","line":121} {"uid":"0dd9769"}
[2026-10-16 15:18:34] docflow.DEBUG: AmoDrive docflow context request {"url":"https://google.emale.uno/api/docflow/google-context","query":{"account_id":"32990686","entity_id":"50519441","entity_type":"leads"}} {"uid":"0dd9769"}
[2026-10-16 15:18: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=50519441&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/16 15:18:34</td>\r\n</tr>\r\n</table>\r\n<hr><center>tengine</center>\r\n</body>\r\n</html>\r\n"} {"uid":"0dd9769"}
[2026-10-16 15:18:34] docflow.DEBUG: AmoDrive docflow context request {"url":"https://gd.glucose-dev.online/api/docflow/google-context","query":{"account_id":"32990686","entity_id":"50519441","entity_type":"leads"}} {"uid":"0dd9769"}
[2026-10-16 15:18: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":"50519441","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":"0dd9769"}
[2026-10-16 15:18:34] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://google.emale.uno/api/docflow/prepare-generated-doc","payload":{"account_id":"32990686","entity_id":"50519441","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"0dd9769"}
[2026-10-16 15:18: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/16 15:18: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":"50519441","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"0dd9769"}
[2026-10-16 15:18: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":"50519441","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"0dd9769"}
[2026-10-16 15:18: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":"50519441","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"0dd9769"}
[2026-10-16 15:18: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 1370 20261016151834\",\"leadId\":\"50519441\",\"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-17 13:18:00\",\"\\u0414\\u0430\\u0442\\u0430 \\u0432\\u0438\\u0437\\u0438\\u0442\\u0430\":\"17.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 Revive 35\",\"\\u0421\\u043b\\u0435\\u0434\\u0443\\u044e\\u0449\\u0430\\u044f \\u0434\\u0430\\u0442\\u0430 \\u0441\\u0435\\u0440\\u0432\\u0438\\u0441\\u0430\":\"05.10.2027\",\"\\u0418\\u0441\\u043f\\u043e\\u043b\\u043d\\u0438\\u0442\\u0435\\u043b\\u044c\":\"Alexei S\\u00eella\",\"\\u0421\\u0442\\u0430\\u0442\\u0443\\u0441 \\u0432\\u044b\\u0435\\u0437\\u0434\\u0430\":\"\\u0412\\u044b\\u0435\\u0437\\u0434 \\u043f\\u0435\\u0440\\u0435\\u043d\\u0435\\u0441\\u0435\\u043d\",\"ID\":\"50519441\",\"\\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\":{\"\\u0414\\u0430\\u0442\\u0430 \\u0438 \\u0432\\u0440\\u0435\\u043c\\u044f \\u0432\\u0438\\u0437\\u0438\\u0442\\u0430\":\"2026-10-17 13:18:00\",\"\\u0414\\u0430\\u0442\\u0430 \\u0432\\u0438\\u0437\\u0438\\u0442\\u0430\":\"17.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 Revive 35\",\"\\u0421\\u043b\\u0435\\u0434\\u0443\\u044e\\u0449\\u0430\\u044f \\u0434\\u0430\\u0442\\u0430 \\u0441\\u0435\\u0440\\u0432\\u0438\\u0441\\u0430\":\"05.10.2027\",\"\\u0418\\u0441\\u043f\\u043e\\u043b\\u043d\\u0438\\u0442\\u0435\\u043b\\u044c\":\"Alexei S\\u00eella\",\"\\u0421\\u0442\\u0430\\u0442\\u0443\\u0441 \\u0432\\u044b\\u0435\\u0437\\u0434\\u0430\":\"\\u0412\\u044b\\u0435\\u0437\\u0434 \\u043f\\u0435\\u0440\\u0435\\u043d\\u0435\\u0441\\u0435\\u043d\",\"ID\":\"50519441\",\"\\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\":\"982301421604\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"37369349631\",\"\\u0410\\u0434\\u0440\\u0435\\u0441\":\"str Invierii 7\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Ruslan Smirnov\",\"Contact_name\":\"Ruslan Smirnov\",\"\\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\":\"982301421604\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"37369349631\",\"\\u0410\\u0434\\u0440\\u0435\\u0441\":\"str Invierii 7\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Ruslan Smirnov\",\"Contact_name\":\"Ruslan Smirnov\",\"\\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\":\"982301421604\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"37369349631\",\"\\u0410\\u0434\\u0440\\u0435\\u0441\":\"str Invierii 7\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Ruslan Smirnov\",\"\\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\":\"16.10.2026\",\"\\u041d\\u043e\\u043c\\u0435\\u0440\":\"1370\"},\"document\":{\"Date\":\"16.10.2026\",\"Number\":\"1370\"}}}","edit":true}} {"uid":"0dd9769"}
[2026-10-16 15:18:56] docflow.ERROR: GAS request failed: 404 - HTTP/2 404  {"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":"0dd9769"}
[2026-10-16 15:19:01] docflow.INFO: Apel createDoc {"data":{"amoAccountId":"32990686","amoUserId":null,"amoEntityId":"50519441","amoEntityType":"2","templateId":"11646","corporateEntityId":"","settlementAccountId":"","is_signed":null,"gdi":null,"number":null,"currentAmoUserId":null,"lang":"ru"}} {"uid":"c9f78a9"}
[2026-10-16 15:19:02] docflow.INFO: Token is valid for account 32990686. [] {"uid":"c9f78a9"}
[2026-10-16 15:19:02] docflow.DEBUG: getClientAuth returned {"auth":"[object] (stdClass: {\"domain\":\"eurosanteh.amocrm.ru\",\"access_token\":\"eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImp0aSI6Ijc1YmU1MzQ3NDI3MTIyNTc0YzhjOWNiMDRhMDI2OTc5OGNhMTI2NDRkMGI2NWJlNmYzNWI4NTY3ZjdmZDk1OTRmODVlOTU3ZWNiMmQ2YTg1In0.eyJhdWQiOiIwZDY0ZGZmYi1lNTRiLTQ0OGYtOWZiZi1iYWYyMjUxYTExZGIiLCJqdGkiOiI3NWJlNTM0NzQyNzEyMjU3NGM4YzljYjA0YTAyNjk3OThjYTEyNjQ0ZDBiNjViZTZmMzViODU2N2Y3ZmQ5NTk0Zjg1ZTk1N2VjYjJkNmE4NSIsImlhdCI6MTc5MjA2OTYwOSwibmJmIjoxNzkyMDY5NjA5LCJleHAiOjE3OTIxNTYwMDksInN1YiI6IjEzNjg3MzAyIiwiZ3JhbnRfdHlwZSI6IiIsImFjY291bnRfaWQiOjMyOTkwNjg2LCJiYXNlX2RvbWFpbiI6ImFtb2NybS5ydSIsInZlcnNpb24iOjIsInNjb3BlcyI6WyJwdXNoX25vdGlmaWNhdGlvbnMiLCJjcm0iLCJub3RpZmljYXRpb25zIl0sImhhc2hfdXVpZCI6IjZmODlkMzc2LWRmNjAtNDhjZC05MGU4LTIzOTY1Mjk0NTY2ZiIsImFwaV9kb21haW4iOiJhcGktYi5hbW9jcm0ucnUifQ.rGt0T1fD4kyX0AbViKkyacRTGC_BNg-4LXO675cPDyDCzTPwF04flG-A0JuGNAufWZwAYdD6XTwpx-BPZ2WqnaVZ7NOZE-9RUlIppDKJt-Gn5eNAUIzK3Kjlv6_E2HFgQWW_PjnvaHqzeW1viENb4t3KsqHT35Aiuh8I0YgrgG5GW76QETuhtFU3VNlF1otA14YGZyjtVligXcA2CwEYUmCi8ow33B64-0ltQ9dAbMGxxy0pJxhcMpR8eorDIMWt1D0BejiitE7YRnYeWkyWSTbGWtW3tTKhD95s4LzYqEZsK0U-9KfsTLos32uGIQwmdEIbN7COQmEdMW24pQe8Cw\"})","file":"/home/ytvmclwh/document.amocrm.md/src/Models/Docs.php","line":121} {"uid":"c9f78a9"}
[2026-10-16 15:19:06] docflow.DEBUG: AmoDrive docflow context request {"url":"https://google.emale.uno/api/docflow/google-context","query":{"account_id":"32990686","entity_id":"50519441","entity_type":"leads"}} {"uid":"c9f78a9"}
[2026-10-16 15:19:06] 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=50519441&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/16 15:19:06</td>\r\n</tr>\r\n</table>\r\n<hr><center>tengine</center>\r\n</body>\r\n</html>\r\n"} {"uid":"c9f78a9"}
[2026-10-16 15:19:06] docflow.DEBUG: AmoDrive docflow context request {"url":"https://gd.glucose-dev.online/api/docflow/google-context","query":{"account_id":"32990686","entity_id":"50519441","entity_type":"leads"}} {"uid":"c9f78a9"}
[2026-10-16 15:19:06] 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":"50519441","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":"c9f78a9"}
[2026-10-16 15:19:06] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://google.emale.uno/api/docflow/prepare-generated-doc","payload":{"account_id":"32990686","entity_id":"50519441","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"c9f78a9"}
[2026-10-16 15:19:06] 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/16 15:19:06</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":"50519441","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"c9f78a9"}
[2026-10-16 15:19:06] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://gd.glucose-dev.online/api/docflow/prepare-generated-doc","payload":{"account_id":"32990686","entity_id":"50519441","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"c9f78a9"}
[2026-10-16 15:19:06] 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":"50519441","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"c9f78a9"}
[2026-10-16 15:19:06] 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 1370 20261016151906\",\"leadId\":\"50519441\",\"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-17 13:18:00\",\"\\u0414\\u0430\\u0442\\u0430 \\u0432\\u0438\\u0437\\u0438\\u0442\\u0430\":\"17.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 Revive 35\",\"\\u0421\\u043b\\u0435\\u0434\\u0443\\u044e\\u0449\\u0430\\u044f \\u0434\\u0430\\u0442\\u0430 \\u0441\\u0435\\u0440\\u0432\\u0438\\u0441\\u0430\":\"05.10.2027\",\"\\u0418\\u0441\\u043f\\u043e\\u043b\\u043d\\u0438\\u0442\\u0435\\u043b\\u044c\":\"Alexei S\\u00eella\",\"\\u0421\\u0442\\u0430\\u0442\\u0443\\u0441 \\u0432\\u044b\\u0435\\u0437\\u0434\\u0430\":\"\\u0412\\u044b\\u0435\\u0437\\u0434 \\u043f\\u0435\\u0440\\u0435\\u043d\\u0435\\u0441\\u0435\\u043d\",\"ID\":\"50519441\",\"\\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\":{\"\\u0414\\u0430\\u0442\\u0430 \\u0438 \\u0432\\u0440\\u0435\\u043c\\u044f \\u0432\\u0438\\u0437\\u0438\\u0442\\u0430\":\"2026-10-17 13:18:00\",\"\\u0414\\u0430\\u0442\\u0430 \\u0432\\u0438\\u0437\\u0438\\u0442\\u0430\":\"17.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 Revive 35\",\"\\u0421\\u043b\\u0435\\u0434\\u0443\\u044e\\u0449\\u0430\\u044f \\u0434\\u0430\\u0442\\u0430 \\u0441\\u0435\\u0440\\u0432\\u0438\\u0441\\u0430\":\"05.10.2027\",\"\\u0418\\u0441\\u043f\\u043e\\u043b\\u043d\\u0438\\u0442\\u0435\\u043b\\u044c\":\"Alexei S\\u00eella\",\"\\u0421\\u0442\\u0430\\u0442\\u0443\\u0441 \\u0432\\u044b\\u0435\\u0437\\u0434\\u0430\":\"\\u0412\\u044b\\u0435\\u0437\\u0434 \\u043f\\u0435\\u0440\\u0435\\u043d\\u0435\\u0441\\u0435\\u043d\",\"ID\":\"50519441\",\"\\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\":\"982301421604\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"37369349631\",\"\\u0410\\u0434\\u0440\\u0435\\u0441\":\"str Invierii 7\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Ruslan Smirnov\",\"Contact_name\":\"Ruslan Smirnov\",\"\\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\":\"982301421604\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"37369349631\",\"\\u0410\\u0434\\u0440\\u0435\\u0441\":\"str Invierii 7\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Ruslan Smirnov\",\"Contact_name\":\"Ruslan Smirnov\",\"\\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\":\"982301421604\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"37369349631\",\"\\u0410\\u0434\\u0440\\u0435\\u0441\":\"str Invierii 7\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Ruslan Smirnov\",\"\\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\":\"16.10.2026\",\"\\u041d\\u043e\\u043c\\u0435\\u0440\":\"1370\"},\"document\":{\"Date\":\"16.10.2026\",\"Number\":\"1370\"}}}","edit":true}} {"uid":"c9f78a9"}
[2026-10-16 15:19:20] docflow.DEBUG: GAS raw response {"raw":"[object] (stdClass: {\"code\":1,\"url\":\"https://docs.google.com/open?id=1d_aQ2D3NiKc1sIpblNj-OiSvFzF_fFz0y9f0trQLmKQ\",\"file_id\":\"1d_aQ2D3NiKc1sIpblNj-OiSvFzF_fFz0y9f0trQLmKQ\",\"error\":\"\",\"vars\":\"\"})"} {"uid":"c9f78a9"}
[2026-10-16 15:19:20] docflow.WARNING: AmoDrive generated-file move is not ready. {"fileId":"1d_aQ2D3NiKc1sIpblNj-OiSvFzF_fFz0y9f0trQLmKQ","context":null} {"uid":"c9f78a9"}
[2026-10-16 15:19:25] docflow.INFO: Apel createDoc {"data":{"amoAccountId":"32990686","amoUserId":null,"amoEntityId":"50519441","amoEntityType":"2","templateId":"11625","corporateEntityId":"","settlementAccountId":"","is_signed":null,"gdi":null,"number":null,"currentAmoUserId":null,"lang":"ru"}} {"uid":"d570279"}
[2026-10-16 15:19:25] docflow.INFO: Token is valid for account 32990686. [] {"uid":"d570279"}
[2026-10-16 15:19:25] docflow.DEBUG: getClientAuth returned {"auth":"[object] (stdClass: {\"domain\":\"eurosanteh.amocrm.ru\",\"access_token\":\"eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImp0aSI6Ijc1YmU1MzQ3NDI3MTIyNTc0YzhjOWNiMDRhMDI2OTc5OGNhMTI2NDRkMGI2NWJlNmYzNWI4NTY3ZjdmZDk1OTRmODVlOTU3ZWNiMmQ2YTg1In0.eyJhdWQiOiIwZDY0ZGZmYi1lNTRiLTQ0OGYtOWZiZi1iYWYyMjUxYTExZGIiLCJqdGkiOiI3NWJlNTM0NzQyNzEyMjU3NGM4YzljYjA0YTAyNjk3OThjYTEyNjQ0ZDBiNjViZTZmMzViODU2N2Y3ZmQ5NTk0Zjg1ZTk1N2VjYjJkNmE4NSIsImlhdCI6MTc5MjA2OTYwOSwibmJmIjoxNzkyMDY5NjA5LCJleHAiOjE3OTIxNTYwMDksInN1YiI6IjEzNjg3MzAyIiwiZ3JhbnRfdHlwZSI6IiIsImFjY291bnRfaWQiOjMyOTkwNjg2LCJiYXNlX2RvbWFpbiI6ImFtb2NybS5ydSIsInZlcnNpb24iOjIsInNjb3BlcyI6WyJwdXNoX25vdGlmaWNhdGlvbnMiLCJjcm0iLCJub3RpZmljYXRpb25zIl0sImhhc2hfdXVpZCI6IjZmODlkMzc2LWRmNjAtNDhjZC05MGU4LTIzOTY1Mjk0NTY2ZiIsImFwaV9kb21haW4iOiJhcGktYi5hbW9jcm0ucnUifQ.rGt0T1fD4kyX0AbViKkyacRTGC_BNg-4LXO675cPDyDCzTPwF04flG-A0JuGNAufWZwAYdD6XTwpx-BPZ2WqnaVZ7NOZE-9RUlIppDKJt-Gn5eNAUIzK3Kjlv6_E2HFgQWW_PjnvaHqzeW1viENb4t3KsqHT35Aiuh8I0YgrgG5GW76QETuhtFU3VNlF1otA14YGZyjtVligXcA2CwEYUmCi8ow33B64-0ltQ9dAbMGxxy0pJxhcMpR8eorDIMWt1D0BejiitE7YRnYeWkyWSTbGWtW3tTKhD95s4LzYqEZsK0U-9KfsTLos32uGIQwmdEIbN7COQmEdMW24pQe8Cw\"})","file":"/home/ytvmclwh/document.amocrm.md/src/Models/Docs.php","line":121} {"uid":"d570279"}
[2026-10-16 15:19:27] docflow.DEBUG: AmoDrive docflow context request {"url":"https://google.emale.uno/api/docflow/google-context","query":{"account_id":"32990686","entity_id":"50519441","entity_type":"leads"}} {"uid":"d570279"}
[2026-10-16 15:19:28] 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=50519441&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/16 15:19:28</td>\r\n</tr>\r\n</table>\r\n<hr><center>tengine</center>\r\n</body>\r\n</html>\r\n"} {"uid":"d570279"}
[2026-10-16 15:19:28] docflow.DEBUG: AmoDrive docflow context request {"url":"https://gd.glucose-dev.online/api/docflow/google-context","query":{"account_id":"32990686","entity_id":"50519441","entity_type":"leads"}} {"uid":"d570279"}
[2026-10-16 15:19:28] 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":"50519441","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":"d570279"}
[2026-10-16 15:19:28] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://google.emale.uno/api/docflow/prepare-generated-doc","payload":{"account_id":"32990686","entity_id":"50519441","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"d570279"}
[2026-10-16 15:19:28] 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/16 15:19:28</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":"50519441","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"d570279"}
[2026-10-16 15:19:28] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://gd.glucose-dev.online/api/docflow/prepare-generated-doc","payload":{"account_id":"32990686","entity_id":"50519441","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"d570279"}
[2026-10-16 15:19:28] 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":"50519441","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"d570279"}
[2026-10-16 15:19:28] 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 1370 20261016151927\",\"leadId\":\"50519441\",\"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-17 13:18:00\",\"\\u0414\\u0430\\u0442\\u0430 \\u0432\\u0438\\u0437\\u0438\\u0442\\u0430\":\"17.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 Revive 35\",\"\\u0421\\u043b\\u0435\\u0434\\u0443\\u044e\\u0449\\u0430\\u044f \\u0434\\u0430\\u0442\\u0430 \\u0441\\u0435\\u0440\\u0432\\u0438\\u0441\\u0430\":\"05.10.2027\",\"\\u0418\\u0441\\u043f\\u043e\\u043b\\u043d\\u0438\\u0442\\u0435\\u043b\\u044c\":\"Alexei S\\u00eella\",\"\\u0421\\u0442\\u0430\\u0442\\u0443\\u0441 \\u0432\\u044b\\u0435\\u0437\\u0434\\u0430\":\"\\u0412\\u044b\\u0435\\u0437\\u0434 \\u043f\\u0435\\u0440\\u0435\\u043d\\u0435\\u0441\\u0435\\u043d\",\"ID\":\"50519441\",\"\\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\":{\"\\u0414\\u0430\\u0442\\u0430 \\u0438 \\u0432\\u0440\\u0435\\u043c\\u044f \\u0432\\u0438\\u0437\\u0438\\u0442\\u0430\":\"2026-10-17 13:18:00\",\"\\u0414\\u0430\\u0442\\u0430 \\u0432\\u0438\\u0437\\u0438\\u0442\\u0430\":\"17.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 Revive 35\",\"\\u0421\\u043b\\u0435\\u0434\\u0443\\u044e\\u0449\\u0430\\u044f \\u0434\\u0430\\u0442\\u0430 \\u0441\\u0435\\u0440\\u0432\\u0438\\u0441\\u0430\":\"05.10.2027\",\"\\u0418\\u0441\\u043f\\u043e\\u043b\\u043d\\u0438\\u0442\\u0435\\u043b\\u044c\":\"Alexei S\\u00eella\",\"\\u0421\\u0442\\u0430\\u0442\\u0443\\u0441 \\u0432\\u044b\\u0435\\u0437\\u0434\\u0430\":\"\\u0412\\u044b\\u0435\\u0437\\u0434 \\u043f\\u0435\\u0440\\u0435\\u043d\\u0435\\u0441\\u0435\\u043d\",\"ID\":\"50519441\",\"\\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\":\"982301421604\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"37369349631\",\"\\u0410\\u0434\\u0440\\u0435\\u0441\":\"str Invierii 7\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Ruslan Smirnov\",\"Contact_name\":\"Ruslan Smirnov\",\"\\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\":\"982301421604\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"37369349631\",\"\\u0410\\u0434\\u0440\\u0435\\u0441\":\"str Invierii 7\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Ruslan Smirnov\",\"Contact_name\":\"Ruslan Smirnov\",\"\\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\":\"982301421604\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"37369349631\",\"\\u0410\\u0434\\u0440\\u0435\\u0441\":\"str Invierii 7\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Ruslan Smirnov\",\"\\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\":\"16.10.2026\",\"\\u041d\\u043e\\u043c\\u0435\\u0440\":\"1370\"},\"document\":{\"Date\":\"16.10.2026\",\"Number\":\"1370\"}}}","edit":true}} {"uid":"d570279"}
[2026-10-16 15:19:58] docflow.ERROR: GAS request failed: 28 - Timeout was reached: Operation timed out after 9689 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":"d570279"}
[2026-10-16 15:20:15] docflow.INFO: Apel createDoc {"data":{"amoAccountId":"32990686","amoUserId":null,"amoEntityId":"50519441","amoEntityType":"2","templateId":"11625","corporateEntityId":"","settlementAccountId":"","is_signed":null,"gdi":null,"number":null,"currentAmoUserId":null,"lang":"ru"}} {"uid":"7fad3c4"}
[2026-10-16 15:20:16] docflow.INFO: Token is valid for account 32990686. [] {"uid":"7fad3c4"}
[2026-10-16 15:20:16] docflow.DEBUG: getClientAuth returned {"auth":"[object] (stdClass: {\"domain\":\"eurosanteh.amocrm.ru\",\"access_token\":\"eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImp0aSI6Ijc1YmU1MzQ3NDI3MTIyNTc0YzhjOWNiMDRhMDI2OTc5OGNhMTI2NDRkMGI2NWJlNmYzNWI4NTY3ZjdmZDk1OTRmODVlOTU3ZWNiMmQ2YTg1In0.eyJhdWQiOiIwZDY0ZGZmYi1lNTRiLTQ0OGYtOWZiZi1iYWYyMjUxYTExZGIiLCJqdGkiOiI3NWJlNTM0NzQyNzEyMjU3NGM4YzljYjA0YTAyNjk3OThjYTEyNjQ0ZDBiNjViZTZmMzViODU2N2Y3ZmQ5NTk0Zjg1ZTk1N2VjYjJkNmE4NSIsImlhdCI6MTc5MjA2OTYwOSwibmJmIjoxNzkyMDY5NjA5LCJleHAiOjE3OTIxNTYwMDksInN1YiI6IjEzNjg3MzAyIiwiZ3JhbnRfdHlwZSI6IiIsImFjY291bnRfaWQiOjMyOTkwNjg2LCJiYXNlX2RvbWFpbiI6ImFtb2NybS5ydSIsInZlcnNpb24iOjIsInNjb3BlcyI6WyJwdXNoX25vdGlmaWNhdGlvbnMiLCJjcm0iLCJub3RpZmljYXRpb25zIl0sImhhc2hfdXVpZCI6IjZmODlkMzc2LWRmNjAtNDhjZC05MGU4LTIzOTY1Mjk0NTY2ZiIsImFwaV9kb21haW4iOiJhcGktYi5hbW9jcm0ucnUifQ.rGt0T1fD4kyX0AbViKkyacRTGC_BNg-4LXO675cPDyDCzTPwF04flG-A0JuGNAufWZwAYdD6XTwpx-BPZ2WqnaVZ7NOZE-9RUlIppDKJt-Gn5eNAUIzK3Kjlv6_E2HFgQWW_PjnvaHqzeW1viENb4t3KsqHT35Aiuh8I0YgrgG5GW76QETuhtFU3VNlF1otA14YGZyjtVligXcA2CwEYUmCi8ow33B64-0ltQ9dAbMGxxy0pJxhcMpR8eorDIMWt1D0BejiitE7YRnYeWkyWSTbGWtW3tTKhD95s4LzYqEZsK0U-9KfsTLos32uGIQwmdEIbN7COQmEdMW24pQe8Cw\"})","file":"/home/ytvmclwh/document.amocrm.md/src/Models/Docs.php","line":121} {"uid":"7fad3c4"}
[2026-10-16 15:20:20] docflow.DEBUG: AmoDrive docflow context request {"url":"https://google.emale.uno/api/docflow/google-context","query":{"account_id":"32990686","entity_id":"50519441","entity_type":"leads"}} {"uid":"7fad3c4"}
[2026-10-16 15:20:20] docflow.WARNING: AmoDrive docflow context request failed {"url":"https://google.emale.uno/api/docflow/google-context","http_code":null,"error":"HTTP/2 400 ","response":"<!DOCTYPE HTML PUBLIC \"-//IETF//DTD HTML 2.0//EN\">\r\n<html>\r\n<head><title>400 Bad Request</title></head>\r\n<body>\r\n<center><h1>400 Bad Request</h1></center>\r\n Sorry for the inconvenience.<br/>\r\nPlease report this message and include the following information to us.<br/>\r\nThank you very much!</p>\r\n<table>\r\n<tr>\r\n<td>URL:</td>\r\n<td>https://gd.glucose-dev.online/api/docflow/google-context?account_id=32990686&amp;entity_id=50519441&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/16 15:20:20</td>\r\n</tr>\r\n</table>\r\n<hr><center>tengine</center>\r\n</body>\r\n</html>\r\n"} {"uid":"7fad3c4"}
[2026-10-16 15:20:20] docflow.DEBUG: AmoDrive docflow context request {"url":"https://gd.glucose-dev.online/api/docflow/google-context","query":{"account_id":"32990686","entity_id":"50519441","entity_type":"leads"}} {"uid":"7fad3c4"}
[2026-10-16 15:20:20] docflow.WARNING: AmoDrive docflow context response is not ready, trying next backend. {"url":"https://gd.glucose-dev.online/api/docflow/google-context","payload":{"ok":true,"accountId":32990686,"entityId":"50519441","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":"7fad3c4"}
[2026-10-16 15:20:20] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://google.emale.uno/api/docflow/prepare-generated-doc","payload":{"account_id":"32990686","entity_id":"50519441","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"7fad3c4"}
[2026-10-16 15:20:20] docflow.WARNING: AmoDrive prepare-generated-doc request failed {"url":"https://google.emale.uno/api/docflow/prepare-generated-doc","http_code":null,"error":"HTTP/2 400 ","response":"<!DOCTYPE HTML PUBLIC \"-//IETF//DTD HTML 2.0//EN\">\r\n<html>\r\n<head><title>400 Bad Request</title></head>\r\n<body>\r\n<center><h1>400 Bad Request</h1></center>\r\n Sorry for the inconvenience.<br/>\r\nPlease report this message and include the following information to us.<br/>\r\nThank you very much!</p>\r\n<table>\r\n<tr>\r\n<td>URL:</td>\r\n<td>https://gd.glucose-dev.online/api/docflow/prepare-generated-doc</td>\r\n</tr>\r\n<tr>\r\n<td>Server:</td>\r\n<td>mail.glucose-dev.online</td>\r\n</tr>\r\n<tr>\r\n<td>Date:</td>\r\n<td>2026/10/16 15:20:20</td>\r\n</tr>\r\n</table>\r\n<hr><center>tengine</center>\r\n</body>\r\n</html>\r\n","payload":{"account_id":"32990686","entity_id":"50519441","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"7fad3c4"}
[2026-10-16 15:20:20] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://gd.glucose-dev.online/api/docflow/prepare-generated-doc","payload":{"account_id":"32990686","entity_id":"50519441","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"7fad3c4"}
[2026-10-16 15:20:20] docflow.WARNING: AmoDrive prepare-generated-doc request failed {"url":"https://gd.glucose-dev.online/api/docflow/prepare-generated-doc","http_code":null,"error":"HTTP/2 404 ","response":"[object] (stdClass: {\"ok\":false,\"error\":\"AmoDrive is not installed for this account.\",\"accountId\":32990686})","payload":{"account_id":"32990686","entity_id":"50519441","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"7fad3c4"}
[2026-10-16 15:20:20] 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 1370 20261016152020\",\"leadId\":\"50519441\",\"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-17 13:18:00\",\"\\u0414\\u0430\\u0442\\u0430 \\u0432\\u0438\\u0437\\u0438\\u0442\\u0430\":\"17.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 Revive 35\",\"\\u0421\\u043b\\u0435\\u0434\\u0443\\u044e\\u0449\\u0430\\u044f \\u0434\\u0430\\u0442\\u0430 \\u0441\\u0435\\u0440\\u0432\\u0438\\u0441\\u0430\":\"05.10.2027\",\"\\u0418\\u0441\\u043f\\u043e\\u043b\\u043d\\u0438\\u0442\\u0435\\u043b\\u044c\":\"Alexei S\\u00eella\",\"\\u0421\\u0442\\u0430\\u0442\\u0443\\u0441 \\u0432\\u044b\\u0435\\u0437\\u0434\\u0430\":\"\\u0412\\u044b\\u0435\\u0437\\u0434 \\u043f\\u0435\\u0440\\u0435\\u043d\\u0435\\u0441\\u0435\\u043d\",\"ID\":\"50519441\",\"\\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\":{\"\\u0414\\u0430\\u0442\\u0430 \\u0438 \\u0432\\u0440\\u0435\\u043c\\u044f \\u0432\\u0438\\u0437\\u0438\\u0442\\u0430\":\"2026-10-17 13:18:00\",\"\\u0414\\u0430\\u0442\\u0430 \\u0432\\u0438\\u0437\\u0438\\u0442\\u0430\":\"17.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 Revive 35\",\"\\u0421\\u043b\\u0435\\u0434\\u0443\\u044e\\u0449\\u0430\\u044f \\u0434\\u0430\\u0442\\u0430 \\u0441\\u0435\\u0440\\u0432\\u0438\\u0441\\u0430\":\"05.10.2027\",\"\\u0418\\u0441\\u043f\\u043e\\u043b\\u043d\\u0438\\u0442\\u0435\\u043b\\u044c\":\"Alexei S\\u00eella\",\"\\u0421\\u0442\\u0430\\u0442\\u0443\\u0441 \\u0432\\u044b\\u0435\\u0437\\u0434\\u0430\":\"\\u0412\\u044b\\u0435\\u0437\\u0434 \\u043f\\u0435\\u0440\\u0435\\u043d\\u0435\\u0441\\u0435\\u043d\",\"ID\":\"50519441\",\"\\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\":\"982301421604\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"37369349631\",\"\\u0410\\u0434\\u0440\\u0435\\u0441\":\"str Invierii 7\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Ruslan Smirnov\",\"Contact_name\":\"Ruslan Smirnov\",\"\\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\":\"982301421604\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"37369349631\",\"\\u0410\\u0434\\u0440\\u0435\\u0441\":\"str Invierii 7\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Ruslan Smirnov\",\"Contact_name\":\"Ruslan Smirnov\",\"\\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\":\"982301421604\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"37369349631\",\"\\u0410\\u0434\\u0440\\u0435\\u0441\":\"str Invierii 7\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Ruslan Smirnov\",\"\\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\":\"16.10.2026\",\"\\u041d\\u043e\\u043c\\u0435\\u0440\":\"1370\"},\"document\":{\"Date\":\"16.10.2026\",\"Number\":\"1370\"}}}","edit":true}} {"uid":"7fad3c4"}
[2026-10-16 15:20:26] docflow.DEBUG: GAS raw response {"raw":"[object] (stdClass: {\"code\":1,\"url\":\"https://docs.google.com/open?id=1_7wZ1J1FZEB6kvIb_8XB44DUiDOP4p9toud5Ek8mErc\",\"file_id\":\"1_7wZ1J1FZEB6kvIb_8XB44DUiDOP4p9toud5Ek8mErc\",\"error\":\"\",\"vars\":\"\"})"} {"uid":"7fad3c4"}
[2026-10-16 15:20:26] docflow.WARNING: AmoDrive generated-file move is not ready. {"fileId":"1_7wZ1J1FZEB6kvIb_8XB44DUiDOP4p9toud5Ek8mErc","context":null} {"uid":"7fad3c4"}
[2026-10-16 15:30:57] docflow.INFO: Apel createDoc {"data":{"amoAccountId":"22699852","amoUserId":null,"amoEntityId":"40436988","amoEntityType":"2","templateId":"11491","corporateEntityId":"","settlementAccountId":"","is_signed":null,"gdi":null,"number":null,"currentAmoUserId":null,"lang":"ru"}} {"uid":"3ee56aa"}
[2026-10-16 15:30:57] docflow.INFO: Token is valid for account 22699852. [] {"uid":"3ee56aa"}
[2026-10-16 15:30:57] docflow.DEBUG: getClientAuth returned {"auth":"[object] (stdClass: {\"domain\":\"emigrare.amocrm.ru\",\"access_token\":\"eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImp0aSI6ImFiZmZkMzBkYzk5MWY5ZmRjNTY2NzA2YjEyMGZiY2RkZTJlNDIxNmRjNDZjMDAwMThhNzFhMGZkODAwNWRkYmIwNDkxMGIxMGVkMjc2ZWIzIn0.eyJhdWQiOiIwZDY0ZGZmYi1lNTRiLTQ0OGYtOWZiZi1iYWYyMjUxYTExZGIiLCJqdGkiOiJhYmZmZDMwZGM5OTFmOWZkYzU2NjcwNmIxMjBmYmNkZGUyZTQyMTZkYzQ2YzAwMDE4YTcxYTBmZDgwMDVkZGJiMDQ5MTBiMTBlZDI3NmViMyIsImlhdCI6MTc5MjE1MTA1MiwibmJmIjoxNzkyMTUxMDUyLCJleHAiOjE3OTIyMzc0NTIsInN1YiI6IjI5MzAzODAiLCJncmFudF90eXBlIjoiIiwiYWNjb3VudF9pZCI6MjI2OTk4NTIsImJhc2VfZG9tYWluIjoiYW1vY3JtLnJ1IiwidmVyc2lvbiI6Miwic2NvcGVzIjpbInB1c2hfbm90aWZpY2F0aW9ucyIsImNybSIsIm5vdGlmaWNhdGlvbnMiXSwiaGFzaF91dWlkIjoiZWFjYjdhMWYtZDg1ZS00OTU0LThjNDEtMDMwZWRmNzJhMTVkIiwiYXBpX2RvbWFpbiI6ImFwaS1hLmFtb2NybS5ydSJ9.iNKoniLvooi4e-IcUzdQwUQjDWdEHDqC5mw0WfmgyQOMJwYyT-Ppk5tCYAeSQCvZfcNQMj9zVsQ7ekcKhRmHYHoOIMhLdJoC3XdHJe9lfa_Ebm8Zun1J8sqMAiQ3z_C5t6HieghXYcJ50Hf8v4MjvK-rIy5HBYJcdH3fCZfhdrzfBJ0M3Wsiof1SbtilvAHsceq7TgmvgfWEAyITH_PXYDBPGTXCPBHXBCUhnLVL6iXopXYPuHF8e9w14TW9CsPR3wMYq45UVC9_IgMoeF9A13pmWNiIgTo1ZREQm7A53_JWaHavf75WK3D_vzUD3xfnMJvDY7o2ImdI5XSTZW6WFA\"})","file":"/home/ytvmclwh/document.amocrm.md/src/Models/Docs.php","line":121} {"uid":"3ee56aa"}
[2026-10-16 15:31:00] docflow.DEBUG: AmoDrive docflow context request {"url":"https://google.emale.uno/api/docflow/google-context","query":{"account_id":"22699852","entity_id":"40436988","entity_type":"leads"}} {"uid":"3ee56aa"}
[2026-10-16 15: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=22699852&amp;entity_id=40436988&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/16 15:31:00</td>\r\n</tr>\r\n</table>\r\n<hr><center>tengine</center>\r\n</body>\r\n</html>\r\n"} {"uid":"3ee56aa"}
[2026-10-16 15:31:00] docflow.DEBUG: AmoDrive docflow context request {"url":"https://gd.glucose-dev.online/api/docflow/google-context","query":{"account_id":"22699852","entity_id":"40436988","entity_type":"leads"}} {"uid":"3ee56aa"}
[2026-10-16 15: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":22699852,"entityId":"40436988","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":308,"isLifetime":false},"licenseActive":false,"googleConnected":false,"googleEmail":null,"googleHasDriveScope":false,"googleHasDriveFileScope":false,"googleHasOwnershipScope":false,"readyForGeneratedFileMove":false,"readyForTransfer":false},"folder":{"id":"1obApfU2n6FTOnyjxi2UPlxZcChbCnZf1","name":"Cet.md","webViewLink":"https://drive.google.com/drive/folders/1obApfU2n6FTOnyjxi2UPlxZcChbCnZf1"}}} {"uid":"3ee56aa"}
[2026-10-16 15:31:00] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://google.emale.uno/api/docflow/prepare-generated-doc","payload":{"account_id":"22699852","entity_id":"40436988","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"3ee56aa"}
[2026-10-16 15: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/16 15: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":"22699852","entity_id":"40436988","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"3ee56aa"}
[2026-10-16 15:31: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":"40436988","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"3ee56aa"}
[2026-10-16 15: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\":22699852})","payload":{"account_id":"22699852","entity_id":"40436988","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"3ee56aa"}
[2026-10-16 15:31:00] docflow.DEBUG: GAS request {"url":"https://script.google.com/macros/s/AKfycbwrvOJD46zkuoTzdhpc1kulhV8jRfgQBFZfQ121nkIip_k8yKit4xrbWTOzaJ-C-Yed6w/exec","body":{"templateFileId":"1srDYGsstgjlxvIlwg4bVsc7c_CIJKXytfzAqf2rpqDA","accountId":"22699852","folderId":"1Us2AfskxgdA729xVr0F2vjZU9y5PlYDe","key":"~VTsK5dcnHc2cSSsjM$LFSjLlgbmJXwrp3R2P5nd","data":"{\"fileName\":\"Stadiu dosar 219 20261016153100\",\"leadId\":\"40436988\",\"entities\":{\"\\u0441\\u0434\\u0435\\u043b\\u043a\\u0430\":{\"google_folder_id_leads_field\":\"1obApfU2n6FTOnyjxi2UPlxZcChbCnZf1\",\"google_folder_link_leads_field\":\"https:\\/\\/drive.google.com\\/drive\\/folders\\/1obApfU2n6FTOnyjxi2UPlxZcChbCnZf1\",\"Nota SQL\":\"1\",\"\\u041b\\u041f\\u0420\":\"1\",\"\\u041e\\u0441\\u043e\\u0437\\u043d\\u0430\\u043d\\u043d\\u0430\\u044f \\u043f\\u043e\\u0442\\u0440\\u0435\\u0431\\u043d\\u043e\\u0441\\u0442\\u044c\":\"1\",\"\\u0414\\u043e\\u0432\\u0435\\u0440\\u0438\\u0435\":\"1\",\"\\u0424\\u0438\\u043d. \\u0432\\u043e\\u0437\\u043c\\u043e\\u0436\\u043d\\u043e\\u0441\\u0442\\u044c\":\"1\",\"\\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\":\"1\",\"Nota Consultatie Efectuata\":\"1\",\"Suma \\u20ac\":\"0\",\"#Manager Front\":\"Scutelnic Bogdan\",\"Urm\\u0103torul contact\":\"2025-09-19 11:19:00\",\"Pachet\":\"V.I.P.\",\"Mod achitare\":\"Transfer firm\\u0103\",\"Suma avans\":\"1170\",\"Compania\":\"EMG Cetatenie Grup\",\"Manager Juridic\":\"Dascal Anatolie\",\"#Manager Jurist\":\"Dascal Anatolie\",\"Numar de achitari\":\"3\",\"Suma contract\":\"3350\",\"Tentative de apel\":\"0\",\"Data trimitere Documentare\":\"2026-04-23 15:53:00\",\"Ian\\/Data depunerii\":\"09.12.2025\",\"Ian\\/Data primirii aviz\":\"09.12.2026\",\"Ian\\/Model dosar\":\"G2\",\"Traduceri si cheltuieli\":\"Da\",\"Na\\u021bionalitatea\":\"Rusia\",\"Ian\\/Ultima verificare\":\"09.12.2026\",\"ID\":\"40436988\",\"\\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\":\"3350\",\"Budget\":\"3350\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"Cre\\u021bu Veronica\",\"Responsible\":\"Cre\\u021bu Veronica\"},\"lead\":{\"google_folder_id_leads_field\":\"1obApfU2n6FTOnyjxi2UPlxZcChbCnZf1\",\"google_folder_link_leads_field\":\"https:\\/\\/drive.google.com\\/drive\\/folders\\/1obApfU2n6FTOnyjxi2UPlxZcChbCnZf1\",\"Nota SQL\":\"1\",\"\\u041b\\u041f\\u0420\":\"1\",\"\\u041e\\u0441\\u043e\\u0437\\u043d\\u0430\\u043d\\u043d\\u0430\\u044f \\u043f\\u043e\\u0442\\u0440\\u0435\\u0431\\u043d\\u043e\\u0441\\u0442\\u044c\":\"1\",\"\\u0414\\u043e\\u0432\\u0435\\u0440\\u0438\\u0435\":\"1\",\"\\u0424\\u0438\\u043d. \\u0432\\u043e\\u0437\\u043c\\u043e\\u0436\\u043d\\u043e\\u0441\\u0442\\u044c\":\"1\",\"\\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\":\"1\",\"Nota Consultatie Efectuata\":\"1\",\"Suma \\u20ac\":\"0\",\"#Manager Front\":\"Scutelnic Bogdan\",\"Urm\\u0103torul contact\":\"2025-09-19 11:19:00\",\"Pachet\":\"V.I.P.\",\"Mod achitare\":\"Transfer firm\\u0103\",\"Suma avans\":\"1170\",\"Compania\":\"EMG Cetatenie Grup\",\"Manager Juridic\":\"Dascal Anatolie\",\"#Manager Jurist\":\"Dascal Anatolie\",\"Numar de achitari\":\"3\",\"Suma contract\":\"3350\",\"Tentative de apel\":\"0\",\"Data trimitere Documentare\":\"2026-04-23 15:53:00\",\"Ian\\/Data depunerii\":\"09.12.2025\",\"Ian\\/Data primirii aviz\":\"09.12.2026\",\"Ian\\/Model dosar\":\"G2\",\"Traduceri si cheltuieli\":\"Da\",\"Na\\u021bionalitatea\":\"Rusia\",\"Ian\\/Ultima verificare\":\"09.12.2026\",\"ID\":\"40436988\",\"\\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\":\"3350\",\"Budget\":\"3350\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"Cre\\u021bu Veronica\",\"Responsible\":\"Cre\\u021bu Veronica\"},\"\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442\":{\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"+79118251302\",\"Email\":\"Mik2hailova@yandex.ru\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Anastasiia Mikhailova\",\"Contact_name\":\"Anastasiia Mikhailova\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"Victor Ochinciuc\",\"Responsible\":\"Victor Ochinciuc\"},\"contact\":{\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"+79118251302\",\"Email\":\"Mik2hailova@yandex.ru\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Anastasiia Mikhailova\",\"Contact_name\":\"Anastasiia Mikhailova\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"Victor Ochinciuc\",\"Responsible\":\"Victor Ochinciuc\"},\"\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442\\u044b\":[{\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"+79118251302\",\"Email\":\"Mik2hailova@yandex.ru\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Anastasiia Mikhailova\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"Victor Ochinciuc\"}],\"\\u0434\\u043e\\u043a\\u0443\\u043c\\u0435\\u043d\\u0442\":{\"\\u0414\\u0430\\u0442\\u0430\":\"16.10.2026\",\"\\u041d\\u043e\\u043c\\u0435\\u0440\":\"219\"},\"document\":{\"Date\":\"16.10.2026\",\"Number\":\"219\"}}}","edit":true}} {"uid":"3ee56aa"}
[2026-10-16 15:31:04] docflow.DEBUG: GAS raw response {"raw":"[object] (stdClass: {\"code\":1,\"url\":\"https://docs.google.com/open?id=1R005fSmXbU0HYNki9BEsCp3ji8DRuiePBrLuEX_jWIY\",\"file_id\":\"1R005fSmXbU0HYNki9BEsCp3ji8DRuiePBrLuEX_jWIY\",\"error\":\"\",\"vars\":\"\"})"} {"uid":"3ee56aa"}
[2026-10-16 15:31:04] docflow.WARNING: AmoDrive generated-file move is not ready. {"fileId":"1R005fSmXbU0HYNki9BEsCp3ji8DRuiePBrLuEX_jWIY","context":null} {"uid":"3ee56aa"}
[2026-10-16 15:43:31] docflow.INFO: Apel createDoc {"data":{"amoAccountId":"32990686","amoUserId":null,"amoEntityId":"40280829","amoEntityType":"2","templateId":"11625","corporateEntityId":"","settlementAccountId":"","is_signed":null,"gdi":null,"number":null,"currentAmoUserId":null,"lang":"ru"}} {"uid":"e3e9462"}
[2026-10-16 15:43:32] docflow.INFO: Token is valid for account 32990686. [] {"uid":"e3e9462"}
[2026-10-16 15:43:32] docflow.DEBUG: getClientAuth returned {"auth":"[object] (stdClass: {\"domain\":\"eurosanteh.amocrm.ru\",\"access_token\":\"eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImp0aSI6Ijc1YmU1MzQ3NDI3MTIyNTc0YzhjOWNiMDRhMDI2OTc5OGNhMTI2NDRkMGI2NWJlNmYzNWI4NTY3ZjdmZDk1OTRmODVlOTU3ZWNiMmQ2YTg1In0.eyJhdWQiOiIwZDY0ZGZmYi1lNTRiLTQ0OGYtOWZiZi1iYWYyMjUxYTExZGIiLCJqdGkiOiI3NWJlNTM0NzQyNzEyMjU3NGM4YzljYjA0YTAyNjk3OThjYTEyNjQ0ZDBiNjViZTZmMzViODU2N2Y3ZmQ5NTk0Zjg1ZTk1N2VjYjJkNmE4NSIsImlhdCI6MTc5MjA2OTYwOSwibmJmIjoxNzkyMDY5NjA5LCJleHAiOjE3OTIxNTYwMDksInN1YiI6IjEzNjg3MzAyIiwiZ3JhbnRfdHlwZSI6IiIsImFjY291bnRfaWQiOjMyOTkwNjg2LCJiYXNlX2RvbWFpbiI6ImFtb2NybS5ydSIsInZlcnNpb24iOjIsInNjb3BlcyI6WyJwdXNoX25vdGlmaWNhdGlvbnMiLCJjcm0iLCJub3RpZmljYXRpb25zIl0sImhhc2hfdXVpZCI6IjZmODlkMzc2LWRmNjAtNDhjZC05MGU4LTIzOTY1Mjk0NTY2ZiIsImFwaV9kb21haW4iOiJhcGktYi5hbW9jcm0ucnUifQ.rGt0T1fD4kyX0AbViKkyacRTGC_BNg-4LXO675cPDyDCzTPwF04flG-A0JuGNAufWZwAYdD6XTwpx-BPZ2WqnaVZ7NOZE-9RUlIppDKJt-Gn5eNAUIzK3Kjlv6_E2HFgQWW_PjnvaHqzeW1viENb4t3KsqHT35Aiuh8I0YgrgG5GW76QETuhtFU3VNlF1otA14YGZyjtVligXcA2CwEYUmCi8ow33B64-0ltQ9dAbMGxxy0pJxhcMpR8eorDIMWt1D0BejiitE7YRnYeWkyWSTbGWtW3tTKhD95s4LzYqEZsK0U-9KfsTLos32uGIQwmdEIbN7COQmEdMW24pQe8Cw\"})","file":"/home/ytvmclwh/document.amocrm.md/src/Models/Docs.php","line":121} {"uid":"e3e9462"}
[2026-10-16 15:43:34] docflow.DEBUG: AmoDrive docflow context request {"url":"https://google.emale.uno/api/docflow/google-context","query":{"account_id":"32990686","entity_id":"40280829","entity_type":"leads"}} {"uid":"e3e9462"}
[2026-10-16 15:43: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=40280829&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/16 15:43:34</td>\r\n</tr>\r\n</table>\r\n<hr><center>tengine</center>\r\n</body>\r\n</html>\r\n"} {"uid":"e3e9462"}
[2026-10-16 15:43:34] docflow.DEBUG: AmoDrive docflow context request {"url":"https://gd.glucose-dev.online/api/docflow/google-context","query":{"account_id":"32990686","entity_id":"40280829","entity_type":"leads"}} {"uid":"e3e9462"}
[2026-10-16 15:43: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":"40280829","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":"e3e9462"}
[2026-10-16 15:43:34] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://google.emale.uno/api/docflow/prepare-generated-doc","payload":{"account_id":"32990686","entity_id":"40280829","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"e3e9462"}
[2026-10-16 15:43: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/16 15:43: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":"40280829","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"e3e9462"}
[2026-10-16 15:43: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":"40280829","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"e3e9462"}
[2026-10-16 15:43: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":"40280829","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"e3e9462"}
[2026-10-16 15:43: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 1371 20261016154334\",\"leadId\":\"40280829\",\"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.10.2026\",\"\\u041d\\u043e\\u043c\\u0435\\u0440 \\u043a\\u043e\\u043d\\u0442\\u0440\\u0430\\u043a\\u0442\\u0430\":\"K6801\",\"\\u0414\\u0430\\u0442\\u0430 \\u043c\\u043e\\u043d\\u0442\\u0430\\u0436\\u0430 (\\u0411\\u0414)\":\"08.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)\":\"\\u041d\\u0430\\u0433\\u0440\\u0438\\u043d\\u044f\\u043a \\u0418.\",\"\\u0414\\u0435\\u043d\\u044c \\u043d\\u0435\\u0434\\u0435\\u043b\\u0438\":\"\\u041f\\u044f\\u0442\\u043d\\u0438\\u0446\\u0430\",\"\\u0414\\u0430\\u0442\\u0430 \\u0438 \\u0432\\u0440\\u0435\\u043c\\u044f \\u0432\\u0438\\u0437\\u0438\\u0442\\u0430\":\"2026-10-19 15:43:00\",\"\\u0414\\u0430\\u0442\\u0430 \\u0432\\u0438\\u0437\\u0438\\u0442\\u0430\":\"19.10.2026\",\"ID\":\"40280829\",\"\\u0421\\u0434\\u0435\\u043b\\u043a\\u0430_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"\\u0423\\u0441\\u0442\\u0430\\u043d\\u043e\\u0432\\u043a\\u0430 \\u043a\\u043e\\u043d\\u0434\\u0438\\u0446\\u0438\\u043e\\u043d\\u0435\\u0440\\u0430\",\"Lead_name\":\"\\u0423\\u0441\\u0442\\u0430\\u043d\\u043e\\u0432\\u043a\\u0430 \\u043a\\u043e\\u043d\\u0434\\u0438\\u0446\\u0438\\u043e\\u043d\\u0435\\u0440\\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\":{\"\\u0421\\u043b\\u0435\\u0434\\u0443\\u044e\\u0449\\u0430\\u044f \\u0434\\u0430\\u0442\\u0430 \\u0441\\u0435\\u0440\\u0432\\u0438\\u0441\\u0430\":\"08.10.2026\",\"\\u041d\\u043e\\u043c\\u0435\\u0440 \\u043a\\u043e\\u043d\\u0442\\u0440\\u0430\\u043a\\u0442\\u0430\":\"K6801\",\"\\u0414\\u0430\\u0442\\u0430 \\u043c\\u043e\\u043d\\u0442\\u0430\\u0436\\u0430 (\\u0411\\u0414)\":\"08.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)\":\"\\u041d\\u0430\\u0433\\u0440\\u0438\\u043d\\u044f\\u043a \\u0418.\",\"\\u0414\\u0435\\u043d\\u044c \\u043d\\u0435\\u0434\\u0435\\u043b\\u0438\":\"\\u041f\\u044f\\u0442\\u043d\\u0438\\u0446\\u0430\",\"\\u0414\\u0430\\u0442\\u0430 \\u0438 \\u0432\\u0440\\u0435\\u043c\\u044f \\u0432\\u0438\\u0437\\u0438\\u0442\\u0430\":\"2026-10-19 15:43:00\",\"\\u0414\\u0430\\u0442\\u0430 \\u0432\\u0438\\u0437\\u0438\\u0442\\u0430\":\"19.10.2026\",\"ID\":\"40280829\",\"\\u0421\\u0434\\u0435\\u043b\\u043a\\u0430_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"\\u0423\\u0441\\u0442\\u0430\\u043d\\u043e\\u0432\\u043a\\u0430 \\u043a\\u043e\\u043d\\u0434\\u0438\\u0446\\u0438\\u043e\\u043d\\u0435\\u0440\\u0430\",\"Lead_name\":\"\\u0423\\u0441\\u0442\\u0430\\u043d\\u043e\\u0432\\u043a\\u0430 \\u043a\\u043e\\u043d\\u0434\\u0438\\u0446\\u0438\\u043e\\u043d\\u0435\\u0440\\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\":{\"\\u0418\\u0414\\u041d\\u041e\":\"0\",\"\\u0410\\u0434\\u0440\\u0435\\u0441\":\"Truseni str Alecu Russo 6A\",\"\\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)\":\"08.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)\":\"K6801\",\"\\u0418\\u043c\\u044f \\u043a\\u043b\\u0438\\u0435\\u043d\\u0442\\u0430 (\\u0421\\u041c\\u0421)\":\"Dumitru\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"37369298963\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Dumitru Pascari\",\"Contact_name\":\"Dumitru Pascari\",\"\\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\":\"Truseni str Alecu Russo 6A\",\"\\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)\":\"08.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)\":\"K6801\",\"\\u0418\\u043c\\u044f \\u043a\\u043b\\u0438\\u0435\\u043d\\u0442\\u0430 (\\u0421\\u041c\\u0421)\":\"Dumitru\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"37369298963\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Dumitru Pascari\",\"Contact_name\":\"Dumitru Pascari\",\"\\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\":\"Truseni str Alecu Russo 6A\",\"\\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)\":\"08.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)\":\"K6801\",\"\\u0418\\u043c\\u044f \\u043a\\u043b\\u0438\\u0435\\u043d\\u0442\\u0430 (\\u0421\\u041c\\u0421)\":\"Dumitru\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"37369298963\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Dumitru Pascari\",\"\\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\":\"16.10.2026\",\"\\u041d\\u043e\\u043c\\u0435\\u0440\":\"1371\"},\"document\":{\"Date\":\"16.10.2026\",\"Number\":\"1371\"}}}","edit":true}} {"uid":"e3e9462"}
[2026-10-16 15:43:47] docflow.DEBUG: GAS raw response {"raw":"[object] (stdClass: {\"code\":1,\"url\":\"https://docs.google.com/open?id=1BR-elOBDZq6dicr-SHF09l0olaB69A5oEGsj8dZMASQ\",\"file_id\":\"1BR-elOBDZq6dicr-SHF09l0olaB69A5oEGsj8dZMASQ\",\"error\":\"\",\"vars\":\"\"})"} {"uid":"e3e9462"}
[2026-10-16 15:43:47] docflow.WARNING: AmoDrive generated-file move is not ready. {"fileId":"1BR-elOBDZq6dicr-SHF09l0olaB69A5oEGsj8dZMASQ","context":null} {"uid":"e3e9462"}
[2026-10-16 15:43:51] docflow.INFO: Apel createDoc {"data":{"amoAccountId":"32990686","amoUserId":null,"amoEntityId":"40280829","amoEntityType":"2","templateId":"11646","corporateEntityId":"","settlementAccountId":"","is_signed":null,"gdi":null,"number":null,"currentAmoUserId":null,"lang":"ru"}} {"uid":"e654f14"}
[2026-10-16 15:43:51] docflow.INFO: Token is valid for account 32990686. [] {"uid":"e654f14"}
[2026-10-16 15:43:51] docflow.DEBUG: getClientAuth returned {"auth":"[object] (stdClass: {\"domain\":\"eurosanteh.amocrm.ru\",\"access_token\":\"eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImp0aSI6Ijc1YmU1MzQ3NDI3MTIyNTc0YzhjOWNiMDRhMDI2OTc5OGNhMTI2NDRkMGI2NWJlNmYzNWI4NTY3ZjdmZDk1OTRmODVlOTU3ZWNiMmQ2YTg1In0.eyJhdWQiOiIwZDY0ZGZmYi1lNTRiLTQ0OGYtOWZiZi1iYWYyMjUxYTExZGIiLCJqdGkiOiI3NWJlNTM0NzQyNzEyMjU3NGM4YzljYjA0YTAyNjk3OThjYTEyNjQ0ZDBiNjViZTZmMzViODU2N2Y3ZmQ5NTk0Zjg1ZTk1N2VjYjJkNmE4NSIsImlhdCI6MTc5MjA2OTYwOSwibmJmIjoxNzkyMDY5NjA5LCJleHAiOjE3OTIxNTYwMDksInN1YiI6IjEzNjg3MzAyIiwiZ3JhbnRfdHlwZSI6IiIsImFjY291bnRfaWQiOjMyOTkwNjg2LCJiYXNlX2RvbWFpbiI6ImFtb2NybS5ydSIsInZlcnNpb24iOjIsInNjb3BlcyI6WyJwdXNoX25vdGlmaWNhdGlvbnMiLCJjcm0iLCJub3RpZmljYXRpb25zIl0sImhhc2hfdXVpZCI6IjZmODlkMzc2LWRmNjAtNDhjZC05MGU4LTIzOTY1Mjk0NTY2ZiIsImFwaV9kb21haW4iOiJhcGktYi5hbW9jcm0ucnUifQ.rGt0T1fD4kyX0AbViKkyacRTGC_BNg-4LXO675cPDyDCzTPwF04flG-A0JuGNAufWZwAYdD6XTwpx-BPZ2WqnaVZ7NOZE-9RUlIppDKJt-Gn5eNAUIzK3Kjlv6_E2HFgQWW_PjnvaHqzeW1viENb4t3KsqHT35Aiuh8I0YgrgG5GW76QETuhtFU3VNlF1otA14YGZyjtVligXcA2CwEYUmCi8ow33B64-0ltQ9dAbMGxxy0pJxhcMpR8eorDIMWt1D0BejiitE7YRnYeWkyWSTbGWtW3tTKhD95s4LzYqEZsK0U-9KfsTLos32uGIQwmdEIbN7COQmEdMW24pQe8Cw\"})","file":"/home/ytvmclwh/document.amocrm.md/src/Models/Docs.php","line":121} {"uid":"e654f14"}
[2026-10-16 15:43:54] docflow.DEBUG: AmoDrive docflow context request {"url":"https://google.emale.uno/api/docflow/google-context","query":{"account_id":"32990686","entity_id":"40280829","entity_type":"leads"}} {"uid":"e654f14"}
[2026-10-16 15:43: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=32990686&amp;entity_id=40280829&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/16 15:43:54</td>\r\n</tr>\r\n</table>\r\n<hr><center>tengine</center>\r\n</body>\r\n</html>\r\n"} {"uid":"e654f14"}
[2026-10-16 15:43:54] docflow.DEBUG: AmoDrive docflow context request {"url":"https://gd.glucose-dev.online/api/docflow/google-context","query":{"account_id":"32990686","entity_id":"40280829","entity_type":"leads"}} {"uid":"e654f14"}
[2026-10-16 15:43: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":32990686,"entityId":"40280829","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":"e654f14"}
[2026-10-16 15:43:54] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://google.emale.uno/api/docflow/prepare-generated-doc","payload":{"account_id":"32990686","entity_id":"40280829","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"e654f14"}
[2026-10-16 15:43: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/16 15:43: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":"32990686","entity_id":"40280829","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"e654f14"}
[2026-10-16 15:43:54] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://gd.glucose-dev.online/api/docflow/prepare-generated-doc","payload":{"account_id":"32990686","entity_id":"40280829","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"e654f14"}
[2026-10-16 15:43: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\":32990686})","payload":{"account_id":"32990686","entity_id":"40280829","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"e654f14"}
[2026-10-16 15:43:55] 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 1371 20261016154354\",\"leadId\":\"40280829\",\"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.10.2026\",\"\\u041d\\u043e\\u043c\\u0435\\u0440 \\u043a\\u043e\\u043d\\u0442\\u0440\\u0430\\u043a\\u0442\\u0430\":\"K6801\",\"\\u0414\\u0430\\u0442\\u0430 \\u043c\\u043e\\u043d\\u0442\\u0430\\u0436\\u0430 (\\u0411\\u0414)\":\"08.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)\":\"\\u041d\\u0430\\u0433\\u0440\\u0438\\u043d\\u044f\\u043a \\u0418.\",\"\\u0414\\u0435\\u043d\\u044c \\u043d\\u0435\\u0434\\u0435\\u043b\\u0438\":\"\\u041f\\u044f\\u0442\\u043d\\u0438\\u0446\\u0430\",\"\\u0414\\u0430\\u0442\\u0430 \\u0438 \\u0432\\u0440\\u0435\\u043c\\u044f \\u0432\\u0438\\u0437\\u0438\\u0442\\u0430\":\"2026-10-19 15:43:00\",\"\\u0414\\u0430\\u0442\\u0430 \\u0432\\u0438\\u0437\\u0438\\u0442\\u0430\":\"19.10.2026\",\"ID\":\"40280829\",\"\\u0421\\u0434\\u0435\\u043b\\u043a\\u0430_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"\\u0423\\u0441\\u0442\\u0430\\u043d\\u043e\\u0432\\u043a\\u0430 \\u043a\\u043e\\u043d\\u0434\\u0438\\u0446\\u0438\\u043e\\u043d\\u0435\\u0440\\u0430\",\"Lead_name\":\"\\u0423\\u0441\\u0442\\u0430\\u043d\\u043e\\u0432\\u043a\\u0430 \\u043a\\u043e\\u043d\\u0434\\u0438\\u0446\\u0438\\u043e\\u043d\\u0435\\u0440\\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\":{\"\\u0421\\u043b\\u0435\\u0434\\u0443\\u044e\\u0449\\u0430\\u044f \\u0434\\u0430\\u0442\\u0430 \\u0441\\u0435\\u0440\\u0432\\u0438\\u0441\\u0430\":\"08.10.2026\",\"\\u041d\\u043e\\u043c\\u0435\\u0440 \\u043a\\u043e\\u043d\\u0442\\u0440\\u0430\\u043a\\u0442\\u0430\":\"K6801\",\"\\u0414\\u0430\\u0442\\u0430 \\u043c\\u043e\\u043d\\u0442\\u0430\\u0436\\u0430 (\\u0411\\u0414)\":\"08.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)\":\"\\u041d\\u0430\\u0433\\u0440\\u0438\\u043d\\u044f\\u043a \\u0418.\",\"\\u0414\\u0435\\u043d\\u044c \\u043d\\u0435\\u0434\\u0435\\u043b\\u0438\":\"\\u041f\\u044f\\u0442\\u043d\\u0438\\u0446\\u0430\",\"\\u0414\\u0430\\u0442\\u0430 \\u0438 \\u0432\\u0440\\u0435\\u043c\\u044f \\u0432\\u0438\\u0437\\u0438\\u0442\\u0430\":\"2026-10-19 15:43:00\",\"\\u0414\\u0430\\u0442\\u0430 \\u0432\\u0438\\u0437\\u0438\\u0442\\u0430\":\"19.10.2026\",\"ID\":\"40280829\",\"\\u0421\\u0434\\u0435\\u043b\\u043a\\u0430_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"\\u0423\\u0441\\u0442\\u0430\\u043d\\u043e\\u0432\\u043a\\u0430 \\u043a\\u043e\\u043d\\u0434\\u0438\\u0446\\u0438\\u043e\\u043d\\u0435\\u0440\\u0430\",\"Lead_name\":\"\\u0423\\u0441\\u0442\\u0430\\u043d\\u043e\\u0432\\u043a\\u0430 \\u043a\\u043e\\u043d\\u0434\\u0438\\u0446\\u0438\\u043e\\u043d\\u0435\\u0440\\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\":{\"\\u0418\\u0414\\u041d\\u041e\":\"0\",\"\\u0410\\u0434\\u0440\\u0435\\u0441\":\"Truseni str Alecu Russo 6A\",\"\\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)\":\"08.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)\":\"K6801\",\"\\u0418\\u043c\\u044f \\u043a\\u043b\\u0438\\u0435\\u043d\\u0442\\u0430 (\\u0421\\u041c\\u0421)\":\"Dumitru\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"37369298963\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Dumitru Pascari\",\"Contact_name\":\"Dumitru Pascari\",\"\\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\":\"Truseni str Alecu Russo 6A\",\"\\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)\":\"08.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)\":\"K6801\",\"\\u0418\\u043c\\u044f \\u043a\\u043b\\u0438\\u0435\\u043d\\u0442\\u0430 (\\u0421\\u041c\\u0421)\":\"Dumitru\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"37369298963\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Dumitru Pascari\",\"Contact_name\":\"Dumitru Pascari\",\"\\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\":\"Truseni str Alecu Russo 6A\",\"\\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)\":\"08.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)\":\"K6801\",\"\\u0418\\u043c\\u044f \\u043a\\u043b\\u0438\\u0435\\u043d\\u0442\\u0430 (\\u0421\\u041c\\u0421)\":\"Dumitru\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"37369298963\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Dumitru Pascari\",\"\\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\":\"16.10.2026\",\"\\u041d\\u043e\\u043c\\u0435\\u0440\":\"1371\"},\"document\":{\"Date\":\"16.10.2026\",\"Number\":\"1371\"}}}","edit":true}} {"uid":"e654f14"}
[2026-10-16 15:44:21] docflow.DEBUG: GAS raw response {"raw":"[object] (stdClass: {\"code\":1,\"url\":\"https://docs.google.com/open?id=1ylacc7lXo3MZJmCodWblS5aEp3wdl6nMZalNK7rpJg8\",\"file_id\":\"1ylacc7lXo3MZJmCodWblS5aEp3wdl6nMZalNK7rpJg8\",\"error\":\"\",\"vars\":\"\"})"} {"uid":"e654f14"}
[2026-10-16 15:44:21] docflow.WARNING: AmoDrive generated-file move is not ready. {"fileId":"1ylacc7lXo3MZJmCodWblS5aEp3wdl6nMZalNK7rpJg8","context":null} {"uid":"e654f14"}
[2026-10-16 15:49:40] docflow.INFO: Apel createDoc {"data":{"amoAccountId":"32990686","amoUserId":null,"amoEntityId":"51135604","amoEntityType":"2","templateId":"11625","corporateEntityId":"","settlementAccountId":"","is_signed":null,"gdi":null,"number":null,"currentAmoUserId":null,"lang":"ru"}} {"uid":"63d8ba1"}
[2026-10-16 15:49:40] docflow.INFO: Token is valid for account 32990686. [] {"uid":"63d8ba1"}
[2026-10-16 15:49:40] docflow.DEBUG: getClientAuth returned {"auth":"[object] (stdClass: {\"domain\":\"eurosanteh.amocrm.ru\",\"access_token\":\"eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImp0aSI6Ijc1YmU1MzQ3NDI3MTIyNTc0YzhjOWNiMDRhMDI2OTc5OGNhMTI2NDRkMGI2NWJlNmYzNWI4NTY3ZjdmZDk1OTRmODVlOTU3ZWNiMmQ2YTg1In0.eyJhdWQiOiIwZDY0ZGZmYi1lNTRiLTQ0OGYtOWZiZi1iYWYyMjUxYTExZGIiLCJqdGkiOiI3NWJlNTM0NzQyNzEyMjU3NGM4YzljYjA0YTAyNjk3OThjYTEyNjQ0ZDBiNjViZTZmMzViODU2N2Y3ZmQ5NTk0Zjg1ZTk1N2VjYjJkNmE4NSIsImlhdCI6MTc5MjA2OTYwOSwibmJmIjoxNzkyMDY5NjA5LCJleHAiOjE3OTIxNTYwMDksInN1YiI6IjEzNjg3MzAyIiwiZ3JhbnRfdHlwZSI6IiIsImFjY291bnRfaWQiOjMyOTkwNjg2LCJiYXNlX2RvbWFpbiI6ImFtb2NybS5ydSIsInZlcnNpb24iOjIsInNjb3BlcyI6WyJwdXNoX25vdGlmaWNhdGlvbnMiLCJjcm0iLCJub3RpZmljYXRpb25zIl0sImhhc2hfdXVpZCI6IjZmODlkMzc2LWRmNjAtNDhjZC05MGU4LTIzOTY1Mjk0NTY2ZiIsImFwaV9kb21haW4iOiJhcGktYi5hbW9jcm0ucnUifQ.rGt0T1fD4kyX0AbViKkyacRTGC_BNg-4LXO675cPDyDCzTPwF04flG-A0JuGNAufWZwAYdD6XTwpx-BPZ2WqnaVZ7NOZE-9RUlIppDKJt-Gn5eNAUIzK3Kjlv6_E2HFgQWW_PjnvaHqzeW1viENb4t3KsqHT35Aiuh8I0YgrgG5GW76QETuhtFU3VNlF1otA14YGZyjtVligXcA2CwEYUmCi8ow33B64-0ltQ9dAbMGxxy0pJxhcMpR8eorDIMWt1D0BejiitE7YRnYeWkyWSTbGWtW3tTKhD95s4LzYqEZsK0U-9KfsTLos32uGIQwmdEIbN7COQmEdMW24pQe8Cw\"})","file":"/home/ytvmclwh/document.amocrm.md/src/Models/Docs.php","line":121} {"uid":"63d8ba1"}
[2026-10-16 15:49:43] docflow.DEBUG: AmoDrive docflow context request {"url":"https://google.emale.uno/api/docflow/google-context","query":{"account_id":"32990686","entity_id":"51135604","entity_type":"leads"}} {"uid":"63d8ba1"}
[2026-10-16 15:49: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=51135604&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/16 15:49:43</td>\r\n</tr>\r\n</table>\r\n<hr><center>tengine</center>\r\n</body>\r\n</html>\r\n"} {"uid":"63d8ba1"}
[2026-10-16 15:49:43] docflow.DEBUG: AmoDrive docflow context request {"url":"https://gd.glucose-dev.online/api/docflow/google-context","query":{"account_id":"32990686","entity_id":"51135604","entity_type":"leads"}} {"uid":"63d8ba1"}
[2026-10-16 15:49: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":"51135604","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":"63d8ba1"}
[2026-10-16 15:49:43] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://google.emale.uno/api/docflow/prepare-generated-doc","payload":{"account_id":"32990686","entity_id":"51135604","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"63d8ba1"}
[2026-10-16 15:49: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/16 15:49: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":"51135604","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"63d8ba1"}
[2026-10-16 15:49: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":"51135604","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"63d8ba1"}
[2026-10-16 15:49: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":"51135604","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"63d8ba1"}
[2026-10-16 15:49:43] docflow.DEBUG: GAS request {"url":"https://script.google.com/macros/s/AKfycbwrvOJD46zkuoTzdhpc1kulhV8jRfgQBFZfQ121nkIip_k8yKit4xrbWTOzaJ-C-Yed6w/exec","body":{"templateFileId":"1AjK4khA9mRlFDVy4RXRqHAg2GTFWJYC-Gac1Mx3OLnA","accountId":"32990686","folderId":"1Us2AfskxgdA729xVr0F2vjZU9y5PlYDe","key":"~VTsK5dcnHc2cSSsjM$LFSjLlgbmJXwrp3R2P5nd","data":"{\"fileName\":\"ALL FOR ALL \\u041d\\u0430\\u0440\\u044f\\u0434 \\u043d\\u0430 \\u0432\\u044b\\u043f\\u043e\\u043b\\u043d\\u0435\\u043d\\u0438\\u0435 \\u0440\\u0430\\u0431\\u043e\\u0442 1372 20261016154943\",\"leadId\":\"51135604\",\"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-19 15:46:00\",\"\\u0414\\u0430\\u0442\\u0430 \\u0432\\u0438\\u0437\\u0438\\u0442\\u0430\":\"19.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\":\"19.10.2027\",\"\\u041c\\u043e\\u0434\\u0435\\u043b\\u044c \\u043e\\u0431\\u043e\\u0440\\u0443\\u0434\\u043e\\u0432\\u0430\\u043d\\u0438\\u044f 1\":\"0\",\"ID\":\"51135604\",\"\\u0421\\u0434\\u0435\\u043b\\u043a\\u0430_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"\\u043f\\u0442\\u043e  \\u043d\\u0435 \\u043f\\u043e \\u0433\\u0430\\u0440\\u0430\\u043d\\u0442\\u0438\\u0438\",\"Lead_name\":\"\\u043f\\u0442\\u043e  \\u043d\\u0435 \\u043f\\u043e \\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-19 15:46:00\",\"\\u0414\\u0430\\u0442\\u0430 \\u0432\\u0438\\u0437\\u0438\\u0442\\u0430\":\"19.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\":\"19.10.2027\",\"\\u041c\\u043e\\u0434\\u0435\\u043b\\u044c \\u043e\\u0431\\u043e\\u0440\\u0443\\u0434\\u043e\\u0432\\u0430\\u043d\\u0438\\u044f 1\":\"0\",\"ID\":\"51135604\",\"\\u0421\\u0434\\u0435\\u043b\\u043a\\u0430_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"\\u043f\\u0442\\u043e  \\u043d\\u0435 \\u043f\\u043e \\u0433\\u0430\\u0440\\u0430\\u043d\\u0442\\u0438\\u0438\",\"Lead_name\":\"\\u043f\\u0442\\u043e  \\u043d\\u0435 \\u043f\\u043e \\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\":\"37368579507\",\"\\u0410\\u0434\\u0440\\u0435\\u0441\":\"str Sarmezedjetuza37\\/1 ap 146\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Gicu Pascarenco\",\"Contact_name\":\"Gicu Pascarenco\",\"\\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\":\"37368579507\",\"\\u0410\\u0434\\u0440\\u0435\\u0441\":\"str Sarmezedjetuza37\\/1 ap 146\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Gicu Pascarenco\",\"Contact_name\":\"Gicu Pascarenco\",\"\\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\":\"37368579507\",\"\\u0410\\u0434\\u0440\\u0435\\u0441\":\"str Sarmezedjetuza37\\/1 ap 146\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Gicu Pascarenco\",\"\\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\":\"16.10.2026\",\"\\u041d\\u043e\\u043c\\u0435\\u0440\":\"1372\"},\"document\":{\"Date\":\"16.10.2026\",\"Number\":\"1372\"}}}","edit":true}} {"uid":"63d8ba1"}
[2026-10-16 15:49:51] docflow.DEBUG: GAS raw response {"raw":"[object] (stdClass: {\"code\":1,\"url\":\"https://docs.google.com/open?id=1GgtRkfwibL9nxDvfaTITk1OV0OR7SqCOeexte8-kjg0\",\"file_id\":\"1GgtRkfwibL9nxDvfaTITk1OV0OR7SqCOeexte8-kjg0\",\"error\":\"\",\"vars\":\"\"})"} {"uid":"63d8ba1"}
[2026-10-16 15:49:51] docflow.WARNING: AmoDrive generated-file move is not ready. {"fileId":"1GgtRkfwibL9nxDvfaTITk1OV0OR7SqCOeexte8-kjg0","context":null} {"uid":"63d8ba1"}
[2026-10-16 15:51:04] docflow.INFO: Apel createDoc {"data":{"amoAccountId":"32990686","amoUserId":null,"amoEntityId":"51135604","amoEntityType":"2","templateId":"11646","corporateEntityId":"","settlementAccountId":"","is_signed":null,"gdi":null,"number":null,"currentAmoUserId":null,"lang":"ru"}} {"uid":"05b39ee"}
[2026-10-16 15:51:05] docflow.INFO: Token is valid for account 32990686. [] {"uid":"05b39ee"}
[2026-10-16 15:51:05] docflow.DEBUG: getClientAuth returned {"auth":"[object] (stdClass: {\"domain\":\"eurosanteh.amocrm.ru\",\"access_token\":\"eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImp0aSI6Ijc1YmU1MzQ3NDI3MTIyNTc0YzhjOWNiMDRhMDI2OTc5OGNhMTI2NDRkMGI2NWJlNmYzNWI4NTY3ZjdmZDk1OTRmODVlOTU3ZWNiMmQ2YTg1In0.eyJhdWQiOiIwZDY0ZGZmYi1lNTRiLTQ0OGYtOWZiZi1iYWYyMjUxYTExZGIiLCJqdGkiOiI3NWJlNTM0NzQyNzEyMjU3NGM4YzljYjA0YTAyNjk3OThjYTEyNjQ0ZDBiNjViZTZmMzViODU2N2Y3ZmQ5NTk0Zjg1ZTk1N2VjYjJkNmE4NSIsImlhdCI6MTc5MjA2OTYwOSwibmJmIjoxNzkyMDY5NjA5LCJleHAiOjE3OTIxNTYwMDksInN1YiI6IjEzNjg3MzAyIiwiZ3JhbnRfdHlwZSI6IiIsImFjY291bnRfaWQiOjMyOTkwNjg2LCJiYXNlX2RvbWFpbiI6ImFtb2NybS5ydSIsInZlcnNpb24iOjIsInNjb3BlcyI6WyJwdXNoX25vdGlmaWNhdGlvbnMiLCJjcm0iLCJub3RpZmljYXRpb25zIl0sImhhc2hfdXVpZCI6IjZmODlkMzc2LWRmNjAtNDhjZC05MGU4LTIzOTY1Mjk0NTY2ZiIsImFwaV9kb21haW4iOiJhcGktYi5hbW9jcm0ucnUifQ.rGt0T1fD4kyX0AbViKkyacRTGC_BNg-4LXO675cPDyDCzTPwF04flG-A0JuGNAufWZwAYdD6XTwpx-BPZ2WqnaVZ7NOZE-9RUlIppDKJt-Gn5eNAUIzK3Kjlv6_E2HFgQWW_PjnvaHqzeW1viENb4t3KsqHT35Aiuh8I0YgrgG5GW76QETuhtFU3VNlF1otA14YGZyjtVligXcA2CwEYUmCi8ow33B64-0ltQ9dAbMGxxy0pJxhcMpR8eorDIMWt1D0BejiitE7YRnYeWkyWSTbGWtW3tTKhD95s4LzYqEZsK0U-9KfsTLos32uGIQwmdEIbN7COQmEdMW24pQe8Cw\"})","file":"/home/ytvmclwh/document.amocrm.md/src/Models/Docs.php","line":121} {"uid":"05b39ee"}
[2026-10-16 15:51:08] docflow.DEBUG: AmoDrive docflow context request {"url":"https://google.emale.uno/api/docflow/google-context","query":{"account_id":"32990686","entity_id":"51135604","entity_type":"leads"}} {"uid":"05b39ee"}
[2026-10-16 15:51:08] 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=51135604&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/16 15:51:08</td>\r\n</tr>\r\n</table>\r\n<hr><center>tengine</center>\r\n</body>\r\n</html>\r\n"} {"uid":"05b39ee"}
[2026-10-16 15:51:08] docflow.DEBUG: AmoDrive docflow context request {"url":"https://gd.glucose-dev.online/api/docflow/google-context","query":{"account_id":"32990686","entity_id":"51135604","entity_type":"leads"}} {"uid":"05b39ee"}
[2026-10-16 15:51:08] 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":"51135604","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":"05b39ee"}
[2026-10-16 15:51:08] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://google.emale.uno/api/docflow/prepare-generated-doc","payload":{"account_id":"32990686","entity_id":"51135604","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"05b39ee"}
[2026-10-16 15:51:08] 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/16 15:51:08</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":"51135604","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"05b39ee"}
[2026-10-16 15:51:08] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://gd.glucose-dev.online/api/docflow/prepare-generated-doc","payload":{"account_id":"32990686","entity_id":"51135604","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"05b39ee"}
[2026-10-16 15:51:08] 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":"51135604","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"05b39ee"}
[2026-10-16 15:51:08] 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 1372 20261016155108\",\"leadId\":\"51135604\",\"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-19 15:46:00\",\"\\u0414\\u0430\\u0442\\u0430 \\u0432\\u0438\\u0437\\u0438\\u0442\\u0430\":\"19.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\":\"19.10.2027\",\"\\u041c\\u043e\\u0434\\u0435\\u043b\\u044c \\u043e\\u0431\\u043e\\u0440\\u0443\\u0434\\u043e\\u0432\\u0430\\u043d\\u0438\\u044f 1\":\"0\",\"ID\":\"51135604\",\"\\u0421\\u0434\\u0435\\u043b\\u043a\\u0430_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"\\u043f\\u0442\\u043e  \\u043d\\u0435 \\u043f\\u043e \\u0433\\u0430\\u0440\\u0430\\u043d\\u0442\\u0438\\u0438\",\"Lead_name\":\"\\u043f\\u0442\\u043e  \\u043d\\u0435 \\u043f\\u043e \\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-19 15:46:00\",\"\\u0414\\u0430\\u0442\\u0430 \\u0432\\u0438\\u0437\\u0438\\u0442\\u0430\":\"19.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\":\"19.10.2027\",\"\\u041c\\u043e\\u0434\\u0435\\u043b\\u044c \\u043e\\u0431\\u043e\\u0440\\u0443\\u0434\\u043e\\u0432\\u0430\\u043d\\u0438\\u044f 1\":\"0\",\"ID\":\"51135604\",\"\\u0421\\u0434\\u0435\\u043b\\u043a\\u0430_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"\\u043f\\u0442\\u043e  \\u043d\\u0435 \\u043f\\u043e \\u0433\\u0430\\u0440\\u0430\\u043d\\u0442\\u0438\\u0438\",\"Lead_name\":\"\\u043f\\u0442\\u043e  \\u043d\\u0435 \\u043f\\u043e \\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\":\"37368579507\",\"\\u0410\\u0434\\u0440\\u0435\\u0441\":\"str Sarmezedjetuza37\\/1 ap 146\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Gicu Pascarenco\",\"Contact_name\":\"Gicu Pascarenco\",\"\\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\":\"37368579507\",\"\\u0410\\u0434\\u0440\\u0435\\u0441\":\"str Sarmezedjetuza37\\/1 ap 146\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Gicu Pascarenco\",\"Contact_name\":\"Gicu Pascarenco\",\"\\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\":\"37368579507\",\"\\u0410\\u0434\\u0440\\u0435\\u0441\":\"str Sarmezedjetuza37\\/1 ap 146\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Gicu Pascarenco\",\"\\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\":\"16.10.2026\",\"\\u041d\\u043e\\u043c\\u0435\\u0440\":\"1372\"},\"document\":{\"Date\":\"16.10.2026\",\"Number\":\"1372\"}}}","edit":true}} {"uid":"05b39ee"}
[2026-10-16 15:51:24] docflow.DEBUG: GAS raw response {"raw":"[object] (stdClass: {\"code\":1,\"url\":\"https://docs.google.com/open?id=1j82u65meg8GfXr9j8pN3Ug92RmPo5nlBQRrb4JQSoDc\",\"file_id\":\"1j82u65meg8GfXr9j8pN3Ug92RmPo5nlBQRrb4JQSoDc\",\"error\":\"\",\"vars\":\"\"})"} {"uid":"05b39ee"}
[2026-10-16 15:51:24] docflow.WARNING: AmoDrive generated-file move is not ready. {"fileId":"1j82u65meg8GfXr9j8pN3Ug92RmPo5nlBQRrb4JQSoDc","context":null} {"uid":"05b39ee"}
[2026-10-16 15:57:44] docflow.INFO: Apel createDoc {"data":{"amoAccountId":"32990686","amoUserId":null,"amoEntityId":"51190719","amoEntityType":"2","templateId":"11625","corporateEntityId":"","settlementAccountId":"","is_signed":null,"gdi":null,"number":null,"currentAmoUserId":null,"lang":"ru"}} {"uid":"1e7e5c7"}
[2026-10-16 15:57:45] docflow.INFO: Token is valid for account 32990686. [] {"uid":"1e7e5c7"}
[2026-10-16 15:57:45] docflow.DEBUG: getClientAuth returned {"auth":"[object] (stdClass: {\"domain\":\"eurosanteh.amocrm.ru\",\"access_token\":\"eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImp0aSI6Ijc1YmU1MzQ3NDI3MTIyNTc0YzhjOWNiMDRhMDI2OTc5OGNhMTI2NDRkMGI2NWJlNmYzNWI4NTY3ZjdmZDk1OTRmODVlOTU3ZWNiMmQ2YTg1In0.eyJhdWQiOiIwZDY0ZGZmYi1lNTRiLTQ0OGYtOWZiZi1iYWYyMjUxYTExZGIiLCJqdGkiOiI3NWJlNTM0NzQyNzEyMjU3NGM4YzljYjA0YTAyNjk3OThjYTEyNjQ0ZDBiNjViZTZmMzViODU2N2Y3ZmQ5NTk0Zjg1ZTk1N2VjYjJkNmE4NSIsImlhdCI6MTc5MjA2OTYwOSwibmJmIjoxNzkyMDY5NjA5LCJleHAiOjE3OTIxNTYwMDksInN1YiI6IjEzNjg3MzAyIiwiZ3JhbnRfdHlwZSI6IiIsImFjY291bnRfaWQiOjMyOTkwNjg2LCJiYXNlX2RvbWFpbiI6ImFtb2NybS5ydSIsInZlcnNpb24iOjIsInNjb3BlcyI6WyJwdXNoX25vdGlmaWNhdGlvbnMiLCJjcm0iLCJub3RpZmljYXRpb25zIl0sImhhc2hfdXVpZCI6IjZmODlkMzc2LWRmNjAtNDhjZC05MGU4LTIzOTY1Mjk0NTY2ZiIsImFwaV9kb21haW4iOiJhcGktYi5hbW9jcm0ucnUifQ.rGt0T1fD4kyX0AbViKkyacRTGC_BNg-4LXO675cPDyDCzTPwF04flG-A0JuGNAufWZwAYdD6XTwpx-BPZ2WqnaVZ7NOZE-9RUlIppDKJt-Gn5eNAUIzK3Kjlv6_E2HFgQWW_PjnvaHqzeW1viENb4t3KsqHT35Aiuh8I0YgrgG5GW76QETuhtFU3VNlF1otA14YGZyjtVligXcA2CwEYUmCi8ow33B64-0ltQ9dAbMGxxy0pJxhcMpR8eorDIMWt1D0BejiitE7YRnYeWkyWSTbGWtW3tTKhD95s4LzYqEZsK0U-9KfsTLos32uGIQwmdEIbN7COQmEdMW24pQe8Cw\"})","file":"/home/ytvmclwh/document.amocrm.md/src/Models/Docs.php","line":121} {"uid":"1e7e5c7"}
[2026-10-16 15:57:47] docflow.DEBUG: AmoDrive docflow context request {"url":"https://google.emale.uno/api/docflow/google-context","query":{"account_id":"32990686","entity_id":"51190719","entity_type":"leads"}} {"uid":"1e7e5c7"}
[2026-10-16 15:57: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=51190719&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/16 15:57:47</td>\r\n</tr>\r\n</table>\r\n<hr><center>tengine</center>\r\n</body>\r\n</html>\r\n"} {"uid":"1e7e5c7"}
[2026-10-16 15:57:47] docflow.DEBUG: AmoDrive docflow context request {"url":"https://gd.glucose-dev.online/api/docflow/google-context","query":{"account_id":"32990686","entity_id":"51190719","entity_type":"leads"}} {"uid":"1e7e5c7"}
[2026-10-16 15:57: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":"51190719","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":"1e7e5c7"}
[2026-10-16 15:57:47] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://google.emale.uno/api/docflow/prepare-generated-doc","payload":{"account_id":"32990686","entity_id":"51190719","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"1e7e5c7"}
[2026-10-16 15:57: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/16 15:57: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":"51190719","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"1e7e5c7"}
[2026-10-16 15:57: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":"51190719","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"1e7e5c7"}
[2026-10-16 15:57: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":"51190719","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"1e7e5c7"}
[2026-10-16 15:57: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 1373 20261016155747\",\"leadId\":\"51190719\",\"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-19 15:55:00\",\"\\u0414\\u0430\\u0442\\u0430 \\u0432\\u0438\\u0437\\u0438\\u0442\\u0430\":\"19.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\":\"Balu\",\"ID\":\"51190719\",\"\\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-19 15:55:00\",\"\\u0414\\u0430\\u0442\\u0430 \\u0432\\u0438\\u0437\\u0438\\u0442\\u0430\":\"19.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\":\"Balu\",\"ID\":\"51190719\",\"\\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\":{\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"373079964479\",\"\\u0418\\u043c\\u044f \\u043a\\u043b\\u0438\\u0435\\u043d\\u0442\\u0430 (\\u0421\\u041c\\u0421)\":\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442 079964479\",\"\\u0410\\u0434\\u0440\\u0435\\u0441\":\"str  Demenetei48 ap 38\",\"\\u0422\\u0438\\u043f \\u043a\\u043b\\u0438\\u0435\\u043d\\u0442\\u0430\":\"\\u0424\\u0438\\u0437.\\u043b\\u0438\\u0446\",\"\\u0420\\u0430\\u0439\\u043e\\u043d\":\"\\u0411\\u043e\\u0442\\u0430\\u043d\\u0438\\u043a\\u0430\",\"\\u0414\\u0430\\u0442\\u0430 \\u043c\\u043e\\u043d\\u0442\\u0430\\u0436\\u0430 (\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442)\":\"10.02.2018\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Elena\",\"Contact_name\":\"Elena\",\"\\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\":\"373079964479\",\"\\u0418\\u043c\\u044f \\u043a\\u043b\\u0438\\u0435\\u043d\\u0442\\u0430 (\\u0421\\u041c\\u0421)\":\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442 079964479\",\"\\u0410\\u0434\\u0440\\u0435\\u0441\":\"str  Demenetei48 ap 38\",\"\\u0422\\u0438\\u043f \\u043a\\u043b\\u0438\\u0435\\u043d\\u0442\\u0430\":\"\\u0424\\u0438\\u0437.\\u043b\\u0438\\u0446\",\"\\u0420\\u0430\\u0439\\u043e\\u043d\":\"\\u0411\\u043e\\u0442\\u0430\\u043d\\u0438\\u043a\\u0430\",\"\\u0414\\u0430\\u0442\\u0430 \\u043c\\u043e\\u043d\\u0442\\u0430\\u0436\\u0430 (\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442)\":\"10.02.2018\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Elena\",\"Contact_name\":\"Elena\",\"\\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\":\"373079964479\",\"\\u0418\\u043c\\u044f \\u043a\\u043b\\u0438\\u0435\\u043d\\u0442\\u0430 (\\u0421\\u041c\\u0421)\":\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442 079964479\",\"\\u0410\\u0434\\u0440\\u0435\\u0441\":\"str  Demenetei48 ap 38\",\"\\u0422\\u0438\\u043f \\u043a\\u043b\\u0438\\u0435\\u043d\\u0442\\u0430\":\"\\u0424\\u0438\\u0437.\\u043b\\u0438\\u0446\",\"\\u0420\\u0430\\u0439\\u043e\\u043d\":\"\\u0411\\u043e\\u0442\\u0430\\u043d\\u0438\\u043a\\u0430\",\"\\u0414\\u0430\\u0442\\u0430 \\u043c\\u043e\\u043d\\u0442\\u0430\\u0436\\u0430 (\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442)\":\"10.02.2018\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Elena\",\"\\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\":\"16.10.2026\",\"\\u041d\\u043e\\u043c\\u0435\\u0440\":\"1373\"},\"document\":{\"Date\":\"16.10.2026\",\"Number\":\"1373\"}}}","edit":true}} {"uid":"1e7e5c7"}
[2026-10-16 15:58:17] 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":"1e7e5c7"}
[2026-10-16 15:59:09] docflow.INFO: Apel createDoc {"data":{"amoAccountId":"32990686","amoUserId":null,"amoEntityId":"51190719","amoEntityType":"2","templateId":"11625","corporateEntityId":"","settlementAccountId":"","is_signed":null,"gdi":null,"number":null,"currentAmoUserId":null,"lang":"ru"}} {"uid":"5f8cd98"}
[2026-10-16 15:59:09] docflow.INFO: Token is valid for account 32990686. [] {"uid":"5f8cd98"}
[2026-10-16 15:59:09] docflow.DEBUG: getClientAuth returned {"auth":"[object] (stdClass: {\"domain\":\"eurosanteh.amocrm.ru\",\"access_token\":\"eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImp0aSI6Ijc1YmU1MzQ3NDI3MTIyNTc0YzhjOWNiMDRhMDI2OTc5OGNhMTI2NDRkMGI2NWJlNmYzNWI4NTY3ZjdmZDk1OTRmODVlOTU3ZWNiMmQ2YTg1In0.eyJhdWQiOiIwZDY0ZGZmYi1lNTRiLTQ0OGYtOWZiZi1iYWYyMjUxYTExZGIiLCJqdGkiOiI3NWJlNTM0NzQyNzEyMjU3NGM4YzljYjA0YTAyNjk3OThjYTEyNjQ0ZDBiNjViZTZmMzViODU2N2Y3ZmQ5NTk0Zjg1ZTk1N2VjYjJkNmE4NSIsImlhdCI6MTc5MjA2OTYwOSwibmJmIjoxNzkyMDY5NjA5LCJleHAiOjE3OTIxNTYwMDksInN1YiI6IjEzNjg3MzAyIiwiZ3JhbnRfdHlwZSI6IiIsImFjY291bnRfaWQiOjMyOTkwNjg2LCJiYXNlX2RvbWFpbiI6ImFtb2NybS5ydSIsInZlcnNpb24iOjIsInNjb3BlcyI6WyJwdXNoX25vdGlmaWNhdGlvbnMiLCJjcm0iLCJub3RpZmljYXRpb25zIl0sImhhc2hfdXVpZCI6IjZmODlkMzc2LWRmNjAtNDhjZC05MGU4LTIzOTY1Mjk0NTY2ZiIsImFwaV9kb21haW4iOiJhcGktYi5hbW9jcm0ucnUifQ.rGt0T1fD4kyX0AbViKkyacRTGC_BNg-4LXO675cPDyDCzTPwF04flG-A0JuGNAufWZwAYdD6XTwpx-BPZ2WqnaVZ7NOZE-9RUlIppDKJt-Gn5eNAUIzK3Kjlv6_E2HFgQWW_PjnvaHqzeW1viENb4t3KsqHT35Aiuh8I0YgrgG5GW76QETuhtFU3VNlF1otA14YGZyjtVligXcA2CwEYUmCi8ow33B64-0ltQ9dAbMGxxy0pJxhcMpR8eorDIMWt1D0BejiitE7YRnYeWkyWSTbGWtW3tTKhD95s4LzYqEZsK0U-9KfsTLos32uGIQwmdEIbN7COQmEdMW24pQe8Cw\"})","file":"/home/ytvmclwh/document.amocrm.md/src/Models/Docs.php","line":121} {"uid":"5f8cd98"}
[2026-10-16 15:59:12] docflow.DEBUG: AmoDrive docflow context request {"url":"https://google.emale.uno/api/docflow/google-context","query":{"account_id":"32990686","entity_id":"51190719","entity_type":"leads"}} {"uid":"5f8cd98"}
[2026-10-16 15:59: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=51190719&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/16 15:59:12</td>\r\n</tr>\r\n</table>\r\n<hr><center>tengine</center>\r\n</body>\r\n</html>\r\n"} {"uid":"5f8cd98"}
[2026-10-16 15:59:12] docflow.DEBUG: AmoDrive docflow context request {"url":"https://gd.glucose-dev.online/api/docflow/google-context","query":{"account_id":"32990686","entity_id":"51190719","entity_type":"leads"}} {"uid":"5f8cd98"}
[2026-10-16 15:59: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":"51190719","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":"5f8cd98"}
[2026-10-16 15:59:12] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://google.emale.uno/api/docflow/prepare-generated-doc","payload":{"account_id":"32990686","entity_id":"51190719","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"5f8cd98"}
[2026-10-16 15:59:13] 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/16 15:59:13</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":"51190719","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"5f8cd98"}
[2026-10-16 15:59:13] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://gd.glucose-dev.online/api/docflow/prepare-generated-doc","payload":{"account_id":"32990686","entity_id":"51190719","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"5f8cd98"}
[2026-10-16 15:59:13] 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":"51190719","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"5f8cd98"}
[2026-10-16 15:59:13] 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 1373 20261016155912\",\"leadId\":\"51190719\",\"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-19 15:55:00\",\"\\u0414\\u0430\\u0442\\u0430 \\u0432\\u0438\\u0437\\u0438\\u0442\\u0430\":\"19.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\":\"Balu\",\"ID\":\"51190719\",\"\\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-19 15:55:00\",\"\\u0414\\u0430\\u0442\\u0430 \\u0432\\u0438\\u0437\\u0438\\u0442\\u0430\":\"19.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\":\"Balu\",\"ID\":\"51190719\",\"\\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\":{\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"373079964479\",\"\\u0418\\u043c\\u044f \\u043a\\u043b\\u0438\\u0435\\u043d\\u0442\\u0430 (\\u0421\\u041c\\u0421)\":\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442 079964479\",\"\\u0410\\u0434\\u0440\\u0435\\u0441\":\"str  Demenetei48 ap 38\",\"\\u0422\\u0438\\u043f \\u043a\\u043b\\u0438\\u0435\\u043d\\u0442\\u0430\":\"\\u0424\\u0438\\u0437.\\u043b\\u0438\\u0446\",\"\\u0420\\u0430\\u0439\\u043e\\u043d\":\"\\u0411\\u043e\\u0442\\u0430\\u043d\\u0438\\u043a\\u0430\",\"\\u0414\\u0430\\u0442\\u0430 \\u043c\\u043e\\u043d\\u0442\\u0430\\u0436\\u0430 (\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442)\":\"10.02.2018\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Elena\",\"Contact_name\":\"Elena\",\"\\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\":\"373079964479\",\"\\u0418\\u043c\\u044f \\u043a\\u043b\\u0438\\u0435\\u043d\\u0442\\u0430 (\\u0421\\u041c\\u0421)\":\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442 079964479\",\"\\u0410\\u0434\\u0440\\u0435\\u0441\":\"str  Demenetei48 ap 38\",\"\\u0422\\u0438\\u043f \\u043a\\u043b\\u0438\\u0435\\u043d\\u0442\\u0430\":\"\\u0424\\u0438\\u0437.\\u043b\\u0438\\u0446\",\"\\u0420\\u0430\\u0439\\u043e\\u043d\":\"\\u0411\\u043e\\u0442\\u0430\\u043d\\u0438\\u043a\\u0430\",\"\\u0414\\u0430\\u0442\\u0430 \\u043c\\u043e\\u043d\\u0442\\u0430\\u0436\\u0430 (\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442)\":\"10.02.2018\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Elena\",\"Contact_name\":\"Elena\",\"\\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\":\"373079964479\",\"\\u0418\\u043c\\u044f \\u043a\\u043b\\u0438\\u0435\\u043d\\u0442\\u0430 (\\u0421\\u041c\\u0421)\":\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442 079964479\",\"\\u0410\\u0434\\u0440\\u0435\\u0441\":\"str  Demenetei48 ap 38\",\"\\u0422\\u0438\\u043f \\u043a\\u043b\\u0438\\u0435\\u043d\\u0442\\u0430\":\"\\u0424\\u0438\\u0437.\\u043b\\u0438\\u0446\",\"\\u0420\\u0430\\u0439\\u043e\\u043d\":\"\\u0411\\u043e\\u0442\\u0430\\u043d\\u0438\\u043a\\u0430\",\"\\u0414\\u0430\\u0442\\u0430 \\u043c\\u043e\\u043d\\u0442\\u0430\\u0436\\u0430 (\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442)\":\"10.02.2018\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Elena\",\"\\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\":\"16.10.2026\",\"\\u041d\\u043e\\u043c\\u0435\\u0440\":\"1373\"},\"document\":{\"Date\":\"16.10.2026\",\"Number\":\"1373\"}}}","edit":true}} {"uid":"5f8cd98"}
[2026-10-16 15:59:21] docflow.DEBUG: GAS raw response {"raw":"[object] (stdClass: {\"code\":1,\"url\":\"https://docs.google.com/open?id=1tJYypc_UuKRQsI_lZyi5w4hC4STHQmkB1weW02ERvwI\",\"file_id\":\"1tJYypc_UuKRQsI_lZyi5w4hC4STHQmkB1weW02ERvwI\",\"error\":\"\",\"vars\":\"\"})"} {"uid":"5f8cd98"}
[2026-10-16 15:59:21] docflow.WARNING: AmoDrive generated-file move is not ready. {"fileId":"1tJYypc_UuKRQsI_lZyi5w4hC4STHQmkB1weW02ERvwI","context":null} {"uid":"5f8cd98"}
[2026-10-16 15:59:57] docflow.INFO: Apel createDoc {"data":{"amoAccountId":"32990686","amoUserId":null,"amoEntityId":"51190719","amoEntityType":"2","templateId":"11646","corporateEntityId":"","settlementAccountId":"","is_signed":null,"gdi":null,"number":null,"currentAmoUserId":null,"lang":"ru"}} {"uid":"9e24f60"}
[2026-10-16 15:59:58] docflow.INFO: Token is valid for account 32990686. [] {"uid":"9e24f60"}
[2026-10-16 15:59:58] docflow.DEBUG: getClientAuth returned {"auth":"[object] (stdClass: {\"domain\":\"eurosanteh.amocrm.ru\",\"access_token\":\"eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImp0aSI6Ijc1YmU1MzQ3NDI3MTIyNTc0YzhjOWNiMDRhMDI2OTc5OGNhMTI2NDRkMGI2NWJlNmYzNWI4NTY3ZjdmZDk1OTRmODVlOTU3ZWNiMmQ2YTg1In0.eyJhdWQiOiIwZDY0ZGZmYi1lNTRiLTQ0OGYtOWZiZi1iYWYyMjUxYTExZGIiLCJqdGkiOiI3NWJlNTM0NzQyNzEyMjU3NGM4YzljYjA0YTAyNjk3OThjYTEyNjQ0ZDBiNjViZTZmMzViODU2N2Y3ZmQ5NTk0Zjg1ZTk1N2VjYjJkNmE4NSIsImlhdCI6MTc5MjA2OTYwOSwibmJmIjoxNzkyMDY5NjA5LCJleHAiOjE3OTIxNTYwMDksInN1YiI6IjEzNjg3MzAyIiwiZ3JhbnRfdHlwZSI6IiIsImFjY291bnRfaWQiOjMyOTkwNjg2LCJiYXNlX2RvbWFpbiI6ImFtb2NybS5ydSIsInZlcnNpb24iOjIsInNjb3BlcyI6WyJwdXNoX25vdGlmaWNhdGlvbnMiLCJjcm0iLCJub3RpZmljYXRpb25zIl0sImhhc2hfdXVpZCI6IjZmODlkMzc2LWRmNjAtNDhjZC05MGU4LTIzOTY1Mjk0NTY2ZiIsImFwaV9kb21haW4iOiJhcGktYi5hbW9jcm0ucnUifQ.rGt0T1fD4kyX0AbViKkyacRTGC_BNg-4LXO675cPDyDCzTPwF04flG-A0JuGNAufWZwAYdD6XTwpx-BPZ2WqnaVZ7NOZE-9RUlIppDKJt-Gn5eNAUIzK3Kjlv6_E2HFgQWW_PjnvaHqzeW1viENb4t3KsqHT35Aiuh8I0YgrgG5GW76QETuhtFU3VNlF1otA14YGZyjtVligXcA2CwEYUmCi8ow33B64-0ltQ9dAbMGxxy0pJxhcMpR8eorDIMWt1D0BejiitE7YRnYeWkyWSTbGWtW3tTKhD95s4LzYqEZsK0U-9KfsTLos32uGIQwmdEIbN7COQmEdMW24pQe8Cw\"})","file":"/home/ytvmclwh/document.amocrm.md/src/Models/Docs.php","line":121} {"uid":"9e24f60"}
[2026-10-16 16:00:00] docflow.DEBUG: AmoDrive docflow context request {"url":"https://google.emale.uno/api/docflow/google-context","query":{"account_id":"32990686","entity_id":"51190719","entity_type":"leads"}} {"uid":"9e24f60"}
[2026-10-16 16:00: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=51190719&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/16 16:00:00</td>\r\n</tr>\r\n</table>\r\n<hr><center>tengine</center>\r\n</body>\r\n</html>\r\n"} {"uid":"9e24f60"}
[2026-10-16 16:00:00] docflow.DEBUG: AmoDrive docflow context request {"url":"https://gd.glucose-dev.online/api/docflow/google-context","query":{"account_id":"32990686","entity_id":"51190719","entity_type":"leads"}} {"uid":"9e24f60"}
[2026-10-16 16:00: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":"51190719","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":"9e24f60"}
[2026-10-16 16:00:00] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://google.emale.uno/api/docflow/prepare-generated-doc","payload":{"account_id":"32990686","entity_id":"51190719","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"9e24f60"}
[2026-10-16 16:00: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/16 16:00: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":"51190719","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"9e24f60"}
[2026-10-16 16:00: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":"51190719","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"9e24f60"}
[2026-10-16 16:00: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":"51190719","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"9e24f60"}
[2026-10-16 16:00: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 1373 20261016160000\",\"leadId\":\"51190719\",\"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-19 15:55:00\",\"\\u0414\\u0430\\u0442\\u0430 \\u0432\\u0438\\u0437\\u0438\\u0442\\u0430\":\"19.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\":\"Balu\",\"ID\":\"51190719\",\"\\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-19 15:55:00\",\"\\u0414\\u0430\\u0442\\u0430 \\u0432\\u0438\\u0437\\u0438\\u0442\\u0430\":\"19.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\":\"Balu\",\"ID\":\"51190719\",\"\\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\":{\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"373079964479\",\"\\u0418\\u043c\\u044f \\u043a\\u043b\\u0438\\u0435\\u043d\\u0442\\u0430 (\\u0421\\u041c\\u0421)\":\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442 079964479\",\"\\u0410\\u0434\\u0440\\u0435\\u0441\":\"str  Demenetei48 ap 38\",\"\\u0422\\u0438\\u043f \\u043a\\u043b\\u0438\\u0435\\u043d\\u0442\\u0430\":\"\\u0424\\u0438\\u0437.\\u043b\\u0438\\u0446\",\"\\u0420\\u0430\\u0439\\u043e\\u043d\":\"\\u0411\\u043e\\u0442\\u0430\\u043d\\u0438\\u043a\\u0430\",\"\\u0414\\u0430\\u0442\\u0430 \\u043c\\u043e\\u043d\\u0442\\u0430\\u0436\\u0430 (\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442)\":\"10.02.2018\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Elena\",\"Contact_name\":\"Elena\",\"\\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\":\"373079964479\",\"\\u0418\\u043c\\u044f \\u043a\\u043b\\u0438\\u0435\\u043d\\u0442\\u0430 (\\u0421\\u041c\\u0421)\":\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442 079964479\",\"\\u0410\\u0434\\u0440\\u0435\\u0441\":\"str  Demenetei48 ap 38\",\"\\u0422\\u0438\\u043f \\u043a\\u043b\\u0438\\u0435\\u043d\\u0442\\u0430\":\"\\u0424\\u0438\\u0437.\\u043b\\u0438\\u0446\",\"\\u0420\\u0430\\u0439\\u043e\\u043d\":\"\\u0411\\u043e\\u0442\\u0430\\u043d\\u0438\\u043a\\u0430\",\"\\u0414\\u0430\\u0442\\u0430 \\u043c\\u043e\\u043d\\u0442\\u0430\\u0436\\u0430 (\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442)\":\"10.02.2018\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Elena\",\"Contact_name\":\"Elena\",\"\\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\":\"373079964479\",\"\\u0418\\u043c\\u044f \\u043a\\u043b\\u0438\\u0435\\u043d\\u0442\\u0430 (\\u0421\\u041c\\u0421)\":\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442 079964479\",\"\\u0410\\u0434\\u0440\\u0435\\u0441\":\"str  Demenetei48 ap 38\",\"\\u0422\\u0438\\u043f \\u043a\\u043b\\u0438\\u0435\\u043d\\u0442\\u0430\":\"\\u0424\\u0438\\u0437.\\u043b\\u0438\\u0446\",\"\\u0420\\u0430\\u0439\\u043e\\u043d\":\"\\u0411\\u043e\\u0442\\u0430\\u043d\\u0438\\u043a\\u0430\",\"\\u0414\\u0430\\u0442\\u0430 \\u043c\\u043e\\u043d\\u0442\\u0430\\u0436\\u0430 (\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442)\":\"10.02.2018\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Elena\",\"\\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\":\"16.10.2026\",\"\\u041d\\u043e\\u043c\\u0435\\u0440\":\"1373\"},\"document\":{\"Date\":\"16.10.2026\",\"Number\":\"1373\"}}}","edit":true}} {"uid":"9e24f60"}
[2026-10-16 16:00:07] docflow.DEBUG: GAS raw response {"raw":"[object] (stdClass: {\"code\":1,\"url\":\"https://docs.google.com/open?id=1koyFkmSEjWqt5Ap6dzt6ESFgTFsdK9q9uCWc3I0idLw\",\"file_id\":\"1koyFkmSEjWqt5Ap6dzt6ESFgTFsdK9q9uCWc3I0idLw\",\"error\":\"\",\"vars\":\"\"})"} {"uid":"9e24f60"}
[2026-10-16 16:00:07] docflow.WARNING: AmoDrive generated-file move is not ready. {"fileId":"1koyFkmSEjWqt5Ap6dzt6ESFgTFsdK9q9uCWc3I0idLw","context":null} {"uid":"9e24f60"}
[2026-10-16 16:03:11] docflow.INFO: Apel createDoc {"data":{"amoAccountId":"32990686","amoUserId":null,"amoEntityId":"51161919","amoEntityType":"2","templateId":"11625","corporateEntityId":"","settlementAccountId":"","is_signed":null,"gdi":null,"number":null,"currentAmoUserId":null,"lang":"ru"}} {"uid":"dbbd49e"}
[2026-10-16 16:03:12] docflow.INFO: Token is valid for account 32990686. [] {"uid":"dbbd49e"}
[2026-10-16 16:03:12] docflow.DEBUG: getClientAuth returned {"auth":"[object] (stdClass: {\"domain\":\"eurosanteh.amocrm.ru\",\"access_token\":\"eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImp0aSI6Ijc1YmU1MzQ3NDI3MTIyNTc0YzhjOWNiMDRhMDI2OTc5OGNhMTI2NDRkMGI2NWJlNmYzNWI4NTY3ZjdmZDk1OTRmODVlOTU3ZWNiMmQ2YTg1In0.eyJhdWQiOiIwZDY0ZGZmYi1lNTRiLTQ0OGYtOWZiZi1iYWYyMjUxYTExZGIiLCJqdGkiOiI3NWJlNTM0NzQyNzEyMjU3NGM4YzljYjA0YTAyNjk3OThjYTEyNjQ0ZDBiNjViZTZmMzViODU2N2Y3ZmQ5NTk0Zjg1ZTk1N2VjYjJkNmE4NSIsImlhdCI6MTc5MjA2OTYwOSwibmJmIjoxNzkyMDY5NjA5LCJleHAiOjE3OTIxNTYwMDksInN1YiI6IjEzNjg3MzAyIiwiZ3JhbnRfdHlwZSI6IiIsImFjY291bnRfaWQiOjMyOTkwNjg2LCJiYXNlX2RvbWFpbiI6ImFtb2NybS5ydSIsInZlcnNpb24iOjIsInNjb3BlcyI6WyJwdXNoX25vdGlmaWNhdGlvbnMiLCJjcm0iLCJub3RpZmljYXRpb25zIl0sImhhc2hfdXVpZCI6IjZmODlkMzc2LWRmNjAtNDhjZC05MGU4LTIzOTY1Mjk0NTY2ZiIsImFwaV9kb21haW4iOiJhcGktYi5hbW9jcm0ucnUifQ.rGt0T1fD4kyX0AbViKkyacRTGC_BNg-4LXO675cPDyDCzTPwF04flG-A0JuGNAufWZwAYdD6XTwpx-BPZ2WqnaVZ7NOZE-9RUlIppDKJt-Gn5eNAUIzK3Kjlv6_E2HFgQWW_PjnvaHqzeW1viENb4t3KsqHT35Aiuh8I0YgrgG5GW76QETuhtFU3VNlF1otA14YGZyjtVligXcA2CwEYUmCi8ow33B64-0ltQ9dAbMGxxy0pJxhcMpR8eorDIMWt1D0BejiitE7YRnYeWkyWSTbGWtW3tTKhD95s4LzYqEZsK0U-9KfsTLos32uGIQwmdEIbN7COQmEdMW24pQe8Cw\"})","file":"/home/ytvmclwh/document.amocrm.md/src/Models/Docs.php","line":121} {"uid":"dbbd49e"}
[2026-10-16 16:03:15] docflow.DEBUG: AmoDrive docflow context request {"url":"https://google.emale.uno/api/docflow/google-context","query":{"account_id":"32990686","entity_id":"51161919","entity_type":"leads"}} {"uid":"dbbd49e"}
[2026-10-16 16:03: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=32990686&amp;entity_id=51161919&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/16 16:03:15</td>\r\n</tr>\r\n</table>\r\n<hr><center>tengine</center>\r\n</body>\r\n</html>\r\n"} {"uid":"dbbd49e"}
[2026-10-16 16:03:15] docflow.DEBUG: AmoDrive docflow context request {"url":"https://gd.glucose-dev.online/api/docflow/google-context","query":{"account_id":"32990686","entity_id":"51161919","entity_type":"leads"}} {"uid":"dbbd49e"}
[2026-10-16 16:03: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":32990686,"entityId":"51161919","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":"dbbd49e"}
[2026-10-16 16:03:15] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://google.emale.uno/api/docflow/prepare-generated-doc","payload":{"account_id":"32990686","entity_id":"51161919","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"dbbd49e"}
[2026-10-16 16:03:15] 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/16 16:03:15</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":"51161919","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"dbbd49e"}
[2026-10-16 16:03:15] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://gd.glucose-dev.online/api/docflow/prepare-generated-doc","payload":{"account_id":"32990686","entity_id":"51161919","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"dbbd49e"}
[2026-10-16 16:03:15] 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":"51161919","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"dbbd49e"}
[2026-10-16 16:03:15] 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 1374 20261016160315\",\"leadId\":\"51161919\",\"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-19 12:17:00\",\"\\u0414\\u0430\\u0442\\u0430 \\u0432\\u0438\\u0437\\u0438\\u0442\\u0430\":\"19.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\":\"\\u0420\\u0435\\u043c\\u043e\\u043d\\u0442 \\u043e\\u0431\\u043e\\u0440\\u0443\\u0434\\u043e\\u0432\\u0430\\u043d\\u0438\\u044f\",\"\\u0412\\u0438\\u0434 \\u0432\\u044b\\u043f\\u043e\\u043b\\u043d\\u0435\\u043d\\u043d\\u044b\\u0445 \\u0440\\u0430\\u0431\\u043e\\u0442\":\"\\u0420\\u0435\\u043c\\u043e\\u043d\\u0442 \\u0438\\u043b\\u0438 \\u0437\\u0430\\u043c\\u0435\\u043d\\u0430 \\u0434\\u0440\\u0435\\u043d\\u0430\\u0436\\u043d\\u044b\\u0445 \\u0442\\u0440\\u0443\\u0431 \\u0438 \\u043d\\u0430\\u0441\\u043e\\u0441\\u043e\\u0432\",\"\\u041c\\u043e\\u0434\\u0435\\u043b\\u044c \\u043e\\u0431\\u043e\\u0440\\u0443\\u0434\\u043e\\u0432\\u0430\\u043d\\u0438\\u044f 1\":\"Suzuki ph8\",\"ID\":\"51161919\",\"\\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\":{\"\\u0414\\u0430\\u0442\\u0430 \\u0438 \\u0432\\u0440\\u0435\\u043c\\u044f \\u0432\\u0438\\u0437\\u0438\\u0442\\u0430\":\"2026-10-19 12:17:00\",\"\\u0414\\u0430\\u0442\\u0430 \\u0432\\u0438\\u0437\\u0438\\u0442\\u0430\":\"19.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\":\"\\u0420\\u0435\\u043c\\u043e\\u043d\\u0442 \\u043e\\u0431\\u043e\\u0440\\u0443\\u0434\\u043e\\u0432\\u0430\\u043d\\u0438\\u044f\",\"\\u0412\\u0438\\u0434 \\u0432\\u044b\\u043f\\u043e\\u043b\\u043d\\u0435\\u043d\\u043d\\u044b\\u0445 \\u0440\\u0430\\u0431\\u043e\\u0442\":\"\\u0420\\u0435\\u043c\\u043e\\u043d\\u0442 \\u0438\\u043b\\u0438 \\u0437\\u0430\\u043c\\u0435\\u043d\\u0430 \\u0434\\u0440\\u0435\\u043d\\u0430\\u0436\\u043d\\u044b\\u0445 \\u0442\\u0440\\u0443\\u0431 \\u0438 \\u043d\\u0430\\u0441\\u043e\\u0441\\u043e\\u0432\",\"\\u041c\\u043e\\u0434\\u0435\\u043b\\u044c \\u043e\\u0431\\u043e\\u0440\\u0443\\u0434\\u043e\\u0432\\u0430\\u043d\\u0438\\u044f 1\":\"Suzuki ph8\",\"ID\":\"51161919\",\"\\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\":{\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"37367360330\",\"\\u0418\\u043c\\u044f \\u043a\\u043b\\u0438\\u0435\\u043d\\u0442\\u0430 (\\u0421\\u041c\\u0421)\":\"Victor\",\"\\u0410\\u0434\\u0440\\u0435\\u0441\":\"\\u044f\\u043b\\u043e\\u0432\\u0435\\u043d\\u0441\\u043a\\u0430\\u044f 107\\/9 \\u0442\\u0430\\u0443\\u043d\\u0445\\u0430\\u0443\\u0441\\u044b\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Victor\",\"Contact_name\":\"Victor\",\"\\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\":\"37367360330\",\"\\u0418\\u043c\\u044f \\u043a\\u043b\\u0438\\u0435\\u043d\\u0442\\u0430 (\\u0421\\u041c\\u0421)\":\"Victor\",\"\\u0410\\u0434\\u0440\\u0435\\u0441\":\"\\u044f\\u043b\\u043e\\u0432\\u0435\\u043d\\u0441\\u043a\\u0430\\u044f 107\\/9 \\u0442\\u0430\\u0443\\u043d\\u0445\\u0430\\u0443\\u0441\\u044b\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Victor\",\"Contact_name\":\"Victor\",\"\\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\":\"37367360330\",\"\\u0418\\u043c\\u044f \\u043a\\u043b\\u0438\\u0435\\u043d\\u0442\\u0430 (\\u0421\\u041c\\u0421)\":\"Victor\",\"\\u0410\\u0434\\u0440\\u0435\\u0441\":\"\\u044f\\u043b\\u043e\\u0432\\u0435\\u043d\\u0441\\u043a\\u0430\\u044f 107\\/9 \\u0442\\u0430\\u0443\\u043d\\u0445\\u0430\\u0443\\u0441\\u044b\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Victor\",\"\\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\":\"16.10.2026\",\"\\u041d\\u043e\\u043c\\u0435\\u0440\":\"1374\"},\"document\":{\"Date\":\"16.10.2026\",\"Number\":\"1374\"}}}","edit":true}} {"uid":"dbbd49e"}
[2026-10-16 16:03:20] docflow.DEBUG: GAS raw response {"raw":"[object] (stdClass: {\"code\":1,\"url\":\"https://docs.google.com/open?id=1S7hjGcwS_gEaUiyThCzmmTj3tKNSCe2GQRKxIbsWhr4\",\"file_id\":\"1S7hjGcwS_gEaUiyThCzmmTj3tKNSCe2GQRKxIbsWhr4\",\"error\":\"\",\"vars\":\"\"})"} {"uid":"dbbd49e"}
[2026-10-16 16:03:20] docflow.WARNING: AmoDrive generated-file move is not ready. {"fileId":"1S7hjGcwS_gEaUiyThCzmmTj3tKNSCe2GQRKxIbsWhr4","context":null} {"uid":"dbbd49e"}
[2026-10-16 16:03:41] docflow.INFO: Apel createDoc {"data":{"amoAccountId":"32990686","amoUserId":null,"amoEntityId":"51161919","amoEntityType":"2","templateId":"11646","corporateEntityId":"","settlementAccountId":"","is_signed":null,"gdi":null,"number":null,"currentAmoUserId":null,"lang":"ru"}} {"uid":"33c54f9"}
[2026-10-16 16:03:41] docflow.INFO: Token is valid for account 32990686. [] {"uid":"33c54f9"}
[2026-10-16 16:03:41] docflow.DEBUG: getClientAuth returned {"auth":"[object] (stdClass: {\"domain\":\"eurosanteh.amocrm.ru\",\"access_token\":\"eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImp0aSI6Ijc1YmU1MzQ3NDI3MTIyNTc0YzhjOWNiMDRhMDI2OTc5OGNhMTI2NDRkMGI2NWJlNmYzNWI4NTY3ZjdmZDk1OTRmODVlOTU3ZWNiMmQ2YTg1In0.eyJhdWQiOiIwZDY0ZGZmYi1lNTRiLTQ0OGYtOWZiZi1iYWYyMjUxYTExZGIiLCJqdGkiOiI3NWJlNTM0NzQyNzEyMjU3NGM4YzljYjA0YTAyNjk3OThjYTEyNjQ0ZDBiNjViZTZmMzViODU2N2Y3ZmQ5NTk0Zjg1ZTk1N2VjYjJkNmE4NSIsImlhdCI6MTc5MjA2OTYwOSwibmJmIjoxNzkyMDY5NjA5LCJleHAiOjE3OTIxNTYwMDksInN1YiI6IjEzNjg3MzAyIiwiZ3JhbnRfdHlwZSI6IiIsImFjY291bnRfaWQiOjMyOTkwNjg2LCJiYXNlX2RvbWFpbiI6ImFtb2NybS5ydSIsInZlcnNpb24iOjIsInNjb3BlcyI6WyJwdXNoX25vdGlmaWNhdGlvbnMiLCJjcm0iLCJub3RpZmljYXRpb25zIl0sImhhc2hfdXVpZCI6IjZmODlkMzc2LWRmNjAtNDhjZC05MGU4LTIzOTY1Mjk0NTY2ZiIsImFwaV9kb21haW4iOiJhcGktYi5hbW9jcm0ucnUifQ.rGt0T1fD4kyX0AbViKkyacRTGC_BNg-4LXO675cPDyDCzTPwF04flG-A0JuGNAufWZwAYdD6XTwpx-BPZ2WqnaVZ7NOZE-9RUlIppDKJt-Gn5eNAUIzK3Kjlv6_E2HFgQWW_PjnvaHqzeW1viENb4t3KsqHT35Aiuh8I0YgrgG5GW76QETuhtFU3VNlF1otA14YGZyjtVligXcA2CwEYUmCi8ow33B64-0ltQ9dAbMGxxy0pJxhcMpR8eorDIMWt1D0BejiitE7YRnYeWkyWSTbGWtW3tTKhD95s4LzYqEZsK0U-9KfsTLos32uGIQwmdEIbN7COQmEdMW24pQe8Cw\"})","file":"/home/ytvmclwh/document.amocrm.md/src/Models/Docs.php","line":121} {"uid":"33c54f9"}
[2026-10-16 16:03:44] docflow.DEBUG: AmoDrive docflow context request {"url":"https://google.emale.uno/api/docflow/google-context","query":{"account_id":"32990686","entity_id":"51161919","entity_type":"leads"}} {"uid":"33c54f9"}
[2026-10-16 16:03:44] 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=51161919&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/16 16:03:44</td>\r\n</tr>\r\n</table>\r\n<hr><center>tengine</center>\r\n</body>\r\n</html>\r\n"} {"uid":"33c54f9"}
[2026-10-16 16:03:44] docflow.DEBUG: AmoDrive docflow context request {"url":"https://gd.glucose-dev.online/api/docflow/google-context","query":{"account_id":"32990686","entity_id":"51161919","entity_type":"leads"}} {"uid":"33c54f9"}
[2026-10-16 16:03: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":"51161919","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":"33c54f9"}
[2026-10-16 16:03:45] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://google.emale.uno/api/docflow/prepare-generated-doc","payload":{"account_id":"32990686","entity_id":"51161919","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"33c54f9"}
[2026-10-16 16:03: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/16 16:03: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":"51161919","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"33c54f9"}
[2026-10-16 16:03: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":"51161919","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"33c54f9"}
[2026-10-16 16:03: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":"51161919","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"33c54f9"}
[2026-10-16 16:03: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 1374 20261016160344\",\"leadId\":\"51161919\",\"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-19 12:17:00\",\"\\u0414\\u0430\\u0442\\u0430 \\u0432\\u0438\\u0437\\u0438\\u0442\\u0430\":\"19.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\":\"\\u0420\\u0435\\u043c\\u043e\\u043d\\u0442 \\u043e\\u0431\\u043e\\u0440\\u0443\\u0434\\u043e\\u0432\\u0430\\u043d\\u0438\\u044f\",\"\\u0412\\u0438\\u0434 \\u0432\\u044b\\u043f\\u043e\\u043b\\u043d\\u0435\\u043d\\u043d\\u044b\\u0445 \\u0440\\u0430\\u0431\\u043e\\u0442\":\"\\u0420\\u0435\\u043c\\u043e\\u043d\\u0442 \\u0438\\u043b\\u0438 \\u0437\\u0430\\u043c\\u0435\\u043d\\u0430 \\u0434\\u0440\\u0435\\u043d\\u0430\\u0436\\u043d\\u044b\\u0445 \\u0442\\u0440\\u0443\\u0431 \\u0438 \\u043d\\u0430\\u0441\\u043e\\u0441\\u043e\\u0432\",\"\\u041c\\u043e\\u0434\\u0435\\u043b\\u044c \\u043e\\u0431\\u043e\\u0440\\u0443\\u0434\\u043e\\u0432\\u0430\\u043d\\u0438\\u044f 1\":\"Suzuki ph8\",\"ID\":\"51161919\",\"\\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\":{\"\\u0414\\u0430\\u0442\\u0430 \\u0438 \\u0432\\u0440\\u0435\\u043c\\u044f \\u0432\\u0438\\u0437\\u0438\\u0442\\u0430\":\"2026-10-19 12:17:00\",\"\\u0414\\u0430\\u0442\\u0430 \\u0432\\u0438\\u0437\\u0438\\u0442\\u0430\":\"19.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\":\"\\u0420\\u0435\\u043c\\u043e\\u043d\\u0442 \\u043e\\u0431\\u043e\\u0440\\u0443\\u0434\\u043e\\u0432\\u0430\\u043d\\u0438\\u044f\",\"\\u0412\\u0438\\u0434 \\u0432\\u044b\\u043f\\u043e\\u043b\\u043d\\u0435\\u043d\\u043d\\u044b\\u0445 \\u0440\\u0430\\u0431\\u043e\\u0442\":\"\\u0420\\u0435\\u043c\\u043e\\u043d\\u0442 \\u0438\\u043b\\u0438 \\u0437\\u0430\\u043c\\u0435\\u043d\\u0430 \\u0434\\u0440\\u0435\\u043d\\u0430\\u0436\\u043d\\u044b\\u0445 \\u0442\\u0440\\u0443\\u0431 \\u0438 \\u043d\\u0430\\u0441\\u043e\\u0441\\u043e\\u0432\",\"\\u041c\\u043e\\u0434\\u0435\\u043b\\u044c \\u043e\\u0431\\u043e\\u0440\\u0443\\u0434\\u043e\\u0432\\u0430\\u043d\\u0438\\u044f 1\":\"Suzuki ph8\",\"ID\":\"51161919\",\"\\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\":{\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"37367360330\",\"\\u0418\\u043c\\u044f \\u043a\\u043b\\u0438\\u0435\\u043d\\u0442\\u0430 (\\u0421\\u041c\\u0421)\":\"Victor\",\"\\u0410\\u0434\\u0440\\u0435\\u0441\":\"\\u044f\\u043b\\u043e\\u0432\\u0435\\u043d\\u0441\\u043a\\u0430\\u044f 107\\/9 \\u0442\\u0430\\u0443\\u043d\\u0445\\u0430\\u0443\\u0441\\u044b\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Victor\",\"Contact_name\":\"Victor\",\"\\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\":\"37367360330\",\"\\u0418\\u043c\\u044f \\u043a\\u043b\\u0438\\u0435\\u043d\\u0442\\u0430 (\\u0421\\u041c\\u0421)\":\"Victor\",\"\\u0410\\u0434\\u0440\\u0435\\u0441\":\"\\u044f\\u043b\\u043e\\u0432\\u0435\\u043d\\u0441\\u043a\\u0430\\u044f 107\\/9 \\u0442\\u0430\\u0443\\u043d\\u0445\\u0430\\u0443\\u0441\\u044b\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Victor\",\"Contact_name\":\"Victor\",\"\\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\":\"37367360330\",\"\\u0418\\u043c\\u044f \\u043a\\u043b\\u0438\\u0435\\u043d\\u0442\\u0430 (\\u0421\\u041c\\u0421)\":\"Victor\",\"\\u0410\\u0434\\u0440\\u0435\\u0441\":\"\\u044f\\u043b\\u043e\\u0432\\u0435\\u043d\\u0441\\u043a\\u0430\\u044f 107\\/9 \\u0442\\u0430\\u0443\\u043d\\u0445\\u0430\\u0443\\u0441\\u044b\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Victor\",\"\\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\":\"16.10.2026\",\"\\u041d\\u043e\\u043c\\u0435\\u0440\":\"1374\"},\"document\":{\"Date\":\"16.10.2026\",\"Number\":\"1374\"}}}","edit":true}} {"uid":"33c54f9"}
[2026-10-16 16:03:51] docflow.DEBUG: GAS raw response {"raw":"[object] (stdClass: {\"code\":1,\"url\":\"https://docs.google.com/open?id=1oMaPhRg1M4A47AZMPfr-wa64BD1rhF4n8PvZBCVV5is\",\"file_id\":\"1oMaPhRg1M4A47AZMPfr-wa64BD1rhF4n8PvZBCVV5is\",\"error\":\"\",\"vars\":\"\"})"} {"uid":"33c54f9"}
[2026-10-16 16:03:51] docflow.WARNING: AmoDrive generated-file move is not ready. {"fileId":"1oMaPhRg1M4A47AZMPfr-wa64BD1rhF4n8PvZBCVV5is","context":null} {"uid":"33c54f9"}
[2026-10-16 16:04:24] docflow.INFO: Apel createDoc {"data":{"amoAccountId":"22699852","amoUserId":null,"amoEntityId":"42767370","amoEntityType":"2","templateId":"11522","corporateEntityId":"","settlementAccountId":"","is_signed":null,"gdi":null,"number":null,"currentAmoUserId":null,"lang":"ru"}} {"uid":"1771864"}
[2026-10-16 16:04:25] docflow.INFO: Token is valid for account 22699852. [] {"uid":"1771864"}
[2026-10-16 16:04:25] docflow.DEBUG: getClientAuth returned {"auth":"[object] (stdClass: {\"domain\":\"emigrare.amocrm.ru\",\"access_token\":\"eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImp0aSI6ImFiZmZkMzBkYzk5MWY5ZmRjNTY2NzA2YjEyMGZiY2RkZTJlNDIxNmRjNDZjMDAwMThhNzFhMGZkODAwNWRkYmIwNDkxMGIxMGVkMjc2ZWIzIn0.eyJhdWQiOiIwZDY0ZGZmYi1lNTRiLTQ0OGYtOWZiZi1iYWYyMjUxYTExZGIiLCJqdGkiOiJhYmZmZDMwZGM5OTFmOWZkYzU2NjcwNmIxMjBmYmNkZGUyZTQyMTZkYzQ2YzAwMDE4YTcxYTBmZDgwMDVkZGJiMDQ5MTBiMTBlZDI3NmViMyIsImlhdCI6MTc5MjE1MTA1MiwibmJmIjoxNzkyMTUxMDUyLCJleHAiOjE3OTIyMzc0NTIsInN1YiI6IjI5MzAzODAiLCJncmFudF90eXBlIjoiIiwiYWNjb3VudF9pZCI6MjI2OTk4NTIsImJhc2VfZG9tYWluIjoiYW1vY3JtLnJ1IiwidmVyc2lvbiI6Miwic2NvcGVzIjpbInB1c2hfbm90aWZpY2F0aW9ucyIsImNybSIsIm5vdGlmaWNhdGlvbnMiXSwiaGFzaF91dWlkIjoiZWFjYjdhMWYtZDg1ZS00OTU0LThjNDEtMDMwZWRmNzJhMTVkIiwiYXBpX2RvbWFpbiI6ImFwaS1hLmFtb2NybS5ydSJ9.iNKoniLvooi4e-IcUzdQwUQjDWdEHDqC5mw0WfmgyQOMJwYyT-Ppk5tCYAeSQCvZfcNQMj9zVsQ7ekcKhRmHYHoOIMhLdJoC3XdHJe9lfa_Ebm8Zun1J8sqMAiQ3z_C5t6HieghXYcJ50Hf8v4MjvK-rIy5HBYJcdH3fCZfhdrzfBJ0M3Wsiof1SbtilvAHsceq7TgmvgfWEAyITH_PXYDBPGTXCPBHXBCUhnLVL6iXopXYPuHF8e9w14TW9CsPR3wMYq45UVC9_IgMoeF9A13pmWNiIgTo1ZREQm7A53_JWaHavf75WK3D_vzUD3xfnMJvDY7o2ImdI5XSTZW6WFA\"})","file":"/home/ytvmclwh/document.amocrm.md/src/Models/Docs.php","line":121} {"uid":"1771864"}
[2026-10-16 16:04:27] docflow.DEBUG: AmoDrive docflow context request {"url":"https://google.emale.uno/api/docflow/google-context","query":{"account_id":"22699852","entity_id":"42767370","entity_type":"leads"}} {"uid":"1771864"}
[2026-10-16 16:04: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=22699852&amp;entity_id=42767370&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/16 16:04:27</td>\r\n</tr>\r\n</table>\r\n<hr><center>tengine</center>\r\n</body>\r\n</html>\r\n"} {"uid":"1771864"}
[2026-10-16 16:04:27] docflow.DEBUG: AmoDrive docflow context request {"url":"https://gd.glucose-dev.online/api/docflow/google-context","query":{"account_id":"22699852","entity_id":"42767370","entity_type":"leads"}} {"uid":"1771864"}
[2026-10-16 16:04: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":22699852,"entityId":"42767370","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":308,"isLifetime":false},"licenseActive":false,"googleConnected":false,"googleEmail":null,"googleHasDriveScope":false,"googleHasDriveFileScope":false,"googleHasOwnershipScope":false,"readyForGeneratedFileMove":false,"readyForTransfer":false},"folder":{"id":"12CDPFpr-TXYm5OZdBoeJ9Fy5d41TS-4A","name":"42767370 - Lead #42767370","webViewLink":"https://drive.google.com/drive/folders/12CDPFpr-TXYm5OZdBoeJ9Fy5d41TS-4A"}}} {"uid":"1771864"}
[2026-10-16 16:04:27] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://google.emale.uno/api/docflow/prepare-generated-doc","payload":{"account_id":"22699852","entity_id":"42767370","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"1771864"}
[2026-10-16 16:04: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/16 16:04: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":"22699852","entity_id":"42767370","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"1771864"}
[2026-10-16 16:04:27] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://gd.glucose-dev.online/api/docflow/prepare-generated-doc","payload":{"account_id":"22699852","entity_id":"42767370","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"1771864"}
[2026-10-16 16:04: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\":22699852})","payload":{"account_id":"22699852","entity_id":"42767370","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"1771864"}
[2026-10-16 16:04:27] docflow.DEBUG: GAS request {"url":"https://script.google.com/macros/s/AKfycbwrvOJD46zkuoTzdhpc1kulhV8jRfgQBFZfQ121nkIip_k8yKit4xrbWTOzaJ-C-Yed6w/exec","body":{"templateFileId":"1M1dp6-OiY3C3vJjFRbWbUpuGnIsP1x5FS0tPxhYbG3Q","accountId":"22699852","folderId":"1Us2AfskxgdA729xVr0F2vjZU9y5PlYDe","key":"~VTsK5dcnHc2cSSsjM$LFSjLlgbmJXwrp3R2P5nd","data":"{\"fileName\":\"\\u0421\\u0447\\u0435\\u0442 \\u043d\\u0430 \\u043e\\u043f\\u043b\\u0430\\u0442\\u0443 (Wise) 196 20261016160427\",\"leadId\":\"42767370\",\"entities\":{\"\\u0441\\u0434\\u0435\\u043b\\u043a\\u0430\":{\"ID\":\"42767370\",\"\\u0421\\u0434\\u0435\\u043b\\u043a\\u0430_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Prelungire domiciliu (03.10.26-03.10.27)\",\"Lead_name\":\"Prelungire domiciliu (03.10.26-03.10.27)\",\"\\u0411\\u044e\\u0434\\u0436\\u0435\\u0442\":\"350\",\"Budget\":\"350\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"Cezara Cenusa\",\"Responsible\":\"Cezara Cenusa\"},\"lead\":{\"ID\":\"42767370\",\"\\u0421\\u0434\\u0435\\u043b\\u043a\\u0430_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Prelungire domiciliu (03.10.26-03.10.27)\",\"Lead_name\":\"Prelungire domiciliu (03.10.26-03.10.27)\",\"\\u0411\\u044e\\u0434\\u0436\\u0435\\u0442\":\"350\",\"Budget\":\"350\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"Cezara Cenusa\",\"Responsible\":\"Cezara Cenusa\"},\"\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442\":{\"TelegramId_WZ\":\"174846986\",\"TelegramUsername_WZ\":\"@nastia_kriukova\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Anastasia Kryukova\",\"Contact_name\":\"Anastasia Kryukova\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"Cezara Cenusa\",\"Responsible\":\"Cezara Cenusa\"},\"contact\":{\"TelegramId_WZ\":\"174846986\",\"TelegramUsername_WZ\":\"@nastia_kriukova\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Anastasia Kryukova\",\"Contact_name\":\"Anastasia Kryukova\",\"\\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\":\"174846986\",\"TelegramUsername_WZ\":\"@nastia_kriukova\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Anastasia Kryukova\",\"\\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\":\"16.10.2026\",\"\\u041d\\u043e\\u043c\\u0435\\u0440\":\"196\"},\"document\":{\"Date\":\"16.10.2026\",\"Number\":\"196\"}}}","edit":true}} {"uid":"1771864"}
[2026-10-16 16:04:36] docflow.DEBUG: GAS raw response {"raw":"[object] (stdClass: {\"code\":1,\"url\":\"https://docs.google.com/open?id=1Nstfw64rc1Xw32AXdMjJDNpuTsCCSCY7eZ78fshiBPY\",\"file_id\":\"1Nstfw64rc1Xw32AXdMjJDNpuTsCCSCY7eZ78fshiBPY\",\"error\":\"\",\"vars\":\"\"})"} {"uid":"1771864"}
[2026-10-16 16:04:36] docflow.WARNING: AmoDrive generated-file move is not ready. {"fileId":"1Nstfw64rc1Xw32AXdMjJDNpuTsCCSCY7eZ78fshiBPY","context":null} {"uid":"1771864"}
[2026-10-16 16:18:45] docflow.INFO: Apel createDoc {"data":{"amoAccountId":"22699852","amoUserId":null,"amoEntityId":"42184430","amoEntityType":"2","templateId":"11495","corporateEntityId":"","settlementAccountId":"","is_signed":null,"gdi":null,"number":null,"currentAmoUserId":null,"lang":"ru"}} {"uid":"2999f0b"}
[2026-10-16 16:18:45] docflow.INFO: Token is valid for account 22699852. [] {"uid":"2999f0b"}
[2026-10-16 16:18:45] docflow.DEBUG: getClientAuth returned {"auth":"[object] (stdClass: {\"domain\":\"emigrare.amocrm.ru\",\"access_token\":\"eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImp0aSI6ImFiZmZkMzBkYzk5MWY5ZmRjNTY2NzA2YjEyMGZiY2RkZTJlNDIxNmRjNDZjMDAwMThhNzFhMGZkODAwNWRkYmIwNDkxMGIxMGVkMjc2ZWIzIn0.eyJhdWQiOiIwZDY0ZGZmYi1lNTRiLTQ0OGYtOWZiZi1iYWYyMjUxYTExZGIiLCJqdGkiOiJhYmZmZDMwZGM5OTFmOWZkYzU2NjcwNmIxMjBmYmNkZGUyZTQyMTZkYzQ2YzAwMDE4YTcxYTBmZDgwMDVkZGJiMDQ5MTBiMTBlZDI3NmViMyIsImlhdCI6MTc5MjE1MTA1MiwibmJmIjoxNzkyMTUxMDUyLCJleHAiOjE3OTIyMzc0NTIsInN1YiI6IjI5MzAzODAiLCJncmFudF90eXBlIjoiIiwiYWNjb3VudF9pZCI6MjI2OTk4NTIsImJhc2VfZG9tYWluIjoiYW1vY3JtLnJ1IiwidmVyc2lvbiI6Miwic2NvcGVzIjpbInB1c2hfbm90aWZpY2F0aW9ucyIsImNybSIsIm5vdGlmaWNhdGlvbnMiXSwiaGFzaF91dWlkIjoiZWFjYjdhMWYtZDg1ZS00OTU0LThjNDEtMDMwZWRmNzJhMTVkIiwiYXBpX2RvbWFpbiI6ImFwaS1hLmFtb2NybS5ydSJ9.iNKoniLvooi4e-IcUzdQwUQjDWdEHDqC5mw0WfmgyQOMJwYyT-Ppk5tCYAeSQCvZfcNQMj9zVsQ7ekcKhRmHYHoOIMhLdJoC3XdHJe9lfa_Ebm8Zun1J8sqMAiQ3z_C5t6HieghXYcJ50Hf8v4MjvK-rIy5HBYJcdH3fCZfhdrzfBJ0M3Wsiof1SbtilvAHsceq7TgmvgfWEAyITH_PXYDBPGTXCPBHXBCUhnLVL6iXopXYPuHF8e9w14TW9CsPR3wMYq45UVC9_IgMoeF9A13pmWNiIgTo1ZREQm7A53_JWaHavf75WK3D_vzUD3xfnMJvDY7o2ImdI5XSTZW6WFA\"})","file":"/home/ytvmclwh/document.amocrm.md/src/Models/Docs.php","line":121} {"uid":"2999f0b"}
[2026-10-16 16:18:47] docflow.DEBUG: AmoDrive docflow context request {"url":"https://google.emale.uno/api/docflow/google-context","query":{"account_id":"22699852","entity_id":"42184430","entity_type":"leads"}} {"uid":"2999f0b"}
[2026-10-16 16:18:48] docflow.WARNING: AmoDrive docflow context request failed {"url":"https://google.emale.uno/api/docflow/google-context","http_code":null,"error":"HTTP/2 400 ","response":"<!DOCTYPE HTML PUBLIC \"-//IETF//DTD HTML 2.0//EN\">\r\n<html>\r\n<head><title>400 Bad Request</title></head>\r\n<body>\r\n<center><h1>400 Bad Request</h1></center>\r\n Sorry for the inconvenience.<br/>\r\nPlease report this message and include the following information to us.<br/>\r\nThank you very much!</p>\r\n<table>\r\n<tr>\r\n<td>URL:</td>\r\n<td>https://gd.glucose-dev.online/api/docflow/google-context?account_id=22699852&amp;entity_id=42184430&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/16 16:18:48</td>\r\n</tr>\r\n</table>\r\n<hr><center>tengine</center>\r\n</body>\r\n</html>\r\n"} {"uid":"2999f0b"}
[2026-10-16 16:18:48] docflow.DEBUG: AmoDrive docflow context request {"url":"https://gd.glucose-dev.online/api/docflow/google-context","query":{"account_id":"22699852","entity_id":"42184430","entity_type":"leads"}} {"uid":"2999f0b"}
[2026-10-16 16:18:48] docflow.WARNING: AmoDrive docflow context response is not ready, trying next backend. {"url":"https://gd.glucose-dev.online/api/docflow/google-context","payload":{"ok":true,"accountId":22699852,"entityId":"42184430","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":308,"isLifetime":false},"licenseActive":false,"googleConnected":false,"googleEmail":null,"googleHasDriveScope":false,"googleHasDriveFileScope":false,"googleHasOwnershipScope":false,"readyForGeneratedFileMove":false,"readyForTransfer":false},"folder":{"id":"16H6ZLlGGHXJ5EwFzpRkE3g1BPcrZL81b","name":"42184430 - Lead #42184430","webViewLink":"https://drive.google.com/drive/folders/16H6ZLlGGHXJ5EwFzpRkE3g1BPcrZL81b"}}} {"uid":"2999f0b"}
[2026-10-16 16:18:48] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://google.emale.uno/api/docflow/prepare-generated-doc","payload":{"account_id":"22699852","entity_id":"42184430","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"2999f0b"}
[2026-10-16 16:18:48] docflow.WARNING: AmoDrive prepare-generated-doc request failed {"url":"https://google.emale.uno/api/docflow/prepare-generated-doc","http_code":null,"error":"HTTP/2 400 ","response":"<!DOCTYPE HTML PUBLIC \"-//IETF//DTD HTML 2.0//EN\">\r\n<html>\r\n<head><title>400 Bad Request</title></head>\r\n<body>\r\n<center><h1>400 Bad Request</h1></center>\r\n Sorry for the inconvenience.<br/>\r\nPlease report this message and include the following information to us.<br/>\r\nThank you very much!</p>\r\n<table>\r\n<tr>\r\n<td>URL:</td>\r\n<td>https://gd.glucose-dev.online/api/docflow/prepare-generated-doc</td>\r\n</tr>\r\n<tr>\r\n<td>Server:</td>\r\n<td>mail.glucose-dev.online</td>\r\n</tr>\r\n<tr>\r\n<td>Date:</td>\r\n<td>2026/10/16 16:18:48</td>\r\n</tr>\r\n</table>\r\n<hr><center>tengine</center>\r\n</body>\r\n</html>\r\n","payload":{"account_id":"22699852","entity_id":"42184430","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"2999f0b"}
[2026-10-16 16:18:48] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://gd.glucose-dev.online/api/docflow/prepare-generated-doc","payload":{"account_id":"22699852","entity_id":"42184430","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"2999f0b"}
[2026-10-16 16:18:48] docflow.WARNING: AmoDrive prepare-generated-doc request failed {"url":"https://gd.glucose-dev.online/api/docflow/prepare-generated-doc","http_code":null,"error":"HTTP/2 404 ","response":"[object] (stdClass: {\"ok\":false,\"error\":\"AmoDrive is not installed for this account.\",\"accountId\":22699852})","payload":{"account_id":"22699852","entity_id":"42184430","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"2999f0b"}
[2026-10-16 16:18:48] 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) 452 20261016161847\",\"leadId\":\"42184430\",\"entities\":{\"\\u0441\\u0434\\u0435\\u043b\\u043a\\u0430\":{\"Suma \\u20ac\":\"0\",\"Motive de refuz\":\"NRS\",\"ID\":\"42184430\",\"\\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\":\"Iulia Chiperi\",\"Responsible\":\"Iulia Chiperi\"},\"lead\":{\"Suma \\u20ac\":\"0\",\"Motive de refuz\":\"NRS\",\"ID\":\"42184430\",\"\\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\":\"Iulia Chiperi\",\"Responsible\":\"Iulia Chiperi\"},\"\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442\":{\"WhatsappLid_WZ\":\"135776851513495\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"+79822808188\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"\\u0428\\u043f\\u0438\\u0442\\u0430\\u043b\\u0435\\u043d\\u043a\\u043e \\u0414\\u0438\\u0430\\u043d\\u0430\",\"Contact_name\":\"\\u0428\\u043f\\u0438\\u0442\\u0430\\u043b\\u0435\\u043d\\u043a\\u043e \\u0414\\u0438\\u0430\\u043d\\u0430\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"Iulia Chiperi\",\"Responsible\":\"Iulia Chiperi\"},\"contact\":{\"WhatsappLid_WZ\":\"135776851513495\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"+79822808188\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"\\u0428\\u043f\\u0438\\u0442\\u0430\\u043b\\u0435\\u043d\\u043a\\u043e \\u0414\\u0438\\u0430\\u043d\\u0430\",\"Contact_name\":\"\\u0428\\u043f\\u0438\\u0442\\u0430\\u043b\\u0435\\u043d\\u043a\\u043e \\u0414\\u0438\\u0430\\u043d\\u0430\",\"\\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\":[{\"WhatsappLid_WZ\":\"135776851513495\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"+79822808188\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"\\u0428\\u043f\\u0438\\u0442\\u0430\\u043b\\u0435\\u043d\\u043a\\u043e \\u0414\\u0438\\u0430\\u043d\\u0430\",\"\\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\":\"16.10.2026\",\"\\u041d\\u043e\\u043c\\u0435\\u0440\":\"452\"},\"document\":{\"Date\":\"16.10.2026\",\"Number\":\"452\"}}}","edit":true}} {"uid":"2999f0b"}
[2026-10-16 16:18:57] docflow.DEBUG: GAS raw response {"raw":"[object] (stdClass: {\"code\":1,\"url\":\"https://docs.google.com/open?id=1jBuxyhtf1F2fg6cX0gOYwdXqo2UaOFaLJeTggE-yNZU\",\"file_id\":\"1jBuxyhtf1F2fg6cX0gOYwdXqo2UaOFaLJeTggE-yNZU\",\"error\":\"\",\"vars\":\"\"})"} {"uid":"2999f0b"}
[2026-10-16 16:18:57] docflow.WARNING: AmoDrive generated-file move is not ready. {"fileId":"1jBuxyhtf1F2fg6cX0gOYwdXqo2UaOFaLJeTggE-yNZU","context":null} {"uid":"2999f0b"}
[2026-10-16 16:19:37] docflow.INFO: Apel createDoc {"data":{"amoAccountId":"22699852","amoUserId":null,"amoEntityId":"42184430","amoEntityType":"2","templateId":"11515","corporateEntityId":"","settlementAccountId":"","is_signed":null,"gdi":null,"number":null,"currentAmoUserId":null,"lang":"ru"}} {"uid":"cedb7eb"}
[2026-10-16 16:19:38] docflow.INFO: Token is valid for account 22699852. [] {"uid":"cedb7eb"}
[2026-10-16 16:19:38] docflow.DEBUG: getClientAuth returned {"auth":"[object] (stdClass: {\"domain\":\"emigrare.amocrm.ru\",\"access_token\":\"eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImp0aSI6ImFiZmZkMzBkYzk5MWY5ZmRjNTY2NzA2YjEyMGZiY2RkZTJlNDIxNmRjNDZjMDAwMThhNzFhMGZkODAwNWRkYmIwNDkxMGIxMGVkMjc2ZWIzIn0.eyJhdWQiOiIwZDY0ZGZmYi1lNTRiLTQ0OGYtOWZiZi1iYWYyMjUxYTExZGIiLCJqdGkiOiJhYmZmZDMwZGM5OTFmOWZkYzU2NjcwNmIxMjBmYmNkZGUyZTQyMTZkYzQ2YzAwMDE4YTcxYTBmZDgwMDVkZGJiMDQ5MTBiMTBlZDI3NmViMyIsImlhdCI6MTc5MjE1MTA1MiwibmJmIjoxNzkyMTUxMDUyLCJleHAiOjE3OTIyMzc0NTIsInN1YiI6IjI5MzAzODAiLCJncmFudF90eXBlIjoiIiwiYWNjb3VudF9pZCI6MjI2OTk4NTIsImJhc2VfZG9tYWluIjoiYW1vY3JtLnJ1IiwidmVyc2lvbiI6Miwic2NvcGVzIjpbInB1c2hfbm90aWZpY2F0aW9ucyIsImNybSIsIm5vdGlmaWNhdGlvbnMiXSwiaGFzaF91dWlkIjoiZWFjYjdhMWYtZDg1ZS00OTU0LThjNDEtMDMwZWRmNzJhMTVkIiwiYXBpX2RvbWFpbiI6ImFwaS1hLmFtb2NybS5ydSJ9.iNKoniLvooi4e-IcUzdQwUQjDWdEHDqC5mw0WfmgyQOMJwYyT-Ppk5tCYAeSQCvZfcNQMj9zVsQ7ekcKhRmHYHoOIMhLdJoC3XdHJe9lfa_Ebm8Zun1J8sqMAiQ3z_C5t6HieghXYcJ50Hf8v4MjvK-rIy5HBYJcdH3fCZfhdrzfBJ0M3Wsiof1SbtilvAHsceq7TgmvgfWEAyITH_PXYDBPGTXCPBHXBCUhnLVL6iXopXYPuHF8e9w14TW9CsPR3wMYq45UVC9_IgMoeF9A13pmWNiIgTo1ZREQm7A53_JWaHavf75WK3D_vzUD3xfnMJvDY7o2ImdI5XSTZW6WFA\"})","file":"/home/ytvmclwh/document.amocrm.md/src/Models/Docs.php","line":121} {"uid":"cedb7eb"}
[2026-10-16 16:19:40] docflow.DEBUG: AmoDrive docflow context request {"url":"https://google.emale.uno/api/docflow/google-context","query":{"account_id":"22699852","entity_id":"42184430","entity_type":"leads"}} {"uid":"cedb7eb"}
[2026-10-16 16:19: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=42184430&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/16 16:19:40</td>\r\n</tr>\r\n</table>\r\n<hr><center>tengine</center>\r\n</body>\r\n</html>\r\n"} {"uid":"cedb7eb"}
[2026-10-16 16:19:40] docflow.DEBUG: AmoDrive docflow context request {"url":"https://gd.glucose-dev.online/api/docflow/google-context","query":{"account_id":"22699852","entity_id":"42184430","entity_type":"leads"}} {"uid":"cedb7eb"}
[2026-10-16 16:19: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":"42184430","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":308,"isLifetime":false},"licenseActive":false,"googleConnected":false,"googleEmail":null,"googleHasDriveScope":false,"googleHasDriveFileScope":false,"googleHasOwnershipScope":false,"readyForGeneratedFileMove":false,"readyForTransfer":false},"folder":{"id":"16H6ZLlGGHXJ5EwFzpRkE3g1BPcrZL81b","name":"42184430 - Lead #42184430","webViewLink":"https://drive.google.com/drive/folders/16H6ZLlGGHXJ5EwFzpRkE3g1BPcrZL81b"}}} {"uid":"cedb7eb"}
[2026-10-16 16:19:40] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://google.emale.uno/api/docflow/prepare-generated-doc","payload":{"account_id":"22699852","entity_id":"42184430","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"cedb7eb"}
[2026-10-16 16:19: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/16 16:19: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":"42184430","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"cedb7eb"}
[2026-10-16 16:19: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":"42184430","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"cedb7eb"}
[2026-10-16 16:19: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":"42184430","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"cedb7eb"}
[2026-10-16 16:19:40] docflow.DEBUG: GAS request {"url":"https://script.google.com/macros/s/AKfycbwrvOJD46zkuoTzdhpc1kulhV8jRfgQBFZfQ121nkIip_k8yKit4xrbWTOzaJ-C-Yed6w/exec","body":{"templateFileId":"1SzGXEYI835Reg_M1AEPsRjzZ3ZvcLb1cGlMSjWjG9_s","accountId":"22699852","folderId":"1Us2AfskxgdA729xVr0F2vjZU9y5PlYDe","key":"~VTsK5dcnHc2cSSsjM$LFSjLlgbmJXwrp3R2P5nd","data":"{\"fileName\":\"\\u0421\\u0447\\u0435\\u0442 \\u043d\\u0430 \\u043e\\u043f\\u043b\\u0430\\u0442\\u0443 (Sber) 1744 20261016161940\",\"leadId\":\"42184430\",\"entities\":{\"\\u0441\\u0434\\u0435\\u043b\\u043a\\u0430\":{\"Suma \\u20ac\":\"0\",\"Motive de refuz\":\"NRS\",\"ID\":\"42184430\",\"\\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\":\"Iulia Chiperi\",\"Responsible\":\"Iulia Chiperi\"},\"lead\":{\"Suma \\u20ac\":\"0\",\"Motive de refuz\":\"NRS\",\"ID\":\"42184430\",\"\\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\":\"Iulia Chiperi\",\"Responsible\":\"Iulia Chiperi\"},\"\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442\":{\"WhatsappLid_WZ\":\"135776851513495\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"+79822808188\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"\\u0428\\u043f\\u0438\\u0442\\u0430\\u043b\\u0435\\u043d\\u043a\\u043e \\u0414\\u0438\\u0430\\u043d\\u0430\",\"Contact_name\":\"\\u0428\\u043f\\u0438\\u0442\\u0430\\u043b\\u0435\\u043d\\u043a\\u043e \\u0414\\u0438\\u0430\\u043d\\u0430\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"Iulia Chiperi\",\"Responsible\":\"Iulia Chiperi\"},\"contact\":{\"WhatsappLid_WZ\":\"135776851513495\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"+79822808188\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"\\u0428\\u043f\\u0438\\u0442\\u0430\\u043b\\u0435\\u043d\\u043a\\u043e \\u0414\\u0438\\u0430\\u043d\\u0430\",\"Contact_name\":\"\\u0428\\u043f\\u0438\\u0442\\u0430\\u043b\\u0435\\u043d\\u043a\\u043e \\u0414\\u0438\\u0430\\u043d\\u0430\",\"\\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\":[{\"WhatsappLid_WZ\":\"135776851513495\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"+79822808188\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"\\u0428\\u043f\\u0438\\u0442\\u0430\\u043b\\u0435\\u043d\\u043a\\u043e \\u0414\\u0438\\u0430\\u043d\\u0430\",\"\\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\":\"16.10.2026\",\"\\u041d\\u043e\\u043c\\u0435\\u0440\":\"1744\"},\"document\":{\"Date\":\"16.10.2026\",\"Number\":\"1744\"}}}","edit":true}} {"uid":"cedb7eb"}
[2026-10-16 16:19:47] docflow.DEBUG: GAS raw response {"raw":"[object] (stdClass: {\"code\":1,\"url\":\"https://docs.google.com/open?id=1AxbV3sXR25iCrg4wNjPhM4xx4rRnC8-TnXDo0hIdfuk\",\"file_id\":\"1AxbV3sXR25iCrg4wNjPhM4xx4rRnC8-TnXDo0hIdfuk\",\"error\":\"\",\"vars\":\"\"})"} {"uid":"cedb7eb"}
[2026-10-16 16:19:47] docflow.WARNING: AmoDrive generated-file move is not ready. {"fileId":"1AxbV3sXR25iCrg4wNjPhM4xx4rRnC8-TnXDo0hIdfuk","context":null} {"uid":"cedb7eb"}
[2026-10-16 16:20:13] docflow.INFO: Apel createDoc {"data":{"amoAccountId":"22699852","amoUserId":null,"amoEntityId":"42184430","amoEntityType":"2","templateId":"11502","corporateEntityId":"","settlementAccountId":"","is_signed":null,"gdi":null,"number":null,"currentAmoUserId":null,"lang":"ru"}} {"uid":"91bd6af"}
[2026-10-16 16:20:13] docflow.INFO: Token is valid for account 22699852. [] {"uid":"91bd6af"}
[2026-10-16 16:20:13] docflow.DEBUG: getClientAuth returned {"auth":"[object] (stdClass: {\"domain\":\"emigrare.amocrm.ru\",\"access_token\":\"eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImp0aSI6ImFiZmZkMzBkYzk5MWY5ZmRjNTY2NzA2YjEyMGZiY2RkZTJlNDIxNmRjNDZjMDAwMThhNzFhMGZkODAwNWRkYmIwNDkxMGIxMGVkMjc2ZWIzIn0.eyJhdWQiOiIwZDY0ZGZmYi1lNTRiLTQ0OGYtOWZiZi1iYWYyMjUxYTExZGIiLCJqdGkiOiJhYmZmZDMwZGM5OTFmOWZkYzU2NjcwNmIxMjBmYmNkZGUyZTQyMTZkYzQ2YzAwMDE4YTcxYTBmZDgwMDVkZGJiMDQ5MTBiMTBlZDI3NmViMyIsImlhdCI6MTc5MjE1MTA1MiwibmJmIjoxNzkyMTUxMDUyLCJleHAiOjE3OTIyMzc0NTIsInN1YiI6IjI5MzAzODAiLCJncmFudF90eXBlIjoiIiwiYWNjb3VudF9pZCI6MjI2OTk4NTIsImJhc2VfZG9tYWluIjoiYW1vY3JtLnJ1IiwidmVyc2lvbiI6Miwic2NvcGVzIjpbInB1c2hfbm90aWZpY2F0aW9ucyIsImNybSIsIm5vdGlmaWNhdGlvbnMiXSwiaGFzaF91dWlkIjoiZWFjYjdhMWYtZDg1ZS00OTU0LThjNDEtMDMwZWRmNzJhMTVkIiwiYXBpX2RvbWFpbiI6ImFwaS1hLmFtb2NybS5ydSJ9.iNKoniLvooi4e-IcUzdQwUQjDWdEHDqC5mw0WfmgyQOMJwYyT-Ppk5tCYAeSQCvZfcNQMj9zVsQ7ekcKhRmHYHoOIMhLdJoC3XdHJe9lfa_Ebm8Zun1J8sqMAiQ3z_C5t6HieghXYcJ50Hf8v4MjvK-rIy5HBYJcdH3fCZfhdrzfBJ0M3Wsiof1SbtilvAHsceq7TgmvgfWEAyITH_PXYDBPGTXCPBHXBCUhnLVL6iXopXYPuHF8e9w14TW9CsPR3wMYq45UVC9_IgMoeF9A13pmWNiIgTo1ZREQm7A53_JWaHavf75WK3D_vzUD3xfnMJvDY7o2ImdI5XSTZW6WFA\"})","file":"/home/ytvmclwh/document.amocrm.md/src/Models/Docs.php","line":121} {"uid":"91bd6af"}
[2026-10-16 16:20:15] docflow.DEBUG: AmoDrive docflow context request {"url":"https://google.emale.uno/api/docflow/google-context","query":{"account_id":"22699852","entity_id":"42184430","entity_type":"leads"}} {"uid":"91bd6af"}
[2026-10-16 16:20: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=22699852&amp;entity_id=42184430&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/16 16:20:16</td>\r\n</tr>\r\n</table>\r\n<hr><center>tengine</center>\r\n</body>\r\n</html>\r\n"} {"uid":"91bd6af"}
[2026-10-16 16:20:16] docflow.DEBUG: AmoDrive docflow context request {"url":"https://gd.glucose-dev.online/api/docflow/google-context","query":{"account_id":"22699852","entity_id":"42184430","entity_type":"leads"}} {"uid":"91bd6af"}
[2026-10-16 16:20: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":22699852,"entityId":"42184430","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":308,"isLifetime":false},"licenseActive":false,"googleConnected":false,"googleEmail":null,"googleHasDriveScope":false,"googleHasDriveFileScope":false,"googleHasOwnershipScope":false,"readyForGeneratedFileMove":false,"readyForTransfer":false},"folder":{"id":"16H6ZLlGGHXJ5EwFzpRkE3g1BPcrZL81b","name":"42184430 - Lead #42184430","webViewLink":"https://drive.google.com/drive/folders/16H6ZLlGGHXJ5EwFzpRkE3g1BPcrZL81b"}}} {"uid":"91bd6af"}
[2026-10-16 16:20:16] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://google.emale.uno/api/docflow/prepare-generated-doc","payload":{"account_id":"22699852","entity_id":"42184430","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"91bd6af"}
[2026-10-16 16:20: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/16 16:20: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":"42184430","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"91bd6af"}
[2026-10-16 16:20: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":"42184430","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"91bd6af"}
[2026-10-16 16:20: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":"42184430","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"91bd6af"}
[2026-10-16 16:20:16] 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) 118 20261016162015\",\"leadId\":\"42184430\",\"entities\":{\"\\u0441\\u0434\\u0435\\u043b\\u043a\\u0430\":{\"Suma \\u20ac\":\"0\",\"Motive de refuz\":\"NRS\",\"ID\":\"42184430\",\"\\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\":\"Iulia Chiperi\",\"Responsible\":\"Iulia Chiperi\"},\"lead\":{\"Suma \\u20ac\":\"0\",\"Motive de refuz\":\"NRS\",\"ID\":\"42184430\",\"\\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\":\"Iulia Chiperi\",\"Responsible\":\"Iulia Chiperi\"},\"\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442\":{\"WhatsappLid_WZ\":\"135776851513495\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"+79822808188\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"\\u0428\\u043f\\u0438\\u0442\\u0430\\u043b\\u0435\\u043d\\u043a\\u043e \\u0414\\u0438\\u0430\\u043d\\u0430\",\"Contact_name\":\"\\u0428\\u043f\\u0438\\u0442\\u0430\\u043b\\u0435\\u043d\\u043a\\u043e \\u0414\\u0438\\u0430\\u043d\\u0430\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"Iulia Chiperi\",\"Responsible\":\"Iulia Chiperi\"},\"contact\":{\"WhatsappLid_WZ\":\"135776851513495\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"+79822808188\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"\\u0428\\u043f\\u0438\\u0442\\u0430\\u043b\\u0435\\u043d\\u043a\\u043e \\u0414\\u0438\\u0430\\u043d\\u0430\",\"Contact_name\":\"\\u0428\\u043f\\u0438\\u0442\\u0430\\u043b\\u0435\\u043d\\u043a\\u043e \\u0414\\u0438\\u0430\\u043d\\u0430\",\"\\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\":[{\"WhatsappLid_WZ\":\"135776851513495\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"+79822808188\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"\\u0428\\u043f\\u0438\\u0442\\u0430\\u043b\\u0435\\u043d\\u043a\\u043e \\u0414\\u0438\\u0430\\u043d\\u0430\",\"\\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\":\"16.10.2026\",\"\\u041d\\u043e\\u043c\\u0435\\u0440\":\"118\"},\"document\":{\"Date\":\"16.10.2026\",\"Number\":\"118\"}}}","edit":true}} {"uid":"91bd6af"}
[2026-10-16 16:20:33] docflow.DEBUG: GAS raw response {"raw":"[object] (stdClass: {\"code\":1,\"url\":\"https://docs.google.com/open?id=1mKlG9TasGcuYnaIlpSk0swmk3HepxtKesFX7TLJ9a7g\",\"file_id\":\"1mKlG9TasGcuYnaIlpSk0swmk3HepxtKesFX7TLJ9a7g\",\"error\":\"\",\"vars\":\"\"})"} {"uid":"91bd6af"}
[2026-10-16 16:20:33] docflow.WARNING: AmoDrive generated-file move is not ready. {"fileId":"1mKlG9TasGcuYnaIlpSk0swmk3HepxtKesFX7TLJ9a7g","context":null} {"uid":"91bd6af"}
[2026-10-16 17:41:23] docflow.INFO: Apel createDoc {"data":{"amoAccountId":"22699852","amoUserId":null,"amoEntityId":"42838570","amoEntityType":"2","templateId":"11495","corporateEntityId":"","settlementAccountId":"","is_signed":null,"gdi":null,"number":null,"currentAmoUserId":null,"lang":"ru"}} {"uid":"ebe9954"}
[2026-10-16 17:41:23] docflow.INFO: Token is valid for account 22699852. [] {"uid":"ebe9954"}
[2026-10-16 17:41:23] docflow.DEBUG: getClientAuth returned {"auth":"[object] (stdClass: {\"domain\":\"emigrare.amocrm.ru\",\"access_token\":\"eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImp0aSI6ImFiZmZkMzBkYzk5MWY5ZmRjNTY2NzA2YjEyMGZiY2RkZTJlNDIxNmRjNDZjMDAwMThhNzFhMGZkODAwNWRkYmIwNDkxMGIxMGVkMjc2ZWIzIn0.eyJhdWQiOiIwZDY0ZGZmYi1lNTRiLTQ0OGYtOWZiZi1iYWYyMjUxYTExZGIiLCJqdGkiOiJhYmZmZDMwZGM5OTFmOWZkYzU2NjcwNmIxMjBmYmNkZGUyZTQyMTZkYzQ2YzAwMDE4YTcxYTBmZDgwMDVkZGJiMDQ5MTBiMTBlZDI3NmViMyIsImlhdCI6MTc5MjE1MTA1MiwibmJmIjoxNzkyMTUxMDUyLCJleHAiOjE3OTIyMzc0NTIsInN1YiI6IjI5MzAzODAiLCJncmFudF90eXBlIjoiIiwiYWNjb3VudF9pZCI6MjI2OTk4NTIsImJhc2VfZG9tYWluIjoiYW1vY3JtLnJ1IiwidmVyc2lvbiI6Miwic2NvcGVzIjpbInB1c2hfbm90aWZpY2F0aW9ucyIsImNybSIsIm5vdGlmaWNhdGlvbnMiXSwiaGFzaF91dWlkIjoiZWFjYjdhMWYtZDg1ZS00OTU0LThjNDEtMDMwZWRmNzJhMTVkIiwiYXBpX2RvbWFpbiI6ImFwaS1hLmFtb2NybS5ydSJ9.iNKoniLvooi4e-IcUzdQwUQjDWdEHDqC5mw0WfmgyQOMJwYyT-Ppk5tCYAeSQCvZfcNQMj9zVsQ7ekcKhRmHYHoOIMhLdJoC3XdHJe9lfa_Ebm8Zun1J8sqMAiQ3z_C5t6HieghXYcJ50Hf8v4MjvK-rIy5HBYJcdH3fCZfhdrzfBJ0M3Wsiof1SbtilvAHsceq7TgmvgfWEAyITH_PXYDBPGTXCPBHXBCUhnLVL6iXopXYPuHF8e9w14TW9CsPR3wMYq45UVC9_IgMoeF9A13pmWNiIgTo1ZREQm7A53_JWaHavf75WK3D_vzUD3xfnMJvDY7o2ImdI5XSTZW6WFA\"})","file":"/home/ytvmclwh/document.amocrm.md/src/Models/Docs.php","line":121} {"uid":"ebe9954"}
[2026-10-16 17:41:25] docflow.DEBUG: AmoDrive docflow context request {"url":"https://google.emale.uno/api/docflow/google-context","query":{"account_id":"22699852","entity_id":"42838570","entity_type":"leads"}} {"uid":"ebe9954"}
[2026-10-16 17:41: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=42838570&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/16 17:41:25</td>\r\n</tr>\r\n</table>\r\n<hr><center>tengine</center>\r\n</body>\r\n</html>\r\n"} {"uid":"ebe9954"}
[2026-10-16 17:41:26] docflow.DEBUG: AmoDrive docflow context request {"url":"https://gd.glucose-dev.online/api/docflow/google-context","query":{"account_id":"22699852","entity_id":"42838570","entity_type":"leads"}} {"uid":"ebe9954"}
[2026-10-16 17:41: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":"42838570","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":308,"isLifetime":false},"licenseActive":false,"googleConnected":false,"googleEmail":null,"googleHasDriveScope":false,"googleHasDriveFileScope":false,"googleHasOwnershipScope":false,"readyForGeneratedFileMove":false,"readyForTransfer":false},"folder":null}} {"uid":"ebe9954"}
[2026-10-16 17:41:26] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://google.emale.uno/api/docflow/prepare-generated-doc","payload":{"account_id":"22699852","entity_id":"42838570","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"ebe9954"}
[2026-10-16 17:41: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/16 17:41: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":"42838570","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"ebe9954"}
[2026-10-16 17:41: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":"42838570","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"ebe9954"}
[2026-10-16 17:41: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":"42838570","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"ebe9954"}
[2026-10-16 17:41:26] 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) 453 20261016174125\",\"leadId\":\"42838570\",\"entities\":{\"\\u0441\\u0434\\u0435\\u043b\\u043a\\u0430\":{\"Brand\":\"Emigrare.md\",\"Shema\":\"Emigrare\",\"Suma \\u20ac\":\"0\",\"tree_name\":\"Emigrare\",\"ID\":\"42838570\",\"\\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\":\"Untila Dorina\",\"Responsible\":\"Untila Dorina\"},\"lead\":{\"Brand\":\"Emigrare.md\",\"Shema\":\"Emigrare\",\"Suma \\u20ac\":\"0\",\"tree_name\":\"Emigrare\",\"ID\":\"42838570\",\"\\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\":\"Untila Dorina\",\"Responsible\":\"Untila Dorina\"},\"\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442\":{\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"14039780305\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Contact 14039780305\",\"Contact_name\":\"Contact 14039780305\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"Untila Dorina\",\"Responsible\":\"Untila Dorina\"},\"contact\":{\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"14039780305\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Contact 14039780305\",\"Contact_name\":\"Contact 14039780305\",\"\\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\":[{\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"14039780305\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Contact 14039780305\",\"\\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\":\"16.10.2026\",\"\\u041d\\u043e\\u043c\\u0435\\u0440\":\"453\"},\"document\":{\"Date\":\"16.10.2026\",\"Number\":\"453\"}}}","edit":true}} {"uid":"ebe9954"}
[2026-10-16 17:41:37] docflow.DEBUG: GAS raw response {"raw":"[object] (stdClass: {\"code\":1,\"url\":\"https://docs.google.com/open?id=1VDng5NsSI5VG8btRsInZC5x88xWFd3srhrHJhGbB9vQ\",\"file_id\":\"1VDng5NsSI5VG8btRsInZC5x88xWFd3srhrHJhGbB9vQ\",\"error\":\"\",\"vars\":\"\"})"} {"uid":"ebe9954"}
[2026-10-16 17:41:37] docflow.WARNING: AmoDrive generated-file move is not ready. {"fileId":"1VDng5NsSI5VG8btRsInZC5x88xWFd3srhrHJhGbB9vQ","context":null} {"uid":"ebe9954"}
[2026-10-16 17:43:41] docflow.INFO: Apel createDoc {"data":{"amoAccountId":"22699852","amoUserId":null,"amoEntityId":"42838570","amoEntityType":"2","templateId":"11512","corporateEntityId":"","settlementAccountId":"","is_signed":null,"gdi":null,"number":null,"currentAmoUserId":null,"lang":"ru"}} {"uid":"0a90f96"}
[2026-10-16 17:43:41] docflow.INFO: Token is valid for account 22699852. [] {"uid":"0a90f96"}
[2026-10-16 17:43:41] docflow.DEBUG: getClientAuth returned {"auth":"[object] (stdClass: {\"domain\":\"emigrare.amocrm.ru\",\"access_token\":\"eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImp0aSI6ImFiZmZkMzBkYzk5MWY5ZmRjNTY2NzA2YjEyMGZiY2RkZTJlNDIxNmRjNDZjMDAwMThhNzFhMGZkODAwNWRkYmIwNDkxMGIxMGVkMjc2ZWIzIn0.eyJhdWQiOiIwZDY0ZGZmYi1lNTRiLTQ0OGYtOWZiZi1iYWYyMjUxYTExZGIiLCJqdGkiOiJhYmZmZDMwZGM5OTFmOWZkYzU2NjcwNmIxMjBmYmNkZGUyZTQyMTZkYzQ2YzAwMDE4YTcxYTBmZDgwMDVkZGJiMDQ5MTBiMTBlZDI3NmViMyIsImlhdCI6MTc5MjE1MTA1MiwibmJmIjoxNzkyMTUxMDUyLCJleHAiOjE3OTIyMzc0NTIsInN1YiI6IjI5MzAzODAiLCJncmFudF90eXBlIjoiIiwiYWNjb3VudF9pZCI6MjI2OTk4NTIsImJhc2VfZG9tYWluIjoiYW1vY3JtLnJ1IiwidmVyc2lvbiI6Miwic2NvcGVzIjpbInB1c2hfbm90aWZpY2F0aW9ucyIsImNybSIsIm5vdGlmaWNhdGlvbnMiXSwiaGFzaF91dWlkIjoiZWFjYjdhMWYtZDg1ZS00OTU0LThjNDEtMDMwZWRmNzJhMTVkIiwiYXBpX2RvbWFpbiI6ImFwaS1hLmFtb2NybS5ydSJ9.iNKoniLvooi4e-IcUzdQwUQjDWdEHDqC5mw0WfmgyQOMJwYyT-Ppk5tCYAeSQCvZfcNQMj9zVsQ7ekcKhRmHYHoOIMhLdJoC3XdHJe9lfa_Ebm8Zun1J8sqMAiQ3z_C5t6HieghXYcJ50Hf8v4MjvK-rIy5HBYJcdH3fCZfhdrzfBJ0M3Wsiof1SbtilvAHsceq7TgmvgfWEAyITH_PXYDBPGTXCPBHXBCUhnLVL6iXopXYPuHF8e9w14TW9CsPR3wMYq45UVC9_IgMoeF9A13pmWNiIgTo1ZREQm7A53_JWaHavf75WK3D_vzUD3xfnMJvDY7o2ImdI5XSTZW6WFA\"})","file":"/home/ytvmclwh/document.amocrm.md/src/Models/Docs.php","line":121} {"uid":"0a90f96"}
[2026-10-16 17:43:43] docflow.DEBUG: AmoDrive docflow context request {"url":"https://google.emale.uno/api/docflow/google-context","query":{"account_id":"22699852","entity_id":"42838570","entity_type":"leads"}} {"uid":"0a90f96"}
[2026-10-16 17:43:44] 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=42838570&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/16 17:43:44</td>\r\n</tr>\r\n</table>\r\n<hr><center>tengine</center>\r\n</body>\r\n</html>\r\n"} {"uid":"0a90f96"}
[2026-10-16 17:43:44] docflow.DEBUG: AmoDrive docflow context request {"url":"https://gd.glucose-dev.online/api/docflow/google-context","query":{"account_id":"22699852","entity_id":"42838570","entity_type":"leads"}} {"uid":"0a90f96"}
[2026-10-16 17:43:44] 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":"42838570","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":308,"isLifetime":false},"licenseActive":false,"googleConnected":false,"googleEmail":null,"googleHasDriveScope":false,"googleHasDriveFileScope":false,"googleHasOwnershipScope":false,"readyForGeneratedFileMove":false,"readyForTransfer":false},"folder":null}} {"uid":"0a90f96"}
[2026-10-16 17:43:44] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://google.emale.uno/api/docflow/prepare-generated-doc","payload":{"account_id":"22699852","entity_id":"42838570","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"0a90f96"}
[2026-10-16 17:43:44] 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/16 17:43:44</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":"42838570","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"0a90f96"}
[2026-10-16 17:43:44] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://gd.glucose-dev.online/api/docflow/prepare-generated-doc","payload":{"account_id":"22699852","entity_id":"42838570","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"0a90f96"}
[2026-10-16 17:43:44] 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":"42838570","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"0a90f96"}
[2026-10-16 17:43:44] docflow.DEBUG: GAS request {"url":"https://script.google.com/macros/s/AKfycbwrvOJD46zkuoTzdhpc1kulhV8jRfgQBFZfQ121nkIip_k8yKit4xrbWTOzaJ-C-Yed6w/exec","body":{"templateFileId":"1lw0x40QgTScLC9q0Y4Biue0UwWdt_ZAMqJIt_RZ-DQ8","accountId":"22699852","folderId":"1Us2AfskxgdA729xVr0F2vjZU9y5PlYDe","key":"~VTsK5dcnHc2cSSsjM$LFSjLlgbmJXwrp3R2P5nd","data":"{\"fileName\":\"\\u0421\\u0447\\u0435\\u0442 \\u043d\\u0430 \\u043e\\u043f\\u043b\\u0430\\u0442\\u0443 EMG (EUR\\/USD\\/MDL) 239 20261016174343\",\"leadId\":\"42838570\",\"entities\":{\"\\u0441\\u0434\\u0435\\u043b\\u043a\\u0430\":{\"Brand\":\"Emigrare.md\",\"Shema\":\"Emigrare\",\"Suma \\u20ac\":\"0\",\"tree_name\":\"Emigrare\",\"ID\":\"42838570\",\"\\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\":\"Untila Dorina\",\"Responsible\":\"Untila Dorina\"},\"lead\":{\"Brand\":\"Emigrare.md\",\"Shema\":\"Emigrare\",\"Suma \\u20ac\":\"0\",\"tree_name\":\"Emigrare\",\"ID\":\"42838570\",\"\\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\":\"Untila Dorina\",\"Responsible\":\"Untila Dorina\"},\"\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442\":{\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"14039780305\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Contact 14039780305\",\"Contact_name\":\"Contact 14039780305\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"Untila Dorina\",\"Responsible\":\"Untila Dorina\"},\"contact\":{\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"14039780305\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Contact 14039780305\",\"Contact_name\":\"Contact 14039780305\",\"\\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\":[{\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"14039780305\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Contact 14039780305\",\"\\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\":\"16.10.2026\",\"\\u041d\\u043e\\u043c\\u0435\\u0440\":\"239\"},\"document\":{\"Date\":\"16.10.2026\",\"Number\":\"239\"}}}","edit":true}} {"uid":"0a90f96"}
[2026-10-16 17:44:00] docflow.DEBUG: GAS raw response {"raw":"[object] (stdClass: {\"code\":1,\"url\":\"https://docs.google.com/open?id=11wT9lapGf6q6dAHNo3l4UAqAU1dBP8f0PJj4aizHqK0\",\"file_id\":\"11wT9lapGf6q6dAHNo3l4UAqAU1dBP8f0PJj4aizHqK0\",\"error\":\"\",\"vars\":\"\"})"} {"uid":"0a90f96"}
[2026-10-16 17:44:00] docflow.WARNING: AmoDrive generated-file move is not ready. {"fileId":"11wT9lapGf6q6dAHNo3l4UAqAU1dBP8f0PJj4aizHqK0","context":null} {"uid":"0a90f96"}
[2026-10-16 17:45:19] docflow.INFO: Apel createDoc {"data":{"amoAccountId":"22699852","amoUserId":null,"amoEntityId":"42838570","amoEntityType":"2","templateId":"11502","corporateEntityId":"","settlementAccountId":"","is_signed":null,"gdi":null,"number":null,"currentAmoUserId":null,"lang":"ru"}} {"uid":"56bbb14"}
[2026-10-16 17:45:19] docflow.INFO: Token is valid for account 22699852. [] {"uid":"56bbb14"}
[2026-10-16 17:45:19] docflow.DEBUG: getClientAuth returned {"auth":"[object] (stdClass: {\"domain\":\"emigrare.amocrm.ru\",\"access_token\":\"eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImp0aSI6ImFiZmZkMzBkYzk5MWY5ZmRjNTY2NzA2YjEyMGZiY2RkZTJlNDIxNmRjNDZjMDAwMThhNzFhMGZkODAwNWRkYmIwNDkxMGIxMGVkMjc2ZWIzIn0.eyJhdWQiOiIwZDY0ZGZmYi1lNTRiLTQ0OGYtOWZiZi1iYWYyMjUxYTExZGIiLCJqdGkiOiJhYmZmZDMwZGM5OTFmOWZkYzU2NjcwNmIxMjBmYmNkZGUyZTQyMTZkYzQ2YzAwMDE4YTcxYTBmZDgwMDVkZGJiMDQ5MTBiMTBlZDI3NmViMyIsImlhdCI6MTc5MjE1MTA1MiwibmJmIjoxNzkyMTUxMDUyLCJleHAiOjE3OTIyMzc0NTIsInN1YiI6IjI5MzAzODAiLCJncmFudF90eXBlIjoiIiwiYWNjb3VudF9pZCI6MjI2OTk4NTIsImJhc2VfZG9tYWluIjoiYW1vY3JtLnJ1IiwidmVyc2lvbiI6Miwic2NvcGVzIjpbInB1c2hfbm90aWZpY2F0aW9ucyIsImNybSIsIm5vdGlmaWNhdGlvbnMiXSwiaGFzaF91dWlkIjoiZWFjYjdhMWYtZDg1ZS00OTU0LThjNDEtMDMwZWRmNzJhMTVkIiwiYXBpX2RvbWFpbiI6ImFwaS1hLmFtb2NybS5ydSJ9.iNKoniLvooi4e-IcUzdQwUQjDWdEHDqC5mw0WfmgyQOMJwYyT-Ppk5tCYAeSQCvZfcNQMj9zVsQ7ekcKhRmHYHoOIMhLdJoC3XdHJe9lfa_Ebm8Zun1J8sqMAiQ3z_C5t6HieghXYcJ50Hf8v4MjvK-rIy5HBYJcdH3fCZfhdrzfBJ0M3Wsiof1SbtilvAHsceq7TgmvgfWEAyITH_PXYDBPGTXCPBHXBCUhnLVL6iXopXYPuHF8e9w14TW9CsPR3wMYq45UVC9_IgMoeF9A13pmWNiIgTo1ZREQm7A53_JWaHavf75WK3D_vzUD3xfnMJvDY7o2ImdI5XSTZW6WFA\"})","file":"/home/ytvmclwh/document.amocrm.md/src/Models/Docs.php","line":121} {"uid":"56bbb14"}
[2026-10-16 17:45:21] docflow.DEBUG: AmoDrive docflow context request {"url":"https://google.emale.uno/api/docflow/google-context","query":{"account_id":"22699852","entity_id":"42838570","entity_type":"leads"}} {"uid":"56bbb14"}
[2026-10-16 17:45:22] docflow.WARNING: AmoDrive docflow context request failed {"url":"https://google.emale.uno/api/docflow/google-context","http_code":null,"error":"HTTP/2 400 ","response":"<!DOCTYPE HTML PUBLIC \"-//IETF//DTD HTML 2.0//EN\">\r\n<html>\r\n<head><title>400 Bad Request</title></head>\r\n<body>\r\n<center><h1>400 Bad Request</h1></center>\r\n Sorry for the inconvenience.<br/>\r\nPlease report this message and include the following information to us.<br/>\r\nThank you very much!</p>\r\n<table>\r\n<tr>\r\n<td>URL:</td>\r\n<td>https://gd.glucose-dev.online/api/docflow/google-context?account_id=22699852&amp;entity_id=42838570&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/16 17:45:21</td>\r\n</tr>\r\n</table>\r\n<hr><center>tengine</center>\r\n</body>\r\n</html>\r\n"} {"uid":"56bbb14"}
[2026-10-16 17:45:22] docflow.DEBUG: AmoDrive docflow context request {"url":"https://gd.glucose-dev.online/api/docflow/google-context","query":{"account_id":"22699852","entity_id":"42838570","entity_type":"leads"}} {"uid":"56bbb14"}
[2026-10-16 17:45:22] docflow.WARNING: AmoDrive docflow context response is not ready, trying next backend. {"url":"https://gd.glucose-dev.online/api/docflow/google-context","payload":{"ok":true,"accountId":22699852,"entityId":"42838570","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":308,"isLifetime":false},"licenseActive":false,"googleConnected":false,"googleEmail":null,"googleHasDriveScope":false,"googleHasDriveFileScope":false,"googleHasOwnershipScope":false,"readyForGeneratedFileMove":false,"readyForTransfer":false},"folder":null}} {"uid":"56bbb14"}
[2026-10-16 17:45:22] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://google.emale.uno/api/docflow/prepare-generated-doc","payload":{"account_id":"22699852","entity_id":"42838570","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"56bbb14"}
[2026-10-16 17:45:22] docflow.WARNING: AmoDrive prepare-generated-doc request failed {"url":"https://google.emale.uno/api/docflow/prepare-generated-doc","http_code":null,"error":"HTTP/2 400 ","response":"<!DOCTYPE HTML PUBLIC \"-//IETF//DTD HTML 2.0//EN\">\r\n<html>\r\n<head><title>400 Bad Request</title></head>\r\n<body>\r\n<center><h1>400 Bad Request</h1></center>\r\n Sorry for the inconvenience.<br/>\r\nPlease report this message and include the following information to us.<br/>\r\nThank you very much!</p>\r\n<table>\r\n<tr>\r\n<td>URL:</td>\r\n<td>https://gd.glucose-dev.online/api/docflow/prepare-generated-doc</td>\r\n</tr>\r\n<tr>\r\n<td>Server:</td>\r\n<td>mail.glucose-dev.online</td>\r\n</tr>\r\n<tr>\r\n<td>Date:</td>\r\n<td>2026/10/16 17:45:22</td>\r\n</tr>\r\n</table>\r\n<hr><center>tengine</center>\r\n</body>\r\n</html>\r\n","payload":{"account_id":"22699852","entity_id":"42838570","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"56bbb14"}
[2026-10-16 17:45:22] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://gd.glucose-dev.online/api/docflow/prepare-generated-doc","payload":{"account_id":"22699852","entity_id":"42838570","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"56bbb14"}
[2026-10-16 17:45:22] docflow.WARNING: AmoDrive prepare-generated-doc request failed {"url":"https://gd.glucose-dev.online/api/docflow/prepare-generated-doc","http_code":null,"error":"HTTP/2 404 ","response":"[object] (stdClass: {\"ok\":false,\"error\":\"AmoDrive is not installed for this account.\",\"accountId\":22699852})","payload":{"account_id":"22699852","entity_id":"42838570","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"56bbb14"}
[2026-10-16 17:45:22] 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) 119 20261016174521\",\"leadId\":\"42838570\",\"entities\":{\"\\u0441\\u0434\\u0435\\u043b\\u043a\\u0430\":{\"Brand\":\"Emigrare.md\",\"Shema\":\"Emigrare\",\"Suma \\u20ac\":\"0\",\"tree_name\":\"Emigrare\",\"ID\":\"42838570\",\"\\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\":\"Untila Dorina\",\"Responsible\":\"Untila Dorina\"},\"lead\":{\"Brand\":\"Emigrare.md\",\"Shema\":\"Emigrare\",\"Suma \\u20ac\":\"0\",\"tree_name\":\"Emigrare\",\"ID\":\"42838570\",\"\\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\":\"Untila Dorina\",\"Responsible\":\"Untila Dorina\"},\"\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442\":{\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"14039780305\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Contact 14039780305\",\"Contact_name\":\"Contact 14039780305\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"Untila Dorina\",\"Responsible\":\"Untila Dorina\"},\"contact\":{\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"14039780305\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Contact 14039780305\",\"Contact_name\":\"Contact 14039780305\",\"\\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\":[{\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"14039780305\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Contact 14039780305\",\"\\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\":\"16.10.2026\",\"\\u041d\\u043e\\u043c\\u0435\\u0440\":\"119\"},\"document\":{\"Date\":\"16.10.2026\",\"Number\":\"119\"}}}","edit":true}} {"uid":"56bbb14"}
[2026-10-16 17:45:29] docflow.DEBUG: GAS raw response {"raw":"[object] (stdClass: {\"code\":1,\"url\":\"https://docs.google.com/open?id=1IF9VObP4T9FFvvsKFk9qfoTI_oMPKs0I3-CPHK608q0\",\"file_id\":\"1IF9VObP4T9FFvvsKFk9qfoTI_oMPKs0I3-CPHK608q0\",\"error\":\"\",\"vars\":\"\"})"} {"uid":"56bbb14"}
[2026-10-16 17:45:29] docflow.WARNING: AmoDrive generated-file move is not ready. {"fileId":"1IF9VObP4T9FFvvsKFk9qfoTI_oMPKs0I3-CPHK608q0","context":null} {"uid":"56bbb14"}
