[2026-10-13 10:15:13] docflow.INFO: Apel createDoc {"data":{"amoAccountId":"22699852","amoUserId":null,"amoEntityId":"42804164","amoEntityType":"2","templateId":"11495","corporateEntityId":"","settlementAccountId":"","is_signed":null,"gdi":null,"number":null,"currentAmoUserId":null,"lang":"ru"}} {"uid":"68223a9"}
[2026-10-13 10:15:13] docflow.INFO: Token validation failed for account 22699852. Refreshing... {"http_code":null,"error_message":"HTTP/2 401 "} {"uid":"68223a9"}
[2026-10-13 10:15:13] docflow.INFO: Attempting token refresh with payload: {"client_id":"0d64dffb-e54b-448f-9fbf-baf2251a11db","client_secret":"AXqHrT1J35SilTTtI3yyaHdQKiS5bonhySaPYkLmo7mR6ZZ9zDP24dUjG189VG9G","grant_type":"refresh_token","refresh_token":"def50200c769cdf33f10a402b94922aedccc13095f364346f02bbc35442b96042a26339004015f745b1db21f1cdaee02d5497075548e349f93425e0ef980ef69cb8f441885e6f87b0f68c69d9c79b28fe64a86dc60c320e73446376177f1895f9e4f5d29fd839b81ea0195c6d4cfc011e44c47cdebe19e12af50d324d77cd299df9bb66b0bd675855aac556b14f547bfb6a4e0149c0e6a013c4583ba299da77982ac654e48cedeff772710d688a2ee2f43b731b7c49f60b93b8aa550eab6db7d3b413c8cee3ef43e94a19b9e46c8453f7d46a0dd33dfe7bfad53b781feb79b3fba124c8ea4f95e97b04aa02dcf1577109d6d041641e76d3cf041d493a9b3e96a3a000b8da4c416778f0d07dd37d40029a4b0ba3cb11512d0a48dd336521e508eb0a775bdbd3959d8176aa5faf36ccf8315f050cf3a2712ed34f3a1a7b815626b400b9f69af588a5b526a1435f32dd6e7075361f462c97aeaaf6af4e02e860dda0dc91e12fdb527cd63d5ff63f2b39c58221638cea9bc2192b6daddb8f32029b6ce6bb15ad48d2b8e46a001af780ede1f25d74ca7b4e5b8985ca27baa0929138ef438c8cac6201fd3ffc0cfcafcdeed7ea15bcac9f4fbe17b6ab574e5122bd751e7ea4ed1f80c0d0d110c2c0bc46b3af6874984305f0b","redirect_uri":"https://document.amocrm.md/core/manager/install.php"} {"uid":"68223a9"}
[2026-10-13 10:15:14] docflow.INFO: Token for account 22699852 refreshed successfully. [] {"uid":"68223a9"}
[2026-10-13 10:15:14] docflow.DEBUG: getClientAuth returned {"auth":"[object] (stdClass: {\"domain\":\"emigrare.amocrm.ru\",\"access_token\":\"eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImp0aSI6IjA5Zjk3NjIwZWVhZDQ5MTk1YzAzMjExYWQzZWMwNWFmODMzOTAyYzkwNDUxYThhMDRlNWI2NGZhZTg5ODk0NGM0NzIxZWFiYTAwYWRmNGY1In0.eyJhdWQiOiIwZDY0ZGZmYi1lNTRiLTQ0OGYtOWZiZi1iYWYyMjUxYTExZGIiLCJqdGkiOiIwOWY5NzYyMGVlYWQ0OTE5NWMwMzIxMWFkM2VjMDVhZjgzMzkwMmM5MDQ1MWE4YTA0ZTViNjRmYWU4OTg5NDRjNDcyMWVhYmEwMGFkZjRmNSIsImlhdCI6MTc5MTg3NTcxNCwibmJmIjoxNzkxODc1NzE0LCJleHAiOjE3OTE5NjIxMTQsInN1YiI6IjI5MzAzODAiLCJncmFudF90eXBlIjoiIiwiYWNjb3VudF9pZCI6MjI2OTk4NTIsImJhc2VfZG9tYWluIjoiYW1vY3JtLnJ1IiwidmVyc2lvbiI6Miwic2NvcGVzIjpbInB1c2hfbm90aWZpY2F0aW9ucyIsImNybSIsIm5vdGlmaWNhdGlvbnMiXSwiaGFzaF91dWlkIjoiZjhhNDRkOTgtMTRlNS00OTcxLTllMGEtNTRhZDY5OGQyYmQ4IiwiYXBpX2RvbWFpbiI6ImFwaS1hLmFtb2NybS5ydSJ9.NBJbkjpQVkql6RIh0lb5_KN4a3HryxJWNmjqTpgN1z5_38BKNZZYuaLC3jSuifBhZ1bpvGNOvdij0i0pQgyxhOaT9bZBjt_vLr-92V395z4ycsTFsK62KSDyZ-lAic98RxsqiX1xzPrdIi7NEXKX9Ls1ZHz0dwCgMJC2czZsigpjSEG0ErTZNdfsZrz00lM5F7cYbWP1m6JO78QBQJmrF_fRwFLiWGm9epjs7WmHTq4gO0Ski6-09ZTgjUIdj0zk6kP0vuWPHu9bZb8EP2IglQ0UjVN2AuacD9jBZvwt8Z6Q3TPnOEJaD0MJgiSlBcFs7wQ2ueorh3T8wV5cwy3VIA\"})","file":"/home/ytvmclwh/document.amocrm.md/src/Models/Docs.php","line":121} {"uid":"68223a9"}
[2026-10-13 10:15:17] docflow.DEBUG: AmoDrive docflow context request {"url":"https://google.emale.uno/api/docflow/google-context","query":{"account_id":"22699852","entity_id":"42804164","entity_type":"leads"}} {"uid":"68223a9"}
[2026-10-13 10:15:17] 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=42804164&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/13 10:15:17</td>\r\n</tr>\r\n</table>\r\n<hr><center>tengine</center>\r\n</body>\r\n</html>\r\n"} {"uid":"68223a9"}
[2026-10-13 10:15:17] docflow.DEBUG: AmoDrive docflow context request {"url":"https://gd.glucose-dev.online/api/docflow/google-context","query":{"account_id":"22699852","entity_id":"42804164","entity_type":"leads"}} {"uid":"68223a9"}
[2026-10-13 10: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":22699852,"entityId":"42804164","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":312,"isLifetime":false},"licenseActive":false,"googleConnected":false,"googleEmail":null,"googleHasDriveScope":false,"googleHasDriveFileScope":false,"googleHasOwnershipScope":false,"readyForGeneratedFileMove":false,"readyForTransfer":false},"folder":{"id":"1gQ0IOsseaNwxE00IJO1I0sKz4rejLYwG","name":"42804164 - Lead #42804164","webViewLink":"https://drive.google.com/drive/folders/1gQ0IOsseaNwxE00IJO1I0sKz4rejLYwG"}}} {"uid":"68223a9"}
[2026-10-13 10:15:17] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://google.emale.uno/api/docflow/prepare-generated-doc","payload":{"account_id":"22699852","entity_id":"42804164","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"68223a9"}
[2026-10-13 10: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/13 10: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":"22699852","entity_id":"42804164","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"68223a9"}
[2026-10-13 10:15:17] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://gd.glucose-dev.online/api/docflow/prepare-generated-doc","payload":{"account_id":"22699852","entity_id":"42804164","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"68223a9"}
[2026-10-13 10: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\":22699852})","payload":{"account_id":"22699852","entity_id":"42804164","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"68223a9"}
[2026-10-13 10:15:17] 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) 444 20261013101517\",\"leadId\":\"42804164\",\"entities\":{\"\\u0441\\u0434\\u0435\\u043b\\u043a\\u0430\":{\"Suma \\u20ac\":\"0\",\"ID\":\"42804164\",\"\\u0421\\u0434\\u0435\\u043b\\u043a\\u0430_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"PS\",\"Lead_name\":\"PS\",\"\\u0411\\u044e\\u0434\\u0436\\u0435\\u0442\":\"0\",\"Budget\":\"0\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"Iulia Chiperi\",\"Responsible\":\"Iulia Chiperi\"},\"lead\":{\"Suma \\u20ac\":\"0\",\"ID\":\"42804164\",\"\\u0421\\u0434\\u0435\\u043b\\u043a\\u0430_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"PS\",\"Lead_name\":\"PS\",\"\\u0411\\u044e\\u0434\\u0436\\u0435\\u0442\":\"0\",\"Budget\":\"0\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"Iulia Chiperi\",\"Responsible\":\"Iulia Chiperi\"},\"\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442\":{\"WhatsappLid_WZ\":\"231872483344484\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"+79215231289\",\"Email\":\"karagioz04@gmail.com\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"\\u041a\\u0430\\u0440\\u0430\\u0433\\u0438\\u043e\\u0437 \\u0415\\u043b\\u0438\\u0437\\u0430\\u0432\\u0435\\u0442\\u0430 \\u0412\\u0430\\u0441\\u0438\\u043b\\u044c\\u0435\\u0432\\u043d\\u0430\",\"Contact_name\":\"\\u041a\\u0430\\u0440\\u0430\\u0433\\u0438\\u043e\\u0437 \\u0415\\u043b\\u0438\\u0437\\u0430\\u0432\\u0435\\u0442\\u0430 \\u0412\\u0430\\u0441\\u0438\\u043b\\u044c\\u0435\\u0432\\u043d\\u0430\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"Iulia Chiperi\",\"Responsible\":\"Iulia Chiperi\"},\"contact\":{\"WhatsappLid_WZ\":\"231872483344484\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"+79215231289\",\"Email\":\"karagioz04@gmail.com\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"\\u041a\\u0430\\u0440\\u0430\\u0433\\u0438\\u043e\\u0437 \\u0415\\u043b\\u0438\\u0437\\u0430\\u0432\\u0435\\u0442\\u0430 \\u0412\\u0430\\u0441\\u0438\\u043b\\u044c\\u0435\\u0432\\u043d\\u0430\",\"Contact_name\":\"\\u041a\\u0430\\u0440\\u0430\\u0433\\u0438\\u043e\\u0437 \\u0415\\u043b\\u0438\\u0437\\u0430\\u0432\\u0435\\u0442\\u0430 \\u0412\\u0430\\u0441\\u0438\\u043b\\u044c\\u0435\\u0432\\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\":\"231872483344484\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"+79215231289\",\"Email\":\"karagioz04@gmail.com\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"\\u041a\\u0430\\u0440\\u0430\\u0433\\u0438\\u043e\\u0437 \\u0415\\u043b\\u0438\\u0437\\u0430\\u0432\\u0435\\u0442\\u0430 \\u0412\\u0430\\u0441\\u0438\\u043b\\u044c\\u0435\\u0432\\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\":\"13.10.2026\",\"\\u041d\\u043e\\u043c\\u0435\\u0440\":\"444\"},\"document\":{\"Date\":\"13.10.2026\",\"Number\":\"444\"}}}","edit":true}} {"uid":"68223a9"}
[2026-10-13 10:15:26] docflow.DEBUG: GAS raw response {"raw":"[object] (stdClass: {\"code\":1,\"url\":\"https://docs.google.com/open?id=1ZI3Bzgrq6nm1qiwmlNoMvcU6gbdzhWRER470oEGP9aY\",\"file_id\":\"1ZI3Bzgrq6nm1qiwmlNoMvcU6gbdzhWRER470oEGP9aY\",\"error\":\"\",\"vars\":\"\"})"} {"uid":"68223a9"}
[2026-10-13 10:15:26] docflow.WARNING: AmoDrive generated-file move is not ready. {"fileId":"1ZI3Bzgrq6nm1qiwmlNoMvcU6gbdzhWRER470oEGP9aY","context":null} {"uid":"68223a9"}
[2026-10-13 10:16:44] docflow.INFO: Apel createDoc {"data":{"amoAccountId":"22699852","amoUserId":null,"amoEntityId":"42804164","amoEntityType":"2","templateId":"11515","corporateEntityId":"","settlementAccountId":"","is_signed":null,"gdi":null,"number":null,"currentAmoUserId":null,"lang":"ru"}} {"uid":"f76b54e"}
[2026-10-13 10:16:44] docflow.INFO: Token is valid for account 22699852. [] {"uid":"f76b54e"}
[2026-10-13 10:16:44] docflow.DEBUG: getClientAuth returned {"auth":"[object] (stdClass: {\"domain\":\"emigrare.amocrm.ru\",\"access_token\":\"eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImp0aSI6IjA5Zjk3NjIwZWVhZDQ5MTk1YzAzMjExYWQzZWMwNWFmODMzOTAyYzkwNDUxYThhMDRlNWI2NGZhZTg5ODk0NGM0NzIxZWFiYTAwYWRmNGY1In0.eyJhdWQiOiIwZDY0ZGZmYi1lNTRiLTQ0OGYtOWZiZi1iYWYyMjUxYTExZGIiLCJqdGkiOiIwOWY5NzYyMGVlYWQ0OTE5NWMwMzIxMWFkM2VjMDVhZjgzMzkwMmM5MDQ1MWE4YTA0ZTViNjRmYWU4OTg5NDRjNDcyMWVhYmEwMGFkZjRmNSIsImlhdCI6MTc5MTg3NTcxNCwibmJmIjoxNzkxODc1NzE0LCJleHAiOjE3OTE5NjIxMTQsInN1YiI6IjI5MzAzODAiLCJncmFudF90eXBlIjoiIiwiYWNjb3VudF9pZCI6MjI2OTk4NTIsImJhc2VfZG9tYWluIjoiYW1vY3JtLnJ1IiwidmVyc2lvbiI6Miwic2NvcGVzIjpbInB1c2hfbm90aWZpY2F0aW9ucyIsImNybSIsIm5vdGlmaWNhdGlvbnMiXSwiaGFzaF91dWlkIjoiZjhhNDRkOTgtMTRlNS00OTcxLTllMGEtNTRhZDY5OGQyYmQ4IiwiYXBpX2RvbWFpbiI6ImFwaS1hLmFtb2NybS5ydSJ9.NBJbkjpQVkql6RIh0lb5_KN4a3HryxJWNmjqTpgN1z5_38BKNZZYuaLC3jSuifBhZ1bpvGNOvdij0i0pQgyxhOaT9bZBjt_vLr-92V395z4ycsTFsK62KSDyZ-lAic98RxsqiX1xzPrdIi7NEXKX9Ls1ZHz0dwCgMJC2czZsigpjSEG0ErTZNdfsZrz00lM5F7cYbWP1m6JO78QBQJmrF_fRwFLiWGm9epjs7WmHTq4gO0Ski6-09ZTgjUIdj0zk6kP0vuWPHu9bZb8EP2IglQ0UjVN2AuacD9jBZvwt8Z6Q3TPnOEJaD0MJgiSlBcFs7wQ2ueorh3T8wV5cwy3VIA\"})","file":"/home/ytvmclwh/document.amocrm.md/src/Models/Docs.php","line":121} {"uid":"f76b54e"}
[2026-10-13 10:16:47] docflow.DEBUG: AmoDrive docflow context request {"url":"https://google.emale.uno/api/docflow/google-context","query":{"account_id":"22699852","entity_id":"42804164","entity_type":"leads"}} {"uid":"f76b54e"}
[2026-10-13 10:16: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=42804164&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/13 10:16:47</td>\r\n</tr>\r\n</table>\r\n<hr><center>tengine</center>\r\n</body>\r\n</html>\r\n"} {"uid":"f76b54e"}
[2026-10-13 10:16:47] docflow.DEBUG: AmoDrive docflow context request {"url":"https://gd.glucose-dev.online/api/docflow/google-context","query":{"account_id":"22699852","entity_id":"42804164","entity_type":"leads"}} {"uid":"f76b54e"}
[2026-10-13 10:16: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":"42804164","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":312,"isLifetime":false},"licenseActive":false,"googleConnected":false,"googleEmail":null,"googleHasDriveScope":false,"googleHasDriveFileScope":false,"googleHasOwnershipScope":false,"readyForGeneratedFileMove":false,"readyForTransfer":false},"folder":{"id":"1gQ0IOsseaNwxE00IJO1I0sKz4rejLYwG","name":"42804164 - Lead #42804164","webViewLink":"https://drive.google.com/drive/folders/1gQ0IOsseaNwxE00IJO1I0sKz4rejLYwG"}}} {"uid":"f76b54e"}
[2026-10-13 10:16:47] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://google.emale.uno/api/docflow/prepare-generated-doc","payload":{"account_id":"22699852","entity_id":"42804164","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"f76b54e"}
[2026-10-13 10:16: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/13 10:16: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":"42804164","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"f76b54e"}
[2026-10-13 10:16: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":"42804164","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"f76b54e"}
[2026-10-13 10:16: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":"42804164","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"f76b54e"}
[2026-10-13 10:16:47] 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) 1734 20261013101647\",\"leadId\":\"42804164\",\"entities\":{\"\\u0441\\u0434\\u0435\\u043b\\u043a\\u0430\":{\"Suma \\u20ac\":\"0\",\"ID\":\"42804164\",\"\\u0421\\u0434\\u0435\\u043b\\u043a\\u0430_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"PS\",\"Lead_name\":\"PS\",\"\\u0411\\u044e\\u0434\\u0436\\u0435\\u0442\":\"0\",\"Budget\":\"0\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"Iulia Chiperi\",\"Responsible\":\"Iulia Chiperi\"},\"lead\":{\"Suma \\u20ac\":\"0\",\"ID\":\"42804164\",\"\\u0421\\u0434\\u0435\\u043b\\u043a\\u0430_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"PS\",\"Lead_name\":\"PS\",\"\\u0411\\u044e\\u0434\\u0436\\u0435\\u0442\":\"0\",\"Budget\":\"0\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"Iulia Chiperi\",\"Responsible\":\"Iulia Chiperi\"},\"\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442\":{\"WhatsappLid_WZ\":\"231872483344484\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"+79215231289\",\"Email\":\"karagioz04@gmail.com\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"\\u041a\\u0430\\u0440\\u0430\\u0433\\u0438\\u043e\\u0437 \\u0415\\u043b\\u0438\\u0437\\u0430\\u0432\\u0435\\u0442\\u0430 \\u0412\\u0430\\u0441\\u0438\\u043b\\u044c\\u0435\\u0432\\u043d\\u0430\",\"Contact_name\":\"\\u041a\\u0430\\u0440\\u0430\\u0433\\u0438\\u043e\\u0437 \\u0415\\u043b\\u0438\\u0437\\u0430\\u0432\\u0435\\u0442\\u0430 \\u0412\\u0430\\u0441\\u0438\\u043b\\u044c\\u0435\\u0432\\u043d\\u0430\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"Iulia Chiperi\",\"Responsible\":\"Iulia Chiperi\"},\"contact\":{\"WhatsappLid_WZ\":\"231872483344484\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"+79215231289\",\"Email\":\"karagioz04@gmail.com\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"\\u041a\\u0430\\u0440\\u0430\\u0433\\u0438\\u043e\\u0437 \\u0415\\u043b\\u0438\\u0437\\u0430\\u0432\\u0435\\u0442\\u0430 \\u0412\\u0430\\u0441\\u0438\\u043b\\u044c\\u0435\\u0432\\u043d\\u0430\",\"Contact_name\":\"\\u041a\\u0430\\u0440\\u0430\\u0433\\u0438\\u043e\\u0437 \\u0415\\u043b\\u0438\\u0437\\u0430\\u0432\\u0435\\u0442\\u0430 \\u0412\\u0430\\u0441\\u0438\\u043b\\u044c\\u0435\\u0432\\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\":\"231872483344484\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"+79215231289\",\"Email\":\"karagioz04@gmail.com\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"\\u041a\\u0430\\u0440\\u0430\\u0433\\u0438\\u043e\\u0437 \\u0415\\u043b\\u0438\\u0437\\u0430\\u0432\\u0435\\u0442\\u0430 \\u0412\\u0430\\u0441\\u0438\\u043b\\u044c\\u0435\\u0432\\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\":\"13.10.2026\",\"\\u041d\\u043e\\u043c\\u0435\\u0440\":\"1734\"},\"document\":{\"Date\":\"13.10.2026\",\"Number\":\"1734\"}}}","edit":true}} {"uid":"f76b54e"}
[2026-10-13 10:16:55] docflow.DEBUG: GAS raw response {"raw":"[object] (stdClass: {\"code\":1,\"url\":\"https://docs.google.com/open?id=1yyQ8zklLpi-uBMqu2p0vR3PD8ttyi9pYT0cg6q97_cw\",\"file_id\":\"1yyQ8zklLpi-uBMqu2p0vR3PD8ttyi9pYT0cg6q97_cw\",\"error\":\"\",\"vars\":\"\"})"} {"uid":"f76b54e"}
[2026-10-13 10:16:55] docflow.WARNING: AmoDrive generated-file move is not ready. {"fileId":"1yyQ8zklLpi-uBMqu2p0vR3PD8ttyi9pYT0cg6q97_cw","context":null} {"uid":"f76b54e"}
[2026-10-13 10:17:52] docflow.INFO: Apel createDoc {"data":{"amoAccountId":"22699852","amoUserId":null,"amoEntityId":"42804164","amoEntityType":"2","templateId":"11502","corporateEntityId":"","settlementAccountId":"","is_signed":null,"gdi":null,"number":null,"currentAmoUserId":null,"lang":"ru"}} {"uid":"ace4c64"}
[2026-10-13 10:17:52] docflow.INFO: Token is valid for account 22699852. [] {"uid":"ace4c64"}
[2026-10-13 10:17:52] docflow.DEBUG: getClientAuth returned {"auth":"[object] (stdClass: {\"domain\":\"emigrare.amocrm.ru\",\"access_token\":\"eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImp0aSI6IjA5Zjk3NjIwZWVhZDQ5MTk1YzAzMjExYWQzZWMwNWFmODMzOTAyYzkwNDUxYThhMDRlNWI2NGZhZTg5ODk0NGM0NzIxZWFiYTAwYWRmNGY1In0.eyJhdWQiOiIwZDY0ZGZmYi1lNTRiLTQ0OGYtOWZiZi1iYWYyMjUxYTExZGIiLCJqdGkiOiIwOWY5NzYyMGVlYWQ0OTE5NWMwMzIxMWFkM2VjMDVhZjgzMzkwMmM5MDQ1MWE4YTA0ZTViNjRmYWU4OTg5NDRjNDcyMWVhYmEwMGFkZjRmNSIsImlhdCI6MTc5MTg3NTcxNCwibmJmIjoxNzkxODc1NzE0LCJleHAiOjE3OTE5NjIxMTQsInN1YiI6IjI5MzAzODAiLCJncmFudF90eXBlIjoiIiwiYWNjb3VudF9pZCI6MjI2OTk4NTIsImJhc2VfZG9tYWluIjoiYW1vY3JtLnJ1IiwidmVyc2lvbiI6Miwic2NvcGVzIjpbInB1c2hfbm90aWZpY2F0aW9ucyIsImNybSIsIm5vdGlmaWNhdGlvbnMiXSwiaGFzaF91dWlkIjoiZjhhNDRkOTgtMTRlNS00OTcxLTllMGEtNTRhZDY5OGQyYmQ4IiwiYXBpX2RvbWFpbiI6ImFwaS1hLmFtb2NybS5ydSJ9.NBJbkjpQVkql6RIh0lb5_KN4a3HryxJWNmjqTpgN1z5_38BKNZZYuaLC3jSuifBhZ1bpvGNOvdij0i0pQgyxhOaT9bZBjt_vLr-92V395z4ycsTFsK62KSDyZ-lAic98RxsqiX1xzPrdIi7NEXKX9Ls1ZHz0dwCgMJC2czZsigpjSEG0ErTZNdfsZrz00lM5F7cYbWP1m6JO78QBQJmrF_fRwFLiWGm9epjs7WmHTq4gO0Ski6-09ZTgjUIdj0zk6kP0vuWPHu9bZb8EP2IglQ0UjVN2AuacD9jBZvwt8Z6Q3TPnOEJaD0MJgiSlBcFs7wQ2ueorh3T8wV5cwy3VIA\"})","file":"/home/ytvmclwh/document.amocrm.md/src/Models/Docs.php","line":121} {"uid":"ace4c64"}
[2026-10-13 10:17:55] docflow.DEBUG: AmoDrive docflow context request {"url":"https://google.emale.uno/api/docflow/google-context","query":{"account_id":"22699852","entity_id":"42804164","entity_type":"leads"}} {"uid":"ace4c64"}
[2026-10-13 10:17:55] docflow.WARNING: AmoDrive docflow context request failed {"url":"https://google.emale.uno/api/docflow/google-context","http_code":null,"error":"HTTP/2 400 ","response":"<!DOCTYPE HTML PUBLIC \"-//IETF//DTD HTML 2.0//EN\">\r\n<html>\r\n<head><title>400 Bad Request</title></head>\r\n<body>\r\n<center><h1>400 Bad Request</h1></center>\r\n Sorry for the inconvenience.<br/>\r\nPlease report this message and include the following information to us.<br/>\r\nThank you very much!</p>\r\n<table>\r\n<tr>\r\n<td>URL:</td>\r\n<td>https://gd.glucose-dev.online/api/docflow/google-context?account_id=22699852&amp;entity_id=42804164&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/13 10:17:55</td>\r\n</tr>\r\n</table>\r\n<hr><center>tengine</center>\r\n</body>\r\n</html>\r\n"} {"uid":"ace4c64"}
[2026-10-13 10:17:55] docflow.DEBUG: AmoDrive docflow context request {"url":"https://gd.glucose-dev.online/api/docflow/google-context","query":{"account_id":"22699852","entity_id":"42804164","entity_type":"leads"}} {"uid":"ace4c64"}
[2026-10-13 10:17:55] docflow.WARNING: AmoDrive docflow context response is not ready, trying next backend. {"url":"https://gd.glucose-dev.online/api/docflow/google-context","payload":{"ok":true,"accountId":22699852,"entityId":"42804164","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":312,"isLifetime":false},"licenseActive":false,"googleConnected":false,"googleEmail":null,"googleHasDriveScope":false,"googleHasDriveFileScope":false,"googleHasOwnershipScope":false,"readyForGeneratedFileMove":false,"readyForTransfer":false},"folder":{"id":"1gQ0IOsseaNwxE00IJO1I0sKz4rejLYwG","name":"42804164 - Lead #42804164","webViewLink":"https://drive.google.com/drive/folders/1gQ0IOsseaNwxE00IJO1I0sKz4rejLYwG"}}} {"uid":"ace4c64"}
[2026-10-13 10:17:55] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://google.emale.uno/api/docflow/prepare-generated-doc","payload":{"account_id":"22699852","entity_id":"42804164","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"ace4c64"}
[2026-10-13 10:17:55] docflow.WARNING: AmoDrive prepare-generated-doc request failed {"url":"https://google.emale.uno/api/docflow/prepare-generated-doc","http_code":null,"error":"HTTP/2 400 ","response":"<!DOCTYPE HTML PUBLIC \"-//IETF//DTD HTML 2.0//EN\">\r\n<html>\r\n<head><title>400 Bad Request</title></head>\r\n<body>\r\n<center><h1>400 Bad Request</h1></center>\r\n Sorry for the inconvenience.<br/>\r\nPlease report this message and include the following information to us.<br/>\r\nThank you very much!</p>\r\n<table>\r\n<tr>\r\n<td>URL:</td>\r\n<td>https://gd.glucose-dev.online/api/docflow/prepare-generated-doc</td>\r\n</tr>\r\n<tr>\r\n<td>Server:</td>\r\n<td>mail.glucose-dev.online</td>\r\n</tr>\r\n<tr>\r\n<td>Date:</td>\r\n<td>2026/10/13 10:17:55</td>\r\n</tr>\r\n</table>\r\n<hr><center>tengine</center>\r\n</body>\r\n</html>\r\n","payload":{"account_id":"22699852","entity_id":"42804164","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"ace4c64"}
[2026-10-13 10:17:55] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://gd.glucose-dev.online/api/docflow/prepare-generated-doc","payload":{"account_id":"22699852","entity_id":"42804164","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"ace4c64"}
[2026-10-13 10:17:55] docflow.WARNING: AmoDrive prepare-generated-doc request failed {"url":"https://gd.glucose-dev.online/api/docflow/prepare-generated-doc","http_code":null,"error":"HTTP/2 404 ","response":"[object] (stdClass: {\"ok\":false,\"error\":\"AmoDrive is not installed for this account.\",\"accountId\":22699852})","payload":{"account_id":"22699852","entity_id":"42804164","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"ace4c64"}
[2026-10-13 10:17:55] 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) 112 20261013101755\",\"leadId\":\"42804164\",\"entities\":{\"\\u0441\\u0434\\u0435\\u043b\\u043a\\u0430\":{\"Suma \\u20ac\":\"0\",\"ID\":\"42804164\",\"\\u0421\\u0434\\u0435\\u043b\\u043a\\u0430_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"PS\",\"Lead_name\":\"PS\",\"\\u0411\\u044e\\u0434\\u0436\\u0435\\u0442\":\"0\",\"Budget\":\"0\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"Iulia Chiperi\",\"Responsible\":\"Iulia Chiperi\"},\"lead\":{\"Suma \\u20ac\":\"0\",\"ID\":\"42804164\",\"\\u0421\\u0434\\u0435\\u043b\\u043a\\u0430_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"PS\",\"Lead_name\":\"PS\",\"\\u0411\\u044e\\u0434\\u0436\\u0435\\u0442\":\"0\",\"Budget\":\"0\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"Iulia Chiperi\",\"Responsible\":\"Iulia Chiperi\"},\"\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442\":{\"WhatsappLid_WZ\":\"231872483344484\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"+79215231289\",\"Email\":\"karagioz04@gmail.com\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"\\u041a\\u0430\\u0440\\u0430\\u0433\\u0438\\u043e\\u0437 \\u0415\\u043b\\u0438\\u0437\\u0430\\u0432\\u0435\\u0442\\u0430 \\u0412\\u0430\\u0441\\u0438\\u043b\\u044c\\u0435\\u0432\\u043d\\u0430\",\"Contact_name\":\"\\u041a\\u0430\\u0440\\u0430\\u0433\\u0438\\u043e\\u0437 \\u0415\\u043b\\u0438\\u0437\\u0430\\u0432\\u0435\\u0442\\u0430 \\u0412\\u0430\\u0441\\u0438\\u043b\\u044c\\u0435\\u0432\\u043d\\u0430\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"Iulia Chiperi\",\"Responsible\":\"Iulia Chiperi\"},\"contact\":{\"WhatsappLid_WZ\":\"231872483344484\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"+79215231289\",\"Email\":\"karagioz04@gmail.com\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"\\u041a\\u0430\\u0440\\u0430\\u0433\\u0438\\u043e\\u0437 \\u0415\\u043b\\u0438\\u0437\\u0430\\u0432\\u0435\\u0442\\u0430 \\u0412\\u0430\\u0441\\u0438\\u043b\\u044c\\u0435\\u0432\\u043d\\u0430\",\"Contact_name\":\"\\u041a\\u0430\\u0440\\u0430\\u0433\\u0438\\u043e\\u0437 \\u0415\\u043b\\u0438\\u0437\\u0430\\u0432\\u0435\\u0442\\u0430 \\u0412\\u0430\\u0441\\u0438\\u043b\\u044c\\u0435\\u0432\\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\":\"231872483344484\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"+79215231289\",\"Email\":\"karagioz04@gmail.com\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"\\u041a\\u0430\\u0440\\u0430\\u0433\\u0438\\u043e\\u0437 \\u0415\\u043b\\u0438\\u0437\\u0430\\u0432\\u0435\\u0442\\u0430 \\u0412\\u0430\\u0441\\u0438\\u043b\\u044c\\u0435\\u0432\\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\":\"13.10.2026\",\"\\u041d\\u043e\\u043c\\u0435\\u0440\":\"112\"},\"document\":{\"Date\":\"13.10.2026\",\"Number\":\"112\"}}}","edit":true}} {"uid":"ace4c64"}
[2026-10-13 10:18:00] docflow.DEBUG: GAS raw response {"raw":"[object] (stdClass: {\"code\":1,\"url\":\"https://docs.google.com/open?id=1EspNTwWApynZUwBbAB5yhsC0QP8RKovqaLWHuUnzL48\",\"file_id\":\"1EspNTwWApynZUwBbAB5yhsC0QP8RKovqaLWHuUnzL48\",\"error\":\"\",\"vars\":\"\"})"} {"uid":"ace4c64"}
[2026-10-13 10:18:00] docflow.WARNING: AmoDrive generated-file move is not ready. {"fileId":"1EspNTwWApynZUwBbAB5yhsC0QP8RKovqaLWHuUnzL48","context":null} {"uid":"ace4c64"}
[2026-10-13 10:35:23] docflow.INFO: Apel createDoc {"data":{"amoAccountId":"22699852","amoUserId":null,"amoEntityId":"42800492","amoEntityType":"2","templateId":"11495","corporateEntityId":"","settlementAccountId":"","is_signed":null,"gdi":null,"number":null,"currentAmoUserId":null,"lang":"ru"}} {"uid":"2bdd5d9"}
[2026-10-13 10:35:23] docflow.INFO: Token is valid for account 22699852. [] {"uid":"2bdd5d9"}
[2026-10-13 10:35:23] docflow.DEBUG: getClientAuth returned {"auth":"[object] (stdClass: {\"domain\":\"emigrare.amocrm.ru\",\"access_token\":\"eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImp0aSI6IjA5Zjk3NjIwZWVhZDQ5MTk1YzAzMjExYWQzZWMwNWFmODMzOTAyYzkwNDUxYThhMDRlNWI2NGZhZTg5ODk0NGM0NzIxZWFiYTAwYWRmNGY1In0.eyJhdWQiOiIwZDY0ZGZmYi1lNTRiLTQ0OGYtOWZiZi1iYWYyMjUxYTExZGIiLCJqdGkiOiIwOWY5NzYyMGVlYWQ0OTE5NWMwMzIxMWFkM2VjMDVhZjgzMzkwMmM5MDQ1MWE4YTA0ZTViNjRmYWU4OTg5NDRjNDcyMWVhYmEwMGFkZjRmNSIsImlhdCI6MTc5MTg3NTcxNCwibmJmIjoxNzkxODc1NzE0LCJleHAiOjE3OTE5NjIxMTQsInN1YiI6IjI5MzAzODAiLCJncmFudF90eXBlIjoiIiwiYWNjb3VudF9pZCI6MjI2OTk4NTIsImJhc2VfZG9tYWluIjoiYW1vY3JtLnJ1IiwidmVyc2lvbiI6Miwic2NvcGVzIjpbInB1c2hfbm90aWZpY2F0aW9ucyIsImNybSIsIm5vdGlmaWNhdGlvbnMiXSwiaGFzaF91dWlkIjoiZjhhNDRkOTgtMTRlNS00OTcxLTllMGEtNTRhZDY5OGQyYmQ4IiwiYXBpX2RvbWFpbiI6ImFwaS1hLmFtb2NybS5ydSJ9.NBJbkjpQVkql6RIh0lb5_KN4a3HryxJWNmjqTpgN1z5_38BKNZZYuaLC3jSuifBhZ1bpvGNOvdij0i0pQgyxhOaT9bZBjt_vLr-92V395z4ycsTFsK62KSDyZ-lAic98RxsqiX1xzPrdIi7NEXKX9Ls1ZHz0dwCgMJC2czZsigpjSEG0ErTZNdfsZrz00lM5F7cYbWP1m6JO78QBQJmrF_fRwFLiWGm9epjs7WmHTq4gO0Ski6-09ZTgjUIdj0zk6kP0vuWPHu9bZb8EP2IglQ0UjVN2AuacD9jBZvwt8Z6Q3TPnOEJaD0MJgiSlBcFs7wQ2ueorh3T8wV5cwy3VIA\"})","file":"/home/ytvmclwh/document.amocrm.md/src/Models/Docs.php","line":121} {"uid":"2bdd5d9"}
[2026-10-13 10:35:26] docflow.DEBUG: AmoDrive docflow context request {"url":"https://google.emale.uno/api/docflow/google-context","query":{"account_id":"22699852","entity_id":"42800492","entity_type":"leads"}} {"uid":"2bdd5d9"}
[2026-10-13 10:35: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=42800492&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/13 10:35:26</td>\r\n</tr>\r\n</table>\r\n<hr><center>tengine</center>\r\n</body>\r\n</html>\r\n"} {"uid":"2bdd5d9"}
[2026-10-13 10:35:26] docflow.DEBUG: AmoDrive docflow context request {"url":"https://gd.glucose-dev.online/api/docflow/google-context","query":{"account_id":"22699852","entity_id":"42800492","entity_type":"leads"}} {"uid":"2bdd5d9"}
[2026-10-13 10:35: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":"42800492","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":312,"isLifetime":false},"licenseActive":false,"googleConnected":false,"googleEmail":null,"googleHasDriveScope":false,"googleHasDriveFileScope":false,"googleHasOwnershipScope":false,"readyForGeneratedFileMove":false,"readyForTransfer":false},"folder":null}} {"uid":"2bdd5d9"}
[2026-10-13 10:35:27] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://google.emale.uno/api/docflow/prepare-generated-doc","payload":{"account_id":"22699852","entity_id":"42800492","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"2bdd5d9"}
[2026-10-13 10:35: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/13 10:35: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":"42800492","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"2bdd5d9"}
[2026-10-13 10:35: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":"42800492","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"2bdd5d9"}
[2026-10-13 10:35: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":"42800492","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"2bdd5d9"}
[2026-10-13 10:35:27] 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) 445 20261013103526\",\"leadId\":\"42800492\",\"entities\":{\"\\u0441\\u0434\\u0435\\u043b\\u043a\\u0430\":{\"ID\":\"42800492\",\"\\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\":{\"ID\":\"42800492\",\"\\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\":{\"TelegroupId_WZ\":\"@nowheretorun2\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"+79522424396\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"\\u0410\\u043b\\u0435\\u043a\\u0441\\u0430\\u043d\\u0434\\u0440\\u0430 \\u041c\\u0435\\u043b\\u044c\\u043d\\u0438\\u043a\\u043e\\u0432\\u0430\",\"Contact_name\":\"\\u0410\\u043b\\u0435\\u043a\\u0441\\u0430\\u043d\\u0434\\u0440\\u0430 \\u041c\\u0435\\u043b\\u044c\\u043d\\u0438\\u043a\\u043e\\u0432\\u0430\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"Untila Dorina\",\"Responsible\":\"Untila Dorina\"},\"contact\":{\"TelegroupId_WZ\":\"@nowheretorun2\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"+79522424396\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"\\u0410\\u043b\\u0435\\u043a\\u0441\\u0430\\u043d\\u0434\\u0440\\u0430 \\u041c\\u0435\\u043b\\u044c\\u043d\\u0438\\u043a\\u043e\\u0432\\u0430\",\"Contact_name\":\"\\u0410\\u043b\\u0435\\u043a\\u0441\\u0430\\u043d\\u0434\\u0440\\u0430 \\u041c\\u0435\\u043b\\u044c\\u043d\\u0438\\u043a\\u043e\\u0432\\u0430\",\"\\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\":[{\"TelegroupId_WZ\":\"@nowheretorun2\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"+79522424396\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"\\u0410\\u043b\\u0435\\u043a\\u0441\\u0430\\u043d\\u0434\\u0440\\u0430 \\u041c\\u0435\\u043b\\u044c\\u043d\\u0438\\u043a\\u043e\\u0432\\u0430\",\"\\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\":\"13.10.2026\",\"\\u041d\\u043e\\u043c\\u0435\\u0440\":\"445\"},\"document\":{\"Date\":\"13.10.2026\",\"Number\":\"445\"}}}","edit":true}} {"uid":"2bdd5d9"}
[2026-10-13 10:35:37] docflow.DEBUG: GAS raw response {"raw":"[object] (stdClass: {\"code\":1,\"url\":\"https://docs.google.com/open?id=1QX0gsDg4EKkQ4YNYuC-YaxUkzIQQL-URkmhpvk7E8Og\",\"file_id\":\"1QX0gsDg4EKkQ4YNYuC-YaxUkzIQQL-URkmhpvk7E8Og\",\"error\":\"\",\"vars\":\"\"})"} {"uid":"2bdd5d9"}
[2026-10-13 10:35:37] docflow.WARNING: AmoDrive generated-file move is not ready. {"fileId":"1QX0gsDg4EKkQ4YNYuC-YaxUkzIQQL-URkmhpvk7E8Og","context":null} {"uid":"2bdd5d9"}
[2026-10-13 10:42:21] docflow.INFO: Apel createDoc {"data":{"amoAccountId":"22699852","amoUserId":null,"amoEntityId":"42800492","amoEntityType":"2","templateId":"11515","corporateEntityId":"","settlementAccountId":"","is_signed":null,"gdi":null,"number":null,"currentAmoUserId":null,"lang":"ru"}} {"uid":"4c668a3"}
[2026-10-13 10:42:22] docflow.INFO: Token is valid for account 22699852. [] {"uid":"4c668a3"}
[2026-10-13 10:42:22] docflow.DEBUG: getClientAuth returned {"auth":"[object] (stdClass: {\"domain\":\"emigrare.amocrm.ru\",\"access_token\":\"eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImp0aSI6IjA5Zjk3NjIwZWVhZDQ5MTk1YzAzMjExYWQzZWMwNWFmODMzOTAyYzkwNDUxYThhMDRlNWI2NGZhZTg5ODk0NGM0NzIxZWFiYTAwYWRmNGY1In0.eyJhdWQiOiIwZDY0ZGZmYi1lNTRiLTQ0OGYtOWZiZi1iYWYyMjUxYTExZGIiLCJqdGkiOiIwOWY5NzYyMGVlYWQ0OTE5NWMwMzIxMWFkM2VjMDVhZjgzMzkwMmM5MDQ1MWE4YTA0ZTViNjRmYWU4OTg5NDRjNDcyMWVhYmEwMGFkZjRmNSIsImlhdCI6MTc5MTg3NTcxNCwibmJmIjoxNzkxODc1NzE0LCJleHAiOjE3OTE5NjIxMTQsInN1YiI6IjI5MzAzODAiLCJncmFudF90eXBlIjoiIiwiYWNjb3VudF9pZCI6MjI2OTk4NTIsImJhc2VfZG9tYWluIjoiYW1vY3JtLnJ1IiwidmVyc2lvbiI6Miwic2NvcGVzIjpbInB1c2hfbm90aWZpY2F0aW9ucyIsImNybSIsIm5vdGlmaWNhdGlvbnMiXSwiaGFzaF91dWlkIjoiZjhhNDRkOTgtMTRlNS00OTcxLTllMGEtNTRhZDY5OGQyYmQ4IiwiYXBpX2RvbWFpbiI6ImFwaS1hLmFtb2NybS5ydSJ9.NBJbkjpQVkql6RIh0lb5_KN4a3HryxJWNmjqTpgN1z5_38BKNZZYuaLC3jSuifBhZ1bpvGNOvdij0i0pQgyxhOaT9bZBjt_vLr-92V395z4ycsTFsK62KSDyZ-lAic98RxsqiX1xzPrdIi7NEXKX9Ls1ZHz0dwCgMJC2czZsigpjSEG0ErTZNdfsZrz00lM5F7cYbWP1m6JO78QBQJmrF_fRwFLiWGm9epjs7WmHTq4gO0Ski6-09ZTgjUIdj0zk6kP0vuWPHu9bZb8EP2IglQ0UjVN2AuacD9jBZvwt8Z6Q3TPnOEJaD0MJgiSlBcFs7wQ2ueorh3T8wV5cwy3VIA\"})","file":"/home/ytvmclwh/document.amocrm.md/src/Models/Docs.php","line":121} {"uid":"4c668a3"}
[2026-10-13 10:42:24] docflow.DEBUG: AmoDrive docflow context request {"url":"https://google.emale.uno/api/docflow/google-context","query":{"account_id":"22699852","entity_id":"42800492","entity_type":"leads"}} {"uid":"4c668a3"}
[2026-10-13 10:42:24] docflow.WARNING: AmoDrive docflow context request failed {"url":"https://google.emale.uno/api/docflow/google-context","http_code":null,"error":"HTTP/2 400 ","response":"<!DOCTYPE HTML PUBLIC \"-//IETF//DTD HTML 2.0//EN\">\r\n<html>\r\n<head><title>400 Bad Request</title></head>\r\n<body>\r\n<center><h1>400 Bad Request</h1></center>\r\n Sorry for the inconvenience.<br/>\r\nPlease report this message and include the following information to us.<br/>\r\nThank you very much!</p>\r\n<table>\r\n<tr>\r\n<td>URL:</td>\r\n<td>https://gd.glucose-dev.online/api/docflow/google-context?account_id=22699852&amp;entity_id=42800492&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/13 10:42:24</td>\r\n</tr>\r\n</table>\r\n<hr><center>tengine</center>\r\n</body>\r\n</html>\r\n"} {"uid":"4c668a3"}
[2026-10-13 10:42:24] docflow.DEBUG: AmoDrive docflow context request {"url":"https://gd.glucose-dev.online/api/docflow/google-context","query":{"account_id":"22699852","entity_id":"42800492","entity_type":"leads"}} {"uid":"4c668a3"}
[2026-10-13 10:42:24] docflow.WARNING: AmoDrive docflow context response is not ready, trying next backend. {"url":"https://gd.glucose-dev.online/api/docflow/google-context","payload":{"ok":true,"accountId":22699852,"entityId":"42800492","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":312,"isLifetime":false},"licenseActive":false,"googleConnected":false,"googleEmail":null,"googleHasDriveScope":false,"googleHasDriveFileScope":false,"googleHasOwnershipScope":false,"readyForGeneratedFileMove":false,"readyForTransfer":false},"folder":null}} {"uid":"4c668a3"}
[2026-10-13 10:42:24] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://google.emale.uno/api/docflow/prepare-generated-doc","payload":{"account_id":"22699852","entity_id":"42800492","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"4c668a3"}
[2026-10-13 10:42:24] docflow.WARNING: AmoDrive prepare-generated-doc request failed {"url":"https://google.emale.uno/api/docflow/prepare-generated-doc","http_code":null,"error":"HTTP/2 400 ","response":"<!DOCTYPE HTML PUBLIC \"-//IETF//DTD HTML 2.0//EN\">\r\n<html>\r\n<head><title>400 Bad Request</title></head>\r\n<body>\r\n<center><h1>400 Bad Request</h1></center>\r\n Sorry for the inconvenience.<br/>\r\nPlease report this message and include the following information to us.<br/>\r\nThank you very much!</p>\r\n<table>\r\n<tr>\r\n<td>URL:</td>\r\n<td>https://gd.glucose-dev.online/api/docflow/prepare-generated-doc</td>\r\n</tr>\r\n<tr>\r\n<td>Server:</td>\r\n<td>mail.glucose-dev.online</td>\r\n</tr>\r\n<tr>\r\n<td>Date:</td>\r\n<td>2026/10/13 10:42:24</td>\r\n</tr>\r\n</table>\r\n<hr><center>tengine</center>\r\n</body>\r\n</html>\r\n","payload":{"account_id":"22699852","entity_id":"42800492","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"4c668a3"}
[2026-10-13 10:42:24] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://gd.glucose-dev.online/api/docflow/prepare-generated-doc","payload":{"account_id":"22699852","entity_id":"42800492","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"4c668a3"}
[2026-10-13 10:42:24] docflow.WARNING: AmoDrive prepare-generated-doc request failed {"url":"https://gd.glucose-dev.online/api/docflow/prepare-generated-doc","http_code":null,"error":"HTTP/2 404 ","response":"[object] (stdClass: {\"ok\":false,\"error\":\"AmoDrive is not installed for this account.\",\"accountId\":22699852})","payload":{"account_id":"22699852","entity_id":"42800492","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"4c668a3"}
[2026-10-13 10:42:24] 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) 1735 20261013104224\",\"leadId\":\"42800492\",\"entities\":{\"\\u0441\\u0434\\u0435\\u043b\\u043a\\u0430\":{\"ID\":\"42800492\",\"\\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\":{\"ID\":\"42800492\",\"\\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\":{\"TelegroupId_WZ\":\"@nowheretorun2\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"+79522424396\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"\\u0410\\u043b\\u0435\\u043a\\u0441\\u0430\\u043d\\u0434\\u0440\\u0430 \\u041c\\u0435\\u043b\\u044c\\u043d\\u0438\\u043a\\u043e\\u0432\\u0430\",\"Contact_name\":\"\\u0410\\u043b\\u0435\\u043a\\u0441\\u0430\\u043d\\u0434\\u0440\\u0430 \\u041c\\u0435\\u043b\\u044c\\u043d\\u0438\\u043a\\u043e\\u0432\\u0430\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"Untila Dorina\",\"Responsible\":\"Untila Dorina\"},\"contact\":{\"TelegroupId_WZ\":\"@nowheretorun2\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"+79522424396\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"\\u0410\\u043b\\u0435\\u043a\\u0441\\u0430\\u043d\\u0434\\u0440\\u0430 \\u041c\\u0435\\u043b\\u044c\\u043d\\u0438\\u043a\\u043e\\u0432\\u0430\",\"Contact_name\":\"\\u0410\\u043b\\u0435\\u043a\\u0441\\u0430\\u043d\\u0434\\u0440\\u0430 \\u041c\\u0435\\u043b\\u044c\\u043d\\u0438\\u043a\\u043e\\u0432\\u0430\",\"\\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\":[{\"TelegroupId_WZ\":\"@nowheretorun2\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"+79522424396\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"\\u0410\\u043b\\u0435\\u043a\\u0441\\u0430\\u043d\\u0434\\u0440\\u0430 \\u041c\\u0435\\u043b\\u044c\\u043d\\u0438\\u043a\\u043e\\u0432\\u0430\",\"\\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\":\"13.10.2026\",\"\\u041d\\u043e\\u043c\\u0435\\u0440\":\"1735\"},\"document\":{\"Date\":\"13.10.2026\",\"Number\":\"1735\"}}}","edit":true}} {"uid":"4c668a3"}
[2026-10-13 10:42:30] docflow.DEBUG: GAS raw response {"raw":"[object] (stdClass: {\"code\":1,\"url\":\"https://docs.google.com/open?id=1QeTZcsfC4xEulKnIAmHIAjmaNFULCn2QhWDhoLFGeGc\",\"file_id\":\"1QeTZcsfC4xEulKnIAmHIAjmaNFULCn2QhWDhoLFGeGc\",\"error\":\"\",\"vars\":\"\"})"} {"uid":"4c668a3"}
[2026-10-13 10:42:30] docflow.WARNING: AmoDrive generated-file move is not ready. {"fileId":"1QeTZcsfC4xEulKnIAmHIAjmaNFULCn2QhWDhoLFGeGc","context":null} {"uid":"4c668a3"}
[2026-10-13 10:47:25] docflow.INFO: Apel createDoc {"data":{"amoAccountId":"22699852","amoUserId":null,"amoEntityId":"42800492","amoEntityType":"2","templateId":"11502","corporateEntityId":"","settlementAccountId":"","is_signed":null,"gdi":null,"number":null,"currentAmoUserId":null,"lang":"ru"}} {"uid":"44698ef"}
[2026-10-13 10:47:25] docflow.INFO: Token is valid for account 22699852. [] {"uid":"44698ef"}
[2026-10-13 10:47:25] docflow.DEBUG: getClientAuth returned {"auth":"[object] (stdClass: {\"domain\":\"emigrare.amocrm.ru\",\"access_token\":\"eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImp0aSI6IjA5Zjk3NjIwZWVhZDQ5MTk1YzAzMjExYWQzZWMwNWFmODMzOTAyYzkwNDUxYThhMDRlNWI2NGZhZTg5ODk0NGM0NzIxZWFiYTAwYWRmNGY1In0.eyJhdWQiOiIwZDY0ZGZmYi1lNTRiLTQ0OGYtOWZiZi1iYWYyMjUxYTExZGIiLCJqdGkiOiIwOWY5NzYyMGVlYWQ0OTE5NWMwMzIxMWFkM2VjMDVhZjgzMzkwMmM5MDQ1MWE4YTA0ZTViNjRmYWU4OTg5NDRjNDcyMWVhYmEwMGFkZjRmNSIsImlhdCI6MTc5MTg3NTcxNCwibmJmIjoxNzkxODc1NzE0LCJleHAiOjE3OTE5NjIxMTQsInN1YiI6IjI5MzAzODAiLCJncmFudF90eXBlIjoiIiwiYWNjb3VudF9pZCI6MjI2OTk4NTIsImJhc2VfZG9tYWluIjoiYW1vY3JtLnJ1IiwidmVyc2lvbiI6Miwic2NvcGVzIjpbInB1c2hfbm90aWZpY2F0aW9ucyIsImNybSIsIm5vdGlmaWNhdGlvbnMiXSwiaGFzaF91dWlkIjoiZjhhNDRkOTgtMTRlNS00OTcxLTllMGEtNTRhZDY5OGQyYmQ4IiwiYXBpX2RvbWFpbiI6ImFwaS1hLmFtb2NybS5ydSJ9.NBJbkjpQVkql6RIh0lb5_KN4a3HryxJWNmjqTpgN1z5_38BKNZZYuaLC3jSuifBhZ1bpvGNOvdij0i0pQgyxhOaT9bZBjt_vLr-92V395z4ycsTFsK62KSDyZ-lAic98RxsqiX1xzPrdIi7NEXKX9Ls1ZHz0dwCgMJC2czZsigpjSEG0ErTZNdfsZrz00lM5F7cYbWP1m6JO78QBQJmrF_fRwFLiWGm9epjs7WmHTq4gO0Ski6-09ZTgjUIdj0zk6kP0vuWPHu9bZb8EP2IglQ0UjVN2AuacD9jBZvwt8Z6Q3TPnOEJaD0MJgiSlBcFs7wQ2ueorh3T8wV5cwy3VIA\"})","file":"/home/ytvmclwh/document.amocrm.md/src/Models/Docs.php","line":121} {"uid":"44698ef"}
[2026-10-13 10:47:28] docflow.DEBUG: AmoDrive docflow context request {"url":"https://google.emale.uno/api/docflow/google-context","query":{"account_id":"22699852","entity_id":"42800492","entity_type":"leads"}} {"uid":"44698ef"}
[2026-10-13 10:47: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=42800492&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/13 10:47:28</td>\r\n</tr>\r\n</table>\r\n<hr><center>tengine</center>\r\n</body>\r\n</html>\r\n"} {"uid":"44698ef"}
[2026-10-13 10:47:28] docflow.DEBUG: AmoDrive docflow context request {"url":"https://gd.glucose-dev.online/api/docflow/google-context","query":{"account_id":"22699852","entity_id":"42800492","entity_type":"leads"}} {"uid":"44698ef"}
[2026-10-13 10:47: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":"42800492","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":312,"isLifetime":false},"licenseActive":false,"googleConnected":false,"googleEmail":null,"googleHasDriveScope":false,"googleHasDriveFileScope":false,"googleHasOwnershipScope":false,"readyForGeneratedFileMove":false,"readyForTransfer":false},"folder":null}} {"uid":"44698ef"}
[2026-10-13 10:47:28] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://google.emale.uno/api/docflow/prepare-generated-doc","payload":{"account_id":"22699852","entity_id":"42800492","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"44698ef"}
[2026-10-13 10:47: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/13 10:47: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":"42800492","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"44698ef"}
[2026-10-13 10:47: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":"42800492","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"44698ef"}
[2026-10-13 10:47: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":"42800492","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"44698ef"}
[2026-10-13 10:47:28] 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) 113 20261013104728\",\"leadId\":\"42800492\",\"entities\":{\"\\u0441\\u0434\\u0435\\u043b\\u043a\\u0430\":{\"ID\":\"42800492\",\"\\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\":{\"ID\":\"42800492\",\"\\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\":{\"TelegroupId_WZ\":\"@nowheretorun2\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"+79522424396\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"\\u0410\\u043b\\u0435\\u043a\\u0441\\u0430\\u043d\\u0434\\u0440\\u0430 \\u041c\\u0435\\u043b\\u044c\\u043d\\u0438\\u043a\\u043e\\u0432\\u0430\",\"Contact_name\":\"\\u0410\\u043b\\u0435\\u043a\\u0441\\u0430\\u043d\\u0434\\u0440\\u0430 \\u041c\\u0435\\u043b\\u044c\\u043d\\u0438\\u043a\\u043e\\u0432\\u0430\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"Untila Dorina\",\"Responsible\":\"Untila Dorina\"},\"contact\":{\"TelegroupId_WZ\":\"@nowheretorun2\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"+79522424396\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"\\u0410\\u043b\\u0435\\u043a\\u0441\\u0430\\u043d\\u0434\\u0440\\u0430 \\u041c\\u0435\\u043b\\u044c\\u043d\\u0438\\u043a\\u043e\\u0432\\u0430\",\"Contact_name\":\"\\u0410\\u043b\\u0435\\u043a\\u0441\\u0430\\u043d\\u0434\\u0440\\u0430 \\u041c\\u0435\\u043b\\u044c\\u043d\\u0438\\u043a\\u043e\\u0432\\u0430\",\"\\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\":[{\"TelegroupId_WZ\":\"@nowheretorun2\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"+79522424396\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"\\u0410\\u043b\\u0435\\u043a\\u0441\\u0430\\u043d\\u0434\\u0440\\u0430 \\u041c\\u0435\\u043b\\u044c\\u043d\\u0438\\u043a\\u043e\\u0432\\u0430\",\"\\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\":\"13.10.2026\",\"\\u041d\\u043e\\u043c\\u0435\\u0440\":\"113\"},\"document\":{\"Date\":\"13.10.2026\",\"Number\":\"113\"}}}","edit":true}} {"uid":"44698ef"}
[2026-10-13 10:47:34] docflow.DEBUG: GAS raw response {"raw":"[object] (stdClass: {\"code\":1,\"url\":\"https://docs.google.com/open?id=1efEEX7Yzyho987IwJrtuqATD39iXlJ4NXNJ6mgwrWL4\",\"file_id\":\"1efEEX7Yzyho987IwJrtuqATD39iXlJ4NXNJ6mgwrWL4\",\"error\":\"\",\"vars\":\"\"})"} {"uid":"44698ef"}
[2026-10-13 10:47:34] docflow.WARNING: AmoDrive generated-file move is not ready. {"fileId":"1efEEX7Yzyho987IwJrtuqATD39iXlJ4NXNJ6mgwrWL4","context":null} {"uid":"44698ef"}
[2026-10-13 10:57:45] docflow.INFO: Apel createDoc {"data":{"amoAccountId":"22699852","amoUserId":null,"amoEntityId":"33923452","amoEntityType":"2","templateId":"11495","corporateEntityId":"","settlementAccountId":"","is_signed":null,"gdi":null,"number":null,"currentAmoUserId":null,"lang":"ru"}} {"uid":"ae1eb0d"}
[2026-10-13 10:57:45] docflow.INFO: Token is valid for account 22699852. [] {"uid":"ae1eb0d"}
[2026-10-13 10:57:45] docflow.DEBUG: getClientAuth returned {"auth":"[object] (stdClass: {\"domain\":\"emigrare.amocrm.ru\",\"access_token\":\"eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImp0aSI6IjA5Zjk3NjIwZWVhZDQ5MTk1YzAzMjExYWQzZWMwNWFmODMzOTAyYzkwNDUxYThhMDRlNWI2NGZhZTg5ODk0NGM0NzIxZWFiYTAwYWRmNGY1In0.eyJhdWQiOiIwZDY0ZGZmYi1lNTRiLTQ0OGYtOWZiZi1iYWYyMjUxYTExZGIiLCJqdGkiOiIwOWY5NzYyMGVlYWQ0OTE5NWMwMzIxMWFkM2VjMDVhZjgzMzkwMmM5MDQ1MWE4YTA0ZTViNjRmYWU4OTg5NDRjNDcyMWVhYmEwMGFkZjRmNSIsImlhdCI6MTc5MTg3NTcxNCwibmJmIjoxNzkxODc1NzE0LCJleHAiOjE3OTE5NjIxMTQsInN1YiI6IjI5MzAzODAiLCJncmFudF90eXBlIjoiIiwiYWNjb3VudF9pZCI6MjI2OTk4NTIsImJhc2VfZG9tYWluIjoiYW1vY3JtLnJ1IiwidmVyc2lvbiI6Miwic2NvcGVzIjpbInB1c2hfbm90aWZpY2F0aW9ucyIsImNybSIsIm5vdGlmaWNhdGlvbnMiXSwiaGFzaF91dWlkIjoiZjhhNDRkOTgtMTRlNS00OTcxLTllMGEtNTRhZDY5OGQyYmQ4IiwiYXBpX2RvbWFpbiI6ImFwaS1hLmFtb2NybS5ydSJ9.NBJbkjpQVkql6RIh0lb5_KN4a3HryxJWNmjqTpgN1z5_38BKNZZYuaLC3jSuifBhZ1bpvGNOvdij0i0pQgyxhOaT9bZBjt_vLr-92V395z4ycsTFsK62KSDyZ-lAic98RxsqiX1xzPrdIi7NEXKX9Ls1ZHz0dwCgMJC2czZsigpjSEG0ErTZNdfsZrz00lM5F7cYbWP1m6JO78QBQJmrF_fRwFLiWGm9epjs7WmHTq4gO0Ski6-09ZTgjUIdj0zk6kP0vuWPHu9bZb8EP2IglQ0UjVN2AuacD9jBZvwt8Z6Q3TPnOEJaD0MJgiSlBcFs7wQ2ueorh3T8wV5cwy3VIA\"})","file":"/home/ytvmclwh/document.amocrm.md/src/Models/Docs.php","line":121} {"uid":"ae1eb0d"}
[2026-10-13 10:57:47] docflow.DEBUG: AmoDrive docflow context request {"url":"https://google.emale.uno/api/docflow/google-context","query":{"account_id":"22699852","entity_id":"33923452","entity_type":"leads"}} {"uid":"ae1eb0d"}
[2026-10-13 10: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=22699852&amp;entity_id=33923452&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/13 10:57:47</td>\r\n</tr>\r\n</table>\r\n<hr><center>tengine</center>\r\n</body>\r\n</html>\r\n"} {"uid":"ae1eb0d"}
[2026-10-13 10:57:47] docflow.DEBUG: AmoDrive docflow context request {"url":"https://gd.glucose-dev.online/api/docflow/google-context","query":{"account_id":"22699852","entity_id":"33923452","entity_type":"leads"}} {"uid":"ae1eb0d"}
[2026-10-13 10:57: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":"33923452","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":312,"isLifetime":false},"licenseActive":false,"googleConnected":false,"googleEmail":null,"googleHasDriveScope":false,"googleHasDriveFileScope":false,"googleHasOwnershipScope":false,"readyForGeneratedFileMove":false,"readyForTransfer":false},"folder":null}} {"uid":"ae1eb0d"}
[2026-10-13 10:57:48] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://google.emale.uno/api/docflow/prepare-generated-doc","payload":{"account_id":"22699852","entity_id":"33923452","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"ae1eb0d"}
[2026-10-13 10:57: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/13 10:57: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":"33923452","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"ae1eb0d"}
[2026-10-13 10:57: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":"33923452","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"ae1eb0d"}
[2026-10-13 10:57: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":"33923452","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"ae1eb0d"}
[2026-10-13 10:57: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) 446 20261013105747\",\"leadId\":\"33923452\",\"entities\":{\"\\u0441\\u0434\\u0435\\u043b\\u043a\\u0430\":{\"Brand\":\"Emigrare.md\",\"Tentative de apel\":\"5\",\"Categorie Serviciu\":\"Cet.MD\",\"Luna crearii Tranzactiei back\":\"16.08.2022\",\"Suma Back\":\"0\",\"ID\":\"33923452\",\"\\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\",\"Tentative de apel\":\"5\",\"Categorie Serviciu\":\"Cet.MD\",\"Luna crearii Tranzactiei back\":\"16.08.2022\",\"Suma Back\":\"0\",\"ID\":\"33923452\",\"\\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\":{\"Email\":\"nina20_88@gmail.com\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"0079222486622\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"\\u0411\\u0430\\u0433\\u0443\\u0434\\u0441\\u043a\\u0430\\u044f \\u041d\\u0438\\u043d\\u0430\",\"Contact_name\":\"\\u0411\\u0430\\u0433\\u0443\\u0434\\u0441\\u043a\\u0430\\u044f \\u041d\\u0438\\u043d\\u0430\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"Untila Dorina\",\"Responsible\":\"Untila Dorina\"},\"contact\":{\"Email\":\"nina20_88@gmail.com\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"0079222486622\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"\\u0411\\u0430\\u0433\\u0443\\u0434\\u0441\\u043a\\u0430\\u044f \\u041d\\u0438\\u043d\\u0430\",\"Contact_name\":\"\\u0411\\u0430\\u0433\\u0443\\u0434\\u0441\\u043a\\u0430\\u044f \\u041d\\u0438\\u043d\\u0430\",\"\\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\":[{\"Email\":\"nina20_88@gmail.com\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"0079222486622\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"\\u0411\\u0430\\u0433\\u0443\\u0434\\u0441\\u043a\\u0430\\u044f \\u041d\\u0438\\u043d\\u0430\",\"\\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\":\"13.10.2026\",\"\\u041d\\u043e\\u043c\\u0435\\u0440\":\"446\"},\"document\":{\"Date\":\"13.10.2026\",\"Number\":\"446\"}}}","edit":true}} {"uid":"ae1eb0d"}
[2026-10-13 10:57:56] docflow.DEBUG: GAS raw response {"raw":"[object] (stdClass: {\"code\":1,\"url\":\"https://docs.google.com/open?id=1gDGyTVGuxAr7Dprl1WQtoDY_wwjFG3y2J8O_CbWuXEA\",\"file_id\":\"1gDGyTVGuxAr7Dprl1WQtoDY_wwjFG3y2J8O_CbWuXEA\",\"error\":\"\",\"vars\":\"\"})"} {"uid":"ae1eb0d"}
[2026-10-13 10:57:56] docflow.WARNING: AmoDrive generated-file move is not ready. {"fileId":"1gDGyTVGuxAr7Dprl1WQtoDY_wwjFG3y2J8O_CbWuXEA","context":null} {"uid":"ae1eb0d"}
[2026-10-13 11:53:51] docflow.INFO: Apel createDoc {"data":{"amoAccountId":"22699852","amoUserId":null,"amoEntityId":"33923452","amoEntityType":"2","templateId":"11515","corporateEntityId":"","settlementAccountId":"","is_signed":null,"gdi":null,"number":null,"currentAmoUserId":null,"lang":"ru"}} {"uid":"0e38881"}
[2026-10-13 11:53:52] docflow.INFO: Token is valid for account 22699852. [] {"uid":"0e38881"}
[2026-10-13 11:53:52] docflow.DEBUG: getClientAuth returned {"auth":"[object] (stdClass: {\"domain\":\"emigrare.amocrm.ru\",\"access_token\":\"eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImp0aSI6IjA5Zjk3NjIwZWVhZDQ5MTk1YzAzMjExYWQzZWMwNWFmODMzOTAyYzkwNDUxYThhMDRlNWI2NGZhZTg5ODk0NGM0NzIxZWFiYTAwYWRmNGY1In0.eyJhdWQiOiIwZDY0ZGZmYi1lNTRiLTQ0OGYtOWZiZi1iYWYyMjUxYTExZGIiLCJqdGkiOiIwOWY5NzYyMGVlYWQ0OTE5NWMwMzIxMWFkM2VjMDVhZjgzMzkwMmM5MDQ1MWE4YTA0ZTViNjRmYWU4OTg5NDRjNDcyMWVhYmEwMGFkZjRmNSIsImlhdCI6MTc5MTg3NTcxNCwibmJmIjoxNzkxODc1NzE0LCJleHAiOjE3OTE5NjIxMTQsInN1YiI6IjI5MzAzODAiLCJncmFudF90eXBlIjoiIiwiYWNjb3VudF9pZCI6MjI2OTk4NTIsImJhc2VfZG9tYWluIjoiYW1vY3JtLnJ1IiwidmVyc2lvbiI6Miwic2NvcGVzIjpbInB1c2hfbm90aWZpY2F0aW9ucyIsImNybSIsIm5vdGlmaWNhdGlvbnMiXSwiaGFzaF91dWlkIjoiZjhhNDRkOTgtMTRlNS00OTcxLTllMGEtNTRhZDY5OGQyYmQ4IiwiYXBpX2RvbWFpbiI6ImFwaS1hLmFtb2NybS5ydSJ9.NBJbkjpQVkql6RIh0lb5_KN4a3HryxJWNmjqTpgN1z5_38BKNZZYuaLC3jSuifBhZ1bpvGNOvdij0i0pQgyxhOaT9bZBjt_vLr-92V395z4ycsTFsK62KSDyZ-lAic98RxsqiX1xzPrdIi7NEXKX9Ls1ZHz0dwCgMJC2czZsigpjSEG0ErTZNdfsZrz00lM5F7cYbWP1m6JO78QBQJmrF_fRwFLiWGm9epjs7WmHTq4gO0Ski6-09ZTgjUIdj0zk6kP0vuWPHu9bZb8EP2IglQ0UjVN2AuacD9jBZvwt8Z6Q3TPnOEJaD0MJgiSlBcFs7wQ2ueorh3T8wV5cwy3VIA\"})","file":"/home/ytvmclwh/document.amocrm.md/src/Models/Docs.php","line":121} {"uid":"0e38881"}
[2026-10-13 11:53:54] docflow.DEBUG: AmoDrive docflow context request {"url":"https://google.emale.uno/api/docflow/google-context","query":{"account_id":"22699852","entity_id":"33923452","entity_type":"leads"}} {"uid":"0e38881"}
[2026-10-13 11:53:54] docflow.WARNING: AmoDrive docflow context request failed {"url":"https://google.emale.uno/api/docflow/google-context","http_code":null,"error":"HTTP/2 400 ","response":"<!DOCTYPE HTML PUBLIC \"-//IETF//DTD HTML 2.0//EN\">\r\n<html>\r\n<head><title>400 Bad Request</title></head>\r\n<body>\r\n<center><h1>400 Bad Request</h1></center>\r\n Sorry for the inconvenience.<br/>\r\nPlease report this message and include the following information to us.<br/>\r\nThank you very much!</p>\r\n<table>\r\n<tr>\r\n<td>URL:</td>\r\n<td>https://gd.glucose-dev.online/api/docflow/google-context?account_id=22699852&amp;entity_id=33923452&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/13 11:53:54</td>\r\n</tr>\r\n</table>\r\n<hr><center>tengine</center>\r\n</body>\r\n</html>\r\n"} {"uid":"0e38881"}
[2026-10-13 11:53:54] docflow.DEBUG: AmoDrive docflow context request {"url":"https://gd.glucose-dev.online/api/docflow/google-context","query":{"account_id":"22699852","entity_id":"33923452","entity_type":"leads"}} {"uid":"0e38881"}
[2026-10-13 11:53:54] docflow.WARNING: AmoDrive docflow context response is not ready, trying next backend. {"url":"https://gd.glucose-dev.online/api/docflow/google-context","payload":{"ok":true,"accountId":22699852,"entityId":"33923452","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":312,"isLifetime":false},"licenseActive":false,"googleConnected":false,"googleEmail":null,"googleHasDriveScope":false,"googleHasDriveFileScope":false,"googleHasOwnershipScope":false,"readyForGeneratedFileMove":false,"readyForTransfer":false},"folder":null}} {"uid":"0e38881"}
[2026-10-13 11:53:54] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://google.emale.uno/api/docflow/prepare-generated-doc","payload":{"account_id":"22699852","entity_id":"33923452","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"0e38881"}
[2026-10-13 11:53: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/13 11:53:54</td>\r\n</tr>\r\n</table>\r\n<hr><center>tengine</center>\r\n</body>\r\n</html>\r\n","payload":{"account_id":"22699852","entity_id":"33923452","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"0e38881"}
[2026-10-13 11:53:54] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://gd.glucose-dev.online/api/docflow/prepare-generated-doc","payload":{"account_id":"22699852","entity_id":"33923452","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"0e38881"}
[2026-10-13 11:53:54] docflow.WARNING: AmoDrive prepare-generated-doc request failed {"url":"https://gd.glucose-dev.online/api/docflow/prepare-generated-doc","http_code":null,"error":"HTTP/2 404 ","response":"[object] (stdClass: {\"ok\":false,\"error\":\"AmoDrive is not installed for this account.\",\"accountId\":22699852})","payload":{"account_id":"22699852","entity_id":"33923452","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"0e38881"}
[2026-10-13 11:53:54] 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) 1736 20261013115354\",\"leadId\":\"33923452\",\"entities\":{\"\\u0441\\u0434\\u0435\\u043b\\u043a\\u0430\":{\"Brand\":\"Emigrare.md\",\"Tentative de apel\":\"5\",\"Categorie Serviciu\":\"Cet.MD\",\"Luna crearii Tranzactiei back\":\"16.08.2022\",\"Suma Back\":\"0\",\"ID\":\"33923452\",\"\\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\",\"Tentative de apel\":\"5\",\"Categorie Serviciu\":\"Cet.MD\",\"Luna crearii Tranzactiei back\":\"16.08.2022\",\"Suma Back\":\"0\",\"ID\":\"33923452\",\"\\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\":{\"Email\":\"nina20_88@gmail.com\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"0079222486622\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"\\u0411\\u0430\\u0433\\u0443\\u0442\\u0441\\u043a\\u0430\\u044f \\u041d\\u0438\\u043d\\u0430\",\"Contact_name\":\"\\u0411\\u0430\\u0433\\u0443\\u0442\\u0441\\u043a\\u0430\\u044f \\u041d\\u0438\\u043d\\u0430\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"Untila Dorina\",\"Responsible\":\"Untila Dorina\"},\"contact\":{\"Email\":\"nina20_88@gmail.com\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"0079222486622\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"\\u0411\\u0430\\u0433\\u0443\\u0442\\u0441\\u043a\\u0430\\u044f \\u041d\\u0438\\u043d\\u0430\",\"Contact_name\":\"\\u0411\\u0430\\u0433\\u0443\\u0442\\u0441\\u043a\\u0430\\u044f \\u041d\\u0438\\u043d\\u0430\",\"\\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\":[{\"Email\":\"nina20_88@gmail.com\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"0079222486622\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"\\u0411\\u0430\\u0433\\u0443\\u0442\\u0441\\u043a\\u0430\\u044f \\u041d\\u0438\\u043d\\u0430\",\"\\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\":\"13.10.2026\",\"\\u041d\\u043e\\u043c\\u0435\\u0440\":\"1736\"},\"document\":{\"Date\":\"13.10.2026\",\"Number\":\"1736\"}}}","edit":true}} {"uid":"0e38881"}
[2026-10-13 11:54:03] docflow.DEBUG: GAS raw response {"raw":"[object] (stdClass: {\"code\":1,\"url\":\"https://docs.google.com/open?id=1BXZlv0tyx9XtusOmepT_IKGtrfA2q-igvDPRtEMxiFg\",\"file_id\":\"1BXZlv0tyx9XtusOmepT_IKGtrfA2q-igvDPRtEMxiFg\",\"error\":\"\",\"vars\":\"\"})"} {"uid":"0e38881"}
[2026-10-13 11:54:03] docflow.WARNING: AmoDrive generated-file move is not ready. {"fileId":"1BXZlv0tyx9XtusOmepT_IKGtrfA2q-igvDPRtEMxiFg","context":null} {"uid":"0e38881"}
[2026-10-13 11:57:46] docflow.INFO: Apel createDoc {"data":{"amoAccountId":"22699852","amoUserId":null,"amoEntityId":"33923452","amoEntityType":"2","templateId":"11502","corporateEntityId":"","settlementAccountId":"","is_signed":null,"gdi":null,"number":null,"currentAmoUserId":null,"lang":"ru"}} {"uid":"4118907"}
[2026-10-13 11:57:47] docflow.INFO: Token is valid for account 22699852. [] {"uid":"4118907"}
[2026-10-13 11:57:47] docflow.DEBUG: getClientAuth returned {"auth":"[object] (stdClass: {\"domain\":\"emigrare.amocrm.ru\",\"access_token\":\"eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImp0aSI6IjA5Zjk3NjIwZWVhZDQ5MTk1YzAzMjExYWQzZWMwNWFmODMzOTAyYzkwNDUxYThhMDRlNWI2NGZhZTg5ODk0NGM0NzIxZWFiYTAwYWRmNGY1In0.eyJhdWQiOiIwZDY0ZGZmYi1lNTRiLTQ0OGYtOWZiZi1iYWYyMjUxYTExZGIiLCJqdGkiOiIwOWY5NzYyMGVlYWQ0OTE5NWMwMzIxMWFkM2VjMDVhZjgzMzkwMmM5MDQ1MWE4YTA0ZTViNjRmYWU4OTg5NDRjNDcyMWVhYmEwMGFkZjRmNSIsImlhdCI6MTc5MTg3NTcxNCwibmJmIjoxNzkxODc1NzE0LCJleHAiOjE3OTE5NjIxMTQsInN1YiI6IjI5MzAzODAiLCJncmFudF90eXBlIjoiIiwiYWNjb3VudF9pZCI6MjI2OTk4NTIsImJhc2VfZG9tYWluIjoiYW1vY3JtLnJ1IiwidmVyc2lvbiI6Miwic2NvcGVzIjpbInB1c2hfbm90aWZpY2F0aW9ucyIsImNybSIsIm5vdGlmaWNhdGlvbnMiXSwiaGFzaF91dWlkIjoiZjhhNDRkOTgtMTRlNS00OTcxLTllMGEtNTRhZDY5OGQyYmQ4IiwiYXBpX2RvbWFpbiI6ImFwaS1hLmFtb2NybS5ydSJ9.NBJbkjpQVkql6RIh0lb5_KN4a3HryxJWNmjqTpgN1z5_38BKNZZYuaLC3jSuifBhZ1bpvGNOvdij0i0pQgyxhOaT9bZBjt_vLr-92V395z4ycsTFsK62KSDyZ-lAic98RxsqiX1xzPrdIi7NEXKX9Ls1ZHz0dwCgMJC2czZsigpjSEG0ErTZNdfsZrz00lM5F7cYbWP1m6JO78QBQJmrF_fRwFLiWGm9epjs7WmHTq4gO0Ski6-09ZTgjUIdj0zk6kP0vuWPHu9bZb8EP2IglQ0UjVN2AuacD9jBZvwt8Z6Q3TPnOEJaD0MJgiSlBcFs7wQ2ueorh3T8wV5cwy3VIA\"})","file":"/home/ytvmclwh/document.amocrm.md/src/Models/Docs.php","line":121} {"uid":"4118907"}
[2026-10-13 11:57:49] docflow.DEBUG: AmoDrive docflow context request {"url":"https://google.emale.uno/api/docflow/google-context","query":{"account_id":"22699852","entity_id":"33923452","entity_type":"leads"}} {"uid":"4118907"}
[2026-10-13 11:57: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=33923452&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/13 11:57:49</td>\r\n</tr>\r\n</table>\r\n<hr><center>tengine</center>\r\n</body>\r\n</html>\r\n"} {"uid":"4118907"}
[2026-10-13 11:57:49] docflow.DEBUG: AmoDrive docflow context request {"url":"https://gd.glucose-dev.online/api/docflow/google-context","query":{"account_id":"22699852","entity_id":"33923452","entity_type":"leads"}} {"uid":"4118907"}
[2026-10-13 11:57: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":"33923452","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":312,"isLifetime":false},"licenseActive":false,"googleConnected":false,"googleEmail":null,"googleHasDriveScope":false,"googleHasDriveFileScope":false,"googleHasOwnershipScope":false,"readyForGeneratedFileMove":false,"readyForTransfer":false},"folder":null}} {"uid":"4118907"}
[2026-10-13 11:57:49] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://google.emale.uno/api/docflow/prepare-generated-doc","payload":{"account_id":"22699852","entity_id":"33923452","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"4118907"}
[2026-10-13 11:57: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/13 11:57: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":"33923452","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"4118907"}
[2026-10-13 11:57: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":"33923452","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"4118907"}
[2026-10-13 11:57: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":"33923452","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"4118907"}
[2026-10-13 11:57:49] 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) 114 20261013115749\",\"leadId\":\"33923452\",\"entities\":{\"\\u0441\\u0434\\u0435\\u043b\\u043a\\u0430\":{\"Brand\":\"Emigrare.md\",\"Tentative de apel\":\"5\",\"Categorie Serviciu\":\"Cet.MD\",\"Luna crearii Tranzactiei back\":\"16.08.2022\",\"Suma Back\":\"0\",\"ID\":\"33923452\",\"\\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\",\"Tentative de apel\":\"5\",\"Categorie Serviciu\":\"Cet.MD\",\"Luna crearii Tranzactiei back\":\"16.08.2022\",\"Suma Back\":\"0\",\"ID\":\"33923452\",\"\\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\":{\"Email\":\"nina20_88@gmail.com\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"0079222486622\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"\\u0411\\u0430\\u0433\\u0443\\u0442\\u0441\\u043a\\u0430\\u044f \\u041d\\u0438\\u043d\\u0430\",\"Contact_name\":\"\\u0411\\u0430\\u0433\\u0443\\u0442\\u0441\\u043a\\u0430\\u044f \\u041d\\u0438\\u043d\\u0430\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"Untila Dorina\",\"Responsible\":\"Untila Dorina\"},\"contact\":{\"Email\":\"nina20_88@gmail.com\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"0079222486622\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"\\u0411\\u0430\\u0433\\u0443\\u0442\\u0441\\u043a\\u0430\\u044f \\u041d\\u0438\\u043d\\u0430\",\"Contact_name\":\"\\u0411\\u0430\\u0433\\u0443\\u0442\\u0441\\u043a\\u0430\\u044f \\u041d\\u0438\\u043d\\u0430\",\"\\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\":[{\"Email\":\"nina20_88@gmail.com\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"0079222486622\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"\\u0411\\u0430\\u0433\\u0443\\u0442\\u0441\\u043a\\u0430\\u044f \\u041d\\u0438\\u043d\\u0430\",\"\\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\":\"13.10.2026\",\"\\u041d\\u043e\\u043c\\u0435\\u0440\":\"114\"},\"document\":{\"Date\":\"13.10.2026\",\"Number\":\"114\"}}}","edit":true}} {"uid":"4118907"}
[2026-10-13 11:57:57] docflow.DEBUG: GAS raw response {"raw":"[object] (stdClass: {\"code\":1,\"url\":\"https://docs.google.com/open?id=1F9H3h6jhnlYFlnHlbrMuni08R3ZlTeV6JJ4YEn1vVf8\",\"file_id\":\"1F9H3h6jhnlYFlnHlbrMuni08R3ZlTeV6JJ4YEn1vVf8\",\"error\":\"\",\"vars\":\"\"})"} {"uid":"4118907"}
[2026-10-13 11:57:57] docflow.WARNING: AmoDrive generated-file move is not ready. {"fileId":"1F9H3h6jhnlYFlnHlbrMuni08R3ZlTeV6JJ4YEn1vVf8","context":null} {"uid":"4118907"}
[2026-10-13 12:20:51] docflow.INFO: Apel createDoc {"data":{"amoAccountId":"22699852","amoUserId":null,"amoEntityId":"34682582","amoEntityType":"2","templateId":"11488","corporateEntityId":"","settlementAccountId":"","is_signed":null,"gdi":null,"number":null,"currentAmoUserId":null,"lang":"ru"}} {"uid":"84960df"}
[2026-10-13 12:20:52] docflow.INFO: Token is valid for account 22699852. [] {"uid":"84960df"}
[2026-10-13 12:20:52] docflow.DEBUG: getClientAuth returned {"auth":"[object] (stdClass: {\"domain\":\"emigrare.amocrm.ru\",\"access_token\":\"eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImp0aSI6IjA5Zjk3NjIwZWVhZDQ5MTk1YzAzMjExYWQzZWMwNWFmODMzOTAyYzkwNDUxYThhMDRlNWI2NGZhZTg5ODk0NGM0NzIxZWFiYTAwYWRmNGY1In0.eyJhdWQiOiIwZDY0ZGZmYi1lNTRiLTQ0OGYtOWZiZi1iYWYyMjUxYTExZGIiLCJqdGkiOiIwOWY5NzYyMGVlYWQ0OTE5NWMwMzIxMWFkM2VjMDVhZjgzMzkwMmM5MDQ1MWE4YTA0ZTViNjRmYWU4OTg5NDRjNDcyMWVhYmEwMGFkZjRmNSIsImlhdCI6MTc5MTg3NTcxNCwibmJmIjoxNzkxODc1NzE0LCJleHAiOjE3OTE5NjIxMTQsInN1YiI6IjI5MzAzODAiLCJncmFudF90eXBlIjoiIiwiYWNjb3VudF9pZCI6MjI2OTk4NTIsImJhc2VfZG9tYWluIjoiYW1vY3JtLnJ1IiwidmVyc2lvbiI6Miwic2NvcGVzIjpbInB1c2hfbm90aWZpY2F0aW9ucyIsImNybSIsIm5vdGlmaWNhdGlvbnMiXSwiaGFzaF91dWlkIjoiZjhhNDRkOTgtMTRlNS00OTcxLTllMGEtNTRhZDY5OGQyYmQ4IiwiYXBpX2RvbWFpbiI6ImFwaS1hLmFtb2NybS5ydSJ9.NBJbkjpQVkql6RIh0lb5_KN4a3HryxJWNmjqTpgN1z5_38BKNZZYuaLC3jSuifBhZ1bpvGNOvdij0i0pQgyxhOaT9bZBjt_vLr-92V395z4ycsTFsK62KSDyZ-lAic98RxsqiX1xzPrdIi7NEXKX9Ls1ZHz0dwCgMJC2czZsigpjSEG0ErTZNdfsZrz00lM5F7cYbWP1m6JO78QBQJmrF_fRwFLiWGm9epjs7WmHTq4gO0Ski6-09ZTgjUIdj0zk6kP0vuWPHu9bZb8EP2IglQ0UjVN2AuacD9jBZvwt8Z6Q3TPnOEJaD0MJgiSlBcFs7wQ2ueorh3T8wV5cwy3VIA\"})","file":"/home/ytvmclwh/document.amocrm.md/src/Models/Docs.php","line":121} {"uid":"84960df"}
[2026-10-13 12:20:54] docflow.DEBUG: AmoDrive docflow context request {"url":"https://google.emale.uno/api/docflow/google-context","query":{"account_id":"22699852","entity_id":"34682582","entity_type":"leads"}} {"uid":"84960df"}
[2026-10-13 12:20:54] docflow.WARNING: AmoDrive docflow context request failed {"url":"https://google.emale.uno/api/docflow/google-context","http_code":null,"error":"HTTP/2 400 ","response":"<!DOCTYPE HTML PUBLIC \"-//IETF//DTD HTML 2.0//EN\">\r\n<html>\r\n<head><title>400 Bad Request</title></head>\r\n<body>\r\n<center><h1>400 Bad Request</h1></center>\r\n Sorry for the inconvenience.<br/>\r\nPlease report this message and include the following information to us.<br/>\r\nThank you very much!</p>\r\n<table>\r\n<tr>\r\n<td>URL:</td>\r\n<td>https://gd.glucose-dev.online/api/docflow/google-context?account_id=22699852&amp;entity_id=34682582&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/13 12:20:54</td>\r\n</tr>\r\n</table>\r\n<hr><center>tengine</center>\r\n</body>\r\n</html>\r\n"} {"uid":"84960df"}
[2026-10-13 12:20:54] docflow.DEBUG: AmoDrive docflow context request {"url":"https://gd.glucose-dev.online/api/docflow/google-context","query":{"account_id":"22699852","entity_id":"34682582","entity_type":"leads"}} {"uid":"84960df"}
[2026-10-13 12:20:54] docflow.WARNING: AmoDrive docflow context response is not ready, trying next backend. {"url":"https://gd.glucose-dev.online/api/docflow/google-context","payload":{"ok":true,"accountId":22699852,"entityId":"34682582","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":312,"isLifetime":false},"licenseActive":false,"googleConnected":false,"googleEmail":null,"googleHasDriveScope":false,"googleHasDriveFileScope":false,"googleHasOwnershipScope":false,"readyForGeneratedFileMove":false,"readyForTransfer":false},"folder":{"id":"1Pn1yHe8NH-PbRIwiKtaGZdRw5wH0EjcI","name":"cet.md","webViewLink":"https://drive.google.com/drive/folders/1Pn1yHe8NH-PbRIwiKtaGZdRw5wH0EjcI"}}} {"uid":"84960df"}
[2026-10-13 12:20:54] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://google.emale.uno/api/docflow/prepare-generated-doc","payload":{"account_id":"22699852","entity_id":"34682582","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"84960df"}
[2026-10-13 12:20: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/13 12:20:54</td>\r\n</tr>\r\n</table>\r\n<hr><center>tengine</center>\r\n</body>\r\n</html>\r\n","payload":{"account_id":"22699852","entity_id":"34682582","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"84960df"}
[2026-10-13 12:20:54] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://gd.glucose-dev.online/api/docflow/prepare-generated-doc","payload":{"account_id":"22699852","entity_id":"34682582","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"84960df"}
[2026-10-13 12:20:54] docflow.WARNING: AmoDrive prepare-generated-doc request failed {"url":"https://gd.glucose-dev.online/api/docflow/prepare-generated-doc","http_code":null,"error":"HTTP/2 404 ","response":"[object] (stdClass: {\"ok\":false,\"error\":\"AmoDrive is not installed for this account.\",\"accountId\":22699852})","payload":{"account_id":"22699852","entity_id":"34682582","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"84960df"}
[2026-10-13 12:20:54] docflow.DEBUG: GAS request {"url":"https://script.google.com/macros/s/AKfycbwrvOJD46zkuoTzdhpc1kulhV8jRfgQBFZfQ121nkIip_k8yKit4xrbWTOzaJ-C-Yed6w/exec","body":{"templateFileId":"1Lko3EG9_Yj6bZrxqQ3cZ8_aYZSQ7GKHEi61nkS6lkvg","accountId":"22699852","folderId":"1Us2AfskxgdA729xVr0F2vjZU9y5PlYDe","key":"~VTsK5dcnHc2cSSsjM$LFSjLlgbmJXwrp3R2P5nd","data":"{\"fileName\":\"Transcriere 523 20261013122054\",\"leadId\":\"34682582\",\"entities\":{\"\\u0441\\u0434\\u0435\\u043b\\u043a\\u0430\":{\"Brand\":\"Emigrare.md\",\"Luna crearii Tranzactiei back\":\"29.06.2022\",\"Suma Back\":\"8000\",\"Categorie Serviciu\":\"Cet.MD\",\"google_folder_id_leads_field\":\"1Pn1yHe8NH-PbRIwiKtaGZdRw5wH0EjcI\",\"google_folder_link_leads_field\":\"https:\\/\\/drive.google.com\\/drive\\/folders\\/1Pn1yHe8NH-PbRIwiKtaGZdRw5wH0EjcI\",\"Ceta\\u021benia RM\":\"Cet pe baza parinti bunei\",\"Reac\\u021bia clientului la pre\\u021b\":\"Clientul este interesat \\u0219i este preg\\u0103tit financiar\",\"Data consulta\\u021biei\":\"04.07.2022\",\"Luna trec in Front\":\"04.07.2022\",\"Data contractului\":\"04.07.2022\",\"Numar Contract\":\"34682582\",\"Compania\":\"EMG Consulting Group SRL\",\"Termen perfectare\":\"04.01.2023\",\"Avans\":\"4090\",\"Cont\":\"\\u0410\\u041b\\u042c\\u0424\\u0410 \\u0411\\u0410\\u041d\\u041a.                                 \\u041d\\u043e\\u043c\\u0435\\u0440 \\u043a\\u0430\\u0440\\u0442\\u044b 5559 5720 5487 6083 +79857493467.                              \\u041d\\u043e\\u043c\\u0435\\u0440 \\u0441\\u0447\\u0435\\u0442\\u0430 40820810804170001481 \\u041f\\u043e\\u043b\\u0443\\u0447\\u0430\\u0442\\u0435\\u043b\\u044c: \\u041e\\u043a\\u0438\\u043d\\u0447\\u0443\\u043a \\u0412\\u0438\\u043a\\u0442\\u043e\\u0440     \\u0418\\u041d\\u041d \\u0431\\u0430\\u043d\\u043a\\u0430 \\u043f\\u043e\\u043b\\u0443\\u0447\\u0430\\u0442\\u0435\\u043b\\u044f: 7728168971 \\u041a\\u043e\\u0440\\u0440. \\u0441\\u0447\\u0435\\u0442: 30101810200000000593 \\u0411\\u0430\\u043d\\u043a: \\u0410\\u041e \\u00ab\\u0410\\u043b\\u044c\\u0444\\u0430-\\u0411\\u0430\\u043d\\u043a\\u00bb, \\u0433. \\u041c\\u043e\\u0441\\u043a\\u0432\\u0430 \\u041a\\u041f\\u041f \\u0431\\u0430\\u043d\\u043a\\u0430 \\u043f\\u043e\\u043b\\u0443\\u0447\\u0430\\u0442\\u0435\\u043b\\u044f: 770801001 \\u0411\\u0418\\u041a: 044525593\",\"Termen intermediar\":\"20.06.2022\",\"Suma contract\":\"8180\",\"Data avans\":\"04.07.2022\",\"Luna trec producere\":\"16.08.2022\",\"Link tranzac\\u021bia front\":\"https:\\/\\/emigrare.amocrm.ru\\/leads\\/detail\\/34682582\",\"Manager front office\":\"Capanji Igor\",\"Etapa curenta\":\"Proces producere\",\"Palnia Curenta\":\"Work Cetatenie Romana\",\"Suma \\u20ac\":\"0\",\"ID\":\"34682582\",\"\\u0421\\u0434\\u0435\\u043b\\u043a\\u0430_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Cet. MD (+ Gennadii Iavorskii)\",\"Lead_name\":\"Cet. MD (+ Gennadii Iavorskii)\",\"\\u0411\\u044e\\u0434\\u0436\\u0435\\u0442\":\"8180\",\"Budget\":\"8180\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"Cre\\u021bu Veronica\",\"Responsible\":\"Cre\\u021bu Veronica\"},\"lead\":{\"Brand\":\"Emigrare.md\",\"Luna crearii Tranzactiei back\":\"29.06.2022\",\"Suma Back\":\"8000\",\"Categorie Serviciu\":\"Cet.MD\",\"google_folder_id_leads_field\":\"1Pn1yHe8NH-PbRIwiKtaGZdRw5wH0EjcI\",\"google_folder_link_leads_field\":\"https:\\/\\/drive.google.com\\/drive\\/folders\\/1Pn1yHe8NH-PbRIwiKtaGZdRw5wH0EjcI\",\"Ceta\\u021benia RM\":\"Cet pe baza parinti bunei\",\"Reac\\u021bia clientului la pre\\u021b\":\"Clientul este interesat \\u0219i este preg\\u0103tit financiar\",\"Data consulta\\u021biei\":\"04.07.2022\",\"Luna trec in Front\":\"04.07.2022\",\"Data contractului\":\"04.07.2022\",\"Numar Contract\":\"34682582\",\"Compania\":\"EMG Consulting Group SRL\",\"Termen perfectare\":\"04.01.2023\",\"Avans\":\"4090\",\"Cont\":\"\\u0410\\u041b\\u042c\\u0424\\u0410 \\u0411\\u0410\\u041d\\u041a.                                 \\u041d\\u043e\\u043c\\u0435\\u0440 \\u043a\\u0430\\u0440\\u0442\\u044b 5559 5720 5487 6083 +79857493467.                              \\u041d\\u043e\\u043c\\u0435\\u0440 \\u0441\\u0447\\u0435\\u0442\\u0430 40820810804170001481 \\u041f\\u043e\\u043b\\u0443\\u0447\\u0430\\u0442\\u0435\\u043b\\u044c: \\u041e\\u043a\\u0438\\u043d\\u0447\\u0443\\u043a \\u0412\\u0438\\u043a\\u0442\\u043e\\u0440     \\u0418\\u041d\\u041d \\u0431\\u0430\\u043d\\u043a\\u0430 \\u043f\\u043e\\u043b\\u0443\\u0447\\u0430\\u0442\\u0435\\u043b\\u044f: 7728168971 \\u041a\\u043e\\u0440\\u0440. \\u0441\\u0447\\u0435\\u0442: 30101810200000000593 \\u0411\\u0430\\u043d\\u043a: \\u0410\\u041e \\u00ab\\u0410\\u043b\\u044c\\u0444\\u0430-\\u0411\\u0430\\u043d\\u043a\\u00bb, \\u0433. \\u041c\\u043e\\u0441\\u043a\\u0432\\u0430 \\u041a\\u041f\\u041f \\u0431\\u0430\\u043d\\u043a\\u0430 \\u043f\\u043e\\u043b\\u0443\\u0447\\u0430\\u0442\\u0435\\u043b\\u044f: 770801001 \\u0411\\u0418\\u041a: 044525593\",\"Termen intermediar\":\"20.06.2022\",\"Suma contract\":\"8180\",\"Data avans\":\"04.07.2022\",\"Luna trec producere\":\"16.08.2022\",\"Link tranzac\\u021bia front\":\"https:\\/\\/emigrare.amocrm.ru\\/leads\\/detail\\/34682582\",\"Manager front office\":\"Capanji Igor\",\"Etapa curenta\":\"Proces producere\",\"Palnia Curenta\":\"Work Cetatenie Romana\",\"Suma \\u20ac\":\"0\",\"ID\":\"34682582\",\"\\u0421\\u0434\\u0435\\u043b\\u043a\\u0430_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Cet. MD (+ Gennadii Iavorskii)\",\"Lead_name\":\"Cet. MD (+ Gennadii Iavorskii)\",\"\\u0411\\u044e\\u0434\\u0436\\u0435\\u0442\":\"8180\",\"Budget\":\"8180\",\"\\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\":{\"Cet\\u0103\\u021benie de\\u021binut\\u0103\":\"RM\",\"Cum Comunicam\":\"Telegram\",\"Limba vorbita\":\"Rusa\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"79200605540\",\"Email\":\"y@yavorsky.biz\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Iurii Iavorschi\",\"Contact_name\":\"Iurii Iavorschi\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"Capanji Igor\",\"Responsible\":\"Capanji Igor\"},\"contact\":{\"Cet\\u0103\\u021benie de\\u021binut\\u0103\":\"RM\",\"Cum Comunicam\":\"Telegram\",\"Limba vorbita\":\"Rusa\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"79200605540\",\"Email\":\"y@yavorsky.biz\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Iurii Iavorschi\",\"Contact_name\":\"Iurii Iavorschi\",\"\\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\":[{\"Cet\\u0103\\u021benie de\\u021binut\\u0103\":\"RM\",\"Cum Comunicam\":\"Telegram\",\"Limba vorbita\":\"Rusa\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"79200605540\",\"Email\":\"y@yavorsky.biz\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Iurii Iavorschi\",\"\\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\":\"13.10.2026\",\"\\u041d\\u043e\\u043c\\u0435\\u0440\":\"523\"},\"document\":{\"Date\":\"13.10.2026\",\"Number\":\"523\"}}}","edit":true}} {"uid":"84960df"}
[2026-10-13 12:21:01] docflow.DEBUG: GAS raw response {"raw":"[object] (stdClass: {\"code\":1,\"url\":\"https://docs.google.com/open?id=1EnEMMsMUHbVsJtmlQAB2wIuyWPe7YGKoI8aNqp5Qh0o\",\"file_id\":\"1EnEMMsMUHbVsJtmlQAB2wIuyWPe7YGKoI8aNqp5Qh0o\",\"error\":\"\",\"vars\":\"\"})"} {"uid":"84960df"}
[2026-10-13 12:21:01] docflow.WARNING: AmoDrive generated-file move is not ready. {"fileId":"1EnEMMsMUHbVsJtmlQAB2wIuyWPe7YGKoI8aNqp5Qh0o","context":null} {"uid":"84960df"}
[2026-10-13 12:21:21] docflow.INFO: Apel createDoc {"data":{"amoAccountId":"22699852","amoUserId":null,"amoEntityId":"34682582","amoEntityType":"2","templateId":"11494","corporateEntityId":"","settlementAccountId":"","is_signed":null,"gdi":null,"number":null,"currentAmoUserId":null,"lang":"ru"}} {"uid":"a86e276"}
[2026-10-13 12:21:21] docflow.INFO: Token is valid for account 22699852. [] {"uid":"a86e276"}
[2026-10-13 12:21:21] docflow.DEBUG: getClientAuth returned {"auth":"[object] (stdClass: {\"domain\":\"emigrare.amocrm.ru\",\"access_token\":\"eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImp0aSI6IjA5Zjk3NjIwZWVhZDQ5MTk1YzAzMjExYWQzZWMwNWFmODMzOTAyYzkwNDUxYThhMDRlNWI2NGZhZTg5ODk0NGM0NzIxZWFiYTAwYWRmNGY1In0.eyJhdWQiOiIwZDY0ZGZmYi1lNTRiLTQ0OGYtOWZiZi1iYWYyMjUxYTExZGIiLCJqdGkiOiIwOWY5NzYyMGVlYWQ0OTE5NWMwMzIxMWFkM2VjMDVhZjgzMzkwMmM5MDQ1MWE4YTA0ZTViNjRmYWU4OTg5NDRjNDcyMWVhYmEwMGFkZjRmNSIsImlhdCI6MTc5MTg3NTcxNCwibmJmIjoxNzkxODc1NzE0LCJleHAiOjE3OTE5NjIxMTQsInN1YiI6IjI5MzAzODAiLCJncmFudF90eXBlIjoiIiwiYWNjb3VudF9pZCI6MjI2OTk4NTIsImJhc2VfZG9tYWluIjoiYW1vY3JtLnJ1IiwidmVyc2lvbiI6Miwic2NvcGVzIjpbInB1c2hfbm90aWZpY2F0aW9ucyIsImNybSIsIm5vdGlmaWNhdGlvbnMiXSwiaGFzaF91dWlkIjoiZjhhNDRkOTgtMTRlNS00OTcxLTllMGEtNTRhZDY5OGQyYmQ4IiwiYXBpX2RvbWFpbiI6ImFwaS1hLmFtb2NybS5ydSJ9.NBJbkjpQVkql6RIh0lb5_KN4a3HryxJWNmjqTpgN1z5_38BKNZZYuaLC3jSuifBhZ1bpvGNOvdij0i0pQgyxhOaT9bZBjt_vLr-92V395z4ycsTFsK62KSDyZ-lAic98RxsqiX1xzPrdIi7NEXKX9Ls1ZHz0dwCgMJC2czZsigpjSEG0ErTZNdfsZrz00lM5F7cYbWP1m6JO78QBQJmrF_fRwFLiWGm9epjs7WmHTq4gO0Ski6-09ZTgjUIdj0zk6kP0vuWPHu9bZb8EP2IglQ0UjVN2AuacD9jBZvwt8Z6Q3TPnOEJaD0MJgiSlBcFs7wQ2ueorh3T8wV5cwy3VIA\"})","file":"/home/ytvmclwh/document.amocrm.md/src/Models/Docs.php","line":121} {"uid":"a86e276"}
[2026-10-13 12:21:24] docflow.DEBUG: AmoDrive docflow context request {"url":"https://google.emale.uno/api/docflow/google-context","query":{"account_id":"22699852","entity_id":"34682582","entity_type":"leads"}} {"uid":"a86e276"}
[2026-10-13 12:21:24] docflow.WARNING: AmoDrive docflow context request failed {"url":"https://google.emale.uno/api/docflow/google-context","http_code":null,"error":"HTTP/2 400 ","response":"<!DOCTYPE HTML PUBLIC \"-//IETF//DTD HTML 2.0//EN\">\r\n<html>\r\n<head><title>400 Bad Request</title></head>\r\n<body>\r\n<center><h1>400 Bad Request</h1></center>\r\n Sorry for the inconvenience.<br/>\r\nPlease report this message and include the following information to us.<br/>\r\nThank you very much!</p>\r\n<table>\r\n<tr>\r\n<td>URL:</td>\r\n<td>https://gd.glucose-dev.online/api/docflow/google-context?account_id=22699852&amp;entity_id=34682582&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/13 12:21:24</td>\r\n</tr>\r\n</table>\r\n<hr><center>tengine</center>\r\n</body>\r\n</html>\r\n"} {"uid":"a86e276"}
[2026-10-13 12:21:24] docflow.DEBUG: AmoDrive docflow context request {"url":"https://gd.glucose-dev.online/api/docflow/google-context","query":{"account_id":"22699852","entity_id":"34682582","entity_type":"leads"}} {"uid":"a86e276"}
[2026-10-13 12:21:24] docflow.WARNING: AmoDrive docflow context response is not ready, trying next backend. {"url":"https://gd.glucose-dev.online/api/docflow/google-context","payload":{"ok":true,"accountId":22699852,"entityId":"34682582","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":312,"isLifetime":false},"licenseActive":false,"googleConnected":false,"googleEmail":null,"googleHasDriveScope":false,"googleHasDriveFileScope":false,"googleHasOwnershipScope":false,"readyForGeneratedFileMove":false,"readyForTransfer":false},"folder":{"id":"1Pn1yHe8NH-PbRIwiKtaGZdRw5wH0EjcI","name":"cet.md","webViewLink":"https://drive.google.com/drive/folders/1Pn1yHe8NH-PbRIwiKtaGZdRw5wH0EjcI"}}} {"uid":"a86e276"}
[2026-10-13 12:21:24] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://google.emale.uno/api/docflow/prepare-generated-doc","payload":{"account_id":"22699852","entity_id":"34682582","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"a86e276"}
[2026-10-13 12:21:24] docflow.WARNING: AmoDrive prepare-generated-doc request failed {"url":"https://google.emale.uno/api/docflow/prepare-generated-doc","http_code":null,"error":"HTTP/2 400 ","response":"<!DOCTYPE HTML PUBLIC \"-//IETF//DTD HTML 2.0//EN\">\r\n<html>\r\n<head><title>400 Bad Request</title></head>\r\n<body>\r\n<center><h1>400 Bad Request</h1></center>\r\n Sorry for the inconvenience.<br/>\r\nPlease report this message and include the following information to us.<br/>\r\nThank you very much!</p>\r\n<table>\r\n<tr>\r\n<td>URL:</td>\r\n<td>https://gd.glucose-dev.online/api/docflow/prepare-generated-doc</td>\r\n</tr>\r\n<tr>\r\n<td>Server:</td>\r\n<td>mail.glucose-dev.online</td>\r\n</tr>\r\n<tr>\r\n<td>Date:</td>\r\n<td>2026/10/13 12:21:24</td>\r\n</tr>\r\n</table>\r\n<hr><center>tengine</center>\r\n</body>\r\n</html>\r\n","payload":{"account_id":"22699852","entity_id":"34682582","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"a86e276"}
[2026-10-13 12:21:24] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://gd.glucose-dev.online/api/docflow/prepare-generated-doc","payload":{"account_id":"22699852","entity_id":"34682582","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"a86e276"}
[2026-10-13 12:21:24] docflow.WARNING: AmoDrive prepare-generated-doc request failed {"url":"https://gd.glucose-dev.online/api/docflow/prepare-generated-doc","http_code":null,"error":"HTTP/2 404 ","response":"[object] (stdClass: {\"ok\":false,\"error\":\"AmoDrive is not installed for this account.\",\"accountId\":22699852})","payload":{"account_id":"22699852","entity_id":"34682582","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"a86e276"}
[2026-10-13 12:21:24] docflow.DEBUG: GAS request {"url":"https://script.google.com/macros/s/AKfycbwrvOJD46zkuoTzdhpc1kulhV8jRfgQBFZfQ121nkIip_k8yKit4xrbWTOzaJ-C-Yed6w/exec","body":{"templateFileId":"1JXUj2DLXEdTk-SGE6DCzA0D1PxkEDgCMFq8d7wIYFtw","accountId":"22699852","folderId":"1Us2AfskxgdA729xVr0F2vjZU9y5PlYDe","key":"~VTsK5dcnHc2cSSsjM$LFSjLlgbmJXwrp3R2P5nd","data":"{\"fileName\":\"Traduceri 51 20261013122124\",\"leadId\":\"34682582\",\"entities\":{\"\\u0441\\u0434\\u0435\\u043b\\u043a\\u0430\":{\"Brand\":\"Emigrare.md\",\"Luna crearii Tranzactiei back\":\"29.06.2022\",\"Suma Back\":\"8000\",\"Categorie Serviciu\":\"Cet.MD\",\"google_folder_id_leads_field\":\"1Pn1yHe8NH-PbRIwiKtaGZdRw5wH0EjcI\",\"google_folder_link_leads_field\":\"https:\\/\\/drive.google.com\\/drive\\/folders\\/1Pn1yHe8NH-PbRIwiKtaGZdRw5wH0EjcI\",\"Ceta\\u021benia RM\":\"Cet pe baza parinti bunei\",\"Reac\\u021bia clientului la pre\\u021b\":\"Clientul este interesat \\u0219i este preg\\u0103tit financiar\",\"Data consulta\\u021biei\":\"04.07.2022\",\"Luna trec in Front\":\"04.07.2022\",\"Data contractului\":\"04.07.2022\",\"Numar Contract\":\"34682582\",\"Compania\":\"EMG Consulting Group SRL\",\"Termen perfectare\":\"04.01.2023\",\"Avans\":\"4090\",\"Cont\":\"\\u0410\\u041b\\u042c\\u0424\\u0410 \\u0411\\u0410\\u041d\\u041a.                                 \\u041d\\u043e\\u043c\\u0435\\u0440 \\u043a\\u0430\\u0440\\u0442\\u044b 5559 5720 5487 6083 +79857493467.                              \\u041d\\u043e\\u043c\\u0435\\u0440 \\u0441\\u0447\\u0435\\u0442\\u0430 40820810804170001481 \\u041f\\u043e\\u043b\\u0443\\u0447\\u0430\\u0442\\u0435\\u043b\\u044c: \\u041e\\u043a\\u0438\\u043d\\u0447\\u0443\\u043a \\u0412\\u0438\\u043a\\u0442\\u043e\\u0440     \\u0418\\u041d\\u041d \\u0431\\u0430\\u043d\\u043a\\u0430 \\u043f\\u043e\\u043b\\u0443\\u0447\\u0430\\u0442\\u0435\\u043b\\u044f: 7728168971 \\u041a\\u043e\\u0440\\u0440. \\u0441\\u0447\\u0435\\u0442: 30101810200000000593 \\u0411\\u0430\\u043d\\u043a: \\u0410\\u041e \\u00ab\\u0410\\u043b\\u044c\\u0444\\u0430-\\u0411\\u0430\\u043d\\u043a\\u00bb, \\u0433. \\u041c\\u043e\\u0441\\u043a\\u0432\\u0430 \\u041a\\u041f\\u041f \\u0431\\u0430\\u043d\\u043a\\u0430 \\u043f\\u043e\\u043b\\u0443\\u0447\\u0430\\u0442\\u0435\\u043b\\u044f: 770801001 \\u0411\\u0418\\u041a: 044525593\",\"Termen intermediar\":\"20.06.2022\",\"Suma contract\":\"8180\",\"Data avans\":\"04.07.2022\",\"Luna trec producere\":\"16.08.2022\",\"Link tranzac\\u021bia front\":\"https:\\/\\/emigrare.amocrm.ru\\/leads\\/detail\\/34682582\",\"Manager front office\":\"Capanji Igor\",\"Etapa curenta\":\"Proces producere\",\"Palnia Curenta\":\"Work Cetatenie Romana\",\"Suma \\u20ac\":\"0\",\"ID\":\"34682582\",\"\\u0421\\u0434\\u0435\\u043b\\u043a\\u0430_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Cet. MD (+ Gennadii Iavorskii)\",\"Lead_name\":\"Cet. MD (+ Gennadii Iavorskii)\",\"\\u0411\\u044e\\u0434\\u0436\\u0435\\u0442\":\"8180\",\"Budget\":\"8180\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"Cre\\u021bu Veronica\",\"Responsible\":\"Cre\\u021bu Veronica\"},\"lead\":{\"Brand\":\"Emigrare.md\",\"Luna crearii Tranzactiei back\":\"29.06.2022\",\"Suma Back\":\"8000\",\"Categorie Serviciu\":\"Cet.MD\",\"google_folder_id_leads_field\":\"1Pn1yHe8NH-PbRIwiKtaGZdRw5wH0EjcI\",\"google_folder_link_leads_field\":\"https:\\/\\/drive.google.com\\/drive\\/folders\\/1Pn1yHe8NH-PbRIwiKtaGZdRw5wH0EjcI\",\"Ceta\\u021benia RM\":\"Cet pe baza parinti bunei\",\"Reac\\u021bia clientului la pre\\u021b\":\"Clientul este interesat \\u0219i este preg\\u0103tit financiar\",\"Data consulta\\u021biei\":\"04.07.2022\",\"Luna trec in Front\":\"04.07.2022\",\"Data contractului\":\"04.07.2022\",\"Numar Contract\":\"34682582\",\"Compania\":\"EMG Consulting Group SRL\",\"Termen perfectare\":\"04.01.2023\",\"Avans\":\"4090\",\"Cont\":\"\\u0410\\u041b\\u042c\\u0424\\u0410 \\u0411\\u0410\\u041d\\u041a.                                 \\u041d\\u043e\\u043c\\u0435\\u0440 \\u043a\\u0430\\u0440\\u0442\\u044b 5559 5720 5487 6083 +79857493467.                              \\u041d\\u043e\\u043c\\u0435\\u0440 \\u0441\\u0447\\u0435\\u0442\\u0430 40820810804170001481 \\u041f\\u043e\\u043b\\u0443\\u0447\\u0430\\u0442\\u0435\\u043b\\u044c: \\u041e\\u043a\\u0438\\u043d\\u0447\\u0443\\u043a \\u0412\\u0438\\u043a\\u0442\\u043e\\u0440     \\u0418\\u041d\\u041d \\u0431\\u0430\\u043d\\u043a\\u0430 \\u043f\\u043e\\u043b\\u0443\\u0447\\u0430\\u0442\\u0435\\u043b\\u044f: 7728168971 \\u041a\\u043e\\u0440\\u0440. \\u0441\\u0447\\u0435\\u0442: 30101810200000000593 \\u0411\\u0430\\u043d\\u043a: \\u0410\\u041e \\u00ab\\u0410\\u043b\\u044c\\u0444\\u0430-\\u0411\\u0430\\u043d\\u043a\\u00bb, \\u0433. \\u041c\\u043e\\u0441\\u043a\\u0432\\u0430 \\u041a\\u041f\\u041f \\u0431\\u0430\\u043d\\u043a\\u0430 \\u043f\\u043e\\u043b\\u0443\\u0447\\u0430\\u0442\\u0435\\u043b\\u044f: 770801001 \\u0411\\u0418\\u041a: 044525593\",\"Termen intermediar\":\"20.06.2022\",\"Suma contract\":\"8180\",\"Data avans\":\"04.07.2022\",\"Luna trec producere\":\"16.08.2022\",\"Link tranzac\\u021bia front\":\"https:\\/\\/emigrare.amocrm.ru\\/leads\\/detail\\/34682582\",\"Manager front office\":\"Capanji Igor\",\"Etapa curenta\":\"Proces producere\",\"Palnia Curenta\":\"Work Cetatenie Romana\",\"Suma \\u20ac\":\"0\",\"ID\":\"34682582\",\"\\u0421\\u0434\\u0435\\u043b\\u043a\\u0430_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Cet. MD (+ Gennadii Iavorskii)\",\"Lead_name\":\"Cet. MD (+ Gennadii Iavorskii)\",\"\\u0411\\u044e\\u0434\\u0436\\u0435\\u0442\":\"8180\",\"Budget\":\"8180\",\"\\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\":{\"Cet\\u0103\\u021benie de\\u021binut\\u0103\":\"RM\",\"Cum Comunicam\":\"Telegram\",\"Limba vorbita\":\"Rusa\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"79200605540\",\"Email\":\"y@yavorsky.biz\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Iurii Iavorschi\",\"Contact_name\":\"Iurii Iavorschi\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"Capanji Igor\",\"Responsible\":\"Capanji Igor\"},\"contact\":{\"Cet\\u0103\\u021benie de\\u021binut\\u0103\":\"RM\",\"Cum Comunicam\":\"Telegram\",\"Limba vorbita\":\"Rusa\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"79200605540\",\"Email\":\"y@yavorsky.biz\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Iurii Iavorschi\",\"Contact_name\":\"Iurii Iavorschi\",\"\\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\":[{\"Cet\\u0103\\u021benie de\\u021binut\\u0103\":\"RM\",\"Cum Comunicam\":\"Telegram\",\"Limba vorbita\":\"Rusa\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"79200605540\",\"Email\":\"y@yavorsky.biz\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Iurii Iavorschi\",\"\\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\":\"13.10.2026\",\"\\u041d\\u043e\\u043c\\u0435\\u0440\":\"51\"},\"document\":{\"Date\":\"13.10.2026\",\"Number\":\"51\"}}}","edit":true}} {"uid":"a86e276"}
[2026-10-13 12:21:29] docflow.DEBUG: GAS raw response {"raw":"[object] (stdClass: {\"code\":1,\"url\":\"https://docs.google.com/open?id=1lNif4Yu_mcIjCn3K5X71MduxuqkVQZ2OrL5LoKF7fyc\",\"file_id\":\"1lNif4Yu_mcIjCn3K5X71MduxuqkVQZ2OrL5LoKF7fyc\",\"error\":\"\",\"vars\":\"\"})"} {"uid":"a86e276"}
[2026-10-13 12:21:29] docflow.WARNING: AmoDrive generated-file move is not ready. {"fileId":"1lNif4Yu_mcIjCn3K5X71MduxuqkVQZ2OrL5LoKF7fyc","context":null} {"uid":"a86e276"}
[2026-10-13 12:21:43] docflow.INFO: Apel createDoc {"data":{"amoAccountId":"22699852","amoUserId":null,"amoEntityId":"34682582","amoEntityType":"2","templateId":"11504","corporateEntityId":"","settlementAccountId":"","is_signed":null,"gdi":null,"number":null,"currentAmoUserId":null,"lang":"ru"}} {"uid":"4903a9c"}
[2026-10-13 12:21:43] docflow.INFO: Token is valid for account 22699852. [] {"uid":"4903a9c"}
[2026-10-13 12:21:43] docflow.DEBUG: getClientAuth returned {"auth":"[object] (stdClass: {\"domain\":\"emigrare.amocrm.ru\",\"access_token\":\"eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImp0aSI6IjA5Zjk3NjIwZWVhZDQ5MTk1YzAzMjExYWQzZWMwNWFmODMzOTAyYzkwNDUxYThhMDRlNWI2NGZhZTg5ODk0NGM0NzIxZWFiYTAwYWRmNGY1In0.eyJhdWQiOiIwZDY0ZGZmYi1lNTRiLTQ0OGYtOWZiZi1iYWYyMjUxYTExZGIiLCJqdGkiOiIwOWY5NzYyMGVlYWQ0OTE5NWMwMzIxMWFkM2VjMDVhZjgzMzkwMmM5MDQ1MWE4YTA0ZTViNjRmYWU4OTg5NDRjNDcyMWVhYmEwMGFkZjRmNSIsImlhdCI6MTc5MTg3NTcxNCwibmJmIjoxNzkxODc1NzE0LCJleHAiOjE3OTE5NjIxMTQsInN1YiI6IjI5MzAzODAiLCJncmFudF90eXBlIjoiIiwiYWNjb3VudF9pZCI6MjI2OTk4NTIsImJhc2VfZG9tYWluIjoiYW1vY3JtLnJ1IiwidmVyc2lvbiI6Miwic2NvcGVzIjpbInB1c2hfbm90aWZpY2F0aW9ucyIsImNybSIsIm5vdGlmaWNhdGlvbnMiXSwiaGFzaF91dWlkIjoiZjhhNDRkOTgtMTRlNS00OTcxLTllMGEtNTRhZDY5OGQyYmQ4IiwiYXBpX2RvbWFpbiI6ImFwaS1hLmFtb2NybS5ydSJ9.NBJbkjpQVkql6RIh0lb5_KN4a3HryxJWNmjqTpgN1z5_38BKNZZYuaLC3jSuifBhZ1bpvGNOvdij0i0pQgyxhOaT9bZBjt_vLr-92V395z4ycsTFsK62KSDyZ-lAic98RxsqiX1xzPrdIi7NEXKX9Ls1ZHz0dwCgMJC2czZsigpjSEG0ErTZNdfsZrz00lM5F7cYbWP1m6JO78QBQJmrF_fRwFLiWGm9epjs7WmHTq4gO0Ski6-09ZTgjUIdj0zk6kP0vuWPHu9bZb8EP2IglQ0UjVN2AuacD9jBZvwt8Z6Q3TPnOEJaD0MJgiSlBcFs7wQ2ueorh3T8wV5cwy3VIA\"})","file":"/home/ytvmclwh/document.amocrm.md/src/Models/Docs.php","line":121} {"uid":"4903a9c"}
[2026-10-13 12:21:45] docflow.DEBUG: AmoDrive docflow context request {"url":"https://google.emale.uno/api/docflow/google-context","query":{"account_id":"22699852","entity_id":"34682582","entity_type":"leads"}} {"uid":"4903a9c"}
[2026-10-13 12:21:45] docflow.WARNING: AmoDrive docflow context request failed {"url":"https://google.emale.uno/api/docflow/google-context","http_code":null,"error":"HTTP/2 400 ","response":"<!DOCTYPE HTML PUBLIC \"-//IETF//DTD HTML 2.0//EN\">\r\n<html>\r\n<head><title>400 Bad Request</title></head>\r\n<body>\r\n<center><h1>400 Bad Request</h1></center>\r\n Sorry for the inconvenience.<br/>\r\nPlease report this message and include the following information to us.<br/>\r\nThank you very much!</p>\r\n<table>\r\n<tr>\r\n<td>URL:</td>\r\n<td>https://gd.glucose-dev.online/api/docflow/google-context?account_id=22699852&amp;entity_id=34682582&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/13 12:21:45</td>\r\n</tr>\r\n</table>\r\n<hr><center>tengine</center>\r\n</body>\r\n</html>\r\n"} {"uid":"4903a9c"}
[2026-10-13 12:21:45] docflow.DEBUG: AmoDrive docflow context request {"url":"https://gd.glucose-dev.online/api/docflow/google-context","query":{"account_id":"22699852","entity_id":"34682582","entity_type":"leads"}} {"uid":"4903a9c"}
[2026-10-13 12:21:46] docflow.WARNING: AmoDrive docflow context response is not ready, trying next backend. {"url":"https://gd.glucose-dev.online/api/docflow/google-context","payload":{"ok":true,"accountId":22699852,"entityId":"34682582","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":312,"isLifetime":false},"licenseActive":false,"googleConnected":false,"googleEmail":null,"googleHasDriveScope":false,"googleHasDriveFileScope":false,"googleHasOwnershipScope":false,"readyForGeneratedFileMove":false,"readyForTransfer":false},"folder":{"id":"1Pn1yHe8NH-PbRIwiKtaGZdRw5wH0EjcI","name":"cet.md","webViewLink":"https://drive.google.com/drive/folders/1Pn1yHe8NH-PbRIwiKtaGZdRw5wH0EjcI"}}} {"uid":"4903a9c"}
[2026-10-13 12:21:46] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://google.emale.uno/api/docflow/prepare-generated-doc","payload":{"account_id":"22699852","entity_id":"34682582","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"4903a9c"}
[2026-10-13 12:21: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/13 12:21:46</td>\r\n</tr>\r\n</table>\r\n<hr><center>tengine</center>\r\n</body>\r\n</html>\r\n","payload":{"account_id":"22699852","entity_id":"34682582","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"4903a9c"}
[2026-10-13 12:21:46] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://gd.glucose-dev.online/api/docflow/prepare-generated-doc","payload":{"account_id":"22699852","entity_id":"34682582","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"4903a9c"}
[2026-10-13 12:21:46] docflow.WARNING: AmoDrive prepare-generated-doc request failed {"url":"https://gd.glucose-dev.online/api/docflow/prepare-generated-doc","http_code":null,"error":"HTTP/2 404 ","response":"[object] (stdClass: {\"ok\":false,\"error\":\"AmoDrive is not installed for this account.\",\"accountId\":22699852})","payload":{"account_id":"22699852","entity_id":"34682582","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"4903a9c"}
[2026-10-13 12:21:46] 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) 94 20261013122145\",\"leadId\":\"34682582\",\"entities\":{\"\\u0441\\u0434\\u0435\\u043b\\u043a\\u0430\":{\"Brand\":\"Emigrare.md\",\"Luna crearii Tranzactiei back\":\"29.06.2022\",\"Suma Back\":\"8000\",\"Categorie Serviciu\":\"Cet.MD\",\"google_folder_id_leads_field\":\"1Pn1yHe8NH-PbRIwiKtaGZdRw5wH0EjcI\",\"google_folder_link_leads_field\":\"https:\\/\\/drive.google.com\\/drive\\/folders\\/1Pn1yHe8NH-PbRIwiKtaGZdRw5wH0EjcI\",\"Ceta\\u021benia RM\":\"Cet pe baza parinti bunei\",\"Reac\\u021bia clientului la pre\\u021b\":\"Clientul este interesat \\u0219i este preg\\u0103tit financiar\",\"Data consulta\\u021biei\":\"04.07.2022\",\"Luna trec in Front\":\"04.07.2022\",\"Data contractului\":\"04.07.2022\",\"Numar Contract\":\"34682582\",\"Compania\":\"EMG Consulting Group SRL\",\"Termen perfectare\":\"04.01.2023\",\"Avans\":\"4090\",\"Cont\":\"\\u0410\\u041b\\u042c\\u0424\\u0410 \\u0411\\u0410\\u041d\\u041a.                                 \\u041d\\u043e\\u043c\\u0435\\u0440 \\u043a\\u0430\\u0440\\u0442\\u044b 5559 5720 5487 6083 +79857493467.                              \\u041d\\u043e\\u043c\\u0435\\u0440 \\u0441\\u0447\\u0435\\u0442\\u0430 40820810804170001481 \\u041f\\u043e\\u043b\\u0443\\u0447\\u0430\\u0442\\u0435\\u043b\\u044c: \\u041e\\u043a\\u0438\\u043d\\u0447\\u0443\\u043a \\u0412\\u0438\\u043a\\u0442\\u043e\\u0440     \\u0418\\u041d\\u041d \\u0431\\u0430\\u043d\\u043a\\u0430 \\u043f\\u043e\\u043b\\u0443\\u0447\\u0430\\u0442\\u0435\\u043b\\u044f: 7728168971 \\u041a\\u043e\\u0440\\u0440. \\u0441\\u0447\\u0435\\u0442: 30101810200000000593 \\u0411\\u0430\\u043d\\u043a: \\u0410\\u041e \\u00ab\\u0410\\u043b\\u044c\\u0444\\u0430-\\u0411\\u0430\\u043d\\u043a\\u00bb, \\u0433. \\u041c\\u043e\\u0441\\u043a\\u0432\\u0430 \\u041a\\u041f\\u041f \\u0431\\u0430\\u043d\\u043a\\u0430 \\u043f\\u043e\\u043b\\u0443\\u0447\\u0430\\u0442\\u0435\\u043b\\u044f: 770801001 \\u0411\\u0418\\u041a: 044525593\",\"Termen intermediar\":\"20.06.2022\",\"Suma contract\":\"8180\",\"Data avans\":\"04.07.2022\",\"Luna trec producere\":\"16.08.2022\",\"Link tranzac\\u021bia front\":\"https:\\/\\/emigrare.amocrm.ru\\/leads\\/detail\\/34682582\",\"Manager front office\":\"Capanji Igor\",\"Etapa curenta\":\"Proces producere\",\"Palnia Curenta\":\"Work Cetatenie Romana\",\"Suma \\u20ac\":\"0\",\"ID\":\"34682582\",\"\\u0421\\u0434\\u0435\\u043b\\u043a\\u0430_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Cet. MD (+ Gennadii Iavorskii)\",\"Lead_name\":\"Cet. MD (+ Gennadii Iavorskii)\",\"\\u0411\\u044e\\u0434\\u0436\\u0435\\u0442\":\"8180\",\"Budget\":\"8180\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"Cre\\u021bu Veronica\",\"Responsible\":\"Cre\\u021bu Veronica\"},\"lead\":{\"Brand\":\"Emigrare.md\",\"Luna crearii Tranzactiei back\":\"29.06.2022\",\"Suma Back\":\"8000\",\"Categorie Serviciu\":\"Cet.MD\",\"google_folder_id_leads_field\":\"1Pn1yHe8NH-PbRIwiKtaGZdRw5wH0EjcI\",\"google_folder_link_leads_field\":\"https:\\/\\/drive.google.com\\/drive\\/folders\\/1Pn1yHe8NH-PbRIwiKtaGZdRw5wH0EjcI\",\"Ceta\\u021benia RM\":\"Cet pe baza parinti bunei\",\"Reac\\u021bia clientului la pre\\u021b\":\"Clientul este interesat \\u0219i este preg\\u0103tit financiar\",\"Data consulta\\u021biei\":\"04.07.2022\",\"Luna trec in Front\":\"04.07.2022\",\"Data contractului\":\"04.07.2022\",\"Numar Contract\":\"34682582\",\"Compania\":\"EMG Consulting Group SRL\",\"Termen perfectare\":\"04.01.2023\",\"Avans\":\"4090\",\"Cont\":\"\\u0410\\u041b\\u042c\\u0424\\u0410 \\u0411\\u0410\\u041d\\u041a.                                 \\u041d\\u043e\\u043c\\u0435\\u0440 \\u043a\\u0430\\u0440\\u0442\\u044b 5559 5720 5487 6083 +79857493467.                              \\u041d\\u043e\\u043c\\u0435\\u0440 \\u0441\\u0447\\u0435\\u0442\\u0430 40820810804170001481 \\u041f\\u043e\\u043b\\u0443\\u0447\\u0430\\u0442\\u0435\\u043b\\u044c: \\u041e\\u043a\\u0438\\u043d\\u0447\\u0443\\u043a \\u0412\\u0438\\u043a\\u0442\\u043e\\u0440     \\u0418\\u041d\\u041d \\u0431\\u0430\\u043d\\u043a\\u0430 \\u043f\\u043e\\u043b\\u0443\\u0447\\u0430\\u0442\\u0435\\u043b\\u044f: 7728168971 \\u041a\\u043e\\u0440\\u0440. \\u0441\\u0447\\u0435\\u0442: 30101810200000000593 \\u0411\\u0430\\u043d\\u043a: \\u0410\\u041e \\u00ab\\u0410\\u043b\\u044c\\u0444\\u0430-\\u0411\\u0430\\u043d\\u043a\\u00bb, \\u0433. \\u041c\\u043e\\u0441\\u043a\\u0432\\u0430 \\u041a\\u041f\\u041f \\u0431\\u0430\\u043d\\u043a\\u0430 \\u043f\\u043e\\u043b\\u0443\\u0447\\u0430\\u0442\\u0435\\u043b\\u044f: 770801001 \\u0411\\u0418\\u041a: 044525593\",\"Termen intermediar\":\"20.06.2022\",\"Suma contract\":\"8180\",\"Data avans\":\"04.07.2022\",\"Luna trec producere\":\"16.08.2022\",\"Link tranzac\\u021bia front\":\"https:\\/\\/emigrare.amocrm.ru\\/leads\\/detail\\/34682582\",\"Manager front office\":\"Capanji Igor\",\"Etapa curenta\":\"Proces producere\",\"Palnia Curenta\":\"Work Cetatenie Romana\",\"Suma \\u20ac\":\"0\",\"ID\":\"34682582\",\"\\u0421\\u0434\\u0435\\u043b\\u043a\\u0430_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Cet. MD (+ Gennadii Iavorskii)\",\"Lead_name\":\"Cet. MD (+ Gennadii Iavorskii)\",\"\\u0411\\u044e\\u0434\\u0436\\u0435\\u0442\":\"8180\",\"Budget\":\"8180\",\"\\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\":{\"Cet\\u0103\\u021benie de\\u021binut\\u0103\":\"RM\",\"Cum Comunicam\":\"Telegram\",\"Limba vorbita\":\"Rusa\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"79200605540\",\"Email\":\"y@yavorsky.biz\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Iurii Iavorschi\",\"Contact_name\":\"Iurii Iavorschi\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"Capanji Igor\",\"Responsible\":\"Capanji Igor\"},\"contact\":{\"Cet\\u0103\\u021benie de\\u021binut\\u0103\":\"RM\",\"Cum Comunicam\":\"Telegram\",\"Limba vorbita\":\"Rusa\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"79200605540\",\"Email\":\"y@yavorsky.biz\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Iurii Iavorschi\",\"Contact_name\":\"Iurii Iavorschi\",\"\\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\":[{\"Cet\\u0103\\u021benie de\\u021binut\\u0103\":\"RM\",\"Cum Comunicam\":\"Telegram\",\"Limba vorbita\":\"Rusa\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"79200605540\",\"Email\":\"y@yavorsky.biz\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Iurii Iavorschi\",\"\\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\":\"13.10.2026\",\"\\u041d\\u043e\\u043c\\u0435\\u0440\":\"94\"},\"document\":{\"Date\":\"13.10.2026\",\"Number\":\"94\"}}}","edit":true}} {"uid":"4903a9c"}
[2026-10-13 12:21:53] docflow.DEBUG: GAS raw response {"raw":"[object] (stdClass: {\"code\":1,\"url\":\"https://docs.google.com/open?id=1fljbPC2GLd60J2DF9I39MPmvyTmbampRlgo0qWMORO8\",\"file_id\":\"1fljbPC2GLd60J2DF9I39MPmvyTmbampRlgo0qWMORO8\",\"error\":\"\",\"vars\":\"\"})"} {"uid":"4903a9c"}
[2026-10-13 12:21:53] docflow.WARNING: AmoDrive generated-file move is not ready. {"fileId":"1fljbPC2GLd60J2DF9I39MPmvyTmbampRlgo0qWMORO8","context":null} {"uid":"4903a9c"}
[2026-10-13 12:22:04] docflow.INFO: Apel createDoc {"data":{"amoAccountId":"22699852","amoUserId":null,"amoEntityId":"34682582","amoEntityType":"2","templateId":"11499","corporateEntityId":"","settlementAccountId":"","is_signed":null,"gdi":null,"number":null,"currentAmoUserId":null,"lang":"ru"}} {"uid":"7ea0838"}
[2026-10-13 12:22:04] docflow.INFO: Token is valid for account 22699852. [] {"uid":"7ea0838"}
[2026-10-13 12:22:04] docflow.DEBUG: getClientAuth returned {"auth":"[object] (stdClass: {\"domain\":\"emigrare.amocrm.ru\",\"access_token\":\"eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImp0aSI6IjA5Zjk3NjIwZWVhZDQ5MTk1YzAzMjExYWQzZWMwNWFmODMzOTAyYzkwNDUxYThhMDRlNWI2NGZhZTg5ODk0NGM0NzIxZWFiYTAwYWRmNGY1In0.eyJhdWQiOiIwZDY0ZGZmYi1lNTRiLTQ0OGYtOWZiZi1iYWYyMjUxYTExZGIiLCJqdGkiOiIwOWY5NzYyMGVlYWQ0OTE5NWMwMzIxMWFkM2VjMDVhZjgzMzkwMmM5MDQ1MWE4YTA0ZTViNjRmYWU4OTg5NDRjNDcyMWVhYmEwMGFkZjRmNSIsImlhdCI6MTc5MTg3NTcxNCwibmJmIjoxNzkxODc1NzE0LCJleHAiOjE3OTE5NjIxMTQsInN1YiI6IjI5MzAzODAiLCJncmFudF90eXBlIjoiIiwiYWNjb3VudF9pZCI6MjI2OTk4NTIsImJhc2VfZG9tYWluIjoiYW1vY3JtLnJ1IiwidmVyc2lvbiI6Miwic2NvcGVzIjpbInB1c2hfbm90aWZpY2F0aW9ucyIsImNybSIsIm5vdGlmaWNhdGlvbnMiXSwiaGFzaF91dWlkIjoiZjhhNDRkOTgtMTRlNS00OTcxLTllMGEtNTRhZDY5OGQyYmQ4IiwiYXBpX2RvbWFpbiI6ImFwaS1hLmFtb2NybS5ydSJ9.NBJbkjpQVkql6RIh0lb5_KN4a3HryxJWNmjqTpgN1z5_38BKNZZYuaLC3jSuifBhZ1bpvGNOvdij0i0pQgyxhOaT9bZBjt_vLr-92V395z4ycsTFsK62KSDyZ-lAic98RxsqiX1xzPrdIi7NEXKX9Ls1ZHz0dwCgMJC2czZsigpjSEG0ErTZNdfsZrz00lM5F7cYbWP1m6JO78QBQJmrF_fRwFLiWGm9epjs7WmHTq4gO0Ski6-09ZTgjUIdj0zk6kP0vuWPHu9bZb8EP2IglQ0UjVN2AuacD9jBZvwt8Z6Q3TPnOEJaD0MJgiSlBcFs7wQ2ueorh3T8wV5cwy3VIA\"})","file":"/home/ytvmclwh/document.amocrm.md/src/Models/Docs.php","line":121} {"uid":"7ea0838"}
[2026-10-13 12:22:07] docflow.DEBUG: AmoDrive docflow context request {"url":"https://google.emale.uno/api/docflow/google-context","query":{"account_id":"22699852","entity_id":"34682582","entity_type":"leads"}} {"uid":"7ea0838"}
[2026-10-13 12:22: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=22699852&amp;entity_id=34682582&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/13 12:22:08</td>\r\n</tr>\r\n</table>\r\n<hr><center>tengine</center>\r\n</body>\r\n</html>\r\n"} {"uid":"7ea0838"}
[2026-10-13 12:22:08] docflow.DEBUG: AmoDrive docflow context request {"url":"https://gd.glucose-dev.online/api/docflow/google-context","query":{"account_id":"22699852","entity_id":"34682582","entity_type":"leads"}} {"uid":"7ea0838"}
[2026-10-13 12:22: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":22699852,"entityId":"34682582","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":312,"isLifetime":false},"licenseActive":false,"googleConnected":false,"googleEmail":null,"googleHasDriveScope":false,"googleHasDriveFileScope":false,"googleHasOwnershipScope":false,"readyForGeneratedFileMove":false,"readyForTransfer":false},"folder":{"id":"1Pn1yHe8NH-PbRIwiKtaGZdRw5wH0EjcI","name":"cet.md","webViewLink":"https://drive.google.com/drive/folders/1Pn1yHe8NH-PbRIwiKtaGZdRw5wH0EjcI"}}} {"uid":"7ea0838"}
[2026-10-13 12:22:08] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://google.emale.uno/api/docflow/prepare-generated-doc","payload":{"account_id":"22699852","entity_id":"34682582","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"7ea0838"}
[2026-10-13 12:22: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/13 12:22: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":"22699852","entity_id":"34682582","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"7ea0838"}
[2026-10-13 12:22:08] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://gd.glucose-dev.online/api/docflow/prepare-generated-doc","payload":{"account_id":"22699852","entity_id":"34682582","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"7ea0838"}
[2026-10-13 12:22: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\":22699852})","payload":{"account_id":"22699852","entity_id":"34682582","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"7ea0838"}
[2026-10-13 12:22:08] 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  719 20261013122207\",\"leadId\":\"34682582\",\"entities\":{\"\\u0441\\u0434\\u0435\\u043b\\u043a\\u0430\":{\"Brand\":\"Emigrare.md\",\"Luna crearii Tranzactiei back\":\"29.06.2022\",\"Suma Back\":\"8000\",\"Categorie Serviciu\":\"Cet.MD\",\"google_folder_id_leads_field\":\"1Pn1yHe8NH-PbRIwiKtaGZdRw5wH0EjcI\",\"google_folder_link_leads_field\":\"https:\\/\\/drive.google.com\\/drive\\/folders\\/1Pn1yHe8NH-PbRIwiKtaGZdRw5wH0EjcI\",\"Ceta\\u021benia RM\":\"Cet pe baza parinti bunei\",\"Reac\\u021bia clientului la pre\\u021b\":\"Clientul este interesat \\u0219i este preg\\u0103tit financiar\",\"Data consulta\\u021biei\":\"04.07.2022\",\"Luna trec in Front\":\"04.07.2022\",\"Data contractului\":\"04.07.2022\",\"Numar Contract\":\"34682582\",\"Compania\":\"EMG Consulting Group SRL\",\"Termen perfectare\":\"04.01.2023\",\"Avans\":\"4090\",\"Cont\":\"\\u0410\\u041b\\u042c\\u0424\\u0410 \\u0411\\u0410\\u041d\\u041a.                                 \\u041d\\u043e\\u043c\\u0435\\u0440 \\u043a\\u0430\\u0440\\u0442\\u044b 5559 5720 5487 6083 +79857493467.                              \\u041d\\u043e\\u043c\\u0435\\u0440 \\u0441\\u0447\\u0435\\u0442\\u0430 40820810804170001481 \\u041f\\u043e\\u043b\\u0443\\u0447\\u0430\\u0442\\u0435\\u043b\\u044c: \\u041e\\u043a\\u0438\\u043d\\u0447\\u0443\\u043a \\u0412\\u0438\\u043a\\u0442\\u043e\\u0440     \\u0418\\u041d\\u041d \\u0431\\u0430\\u043d\\u043a\\u0430 \\u043f\\u043e\\u043b\\u0443\\u0447\\u0430\\u0442\\u0435\\u043b\\u044f: 7728168971 \\u041a\\u043e\\u0440\\u0440. \\u0441\\u0447\\u0435\\u0442: 30101810200000000593 \\u0411\\u0430\\u043d\\u043a: \\u0410\\u041e \\u00ab\\u0410\\u043b\\u044c\\u0444\\u0430-\\u0411\\u0430\\u043d\\u043a\\u00bb, \\u0433. \\u041c\\u043e\\u0441\\u043a\\u0432\\u0430 \\u041a\\u041f\\u041f \\u0431\\u0430\\u043d\\u043a\\u0430 \\u043f\\u043e\\u043b\\u0443\\u0447\\u0430\\u0442\\u0435\\u043b\\u044f: 770801001 \\u0411\\u0418\\u041a: 044525593\",\"Termen intermediar\":\"20.06.2022\",\"Suma contract\":\"8180\",\"Data avans\":\"04.07.2022\",\"Luna trec producere\":\"16.08.2022\",\"Link tranzac\\u021bia front\":\"https:\\/\\/emigrare.amocrm.ru\\/leads\\/detail\\/34682582\",\"Manager front office\":\"Capanji Igor\",\"Etapa curenta\":\"Proces producere\",\"Palnia Curenta\":\"Work Cetatenie Romana\",\"Suma \\u20ac\":\"0\",\"ID\":\"34682582\",\"\\u0421\\u0434\\u0435\\u043b\\u043a\\u0430_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Cet. MD (+ Gennadii Iavorskii)\",\"Lead_name\":\"Cet. MD (+ Gennadii Iavorskii)\",\"\\u0411\\u044e\\u0434\\u0436\\u0435\\u0442\":\"8180\",\"Budget\":\"8180\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"Cre\\u021bu Veronica\",\"Responsible\":\"Cre\\u021bu Veronica\"},\"lead\":{\"Brand\":\"Emigrare.md\",\"Luna crearii Tranzactiei back\":\"29.06.2022\",\"Suma Back\":\"8000\",\"Categorie Serviciu\":\"Cet.MD\",\"google_folder_id_leads_field\":\"1Pn1yHe8NH-PbRIwiKtaGZdRw5wH0EjcI\",\"google_folder_link_leads_field\":\"https:\\/\\/drive.google.com\\/drive\\/folders\\/1Pn1yHe8NH-PbRIwiKtaGZdRw5wH0EjcI\",\"Ceta\\u021benia RM\":\"Cet pe baza parinti bunei\",\"Reac\\u021bia clientului la pre\\u021b\":\"Clientul este interesat \\u0219i este preg\\u0103tit financiar\",\"Data consulta\\u021biei\":\"04.07.2022\",\"Luna trec in Front\":\"04.07.2022\",\"Data contractului\":\"04.07.2022\",\"Numar Contract\":\"34682582\",\"Compania\":\"EMG Consulting Group SRL\",\"Termen perfectare\":\"04.01.2023\",\"Avans\":\"4090\",\"Cont\":\"\\u0410\\u041b\\u042c\\u0424\\u0410 \\u0411\\u0410\\u041d\\u041a.                                 \\u041d\\u043e\\u043c\\u0435\\u0440 \\u043a\\u0430\\u0440\\u0442\\u044b 5559 5720 5487 6083 +79857493467.                              \\u041d\\u043e\\u043c\\u0435\\u0440 \\u0441\\u0447\\u0435\\u0442\\u0430 40820810804170001481 \\u041f\\u043e\\u043b\\u0443\\u0447\\u0430\\u0442\\u0435\\u043b\\u044c: \\u041e\\u043a\\u0438\\u043d\\u0447\\u0443\\u043a \\u0412\\u0438\\u043a\\u0442\\u043e\\u0440     \\u0418\\u041d\\u041d \\u0431\\u0430\\u043d\\u043a\\u0430 \\u043f\\u043e\\u043b\\u0443\\u0447\\u0430\\u0442\\u0435\\u043b\\u044f: 7728168971 \\u041a\\u043e\\u0440\\u0440. \\u0441\\u0447\\u0435\\u0442: 30101810200000000593 \\u0411\\u0430\\u043d\\u043a: \\u0410\\u041e \\u00ab\\u0410\\u043b\\u044c\\u0444\\u0430-\\u0411\\u0430\\u043d\\u043a\\u00bb, \\u0433. \\u041c\\u043e\\u0441\\u043a\\u0432\\u0430 \\u041a\\u041f\\u041f \\u0431\\u0430\\u043d\\u043a\\u0430 \\u043f\\u043e\\u043b\\u0443\\u0447\\u0430\\u0442\\u0435\\u043b\\u044f: 770801001 \\u0411\\u0418\\u041a: 044525593\",\"Termen intermediar\":\"20.06.2022\",\"Suma contract\":\"8180\",\"Data avans\":\"04.07.2022\",\"Luna trec producere\":\"16.08.2022\",\"Link tranzac\\u021bia front\":\"https:\\/\\/emigrare.amocrm.ru\\/leads\\/detail\\/34682582\",\"Manager front office\":\"Capanji Igor\",\"Etapa curenta\":\"Proces producere\",\"Palnia Curenta\":\"Work Cetatenie Romana\",\"Suma \\u20ac\":\"0\",\"ID\":\"34682582\",\"\\u0421\\u0434\\u0435\\u043b\\u043a\\u0430_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Cet. MD (+ Gennadii Iavorskii)\",\"Lead_name\":\"Cet. MD (+ Gennadii Iavorskii)\",\"\\u0411\\u044e\\u0434\\u0436\\u0435\\u0442\":\"8180\",\"Budget\":\"8180\",\"\\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\":{\"Cet\\u0103\\u021benie de\\u021binut\\u0103\":\"RM\",\"Cum Comunicam\":\"Telegram\",\"Limba vorbita\":\"Rusa\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"79200605540\",\"Email\":\"y@yavorsky.biz\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Iurii Iavorschi\",\"Contact_name\":\"Iurii Iavorschi\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"Capanji Igor\",\"Responsible\":\"Capanji Igor\"},\"contact\":{\"Cet\\u0103\\u021benie de\\u021binut\\u0103\":\"RM\",\"Cum Comunicam\":\"Telegram\",\"Limba vorbita\":\"Rusa\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"79200605540\",\"Email\":\"y@yavorsky.biz\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Iurii Iavorschi\",\"Contact_name\":\"Iurii Iavorschi\",\"\\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\":[{\"Cet\\u0103\\u021benie de\\u021binut\\u0103\":\"RM\",\"Cum Comunicam\":\"Telegram\",\"Limba vorbita\":\"Rusa\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"79200605540\",\"Email\":\"y@yavorsky.biz\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Iurii Iavorschi\",\"\\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\":\"13.10.2026\",\"\\u041d\\u043e\\u043c\\u0435\\u0440\":\"719\"},\"document\":{\"Date\":\"13.10.2026\",\"Number\":\"719\"}}}","edit":true}} {"uid":"7ea0838"}
[2026-10-13 12:22:13] docflow.DEBUG: GAS raw response {"raw":"[object] (stdClass: {\"code\":1,\"url\":\"https://docs.google.com/open?id=1Cpv-RyC9DN0jPvvCchihwFJs1g4rZAQtyFBDhtUwv4A\",\"file_id\":\"1Cpv-RyC9DN0jPvvCchihwFJs1g4rZAQtyFBDhtUwv4A\",\"error\":\"\",\"vars\":\"\"})"} {"uid":"7ea0838"}
[2026-10-13 12:22:13] docflow.WARNING: AmoDrive generated-file move is not ready. {"fileId":"1Cpv-RyC9DN0jPvvCchihwFJs1g4rZAQtyFBDhtUwv4A","context":null} {"uid":"7ea0838"}
[2026-10-13 12:22:42] docflow.INFO: Apel createDoc {"data":{"amoAccountId":"22699852","amoUserId":null,"amoEntityId":"34682582","amoEntityType":"2","templateId":"11527","corporateEntityId":"","settlementAccountId":"","is_signed":null,"gdi":null,"number":null,"currentAmoUserId":null,"lang":"ru"}} {"uid":"ca18eab"}
[2026-10-13 12:22:42] docflow.INFO: Token is valid for account 22699852. [] {"uid":"ca18eab"}
[2026-10-13 12:22:42] docflow.DEBUG: getClientAuth returned {"auth":"[object] (stdClass: {\"domain\":\"emigrare.amocrm.ru\",\"access_token\":\"eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImp0aSI6IjA5Zjk3NjIwZWVhZDQ5MTk1YzAzMjExYWQzZWMwNWFmODMzOTAyYzkwNDUxYThhMDRlNWI2NGZhZTg5ODk0NGM0NzIxZWFiYTAwYWRmNGY1In0.eyJhdWQiOiIwZDY0ZGZmYi1lNTRiLTQ0OGYtOWZiZi1iYWYyMjUxYTExZGIiLCJqdGkiOiIwOWY5NzYyMGVlYWQ0OTE5NWMwMzIxMWFkM2VjMDVhZjgzMzkwMmM5MDQ1MWE4YTA0ZTViNjRmYWU4OTg5NDRjNDcyMWVhYmEwMGFkZjRmNSIsImlhdCI6MTc5MTg3NTcxNCwibmJmIjoxNzkxODc1NzE0LCJleHAiOjE3OTE5NjIxMTQsInN1YiI6IjI5MzAzODAiLCJncmFudF90eXBlIjoiIiwiYWNjb3VudF9pZCI6MjI2OTk4NTIsImJhc2VfZG9tYWluIjoiYW1vY3JtLnJ1IiwidmVyc2lvbiI6Miwic2NvcGVzIjpbInB1c2hfbm90aWZpY2F0aW9ucyIsImNybSIsIm5vdGlmaWNhdGlvbnMiXSwiaGFzaF91dWlkIjoiZjhhNDRkOTgtMTRlNS00OTcxLTllMGEtNTRhZDY5OGQyYmQ4IiwiYXBpX2RvbWFpbiI6ImFwaS1hLmFtb2NybS5ydSJ9.NBJbkjpQVkql6RIh0lb5_KN4a3HryxJWNmjqTpgN1z5_38BKNZZYuaLC3jSuifBhZ1bpvGNOvdij0i0pQgyxhOaT9bZBjt_vLr-92V395z4ycsTFsK62KSDyZ-lAic98RxsqiX1xzPrdIi7NEXKX9Ls1ZHz0dwCgMJC2czZsigpjSEG0ErTZNdfsZrz00lM5F7cYbWP1m6JO78QBQJmrF_fRwFLiWGm9epjs7WmHTq4gO0Ski6-09ZTgjUIdj0zk6kP0vuWPHu9bZb8EP2IglQ0UjVN2AuacD9jBZvwt8Z6Q3TPnOEJaD0MJgiSlBcFs7wQ2ueorh3T8wV5cwy3VIA\"})","file":"/home/ytvmclwh/document.amocrm.md/src/Models/Docs.php","line":121} {"uid":"ca18eab"}
[2026-10-13 12:22:45] docflow.DEBUG: AmoDrive docflow context request {"url":"https://google.emale.uno/api/docflow/google-context","query":{"account_id":"22699852","entity_id":"34682582","entity_type":"leads"}} {"uid":"ca18eab"}
[2026-10-13 12:22:45] docflow.WARNING: AmoDrive docflow context request failed {"url":"https://google.emale.uno/api/docflow/google-context","http_code":null,"error":"HTTP/2 400 ","response":"<!DOCTYPE HTML PUBLIC \"-//IETF//DTD HTML 2.0//EN\">\r\n<html>\r\n<head><title>400 Bad Request</title></head>\r\n<body>\r\n<center><h1>400 Bad Request</h1></center>\r\n Sorry for the inconvenience.<br/>\r\nPlease report this message and include the following information to us.<br/>\r\nThank you very much!</p>\r\n<table>\r\n<tr>\r\n<td>URL:</td>\r\n<td>https://gd.glucose-dev.online/api/docflow/google-context?account_id=22699852&amp;entity_id=34682582&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/13 12:22:45</td>\r\n</tr>\r\n</table>\r\n<hr><center>tengine</center>\r\n</body>\r\n</html>\r\n"} {"uid":"ca18eab"}
[2026-10-13 12:22:45] docflow.DEBUG: AmoDrive docflow context request {"url":"https://gd.glucose-dev.online/api/docflow/google-context","query":{"account_id":"22699852","entity_id":"34682582","entity_type":"leads"}} {"uid":"ca18eab"}
[2026-10-13 12:22:45] docflow.WARNING: AmoDrive docflow context response is not ready, trying next backend. {"url":"https://gd.glucose-dev.online/api/docflow/google-context","payload":{"ok":true,"accountId":22699852,"entityId":"34682582","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":312,"isLifetime":false},"licenseActive":false,"googleConnected":false,"googleEmail":null,"googleHasDriveScope":false,"googleHasDriveFileScope":false,"googleHasOwnershipScope":false,"readyForGeneratedFileMove":false,"readyForTransfer":false},"folder":{"id":"1Pn1yHe8NH-PbRIwiKtaGZdRw5wH0EjcI","name":"cet.md","webViewLink":"https://drive.google.com/drive/folders/1Pn1yHe8NH-PbRIwiKtaGZdRw5wH0EjcI"}}} {"uid":"ca18eab"}
[2026-10-13 12:22:45] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://google.emale.uno/api/docflow/prepare-generated-doc","payload":{"account_id":"22699852","entity_id":"34682582","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"ca18eab"}
[2026-10-13 12:22: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/13 12:22:45</td>\r\n</tr>\r\n</table>\r\n<hr><center>tengine</center>\r\n</body>\r\n</html>\r\n","payload":{"account_id":"22699852","entity_id":"34682582","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"ca18eab"}
[2026-10-13 12:22:45] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://gd.glucose-dev.online/api/docflow/prepare-generated-doc","payload":{"account_id":"22699852","entity_id":"34682582","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"ca18eab"}
[2026-10-13 12:22:45] docflow.WARNING: AmoDrive prepare-generated-doc request failed {"url":"https://gd.glucose-dev.online/api/docflow/prepare-generated-doc","http_code":null,"error":"HTTP/2 404 ","response":"[object] (stdClass: {\"ok\":false,\"error\":\"AmoDrive is not installed for this account.\",\"accountId\":22699852})","payload":{"account_id":"22699852","entity_id":"34682582","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"ca18eab"}
[2026-10-13 12:22:45] 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) 172 20261013122245\",\"leadId\":\"34682582\",\"entities\":{\"\\u0441\\u0434\\u0435\\u043b\\u043a\\u0430\":{\"Brand\":\"Emigrare.md\",\"Luna crearii Tranzactiei back\":\"29.06.2022\",\"Suma Back\":\"8000\",\"Categorie Serviciu\":\"Cet.MD\",\"google_folder_id_leads_field\":\"1Pn1yHe8NH-PbRIwiKtaGZdRw5wH0EjcI\",\"google_folder_link_leads_field\":\"https:\\/\\/drive.google.com\\/drive\\/folders\\/1Pn1yHe8NH-PbRIwiKtaGZdRw5wH0EjcI\",\"Ceta\\u021benia RM\":\"Cet pe baza parinti bunei\",\"Reac\\u021bia clientului la pre\\u021b\":\"Clientul este interesat \\u0219i este preg\\u0103tit financiar\",\"Data consulta\\u021biei\":\"04.07.2022\",\"Luna trec in Front\":\"04.07.2022\",\"Data contractului\":\"04.07.2022\",\"Numar Contract\":\"34682582\",\"Compania\":\"EMG Consulting Group SRL\",\"Termen perfectare\":\"04.01.2023\",\"Avans\":\"4090\",\"Cont\":\"\\u0410\\u041b\\u042c\\u0424\\u0410 \\u0411\\u0410\\u041d\\u041a.                                 \\u041d\\u043e\\u043c\\u0435\\u0440 \\u043a\\u0430\\u0440\\u0442\\u044b 5559 5720 5487 6083 +79857493467.                              \\u041d\\u043e\\u043c\\u0435\\u0440 \\u0441\\u0447\\u0435\\u0442\\u0430 40820810804170001481 \\u041f\\u043e\\u043b\\u0443\\u0447\\u0430\\u0442\\u0435\\u043b\\u044c: \\u041e\\u043a\\u0438\\u043d\\u0447\\u0443\\u043a \\u0412\\u0438\\u043a\\u0442\\u043e\\u0440     \\u0418\\u041d\\u041d \\u0431\\u0430\\u043d\\u043a\\u0430 \\u043f\\u043e\\u043b\\u0443\\u0447\\u0430\\u0442\\u0435\\u043b\\u044f: 7728168971 \\u041a\\u043e\\u0440\\u0440. \\u0441\\u0447\\u0435\\u0442: 30101810200000000593 \\u0411\\u0430\\u043d\\u043a: \\u0410\\u041e \\u00ab\\u0410\\u043b\\u044c\\u0444\\u0430-\\u0411\\u0430\\u043d\\u043a\\u00bb, \\u0433. \\u041c\\u043e\\u0441\\u043a\\u0432\\u0430 \\u041a\\u041f\\u041f \\u0431\\u0430\\u043d\\u043a\\u0430 \\u043f\\u043e\\u043b\\u0443\\u0447\\u0430\\u0442\\u0435\\u043b\\u044f: 770801001 \\u0411\\u0418\\u041a: 044525593\",\"Termen intermediar\":\"20.06.2022\",\"Suma contract\":\"8180\",\"Data avans\":\"04.07.2022\",\"Luna trec producere\":\"16.08.2022\",\"Link tranzac\\u021bia front\":\"https:\\/\\/emigrare.amocrm.ru\\/leads\\/detail\\/34682582\",\"Manager front office\":\"Capanji Igor\",\"Etapa curenta\":\"Proces producere\",\"Palnia Curenta\":\"Work Cetatenie Romana\",\"Suma \\u20ac\":\"0\",\"ID\":\"34682582\",\"\\u0421\\u0434\\u0435\\u043b\\u043a\\u0430_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Cet. MD (+ Gennadii Iavorskii)\",\"Lead_name\":\"Cet. MD (+ Gennadii Iavorskii)\",\"\\u0411\\u044e\\u0434\\u0436\\u0435\\u0442\":\"8180\",\"Budget\":\"8180\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"Cre\\u021bu Veronica\",\"Responsible\":\"Cre\\u021bu Veronica\"},\"lead\":{\"Brand\":\"Emigrare.md\",\"Luna crearii Tranzactiei back\":\"29.06.2022\",\"Suma Back\":\"8000\",\"Categorie Serviciu\":\"Cet.MD\",\"google_folder_id_leads_field\":\"1Pn1yHe8NH-PbRIwiKtaGZdRw5wH0EjcI\",\"google_folder_link_leads_field\":\"https:\\/\\/drive.google.com\\/drive\\/folders\\/1Pn1yHe8NH-PbRIwiKtaGZdRw5wH0EjcI\",\"Ceta\\u021benia RM\":\"Cet pe baza parinti bunei\",\"Reac\\u021bia clientului la pre\\u021b\":\"Clientul este interesat \\u0219i este preg\\u0103tit financiar\",\"Data consulta\\u021biei\":\"04.07.2022\",\"Luna trec in Front\":\"04.07.2022\",\"Data contractului\":\"04.07.2022\",\"Numar Contract\":\"34682582\",\"Compania\":\"EMG Consulting Group SRL\",\"Termen perfectare\":\"04.01.2023\",\"Avans\":\"4090\",\"Cont\":\"\\u0410\\u041b\\u042c\\u0424\\u0410 \\u0411\\u0410\\u041d\\u041a.                                 \\u041d\\u043e\\u043c\\u0435\\u0440 \\u043a\\u0430\\u0440\\u0442\\u044b 5559 5720 5487 6083 +79857493467.                              \\u041d\\u043e\\u043c\\u0435\\u0440 \\u0441\\u0447\\u0435\\u0442\\u0430 40820810804170001481 \\u041f\\u043e\\u043b\\u0443\\u0447\\u0430\\u0442\\u0435\\u043b\\u044c: \\u041e\\u043a\\u0438\\u043d\\u0447\\u0443\\u043a \\u0412\\u0438\\u043a\\u0442\\u043e\\u0440     \\u0418\\u041d\\u041d \\u0431\\u0430\\u043d\\u043a\\u0430 \\u043f\\u043e\\u043b\\u0443\\u0447\\u0430\\u0442\\u0435\\u043b\\u044f: 7728168971 \\u041a\\u043e\\u0440\\u0440. \\u0441\\u0447\\u0435\\u0442: 30101810200000000593 \\u0411\\u0430\\u043d\\u043a: \\u0410\\u041e \\u00ab\\u0410\\u043b\\u044c\\u0444\\u0430-\\u0411\\u0430\\u043d\\u043a\\u00bb, \\u0433. \\u041c\\u043e\\u0441\\u043a\\u0432\\u0430 \\u041a\\u041f\\u041f \\u0431\\u0430\\u043d\\u043a\\u0430 \\u043f\\u043e\\u043b\\u0443\\u0447\\u0430\\u0442\\u0435\\u043b\\u044f: 770801001 \\u0411\\u0418\\u041a: 044525593\",\"Termen intermediar\":\"20.06.2022\",\"Suma contract\":\"8180\",\"Data avans\":\"04.07.2022\",\"Luna trec producere\":\"16.08.2022\",\"Link tranzac\\u021bia front\":\"https:\\/\\/emigrare.amocrm.ru\\/leads\\/detail\\/34682582\",\"Manager front office\":\"Capanji Igor\",\"Etapa curenta\":\"Proces producere\",\"Palnia Curenta\":\"Work Cetatenie Romana\",\"Suma \\u20ac\":\"0\",\"ID\":\"34682582\",\"\\u0421\\u0434\\u0435\\u043b\\u043a\\u0430_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Cet. MD (+ Gennadii Iavorskii)\",\"Lead_name\":\"Cet. MD (+ Gennadii Iavorskii)\",\"\\u0411\\u044e\\u0434\\u0436\\u0435\\u0442\":\"8180\",\"Budget\":\"8180\",\"\\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\":{\"Cet\\u0103\\u021benie de\\u021binut\\u0103\":\"RM\",\"Cum Comunicam\":\"Telegram\",\"Limba vorbita\":\"Rusa\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"79200605540\",\"Email\":\"y@yavorsky.biz\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Iurii Iavorschi\",\"Contact_name\":\"Iurii Iavorschi\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"Capanji Igor\",\"Responsible\":\"Capanji Igor\"},\"contact\":{\"Cet\\u0103\\u021benie de\\u021binut\\u0103\":\"RM\",\"Cum Comunicam\":\"Telegram\",\"Limba vorbita\":\"Rusa\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"79200605540\",\"Email\":\"y@yavorsky.biz\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Iurii Iavorschi\",\"Contact_name\":\"Iurii Iavorschi\",\"\\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\":[{\"Cet\\u0103\\u021benie de\\u021binut\\u0103\":\"RM\",\"Cum Comunicam\":\"Telegram\",\"Limba vorbita\":\"Rusa\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"79200605540\",\"Email\":\"y@yavorsky.biz\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Iurii Iavorschi\",\"\\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\":\"13.10.2026\",\"\\u041d\\u043e\\u043c\\u0435\\u0440\":\"172\"},\"document\":{\"Date\":\"13.10.2026\",\"Number\":\"172\"}}}","edit":true}} {"uid":"ca18eab"}
[2026-10-13 12:22:51] docflow.DEBUG: GAS raw response {"raw":"[object] (stdClass: {\"code\":1,\"url\":\"https://docs.google.com/open?id=12_BOD8AOevY5esxUsbH-OAjnNtYvrwvgrMbNyOziAww\",\"file_id\":\"12_BOD8AOevY5esxUsbH-OAjnNtYvrwvgrMbNyOziAww\",\"error\":\"\",\"vars\":\"\"})"} {"uid":"ca18eab"}
[2026-10-13 12:22:51] docflow.WARNING: AmoDrive generated-file move is not ready. {"fileId":"12_BOD8AOevY5esxUsbH-OAjnNtYvrwvgrMbNyOziAww","context":null} {"uid":"ca18eab"}
[2026-10-13 12:23:25] docflow.INFO: Apel createDoc {"data":{"amoAccountId":"22699852","amoUserId":null,"amoEntityId":"34682582","amoEntityType":"2","templateId":"11500","corporateEntityId":"","settlementAccountId":"","is_signed":null,"gdi":null,"number":null,"currentAmoUserId":null,"lang":"ru"}} {"uid":"4be9f08"}
[2026-10-13 12:23:25] docflow.INFO: Token is valid for account 22699852. [] {"uid":"4be9f08"}
[2026-10-13 12:23:25] docflow.DEBUG: getClientAuth returned {"auth":"[object] (stdClass: {\"domain\":\"emigrare.amocrm.ru\",\"access_token\":\"eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImp0aSI6IjA5Zjk3NjIwZWVhZDQ5MTk1YzAzMjExYWQzZWMwNWFmODMzOTAyYzkwNDUxYThhMDRlNWI2NGZhZTg5ODk0NGM0NzIxZWFiYTAwYWRmNGY1In0.eyJhdWQiOiIwZDY0ZGZmYi1lNTRiLTQ0OGYtOWZiZi1iYWYyMjUxYTExZGIiLCJqdGkiOiIwOWY5NzYyMGVlYWQ0OTE5NWMwMzIxMWFkM2VjMDVhZjgzMzkwMmM5MDQ1MWE4YTA0ZTViNjRmYWU4OTg5NDRjNDcyMWVhYmEwMGFkZjRmNSIsImlhdCI6MTc5MTg3NTcxNCwibmJmIjoxNzkxODc1NzE0LCJleHAiOjE3OTE5NjIxMTQsInN1YiI6IjI5MzAzODAiLCJncmFudF90eXBlIjoiIiwiYWNjb3VudF9pZCI6MjI2OTk4NTIsImJhc2VfZG9tYWluIjoiYW1vY3JtLnJ1IiwidmVyc2lvbiI6Miwic2NvcGVzIjpbInB1c2hfbm90aWZpY2F0aW9ucyIsImNybSIsIm5vdGlmaWNhdGlvbnMiXSwiaGFzaF91dWlkIjoiZjhhNDRkOTgtMTRlNS00OTcxLTllMGEtNTRhZDY5OGQyYmQ4IiwiYXBpX2RvbWFpbiI6ImFwaS1hLmFtb2NybS5ydSJ9.NBJbkjpQVkql6RIh0lb5_KN4a3HryxJWNmjqTpgN1z5_38BKNZZYuaLC3jSuifBhZ1bpvGNOvdij0i0pQgyxhOaT9bZBjt_vLr-92V395z4ycsTFsK62KSDyZ-lAic98RxsqiX1xzPrdIi7NEXKX9Ls1ZHz0dwCgMJC2czZsigpjSEG0ErTZNdfsZrz00lM5F7cYbWP1m6JO78QBQJmrF_fRwFLiWGm9epjs7WmHTq4gO0Ski6-09ZTgjUIdj0zk6kP0vuWPHu9bZb8EP2IglQ0UjVN2AuacD9jBZvwt8Z6Q3TPnOEJaD0MJgiSlBcFs7wQ2ueorh3T8wV5cwy3VIA\"})","file":"/home/ytvmclwh/document.amocrm.md/src/Models/Docs.php","line":121} {"uid":"4be9f08"}
[2026-10-13 12:23:27] docflow.DEBUG: AmoDrive docflow context request {"url":"https://google.emale.uno/api/docflow/google-context","query":{"account_id":"22699852","entity_id":"34682582","entity_type":"leads"}} {"uid":"4be9f08"}
[2026-10-13 12:23: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=34682582&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/13 12:23:27</td>\r\n</tr>\r\n</table>\r\n<hr><center>tengine</center>\r\n</body>\r\n</html>\r\n"} {"uid":"4be9f08"}
[2026-10-13 12:23:27] docflow.DEBUG: AmoDrive docflow context request {"url":"https://gd.glucose-dev.online/api/docflow/google-context","query":{"account_id":"22699852","entity_id":"34682582","entity_type":"leads"}} {"uid":"4be9f08"}
[2026-10-13 12:23: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":"34682582","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":312,"isLifetime":false},"licenseActive":false,"googleConnected":false,"googleEmail":null,"googleHasDriveScope":false,"googleHasDriveFileScope":false,"googleHasOwnershipScope":false,"readyForGeneratedFileMove":false,"readyForTransfer":false},"folder":{"id":"1Pn1yHe8NH-PbRIwiKtaGZdRw5wH0EjcI","name":"cet.md","webViewLink":"https://drive.google.com/drive/folders/1Pn1yHe8NH-PbRIwiKtaGZdRw5wH0EjcI"}}} {"uid":"4be9f08"}
[2026-10-13 12:23:27] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://google.emale.uno/api/docflow/prepare-generated-doc","payload":{"account_id":"22699852","entity_id":"34682582","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"4be9f08"}
[2026-10-13 12:23: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/13 12:23: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":"34682582","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"4be9f08"}
[2026-10-13 12:23: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":"34682582","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"4be9f08"}
[2026-10-13 12:23: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":"34682582","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"4be9f08"}
[2026-10-13 12:23:27] 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 716 20261013122327\",\"leadId\":\"34682582\",\"entities\":{\"\\u0441\\u0434\\u0435\\u043b\\u043a\\u0430\":{\"Brand\":\"Emigrare.md\",\"Luna crearii Tranzactiei back\":\"29.06.2022\",\"Suma Back\":\"8000\",\"Categorie Serviciu\":\"Cet.MD\",\"google_folder_id_leads_field\":\"1Pn1yHe8NH-PbRIwiKtaGZdRw5wH0EjcI\",\"google_folder_link_leads_field\":\"https:\\/\\/drive.google.com\\/drive\\/folders\\/1Pn1yHe8NH-PbRIwiKtaGZdRw5wH0EjcI\",\"Ceta\\u021benia RM\":\"Cet pe baza parinti bunei\",\"Reac\\u021bia clientului la pre\\u021b\":\"Clientul este interesat \\u0219i este preg\\u0103tit financiar\",\"Data consulta\\u021biei\":\"04.07.2022\",\"Luna trec in Front\":\"04.07.2022\",\"Data contractului\":\"04.07.2022\",\"Numar Contract\":\"34682582\",\"Compania\":\"EMG Consulting Group SRL\",\"Termen perfectare\":\"04.01.2023\",\"Avans\":\"4090\",\"Cont\":\"\\u0410\\u041b\\u042c\\u0424\\u0410 \\u0411\\u0410\\u041d\\u041a.                                 \\u041d\\u043e\\u043c\\u0435\\u0440 \\u043a\\u0430\\u0440\\u0442\\u044b 5559 5720 5487 6083 +79857493467.                              \\u041d\\u043e\\u043c\\u0435\\u0440 \\u0441\\u0447\\u0435\\u0442\\u0430 40820810804170001481 \\u041f\\u043e\\u043b\\u0443\\u0447\\u0430\\u0442\\u0435\\u043b\\u044c: \\u041e\\u043a\\u0438\\u043d\\u0447\\u0443\\u043a \\u0412\\u0438\\u043a\\u0442\\u043e\\u0440     \\u0418\\u041d\\u041d \\u0431\\u0430\\u043d\\u043a\\u0430 \\u043f\\u043e\\u043b\\u0443\\u0447\\u0430\\u0442\\u0435\\u043b\\u044f: 7728168971 \\u041a\\u043e\\u0440\\u0440. \\u0441\\u0447\\u0435\\u0442: 30101810200000000593 \\u0411\\u0430\\u043d\\u043a: \\u0410\\u041e \\u00ab\\u0410\\u043b\\u044c\\u0444\\u0430-\\u0411\\u0430\\u043d\\u043a\\u00bb, \\u0433. \\u041c\\u043e\\u0441\\u043a\\u0432\\u0430 \\u041a\\u041f\\u041f \\u0431\\u0430\\u043d\\u043a\\u0430 \\u043f\\u043e\\u043b\\u0443\\u0447\\u0430\\u0442\\u0435\\u043b\\u044f: 770801001 \\u0411\\u0418\\u041a: 044525593\",\"Termen intermediar\":\"20.06.2022\",\"Suma contract\":\"8180\",\"Data avans\":\"04.07.2022\",\"Luna trec producere\":\"16.08.2022\",\"Link tranzac\\u021bia front\":\"https:\\/\\/emigrare.amocrm.ru\\/leads\\/detail\\/34682582\",\"Manager front office\":\"Capanji Igor\",\"Etapa curenta\":\"Proces producere\",\"Palnia Curenta\":\"Work Cetatenie Romana\",\"Suma \\u20ac\":\"0\",\"ID\":\"34682582\",\"\\u0421\\u0434\\u0435\\u043b\\u043a\\u0430_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Cet. MD (+ Gennadii Iavorskii)\",\"Lead_name\":\"Cet. MD (+ Gennadii Iavorskii)\",\"\\u0411\\u044e\\u0434\\u0436\\u0435\\u0442\":\"8180\",\"Budget\":\"8180\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"Cre\\u021bu Veronica\",\"Responsible\":\"Cre\\u021bu Veronica\"},\"lead\":{\"Brand\":\"Emigrare.md\",\"Luna crearii Tranzactiei back\":\"29.06.2022\",\"Suma Back\":\"8000\",\"Categorie Serviciu\":\"Cet.MD\",\"google_folder_id_leads_field\":\"1Pn1yHe8NH-PbRIwiKtaGZdRw5wH0EjcI\",\"google_folder_link_leads_field\":\"https:\\/\\/drive.google.com\\/drive\\/folders\\/1Pn1yHe8NH-PbRIwiKtaGZdRw5wH0EjcI\",\"Ceta\\u021benia RM\":\"Cet pe baza parinti bunei\",\"Reac\\u021bia clientului la pre\\u021b\":\"Clientul este interesat \\u0219i este preg\\u0103tit financiar\",\"Data consulta\\u021biei\":\"04.07.2022\",\"Luna trec in Front\":\"04.07.2022\",\"Data contractului\":\"04.07.2022\",\"Numar Contract\":\"34682582\",\"Compania\":\"EMG Consulting Group SRL\",\"Termen perfectare\":\"04.01.2023\",\"Avans\":\"4090\",\"Cont\":\"\\u0410\\u041b\\u042c\\u0424\\u0410 \\u0411\\u0410\\u041d\\u041a.                                 \\u041d\\u043e\\u043c\\u0435\\u0440 \\u043a\\u0430\\u0440\\u0442\\u044b 5559 5720 5487 6083 +79857493467.                              \\u041d\\u043e\\u043c\\u0435\\u0440 \\u0441\\u0447\\u0435\\u0442\\u0430 40820810804170001481 \\u041f\\u043e\\u043b\\u0443\\u0447\\u0430\\u0442\\u0435\\u043b\\u044c: \\u041e\\u043a\\u0438\\u043d\\u0447\\u0443\\u043a \\u0412\\u0438\\u043a\\u0442\\u043e\\u0440     \\u0418\\u041d\\u041d \\u0431\\u0430\\u043d\\u043a\\u0430 \\u043f\\u043e\\u043b\\u0443\\u0447\\u0430\\u0442\\u0435\\u043b\\u044f: 7728168971 \\u041a\\u043e\\u0440\\u0440. \\u0441\\u0447\\u0435\\u0442: 30101810200000000593 \\u0411\\u0430\\u043d\\u043a: \\u0410\\u041e \\u00ab\\u0410\\u043b\\u044c\\u0444\\u0430-\\u0411\\u0430\\u043d\\u043a\\u00bb, \\u0433. \\u041c\\u043e\\u0441\\u043a\\u0432\\u0430 \\u041a\\u041f\\u041f \\u0431\\u0430\\u043d\\u043a\\u0430 \\u043f\\u043e\\u043b\\u0443\\u0447\\u0430\\u0442\\u0435\\u043b\\u044f: 770801001 \\u0411\\u0418\\u041a: 044525593\",\"Termen intermediar\":\"20.06.2022\",\"Suma contract\":\"8180\",\"Data avans\":\"04.07.2022\",\"Luna trec producere\":\"16.08.2022\",\"Link tranzac\\u021bia front\":\"https:\\/\\/emigrare.amocrm.ru\\/leads\\/detail\\/34682582\",\"Manager front office\":\"Capanji Igor\",\"Etapa curenta\":\"Proces producere\",\"Palnia Curenta\":\"Work Cetatenie Romana\",\"Suma \\u20ac\":\"0\",\"ID\":\"34682582\",\"\\u0421\\u0434\\u0435\\u043b\\u043a\\u0430_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Cet. MD (+ Gennadii Iavorskii)\",\"Lead_name\":\"Cet. MD (+ Gennadii Iavorskii)\",\"\\u0411\\u044e\\u0434\\u0436\\u0435\\u0442\":\"8180\",\"Budget\":\"8180\",\"\\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\":{\"Cet\\u0103\\u021benie de\\u021binut\\u0103\":\"RM\",\"Cum Comunicam\":\"Telegram\",\"Limba vorbita\":\"Rusa\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"79200605540\",\"Email\":\"y@yavorsky.biz\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Iurii Iavorschi\",\"Contact_name\":\"Iurii Iavorschi\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"Capanji Igor\",\"Responsible\":\"Capanji Igor\"},\"contact\":{\"Cet\\u0103\\u021benie de\\u021binut\\u0103\":\"RM\",\"Cum Comunicam\":\"Telegram\",\"Limba vorbita\":\"Rusa\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"79200605540\",\"Email\":\"y@yavorsky.biz\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Iurii Iavorschi\",\"Contact_name\":\"Iurii Iavorschi\",\"\\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\":[{\"Cet\\u0103\\u021benie de\\u021binut\\u0103\":\"RM\",\"Cum Comunicam\":\"Telegram\",\"Limba vorbita\":\"Rusa\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"79200605540\",\"Email\":\"y@yavorsky.biz\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Iurii Iavorschi\",\"\\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\":\"13.10.2026\",\"\\u041d\\u043e\\u043c\\u0435\\u0440\":\"716\"},\"document\":{\"Date\":\"13.10.2026\",\"Number\":\"716\"}}}","edit":true}} {"uid":"4be9f08"}
[2026-10-13 12:23:34] docflow.DEBUG: GAS raw response {"raw":"[object] (stdClass: {\"code\":1,\"url\":\"https://docs.google.com/open?id=1IfHjzRvfjmvgvktlT33SqnUYVixrvmhjDgLoBJy8m7M\",\"file_id\":\"1IfHjzRvfjmvgvktlT33SqnUYVixrvmhjDgLoBJy8m7M\",\"error\":\"\",\"vars\":\"\"})"} {"uid":"4be9f08"}
[2026-10-13 12:23:34] docflow.WARNING: AmoDrive generated-file move is not ready. {"fileId":"1IfHjzRvfjmvgvktlT33SqnUYVixrvmhjDgLoBJy8m7M","context":null} {"uid":"4be9f08"}
[2026-10-13 12:37:42] docflow.INFO: Apel createDoc {"data":{"amoAccountId":"22699852","amoUserId":null,"amoEntityId":"34682582","amoEntityType":"2","templateId":"11515","corporateEntityId":"","settlementAccountId":"","is_signed":null,"gdi":null,"number":null,"currentAmoUserId":null,"lang":"ru"}} {"uid":"a03fd42"}
[2026-10-13 12:37:42] docflow.INFO: Token is valid for account 22699852. [] {"uid":"a03fd42"}
[2026-10-13 12:37:42] docflow.DEBUG: getClientAuth returned {"auth":"[object] (stdClass: {\"domain\":\"emigrare.amocrm.ru\",\"access_token\":\"eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImp0aSI6IjA5Zjk3NjIwZWVhZDQ5MTk1YzAzMjExYWQzZWMwNWFmODMzOTAyYzkwNDUxYThhMDRlNWI2NGZhZTg5ODk0NGM0NzIxZWFiYTAwYWRmNGY1In0.eyJhdWQiOiIwZDY0ZGZmYi1lNTRiLTQ0OGYtOWZiZi1iYWYyMjUxYTExZGIiLCJqdGkiOiIwOWY5NzYyMGVlYWQ0OTE5NWMwMzIxMWFkM2VjMDVhZjgzMzkwMmM5MDQ1MWE4YTA0ZTViNjRmYWU4OTg5NDRjNDcyMWVhYmEwMGFkZjRmNSIsImlhdCI6MTc5MTg3NTcxNCwibmJmIjoxNzkxODc1NzE0LCJleHAiOjE3OTE5NjIxMTQsInN1YiI6IjI5MzAzODAiLCJncmFudF90eXBlIjoiIiwiYWNjb3VudF9pZCI6MjI2OTk4NTIsImJhc2VfZG9tYWluIjoiYW1vY3JtLnJ1IiwidmVyc2lvbiI6Miwic2NvcGVzIjpbInB1c2hfbm90aWZpY2F0aW9ucyIsImNybSIsIm5vdGlmaWNhdGlvbnMiXSwiaGFzaF91dWlkIjoiZjhhNDRkOTgtMTRlNS00OTcxLTllMGEtNTRhZDY5OGQyYmQ4IiwiYXBpX2RvbWFpbiI6ImFwaS1hLmFtb2NybS5ydSJ9.NBJbkjpQVkql6RIh0lb5_KN4a3HryxJWNmjqTpgN1z5_38BKNZZYuaLC3jSuifBhZ1bpvGNOvdij0i0pQgyxhOaT9bZBjt_vLr-92V395z4ycsTFsK62KSDyZ-lAic98RxsqiX1xzPrdIi7NEXKX9Ls1ZHz0dwCgMJC2czZsigpjSEG0ErTZNdfsZrz00lM5F7cYbWP1m6JO78QBQJmrF_fRwFLiWGm9epjs7WmHTq4gO0Ski6-09ZTgjUIdj0zk6kP0vuWPHu9bZb8EP2IglQ0UjVN2AuacD9jBZvwt8Z6Q3TPnOEJaD0MJgiSlBcFs7wQ2ueorh3T8wV5cwy3VIA\"})","file":"/home/ytvmclwh/document.amocrm.md/src/Models/Docs.php","line":121} {"uid":"a03fd42"}
[2026-10-13 12:37:45] docflow.DEBUG: AmoDrive docflow context request {"url":"https://google.emale.uno/api/docflow/google-context","query":{"account_id":"22699852","entity_id":"34682582","entity_type":"leads"}} {"uid":"a03fd42"}
[2026-10-13 12:37:45] docflow.WARNING: AmoDrive docflow context request failed {"url":"https://google.emale.uno/api/docflow/google-context","http_code":null,"error":"HTTP/2 400 ","response":"<!DOCTYPE HTML PUBLIC \"-//IETF//DTD HTML 2.0//EN\">\r\n<html>\r\n<head><title>400 Bad Request</title></head>\r\n<body>\r\n<center><h1>400 Bad Request</h1></center>\r\n Sorry for the inconvenience.<br/>\r\nPlease report this message and include the following information to us.<br/>\r\nThank you very much!</p>\r\n<table>\r\n<tr>\r\n<td>URL:</td>\r\n<td>https://gd.glucose-dev.online/api/docflow/google-context?account_id=22699852&amp;entity_id=34682582&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/13 12:37:45</td>\r\n</tr>\r\n</table>\r\n<hr><center>tengine</center>\r\n</body>\r\n</html>\r\n"} {"uid":"a03fd42"}
[2026-10-13 12:37:45] docflow.DEBUG: AmoDrive docflow context request {"url":"https://gd.glucose-dev.online/api/docflow/google-context","query":{"account_id":"22699852","entity_id":"34682582","entity_type":"leads"}} {"uid":"a03fd42"}
[2026-10-13 12:37:45] docflow.WARNING: AmoDrive docflow context response is not ready, trying next backend. {"url":"https://gd.glucose-dev.online/api/docflow/google-context","payload":{"ok":true,"accountId":22699852,"entityId":"34682582","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":312,"isLifetime":false},"licenseActive":false,"googleConnected":false,"googleEmail":null,"googleHasDriveScope":false,"googleHasDriveFileScope":false,"googleHasOwnershipScope":false,"readyForGeneratedFileMove":false,"readyForTransfer":false},"folder":{"id":"1Pn1yHe8NH-PbRIwiKtaGZdRw5wH0EjcI","name":"cet.md","webViewLink":"https://drive.google.com/drive/folders/1Pn1yHe8NH-PbRIwiKtaGZdRw5wH0EjcI"}}} {"uid":"a03fd42"}
[2026-10-13 12:37:45] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://google.emale.uno/api/docflow/prepare-generated-doc","payload":{"account_id":"22699852","entity_id":"34682582","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"a03fd42"}
[2026-10-13 12:37: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/13 12:37:45</td>\r\n</tr>\r\n</table>\r\n<hr><center>tengine</center>\r\n</body>\r\n</html>\r\n","payload":{"account_id":"22699852","entity_id":"34682582","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"a03fd42"}
[2026-10-13 12:37:45] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://gd.glucose-dev.online/api/docflow/prepare-generated-doc","payload":{"account_id":"22699852","entity_id":"34682582","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"a03fd42"}
[2026-10-13 12:37:45] docflow.WARNING: AmoDrive prepare-generated-doc request failed {"url":"https://gd.glucose-dev.online/api/docflow/prepare-generated-doc","http_code":null,"error":"HTTP/2 404 ","response":"[object] (stdClass: {\"ok\":false,\"error\":\"AmoDrive is not installed for this account.\",\"accountId\":22699852})","payload":{"account_id":"22699852","entity_id":"34682582","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"a03fd42"}
[2026-10-13 12:37:45] 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) 1737 20261013123745\",\"leadId\":\"34682582\",\"entities\":{\"\\u0441\\u0434\\u0435\\u043b\\u043a\\u0430\":{\"Brand\":\"Emigrare.md\",\"Luna crearii Tranzactiei back\":\"29.06.2022\",\"Suma Back\":\"8000\",\"Categorie Serviciu\":\"Cet.MD\",\"google_folder_id_leads_field\":\"1Pn1yHe8NH-PbRIwiKtaGZdRw5wH0EjcI\",\"google_folder_link_leads_field\":\"https:\\/\\/drive.google.com\\/drive\\/folders\\/1Pn1yHe8NH-PbRIwiKtaGZdRw5wH0EjcI\",\"Ceta\\u021benia RM\":\"Cet pe baza parinti bunei\",\"Reac\\u021bia clientului la pre\\u021b\":\"Clientul este interesat \\u0219i este preg\\u0103tit financiar\",\"Data consulta\\u021biei\":\"04.07.2022\",\"Luna trec in Front\":\"04.07.2022\",\"Data contractului\":\"04.07.2022\",\"Numar Contract\":\"34682582\",\"Compania\":\"EMG Consulting Group SRL\",\"Termen perfectare\":\"04.01.2023\",\"Avans\":\"4090\",\"Cont\":\"\\u0410\\u041b\\u042c\\u0424\\u0410 \\u0411\\u0410\\u041d\\u041a.                                 \\u041d\\u043e\\u043c\\u0435\\u0440 \\u043a\\u0430\\u0440\\u0442\\u044b 5559 5720 5487 6083 +79857493467.                              \\u041d\\u043e\\u043c\\u0435\\u0440 \\u0441\\u0447\\u0435\\u0442\\u0430 40820810804170001481 \\u041f\\u043e\\u043b\\u0443\\u0447\\u0430\\u0442\\u0435\\u043b\\u044c: \\u041e\\u043a\\u0438\\u043d\\u0447\\u0443\\u043a \\u0412\\u0438\\u043a\\u0442\\u043e\\u0440     \\u0418\\u041d\\u041d \\u0431\\u0430\\u043d\\u043a\\u0430 \\u043f\\u043e\\u043b\\u0443\\u0447\\u0430\\u0442\\u0435\\u043b\\u044f: 7728168971 \\u041a\\u043e\\u0440\\u0440. \\u0441\\u0447\\u0435\\u0442: 30101810200000000593 \\u0411\\u0430\\u043d\\u043a: \\u0410\\u041e \\u00ab\\u0410\\u043b\\u044c\\u0444\\u0430-\\u0411\\u0430\\u043d\\u043a\\u00bb, \\u0433. \\u041c\\u043e\\u0441\\u043a\\u0432\\u0430 \\u041a\\u041f\\u041f \\u0431\\u0430\\u043d\\u043a\\u0430 \\u043f\\u043e\\u043b\\u0443\\u0447\\u0430\\u0442\\u0435\\u043b\\u044f: 770801001 \\u0411\\u0418\\u041a: 044525593\",\"Termen intermediar\":\"20.06.2022\",\"Suma contract\":\"8180\",\"Data avans\":\"04.07.2022\",\"Luna trec producere\":\"16.08.2022\",\"Link tranzac\\u021bia front\":\"https:\\/\\/emigrare.amocrm.ru\\/leads\\/detail\\/34682582\",\"Manager front office\":\"Capanji Igor\",\"Etapa curenta\":\"Proces producere\",\"Palnia Curenta\":\"Work Cetatenie Romana\",\"Suma \\u20ac\":\"0\",\"ID\":\"34682582\",\"\\u0421\\u0434\\u0435\\u043b\\u043a\\u0430_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Cet. MD (+ Gennadii Iavorskii)\",\"Lead_name\":\"Cet. MD (+ Gennadii Iavorskii)\",\"\\u0411\\u044e\\u0434\\u0436\\u0435\\u0442\":\"8180\",\"Budget\":\"8180\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"Cre\\u021bu Veronica\",\"Responsible\":\"Cre\\u021bu Veronica\"},\"lead\":{\"Brand\":\"Emigrare.md\",\"Luna crearii Tranzactiei back\":\"29.06.2022\",\"Suma Back\":\"8000\",\"Categorie Serviciu\":\"Cet.MD\",\"google_folder_id_leads_field\":\"1Pn1yHe8NH-PbRIwiKtaGZdRw5wH0EjcI\",\"google_folder_link_leads_field\":\"https:\\/\\/drive.google.com\\/drive\\/folders\\/1Pn1yHe8NH-PbRIwiKtaGZdRw5wH0EjcI\",\"Ceta\\u021benia RM\":\"Cet pe baza parinti bunei\",\"Reac\\u021bia clientului la pre\\u021b\":\"Clientul este interesat \\u0219i este preg\\u0103tit financiar\",\"Data consulta\\u021biei\":\"04.07.2022\",\"Luna trec in Front\":\"04.07.2022\",\"Data contractului\":\"04.07.2022\",\"Numar Contract\":\"34682582\",\"Compania\":\"EMG Consulting Group SRL\",\"Termen perfectare\":\"04.01.2023\",\"Avans\":\"4090\",\"Cont\":\"\\u0410\\u041b\\u042c\\u0424\\u0410 \\u0411\\u0410\\u041d\\u041a.                                 \\u041d\\u043e\\u043c\\u0435\\u0440 \\u043a\\u0430\\u0440\\u0442\\u044b 5559 5720 5487 6083 +79857493467.                              \\u041d\\u043e\\u043c\\u0435\\u0440 \\u0441\\u0447\\u0435\\u0442\\u0430 40820810804170001481 \\u041f\\u043e\\u043b\\u0443\\u0447\\u0430\\u0442\\u0435\\u043b\\u044c: \\u041e\\u043a\\u0438\\u043d\\u0447\\u0443\\u043a \\u0412\\u0438\\u043a\\u0442\\u043e\\u0440     \\u0418\\u041d\\u041d \\u0431\\u0430\\u043d\\u043a\\u0430 \\u043f\\u043e\\u043b\\u0443\\u0447\\u0430\\u0442\\u0435\\u043b\\u044f: 7728168971 \\u041a\\u043e\\u0440\\u0440. \\u0441\\u0447\\u0435\\u0442: 30101810200000000593 \\u0411\\u0430\\u043d\\u043a: \\u0410\\u041e \\u00ab\\u0410\\u043b\\u044c\\u0444\\u0430-\\u0411\\u0430\\u043d\\u043a\\u00bb, \\u0433. \\u041c\\u043e\\u0441\\u043a\\u0432\\u0430 \\u041a\\u041f\\u041f \\u0431\\u0430\\u043d\\u043a\\u0430 \\u043f\\u043e\\u043b\\u0443\\u0447\\u0430\\u0442\\u0435\\u043b\\u044f: 770801001 \\u0411\\u0418\\u041a: 044525593\",\"Termen intermediar\":\"20.06.2022\",\"Suma contract\":\"8180\",\"Data avans\":\"04.07.2022\",\"Luna trec producere\":\"16.08.2022\",\"Link tranzac\\u021bia front\":\"https:\\/\\/emigrare.amocrm.ru\\/leads\\/detail\\/34682582\",\"Manager front office\":\"Capanji Igor\",\"Etapa curenta\":\"Proces producere\",\"Palnia Curenta\":\"Work Cetatenie Romana\",\"Suma \\u20ac\":\"0\",\"ID\":\"34682582\",\"\\u0421\\u0434\\u0435\\u043b\\u043a\\u0430_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Cet. MD (+ Gennadii Iavorskii)\",\"Lead_name\":\"Cet. MD (+ Gennadii Iavorskii)\",\"\\u0411\\u044e\\u0434\\u0436\\u0435\\u0442\":\"8180\",\"Budget\":\"8180\",\"\\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\":{\"Cet\\u0103\\u021benie de\\u021binut\\u0103\":\"RM\",\"Cum Comunicam\":\"Telegram\",\"Limba vorbita\":\"Rusa\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"79200605540\",\"Email\":\"y@yavorsky.biz\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Iurii Iavorschi\",\"Contact_name\":\"Iurii Iavorschi\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"Capanji Igor\",\"Responsible\":\"Capanji Igor\"},\"contact\":{\"Cet\\u0103\\u021benie de\\u021binut\\u0103\":\"RM\",\"Cum Comunicam\":\"Telegram\",\"Limba vorbita\":\"Rusa\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"79200605540\",\"Email\":\"y@yavorsky.biz\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Iurii Iavorschi\",\"Contact_name\":\"Iurii Iavorschi\",\"\\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\":[{\"Cet\\u0103\\u021benie de\\u021binut\\u0103\":\"RM\",\"Cum Comunicam\":\"Telegram\",\"Limba vorbita\":\"Rusa\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"79200605540\",\"Email\":\"y@yavorsky.biz\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Iurii Iavorschi\",\"\\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\":\"13.10.2026\",\"\\u041d\\u043e\\u043c\\u0435\\u0440\":\"1737\"},\"document\":{\"Date\":\"13.10.2026\",\"Number\":\"1737\"}}}","edit":true}} {"uid":"a03fd42"}
[2026-10-13 12:37:55] docflow.DEBUG: GAS raw response {"raw":"[object] (stdClass: {\"code\":1,\"url\":\"https://docs.google.com/open?id=1uEwnfoJhKb3G7pKfyGp9qPJpZXNUuXlANs47JeHfa2o\",\"file_id\":\"1uEwnfoJhKb3G7pKfyGp9qPJpZXNUuXlANs47JeHfa2o\",\"error\":\"\",\"vars\":\"\"})"} {"uid":"a03fd42"}
[2026-10-13 12:37:55] docflow.WARNING: AmoDrive generated-file move is not ready. {"fileId":"1uEwnfoJhKb3G7pKfyGp9qPJpZXNUuXlANs47JeHfa2o","context":null} {"uid":"a03fd42"}
[2026-10-13 13:12:33] docflow.INFO: Apel createDoc {"data":{"amoAccountId":"22699852","amoUserId":null,"amoEntityId":"42843176","amoEntityType":"2","templateId":"11500","corporateEntityId":"","settlementAccountId":"","is_signed":null,"gdi":null,"number":null,"currentAmoUserId":null,"lang":"ru"}} {"uid":"6743f11"}
[2026-10-13 13:12:33] docflow.INFO: Token is valid for account 22699852. [] {"uid":"6743f11"}
[2026-10-13 13:12:33] docflow.DEBUG: getClientAuth returned {"auth":"[object] (stdClass: {\"domain\":\"emigrare.amocrm.ru\",\"access_token\":\"eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImp0aSI6IjA5Zjk3NjIwZWVhZDQ5MTk1YzAzMjExYWQzZWMwNWFmODMzOTAyYzkwNDUxYThhMDRlNWI2NGZhZTg5ODk0NGM0NzIxZWFiYTAwYWRmNGY1In0.eyJhdWQiOiIwZDY0ZGZmYi1lNTRiLTQ0OGYtOWZiZi1iYWYyMjUxYTExZGIiLCJqdGkiOiIwOWY5NzYyMGVlYWQ0OTE5NWMwMzIxMWFkM2VjMDVhZjgzMzkwMmM5MDQ1MWE4YTA0ZTViNjRmYWU4OTg5NDRjNDcyMWVhYmEwMGFkZjRmNSIsImlhdCI6MTc5MTg3NTcxNCwibmJmIjoxNzkxODc1NzE0LCJleHAiOjE3OTE5NjIxMTQsInN1YiI6IjI5MzAzODAiLCJncmFudF90eXBlIjoiIiwiYWNjb3VudF9pZCI6MjI2OTk4NTIsImJhc2VfZG9tYWluIjoiYW1vY3JtLnJ1IiwidmVyc2lvbiI6Miwic2NvcGVzIjpbInB1c2hfbm90aWZpY2F0aW9ucyIsImNybSIsIm5vdGlmaWNhdGlvbnMiXSwiaGFzaF91dWlkIjoiZjhhNDRkOTgtMTRlNS00OTcxLTllMGEtNTRhZDY5OGQyYmQ4IiwiYXBpX2RvbWFpbiI6ImFwaS1hLmFtb2NybS5ydSJ9.NBJbkjpQVkql6RIh0lb5_KN4a3HryxJWNmjqTpgN1z5_38BKNZZYuaLC3jSuifBhZ1bpvGNOvdij0i0pQgyxhOaT9bZBjt_vLr-92V395z4ycsTFsK62KSDyZ-lAic98RxsqiX1xzPrdIi7NEXKX9Ls1ZHz0dwCgMJC2czZsigpjSEG0ErTZNdfsZrz00lM5F7cYbWP1m6JO78QBQJmrF_fRwFLiWGm9epjs7WmHTq4gO0Ski6-09ZTgjUIdj0zk6kP0vuWPHu9bZb8EP2IglQ0UjVN2AuacD9jBZvwt8Z6Q3TPnOEJaD0MJgiSlBcFs7wQ2ueorh3T8wV5cwy3VIA\"})","file":"/home/ytvmclwh/document.amocrm.md/src/Models/Docs.php","line":121} {"uid":"6743f11"}
[2026-10-13 13:12:36] docflow.DEBUG: AmoDrive docflow context request {"url":"https://google.emale.uno/api/docflow/google-context","query":{"account_id":"22699852","entity_id":"42843176","entity_type":"leads"}} {"uid":"6743f11"}
[2026-10-13 13:12:36] docflow.WARNING: AmoDrive docflow context request failed {"url":"https://google.emale.uno/api/docflow/google-context","http_code":null,"error":"HTTP/2 400 ","response":"<!DOCTYPE HTML PUBLIC \"-//IETF//DTD HTML 2.0//EN\">\r\n<html>\r\n<head><title>400 Bad Request</title></head>\r\n<body>\r\n<center><h1>400 Bad Request</h1></center>\r\n Sorry for the inconvenience.<br/>\r\nPlease report this message and include the following information to us.<br/>\r\nThank you very much!</p>\r\n<table>\r\n<tr>\r\n<td>URL:</td>\r\n<td>https://gd.glucose-dev.online/api/docflow/google-context?account_id=22699852&amp;entity_id=42843176&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/13 13:12:36</td>\r\n</tr>\r\n</table>\r\n<hr><center>tengine</center>\r\n</body>\r\n</html>\r\n"} {"uid":"6743f11"}
[2026-10-13 13:12:36] docflow.DEBUG: AmoDrive docflow context request {"url":"https://gd.glucose-dev.online/api/docflow/google-context","query":{"account_id":"22699852","entity_id":"42843176","entity_type":"leads"}} {"uid":"6743f11"}
[2026-10-13 13:12:36] docflow.WARNING: AmoDrive docflow context response is not ready, trying next backend. {"url":"https://gd.glucose-dev.online/api/docflow/google-context","payload":{"ok":true,"accountId":22699852,"entityId":"42843176","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":312,"isLifetime":false},"licenseActive":false,"googleConnected":false,"googleEmail":null,"googleHasDriveScope":false,"googleHasDriveFileScope":false,"googleHasOwnershipScope":false,"readyForGeneratedFileMove":false,"readyForTransfer":false},"folder":{"id":"1dnvKm2tZOLXxkrcP-OotpC9lcgDb62mU","name":"42843176 - Lead #42843176","webViewLink":"https://drive.google.com/drive/folders/1dnvKm2tZOLXxkrcP-OotpC9lcgDb62mU"}}} {"uid":"6743f11"}
[2026-10-13 13:12:36] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://google.emale.uno/api/docflow/prepare-generated-doc","payload":{"account_id":"22699852","entity_id":"42843176","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"6743f11"}
[2026-10-13 13:12: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/13 13:12: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":"22699852","entity_id":"42843176","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"6743f11"}
[2026-10-13 13:12:36] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://gd.glucose-dev.online/api/docflow/prepare-generated-doc","payload":{"account_id":"22699852","entity_id":"42843176","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"6743f11"}
[2026-10-13 13:12: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\":22699852})","payload":{"account_id":"22699852","entity_id":"42843176","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"6743f11"}
[2026-10-13 13:12:36] 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 717 20261013131236\",\"leadId\":\"42843176\",\"entities\":{\"\\u0441\\u0434\\u0435\\u043b\\u043a\\u0430\":{\"ID\":\"42843176\",\"\\u0421\\u0434\\u0435\\u043b\\u043a\\u0430_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Transcriere CN RO\",\"Lead_name\":\"Transcriere CN RO\",\"\\u0411\\u044e\\u0434\\u0436\\u0435\\u0442\":\"300\",\"Budget\":\"300\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"Cezara Cenusa\",\"Responsible\":\"Cezara Cenusa\"},\"lead\":{\"ID\":\"42843176\",\"\\u0421\\u0434\\u0435\\u043b\\u043a\\u0430_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Transcriere CN RO\",\"Lead_name\":\"Transcriere CN RO\",\"\\u0411\\u044e\\u0434\\u0436\\u0435\\u0442\":\"300\",\"Budget\":\"300\",\"\\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\":\"37360928019\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Victoria Topalo\",\"Contact_name\":\"Victoria Topalo\",\"\\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\":\"37360928019\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Victoria Topalo\",\"Contact_name\":\"Victoria Topalo\",\"\\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\":\"37360928019\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Victoria Topalo\",\"\\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\":\"13.10.2026\",\"\\u041d\\u043e\\u043c\\u0435\\u0440\":\"717\"},\"document\":{\"Date\":\"13.10.2026\",\"Number\":\"717\"}}}","edit":true}} {"uid":"6743f11"}
[2026-10-13 13:12:41] docflow.DEBUG: GAS raw response {"raw":"[object] (stdClass: {\"code\":1,\"url\":\"https://docs.google.com/open?id=16ypLK6e8uMRdxQQk4ldTg0fcMYeq0Qtmf-HWADdldTc\",\"file_id\":\"16ypLK6e8uMRdxQQk4ldTg0fcMYeq0Qtmf-HWADdldTc\",\"error\":\"\",\"vars\":\"\"})"} {"uid":"6743f11"}
[2026-10-13 13:12:41] docflow.WARNING: AmoDrive generated-file move is not ready. {"fileId":"16ypLK6e8uMRdxQQk4ldTg0fcMYeq0Qtmf-HWADdldTc","context":null} {"uid":"6743f11"}
[2026-10-13 13:20:04] docflow.INFO: Apel createDoc {"data":{"amoAccountId":"22699852","amoUserId":null,"amoEntityId":"42843176","amoEntityType":"2","templateId":"11488","corporateEntityId":"","settlementAccountId":"","is_signed":null,"gdi":null,"number":null,"currentAmoUserId":null,"lang":"ru"}} {"uid":"11ce202"}
[2026-10-13 13:20:04] docflow.INFO: Token is valid for account 22699852. [] {"uid":"11ce202"}
[2026-10-13 13:20:04] docflow.DEBUG: getClientAuth returned {"auth":"[object] (stdClass: {\"domain\":\"emigrare.amocrm.ru\",\"access_token\":\"eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImp0aSI6IjA5Zjk3NjIwZWVhZDQ5MTk1YzAzMjExYWQzZWMwNWFmODMzOTAyYzkwNDUxYThhMDRlNWI2NGZhZTg5ODk0NGM0NzIxZWFiYTAwYWRmNGY1In0.eyJhdWQiOiIwZDY0ZGZmYi1lNTRiLTQ0OGYtOWZiZi1iYWYyMjUxYTExZGIiLCJqdGkiOiIwOWY5NzYyMGVlYWQ0OTE5NWMwMzIxMWFkM2VjMDVhZjgzMzkwMmM5MDQ1MWE4YTA0ZTViNjRmYWU4OTg5NDRjNDcyMWVhYmEwMGFkZjRmNSIsImlhdCI6MTc5MTg3NTcxNCwibmJmIjoxNzkxODc1NzE0LCJleHAiOjE3OTE5NjIxMTQsInN1YiI6IjI5MzAzODAiLCJncmFudF90eXBlIjoiIiwiYWNjb3VudF9pZCI6MjI2OTk4NTIsImJhc2VfZG9tYWluIjoiYW1vY3JtLnJ1IiwidmVyc2lvbiI6Miwic2NvcGVzIjpbInB1c2hfbm90aWZpY2F0aW9ucyIsImNybSIsIm5vdGlmaWNhdGlvbnMiXSwiaGFzaF91dWlkIjoiZjhhNDRkOTgtMTRlNS00OTcxLTllMGEtNTRhZDY5OGQyYmQ4IiwiYXBpX2RvbWFpbiI6ImFwaS1hLmFtb2NybS5ydSJ9.NBJbkjpQVkql6RIh0lb5_KN4a3HryxJWNmjqTpgN1z5_38BKNZZYuaLC3jSuifBhZ1bpvGNOvdij0i0pQgyxhOaT9bZBjt_vLr-92V395z4ycsTFsK62KSDyZ-lAic98RxsqiX1xzPrdIi7NEXKX9Ls1ZHz0dwCgMJC2czZsigpjSEG0ErTZNdfsZrz00lM5F7cYbWP1m6JO78QBQJmrF_fRwFLiWGm9epjs7WmHTq4gO0Ski6-09ZTgjUIdj0zk6kP0vuWPHu9bZb8EP2IglQ0UjVN2AuacD9jBZvwt8Z6Q3TPnOEJaD0MJgiSlBcFs7wQ2ueorh3T8wV5cwy3VIA\"})","file":"/home/ytvmclwh/document.amocrm.md/src/Models/Docs.php","line":121} {"uid":"11ce202"}
[2026-10-13 13:20:07] docflow.DEBUG: AmoDrive docflow context request {"url":"https://google.emale.uno/api/docflow/google-context","query":{"account_id":"22699852","entity_id":"42843176","entity_type":"leads"}} {"uid":"11ce202"}
[2026-10-13 13:20:07] docflow.WARNING: AmoDrive docflow context request failed {"url":"https://google.emale.uno/api/docflow/google-context","http_code":null,"error":"HTTP/2 400 ","response":"<!DOCTYPE HTML PUBLIC \"-//IETF//DTD HTML 2.0//EN\">\r\n<html>\r\n<head><title>400 Bad Request</title></head>\r\n<body>\r\n<center><h1>400 Bad Request</h1></center>\r\n Sorry for the inconvenience.<br/>\r\nPlease report this message and include the following information to us.<br/>\r\nThank you very much!</p>\r\n<table>\r\n<tr>\r\n<td>URL:</td>\r\n<td>https://gd.glucose-dev.online/api/docflow/google-context?account_id=22699852&amp;entity_id=42843176&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/13 13:20:07</td>\r\n</tr>\r\n</table>\r\n<hr><center>tengine</center>\r\n</body>\r\n</html>\r\n"} {"uid":"11ce202"}
[2026-10-13 13:20:07] docflow.DEBUG: AmoDrive docflow context request {"url":"https://gd.glucose-dev.online/api/docflow/google-context","query":{"account_id":"22699852","entity_id":"42843176","entity_type":"leads"}} {"uid":"11ce202"}
[2026-10-13 13:20:07] docflow.WARNING: AmoDrive docflow context response is not ready, trying next backend. {"url":"https://gd.glucose-dev.online/api/docflow/google-context","payload":{"ok":true,"accountId":22699852,"entityId":"42843176","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":311,"isLifetime":false},"licenseActive":false,"googleConnected":false,"googleEmail":null,"googleHasDriveScope":false,"googleHasDriveFileScope":false,"googleHasOwnershipScope":false,"readyForGeneratedFileMove":false,"readyForTransfer":false},"folder":{"id":"1dnvKm2tZOLXxkrcP-OotpC9lcgDb62mU","name":"42843176 - Lead #42843176","webViewLink":"https://drive.google.com/drive/folders/1dnvKm2tZOLXxkrcP-OotpC9lcgDb62mU"}}} {"uid":"11ce202"}
[2026-10-13 13:20:07] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://google.emale.uno/api/docflow/prepare-generated-doc","payload":{"account_id":"22699852","entity_id":"42843176","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"11ce202"}
[2026-10-13 13:20:07] docflow.WARNING: AmoDrive prepare-generated-doc request failed {"url":"https://google.emale.uno/api/docflow/prepare-generated-doc","http_code":null,"error":"HTTP/2 400 ","response":"<!DOCTYPE HTML PUBLIC \"-//IETF//DTD HTML 2.0//EN\">\r\n<html>\r\n<head><title>400 Bad Request</title></head>\r\n<body>\r\n<center><h1>400 Bad Request</h1></center>\r\n Sorry for the inconvenience.<br/>\r\nPlease report this message and include the following information to us.<br/>\r\nThank you very much!</p>\r\n<table>\r\n<tr>\r\n<td>URL:</td>\r\n<td>https://gd.glucose-dev.online/api/docflow/prepare-generated-doc</td>\r\n</tr>\r\n<tr>\r\n<td>Server:</td>\r\n<td>mail.glucose-dev.online</td>\r\n</tr>\r\n<tr>\r\n<td>Date:</td>\r\n<td>2026/10/13 13:20:07</td>\r\n</tr>\r\n</table>\r\n<hr><center>tengine</center>\r\n</body>\r\n</html>\r\n","payload":{"account_id":"22699852","entity_id":"42843176","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"11ce202"}
[2026-10-13 13:20:07] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://gd.glucose-dev.online/api/docflow/prepare-generated-doc","payload":{"account_id":"22699852","entity_id":"42843176","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"11ce202"}
[2026-10-13 13:20: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\":22699852})","payload":{"account_id":"22699852","entity_id":"42843176","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"11ce202"}
[2026-10-13 13:20:08] docflow.DEBUG: GAS request {"url":"https://script.google.com/macros/s/AKfycbwrvOJD46zkuoTzdhpc1kulhV8jRfgQBFZfQ121nkIip_k8yKit4xrbWTOzaJ-C-Yed6w/exec","body":{"templateFileId":"1Lko3EG9_Yj6bZrxqQ3cZ8_aYZSQ7GKHEi61nkS6lkvg","accountId":"22699852","folderId":"1Us2AfskxgdA729xVr0F2vjZU9y5PlYDe","key":"~VTsK5dcnHc2cSSsjM$LFSjLlgbmJXwrp3R2P5nd","data":"{\"fileName\":\"Transcriere 524 20261013132007\",\"leadId\":\"42843176\",\"entities\":{\"\\u0441\\u0434\\u0435\\u043b\\u043a\\u0430\":{\"ID\":\"42843176\",\"\\u0421\\u0434\\u0435\\u043b\\u043a\\u0430_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Transcriere CN RO\",\"Lead_name\":\"Transcriere CN RO\",\"\\u0411\\u044e\\u0434\\u0436\\u0435\\u0442\":\"300\",\"Budget\":\"300\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"Cezara Cenusa\",\"Responsible\":\"Cezara Cenusa\"},\"lead\":{\"ID\":\"42843176\",\"\\u0421\\u0434\\u0435\\u043b\\u043a\\u0430_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Transcriere CN RO\",\"Lead_name\":\"Transcriere CN RO\",\"\\u0411\\u044e\\u0434\\u0436\\u0435\\u0442\":\"300\",\"Budget\":\"300\",\"\\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\":\"37360928019\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Victoria Topalo\",\"Contact_name\":\"Victoria Topalo\",\"\\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\":\"37360928019\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Victoria Topalo\",\"Contact_name\":\"Victoria Topalo\",\"\\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\":\"37360928019\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Victoria Topalo\",\"\\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\":\"13.10.2026\",\"\\u041d\\u043e\\u043c\\u0435\\u0440\":\"524\"},\"document\":{\"Date\":\"13.10.2026\",\"Number\":\"524\"}}}","edit":true}} {"uid":"11ce202"}
[2026-10-13 13:20:15] docflow.DEBUG: GAS raw response {"raw":"[object] (stdClass: {\"code\":1,\"url\":\"https://docs.google.com/open?id=1AjjueYfDi28vpy-fJTh-WQtPEj9tkXyEUbmGXWmjaH4\",\"file_id\":\"1AjjueYfDi28vpy-fJTh-WQtPEj9tkXyEUbmGXWmjaH4\",\"error\":\"\",\"vars\":\"\"})"} {"uid":"11ce202"}
[2026-10-13 13:20:15] docflow.WARNING: AmoDrive generated-file move is not ready. {"fileId":"1AjjueYfDi28vpy-fJTh-WQtPEj9tkXyEUbmGXWmjaH4","context":null} {"uid":"11ce202"}
[2026-10-13 13:48:15] docflow.INFO: Apel createDoc {"data":{"amoAccountId":"32990686","amoUserId":null,"amoEntityId":"42870591","amoEntityType":"2","templateId":"11625","corporateEntityId":"","settlementAccountId":"","is_signed":null,"gdi":null,"number":null,"currentAmoUserId":null,"lang":"ru"}} {"uid":"b4e1801"}
[2026-10-13 13:48:15] docflow.INFO: Token validation failed for account 32990686. Refreshing... {"http_code":null,"error_message":"HTTP/2 401 "} {"uid":"b4e1801"}
[2026-10-13 13:48:15] docflow.INFO: Attempting token refresh with payload: {"client_id":"0d64dffb-e54b-448f-9fbf-baf2251a11db","client_secret":"AXqHrT1J35SilTTtI3yyaHdQKiS5bonhySaPYkLmo7mR6ZZ9zDP24dUjG189VG9G","grant_type":"refresh_token","refresh_token":"def50200e2af547711b1d5e76ed42bd089a5a8afda864824bbb4c3c7cffd2f67738fe058109aa47cd212f5ba04cee539419293b3d977e25bfcf218264c6f6b21b37858681c9f06df59164b454fe3568753bc75527281628c92ac11b061883960bad5051b3c899ddf91caa21a0431da388bcea20cfc8acb2d8b5c0b70059976736edfb3daace3b05315257eefe5b666bd7609605eca7aba14ab01bf6a6c17ab2537bf642634a1be3ebee827a3cbfabbfe0ef576fa0202541f010df9b60fff24b0b2c2e1c3a667fcf9db1698da5e08c0d73ac57be66fdbb09a6435007a3dd6869af40bffbd3adeeebb3f44e01b7d5a82319c5127820af56b82c636402db086781b123f2d15589a2697b709012e162349e83dcf934ef98b90311a72504f8cd154a397648043bf93f9c7a910b31bc7b35f5079f798a12492fef870ae08c05cad4af61513496fe93d52b1b932c81a0ddb72d3572ef8b92198356a1f744f21bd9dc7545749bc791709c34238c73d5a8bb096c8986f21c95311e5a40291ddb819c39dc78c036addba91e8d76ea81342e8600fbf2a2e6e082c8a860c2ed1e8878e65757e4dbaa6f30cff56b8bfec554a80ce0128b461a6cadf15654a7e270e823a3ae892e5c83fc10d6d7325c241b85b6027c95e9aeabcfb54594d","redirect_uri":"https://document.amocrm.md/core/manager/install.php"} {"uid":"b4e1801"}
[2026-10-13 13:48:17] docflow.INFO: Token for account 32990686 refreshed successfully. [] {"uid":"b4e1801"}
[2026-10-13 13:48:17] docflow.DEBUG: getClientAuth returned {"auth":"[object] (stdClass: {\"domain\":\"eurosanteh.amocrm.ru\",\"access_token\":\"eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImp0aSI6ImZkYzJlZjI1ODliMzhkZDRlNWMyMTNiYWUxZmY4MjhiOWExMjkwZjVlMjlmMDYzNWM4YmZkYzZiYjY3YjY0OTlmODNiMTJlNjYwMTFmMTVkIn0.eyJhdWQiOiIwZDY0ZGZmYi1lNTRiLTQ0OGYtOWZiZi1iYWYyMjUxYTExZGIiLCJqdGkiOiJmZGMyZWYyNTg5YjM4ZGQ0ZTVjMjEzYmFlMWZmODI4YjlhMTI5MGY1ZTI5ZjA2MzVjOGJmZGM2YmI2N2I2NDk5ZjgzYjEyZTY2MDExZjE1ZCIsImlhdCI6MTc5MTg4ODQ5NiwibmJmIjoxNzkxODg4NDk2LCJleHAiOjE3OTE5NzQ4OTYsInN1YiI6IjEzNjg3MzAyIiwiZ3JhbnRfdHlwZSI6IiIsImFjY291bnRfaWQiOjMyOTkwNjg2LCJiYXNlX2RvbWFpbiI6ImFtb2NybS5ydSIsInZlcnNpb24iOjIsInNjb3BlcyI6WyJwdXNoX25vdGlmaWNhdGlvbnMiLCJjcm0iLCJub3RpZmljYXRpb25zIl0sImhhc2hfdXVpZCI6IjVhMDU5ZmZiLTkyNGQtNDJhOC1hM2JmLTdiNzY2ZTUyNGQ3NyIsImFwaV9kb21haW4iOiJhcGktYi5hbW9jcm0ucnUifQ.DGUrEprnD9vYQ6273M6iSKzWOcEga9BmbE1vbzIv_pQCn9nvv0dA2PsWAGGFwmyLgtGnG4LGLwtWrOoWSZ9kYFujloT8JcP6mkFlPllYxpp72mKFKDTJ3BjnQ86tu5NqqP7phhMRmm-MpC9xxJjvZ_w454SKjwnPH7bHxPY96qVwps-3CwtO3LBZpPwTcFvPHLKBfG1WyHBe_ML8pOJNgJMg8CxBTVtygz3q6J_xh_lCEGMiIbTsfia5BPY8rU4cUNGFrkv2ebtbbV7WD8E74oIi2fdCh5FIn3jzXxnN5k8GsAuFn0eG-VAF_u7MCEkOxOHAL6a5cZ4jqsFxbbdAzg\"})","file":"/home/ytvmclwh/document.amocrm.md/src/Models/Docs.php","line":121} {"uid":"b4e1801"}
[2026-10-13 13:48:20] docflow.DEBUG: AmoDrive docflow context request {"url":"https://google.emale.uno/api/docflow/google-context","query":{"account_id":"32990686","entity_id":"42870591","entity_type":"leads"}} {"uid":"b4e1801"}
[2026-10-13 13:48: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=42870591&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/13 13:48:20</td>\r\n</tr>\r\n</table>\r\n<hr><center>tengine</center>\r\n</body>\r\n</html>\r\n"} {"uid":"b4e1801"}
[2026-10-13 13:48:20] docflow.DEBUG: AmoDrive docflow context request {"url":"https://gd.glucose-dev.online/api/docflow/google-context","query":{"account_id":"32990686","entity_id":"42870591","entity_type":"leads"}} {"uid":"b4e1801"}
[2026-10-13 13:48: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":"42870591","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":"b4e1801"}
[2026-10-13 13:48:20] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://google.emale.uno/api/docflow/prepare-generated-doc","payload":{"account_id":"32990686","entity_id":"42870591","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"b4e1801"}
[2026-10-13 13:48: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/13 13:48: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":"42870591","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"b4e1801"}
[2026-10-13 13:48: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":"42870591","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"b4e1801"}
[2026-10-13 13:48: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":"42870591","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"b4e1801"}
[2026-10-13 13:48: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 1334 20261013134820\",\"leadId\":\"42870591\",\"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-14 17:19:00\",\"\\u0414\\u0430\\u0442\\u0430 \\u0432\\u0438\\u0437\\u0438\\u0442\\u0430\":\"14.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\":\"\\u0417\\u0430\\u043f\\u0440\\u0430\\u0432\\u043a\\u0430 \\u0445\\u043b\\u0430\\u0434\\u0430\\u0433\\u0435\\u043d\\u0442\\u043e\\u043c, \\u0420\\u0435\\u043c\\u043e\\u043d\\u0442 \\u044d\\u043b\\u0435\\u043a\\u0442\\u0440\\u043e\\u043d\\u043d\\u044b\\u0445 \\u044d\\u043b\\u0435\\u043c\\u0435\\u043d\\u0442\\u043e\\u0432 \\u0443\\u043f\\u0440\\u0430\\u0432\\u043b\\u0435\\u043d\\u0438\\u044f\",\"\\u041c\\u043e\\u0434\\u0435\\u043b\\u044c \\u043e\\u0431\\u043e\\u0440\\u0443\\u0434\\u043e\\u0432\\u0430\\u043d\\u0438\\u044f 1\":\"Haier Pearl  50\",\"ID\":\"42870591\",\"\\u0421\\u0434\\u0435\\u043b\\u043a\\u0430_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"\\u0437\\u0430\\u043f\\u0440\\u0430\\u0432\\u043a\\u0430 \\u0438 \\u0437\\u0430\\u043c\\u0435\\u043d\\u0430 \\u0432\\u0435\\u043d\\u0442\\u0438\\u043b\\u044f\\u0442\\u043e\\u0440\\u0430\",\"Lead_name\":\"\\u0437\\u0430\\u043f\\u0440\\u0430\\u0432\\u043a\\u0430 \\u0438 \\u0437\\u0430\\u043c\\u0435\\u043d\\u0430 \\u0432\\u0435\\u043d\\u0442\\u0438\\u043b\\u044f\\u0442\\u043e\\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\":{\"\\u0414\\u0430\\u0442\\u0430 \\u0438 \\u0432\\u0440\\u0435\\u043c\\u044f \\u0432\\u0438\\u0437\\u0438\\u0442\\u0430\":\"2026-10-14 17:19:00\",\"\\u0414\\u0430\\u0442\\u0430 \\u0432\\u0438\\u0437\\u0438\\u0442\\u0430\":\"14.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\":\"\\u0417\\u0430\\u043f\\u0440\\u0430\\u0432\\u043a\\u0430 \\u0445\\u043b\\u0430\\u0434\\u0430\\u0433\\u0435\\u043d\\u0442\\u043e\\u043c, \\u0420\\u0435\\u043c\\u043e\\u043d\\u0442 \\u044d\\u043b\\u0435\\u043a\\u0442\\u0440\\u043e\\u043d\\u043d\\u044b\\u0445 \\u044d\\u043b\\u0435\\u043c\\u0435\\u043d\\u0442\\u043e\\u0432 \\u0443\\u043f\\u0440\\u0430\\u0432\\u043b\\u0435\\u043d\\u0438\\u044f\",\"\\u041c\\u043e\\u0434\\u0435\\u043b\\u044c \\u043e\\u0431\\u043e\\u0440\\u0443\\u0434\\u043e\\u0432\\u0430\\u043d\\u0438\\u044f 1\":\"Haier Pearl  50\",\"ID\":\"42870591\",\"\\u0421\\u0434\\u0435\\u043b\\u043a\\u0430_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"\\u0437\\u0430\\u043f\\u0440\\u0430\\u0432\\u043a\\u0430 \\u0438 \\u0437\\u0430\\u043c\\u0435\\u043d\\u0430 \\u0432\\u0435\\u043d\\u0442\\u0438\\u043b\\u044f\\u0442\\u043e\\u0440\\u0430\",\"Lead_name\":\"\\u0437\\u0430\\u043f\\u0440\\u0430\\u0432\\u043a\\u0430 \\u0438 \\u0437\\u0430\\u043c\\u0435\\u043d\\u0430 \\u0432\\u0435\\u043d\\u0442\\u0438\\u043b\\u044f\\u0442\\u043e\\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\\u043c\\u044f \\u043a\\u043b\\u0438\\u0435\\u043d\\u0442\\u0430 (\\u0421\\u041c\\u0421)\":\"Culai\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"37369241886\",\"\\u0410\\u0434\\u0440\\u0435\\u0441\":\"Singera\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Culai\",\"Contact_name\":\"Culai\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"\\u0410\\u0441\\u0442\\u0430\\u043f\\u0435\\u043d\\u043a\\u043e\\u0432\\u0430 \\u042e\\u043b\\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)\":\"Culai\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"37369241886\",\"\\u0410\\u0434\\u0440\\u0435\\u0441\":\"Singera\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Culai\",\"Contact_name\":\"Culai\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"\\u0410\\u0441\\u0442\\u0430\\u043f\\u0435\\u043d\\u043a\\u043e\\u0432\\u0430 \\u042e\\u043b\\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)\":\"Culai\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"37369241886\",\"\\u0410\\u0434\\u0440\\u0435\\u0441\":\"Singera\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Culai\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\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\":\"13.10.2026\",\"\\u041d\\u043e\\u043c\\u0435\\u0440\":\"1334\"},\"document\":{\"Date\":\"13.10.2026\",\"Number\":\"1334\"}}}","edit":true}} {"uid":"b4e1801"}
[2026-10-13 13:48:29] docflow.DEBUG: GAS raw response {"raw":"[object] (stdClass: {\"code\":1,\"url\":\"https://docs.google.com/open?id=15QXyaxNeqIZDUYyEqwq6vkpF3WgcMQkXXPA50e_FWCQ\",\"file_id\":\"15QXyaxNeqIZDUYyEqwq6vkpF3WgcMQkXXPA50e_FWCQ\",\"error\":\"\",\"vars\":\"\"})"} {"uid":"b4e1801"}
[2026-10-13 13:48:29] docflow.WARNING: AmoDrive generated-file move is not ready. {"fileId":"15QXyaxNeqIZDUYyEqwq6vkpF3WgcMQkXXPA50e_FWCQ","context":null} {"uid":"b4e1801"}
[2026-10-13 13:52:34] docflow.INFO: Apel createDoc {"data":{"amoAccountId":"32990686","amoUserId":null,"amoEntityId":"42870591","amoEntityType":"2","templateId":"11646","corporateEntityId":"","settlementAccountId":"","is_signed":null,"gdi":null,"number":null,"currentAmoUserId":null,"lang":"ru"}} {"uid":"271595e"}
[2026-10-13 13:52:34] docflow.INFO: Token is valid for account 32990686. [] {"uid":"271595e"}
[2026-10-13 13:52:34] docflow.DEBUG: getClientAuth returned {"auth":"[object] (stdClass: {\"domain\":\"eurosanteh.amocrm.ru\",\"access_token\":\"eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImp0aSI6ImZkYzJlZjI1ODliMzhkZDRlNWMyMTNiYWUxZmY4MjhiOWExMjkwZjVlMjlmMDYzNWM4YmZkYzZiYjY3YjY0OTlmODNiMTJlNjYwMTFmMTVkIn0.eyJhdWQiOiIwZDY0ZGZmYi1lNTRiLTQ0OGYtOWZiZi1iYWYyMjUxYTExZGIiLCJqdGkiOiJmZGMyZWYyNTg5YjM4ZGQ0ZTVjMjEzYmFlMWZmODI4YjlhMTI5MGY1ZTI5ZjA2MzVjOGJmZGM2YmI2N2I2NDk5ZjgzYjEyZTY2MDExZjE1ZCIsImlhdCI6MTc5MTg4ODQ5NiwibmJmIjoxNzkxODg4NDk2LCJleHAiOjE3OTE5NzQ4OTYsInN1YiI6IjEzNjg3MzAyIiwiZ3JhbnRfdHlwZSI6IiIsImFjY291bnRfaWQiOjMyOTkwNjg2LCJiYXNlX2RvbWFpbiI6ImFtb2NybS5ydSIsInZlcnNpb24iOjIsInNjb3BlcyI6WyJwdXNoX25vdGlmaWNhdGlvbnMiLCJjcm0iLCJub3RpZmljYXRpb25zIl0sImhhc2hfdXVpZCI6IjVhMDU5ZmZiLTkyNGQtNDJhOC1hM2JmLTdiNzY2ZTUyNGQ3NyIsImFwaV9kb21haW4iOiJhcGktYi5hbW9jcm0ucnUifQ.DGUrEprnD9vYQ6273M6iSKzWOcEga9BmbE1vbzIv_pQCn9nvv0dA2PsWAGGFwmyLgtGnG4LGLwtWrOoWSZ9kYFujloT8JcP6mkFlPllYxpp72mKFKDTJ3BjnQ86tu5NqqP7phhMRmm-MpC9xxJjvZ_w454SKjwnPH7bHxPY96qVwps-3CwtO3LBZpPwTcFvPHLKBfG1WyHBe_ML8pOJNgJMg8CxBTVtygz3q6J_xh_lCEGMiIbTsfia5BPY8rU4cUNGFrkv2ebtbbV7WD8E74oIi2fdCh5FIn3jzXxnN5k8GsAuFn0eG-VAF_u7MCEkOxOHAL6a5cZ4jqsFxbbdAzg\"})","file":"/home/ytvmclwh/document.amocrm.md/src/Models/Docs.php","line":121} {"uid":"271595e"}
[2026-10-13 13:52:38] docflow.DEBUG: AmoDrive docflow context request {"url":"https://google.emale.uno/api/docflow/google-context","query":{"account_id":"32990686","entity_id":"42870591","entity_type":"leads"}} {"uid":"271595e"}
[2026-10-13 13:52:38] docflow.WARNING: AmoDrive docflow context request failed {"url":"https://google.emale.uno/api/docflow/google-context","http_code":null,"error":"HTTP/2 400 ","response":"<!DOCTYPE HTML PUBLIC \"-//IETF//DTD HTML 2.0//EN\">\r\n<html>\r\n<head><title>400 Bad Request</title></head>\r\n<body>\r\n<center><h1>400 Bad Request</h1></center>\r\n Sorry for the inconvenience.<br/>\r\nPlease report this message and include the following information to us.<br/>\r\nThank you very much!</p>\r\n<table>\r\n<tr>\r\n<td>URL:</td>\r\n<td>https://gd.glucose-dev.online/api/docflow/google-context?account_id=32990686&amp;entity_id=42870591&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/13 13:52:38</td>\r\n</tr>\r\n</table>\r\n<hr><center>tengine</center>\r\n</body>\r\n</html>\r\n"} {"uid":"271595e"}
[2026-10-13 13:52:38] docflow.DEBUG: AmoDrive docflow context request {"url":"https://gd.glucose-dev.online/api/docflow/google-context","query":{"account_id":"32990686","entity_id":"42870591","entity_type":"leads"}} {"uid":"271595e"}
[2026-10-13 13:52:38] docflow.WARNING: AmoDrive docflow context response is not ready, trying next backend. {"url":"https://gd.glucose-dev.online/api/docflow/google-context","payload":{"ok":true,"accountId":32990686,"entityId":"42870591","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":"271595e"}
[2026-10-13 13:52:38] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://google.emale.uno/api/docflow/prepare-generated-doc","payload":{"account_id":"32990686","entity_id":"42870591","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"271595e"}
[2026-10-13 13:52: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/13 13:52:38</td>\r\n</tr>\r\n</table>\r\n<hr><center>tengine</center>\r\n</body>\r\n</html>\r\n","payload":{"account_id":"32990686","entity_id":"42870591","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"271595e"}
[2026-10-13 13:52:38] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://gd.glucose-dev.online/api/docflow/prepare-generated-doc","payload":{"account_id":"32990686","entity_id":"42870591","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"271595e"}
[2026-10-13 13:52:38] docflow.WARNING: AmoDrive prepare-generated-doc request failed {"url":"https://gd.glucose-dev.online/api/docflow/prepare-generated-doc","http_code":null,"error":"HTTP/2 404 ","response":"[object] (stdClass: {\"ok\":false,\"error\":\"AmoDrive is not installed for this account.\",\"accountId\":32990686})","payload":{"account_id":"32990686","entity_id":"42870591","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"271595e"}
[2026-10-13 13:52:38] docflow.DEBUG: GAS request {"url":"https://script.google.com/macros/s/AKfycbwrvOJD46zkuoTzdhpc1kulhV8jRfgQBFZfQ121nkIip_k8yKit4xrbWTOzaJ-C-Yed6w/exec","body":{"templateFileId":"1ISSW7q2any2Qldkh8ZtwiERwaib6ci11XCezBMQIcRU","accountId":"32990686","folderId":"1Us2AfskxgdA729xVr0F2vjZU9y5PlYDe","key":"~VTsK5dcnHc2cSSsjM$LFSjLlgbmJXwrp3R2P5nd","data":"{\"fileName\":\"Act primire predare new All for All 1334 20261013135238\",\"leadId\":\"42870591\",\"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-14 17:19:00\",\"\\u0414\\u0430\\u0442\\u0430 \\u0432\\u0438\\u0437\\u0438\\u0442\\u0430\":\"14.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\":\"\\u0417\\u0430\\u043f\\u0440\\u0430\\u0432\\u043a\\u0430 \\u0445\\u043b\\u0430\\u0434\\u0430\\u0433\\u0435\\u043d\\u0442\\u043e\\u043c, \\u0420\\u0435\\u043c\\u043e\\u043d\\u0442 \\u044d\\u043b\\u0435\\u043a\\u0442\\u0440\\u043e\\u043d\\u043d\\u044b\\u0445 \\u044d\\u043b\\u0435\\u043c\\u0435\\u043d\\u0442\\u043e\\u0432 \\u0443\\u043f\\u0440\\u0430\\u0432\\u043b\\u0435\\u043d\\u0438\\u044f\",\"\\u041c\\u043e\\u0434\\u0435\\u043b\\u044c \\u043e\\u0431\\u043e\\u0440\\u0443\\u0434\\u043e\\u0432\\u0430\\u043d\\u0438\\u044f 1\":\"Haier Pearl  50\",\"ID\":\"42870591\",\"\\u0421\\u0434\\u0435\\u043b\\u043a\\u0430_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"\\u0437\\u0430\\u043f\\u0440\\u0430\\u0432\\u043a\\u0430 \\u0438 \\u0437\\u0430\\u043c\\u0435\\u043d\\u0430 \\u0432\\u0435\\u043d\\u0442\\u0438\\u043b\\u044f\\u0442\\u043e\\u0440\\u0430\",\"Lead_name\":\"\\u0437\\u0430\\u043f\\u0440\\u0430\\u0432\\u043a\\u0430 \\u0438 \\u0437\\u0430\\u043c\\u0435\\u043d\\u0430 \\u0432\\u0435\\u043d\\u0442\\u0438\\u043b\\u044f\\u0442\\u043e\\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\":{\"\\u0414\\u0430\\u0442\\u0430 \\u0438 \\u0432\\u0440\\u0435\\u043c\\u044f \\u0432\\u0438\\u0437\\u0438\\u0442\\u0430\":\"2026-10-14 17:19:00\",\"\\u0414\\u0430\\u0442\\u0430 \\u0432\\u0438\\u0437\\u0438\\u0442\\u0430\":\"14.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\":\"\\u0417\\u0430\\u043f\\u0440\\u0430\\u0432\\u043a\\u0430 \\u0445\\u043b\\u0430\\u0434\\u0430\\u0433\\u0435\\u043d\\u0442\\u043e\\u043c, \\u0420\\u0435\\u043c\\u043e\\u043d\\u0442 \\u044d\\u043b\\u0435\\u043a\\u0442\\u0440\\u043e\\u043d\\u043d\\u044b\\u0445 \\u044d\\u043b\\u0435\\u043c\\u0435\\u043d\\u0442\\u043e\\u0432 \\u0443\\u043f\\u0440\\u0430\\u0432\\u043b\\u0435\\u043d\\u0438\\u044f\",\"\\u041c\\u043e\\u0434\\u0435\\u043b\\u044c \\u043e\\u0431\\u043e\\u0440\\u0443\\u0434\\u043e\\u0432\\u0430\\u043d\\u0438\\u044f 1\":\"Haier Pearl  50\",\"ID\":\"42870591\",\"\\u0421\\u0434\\u0435\\u043b\\u043a\\u0430_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"\\u0437\\u0430\\u043f\\u0440\\u0430\\u0432\\u043a\\u0430 \\u0438 \\u0437\\u0430\\u043c\\u0435\\u043d\\u0430 \\u0432\\u0435\\u043d\\u0442\\u0438\\u043b\\u044f\\u0442\\u043e\\u0440\\u0430\",\"Lead_name\":\"\\u0437\\u0430\\u043f\\u0440\\u0430\\u0432\\u043a\\u0430 \\u0438 \\u0437\\u0430\\u043c\\u0435\\u043d\\u0430 \\u0432\\u0435\\u043d\\u0442\\u0438\\u043b\\u044f\\u0442\\u043e\\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\\u043c\\u044f \\u043a\\u043b\\u0438\\u0435\\u043d\\u0442\\u0430 (\\u0421\\u041c\\u0421)\":\"Culai\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"37369241886\",\"\\u0410\\u0434\\u0440\\u0435\\u0441\":\"Singera\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Culai\",\"Contact_name\":\"Culai\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"\\u0410\\u0441\\u0442\\u0430\\u043f\\u0435\\u043d\\u043a\\u043e\\u0432\\u0430 \\u042e\\u043b\\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)\":\"Culai\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"37369241886\",\"\\u0410\\u0434\\u0440\\u0435\\u0441\":\"Singera\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Culai\",\"Contact_name\":\"Culai\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"\\u0410\\u0441\\u0442\\u0430\\u043f\\u0435\\u043d\\u043a\\u043e\\u0432\\u0430 \\u042e\\u043b\\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)\":\"Culai\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"37369241886\",\"\\u0410\\u0434\\u0440\\u0435\\u0441\":\"Singera\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Culai\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\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\":\"13.10.2026\",\"\\u041d\\u043e\\u043c\\u0435\\u0440\":\"1334\"},\"document\":{\"Date\":\"13.10.2026\",\"Number\":\"1334\"}}}","edit":true}} {"uid":"271595e"}
[2026-10-13 13:52:44] docflow.DEBUG: GAS raw response {"raw":"[object] (stdClass: {\"code\":1,\"url\":\"https://docs.google.com/open?id=1fwrke_wfaLAgh940ncH64xTlyjiDPIJWdpgaTxubLPI\",\"file_id\":\"1fwrke_wfaLAgh940ncH64xTlyjiDPIJWdpgaTxubLPI\",\"error\":\"\",\"vars\":\"\"})"} {"uid":"271595e"}
[2026-10-13 13:52:44] docflow.WARNING: AmoDrive generated-file move is not ready. {"fileId":"1fwrke_wfaLAgh940ncH64xTlyjiDPIJWdpgaTxubLPI","context":null} {"uid":"271595e"}
[2026-10-13 13:54:54] docflow.INFO: Apel createDoc {"data":{"amoAccountId":"22699852","amoUserId":null,"amoEntityId":"42843532","amoEntityType":"2","templateId":"11484","corporateEntityId":"","settlementAccountId":"","is_signed":null,"gdi":null,"number":null,"currentAmoUserId":null,"lang":"ru"}} {"uid":"3fb6146"}
[2026-10-13 13:54:54] docflow.INFO: Token is valid for account 22699852. [] {"uid":"3fb6146"}
[2026-10-13 13:54:54] docflow.DEBUG: getClientAuth returned {"auth":"[object] (stdClass: {\"domain\":\"emigrare.amocrm.ru\",\"access_token\":\"eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImp0aSI6IjA5Zjk3NjIwZWVhZDQ5MTk1YzAzMjExYWQzZWMwNWFmODMzOTAyYzkwNDUxYThhMDRlNWI2NGZhZTg5ODk0NGM0NzIxZWFiYTAwYWRmNGY1In0.eyJhdWQiOiIwZDY0ZGZmYi1lNTRiLTQ0OGYtOWZiZi1iYWYyMjUxYTExZGIiLCJqdGkiOiIwOWY5NzYyMGVlYWQ0OTE5NWMwMzIxMWFkM2VjMDVhZjgzMzkwMmM5MDQ1MWE4YTA0ZTViNjRmYWU4OTg5NDRjNDcyMWVhYmEwMGFkZjRmNSIsImlhdCI6MTc5MTg3NTcxNCwibmJmIjoxNzkxODc1NzE0LCJleHAiOjE3OTE5NjIxMTQsInN1YiI6IjI5MzAzODAiLCJncmFudF90eXBlIjoiIiwiYWNjb3VudF9pZCI6MjI2OTk4NTIsImJhc2VfZG9tYWluIjoiYW1vY3JtLnJ1IiwidmVyc2lvbiI6Miwic2NvcGVzIjpbInB1c2hfbm90aWZpY2F0aW9ucyIsImNybSIsIm5vdGlmaWNhdGlvbnMiXSwiaGFzaF91dWlkIjoiZjhhNDRkOTgtMTRlNS00OTcxLTllMGEtNTRhZDY5OGQyYmQ4IiwiYXBpX2RvbWFpbiI6ImFwaS1hLmFtb2NybS5ydSJ9.NBJbkjpQVkql6RIh0lb5_KN4a3HryxJWNmjqTpgN1z5_38BKNZZYuaLC3jSuifBhZ1bpvGNOvdij0i0pQgyxhOaT9bZBjt_vLr-92V395z4ycsTFsK62KSDyZ-lAic98RxsqiX1xzPrdIi7NEXKX9Ls1ZHz0dwCgMJC2czZsigpjSEG0ErTZNdfsZrz00lM5F7cYbWP1m6JO78QBQJmrF_fRwFLiWGm9epjs7WmHTq4gO0Ski6-09ZTgjUIdj0zk6kP0vuWPHu9bZb8EP2IglQ0UjVN2AuacD9jBZvwt8Z6Q3TPnOEJaD0MJgiSlBcFs7wQ2ueorh3T8wV5cwy3VIA\"})","file":"/home/ytvmclwh/document.amocrm.md/src/Models/Docs.php","line":121} {"uid":"3fb6146"}
[2026-10-13 13:54:56] docflow.DEBUG: AmoDrive docflow context request {"url":"https://google.emale.uno/api/docflow/google-context","query":{"account_id":"22699852","entity_id":"42843532","entity_type":"leads"}} {"uid":"3fb6146"}
[2026-10-13 13:54:56] docflow.WARNING: AmoDrive docflow context request failed {"url":"https://google.emale.uno/api/docflow/google-context","http_code":null,"error":"HTTP/2 400 ","response":"<!DOCTYPE HTML PUBLIC \"-//IETF//DTD HTML 2.0//EN\">\r\n<html>\r\n<head><title>400 Bad Request</title></head>\r\n<body>\r\n<center><h1>400 Bad Request</h1></center>\r\n Sorry for the inconvenience.<br/>\r\nPlease report this message and include the following information to us.<br/>\r\nThank you very much!</p>\r\n<table>\r\n<tr>\r\n<td>URL:</td>\r\n<td>https://gd.glucose-dev.online/api/docflow/google-context?account_id=22699852&amp;entity_id=42843532&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/13 13:54:56</td>\r\n</tr>\r\n</table>\r\n<hr><center>tengine</center>\r\n</body>\r\n</html>\r\n"} {"uid":"3fb6146"}
[2026-10-13 13:54:56] docflow.DEBUG: AmoDrive docflow context request {"url":"https://gd.glucose-dev.online/api/docflow/google-context","query":{"account_id":"22699852","entity_id":"42843532","entity_type":"leads"}} {"uid":"3fb6146"}
[2026-10-13 13:54:56] docflow.WARNING: AmoDrive docflow context response is not ready, trying next backend. {"url":"https://gd.glucose-dev.online/api/docflow/google-context","payload":{"ok":true,"accountId":22699852,"entityId":"42843532","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":311,"isLifetime":false},"licenseActive":false,"googleConnected":false,"googleEmail":null,"googleHasDriveScope":false,"googleHasDriveFileScope":false,"googleHasOwnershipScope":false,"readyForGeneratedFileMove":false,"readyForTransfer":false},"folder":{"id":"1fSo7zoap129qqIGgHGjp_FpVVnYpO11S","name":"42843532 - Lead #42843532","webViewLink":"https://drive.google.com/drive/folders/1fSo7zoap129qqIGgHGjp_FpVVnYpO11S"}}} {"uid":"3fb6146"}
[2026-10-13 13:54:56] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://google.emale.uno/api/docflow/prepare-generated-doc","payload":{"account_id":"22699852","entity_id":"42843532","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"3fb6146"}
[2026-10-13 13:54: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/13 13:54: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":"42843532","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"3fb6146"}
[2026-10-13 13:54: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":"42843532","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"3fb6146"}
[2026-10-13 13:54: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":"42843532","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"3fb6146"}
[2026-10-13 13:54:57] docflow.DEBUG: GAS request {"url":"https://script.google.com/macros/s/AKfycbwrvOJD46zkuoTzdhpc1kulhV8jRfgQBFZfQ121nkIip_k8yKit4xrbWTOzaJ-C-Yed6w/exec","body":{"templateFileId":"1Dq2kaNUB1wMt7fRlggu4aCHqJdBiDmrUIK8fJ9NHVNo","accountId":"22699852","folderId":"1Us2AfskxgdA729xVr0F2vjZU9y5PlYDe","key":"~VTsK5dcnHc2cSSsjM$LFSjLlgbmJXwrp3R2P5nd","data":"{\"fileName\":\"PS 951 20261013135456\",\"leadId\":\"42843532\",\"entities\":{\"\\u0441\\u0434\\u0435\\u043b\\u043a\\u0430\":{\"#Manager Front\":\"Capanji Igor\",\"ID\":\"42843532\",\"\\u0421\\u0434\\u0435\\u043b\\u043a\\u0430_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"prelungire PS\",\"Lead_name\":\"prelungire PS\",\"\\u0411\\u044e\\u0434\\u0436\\u0435\\u0442\":\"6000\",\"Budget\":\"6000\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"Capanji Igor\",\"Responsible\":\"Capanji Igor\"},\"lead\":{\"#Manager Front\":\"Capanji Igor\",\"ID\":\"42843532\",\"\\u0421\\u0434\\u0435\\u043b\\u043a\\u0430_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"prelungire PS\",\"Lead_name\":\"prelungire PS\",\"\\u0411\\u044e\\u0434\\u0436\\u0435\\u0442\":\"6000\",\"Budget\":\"6000\",\"\\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\":\"37379873690\",\"Email\":\"jeffrey.tinius@gmail.com\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Natalia\",\"Contact_name\":\"Natalia\",\"\\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\":\"37379873690\",\"Email\":\"jeffrey.tinius@gmail.com\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Natalia\",\"Contact_name\":\"Natalia\",\"\\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\":\"37379873690\",\"Email\":\"jeffrey.tinius@gmail.com\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Natalia\",\"\\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\":\"13.10.2026\",\"\\u041d\\u043e\\u043c\\u0435\\u0440\":\"951\"},\"document\":{\"Date\":\"13.10.2026\",\"Number\":\"951\"}}}","edit":true}} {"uid":"3fb6146"}
[2026-10-13 13:55:04] docflow.DEBUG: GAS raw response {"raw":"[object] (stdClass: {\"code\":1,\"url\":\"https://docs.google.com/open?id=1CvPYaaVfiF8pFyWx-NJiTVqnkPFuuKLgRnIWUGFTssg\",\"file_id\":\"1CvPYaaVfiF8pFyWx-NJiTVqnkPFuuKLgRnIWUGFTssg\",\"error\":\"\",\"vars\":\"\"})"} {"uid":"3fb6146"}
[2026-10-13 13:55:04] docflow.WARNING: AmoDrive generated-file move is not ready. {"fileId":"1CvPYaaVfiF8pFyWx-NJiTVqnkPFuuKLgRnIWUGFTssg","context":null} {"uid":"3fb6146"}
[2026-10-13 13:55:37] docflow.INFO: Apel createDoc {"data":{"amoAccountId":"22699852","amoUserId":null,"amoEntityId":"42843532","amoEntityType":"2","templateId":"11500","corporateEntityId":"","settlementAccountId":"","is_signed":null,"gdi":null,"number":null,"currentAmoUserId":null,"lang":"ru"}} {"uid":"1f3c135"}
[2026-10-13 13:55:38] docflow.INFO: Token is valid for account 22699852. [] {"uid":"1f3c135"}
[2026-10-13 13:55:38] docflow.DEBUG: getClientAuth returned {"auth":"[object] (stdClass: {\"domain\":\"emigrare.amocrm.ru\",\"access_token\":\"eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImp0aSI6IjA5Zjk3NjIwZWVhZDQ5MTk1YzAzMjExYWQzZWMwNWFmODMzOTAyYzkwNDUxYThhMDRlNWI2NGZhZTg5ODk0NGM0NzIxZWFiYTAwYWRmNGY1In0.eyJhdWQiOiIwZDY0ZGZmYi1lNTRiLTQ0OGYtOWZiZi1iYWYyMjUxYTExZGIiLCJqdGkiOiIwOWY5NzYyMGVlYWQ0OTE5NWMwMzIxMWFkM2VjMDVhZjgzMzkwMmM5MDQ1MWE4YTA0ZTViNjRmYWU4OTg5NDRjNDcyMWVhYmEwMGFkZjRmNSIsImlhdCI6MTc5MTg3NTcxNCwibmJmIjoxNzkxODc1NzE0LCJleHAiOjE3OTE5NjIxMTQsInN1YiI6IjI5MzAzODAiLCJncmFudF90eXBlIjoiIiwiYWNjb3VudF9pZCI6MjI2OTk4NTIsImJhc2VfZG9tYWluIjoiYW1vY3JtLnJ1IiwidmVyc2lvbiI6Miwic2NvcGVzIjpbInB1c2hfbm90aWZpY2F0aW9ucyIsImNybSIsIm5vdGlmaWNhdGlvbnMiXSwiaGFzaF91dWlkIjoiZjhhNDRkOTgtMTRlNS00OTcxLTllMGEtNTRhZDY5OGQyYmQ4IiwiYXBpX2RvbWFpbiI6ImFwaS1hLmFtb2NybS5ydSJ9.NBJbkjpQVkql6RIh0lb5_KN4a3HryxJWNmjqTpgN1z5_38BKNZZYuaLC3jSuifBhZ1bpvGNOvdij0i0pQgyxhOaT9bZBjt_vLr-92V395z4ycsTFsK62KSDyZ-lAic98RxsqiX1xzPrdIi7NEXKX9Ls1ZHz0dwCgMJC2czZsigpjSEG0ErTZNdfsZrz00lM5F7cYbWP1m6JO78QBQJmrF_fRwFLiWGm9epjs7WmHTq4gO0Ski6-09ZTgjUIdj0zk6kP0vuWPHu9bZb8EP2IglQ0UjVN2AuacD9jBZvwt8Z6Q3TPnOEJaD0MJgiSlBcFs7wQ2ueorh3T8wV5cwy3VIA\"})","file":"/home/ytvmclwh/document.amocrm.md/src/Models/Docs.php","line":121} {"uid":"1f3c135"}
[2026-10-13 13:55:40] docflow.DEBUG: AmoDrive docflow context request {"url":"https://google.emale.uno/api/docflow/google-context","query":{"account_id":"22699852","entity_id":"42843532","entity_type":"leads"}} {"uid":"1f3c135"}
[2026-10-13 13:55: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=42843532&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/13 13:55:40</td>\r\n</tr>\r\n</table>\r\n<hr><center>tengine</center>\r\n</body>\r\n</html>\r\n"} {"uid":"1f3c135"}
[2026-10-13 13:55:40] docflow.DEBUG: AmoDrive docflow context request {"url":"https://gd.glucose-dev.online/api/docflow/google-context","query":{"account_id":"22699852","entity_id":"42843532","entity_type":"leads"}} {"uid":"1f3c135"}
[2026-10-13 13:55: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":"42843532","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":311,"isLifetime":false},"licenseActive":false,"googleConnected":false,"googleEmail":null,"googleHasDriveScope":false,"googleHasDriveFileScope":false,"googleHasOwnershipScope":false,"readyForGeneratedFileMove":false,"readyForTransfer":false},"folder":{"id":"1fSo7zoap129qqIGgHGjp_FpVVnYpO11S","name":"42843532 - Lead #42843532","webViewLink":"https://drive.google.com/drive/folders/1fSo7zoap129qqIGgHGjp_FpVVnYpO11S"}}} {"uid":"1f3c135"}
[2026-10-13 13:55:40] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://google.emale.uno/api/docflow/prepare-generated-doc","payload":{"account_id":"22699852","entity_id":"42843532","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"1f3c135"}
[2026-10-13 13:55: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/13 13:55: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":"42843532","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"1f3c135"}
[2026-10-13 13:55: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":"42843532","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"1f3c135"}
[2026-10-13 13:55: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":"42843532","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"1f3c135"}
[2026-10-13 13:55:40] docflow.DEBUG: GAS request {"url":"https://script.google.com/macros/s/AKfycbwrvOJD46zkuoTzdhpc1kulhV8jRfgQBFZfQ121nkIip_k8yKit4xrbWTOzaJ-C-Yed6w/exec","body":{"templateFileId":"18-Wrinvrr35El29pFxxTVtyiAztMcc3cfD-_ziIujqw","accountId":"22699852","folderId":"1Us2AfskxgdA729xVr0F2vjZU9y5PlYDe","key":"~VTsK5dcnHc2cSSsjM$LFSjLlgbmJXwrp3R2P5nd","data":"{\"fileName\":\"SRL 718 20261013135540\",\"leadId\":\"42843532\",\"entities\":{\"\\u0441\\u0434\\u0435\\u043b\\u043a\\u0430\":{\"#Manager Front\":\"Capanji Igor\",\"ID\":\"42843532\",\"\\u0421\\u0434\\u0435\\u043b\\u043a\\u0430_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"prelung. PS (Jeffrey Tinius)\",\"Lead_name\":\"prelung. PS (Jeffrey Tinius)\",\"\\u0411\\u044e\\u0434\\u0436\\u0435\\u0442\":\"6000\",\"Budget\":\"6000\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"Capanji Igor\",\"Responsible\":\"Capanji Igor\"},\"lead\":{\"#Manager Front\":\"Capanji Igor\",\"ID\":\"42843532\",\"\\u0421\\u0434\\u0435\\u043b\\u043a\\u0430_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"prelung. PS (Jeffrey Tinius)\",\"Lead_name\":\"prelung. PS (Jeffrey Tinius)\",\"\\u0411\\u044e\\u0434\\u0436\\u0435\\u0442\":\"6000\",\"Budget\":\"6000\",\"\\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\":\"37379873690\",\"Email\":\"jeffrey.tinius@gmail.com\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Natalia\",\"Contact_name\":\"Natalia\",\"\\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\":\"37379873690\",\"Email\":\"jeffrey.tinius@gmail.com\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Natalia\",\"Contact_name\":\"Natalia\",\"\\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\":\"37379873690\",\"Email\":\"jeffrey.tinius@gmail.com\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Natalia\",\"\\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\":\"13.10.2026\",\"\\u041d\\u043e\\u043c\\u0435\\u0440\":\"718\"},\"document\":{\"Date\":\"13.10.2026\",\"Number\":\"718\"}}}","edit":true}} {"uid":"1f3c135"}
[2026-10-13 13:55:46] docflow.DEBUG: GAS raw response {"raw":"[object] (stdClass: {\"code\":1,\"url\":\"https://docs.google.com/open?id=1BqsDqqbhcrxIDcebgsUt76LANLQWosU4aP_vmRTN3lw\",\"file_id\":\"1BqsDqqbhcrxIDcebgsUt76LANLQWosU4aP_vmRTN3lw\",\"error\":\"\",\"vars\":\"\"})"} {"uid":"1f3c135"}
[2026-10-13 13:55:46] docflow.WARNING: AmoDrive generated-file move is not ready. {"fileId":"1BqsDqqbhcrxIDcebgsUt76LANLQWosU4aP_vmRTN3lw","context":null} {"uid":"1f3c135"}
[2026-10-13 14:10:10] docflow.INFO: Apel createDoc {"data":{"amoAccountId":"22699852","amoUserId":null,"amoEntityId":"42843532","amoEntityType":"2","templateId":"11499","corporateEntityId":"","settlementAccountId":"","is_signed":null,"gdi":null,"number":null,"currentAmoUserId":null,"lang":"ru"}} {"uid":"122d1b4"}
[2026-10-13 14:10:11] docflow.INFO: Token is valid for account 22699852. [] {"uid":"122d1b4"}
[2026-10-13 14:10:11] docflow.DEBUG: getClientAuth returned {"auth":"[object] (stdClass: {\"domain\":\"emigrare.amocrm.ru\",\"access_token\":\"eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImp0aSI6IjA5Zjk3NjIwZWVhZDQ5MTk1YzAzMjExYWQzZWMwNWFmODMzOTAyYzkwNDUxYThhMDRlNWI2NGZhZTg5ODk0NGM0NzIxZWFiYTAwYWRmNGY1In0.eyJhdWQiOiIwZDY0ZGZmYi1lNTRiLTQ0OGYtOWZiZi1iYWYyMjUxYTExZGIiLCJqdGkiOiIwOWY5NzYyMGVlYWQ0OTE5NWMwMzIxMWFkM2VjMDVhZjgzMzkwMmM5MDQ1MWE4YTA0ZTViNjRmYWU4OTg5NDRjNDcyMWVhYmEwMGFkZjRmNSIsImlhdCI6MTc5MTg3NTcxNCwibmJmIjoxNzkxODc1NzE0LCJleHAiOjE3OTE5NjIxMTQsInN1YiI6IjI5MzAzODAiLCJncmFudF90eXBlIjoiIiwiYWNjb3VudF9pZCI6MjI2OTk4NTIsImJhc2VfZG9tYWluIjoiYW1vY3JtLnJ1IiwidmVyc2lvbiI6Miwic2NvcGVzIjpbInB1c2hfbm90aWZpY2F0aW9ucyIsImNybSIsIm5vdGlmaWNhdGlvbnMiXSwiaGFzaF91dWlkIjoiZjhhNDRkOTgtMTRlNS00OTcxLTllMGEtNTRhZDY5OGQyYmQ4IiwiYXBpX2RvbWFpbiI6ImFwaS1hLmFtb2NybS5ydSJ9.NBJbkjpQVkql6RIh0lb5_KN4a3HryxJWNmjqTpgN1z5_38BKNZZYuaLC3jSuifBhZ1bpvGNOvdij0i0pQgyxhOaT9bZBjt_vLr-92V395z4ycsTFsK62KSDyZ-lAic98RxsqiX1xzPrdIi7NEXKX9Ls1ZHz0dwCgMJC2czZsigpjSEG0ErTZNdfsZrz00lM5F7cYbWP1m6JO78QBQJmrF_fRwFLiWGm9epjs7WmHTq4gO0Ski6-09ZTgjUIdj0zk6kP0vuWPHu9bZb8EP2IglQ0UjVN2AuacD9jBZvwt8Z6Q3TPnOEJaD0MJgiSlBcFs7wQ2ueorh3T8wV5cwy3VIA\"})","file":"/home/ytvmclwh/document.amocrm.md/src/Models/Docs.php","line":121} {"uid":"122d1b4"}
[2026-10-13 14:10:13] docflow.DEBUG: AmoDrive docflow context request {"url":"https://google.emale.uno/api/docflow/google-context","query":{"account_id":"22699852","entity_id":"42843532","entity_type":"leads"}} {"uid":"122d1b4"}
[2026-10-13 14: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=22699852&amp;entity_id=42843532&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/13 14:10:13</td>\r\n</tr>\r\n</table>\r\n<hr><center>tengine</center>\r\n</body>\r\n</html>\r\n"} {"uid":"122d1b4"}
[2026-10-13 14:10:13] docflow.DEBUG: AmoDrive docflow context request {"url":"https://gd.glucose-dev.online/api/docflow/google-context","query":{"account_id":"22699852","entity_id":"42843532","entity_type":"leads"}} {"uid":"122d1b4"}
[2026-10-13 14: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":22699852,"entityId":"42843532","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":311,"isLifetime":false},"licenseActive":false,"googleConnected":false,"googleEmail":null,"googleHasDriveScope":false,"googleHasDriveFileScope":false,"googleHasOwnershipScope":false,"readyForGeneratedFileMove":false,"readyForTransfer":false},"folder":{"id":"1fSo7zoap129qqIGgHGjp_FpVVnYpO11S","name":"42843532 - Lead #42843532","webViewLink":"https://drive.google.com/drive/folders/1fSo7zoap129qqIGgHGjp_FpVVnYpO11S"}}} {"uid":"122d1b4"}
[2026-10-13 14:10:13] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://google.emale.uno/api/docflow/prepare-generated-doc","payload":{"account_id":"22699852","entity_id":"42843532","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"122d1b4"}
[2026-10-13 14: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/13 14: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":"22699852","entity_id":"42843532","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"122d1b4"}
[2026-10-13 14:10:13] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://gd.glucose-dev.online/api/docflow/prepare-generated-doc","payload":{"account_id":"22699852","entity_id":"42843532","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"122d1b4"}
[2026-10-13 14: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\":22699852})","payload":{"account_id":"22699852","entity_id":"42843532","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"122d1b4"}
[2026-10-13 14:10:13] 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  720 20261013141013\",\"leadId\":\"42843532\",\"entities\":{\"\\u0441\\u0434\\u0435\\u043b\\u043a\\u0430\":{\"#Manager Front\":\"Capanji Igor\",\"Urm\\u0103torul contact\":\"2026-10-13 13:57:00\",\"Mod achitare\":\"Cash\",\"Suma avans\":\"3000\",\"Manager Juridic\":\"Dascal Anatolie\",\"#Manager Jurist\":\"Dascal Anatolie\",\"ID\":\"42843532\",\"\\u0421\\u0434\\u0435\\u043b\\u043a\\u0430_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"prelung. PS (Jeffrey Tinius)\",\"Lead_name\":\"prelung. PS (Jeffrey Tinius)\",\"\\u0411\\u044e\\u0434\\u0436\\u0435\\u0442\":\"6000\",\"Budget\":\"6000\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"Capanji Igor\",\"Responsible\":\"Capanji Igor\"},\"lead\":{\"#Manager Front\":\"Capanji Igor\",\"Urm\\u0103torul contact\":\"2026-10-13 13:57:00\",\"Mod achitare\":\"Cash\",\"Suma avans\":\"3000\",\"Manager Juridic\":\"Dascal Anatolie\",\"#Manager Jurist\":\"Dascal Anatolie\",\"ID\":\"42843532\",\"\\u0421\\u0434\\u0435\\u043b\\u043a\\u0430_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"prelung. PS (Jeffrey Tinius)\",\"Lead_name\":\"prelung. PS (Jeffrey Tinius)\",\"\\u0411\\u044e\\u0434\\u0436\\u0435\\u0442\":\"6000\",\"Budget\":\"6000\",\"\\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\":\"37379873690\",\"Email\":\"jeffrey.tinius@gmail.com\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Natalia\",\"Contact_name\":\"Natalia\",\"\\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\":\"37379873690\",\"Email\":\"jeffrey.tinius@gmail.com\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Natalia\",\"Contact_name\":\"Natalia\",\"\\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\":\"37379873690\",\"Email\":\"jeffrey.tinius@gmail.com\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Natalia\",\"\\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\":\"13.10.2026\",\"\\u041d\\u043e\\u043c\\u0435\\u0440\":\"720\"},\"document\":{\"Date\":\"13.10.2026\",\"Number\":\"720\"}}}","edit":true}} {"uid":"122d1b4"}
[2026-10-13 14:10:23] docflow.DEBUG: GAS raw response {"raw":"[object] (stdClass: {\"code\":1,\"url\":\"https://docs.google.com/open?id=1BmF1czTIdHPkAopyDKFA7UVqinNCmoVEolX1VvwsLHk\",\"file_id\":\"1BmF1czTIdHPkAopyDKFA7UVqinNCmoVEolX1VvwsLHk\",\"error\":\"\",\"vars\":\"\"})"} {"uid":"122d1b4"}
[2026-10-13 14:10:23] docflow.WARNING: AmoDrive generated-file move is not ready. {"fileId":"1BmF1czTIdHPkAopyDKFA7UVqinNCmoVEolX1VvwsLHk","context":null} {"uid":"122d1b4"}
[2026-10-13 14:19:22] docflow.INFO: Apel createDoc {"data":{"amoAccountId":"22699852","amoUserId":null,"amoEntityId":"42843176","amoEntityType":"2","templateId":"11500","corporateEntityId":"","settlementAccountId":"","is_signed":null,"gdi":null,"number":null,"currentAmoUserId":null,"lang":"ru"}} {"uid":"16ef480"}
[2026-10-13 14:19:23] docflow.INFO: Token is valid for account 22699852. [] {"uid":"16ef480"}
[2026-10-13 14:19:23] docflow.DEBUG: getClientAuth returned {"auth":"[object] (stdClass: {\"domain\":\"emigrare.amocrm.ru\",\"access_token\":\"eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImp0aSI6IjA5Zjk3NjIwZWVhZDQ5MTk1YzAzMjExYWQzZWMwNWFmODMzOTAyYzkwNDUxYThhMDRlNWI2NGZhZTg5ODk0NGM0NzIxZWFiYTAwYWRmNGY1In0.eyJhdWQiOiIwZDY0ZGZmYi1lNTRiLTQ0OGYtOWZiZi1iYWYyMjUxYTExZGIiLCJqdGkiOiIwOWY5NzYyMGVlYWQ0OTE5NWMwMzIxMWFkM2VjMDVhZjgzMzkwMmM5MDQ1MWE4YTA0ZTViNjRmYWU4OTg5NDRjNDcyMWVhYmEwMGFkZjRmNSIsImlhdCI6MTc5MTg3NTcxNCwibmJmIjoxNzkxODc1NzE0LCJleHAiOjE3OTE5NjIxMTQsInN1YiI6IjI5MzAzODAiLCJncmFudF90eXBlIjoiIiwiYWNjb3VudF9pZCI6MjI2OTk4NTIsImJhc2VfZG9tYWluIjoiYW1vY3JtLnJ1IiwidmVyc2lvbiI6Miwic2NvcGVzIjpbInB1c2hfbm90aWZpY2F0aW9ucyIsImNybSIsIm5vdGlmaWNhdGlvbnMiXSwiaGFzaF91dWlkIjoiZjhhNDRkOTgtMTRlNS00OTcxLTllMGEtNTRhZDY5OGQyYmQ4IiwiYXBpX2RvbWFpbiI6ImFwaS1hLmFtb2NybS5ydSJ9.NBJbkjpQVkql6RIh0lb5_KN4a3HryxJWNmjqTpgN1z5_38BKNZZYuaLC3jSuifBhZ1bpvGNOvdij0i0pQgyxhOaT9bZBjt_vLr-92V395z4ycsTFsK62KSDyZ-lAic98RxsqiX1xzPrdIi7NEXKX9Ls1ZHz0dwCgMJC2czZsigpjSEG0ErTZNdfsZrz00lM5F7cYbWP1m6JO78QBQJmrF_fRwFLiWGm9epjs7WmHTq4gO0Ski6-09ZTgjUIdj0zk6kP0vuWPHu9bZb8EP2IglQ0UjVN2AuacD9jBZvwt8Z6Q3TPnOEJaD0MJgiSlBcFs7wQ2ueorh3T8wV5cwy3VIA\"})","file":"/home/ytvmclwh/document.amocrm.md/src/Models/Docs.php","line":121} {"uid":"16ef480"}
[2026-10-13 14:19:25] docflow.DEBUG: AmoDrive docflow context request {"url":"https://google.emale.uno/api/docflow/google-context","query":{"account_id":"22699852","entity_id":"42843176","entity_type":"leads"}} {"uid":"16ef480"}
[2026-10-13 14:19:25] docflow.WARNING: AmoDrive docflow context request failed {"url":"https://google.emale.uno/api/docflow/google-context","http_code":null,"error":"HTTP/2 400 ","response":"<!DOCTYPE HTML PUBLIC \"-//IETF//DTD HTML 2.0//EN\">\r\n<html>\r\n<head><title>400 Bad Request</title></head>\r\n<body>\r\n<center><h1>400 Bad Request</h1></center>\r\n Sorry for the inconvenience.<br/>\r\nPlease report this message and include the following information to us.<br/>\r\nThank you very much!</p>\r\n<table>\r\n<tr>\r\n<td>URL:</td>\r\n<td>https://gd.glucose-dev.online/api/docflow/google-context?account_id=22699852&amp;entity_id=42843176&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/13 14:19:25</td>\r\n</tr>\r\n</table>\r\n<hr><center>tengine</center>\r\n</body>\r\n</html>\r\n"} {"uid":"16ef480"}
[2026-10-13 14:19:25] docflow.DEBUG: AmoDrive docflow context request {"url":"https://gd.glucose-dev.online/api/docflow/google-context","query":{"account_id":"22699852","entity_id":"42843176","entity_type":"leads"}} {"uid":"16ef480"}
[2026-10-13 14:19:25] docflow.WARNING: AmoDrive docflow context response is not ready, trying next backend. {"url":"https://gd.glucose-dev.online/api/docflow/google-context","payload":{"ok":true,"accountId":22699852,"entityId":"42843176","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":311,"isLifetime":false},"licenseActive":false,"googleConnected":false,"googleEmail":null,"googleHasDriveScope":false,"googleHasDriveFileScope":false,"googleHasOwnershipScope":false,"readyForGeneratedFileMove":false,"readyForTransfer":false},"folder":{"id":"1dnvKm2tZOLXxkrcP-OotpC9lcgDb62mU","name":"42843176 - Lead #42843176","webViewLink":"https://drive.google.com/drive/folders/1dnvKm2tZOLXxkrcP-OotpC9lcgDb62mU"}}} {"uid":"16ef480"}
[2026-10-13 14:19:25] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://google.emale.uno/api/docflow/prepare-generated-doc","payload":{"account_id":"22699852","entity_id":"42843176","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"16ef480"}
[2026-10-13 14:19:25] docflow.WARNING: AmoDrive prepare-generated-doc request failed {"url":"https://google.emale.uno/api/docflow/prepare-generated-doc","http_code":null,"error":"HTTP/2 400 ","response":"<!DOCTYPE HTML PUBLIC \"-//IETF//DTD HTML 2.0//EN\">\r\n<html>\r\n<head><title>400 Bad Request</title></head>\r\n<body>\r\n<center><h1>400 Bad Request</h1></center>\r\n Sorry for the inconvenience.<br/>\r\nPlease report this message and include the following information to us.<br/>\r\nThank you very much!</p>\r\n<table>\r\n<tr>\r\n<td>URL:</td>\r\n<td>https://gd.glucose-dev.online/api/docflow/prepare-generated-doc</td>\r\n</tr>\r\n<tr>\r\n<td>Server:</td>\r\n<td>mail.glucose-dev.online</td>\r\n</tr>\r\n<tr>\r\n<td>Date:</td>\r\n<td>2026/10/13 14:19:25</td>\r\n</tr>\r\n</table>\r\n<hr><center>tengine</center>\r\n</body>\r\n</html>\r\n","payload":{"account_id":"22699852","entity_id":"42843176","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"16ef480"}
[2026-10-13 14:19:25] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://gd.glucose-dev.online/api/docflow/prepare-generated-doc","payload":{"account_id":"22699852","entity_id":"42843176","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"16ef480"}
[2026-10-13 14:19:25] docflow.WARNING: AmoDrive prepare-generated-doc request failed {"url":"https://gd.glucose-dev.online/api/docflow/prepare-generated-doc","http_code":null,"error":"HTTP/2 404 ","response":"[object] (stdClass: {\"ok\":false,\"error\":\"AmoDrive is not installed for this account.\",\"accountId\":22699852})","payload":{"account_id":"22699852","entity_id":"42843176","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"16ef480"}
[2026-10-13 14:19:25] docflow.DEBUG: GAS request {"url":"https://script.google.com/macros/s/AKfycbwrvOJD46zkuoTzdhpc1kulhV8jRfgQBFZfQ121nkIip_k8yKit4xrbWTOzaJ-C-Yed6w/exec","body":{"templateFileId":"18-Wrinvrr35El29pFxxTVtyiAztMcc3cfD-_ziIujqw","accountId":"22699852","folderId":"1Us2AfskxgdA729xVr0F2vjZU9y5PlYDe","key":"~VTsK5dcnHc2cSSsjM$LFSjLlgbmJXwrp3R2P5nd","data":"{\"fileName\":\"SRL 719 20261013141925\",\"leadId\":\"42843176\",\"entities\":{\"\\u0441\\u0434\\u0435\\u043b\\u043a\\u0430\":{\"ID\":\"42843176\",\"\\u0421\\u0434\\u0435\\u043b\\u043a\\u0430_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Transcriere CN RO\",\"Lead_name\":\"Transcriere CN RO\",\"\\u0411\\u044e\\u0434\\u0436\\u0435\\u0442\":\"300\",\"Budget\":\"300\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"Cezara Cenusa\",\"Responsible\":\"Cezara Cenusa\"},\"lead\":{\"ID\":\"42843176\",\"\\u0421\\u0434\\u0435\\u043b\\u043a\\u0430_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Transcriere CN RO\",\"Lead_name\":\"Transcriere CN RO\",\"\\u0411\\u044e\\u0434\\u0436\\u0435\\u0442\":\"300\",\"Budget\":\"300\",\"\\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\":\"37360928019\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Victoria Topalo\",\"Contact_name\":\"Victoria Topalo\",\"\\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\":\"37360928019\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Victoria Topalo\",\"Contact_name\":\"Victoria Topalo\",\"\\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\":\"37360928019\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Victoria Topalo\",\"\\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\":\"13.10.2026\",\"\\u041d\\u043e\\u043c\\u0435\\u0440\":\"719\"},\"document\":{\"Date\":\"13.10.2026\",\"Number\":\"719\"}}}","edit":true}} {"uid":"16ef480"}
[2026-10-13 14:19:33] docflow.DEBUG: GAS raw response {"raw":"[object] (stdClass: {\"code\":1,\"url\":\"https://docs.google.com/open?id=1FFImbLbbwZez81NiMsXRwMk04LvJ5yIqRT1z66voWm0\",\"file_id\":\"1FFImbLbbwZez81NiMsXRwMk04LvJ5yIqRT1z66voWm0\",\"error\":\"\",\"vars\":\"\"})"} {"uid":"16ef480"}
[2026-10-13 14:19:33] docflow.WARNING: AmoDrive generated-file move is not ready. {"fileId":"1FFImbLbbwZez81NiMsXRwMk04LvJ5yIqRT1z66voWm0","context":null} {"uid":"16ef480"}
[2026-10-13 14:35:50] docflow.INFO: Apel createDoc {"data":{"amoAccountId":"22699852","amoUserId":null,"amoEntityId":"42777476","amoEntityType":"2","templateId":"11500","corporateEntityId":"","settlementAccountId":"","is_signed":null,"gdi":null,"number":null,"currentAmoUserId":null,"lang":"ru"}} {"uid":"40c5436"}
[2026-10-13 14:35:50] docflow.INFO: Token is valid for account 22699852. [] {"uid":"40c5436"}
[2026-10-13 14:35:50] docflow.DEBUG: getClientAuth returned {"auth":"[object] (stdClass: {\"domain\":\"emigrare.amocrm.ru\",\"access_token\":\"eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImp0aSI6IjA5Zjk3NjIwZWVhZDQ5MTk1YzAzMjExYWQzZWMwNWFmODMzOTAyYzkwNDUxYThhMDRlNWI2NGZhZTg5ODk0NGM0NzIxZWFiYTAwYWRmNGY1In0.eyJhdWQiOiIwZDY0ZGZmYi1lNTRiLTQ0OGYtOWZiZi1iYWYyMjUxYTExZGIiLCJqdGkiOiIwOWY5NzYyMGVlYWQ0OTE5NWMwMzIxMWFkM2VjMDVhZjgzMzkwMmM5MDQ1MWE4YTA0ZTViNjRmYWU4OTg5NDRjNDcyMWVhYmEwMGFkZjRmNSIsImlhdCI6MTc5MTg3NTcxNCwibmJmIjoxNzkxODc1NzE0LCJleHAiOjE3OTE5NjIxMTQsInN1YiI6IjI5MzAzODAiLCJncmFudF90eXBlIjoiIiwiYWNjb3VudF9pZCI6MjI2OTk4NTIsImJhc2VfZG9tYWluIjoiYW1vY3JtLnJ1IiwidmVyc2lvbiI6Miwic2NvcGVzIjpbInB1c2hfbm90aWZpY2F0aW9ucyIsImNybSIsIm5vdGlmaWNhdGlvbnMiXSwiaGFzaF91dWlkIjoiZjhhNDRkOTgtMTRlNS00OTcxLTllMGEtNTRhZDY5OGQyYmQ4IiwiYXBpX2RvbWFpbiI6ImFwaS1hLmFtb2NybS5ydSJ9.NBJbkjpQVkql6RIh0lb5_KN4a3HryxJWNmjqTpgN1z5_38BKNZZYuaLC3jSuifBhZ1bpvGNOvdij0i0pQgyxhOaT9bZBjt_vLr-92V395z4ycsTFsK62KSDyZ-lAic98RxsqiX1xzPrdIi7NEXKX9Ls1ZHz0dwCgMJC2czZsigpjSEG0ErTZNdfsZrz00lM5F7cYbWP1m6JO78QBQJmrF_fRwFLiWGm9epjs7WmHTq4gO0Ski6-09ZTgjUIdj0zk6kP0vuWPHu9bZb8EP2IglQ0UjVN2AuacD9jBZvwt8Z6Q3TPnOEJaD0MJgiSlBcFs7wQ2ueorh3T8wV5cwy3VIA\"})","file":"/home/ytvmclwh/document.amocrm.md/src/Models/Docs.php","line":121} {"uid":"40c5436"}
[2026-10-13 14:35:52] docflow.DEBUG: AmoDrive docflow context request {"url":"https://google.emale.uno/api/docflow/google-context","query":{"account_id":"22699852","entity_id":"42777476","entity_type":"leads"}} {"uid":"40c5436"}
[2026-10-13 14:35:52] docflow.WARNING: AmoDrive docflow context request failed {"url":"https://google.emale.uno/api/docflow/google-context","http_code":null,"error":"HTTP/2 400 ","response":"<!DOCTYPE HTML PUBLIC \"-//IETF//DTD HTML 2.0//EN\">\r\n<html>\r\n<head><title>400 Bad Request</title></head>\r\n<body>\r\n<center><h1>400 Bad Request</h1></center>\r\n Sorry for the inconvenience.<br/>\r\nPlease report this message and include the following information to us.<br/>\r\nThank you very much!</p>\r\n<table>\r\n<tr>\r\n<td>URL:</td>\r\n<td>https://gd.glucose-dev.online/api/docflow/google-context?account_id=22699852&amp;entity_id=42777476&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/13 14:35:52</td>\r\n</tr>\r\n</table>\r\n<hr><center>tengine</center>\r\n</body>\r\n</html>\r\n"} {"uid":"40c5436"}
[2026-10-13 14:35:52] docflow.DEBUG: AmoDrive docflow context request {"url":"https://gd.glucose-dev.online/api/docflow/google-context","query":{"account_id":"22699852","entity_id":"42777476","entity_type":"leads"}} {"uid":"40c5436"}
[2026-10-13 14:35:52] docflow.WARNING: AmoDrive docflow context response is not ready, trying next backend. {"url":"https://gd.glucose-dev.online/api/docflow/google-context","payload":{"ok":true,"accountId":22699852,"entityId":"42777476","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":311,"isLifetime":false},"licenseActive":false,"googleConnected":false,"googleEmail":null,"googleHasDriveScope":false,"googleHasDriveFileScope":false,"googleHasOwnershipScope":false,"readyForGeneratedFileMove":false,"readyForTransfer":false},"folder":{"id":"1axgvZtsfrPB2TzIC6FG4r_J6DDcM6JTC","name":"42777476 - Lead #42777476","webViewLink":"https://drive.google.com/drive/folders/1axgvZtsfrPB2TzIC6FG4r_J6DDcM6JTC"}}} {"uid":"40c5436"}
[2026-10-13 14:35:52] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://google.emale.uno/api/docflow/prepare-generated-doc","payload":{"account_id":"22699852","entity_id":"42777476","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"40c5436"}
[2026-10-13 14:35:52] docflow.WARNING: AmoDrive prepare-generated-doc request failed {"url":"https://google.emale.uno/api/docflow/prepare-generated-doc","http_code":null,"error":"HTTP/2 400 ","response":"<!DOCTYPE HTML PUBLIC \"-//IETF//DTD HTML 2.0//EN\">\r\n<html>\r\n<head><title>400 Bad Request</title></head>\r\n<body>\r\n<center><h1>400 Bad Request</h1></center>\r\n Sorry for the inconvenience.<br/>\r\nPlease report this message and include the following information to us.<br/>\r\nThank you very much!</p>\r\n<table>\r\n<tr>\r\n<td>URL:</td>\r\n<td>https://gd.glucose-dev.online/api/docflow/prepare-generated-doc</td>\r\n</tr>\r\n<tr>\r\n<td>Server:</td>\r\n<td>mail.glucose-dev.online</td>\r\n</tr>\r\n<tr>\r\n<td>Date:</td>\r\n<td>2026/10/13 14:35:52</td>\r\n</tr>\r\n</table>\r\n<hr><center>tengine</center>\r\n</body>\r\n</html>\r\n","payload":{"account_id":"22699852","entity_id":"42777476","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"40c5436"}
[2026-10-13 14:35:52] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://gd.glucose-dev.online/api/docflow/prepare-generated-doc","payload":{"account_id":"22699852","entity_id":"42777476","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"40c5436"}
[2026-10-13 14:35:52] docflow.WARNING: AmoDrive prepare-generated-doc request failed {"url":"https://gd.glucose-dev.online/api/docflow/prepare-generated-doc","http_code":null,"error":"HTTP/2 404 ","response":"[object] (stdClass: {\"ok\":false,\"error\":\"AmoDrive is not installed for this account.\",\"accountId\":22699852})","payload":{"account_id":"22699852","entity_id":"42777476","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"40c5436"}
[2026-10-13 14:35:52] 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 720 20261013143552\",\"leadId\":\"42777476\",\"entities\":{\"\\u0441\\u0434\\u0435\\u043b\\u043a\\u0430\":{\"Brand\":\"Emigrare.md\",\"Shema\":\"Emigrare\",\"Suma \\u20ac\":\"0\",\"tree_name\":\"Emigrare\",\"#Manager Front\":\"Capanji Igor\",\"ID\":\"42777476\",\"\\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\":\"Untila Dorina\",\"Responsible\":\"Untila Dorina\"},\"lead\":{\"Brand\":\"Emigrare.md\",\"Shema\":\"Emigrare\",\"Suma \\u20ac\":\"0\",\"tree_name\":\"Emigrare\",\"#Manager Front\":\"Capanji Igor\",\"ID\":\"42777476\",\"\\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\":\"Untila Dorina\",\"Responsible\":\"Untila Dorina\"},\"\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442\":{\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"4917662086750\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Alina Cebotari\",\"Contact_name\":\"Alina Cebotari\",\"\\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\":\"4917662086750\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Alina Cebotari\",\"Contact_name\":\"Alina Cebotari\",\"\\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\":\"4917662086750\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Alina Cebotari\",\"\\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\":\"13.10.2026\",\"\\u041d\\u043e\\u043c\\u0435\\u0440\":\"720\"},\"document\":{\"Date\":\"13.10.2026\",\"Number\":\"720\"}}}","edit":true}} {"uid":"40c5436"}
[2026-10-13 14:36:00] docflow.DEBUG: GAS raw response {"raw":"[object] (stdClass: {\"code\":1,\"url\":\"https://docs.google.com/open?id=1sFY1CBbk9nFgfxNVt-MWFlFsbhxk7FdcRhOw_BhDajc\",\"file_id\":\"1sFY1CBbk9nFgfxNVt-MWFlFsbhxk7FdcRhOw_BhDajc\",\"error\":\"\",\"vars\":\"\"})"} {"uid":"40c5436"}
[2026-10-13 14:36:00] docflow.WARNING: AmoDrive generated-file move is not ready. {"fileId":"1sFY1CBbk9nFgfxNVt-MWFlFsbhxk7FdcRhOw_BhDajc","context":null} {"uid":"40c5436"}
[2026-10-13 14:38:57] docflow.INFO: Apel createDoc {"data":{"amoAccountId":"22699852","amoUserId":null,"amoEntityId":"42777476","amoEntityType":"2","templateId":"11505","corporateEntityId":"","settlementAccountId":"","is_signed":null,"gdi":null,"number":null,"currentAmoUserId":null,"lang":"ru"}} {"uid":"9abf240"}
[2026-10-13 14:38:57] docflow.INFO: Token is valid for account 22699852. [] {"uid":"9abf240"}
[2026-10-13 14:38:57] docflow.DEBUG: getClientAuth returned {"auth":"[object] (stdClass: {\"domain\":\"emigrare.amocrm.ru\",\"access_token\":\"eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImp0aSI6IjA5Zjk3NjIwZWVhZDQ5MTk1YzAzMjExYWQzZWMwNWFmODMzOTAyYzkwNDUxYThhMDRlNWI2NGZhZTg5ODk0NGM0NzIxZWFiYTAwYWRmNGY1In0.eyJhdWQiOiIwZDY0ZGZmYi1lNTRiLTQ0OGYtOWZiZi1iYWYyMjUxYTExZGIiLCJqdGkiOiIwOWY5NzYyMGVlYWQ0OTE5NWMwMzIxMWFkM2VjMDVhZjgzMzkwMmM5MDQ1MWE4YTA0ZTViNjRmYWU4OTg5NDRjNDcyMWVhYmEwMGFkZjRmNSIsImlhdCI6MTc5MTg3NTcxNCwibmJmIjoxNzkxODc1NzE0LCJleHAiOjE3OTE5NjIxMTQsInN1YiI6IjI5MzAzODAiLCJncmFudF90eXBlIjoiIiwiYWNjb3VudF9pZCI6MjI2OTk4NTIsImJhc2VfZG9tYWluIjoiYW1vY3JtLnJ1IiwidmVyc2lvbiI6Miwic2NvcGVzIjpbInB1c2hfbm90aWZpY2F0aW9ucyIsImNybSIsIm5vdGlmaWNhdGlvbnMiXSwiaGFzaF91dWlkIjoiZjhhNDRkOTgtMTRlNS00OTcxLTllMGEtNTRhZDY5OGQyYmQ4IiwiYXBpX2RvbWFpbiI6ImFwaS1hLmFtb2NybS5ydSJ9.NBJbkjpQVkql6RIh0lb5_KN4a3HryxJWNmjqTpgN1z5_38BKNZZYuaLC3jSuifBhZ1bpvGNOvdij0i0pQgyxhOaT9bZBjt_vLr-92V395z4ycsTFsK62KSDyZ-lAic98RxsqiX1xzPrdIi7NEXKX9Ls1ZHz0dwCgMJC2czZsigpjSEG0ErTZNdfsZrz00lM5F7cYbWP1m6JO78QBQJmrF_fRwFLiWGm9epjs7WmHTq4gO0Ski6-09ZTgjUIdj0zk6kP0vuWPHu9bZb8EP2IglQ0UjVN2AuacD9jBZvwt8Z6Q3TPnOEJaD0MJgiSlBcFs7wQ2ueorh3T8wV5cwy3VIA\"})","file":"/home/ytvmclwh/document.amocrm.md/src/Models/Docs.php","line":121} {"uid":"9abf240"}
[2026-10-13 14:39:00] docflow.DEBUG: AmoDrive docflow context request {"url":"https://google.emale.uno/api/docflow/google-context","query":{"account_id":"22699852","entity_id":"42777476","entity_type":"leads"}} {"uid":"9abf240"}
[2026-10-13 14:39: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=42777476&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/13 14:39:00</td>\r\n</tr>\r\n</table>\r\n<hr><center>tengine</center>\r\n</body>\r\n</html>\r\n"} {"uid":"9abf240"}
[2026-10-13 14:39:00] docflow.DEBUG: AmoDrive docflow context request {"url":"https://gd.glucose-dev.online/api/docflow/google-context","query":{"account_id":"22699852","entity_id":"42777476","entity_type":"leads"}} {"uid":"9abf240"}
[2026-10-13 14:39: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":"42777476","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":311,"isLifetime":false},"licenseActive":false,"googleConnected":false,"googleEmail":null,"googleHasDriveScope":false,"googleHasDriveFileScope":false,"googleHasOwnershipScope":false,"readyForGeneratedFileMove":false,"readyForTransfer":false},"folder":{"id":"1axgvZtsfrPB2TzIC6FG4r_J6DDcM6JTC","name":"42777476 - Lead #42777476","webViewLink":"https://drive.google.com/drive/folders/1axgvZtsfrPB2TzIC6FG4r_J6DDcM6JTC"}}} {"uid":"9abf240"}
[2026-10-13 14:39:00] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://google.emale.uno/api/docflow/prepare-generated-doc","payload":{"account_id":"22699852","entity_id":"42777476","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"9abf240"}
[2026-10-13 14:39: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/13 14:39: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":"42777476","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"9abf240"}
[2026-10-13 14:39: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":"42777476","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"9abf240"}
[2026-10-13 14:39: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":"42777476","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"9abf240"}
[2026-10-13 14:39:00] 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) 37 20261013143900\",\"leadId\":\"42777476\",\"entities\":{\"\\u0441\\u0434\\u0435\\u043b\\u043a\\u0430\":{\"Brand\":\"Emigrare.md\",\"Shema\":\"Emigrare\",\"Suma \\u20ac\":\"0\",\"tree_name\":\"Emigrare\",\"#Manager Front\":\"Capanji Igor\",\"ID\":\"42777476\",\"\\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\":\"Untila Dorina\",\"Responsible\":\"Untila Dorina\"},\"lead\":{\"Brand\":\"Emigrare.md\",\"Shema\":\"Emigrare\",\"Suma \\u20ac\":\"0\",\"tree_name\":\"Emigrare\",\"#Manager Front\":\"Capanji Igor\",\"ID\":\"42777476\",\"\\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\":\"Untila Dorina\",\"Responsible\":\"Untila Dorina\"},\"\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442\":{\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"4917662086750\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Alina Cebotari\",\"Contact_name\":\"Alina Cebotari\",\"\\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\":\"4917662086750\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Alina Cebotari\",\"Contact_name\":\"Alina Cebotari\",\"\\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\":\"4917662086750\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Alina Cebotari\",\"\\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\":\"13.10.2026\",\"\\u041d\\u043e\\u043c\\u0435\\u0440\":\"37\"},\"document\":{\"Date\":\"13.10.2026\",\"Number\":\"37\"}}}","edit":true}} {"uid":"9abf240"}
[2026-10-13 14:39:05] docflow.DEBUG: GAS raw response {"raw":"[object] (stdClass: {\"code\":1,\"url\":\"https://docs.google.com/open?id=16J2v_U35psFeY8IseEF2EpfhbXWawpl_tEkoUZQ-R3M\",\"file_id\":\"16J2v_U35psFeY8IseEF2EpfhbXWawpl_tEkoUZQ-R3M\",\"error\":\"\",\"vars\":\"\"})"} {"uid":"9abf240"}
[2026-10-13 14:39:05] docflow.WARNING: AmoDrive generated-file move is not ready. {"fileId":"16J2v_U35psFeY8IseEF2EpfhbXWawpl_tEkoUZQ-R3M","context":null} {"uid":"9abf240"}
[2026-10-13 14:56:49] docflow.INFO: Apel createDoc {"data":{"amoAccountId":"22699852","amoUserId":null,"amoEntityId":"42843532","amoEntityType":"2","templateId":"11505","corporateEntityId":"","settlementAccountId":"","is_signed":null,"gdi":null,"number":null,"currentAmoUserId":null,"lang":"ru"}} {"uid":"bf7a2cb"}
[2026-10-13 14:56:49] docflow.INFO: Token is valid for account 22699852. [] {"uid":"bf7a2cb"}
[2026-10-13 14:56:49] docflow.DEBUG: getClientAuth returned {"auth":"[object] (stdClass: {\"domain\":\"emigrare.amocrm.ru\",\"access_token\":\"eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImp0aSI6IjA5Zjk3NjIwZWVhZDQ5MTk1YzAzMjExYWQzZWMwNWFmODMzOTAyYzkwNDUxYThhMDRlNWI2NGZhZTg5ODk0NGM0NzIxZWFiYTAwYWRmNGY1In0.eyJhdWQiOiIwZDY0ZGZmYi1lNTRiLTQ0OGYtOWZiZi1iYWYyMjUxYTExZGIiLCJqdGkiOiIwOWY5NzYyMGVlYWQ0OTE5NWMwMzIxMWFkM2VjMDVhZjgzMzkwMmM5MDQ1MWE4YTA0ZTViNjRmYWU4OTg5NDRjNDcyMWVhYmEwMGFkZjRmNSIsImlhdCI6MTc5MTg3NTcxNCwibmJmIjoxNzkxODc1NzE0LCJleHAiOjE3OTE5NjIxMTQsInN1YiI6IjI5MzAzODAiLCJncmFudF90eXBlIjoiIiwiYWNjb3VudF9pZCI6MjI2OTk4NTIsImJhc2VfZG9tYWluIjoiYW1vY3JtLnJ1IiwidmVyc2lvbiI6Miwic2NvcGVzIjpbInB1c2hfbm90aWZpY2F0aW9ucyIsImNybSIsIm5vdGlmaWNhdGlvbnMiXSwiaGFzaF91dWlkIjoiZjhhNDRkOTgtMTRlNS00OTcxLTllMGEtNTRhZDY5OGQyYmQ4IiwiYXBpX2RvbWFpbiI6ImFwaS1hLmFtb2NybS5ydSJ9.NBJbkjpQVkql6RIh0lb5_KN4a3HryxJWNmjqTpgN1z5_38BKNZZYuaLC3jSuifBhZ1bpvGNOvdij0i0pQgyxhOaT9bZBjt_vLr-92V395z4ycsTFsK62KSDyZ-lAic98RxsqiX1xzPrdIi7NEXKX9Ls1ZHz0dwCgMJC2czZsigpjSEG0ErTZNdfsZrz00lM5F7cYbWP1m6JO78QBQJmrF_fRwFLiWGm9epjs7WmHTq4gO0Ski6-09ZTgjUIdj0zk6kP0vuWPHu9bZb8EP2IglQ0UjVN2AuacD9jBZvwt8Z6Q3TPnOEJaD0MJgiSlBcFs7wQ2ueorh3T8wV5cwy3VIA\"})","file":"/home/ytvmclwh/document.amocrm.md/src/Models/Docs.php","line":121} {"uid":"bf7a2cb"}
[2026-10-13 14:56:52] docflow.DEBUG: AmoDrive docflow context request {"url":"https://google.emale.uno/api/docflow/google-context","query":{"account_id":"22699852","entity_id":"42843532","entity_type":"leads"}} {"uid":"bf7a2cb"}
[2026-10-13 14:56:52] docflow.WARNING: AmoDrive docflow context request failed {"url":"https://google.emale.uno/api/docflow/google-context","http_code":null,"error":"HTTP/2 400 ","response":"<!DOCTYPE HTML PUBLIC \"-//IETF//DTD HTML 2.0//EN\">\r\n<html>\r\n<head><title>400 Bad Request</title></head>\r\n<body>\r\n<center><h1>400 Bad Request</h1></center>\r\n Sorry for the inconvenience.<br/>\r\nPlease report this message and include the following information to us.<br/>\r\nThank you very much!</p>\r\n<table>\r\n<tr>\r\n<td>URL:</td>\r\n<td>https://gd.glucose-dev.online/api/docflow/google-context?account_id=22699852&amp;entity_id=42843532&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/13 14:56:52</td>\r\n</tr>\r\n</table>\r\n<hr><center>tengine</center>\r\n</body>\r\n</html>\r\n"} {"uid":"bf7a2cb"}
[2026-10-13 14:56:52] docflow.DEBUG: AmoDrive docflow context request {"url":"https://gd.glucose-dev.online/api/docflow/google-context","query":{"account_id":"22699852","entity_id":"42843532","entity_type":"leads"}} {"uid":"bf7a2cb"}
[2026-10-13 14:56:52] docflow.WARNING: AmoDrive docflow context response is not ready, trying next backend. {"url":"https://gd.glucose-dev.online/api/docflow/google-context","payload":{"ok":true,"accountId":22699852,"entityId":"42843532","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":311,"isLifetime":false},"licenseActive":false,"googleConnected":false,"googleEmail":null,"googleHasDriveScope":false,"googleHasDriveFileScope":false,"googleHasOwnershipScope":false,"readyForGeneratedFileMove":false,"readyForTransfer":false},"folder":{"id":"1fSo7zoap129qqIGgHGjp_FpVVnYpO11S","name":"42843532 - Lead #42843532","webViewLink":"https://drive.google.com/drive/folders/1fSo7zoap129qqIGgHGjp_FpVVnYpO11S"}}} {"uid":"bf7a2cb"}
[2026-10-13 14:56:52] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://google.emale.uno/api/docflow/prepare-generated-doc","payload":{"account_id":"22699852","entity_id":"42843532","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"bf7a2cb"}
[2026-10-13 14:56:52] docflow.WARNING: AmoDrive prepare-generated-doc request failed {"url":"https://google.emale.uno/api/docflow/prepare-generated-doc","http_code":null,"error":"HTTP/2 400 ","response":"<!DOCTYPE HTML PUBLIC \"-//IETF//DTD HTML 2.0//EN\">\r\n<html>\r\n<head><title>400 Bad Request</title></head>\r\n<body>\r\n<center><h1>400 Bad Request</h1></center>\r\n Sorry for the inconvenience.<br/>\r\nPlease report this message and include the following information to us.<br/>\r\nThank you very much!</p>\r\n<table>\r\n<tr>\r\n<td>URL:</td>\r\n<td>https://gd.glucose-dev.online/api/docflow/prepare-generated-doc</td>\r\n</tr>\r\n<tr>\r\n<td>Server:</td>\r\n<td>mail.glucose-dev.online</td>\r\n</tr>\r\n<tr>\r\n<td>Date:</td>\r\n<td>2026/10/13 14:56:52</td>\r\n</tr>\r\n</table>\r\n<hr><center>tengine</center>\r\n</body>\r\n</html>\r\n","payload":{"account_id":"22699852","entity_id":"42843532","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"bf7a2cb"}
[2026-10-13 14:56:52] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://gd.glucose-dev.online/api/docflow/prepare-generated-doc","payload":{"account_id":"22699852","entity_id":"42843532","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"bf7a2cb"}
[2026-10-13 14:56:52] docflow.WARNING: AmoDrive prepare-generated-doc request failed {"url":"https://gd.glucose-dev.online/api/docflow/prepare-generated-doc","http_code":null,"error":"HTTP/2 404 ","response":"[object] (stdClass: {\"ok\":false,\"error\":\"AmoDrive is not installed for this account.\",\"accountId\":22699852})","payload":{"account_id":"22699852","entity_id":"42843532","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"bf7a2cb"}
[2026-10-13 14:56:52] 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) 38 20261013145652\",\"leadId\":\"42843532\",\"entities\":{\"\\u0441\\u0434\\u0435\\u043b\\u043a\\u0430\":{\"#Manager Front\":\"Capanji Igor\",\"Urm\\u0103torul contact\":\"2026-10-13 13:57:00\",\"Mod achitare\":\"Cash\",\"Suma avans\":\"3000\",\"Manager Juridic\":\"Dascal Anatolie\",\"#Manager Jurist\":\"Dascal Anatolie\",\"ID\":\"42843532\",\"\\u0421\\u0434\\u0435\\u043b\\u043a\\u0430_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"prelung. PS (Jeffrey Tinius)\",\"Lead_name\":\"prelung. PS (Jeffrey Tinius)\",\"\\u0411\\u044e\\u0434\\u0436\\u0435\\u0442\":\"6000\",\"Budget\":\"6000\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"Capanji Igor\",\"Responsible\":\"Capanji Igor\"},\"lead\":{\"#Manager Front\":\"Capanji Igor\",\"Urm\\u0103torul contact\":\"2026-10-13 13:57:00\",\"Mod achitare\":\"Cash\",\"Suma avans\":\"3000\",\"Manager Juridic\":\"Dascal Anatolie\",\"#Manager Jurist\":\"Dascal Anatolie\",\"ID\":\"42843532\",\"\\u0421\\u0434\\u0435\\u043b\\u043a\\u0430_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"prelung. PS (Jeffrey Tinius)\",\"Lead_name\":\"prelung. PS (Jeffrey Tinius)\",\"\\u0411\\u044e\\u0434\\u0436\\u0435\\u0442\":\"6000\",\"Budget\":\"6000\",\"\\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\":\"37379873690\",\"Email\":\"jeffrey.tinius@gmail.com\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Natalia\",\"Contact_name\":\"Natalia\",\"\\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\":\"37379873690\",\"Email\":\"jeffrey.tinius@gmail.com\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Natalia\",\"Contact_name\":\"Natalia\",\"\\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\":\"37379873690\",\"Email\":\"jeffrey.tinius@gmail.com\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Natalia\",\"\\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\":\"13.10.2026\",\"\\u041d\\u043e\\u043c\\u0435\\u0440\":\"38\"},\"document\":{\"Date\":\"13.10.2026\",\"Number\":\"38\"}}}","edit":true}} {"uid":"bf7a2cb"}
[2026-10-13 14:56:58] docflow.DEBUG: GAS raw response {"raw":"[object] (stdClass: {\"code\":1,\"url\":\"https://docs.google.com/open?id=1c6Jp_9l2xSObNf6im9OeLWmuaCG063EQKohvoNcCGoc\",\"file_id\":\"1c6Jp_9l2xSObNf6im9OeLWmuaCG063EQKohvoNcCGoc\",\"error\":\"\",\"vars\":\"\"})"} {"uid":"bf7a2cb"}
[2026-10-13 14:56:58] docflow.WARNING: AmoDrive generated-file move is not ready. {"fileId":"1c6Jp_9l2xSObNf6im9OeLWmuaCG063EQKohvoNcCGoc","context":null} {"uid":"bf7a2cb"}
[2026-10-13 15:37:59] docflow.INFO: Apel createDoc {"data":{"amoAccountId":"22699852","amoUserId":null,"amoEntityId":"42705568","amoEntityType":"2","templateId":"11488","corporateEntityId":"","settlementAccountId":"","is_signed":null,"gdi":null,"number":null,"currentAmoUserId":null,"lang":"ru"}} {"uid":"d7aa9a3"}
[2026-10-13 15:37:59] docflow.INFO: Token is valid for account 22699852. [] {"uid":"d7aa9a3"}
[2026-10-13 15:37:59] docflow.DEBUG: getClientAuth returned {"auth":"[object] (stdClass: {\"domain\":\"emigrare.amocrm.ru\",\"access_token\":\"eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImp0aSI6IjA5Zjk3NjIwZWVhZDQ5MTk1YzAzMjExYWQzZWMwNWFmODMzOTAyYzkwNDUxYThhMDRlNWI2NGZhZTg5ODk0NGM0NzIxZWFiYTAwYWRmNGY1In0.eyJhdWQiOiIwZDY0ZGZmYi1lNTRiLTQ0OGYtOWZiZi1iYWYyMjUxYTExZGIiLCJqdGkiOiIwOWY5NzYyMGVlYWQ0OTE5NWMwMzIxMWFkM2VjMDVhZjgzMzkwMmM5MDQ1MWE4YTA0ZTViNjRmYWU4OTg5NDRjNDcyMWVhYmEwMGFkZjRmNSIsImlhdCI6MTc5MTg3NTcxNCwibmJmIjoxNzkxODc1NzE0LCJleHAiOjE3OTE5NjIxMTQsInN1YiI6IjI5MzAzODAiLCJncmFudF90eXBlIjoiIiwiYWNjb3VudF9pZCI6MjI2OTk4NTIsImJhc2VfZG9tYWluIjoiYW1vY3JtLnJ1IiwidmVyc2lvbiI6Miwic2NvcGVzIjpbInB1c2hfbm90aWZpY2F0aW9ucyIsImNybSIsIm5vdGlmaWNhdGlvbnMiXSwiaGFzaF91dWlkIjoiZjhhNDRkOTgtMTRlNS00OTcxLTllMGEtNTRhZDY5OGQyYmQ4IiwiYXBpX2RvbWFpbiI6ImFwaS1hLmFtb2NybS5ydSJ9.NBJbkjpQVkql6RIh0lb5_KN4a3HryxJWNmjqTpgN1z5_38BKNZZYuaLC3jSuifBhZ1bpvGNOvdij0i0pQgyxhOaT9bZBjt_vLr-92V395z4ycsTFsK62KSDyZ-lAic98RxsqiX1xzPrdIi7NEXKX9Ls1ZHz0dwCgMJC2czZsigpjSEG0ErTZNdfsZrz00lM5F7cYbWP1m6JO78QBQJmrF_fRwFLiWGm9epjs7WmHTq4gO0Ski6-09ZTgjUIdj0zk6kP0vuWPHu9bZb8EP2IglQ0UjVN2AuacD9jBZvwt8Z6Q3TPnOEJaD0MJgiSlBcFs7wQ2ueorh3T8wV5cwy3VIA\"})","file":"/home/ytvmclwh/document.amocrm.md/src/Models/Docs.php","line":121} {"uid":"d7aa9a3"}
[2026-10-13 15:38:01] docflow.DEBUG: AmoDrive docflow context request {"url":"https://google.emale.uno/api/docflow/google-context","query":{"account_id":"22699852","entity_id":"42705568","entity_type":"leads"}} {"uid":"d7aa9a3"}
[2026-10-13 15:38:01] docflow.WARNING: AmoDrive docflow context request failed {"url":"https://google.emale.uno/api/docflow/google-context","http_code":null,"error":"HTTP/2 400 ","response":"<!DOCTYPE HTML PUBLIC \"-//IETF//DTD HTML 2.0//EN\">\r\n<html>\r\n<head><title>400 Bad Request</title></head>\r\n<body>\r\n<center><h1>400 Bad Request</h1></center>\r\n Sorry for the inconvenience.<br/>\r\nPlease report this message and include the following information to us.<br/>\r\nThank you very much!</p>\r\n<table>\r\n<tr>\r\n<td>URL:</td>\r\n<td>https://gd.glucose-dev.online/api/docflow/google-context?account_id=22699852&amp;entity_id=42705568&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/13 15:38:01</td>\r\n</tr>\r\n</table>\r\n<hr><center>tengine</center>\r\n</body>\r\n</html>\r\n"} {"uid":"d7aa9a3"}
[2026-10-13 15:38:01] docflow.DEBUG: AmoDrive docflow context request {"url":"https://gd.glucose-dev.online/api/docflow/google-context","query":{"account_id":"22699852","entity_id":"42705568","entity_type":"leads"}} {"uid":"d7aa9a3"}
[2026-10-13 15:38:02] docflow.WARNING: AmoDrive docflow context response is not ready, trying next backend. {"url":"https://gd.glucose-dev.online/api/docflow/google-context","payload":{"ok":true,"accountId":22699852,"entityId":"42705568","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":311,"isLifetime":false},"licenseActive":false,"googleConnected":false,"googleEmail":null,"googleHasDriveScope":false,"googleHasDriveFileScope":false,"googleHasOwnershipScope":false,"readyForGeneratedFileMove":false,"readyForTransfer":false},"folder":{"id":"1I7yN-C_KCTjL0vaSMne-JFamXzvC5KyX","name":"42705568 - Lead #42705568","webViewLink":"https://drive.google.com/drive/folders/1I7yN-C_KCTjL0vaSMne-JFamXzvC5KyX"}}} {"uid":"d7aa9a3"}
[2026-10-13 15:38:02] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://google.emale.uno/api/docflow/prepare-generated-doc","payload":{"account_id":"22699852","entity_id":"42705568","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"d7aa9a3"}
[2026-10-13 15:38:02] docflow.WARNING: AmoDrive prepare-generated-doc request failed {"url":"https://google.emale.uno/api/docflow/prepare-generated-doc","http_code":null,"error":"HTTP/2 400 ","response":"<!DOCTYPE HTML PUBLIC \"-//IETF//DTD HTML 2.0//EN\">\r\n<html>\r\n<head><title>400 Bad Request</title></head>\r\n<body>\r\n<center><h1>400 Bad Request</h1></center>\r\n Sorry for the inconvenience.<br/>\r\nPlease report this message and include the following information to us.<br/>\r\nThank you very much!</p>\r\n<table>\r\n<tr>\r\n<td>URL:</td>\r\n<td>https://gd.glucose-dev.online/api/docflow/prepare-generated-doc</td>\r\n</tr>\r\n<tr>\r\n<td>Server:</td>\r\n<td>mail.glucose-dev.online</td>\r\n</tr>\r\n<tr>\r\n<td>Date:</td>\r\n<td>2026/10/13 15:38:02</td>\r\n</tr>\r\n</table>\r\n<hr><center>tengine</center>\r\n</body>\r\n</html>\r\n","payload":{"account_id":"22699852","entity_id":"42705568","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"d7aa9a3"}
[2026-10-13 15:38:02] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://gd.glucose-dev.online/api/docflow/prepare-generated-doc","payload":{"account_id":"22699852","entity_id":"42705568","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"d7aa9a3"}
[2026-10-13 15:38:02] docflow.WARNING: AmoDrive prepare-generated-doc request failed {"url":"https://gd.glucose-dev.online/api/docflow/prepare-generated-doc","http_code":null,"error":"HTTP/2 404 ","response":"[object] (stdClass: {\"ok\":false,\"error\":\"AmoDrive is not installed for this account.\",\"accountId\":22699852})","payload":{"account_id":"22699852","entity_id":"42705568","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"d7aa9a3"}
[2026-10-13 15:38:02] docflow.DEBUG: GAS request {"url":"https://script.google.com/macros/s/AKfycbwrvOJD46zkuoTzdhpc1kulhV8jRfgQBFZfQ121nkIip_k8yKit4xrbWTOzaJ-C-Yed6w/exec","body":{"templateFileId":"1Lko3EG9_Yj6bZrxqQ3cZ8_aYZSQ7GKHEi61nkS6lkvg","accountId":"22699852","folderId":"1Us2AfskxgdA729xVr0F2vjZU9y5PlYDe","key":"~VTsK5dcnHc2cSSsjM$LFSjLlgbmJXwrp3R2P5nd","data":"{\"fileName\":\"Transcriere 525 20261013153801\",\"leadId\":\"42705568\",\"entities\":{\"\\u0441\\u0434\\u0435\\u043b\\u043a\\u0430\":{\"ID\":\"42705568\",\"\\u0421\\u0434\\u0435\\u043b\\u043a\\u0430_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"prelungire PS (Gutcu Ekaterina) + domiciliu x 3 ani pt ambii + transcriere CN (Constantin)\",\"Lead_name\":\"prelungire PS (Gutcu Ekaterina) + domiciliu x 3 ani pt ambii + transcriere CN (Constantin)\",\"\\u0411\\u044e\\u0434\\u0436\\u0435\\u0442\":\"4450\",\"Budget\":\"4450\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"Cezara Cenusa\",\"Responsible\":\"Cezara Cenusa\"},\"lead\":{\"ID\":\"42705568\",\"\\u0421\\u0434\\u0435\\u043b\\u043a\\u0430_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"prelungire PS (Gutcu Ekaterina) + domiciliu x 3 ani pt ambii + transcriere CN (Constantin)\",\"Lead_name\":\"prelungire PS (Gutcu Ekaterina) + domiciliu x 3 ani pt ambii + transcriere CN (Constantin)\",\"\\u0411\\u044e\\u0434\\u0436\\u0435\\u0442\":\"4450\",\"Budget\":\"4450\",\"\\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\":{\"Cet\\u0103\\u021benie de\\u021binut\\u0103\":\"RU\",\"Cum Comunicam\":\"Watsap\",\"Limba vorbita\":\"Rusa\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"0079119220840\",\"Email\":\"beingguzz@gmail.com\",\"google_folder_id_contacts_field\":\"1hj7WRX0P19xLW7u_yA0AScTXOZG_Ex72\",\"google_folder_link_contacts_field\":\"https:\\/\\/drive.google.com\\/drive\\/folders\\/1hj7WRX0P19xLW7u_yA0AScTXOZG_Ex72\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Constantin Gutu\",\"Contact_name\":\"Constantin Gutu\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"Capanji Igor\",\"Responsible\":\"Capanji Igor\"},\"contact\":{\"Cet\\u0103\\u021benie de\\u021binut\\u0103\":\"RU\",\"Cum Comunicam\":\"Watsap\",\"Limba vorbita\":\"Rusa\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"0079119220840\",\"Email\":\"beingguzz@gmail.com\",\"google_folder_id_contacts_field\":\"1hj7WRX0P19xLW7u_yA0AScTXOZG_Ex72\",\"google_folder_link_contacts_field\":\"https:\\/\\/drive.google.com\\/drive\\/folders\\/1hj7WRX0P19xLW7u_yA0AScTXOZG_Ex72\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Constantin Gutu\",\"Contact_name\":\"Constantin Gutu\",\"\\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\":[{\"Cet\\u0103\\u021benie de\\u021binut\\u0103\":\"RU\",\"Cum Comunicam\":\"Watsap\",\"Limba vorbita\":\"Rusa\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"0079119220840\",\"Email\":\"beingguzz@gmail.com\",\"google_folder_id_contacts_field\":\"1hj7WRX0P19xLW7u_yA0AScTXOZG_Ex72\",\"google_folder_link_contacts_field\":\"https:\\/\\/drive.google.com\\/drive\\/folders\\/1hj7WRX0P19xLW7u_yA0AScTXOZG_Ex72\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Constantin Gutu\",\"\\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\":\"13.10.2026\",\"\\u041d\\u043e\\u043c\\u0435\\u0440\":\"525\"},\"document\":{\"Date\":\"13.10.2026\",\"Number\":\"525\"}}}","edit":true}} {"uid":"d7aa9a3"}
[2026-10-13 15:38:09] docflow.DEBUG: GAS raw response {"raw":"[object] (stdClass: {\"code\":1,\"url\":\"https://docs.google.com/open?id=1H3uK_v3tP7dZnbWjqPNXcHOjSmmn_acPiD-brVahxC0\",\"file_id\":\"1H3uK_v3tP7dZnbWjqPNXcHOjSmmn_acPiD-brVahxC0\",\"error\":\"\",\"vars\":\"\"})"} {"uid":"d7aa9a3"}
[2026-10-13 15:38:09] docflow.WARNING: AmoDrive generated-file move is not ready. {"fileId":"1H3uK_v3tP7dZnbWjqPNXcHOjSmmn_acPiD-brVahxC0","context":null} {"uid":"d7aa9a3"}
[2026-10-13 15:39:09] docflow.INFO: Apel createDoc {"data":{"amoAccountId":"22699852","amoUserId":null,"amoEntityId":"42705568","amoEntityType":"2","templateId":"11515","corporateEntityId":"","settlementAccountId":"","is_signed":null,"gdi":null,"number":null,"currentAmoUserId":null,"lang":"ru"}} {"uid":"b4b5dff"}
[2026-10-13 15:39:09] docflow.INFO: Token is valid for account 22699852. [] {"uid":"b4b5dff"}
[2026-10-13 15:39:09] docflow.DEBUG: getClientAuth returned {"auth":"[object] (stdClass: {\"domain\":\"emigrare.amocrm.ru\",\"access_token\":\"eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImp0aSI6IjA5Zjk3NjIwZWVhZDQ5MTk1YzAzMjExYWQzZWMwNWFmODMzOTAyYzkwNDUxYThhMDRlNWI2NGZhZTg5ODk0NGM0NzIxZWFiYTAwYWRmNGY1In0.eyJhdWQiOiIwZDY0ZGZmYi1lNTRiLTQ0OGYtOWZiZi1iYWYyMjUxYTExZGIiLCJqdGkiOiIwOWY5NzYyMGVlYWQ0OTE5NWMwMzIxMWFkM2VjMDVhZjgzMzkwMmM5MDQ1MWE4YTA0ZTViNjRmYWU4OTg5NDRjNDcyMWVhYmEwMGFkZjRmNSIsImlhdCI6MTc5MTg3NTcxNCwibmJmIjoxNzkxODc1NzE0LCJleHAiOjE3OTE5NjIxMTQsInN1YiI6IjI5MzAzODAiLCJncmFudF90eXBlIjoiIiwiYWNjb3VudF9pZCI6MjI2OTk4NTIsImJhc2VfZG9tYWluIjoiYW1vY3JtLnJ1IiwidmVyc2lvbiI6Miwic2NvcGVzIjpbInB1c2hfbm90aWZpY2F0aW9ucyIsImNybSIsIm5vdGlmaWNhdGlvbnMiXSwiaGFzaF91dWlkIjoiZjhhNDRkOTgtMTRlNS00OTcxLTllMGEtNTRhZDY5OGQyYmQ4IiwiYXBpX2RvbWFpbiI6ImFwaS1hLmFtb2NybS5ydSJ9.NBJbkjpQVkql6RIh0lb5_KN4a3HryxJWNmjqTpgN1z5_38BKNZZYuaLC3jSuifBhZ1bpvGNOvdij0i0pQgyxhOaT9bZBjt_vLr-92V395z4ycsTFsK62KSDyZ-lAic98RxsqiX1xzPrdIi7NEXKX9Ls1ZHz0dwCgMJC2czZsigpjSEG0ErTZNdfsZrz00lM5F7cYbWP1m6JO78QBQJmrF_fRwFLiWGm9epjs7WmHTq4gO0Ski6-09ZTgjUIdj0zk6kP0vuWPHu9bZb8EP2IglQ0UjVN2AuacD9jBZvwt8Z6Q3TPnOEJaD0MJgiSlBcFs7wQ2ueorh3T8wV5cwy3VIA\"})","file":"/home/ytvmclwh/document.amocrm.md/src/Models/Docs.php","line":121} {"uid":"b4b5dff"}
[2026-10-13 15:39:11] docflow.DEBUG: AmoDrive docflow context request {"url":"https://google.emale.uno/api/docflow/google-context","query":{"account_id":"22699852","entity_id":"42705568","entity_type":"leads"}} {"uid":"b4b5dff"}
[2026-10-13 15:39: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=42705568&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/13 15:39:12</td>\r\n</tr>\r\n</table>\r\n<hr><center>tengine</center>\r\n</body>\r\n</html>\r\n"} {"uid":"b4b5dff"}
[2026-10-13 15:39:12] docflow.DEBUG: AmoDrive docflow context request {"url":"https://gd.glucose-dev.online/api/docflow/google-context","query":{"account_id":"22699852","entity_id":"42705568","entity_type":"leads"}} {"uid":"b4b5dff"}
[2026-10-13 15:39: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":"42705568","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":311,"isLifetime":false},"licenseActive":false,"googleConnected":false,"googleEmail":null,"googleHasDriveScope":false,"googleHasDriveFileScope":false,"googleHasOwnershipScope":false,"readyForGeneratedFileMove":false,"readyForTransfer":false},"folder":{"id":"1I7yN-C_KCTjL0vaSMne-JFamXzvC5KyX","name":"42705568 - Lead #42705568","webViewLink":"https://drive.google.com/drive/folders/1I7yN-C_KCTjL0vaSMne-JFamXzvC5KyX"}}} {"uid":"b4b5dff"}
[2026-10-13 15:39:12] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://google.emale.uno/api/docflow/prepare-generated-doc","payload":{"account_id":"22699852","entity_id":"42705568","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"b4b5dff"}
[2026-10-13 15:39: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/13 15:39: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":"42705568","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"b4b5dff"}
[2026-10-13 15:39: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":"42705568","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"b4b5dff"}
[2026-10-13 15:39: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":"42705568","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"b4b5dff"}
[2026-10-13 15:39:12] 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) 1738 20261013153911\",\"leadId\":\"42705568\",\"entities\":{\"\\u0441\\u0434\\u0435\\u043b\\u043a\\u0430\":{\"ID\":\"42705568\",\"\\u0421\\u0434\\u0435\\u043b\\u043a\\u0430_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"prelungire PS (Gutcu Ekaterina) + domiciliu x 3 ani pt ambii + transcriere CN (Constantin)\",\"Lead_name\":\"prelungire PS (Gutcu Ekaterina) + domiciliu x 3 ani pt ambii + transcriere CN (Constantin)\",\"\\u0411\\u044e\\u0434\\u0436\\u0435\\u0442\":\"4450\",\"Budget\":\"4450\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"Cezara Cenusa\",\"Responsible\":\"Cezara Cenusa\"},\"lead\":{\"ID\":\"42705568\",\"\\u0421\\u0434\\u0435\\u043b\\u043a\\u0430_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"prelungire PS (Gutcu Ekaterina) + domiciliu x 3 ani pt ambii + transcriere CN (Constantin)\",\"Lead_name\":\"prelungire PS (Gutcu Ekaterina) + domiciliu x 3 ani pt ambii + transcriere CN (Constantin)\",\"\\u0411\\u044e\\u0434\\u0436\\u0435\\u0442\":\"4450\",\"Budget\":\"4450\",\"\\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\":{\"Cet\\u0103\\u021benie de\\u021binut\\u0103\":\"RU\",\"Cum Comunicam\":\"Watsap\",\"Limba vorbita\":\"Rusa\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"0079119220840\",\"Email\":\"beingguzz@gmail.com\",\"google_folder_id_contacts_field\":\"1hj7WRX0P19xLW7u_yA0AScTXOZG_Ex72\",\"google_folder_link_contacts_field\":\"https:\\/\\/drive.google.com\\/drive\\/folders\\/1hj7WRX0P19xLW7u_yA0AScTXOZG_Ex72\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Constantin Gutu\",\"Contact_name\":\"Constantin Gutu\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"Capanji Igor\",\"Responsible\":\"Capanji Igor\"},\"contact\":{\"Cet\\u0103\\u021benie de\\u021binut\\u0103\":\"RU\",\"Cum Comunicam\":\"Watsap\",\"Limba vorbita\":\"Rusa\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"0079119220840\",\"Email\":\"beingguzz@gmail.com\",\"google_folder_id_contacts_field\":\"1hj7WRX0P19xLW7u_yA0AScTXOZG_Ex72\",\"google_folder_link_contacts_field\":\"https:\\/\\/drive.google.com\\/drive\\/folders\\/1hj7WRX0P19xLW7u_yA0AScTXOZG_Ex72\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Constantin Gutu\",\"Contact_name\":\"Constantin Gutu\",\"\\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\":[{\"Cet\\u0103\\u021benie de\\u021binut\\u0103\":\"RU\",\"Cum Comunicam\":\"Watsap\",\"Limba vorbita\":\"Rusa\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"0079119220840\",\"Email\":\"beingguzz@gmail.com\",\"google_folder_id_contacts_field\":\"1hj7WRX0P19xLW7u_yA0AScTXOZG_Ex72\",\"google_folder_link_contacts_field\":\"https:\\/\\/drive.google.com\\/drive\\/folders\\/1hj7WRX0P19xLW7u_yA0AScTXOZG_Ex72\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Constantin Gutu\",\"\\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\":\"13.10.2026\",\"\\u041d\\u043e\\u043c\\u0435\\u0440\":\"1738\"},\"document\":{\"Date\":\"13.10.2026\",\"Number\":\"1738\"}}}","edit":true}} {"uid":"b4b5dff"}
[2026-10-13 15:39:18] docflow.DEBUG: GAS raw response {"raw":"[object] (stdClass: {\"code\":1,\"url\":\"https://docs.google.com/open?id=1tqD_JvIP9V1vKNbUMIT1V-i7DTDcnQq4ZCvSg-1frxg\",\"file_id\":\"1tqD_JvIP9V1vKNbUMIT1V-i7DTDcnQq4ZCvSg-1frxg\",\"error\":\"\",\"vars\":\"\"})"} {"uid":"b4b5dff"}
[2026-10-13 15:39:18] docflow.WARNING: AmoDrive generated-file move is not ready. {"fileId":"1tqD_JvIP9V1vKNbUMIT1V-i7DTDcnQq4ZCvSg-1frxg","context":null} {"uid":"b4b5dff"}
[2026-10-13 15:39:37] docflow.INFO: Apel createDoc {"data":{"amoAccountId":"22699852","amoUserId":null,"amoEntityId":"42705568","amoEntityType":"2","templateId":"11504","corporateEntityId":"","settlementAccountId":"","is_signed":null,"gdi":null,"number":null,"currentAmoUserId":null,"lang":"ru"}} {"uid":"d473d85"}
[2026-10-13 15:39:37] docflow.INFO: Token is valid for account 22699852. [] {"uid":"d473d85"}
[2026-10-13 15:39:37] docflow.DEBUG: getClientAuth returned {"auth":"[object] (stdClass: {\"domain\":\"emigrare.amocrm.ru\",\"access_token\":\"eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImp0aSI6IjA5Zjk3NjIwZWVhZDQ5MTk1YzAzMjExYWQzZWMwNWFmODMzOTAyYzkwNDUxYThhMDRlNWI2NGZhZTg5ODk0NGM0NzIxZWFiYTAwYWRmNGY1In0.eyJhdWQiOiIwZDY0ZGZmYi1lNTRiLTQ0OGYtOWZiZi1iYWYyMjUxYTExZGIiLCJqdGkiOiIwOWY5NzYyMGVlYWQ0OTE5NWMwMzIxMWFkM2VjMDVhZjgzMzkwMmM5MDQ1MWE4YTA0ZTViNjRmYWU4OTg5NDRjNDcyMWVhYmEwMGFkZjRmNSIsImlhdCI6MTc5MTg3NTcxNCwibmJmIjoxNzkxODc1NzE0LCJleHAiOjE3OTE5NjIxMTQsInN1YiI6IjI5MzAzODAiLCJncmFudF90eXBlIjoiIiwiYWNjb3VudF9pZCI6MjI2OTk4NTIsImJhc2VfZG9tYWluIjoiYW1vY3JtLnJ1IiwidmVyc2lvbiI6Miwic2NvcGVzIjpbInB1c2hfbm90aWZpY2F0aW9ucyIsImNybSIsIm5vdGlmaWNhdGlvbnMiXSwiaGFzaF91dWlkIjoiZjhhNDRkOTgtMTRlNS00OTcxLTllMGEtNTRhZDY5OGQyYmQ4IiwiYXBpX2RvbWFpbiI6ImFwaS1hLmFtb2NybS5ydSJ9.NBJbkjpQVkql6RIh0lb5_KN4a3HryxJWNmjqTpgN1z5_38BKNZZYuaLC3jSuifBhZ1bpvGNOvdij0i0pQgyxhOaT9bZBjt_vLr-92V395z4ycsTFsK62KSDyZ-lAic98RxsqiX1xzPrdIi7NEXKX9Ls1ZHz0dwCgMJC2czZsigpjSEG0ErTZNdfsZrz00lM5F7cYbWP1m6JO78QBQJmrF_fRwFLiWGm9epjs7WmHTq4gO0Ski6-09ZTgjUIdj0zk6kP0vuWPHu9bZb8EP2IglQ0UjVN2AuacD9jBZvwt8Z6Q3TPnOEJaD0MJgiSlBcFs7wQ2ueorh3T8wV5cwy3VIA\"})","file":"/home/ytvmclwh/document.amocrm.md/src/Models/Docs.php","line":121} {"uid":"d473d85"}
[2026-10-13 15:39:40] docflow.DEBUG: AmoDrive docflow context request {"url":"https://google.emale.uno/api/docflow/google-context","query":{"account_id":"22699852","entity_id":"42705568","entity_type":"leads"}} {"uid":"d473d85"}
[2026-10-13 15:39:40] docflow.WARNING: AmoDrive docflow context request failed {"url":"https://google.emale.uno/api/docflow/google-context","http_code":null,"error":"HTTP/2 400 ","response":"<!DOCTYPE HTML PUBLIC \"-//IETF//DTD HTML 2.0//EN\">\r\n<html>\r\n<head><title>400 Bad Request</title></head>\r\n<body>\r\n<center><h1>400 Bad Request</h1></center>\r\n Sorry for the inconvenience.<br/>\r\nPlease report this message and include the following information to us.<br/>\r\nThank you very much!</p>\r\n<table>\r\n<tr>\r\n<td>URL:</td>\r\n<td>https://gd.glucose-dev.online/api/docflow/google-context?account_id=22699852&amp;entity_id=42705568&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/13 15:39:40</td>\r\n</tr>\r\n</table>\r\n<hr><center>tengine</center>\r\n</body>\r\n</html>\r\n"} {"uid":"d473d85"}
[2026-10-13 15:39:40] docflow.DEBUG: AmoDrive docflow context request {"url":"https://gd.glucose-dev.online/api/docflow/google-context","query":{"account_id":"22699852","entity_id":"42705568","entity_type":"leads"}} {"uid":"d473d85"}
[2026-10-13 15:39:40] docflow.WARNING: AmoDrive docflow context response is not ready, trying next backend. {"url":"https://gd.glucose-dev.online/api/docflow/google-context","payload":{"ok":true,"accountId":22699852,"entityId":"42705568","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":311,"isLifetime":false},"licenseActive":false,"googleConnected":false,"googleEmail":null,"googleHasDriveScope":false,"googleHasDriveFileScope":false,"googleHasOwnershipScope":false,"readyForGeneratedFileMove":false,"readyForTransfer":false},"folder":{"id":"1I7yN-C_KCTjL0vaSMne-JFamXzvC5KyX","name":"42705568 - Lead #42705568","webViewLink":"https://drive.google.com/drive/folders/1I7yN-C_KCTjL0vaSMne-JFamXzvC5KyX"}}} {"uid":"d473d85"}
[2026-10-13 15:39:40] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://google.emale.uno/api/docflow/prepare-generated-doc","payload":{"account_id":"22699852","entity_id":"42705568","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"d473d85"}
[2026-10-13 15:39: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/13 15:39: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":"42705568","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"d473d85"}
[2026-10-13 15:39: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":"42705568","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"d473d85"}
[2026-10-13 15:39: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":"42705568","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"d473d85"}
[2026-10-13 15:39:40] 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) 95 20261013153940\",\"leadId\":\"42705568\",\"entities\":{\"\\u0441\\u0434\\u0435\\u043b\\u043a\\u0430\":{\"ID\":\"42705568\",\"\\u0421\\u0434\\u0435\\u043b\\u043a\\u0430_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"prelungire PS (Gutcu Ekaterina) + domiciliu x 3 ani pt ambii + transcriere CN (Constantin)\",\"Lead_name\":\"prelungire PS (Gutcu Ekaterina) + domiciliu x 3 ani pt ambii + transcriere CN (Constantin)\",\"\\u0411\\u044e\\u0434\\u0436\\u0435\\u0442\":\"4450\",\"Budget\":\"4450\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"Cezara Cenusa\",\"Responsible\":\"Cezara Cenusa\"},\"lead\":{\"ID\":\"42705568\",\"\\u0421\\u0434\\u0435\\u043b\\u043a\\u0430_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"prelungire PS (Gutcu Ekaterina) + domiciliu x 3 ani pt ambii + transcriere CN (Constantin)\",\"Lead_name\":\"prelungire PS (Gutcu Ekaterina) + domiciliu x 3 ani pt ambii + transcriere CN (Constantin)\",\"\\u0411\\u044e\\u0434\\u0436\\u0435\\u0442\":\"4450\",\"Budget\":\"4450\",\"\\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\":{\"Cet\\u0103\\u021benie de\\u021binut\\u0103\":\"RU\",\"Cum Comunicam\":\"Watsap\",\"Limba vorbita\":\"Rusa\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"0079119220840\",\"Email\":\"beingguzz@gmail.com\",\"google_folder_id_contacts_field\":\"1hj7WRX0P19xLW7u_yA0AScTXOZG_Ex72\",\"google_folder_link_contacts_field\":\"https:\\/\\/drive.google.com\\/drive\\/folders\\/1hj7WRX0P19xLW7u_yA0AScTXOZG_Ex72\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Constantin Gutu\",\"Contact_name\":\"Constantin Gutu\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"Capanji Igor\",\"Responsible\":\"Capanji Igor\"},\"contact\":{\"Cet\\u0103\\u021benie de\\u021binut\\u0103\":\"RU\",\"Cum Comunicam\":\"Watsap\",\"Limba vorbita\":\"Rusa\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"0079119220840\",\"Email\":\"beingguzz@gmail.com\",\"google_folder_id_contacts_field\":\"1hj7WRX0P19xLW7u_yA0AScTXOZG_Ex72\",\"google_folder_link_contacts_field\":\"https:\\/\\/drive.google.com\\/drive\\/folders\\/1hj7WRX0P19xLW7u_yA0AScTXOZG_Ex72\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Constantin Gutu\",\"Contact_name\":\"Constantin Gutu\",\"\\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\":[{\"Cet\\u0103\\u021benie de\\u021binut\\u0103\":\"RU\",\"Cum Comunicam\":\"Watsap\",\"Limba vorbita\":\"Rusa\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"0079119220840\",\"Email\":\"beingguzz@gmail.com\",\"google_folder_id_contacts_field\":\"1hj7WRX0P19xLW7u_yA0AScTXOZG_Ex72\",\"google_folder_link_contacts_field\":\"https:\\/\\/drive.google.com\\/drive\\/folders\\/1hj7WRX0P19xLW7u_yA0AScTXOZG_Ex72\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Constantin Gutu\",\"\\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\":\"13.10.2026\",\"\\u041d\\u043e\\u043c\\u0435\\u0440\":\"95\"},\"document\":{\"Date\":\"13.10.2026\",\"Number\":\"95\"}}}","edit":true}} {"uid":"d473d85"}
[2026-10-13 15:39:50] docflow.DEBUG: GAS raw response {"raw":"[object] (stdClass: {\"code\":1,\"url\":\"https://docs.google.com/open?id=14lRGoAzpZb5dmN4BifNN-gFlCY1cWyfnJXJtsnxA0Rg\",\"file_id\":\"14lRGoAzpZb5dmN4BifNN-gFlCY1cWyfnJXJtsnxA0Rg\",\"error\":\"\",\"vars\":\"\"})"} {"uid":"d473d85"}
[2026-10-13 15:39:50] docflow.WARNING: AmoDrive generated-file move is not ready. {"fileId":"14lRGoAzpZb5dmN4BifNN-gFlCY1cWyfnJXJtsnxA0Rg","context":null} {"uid":"d473d85"}
[2026-10-13 15:40:26] docflow.INFO: Apel createDoc {"data":{"amoAccountId":"22699852","amoUserId":null,"amoEntityId":"42705568","amoEntityType":"2","templateId":"11499","corporateEntityId":"","settlementAccountId":"","is_signed":null,"gdi":null,"number":null,"currentAmoUserId":null,"lang":"ru"}} {"uid":"1ac3050"}
[2026-10-13 15:40:26] docflow.INFO: Token is valid for account 22699852. [] {"uid":"1ac3050"}
[2026-10-13 15:40:26] docflow.DEBUG: getClientAuth returned {"auth":"[object] (stdClass: {\"domain\":\"emigrare.amocrm.ru\",\"access_token\":\"eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImp0aSI6IjA5Zjk3NjIwZWVhZDQ5MTk1YzAzMjExYWQzZWMwNWFmODMzOTAyYzkwNDUxYThhMDRlNWI2NGZhZTg5ODk0NGM0NzIxZWFiYTAwYWRmNGY1In0.eyJhdWQiOiIwZDY0ZGZmYi1lNTRiLTQ0OGYtOWZiZi1iYWYyMjUxYTExZGIiLCJqdGkiOiIwOWY5NzYyMGVlYWQ0OTE5NWMwMzIxMWFkM2VjMDVhZjgzMzkwMmM5MDQ1MWE4YTA0ZTViNjRmYWU4OTg5NDRjNDcyMWVhYmEwMGFkZjRmNSIsImlhdCI6MTc5MTg3NTcxNCwibmJmIjoxNzkxODc1NzE0LCJleHAiOjE3OTE5NjIxMTQsInN1YiI6IjI5MzAzODAiLCJncmFudF90eXBlIjoiIiwiYWNjb3VudF9pZCI6MjI2OTk4NTIsImJhc2VfZG9tYWluIjoiYW1vY3JtLnJ1IiwidmVyc2lvbiI6Miwic2NvcGVzIjpbInB1c2hfbm90aWZpY2F0aW9ucyIsImNybSIsIm5vdGlmaWNhdGlvbnMiXSwiaGFzaF91dWlkIjoiZjhhNDRkOTgtMTRlNS00OTcxLTllMGEtNTRhZDY5OGQyYmQ4IiwiYXBpX2RvbWFpbiI6ImFwaS1hLmFtb2NybS5ydSJ9.NBJbkjpQVkql6RIh0lb5_KN4a3HryxJWNmjqTpgN1z5_38BKNZZYuaLC3jSuifBhZ1bpvGNOvdij0i0pQgyxhOaT9bZBjt_vLr-92V395z4ycsTFsK62KSDyZ-lAic98RxsqiX1xzPrdIi7NEXKX9Ls1ZHz0dwCgMJC2czZsigpjSEG0ErTZNdfsZrz00lM5F7cYbWP1m6JO78QBQJmrF_fRwFLiWGm9epjs7WmHTq4gO0Ski6-09ZTgjUIdj0zk6kP0vuWPHu9bZb8EP2IglQ0UjVN2AuacD9jBZvwt8Z6Q3TPnOEJaD0MJgiSlBcFs7wQ2ueorh3T8wV5cwy3VIA\"})","file":"/home/ytvmclwh/document.amocrm.md/src/Models/Docs.php","line":121} {"uid":"1ac3050"}
[2026-10-13 15:40:28] docflow.DEBUG: AmoDrive docflow context request {"url":"https://google.emale.uno/api/docflow/google-context","query":{"account_id":"22699852","entity_id":"42705568","entity_type":"leads"}} {"uid":"1ac3050"}
[2026-10-13 15:40: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=42705568&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/13 15:40:28</td>\r\n</tr>\r\n</table>\r\n<hr><center>tengine</center>\r\n</body>\r\n</html>\r\n"} {"uid":"1ac3050"}
[2026-10-13 15:40:28] docflow.DEBUG: AmoDrive docflow context request {"url":"https://gd.glucose-dev.online/api/docflow/google-context","query":{"account_id":"22699852","entity_id":"42705568","entity_type":"leads"}} {"uid":"1ac3050"}
[2026-10-13 15:40: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":"42705568","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":311,"isLifetime":false},"licenseActive":false,"googleConnected":false,"googleEmail":null,"googleHasDriveScope":false,"googleHasDriveFileScope":false,"googleHasOwnershipScope":false,"readyForGeneratedFileMove":false,"readyForTransfer":false},"folder":{"id":"1I7yN-C_KCTjL0vaSMne-JFamXzvC5KyX","name":"42705568 - Lead #42705568","webViewLink":"https://drive.google.com/drive/folders/1I7yN-C_KCTjL0vaSMne-JFamXzvC5KyX"}}} {"uid":"1ac3050"}
[2026-10-13 15:40:28] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://google.emale.uno/api/docflow/prepare-generated-doc","payload":{"account_id":"22699852","entity_id":"42705568","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"1ac3050"}
[2026-10-13 15:40:29] docflow.WARNING: AmoDrive prepare-generated-doc request failed {"url":"https://google.emale.uno/api/docflow/prepare-generated-doc","http_code":null,"error":"HTTP/2 400 ","response":"<!DOCTYPE HTML PUBLIC \"-//IETF//DTD HTML 2.0//EN\">\r\n<html>\r\n<head><title>400 Bad Request</title></head>\r\n<body>\r\n<center><h1>400 Bad Request</h1></center>\r\n Sorry for the inconvenience.<br/>\r\nPlease report this message and include the following information to us.<br/>\r\nThank you very much!</p>\r\n<table>\r\n<tr>\r\n<td>URL:</td>\r\n<td>https://gd.glucose-dev.online/api/docflow/prepare-generated-doc</td>\r\n</tr>\r\n<tr>\r\n<td>Server:</td>\r\n<td>mail.glucose-dev.online</td>\r\n</tr>\r\n<tr>\r\n<td>Date:</td>\r\n<td>2026/10/13 15:40:29</td>\r\n</tr>\r\n</table>\r\n<hr><center>tengine</center>\r\n</body>\r\n</html>\r\n","payload":{"account_id":"22699852","entity_id":"42705568","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"1ac3050"}
[2026-10-13 15:40:29] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://gd.glucose-dev.online/api/docflow/prepare-generated-doc","payload":{"account_id":"22699852","entity_id":"42705568","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"1ac3050"}
[2026-10-13 15:40:29] docflow.WARNING: AmoDrive prepare-generated-doc request failed {"url":"https://gd.glucose-dev.online/api/docflow/prepare-generated-doc","http_code":null,"error":"HTTP/2 404 ","response":"[object] (stdClass: {\"ok\":false,\"error\":\"AmoDrive is not installed for this account.\",\"accountId\":22699852})","payload":{"account_id":"22699852","entity_id":"42705568","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"1ac3050"}
[2026-10-13 15:40:29] 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  721 20261013154028\",\"leadId\":\"42705568\",\"entities\":{\"\\u0441\\u0434\\u0435\\u043b\\u043a\\u0430\":{\"ID\":\"42705568\",\"\\u0421\\u0434\\u0435\\u043b\\u043a\\u0430_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"prelungire PS (Gutcu Ekaterina) + domiciliu x 3 ani pt ambii + transcriere CN (Constantin)\",\"Lead_name\":\"prelungire PS (Gutcu Ekaterina) + domiciliu x 3 ani pt ambii + transcriere CN (Constantin)\",\"\\u0411\\u044e\\u0434\\u0436\\u0435\\u0442\":\"4450\",\"Budget\":\"4450\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"Cezara Cenusa\",\"Responsible\":\"Cezara Cenusa\"},\"lead\":{\"ID\":\"42705568\",\"\\u0421\\u0434\\u0435\\u043b\\u043a\\u0430_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"prelungire PS (Gutcu Ekaterina) + domiciliu x 3 ani pt ambii + transcriere CN (Constantin)\",\"Lead_name\":\"prelungire PS (Gutcu Ekaterina) + domiciliu x 3 ani pt ambii + transcriere CN (Constantin)\",\"\\u0411\\u044e\\u0434\\u0436\\u0435\\u0442\":\"4450\",\"Budget\":\"4450\",\"\\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\":{\"Cet\\u0103\\u021benie de\\u021binut\\u0103\":\"RU\",\"Cum Comunicam\":\"Watsap\",\"Limba vorbita\":\"Rusa\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"0079119220840\",\"Email\":\"beingguzz@gmail.com\",\"google_folder_id_contacts_field\":\"1hj7WRX0P19xLW7u_yA0AScTXOZG_Ex72\",\"google_folder_link_contacts_field\":\"https:\\/\\/drive.google.com\\/drive\\/folders\\/1hj7WRX0P19xLW7u_yA0AScTXOZG_Ex72\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Constantin Gutu\",\"Contact_name\":\"Constantin Gutu\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"Capanji Igor\",\"Responsible\":\"Capanji Igor\"},\"contact\":{\"Cet\\u0103\\u021benie de\\u021binut\\u0103\":\"RU\",\"Cum Comunicam\":\"Watsap\",\"Limba vorbita\":\"Rusa\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"0079119220840\",\"Email\":\"beingguzz@gmail.com\",\"google_folder_id_contacts_field\":\"1hj7WRX0P19xLW7u_yA0AScTXOZG_Ex72\",\"google_folder_link_contacts_field\":\"https:\\/\\/drive.google.com\\/drive\\/folders\\/1hj7WRX0P19xLW7u_yA0AScTXOZG_Ex72\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Constantin Gutu\",\"Contact_name\":\"Constantin Gutu\",\"\\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\":[{\"Cet\\u0103\\u021benie de\\u021binut\\u0103\":\"RU\",\"Cum Comunicam\":\"Watsap\",\"Limba vorbita\":\"Rusa\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"0079119220840\",\"Email\":\"beingguzz@gmail.com\",\"google_folder_id_contacts_field\":\"1hj7WRX0P19xLW7u_yA0AScTXOZG_Ex72\",\"google_folder_link_contacts_field\":\"https:\\/\\/drive.google.com\\/drive\\/folders\\/1hj7WRX0P19xLW7u_yA0AScTXOZG_Ex72\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Constantin Gutu\",\"\\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\":\"13.10.2026\",\"\\u041d\\u043e\\u043c\\u0435\\u0440\":\"721\"},\"document\":{\"Date\":\"13.10.2026\",\"Number\":\"721\"}}}","edit":true}} {"uid":"1ac3050"}
[2026-10-13 15:40:36] docflow.DEBUG: GAS raw response {"raw":"[object] (stdClass: {\"code\":1,\"url\":\"https://docs.google.com/open?id=1nRKK5x9xvGk2Y6jxm-AobeLaWw3akPgdWeAwJ7xXYdc\",\"file_id\":\"1nRKK5x9xvGk2Y6jxm-AobeLaWw3akPgdWeAwJ7xXYdc\",\"error\":\"\",\"vars\":\"\"})"} {"uid":"1ac3050"}
[2026-10-13 15:40:36] docflow.WARNING: AmoDrive generated-file move is not ready. {"fileId":"1nRKK5x9xvGk2Y6jxm-AobeLaWw3akPgdWeAwJ7xXYdc","context":null} {"uid":"1ac3050"}
[2026-10-13 15:42:00] docflow.INFO: Apel createDoc {"data":{"amoAccountId":"22699852","amoUserId":null,"amoEntityId":"42705568","amoEntityType":"2","templateId":"11525","corporateEntityId":"","settlementAccountId":"","is_signed":null,"gdi":null,"number":null,"currentAmoUserId":null,"lang":"ru"}} {"uid":"a5a4153"}
[2026-10-13 15:42:00] docflow.INFO: Token is valid for account 22699852. [] {"uid":"a5a4153"}
[2026-10-13 15:42:00] docflow.DEBUG: getClientAuth returned {"auth":"[object] (stdClass: {\"domain\":\"emigrare.amocrm.ru\",\"access_token\":\"eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImp0aSI6IjA5Zjk3NjIwZWVhZDQ5MTk1YzAzMjExYWQzZWMwNWFmODMzOTAyYzkwNDUxYThhMDRlNWI2NGZhZTg5ODk0NGM0NzIxZWFiYTAwYWRmNGY1In0.eyJhdWQiOiIwZDY0ZGZmYi1lNTRiLTQ0OGYtOWZiZi1iYWYyMjUxYTExZGIiLCJqdGkiOiIwOWY5NzYyMGVlYWQ0OTE5NWMwMzIxMWFkM2VjMDVhZjgzMzkwMmM5MDQ1MWE4YTA0ZTViNjRmYWU4OTg5NDRjNDcyMWVhYmEwMGFkZjRmNSIsImlhdCI6MTc5MTg3NTcxNCwibmJmIjoxNzkxODc1NzE0LCJleHAiOjE3OTE5NjIxMTQsInN1YiI6IjI5MzAzODAiLCJncmFudF90eXBlIjoiIiwiYWNjb3VudF9pZCI6MjI2OTk4NTIsImJhc2VfZG9tYWluIjoiYW1vY3JtLnJ1IiwidmVyc2lvbiI6Miwic2NvcGVzIjpbInB1c2hfbm90aWZpY2F0aW9ucyIsImNybSIsIm5vdGlmaWNhdGlvbnMiXSwiaGFzaF91dWlkIjoiZjhhNDRkOTgtMTRlNS00OTcxLTllMGEtNTRhZDY5OGQyYmQ4IiwiYXBpX2RvbWFpbiI6ImFwaS1hLmFtb2NybS5ydSJ9.NBJbkjpQVkql6RIh0lb5_KN4a3HryxJWNmjqTpgN1z5_38BKNZZYuaLC3jSuifBhZ1bpvGNOvdij0i0pQgyxhOaT9bZBjt_vLr-92V395z4ycsTFsK62KSDyZ-lAic98RxsqiX1xzPrdIi7NEXKX9Ls1ZHz0dwCgMJC2czZsigpjSEG0ErTZNdfsZrz00lM5F7cYbWP1m6JO78QBQJmrF_fRwFLiWGm9epjs7WmHTq4gO0Ski6-09ZTgjUIdj0zk6kP0vuWPHu9bZb8EP2IglQ0UjVN2AuacD9jBZvwt8Z6Q3TPnOEJaD0MJgiSlBcFs7wQ2ueorh3T8wV5cwy3VIA\"})","file":"/home/ytvmclwh/document.amocrm.md/src/Models/Docs.php","line":121} {"uid":"a5a4153"}
[2026-10-13 15:42:03] docflow.DEBUG: AmoDrive docflow context request {"url":"https://google.emale.uno/api/docflow/google-context","query":{"account_id":"22699852","entity_id":"42705568","entity_type":"leads"}} {"uid":"a5a4153"}
[2026-10-13 15:42:04] docflow.WARNING: AmoDrive docflow context request failed {"url":"https://google.emale.uno/api/docflow/google-context","http_code":null,"error":"HTTP/2 400 ","response":"<!DOCTYPE HTML PUBLIC \"-//IETF//DTD HTML 2.0//EN\">\r\n<html>\r\n<head><title>400 Bad Request</title></head>\r\n<body>\r\n<center><h1>400 Bad Request</h1></center>\r\n Sorry for the inconvenience.<br/>\r\nPlease report this message and include the following information to us.<br/>\r\nThank you very much!</p>\r\n<table>\r\n<tr>\r\n<td>URL:</td>\r\n<td>https://gd.glucose-dev.online/api/docflow/google-context?account_id=22699852&amp;entity_id=42705568&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/13 15:42:04</td>\r\n</tr>\r\n</table>\r\n<hr><center>tengine</center>\r\n</body>\r\n</html>\r\n"} {"uid":"a5a4153"}
[2026-10-13 15:42:04] docflow.DEBUG: AmoDrive docflow context request {"url":"https://gd.glucose-dev.online/api/docflow/google-context","query":{"account_id":"22699852","entity_id":"42705568","entity_type":"leads"}} {"uid":"a5a4153"}
[2026-10-13 15:42:04] docflow.WARNING: AmoDrive docflow context response is not ready, trying next backend. {"url":"https://gd.glucose-dev.online/api/docflow/google-context","payload":{"ok":true,"accountId":22699852,"entityId":"42705568","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":311,"isLifetime":false},"licenseActive":false,"googleConnected":false,"googleEmail":null,"googleHasDriveScope":false,"googleHasDriveFileScope":false,"googleHasOwnershipScope":false,"readyForGeneratedFileMove":false,"readyForTransfer":false},"folder":{"id":"1I7yN-C_KCTjL0vaSMne-JFamXzvC5KyX","name":"42705568 - Lead #42705568","webViewLink":"https://drive.google.com/drive/folders/1I7yN-C_KCTjL0vaSMne-JFamXzvC5KyX"}}} {"uid":"a5a4153"}
[2026-10-13 15:42:04] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://google.emale.uno/api/docflow/prepare-generated-doc","payload":{"account_id":"22699852","entity_id":"42705568","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"a5a4153"}
[2026-10-13 15:42:04] docflow.WARNING: AmoDrive prepare-generated-doc request failed {"url":"https://google.emale.uno/api/docflow/prepare-generated-doc","http_code":null,"error":"HTTP/2 400 ","response":"<!DOCTYPE HTML PUBLIC \"-//IETF//DTD HTML 2.0//EN\">\r\n<html>\r\n<head><title>400 Bad Request</title></head>\r\n<body>\r\n<center><h1>400 Bad Request</h1></center>\r\n Sorry for the inconvenience.<br/>\r\nPlease report this message and include the following information to us.<br/>\r\nThank you very much!</p>\r\n<table>\r\n<tr>\r\n<td>URL:</td>\r\n<td>https://gd.glucose-dev.online/api/docflow/prepare-generated-doc</td>\r\n</tr>\r\n<tr>\r\n<td>Server:</td>\r\n<td>mail.glucose-dev.online</td>\r\n</tr>\r\n<tr>\r\n<td>Date:</td>\r\n<td>2026/10/13 15:42:04</td>\r\n</tr>\r\n</table>\r\n<hr><center>tengine</center>\r\n</body>\r\n</html>\r\n","payload":{"account_id":"22699852","entity_id":"42705568","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"a5a4153"}
[2026-10-13 15:42:04] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://gd.glucose-dev.online/api/docflow/prepare-generated-doc","payload":{"account_id":"22699852","entity_id":"42705568","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"a5a4153"}
[2026-10-13 15:42:04] docflow.WARNING: AmoDrive prepare-generated-doc request failed {"url":"https://gd.glucose-dev.online/api/docflow/prepare-generated-doc","http_code":null,"error":"HTTP/2 404 ","response":"[object] (stdClass: {\"ok\":false,\"error\":\"AmoDrive is not installed for this account.\",\"accountId\":22699852})","payload":{"account_id":"22699852","entity_id":"42705568","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"a5a4153"}
[2026-10-13 15:42:04] docflow.DEBUG: GAS request {"url":"https://script.google.com/macros/s/AKfycbwrvOJD46zkuoTzdhpc1kulhV8jRfgQBFZfQ121nkIip_k8yKit4xrbWTOzaJ-C-Yed6w/exec","body":{"templateFileId":"1WbsU1KEhQsgulJePwaSJXrk2Enf9WW8h7Hs9uPNHIDU","accountId":"22699852","folderId":"1Us2AfskxgdA729xVr0F2vjZU9y5PlYDe","key":"~VTsK5dcnHc2cSSsjM$LFSjLlgbmJXwrp3R2P5nd","data":"{\"fileName\":\"\\u0421\\u0447\\u0435\\u0442 \\u043d\\u0430 \\u043e\\u043f\\u043b\\u0430\\u0442\\u0443 CNC (EUR\\/USD\\/MDL) 144 20261013154203\",\"leadId\":\"42705568\",\"entities\":{\"\\u0441\\u0434\\u0435\\u043b\\u043a\\u0430\":{\"ID\":\"42705568\",\"\\u0421\\u0434\\u0435\\u043b\\u043a\\u0430_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"prelungire PS (Gutcu Ekaterina) + domiciliu x 3 ani pt ambii + transcriere CN (Constantin)\",\"Lead_name\":\"prelungire PS (Gutcu Ekaterina) + domiciliu x 3 ani pt ambii + transcriere CN (Constantin)\",\"\\u0411\\u044e\\u0434\\u0436\\u0435\\u0442\":\"4450\",\"Budget\":\"4450\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"Cezara Cenusa\",\"Responsible\":\"Cezara Cenusa\"},\"lead\":{\"ID\":\"42705568\",\"\\u0421\\u0434\\u0435\\u043b\\u043a\\u0430_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"prelungire PS (Gutcu Ekaterina) + domiciliu x 3 ani pt ambii + transcriere CN (Constantin)\",\"Lead_name\":\"prelungire PS (Gutcu Ekaterina) + domiciliu x 3 ani pt ambii + transcriere CN (Constantin)\",\"\\u0411\\u044e\\u0434\\u0436\\u0435\\u0442\":\"4450\",\"Budget\":\"4450\",\"\\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\":{\"Cet\\u0103\\u021benie de\\u021binut\\u0103\":\"RU\",\"Cum Comunicam\":\"Watsap\",\"Limba vorbita\":\"Rusa\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"0079119220840\",\"Email\":\"beingguzz@gmail.com\",\"google_folder_id_contacts_field\":\"1hj7WRX0P19xLW7u_yA0AScTXOZG_Ex72\",\"google_folder_link_contacts_field\":\"https:\\/\\/drive.google.com\\/drive\\/folders\\/1hj7WRX0P19xLW7u_yA0AScTXOZG_Ex72\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Constantin Gutu\",\"Contact_name\":\"Constantin Gutu\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"Capanji Igor\",\"Responsible\":\"Capanji Igor\"},\"contact\":{\"Cet\\u0103\\u021benie de\\u021binut\\u0103\":\"RU\",\"Cum Comunicam\":\"Watsap\",\"Limba vorbita\":\"Rusa\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"0079119220840\",\"Email\":\"beingguzz@gmail.com\",\"google_folder_id_contacts_field\":\"1hj7WRX0P19xLW7u_yA0AScTXOZG_Ex72\",\"google_folder_link_contacts_field\":\"https:\\/\\/drive.google.com\\/drive\\/folders\\/1hj7WRX0P19xLW7u_yA0AScTXOZG_Ex72\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Constantin Gutu\",\"Contact_name\":\"Constantin Gutu\",\"\\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\":[{\"Cet\\u0103\\u021benie de\\u021binut\\u0103\":\"RU\",\"Cum Comunicam\":\"Watsap\",\"Limba vorbita\":\"Rusa\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"0079119220840\",\"Email\":\"beingguzz@gmail.com\",\"google_folder_id_contacts_field\":\"1hj7WRX0P19xLW7u_yA0AScTXOZG_Ex72\",\"google_folder_link_contacts_field\":\"https:\\/\\/drive.google.com\\/drive\\/folders\\/1hj7WRX0P19xLW7u_yA0AScTXOZG_Ex72\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Constantin Gutu\",\"\\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\":\"13.10.2026\",\"\\u041d\\u043e\\u043c\\u0435\\u0440\":\"144\"},\"document\":{\"Date\":\"13.10.2026\",\"Number\":\"144\"}}}","edit":true}} {"uid":"a5a4153"}
[2026-10-13 15:42:11] docflow.DEBUG: GAS raw response {"raw":"[object] (stdClass: {\"code\":1,\"url\":\"https://docs.google.com/open?id=1pMoyNDN55m2dhmA35pENXPpd3sLWuTUpq8GF5qqjeT8\",\"file_id\":\"1pMoyNDN55m2dhmA35pENXPpd3sLWuTUpq8GF5qqjeT8\",\"error\":\"\",\"vars\":\"\"})"} {"uid":"a5a4153"}
[2026-10-13 15:42:11] docflow.WARNING: AmoDrive generated-file move is not ready. {"fileId":"1pMoyNDN55m2dhmA35pENXPpd3sLWuTUpq8GF5qqjeT8","context":null} {"uid":"a5a4153"}
[2026-10-13 15:42:46] docflow.INFO: Apel createDoc {"data":{"amoAccountId":"32990686","amoUserId":null,"amoEntityId":"51031713","amoEntityType":"2","templateId":"11625","corporateEntityId":"","settlementAccountId":"","is_signed":null,"gdi":null,"number":null,"currentAmoUserId":null,"lang":"ru"}} {"uid":"27004c9"}
[2026-10-13 15:42:47] docflow.INFO: Token is valid for account 32990686. [] {"uid":"27004c9"}
[2026-10-13 15:42:47] docflow.DEBUG: getClientAuth returned {"auth":"[object] (stdClass: {\"domain\":\"eurosanteh.amocrm.ru\",\"access_token\":\"eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImp0aSI6ImZkYzJlZjI1ODliMzhkZDRlNWMyMTNiYWUxZmY4MjhiOWExMjkwZjVlMjlmMDYzNWM4YmZkYzZiYjY3YjY0OTlmODNiMTJlNjYwMTFmMTVkIn0.eyJhdWQiOiIwZDY0ZGZmYi1lNTRiLTQ0OGYtOWZiZi1iYWYyMjUxYTExZGIiLCJqdGkiOiJmZGMyZWYyNTg5YjM4ZGQ0ZTVjMjEzYmFlMWZmODI4YjlhMTI5MGY1ZTI5ZjA2MzVjOGJmZGM2YmI2N2I2NDk5ZjgzYjEyZTY2MDExZjE1ZCIsImlhdCI6MTc5MTg4ODQ5NiwibmJmIjoxNzkxODg4NDk2LCJleHAiOjE3OTE5NzQ4OTYsInN1YiI6IjEzNjg3MzAyIiwiZ3JhbnRfdHlwZSI6IiIsImFjY291bnRfaWQiOjMyOTkwNjg2LCJiYXNlX2RvbWFpbiI6ImFtb2NybS5ydSIsInZlcnNpb24iOjIsInNjb3BlcyI6WyJwdXNoX25vdGlmaWNhdGlvbnMiLCJjcm0iLCJub3RpZmljYXRpb25zIl0sImhhc2hfdXVpZCI6IjVhMDU5ZmZiLTkyNGQtNDJhOC1hM2JmLTdiNzY2ZTUyNGQ3NyIsImFwaV9kb21haW4iOiJhcGktYi5hbW9jcm0ucnUifQ.DGUrEprnD9vYQ6273M6iSKzWOcEga9BmbE1vbzIv_pQCn9nvv0dA2PsWAGGFwmyLgtGnG4LGLwtWrOoWSZ9kYFujloT8JcP6mkFlPllYxpp72mKFKDTJ3BjnQ86tu5NqqP7phhMRmm-MpC9xxJjvZ_w454SKjwnPH7bHxPY96qVwps-3CwtO3LBZpPwTcFvPHLKBfG1WyHBe_ML8pOJNgJMg8CxBTVtygz3q6J_xh_lCEGMiIbTsfia5BPY8rU4cUNGFrkv2ebtbbV7WD8E74oIi2fdCh5FIn3jzXxnN5k8GsAuFn0eG-VAF_u7MCEkOxOHAL6a5cZ4jqsFxbbdAzg\"})","file":"/home/ytvmclwh/document.amocrm.md/src/Models/Docs.php","line":121} {"uid":"27004c9"}
[2026-10-13 15:42:49] docflow.DEBUG: AmoDrive docflow context request {"url":"https://google.emale.uno/api/docflow/google-context","query":{"account_id":"32990686","entity_id":"51031713","entity_type":"leads"}} {"uid":"27004c9"}
[2026-10-13 15:42:49] docflow.WARNING: AmoDrive docflow context request failed {"url":"https://google.emale.uno/api/docflow/google-context","http_code":null,"error":"HTTP/2 400 ","response":"<!DOCTYPE HTML PUBLIC \"-//IETF//DTD HTML 2.0//EN\">\r\n<html>\r\n<head><title>400 Bad Request</title></head>\r\n<body>\r\n<center><h1>400 Bad Request</h1></center>\r\n Sorry for the inconvenience.<br/>\r\nPlease report this message and include the following information to us.<br/>\r\nThank you very much!</p>\r\n<table>\r\n<tr>\r\n<td>URL:</td>\r\n<td>https://gd.glucose-dev.online/api/docflow/google-context?account_id=32990686&amp;entity_id=51031713&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/13 15:42:49</td>\r\n</tr>\r\n</table>\r\n<hr><center>tengine</center>\r\n</body>\r\n</html>\r\n"} {"uid":"27004c9"}
[2026-10-13 15:42:49] docflow.DEBUG: AmoDrive docflow context request {"url":"https://gd.glucose-dev.online/api/docflow/google-context","query":{"account_id":"32990686","entity_id":"51031713","entity_type":"leads"}} {"uid":"27004c9"}
[2026-10-13 15:42:49] docflow.WARNING: AmoDrive docflow context response is not ready, trying next backend. {"url":"https://gd.glucose-dev.online/api/docflow/google-context","payload":{"ok":true,"accountId":32990686,"entityId":"51031713","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":"27004c9"}
[2026-10-13 15:42:49] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://google.emale.uno/api/docflow/prepare-generated-doc","payload":{"account_id":"32990686","entity_id":"51031713","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"27004c9"}
[2026-10-13 15:42: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/13 15:42:49</td>\r\n</tr>\r\n</table>\r\n<hr><center>tengine</center>\r\n</body>\r\n</html>\r\n","payload":{"account_id":"32990686","entity_id":"51031713","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"27004c9"}
[2026-10-13 15:42:49] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://gd.glucose-dev.online/api/docflow/prepare-generated-doc","payload":{"account_id":"32990686","entity_id":"51031713","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"27004c9"}
[2026-10-13 15:42: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\":32990686})","payload":{"account_id":"32990686","entity_id":"51031713","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"27004c9"}
[2026-10-13 15:42:49] 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 1335 20261013154249\",\"leadId\":\"51031713\",\"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-14 15:31:00\",\"\\u0414\\u0430\\u0442\\u0430 \\u0432\\u0438\\u0437\\u0438\\u0442\\u0430\":\"14.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\",\"\\u041c\\u043e\\u0434\\u0435\\u043b\\u044c \\u043e\\u0431\\u043e\\u0440\\u0443\\u0434\\u043e\\u0432\\u0430\\u043d\\u0438\\u044f 1\":\"Haier Flexis 12\",\"\\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\":\"14.10.2027\",\"ID\":\"51031713\",\"\\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-14 15:31:00\",\"\\u0414\\u0430\\u0442\\u0430 \\u0432\\u0438\\u0437\\u0438\\u0442\\u0430\":\"14.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\",\"\\u041c\\u043e\\u0434\\u0435\\u043b\\u044c \\u043e\\u0431\\u043e\\u0440\\u0443\\u0434\\u043e\\u0432\\u0430\\u043d\\u0438\\u044f 1\":\"Haier Flexis 12\",\"\\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\":\"14.10.2027\",\"ID\":\"51031713\",\"\\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\":\"2004001004524\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"37368048737\",\"\\u0410\\u0434\\u0440\\u0435\\u0441\":\"str Miorita 5\\/3 ap 77\",\"\\u0418\\u043c\\u044f \\u043a\\u043b\\u0438\\u0435\\u043d\\u0442\\u0430 (\\u0421\\u041c\\u0421)\":\"Gangan Axenia\",\"\\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 Flexis 12\",\"\\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\":\"Gangan Axenia\",\"Contact_name\":\"Gangan Axenia\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"\\u0410\\u0441\\u0442\\u0430\\u043f\\u0435\\u043d\\u043a\\u043e\\u0432\\u0430 \\u042e\\u043b\\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\":\"2004001004524\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"37368048737\",\"\\u0410\\u0434\\u0440\\u0435\\u0441\":\"str Miorita 5\\/3 ap 77\",\"\\u0418\\u043c\\u044f \\u043a\\u043b\\u0438\\u0435\\u043d\\u0442\\u0430 (\\u0421\\u041c\\u0421)\":\"Gangan Axenia\",\"\\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 Flexis 12\",\"\\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\":\"Gangan Axenia\",\"Contact_name\":\"Gangan Axenia\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"\\u0410\\u0441\\u0442\\u0430\\u043f\\u0435\\u043d\\u043a\\u043e\\u0432\\u0430 \\u042e\\u043b\\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\":\"2004001004524\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"37368048737\",\"\\u0410\\u0434\\u0440\\u0435\\u0441\":\"str Miorita 5\\/3 ap 77\",\"\\u0418\\u043c\\u044f \\u043a\\u043b\\u0438\\u0435\\u043d\\u0442\\u0430 (\\u0421\\u041c\\u0421)\":\"Gangan Axenia\",\"\\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 Flexis 12\",\"\\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\":\"Gangan Axenia\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\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\":\"13.10.2026\",\"\\u041d\\u043e\\u043c\\u0435\\u0440\":\"1335\"},\"document\":{\"Date\":\"13.10.2026\",\"Number\":\"1335\"}}}","edit":true}} {"uid":"27004c9"}
[2026-10-13 15:42:55] docflow.DEBUG: GAS raw response {"raw":"[object] (stdClass: {\"code\":1,\"url\":\"https://docs.google.com/open?id=1_puAnTgFhaKlJgRpXa9aUlxJBdYEoDHSHuJbobbNpFA\",\"file_id\":\"1_puAnTgFhaKlJgRpXa9aUlxJBdYEoDHSHuJbobbNpFA\",\"error\":\"\",\"vars\":\"\"})"} {"uid":"27004c9"}
[2026-10-13 15:42:55] docflow.WARNING: AmoDrive generated-file move is not ready. {"fileId":"1_puAnTgFhaKlJgRpXa9aUlxJBdYEoDHSHuJbobbNpFA","context":null} {"uid":"27004c9"}
[2026-10-13 15:48:34] docflow.INFO: Apel createDoc {"data":{"amoAccountId":"32990686","amoUserId":null,"amoEntityId":"51031713","amoEntityType":"2","templateId":"11646","corporateEntityId":"","settlementAccountId":"","is_signed":null,"gdi":null,"number":null,"currentAmoUserId":null,"lang":"ru"}} {"uid":"b7f7fd7"}
[2026-10-13 15:48:36] docflow.INFO: Token is valid for account 32990686. [] {"uid":"b7f7fd7"}
[2026-10-13 15:48:36] docflow.DEBUG: getClientAuth returned {"auth":"[object] (stdClass: {\"domain\":\"eurosanteh.amocrm.ru\",\"access_token\":\"eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImp0aSI6ImZkYzJlZjI1ODliMzhkZDRlNWMyMTNiYWUxZmY4MjhiOWExMjkwZjVlMjlmMDYzNWM4YmZkYzZiYjY3YjY0OTlmODNiMTJlNjYwMTFmMTVkIn0.eyJhdWQiOiIwZDY0ZGZmYi1lNTRiLTQ0OGYtOWZiZi1iYWYyMjUxYTExZGIiLCJqdGkiOiJmZGMyZWYyNTg5YjM4ZGQ0ZTVjMjEzYmFlMWZmODI4YjlhMTI5MGY1ZTI5ZjA2MzVjOGJmZGM2YmI2N2I2NDk5ZjgzYjEyZTY2MDExZjE1ZCIsImlhdCI6MTc5MTg4ODQ5NiwibmJmIjoxNzkxODg4NDk2LCJleHAiOjE3OTE5NzQ4OTYsInN1YiI6IjEzNjg3MzAyIiwiZ3JhbnRfdHlwZSI6IiIsImFjY291bnRfaWQiOjMyOTkwNjg2LCJiYXNlX2RvbWFpbiI6ImFtb2NybS5ydSIsInZlcnNpb24iOjIsInNjb3BlcyI6WyJwdXNoX25vdGlmaWNhdGlvbnMiLCJjcm0iLCJub3RpZmljYXRpb25zIl0sImhhc2hfdXVpZCI6IjVhMDU5ZmZiLTkyNGQtNDJhOC1hM2JmLTdiNzY2ZTUyNGQ3NyIsImFwaV9kb21haW4iOiJhcGktYi5hbW9jcm0ucnUifQ.DGUrEprnD9vYQ6273M6iSKzWOcEga9BmbE1vbzIv_pQCn9nvv0dA2PsWAGGFwmyLgtGnG4LGLwtWrOoWSZ9kYFujloT8JcP6mkFlPllYxpp72mKFKDTJ3BjnQ86tu5NqqP7phhMRmm-MpC9xxJjvZ_w454SKjwnPH7bHxPY96qVwps-3CwtO3LBZpPwTcFvPHLKBfG1WyHBe_ML8pOJNgJMg8CxBTVtygz3q6J_xh_lCEGMiIbTsfia5BPY8rU4cUNGFrkv2ebtbbV7WD8E74oIi2fdCh5FIn3jzXxnN5k8GsAuFn0eG-VAF_u7MCEkOxOHAL6a5cZ4jqsFxbbdAzg\"})","file":"/home/ytvmclwh/document.amocrm.md/src/Models/Docs.php","line":121} {"uid":"b7f7fd7"}
[2026-10-13 15:48:39] docflow.DEBUG: AmoDrive docflow context request {"url":"https://google.emale.uno/api/docflow/google-context","query":{"account_id":"32990686","entity_id":"51031713","entity_type":"leads"}} {"uid":"b7f7fd7"}
[2026-10-13 15:48: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=51031713&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/13 15:48:39</td>\r\n</tr>\r\n</table>\r\n<hr><center>tengine</center>\r\n</body>\r\n</html>\r\n"} {"uid":"b7f7fd7"}
[2026-10-13 15:48:39] docflow.DEBUG: AmoDrive docflow context request {"url":"https://gd.glucose-dev.online/api/docflow/google-context","query":{"account_id":"32990686","entity_id":"51031713","entity_type":"leads"}} {"uid":"b7f7fd7"}
[2026-10-13 15:48: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":"51031713","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":"b7f7fd7"}
[2026-10-13 15:48:39] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://google.emale.uno/api/docflow/prepare-generated-doc","payload":{"account_id":"32990686","entity_id":"51031713","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"b7f7fd7"}
[2026-10-13 15:48: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/13 15:48: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":"51031713","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"b7f7fd7"}
[2026-10-13 15:48: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":"51031713","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"b7f7fd7"}
[2026-10-13 15:48: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":"51031713","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"b7f7fd7"}
[2026-10-13 15:48:40] 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 1335 20261013154839\",\"leadId\":\"51031713\",\"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-14 15:31:00\",\"\\u0414\\u0430\\u0442\\u0430 \\u0432\\u0438\\u0437\\u0438\\u0442\\u0430\":\"14.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\",\"\\u041c\\u043e\\u0434\\u0435\\u043b\\u044c \\u043e\\u0431\\u043e\\u0440\\u0443\\u0434\\u043e\\u0432\\u0430\\u043d\\u0438\\u044f 1\":\"Haier Flexis 12\",\"\\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\":\"14.10.2027\",\"ID\":\"51031713\",\"\\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-14 15:31:00\",\"\\u0414\\u0430\\u0442\\u0430 \\u0432\\u0438\\u0437\\u0438\\u0442\\u0430\":\"14.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\",\"\\u041c\\u043e\\u0434\\u0435\\u043b\\u044c \\u043e\\u0431\\u043e\\u0440\\u0443\\u0434\\u043e\\u0432\\u0430\\u043d\\u0438\\u044f 1\":\"Haier Flexis 12\",\"\\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\":\"14.10.2027\",\"ID\":\"51031713\",\"\\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\":\"2004001004524\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"37368048737\",\"\\u0410\\u0434\\u0440\\u0435\\u0441\":\"str Miorita 5\\/3 ap 77\",\"\\u0418\\u043c\\u044f \\u043a\\u043b\\u0438\\u0435\\u043d\\u0442\\u0430 (\\u0421\\u041c\\u0421)\":\"Gangan Axenia\",\"\\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 Flexis 12\",\"\\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\":\"Gangan Axenia\",\"Contact_name\":\"Gangan Axenia\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"\\u0410\\u0441\\u0442\\u0430\\u043f\\u0435\\u043d\\u043a\\u043e\\u0432\\u0430 \\u042e\\u043b\\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\":\"2004001004524\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"37368048737\",\"\\u0410\\u0434\\u0440\\u0435\\u0441\":\"str Miorita 5\\/3 ap 77\",\"\\u0418\\u043c\\u044f \\u043a\\u043b\\u0438\\u0435\\u043d\\u0442\\u0430 (\\u0421\\u041c\\u0421)\":\"Gangan Axenia\",\"\\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 Flexis 12\",\"\\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\":\"Gangan Axenia\",\"Contact_name\":\"Gangan Axenia\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"\\u0410\\u0441\\u0442\\u0430\\u043f\\u0435\\u043d\\u043a\\u043e\\u0432\\u0430 \\u042e\\u043b\\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\":\"2004001004524\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"37368048737\",\"\\u0410\\u0434\\u0440\\u0435\\u0441\":\"str Miorita 5\\/3 ap 77\",\"\\u0418\\u043c\\u044f \\u043a\\u043b\\u0438\\u0435\\u043d\\u0442\\u0430 (\\u0421\\u041c\\u0421)\":\"Gangan Axenia\",\"\\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 Flexis 12\",\"\\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\":\"Gangan Axenia\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\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\":\"13.10.2026\",\"\\u041d\\u043e\\u043c\\u0435\\u0440\":\"1335\"},\"document\":{\"Date\":\"13.10.2026\",\"Number\":\"1335\"}}}","edit":true}} {"uid":"b7f7fd7"}
[2026-10-13 15:48:46] docflow.DEBUG: GAS raw response {"raw":"[object] (stdClass: {\"code\":1,\"url\":\"https://docs.google.com/open?id=1t0op4td5qZrFHgFve7SbgOP4TPWVRmuAS2RBp3JWbVg\",\"file_id\":\"1t0op4td5qZrFHgFve7SbgOP4TPWVRmuAS2RBp3JWbVg\",\"error\":\"\",\"vars\":\"\"})"} {"uid":"b7f7fd7"}
[2026-10-13 15:48:46] docflow.WARNING: AmoDrive generated-file move is not ready. {"fileId":"1t0op4td5qZrFHgFve7SbgOP4TPWVRmuAS2RBp3JWbVg","context":null} {"uid":"b7f7fd7"}
[2026-10-13 15:55:09] docflow.INFO: Apel createDoc {"data":{"amoAccountId":"32990686","amoUserId":null,"amoEntityId":"51032839","amoEntityType":"2","templateId":"11625","corporateEntityId":"","settlementAccountId":"","is_signed":null,"gdi":null,"number":null,"currentAmoUserId":null,"lang":"ru"}} {"uid":"432e76a"}
[2026-10-13 15:55:10] docflow.INFO: Token is valid for account 32990686. [] {"uid":"432e76a"}
[2026-10-13 15:55:10] docflow.DEBUG: getClientAuth returned {"auth":"[object] (stdClass: {\"domain\":\"eurosanteh.amocrm.ru\",\"access_token\":\"eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImp0aSI6ImZkYzJlZjI1ODliMzhkZDRlNWMyMTNiYWUxZmY4MjhiOWExMjkwZjVlMjlmMDYzNWM4YmZkYzZiYjY3YjY0OTlmODNiMTJlNjYwMTFmMTVkIn0.eyJhdWQiOiIwZDY0ZGZmYi1lNTRiLTQ0OGYtOWZiZi1iYWYyMjUxYTExZGIiLCJqdGkiOiJmZGMyZWYyNTg5YjM4ZGQ0ZTVjMjEzYmFlMWZmODI4YjlhMTI5MGY1ZTI5ZjA2MzVjOGJmZGM2YmI2N2I2NDk5ZjgzYjEyZTY2MDExZjE1ZCIsImlhdCI6MTc5MTg4ODQ5NiwibmJmIjoxNzkxODg4NDk2LCJleHAiOjE3OTE5NzQ4OTYsInN1YiI6IjEzNjg3MzAyIiwiZ3JhbnRfdHlwZSI6IiIsImFjY291bnRfaWQiOjMyOTkwNjg2LCJiYXNlX2RvbWFpbiI6ImFtb2NybS5ydSIsInZlcnNpb24iOjIsInNjb3BlcyI6WyJwdXNoX25vdGlmaWNhdGlvbnMiLCJjcm0iLCJub3RpZmljYXRpb25zIl0sImhhc2hfdXVpZCI6IjVhMDU5ZmZiLTkyNGQtNDJhOC1hM2JmLTdiNzY2ZTUyNGQ3NyIsImFwaV9kb21haW4iOiJhcGktYi5hbW9jcm0ucnUifQ.DGUrEprnD9vYQ6273M6iSKzWOcEga9BmbE1vbzIv_pQCn9nvv0dA2PsWAGGFwmyLgtGnG4LGLwtWrOoWSZ9kYFujloT8JcP6mkFlPllYxpp72mKFKDTJ3BjnQ86tu5NqqP7phhMRmm-MpC9xxJjvZ_w454SKjwnPH7bHxPY96qVwps-3CwtO3LBZpPwTcFvPHLKBfG1WyHBe_ML8pOJNgJMg8CxBTVtygz3q6J_xh_lCEGMiIbTsfia5BPY8rU4cUNGFrkv2ebtbbV7WD8E74oIi2fdCh5FIn3jzXxnN5k8GsAuFn0eG-VAF_u7MCEkOxOHAL6a5cZ4jqsFxbbdAzg\"})","file":"/home/ytvmclwh/document.amocrm.md/src/Models/Docs.php","line":121} {"uid":"432e76a"}
[2026-10-13 15:55:13] docflow.DEBUG: AmoDrive docflow context request {"url":"https://google.emale.uno/api/docflow/google-context","query":{"account_id":"32990686","entity_id":"51032839","entity_type":"leads"}} {"uid":"432e76a"}
[2026-10-13 15:55:14] docflow.WARNING: AmoDrive docflow context request failed {"url":"https://google.emale.uno/api/docflow/google-context","http_code":null,"error":"HTTP/2 400 ","response":"<!DOCTYPE HTML PUBLIC \"-//IETF//DTD HTML 2.0//EN\">\r\n<html>\r\n<head><title>400 Bad Request</title></head>\r\n<body>\r\n<center><h1>400 Bad Request</h1></center>\r\n Sorry for the inconvenience.<br/>\r\nPlease report this message and include the following information to us.<br/>\r\nThank you very much!</p>\r\n<table>\r\n<tr>\r\n<td>URL:</td>\r\n<td>https://gd.glucose-dev.online/api/docflow/google-context?account_id=32990686&amp;entity_id=51032839&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/13 15:55:13</td>\r\n</tr>\r\n</table>\r\n<hr><center>tengine</center>\r\n</body>\r\n</html>\r\n"} {"uid":"432e76a"}
[2026-10-13 15:55:14] docflow.DEBUG: AmoDrive docflow context request {"url":"https://gd.glucose-dev.online/api/docflow/google-context","query":{"account_id":"32990686","entity_id":"51032839","entity_type":"leads"}} {"uid":"432e76a"}
[2026-10-13 15:55:14] docflow.WARNING: AmoDrive docflow context response is not ready, trying next backend. {"url":"https://gd.glucose-dev.online/api/docflow/google-context","payload":{"ok":true,"accountId":32990686,"entityId":"51032839","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":"432e76a"}
[2026-10-13 15:55:14] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://google.emale.uno/api/docflow/prepare-generated-doc","payload":{"account_id":"32990686","entity_id":"51032839","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"432e76a"}
[2026-10-13 15:55:14] docflow.WARNING: AmoDrive prepare-generated-doc request failed {"url":"https://google.emale.uno/api/docflow/prepare-generated-doc","http_code":null,"error":"HTTP/2 400 ","response":"<!DOCTYPE HTML PUBLIC \"-//IETF//DTD HTML 2.0//EN\">\r\n<html>\r\n<head><title>400 Bad Request</title></head>\r\n<body>\r\n<center><h1>400 Bad Request</h1></center>\r\n Sorry for the inconvenience.<br/>\r\nPlease report this message and include the following information to us.<br/>\r\nThank you very much!</p>\r\n<table>\r\n<tr>\r\n<td>URL:</td>\r\n<td>https://gd.glucose-dev.online/api/docflow/prepare-generated-doc</td>\r\n</tr>\r\n<tr>\r\n<td>Server:</td>\r\n<td>mail.glucose-dev.online</td>\r\n</tr>\r\n<tr>\r\n<td>Date:</td>\r\n<td>2026/10/13 15:55:14</td>\r\n</tr>\r\n</table>\r\n<hr><center>tengine</center>\r\n</body>\r\n</html>\r\n","payload":{"account_id":"32990686","entity_id":"51032839","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"432e76a"}
[2026-10-13 15:55:14] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://gd.glucose-dev.online/api/docflow/prepare-generated-doc","payload":{"account_id":"32990686","entity_id":"51032839","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"432e76a"}
[2026-10-13 15:55:14] docflow.WARNING: AmoDrive prepare-generated-doc request failed {"url":"https://gd.glucose-dev.online/api/docflow/prepare-generated-doc","http_code":null,"error":"HTTP/2 404 ","response":"[object] (stdClass: {\"ok\":false,\"error\":\"AmoDrive is not installed for this account.\",\"accountId\":32990686})","payload":{"account_id":"32990686","entity_id":"51032839","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"432e76a"}
[2026-10-13 15:55:14] docflow.DEBUG: GAS request {"url":"https://script.google.com/macros/s/AKfycbwrvOJD46zkuoTzdhpc1kulhV8jRfgQBFZfQ121nkIip_k8yKit4xrbWTOzaJ-C-Yed6w/exec","body":{"templateFileId":"1AjK4khA9mRlFDVy4RXRqHAg2GTFWJYC-Gac1Mx3OLnA","accountId":"32990686","folderId":"1Us2AfskxgdA729xVr0F2vjZU9y5PlYDe","key":"~VTsK5dcnHc2cSSsjM$LFSjLlgbmJXwrp3R2P5nd","data":"{\"fileName\":\"ALL FOR ALL \\u041d\\u0430\\u0440\\u044f\\u0434 \\u043d\\u0430 \\u0432\\u044b\\u043f\\u043e\\u043b\\u043d\\u0435\\u043d\\u0438\\u0435 \\u0440\\u0430\\u0431\\u043e\\u0442 1336 20261013155513\",\"leadId\":\"51032839\",\"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-14 15:54:00\",\"\\u0414\\u0430\\u0442\\u0430 \\u0432\\u0438\\u0437\\u0438\\u0442\\u0430\":\"14.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\":\"14.10.2027\",\"ID\":\"51032839\",\"\\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-14 15:54:00\",\"\\u0414\\u0430\\u0442\\u0430 \\u0432\\u0438\\u0437\\u0438\\u0442\\u0430\":\"14.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\":\"14.10.2027\",\"ID\":\"51032839\",\"\\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\":\"961308544606\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"37360297417\",\"\\u0410\\u0434\\u0440\\u0435\\u0441\":\"str V Coroban 22\\/1 ap 66\",\"\\u0418\\u043c\\u044f \\u043a\\u043b\\u0438\\u0435\\u043d\\u0442\\u0430 (\\u0421\\u041c\\u0421)\":\"Andrei\",\"\\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\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Andrei Cozmulici\",\"Contact_name\":\"Andrei Cozmulici\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"\\u0410\\u0441\\u0442\\u0430\\u043f\\u0435\\u043d\\u043a\\u043e\\u0432\\u0430 \\u042e\\u043b\\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\":\"961308544606\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"37360297417\",\"\\u0410\\u0434\\u0440\\u0435\\u0441\":\"str V Coroban 22\\/1 ap 66\",\"\\u0418\\u043c\\u044f \\u043a\\u043b\\u0438\\u0435\\u043d\\u0442\\u0430 (\\u0421\\u041c\\u0421)\":\"Andrei\",\"\\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\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Andrei Cozmulici\",\"Contact_name\":\"Andrei Cozmulici\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"\\u0410\\u0441\\u0442\\u0430\\u043f\\u0435\\u043d\\u043a\\u043e\\u0432\\u0430 \\u042e\\u043b\\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\":\"961308544606\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"37360297417\",\"\\u0410\\u0434\\u0440\\u0435\\u0441\":\"str V Coroban 22\\/1 ap 66\",\"\\u0418\\u043c\\u044f \\u043a\\u043b\\u0438\\u0435\\u043d\\u0442\\u0430 (\\u0421\\u041c\\u0421)\":\"Andrei\",\"\\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\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Andrei Cozmulici\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\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\":\"13.10.2026\",\"\\u041d\\u043e\\u043c\\u0435\\u0440\":\"1336\"},\"document\":{\"Date\":\"13.10.2026\",\"Number\":\"1336\"}}}","edit":true}} {"uid":"432e76a"}
[2026-10-13 15:55:22] docflow.DEBUG: GAS raw response {"raw":"[object] (stdClass: {\"code\":1,\"url\":\"https://docs.google.com/open?id=1rGeqYLTVO3mTO0F4w0DJCWjbWFBB-7k3RCgjWHgaeoA\",\"file_id\":\"1rGeqYLTVO3mTO0F4w0DJCWjbWFBB-7k3RCgjWHgaeoA\",\"error\":\"\",\"vars\":\"\"})"} {"uid":"432e76a"}
[2026-10-13 15:55:22] docflow.WARNING: AmoDrive generated-file move is not ready. {"fileId":"1rGeqYLTVO3mTO0F4w0DJCWjbWFBB-7k3RCgjWHgaeoA","context":null} {"uid":"432e76a"}
[2026-10-13 15:56:49] docflow.INFO: Apel createDoc {"data":{"amoAccountId":"32990686","amoUserId":null,"amoEntityId":"51032839","amoEntityType":"2","templateId":"11646","corporateEntityId":"","settlementAccountId":"","is_signed":null,"gdi":null,"number":null,"currentAmoUserId":null,"lang":"ru"}} {"uid":"82a48d6"}
[2026-10-13 15:56:51] docflow.INFO: Token is valid for account 32990686. [] {"uid":"82a48d6"}
[2026-10-13 15:56:51] docflow.DEBUG: getClientAuth returned {"auth":"[object] (stdClass: {\"domain\":\"eurosanteh.amocrm.ru\",\"access_token\":\"eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImp0aSI6ImZkYzJlZjI1ODliMzhkZDRlNWMyMTNiYWUxZmY4MjhiOWExMjkwZjVlMjlmMDYzNWM4YmZkYzZiYjY3YjY0OTlmODNiMTJlNjYwMTFmMTVkIn0.eyJhdWQiOiIwZDY0ZGZmYi1lNTRiLTQ0OGYtOWZiZi1iYWYyMjUxYTExZGIiLCJqdGkiOiJmZGMyZWYyNTg5YjM4ZGQ0ZTVjMjEzYmFlMWZmODI4YjlhMTI5MGY1ZTI5ZjA2MzVjOGJmZGM2YmI2N2I2NDk5ZjgzYjEyZTY2MDExZjE1ZCIsImlhdCI6MTc5MTg4ODQ5NiwibmJmIjoxNzkxODg4NDk2LCJleHAiOjE3OTE5NzQ4OTYsInN1YiI6IjEzNjg3MzAyIiwiZ3JhbnRfdHlwZSI6IiIsImFjY291bnRfaWQiOjMyOTkwNjg2LCJiYXNlX2RvbWFpbiI6ImFtb2NybS5ydSIsInZlcnNpb24iOjIsInNjb3BlcyI6WyJwdXNoX25vdGlmaWNhdGlvbnMiLCJjcm0iLCJub3RpZmljYXRpb25zIl0sImhhc2hfdXVpZCI6IjVhMDU5ZmZiLTkyNGQtNDJhOC1hM2JmLTdiNzY2ZTUyNGQ3NyIsImFwaV9kb21haW4iOiJhcGktYi5hbW9jcm0ucnUifQ.DGUrEprnD9vYQ6273M6iSKzWOcEga9BmbE1vbzIv_pQCn9nvv0dA2PsWAGGFwmyLgtGnG4LGLwtWrOoWSZ9kYFujloT8JcP6mkFlPllYxpp72mKFKDTJ3BjnQ86tu5NqqP7phhMRmm-MpC9xxJjvZ_w454SKjwnPH7bHxPY96qVwps-3CwtO3LBZpPwTcFvPHLKBfG1WyHBe_ML8pOJNgJMg8CxBTVtygz3q6J_xh_lCEGMiIbTsfia5BPY8rU4cUNGFrkv2ebtbbV7WD8E74oIi2fdCh5FIn3jzXxnN5k8GsAuFn0eG-VAF_u7MCEkOxOHAL6a5cZ4jqsFxbbdAzg\"})","file":"/home/ytvmclwh/document.amocrm.md/src/Models/Docs.php","line":121} {"uid":"82a48d6"}
[2026-10-13 15:56:53] docflow.DEBUG: AmoDrive docflow context request {"url":"https://google.emale.uno/api/docflow/google-context","query":{"account_id":"32990686","entity_id":"51032839","entity_type":"leads"}} {"uid":"82a48d6"}
[2026-10-13 15:56: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=51032839&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/13 15:56:53</td>\r\n</tr>\r\n</table>\r\n<hr><center>tengine</center>\r\n</body>\r\n</html>\r\n"} {"uid":"82a48d6"}
[2026-10-13 15:56:53] docflow.DEBUG: AmoDrive docflow context request {"url":"https://gd.glucose-dev.online/api/docflow/google-context","query":{"account_id":"32990686","entity_id":"51032839","entity_type":"leads"}} {"uid":"82a48d6"}
[2026-10-13 15:56: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":"51032839","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":"82a48d6"}
[2026-10-13 15:56:53] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://google.emale.uno/api/docflow/prepare-generated-doc","payload":{"account_id":"32990686","entity_id":"51032839","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"82a48d6"}
[2026-10-13 15:56: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/13 15:56: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":"51032839","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"82a48d6"}
[2026-10-13 15:56: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":"51032839","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"82a48d6"}
[2026-10-13 15:56:54] docflow.WARNING: AmoDrive prepare-generated-doc request failed {"url":"https://gd.glucose-dev.online/api/docflow/prepare-generated-doc","http_code":null,"error":"HTTP/2 404 ","response":"[object] (stdClass: {\"ok\":false,\"error\":\"AmoDrive is not installed for this account.\",\"accountId\":32990686})","payload":{"account_id":"32990686","entity_id":"51032839","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"82a48d6"}
[2026-10-13 15:56:54] 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 1336 20261013155653\",\"leadId\":\"51032839\",\"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-14 15:54:00\",\"\\u0414\\u0430\\u0442\\u0430 \\u0432\\u0438\\u0437\\u0438\\u0442\\u0430\":\"14.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\":\"14.10.2027\",\"ID\":\"51032839\",\"\\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-14 15:54:00\",\"\\u0414\\u0430\\u0442\\u0430 \\u0432\\u0438\\u0437\\u0438\\u0442\\u0430\":\"14.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\":\"14.10.2027\",\"ID\":\"51032839\",\"\\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\":\"961308544606\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"37360297417\",\"\\u0410\\u0434\\u0440\\u0435\\u0441\":\"str V Coroban 22\\/1 ap 66\",\"\\u0418\\u043c\\u044f \\u043a\\u043b\\u0438\\u0435\\u043d\\u0442\\u0430 (\\u0421\\u041c\\u0421)\":\"Andrei\",\"\\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\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Andrei Cozmulici\",\"Contact_name\":\"Andrei Cozmulici\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"\\u0410\\u0441\\u0442\\u0430\\u043f\\u0435\\u043d\\u043a\\u043e\\u0432\\u0430 \\u042e\\u043b\\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\":\"961308544606\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"37360297417\",\"\\u0410\\u0434\\u0440\\u0435\\u0441\":\"str V Coroban 22\\/1 ap 66\",\"\\u0418\\u043c\\u044f \\u043a\\u043b\\u0438\\u0435\\u043d\\u0442\\u0430 (\\u0421\\u041c\\u0421)\":\"Andrei\",\"\\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\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Andrei Cozmulici\",\"Contact_name\":\"Andrei Cozmulici\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"\\u0410\\u0441\\u0442\\u0430\\u043f\\u0435\\u043d\\u043a\\u043e\\u0432\\u0430 \\u042e\\u043b\\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\":\"961308544606\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"37360297417\",\"\\u0410\\u0434\\u0440\\u0435\\u0441\":\"str V Coroban 22\\/1 ap 66\",\"\\u0418\\u043c\\u044f \\u043a\\u043b\\u0438\\u0435\\u043d\\u0442\\u0430 (\\u0421\\u041c\\u0421)\":\"Andrei\",\"\\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\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Andrei Cozmulici\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\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\":\"13.10.2026\",\"\\u041d\\u043e\\u043c\\u0435\\u0440\":\"1336\"},\"document\":{\"Date\":\"13.10.2026\",\"Number\":\"1336\"}}}","edit":true}} {"uid":"82a48d6"}
[2026-10-13 15:56:59] docflow.DEBUG: GAS raw response {"raw":"[object] (stdClass: {\"code\":1,\"url\":\"https://docs.google.com/open?id=1m79LMMqkcek04FnkmqJF9AbpCdd5lhlbDfK1nG83Re4\",\"file_id\":\"1m79LMMqkcek04FnkmqJF9AbpCdd5lhlbDfK1nG83Re4\",\"error\":\"\",\"vars\":\"\"})"} {"uid":"82a48d6"}
[2026-10-13 15:56:59] docflow.WARNING: AmoDrive generated-file move is not ready. {"fileId":"1m79LMMqkcek04FnkmqJF9AbpCdd5lhlbDfK1nG83Re4","context":null} {"uid":"82a48d6"}
[2026-10-13 15:59:12] docflow.INFO: Apel createDoc {"data":{"amoAccountId":"32990686","amoUserId":null,"amoEntityId":"50784829","amoEntityType":"2","templateId":"11625","corporateEntityId":"","settlementAccountId":"","is_signed":null,"gdi":null,"number":null,"currentAmoUserId":null,"lang":"ru"}} {"uid":"40e7708"}
[2026-10-13 15:59:16] docflow.INFO: Token is valid for account 32990686. [] {"uid":"40e7708"}
[2026-10-13 15:59:16] docflow.DEBUG: getClientAuth returned {"auth":"[object] (stdClass: {\"domain\":\"eurosanteh.amocrm.ru\",\"access_token\":\"eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImp0aSI6ImZkYzJlZjI1ODliMzhkZDRlNWMyMTNiYWUxZmY4MjhiOWExMjkwZjVlMjlmMDYzNWM4YmZkYzZiYjY3YjY0OTlmODNiMTJlNjYwMTFmMTVkIn0.eyJhdWQiOiIwZDY0ZGZmYi1lNTRiLTQ0OGYtOWZiZi1iYWYyMjUxYTExZGIiLCJqdGkiOiJmZGMyZWYyNTg5YjM4ZGQ0ZTVjMjEzYmFlMWZmODI4YjlhMTI5MGY1ZTI5ZjA2MzVjOGJmZGM2YmI2N2I2NDk5ZjgzYjEyZTY2MDExZjE1ZCIsImlhdCI6MTc5MTg4ODQ5NiwibmJmIjoxNzkxODg4NDk2LCJleHAiOjE3OTE5NzQ4OTYsInN1YiI6IjEzNjg3MzAyIiwiZ3JhbnRfdHlwZSI6IiIsImFjY291bnRfaWQiOjMyOTkwNjg2LCJiYXNlX2RvbWFpbiI6ImFtb2NybS5ydSIsInZlcnNpb24iOjIsInNjb3BlcyI6WyJwdXNoX25vdGlmaWNhdGlvbnMiLCJjcm0iLCJub3RpZmljYXRpb25zIl0sImhhc2hfdXVpZCI6IjVhMDU5ZmZiLTkyNGQtNDJhOC1hM2JmLTdiNzY2ZTUyNGQ3NyIsImFwaV9kb21haW4iOiJhcGktYi5hbW9jcm0ucnUifQ.DGUrEprnD9vYQ6273M6iSKzWOcEga9BmbE1vbzIv_pQCn9nvv0dA2PsWAGGFwmyLgtGnG4LGLwtWrOoWSZ9kYFujloT8JcP6mkFlPllYxpp72mKFKDTJ3BjnQ86tu5NqqP7phhMRmm-MpC9xxJjvZ_w454SKjwnPH7bHxPY96qVwps-3CwtO3LBZpPwTcFvPHLKBfG1WyHBe_ML8pOJNgJMg8CxBTVtygz3q6J_xh_lCEGMiIbTsfia5BPY8rU4cUNGFrkv2ebtbbV7WD8E74oIi2fdCh5FIn3jzXxnN5k8GsAuFn0eG-VAF_u7MCEkOxOHAL6a5cZ4jqsFxbbdAzg\"})","file":"/home/ytvmclwh/document.amocrm.md/src/Models/Docs.php","line":121} {"uid":"40e7708"}
[2026-10-13 15:59:20] docflow.DEBUG: AmoDrive docflow context request {"url":"https://google.emale.uno/api/docflow/google-context","query":{"account_id":"32990686","entity_id":"50784829","entity_type":"leads"}} {"uid":"40e7708"}
[2026-10-13 15:59: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=50784829&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/13 15:59:20</td>\r\n</tr>\r\n</table>\r\n<hr><center>tengine</center>\r\n</body>\r\n</html>\r\n"} {"uid":"40e7708"}
[2026-10-13 15:59:20] docflow.DEBUG: AmoDrive docflow context request {"url":"https://gd.glucose-dev.online/api/docflow/google-context","query":{"account_id":"32990686","entity_id":"50784829","entity_type":"leads"}} {"uid":"40e7708"}
[2026-10-13 15:59: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":"50784829","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":"40e7708"}
[2026-10-13 15:59:20] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://google.emale.uno/api/docflow/prepare-generated-doc","payload":{"account_id":"32990686","entity_id":"50784829","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"40e7708"}
[2026-10-13 15:59: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/13 15:59: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":"50784829","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"40e7708"}
[2026-10-13 15:59: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":"50784829","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"40e7708"}
[2026-10-13 15:59: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":"50784829","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"40e7708"}
[2026-10-13 15:59: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 1337 20261013155920\",\"leadId\":\"50784829\",\"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-14 09:59:00\",\"\\u0414\\u0430\\u0442\\u0430 \\u0432\\u0438\\u0437\\u0438\\u0442\\u0430\":\"14.10.2026\",\"\\u0426\\u0435\\u043b\\u044c \\u0432\\u044b\\u0435\\u0437\\u0434\\u0430\":\"\\u041f\\u0440\\u043e\\u0444\\u0438\\u043b\\u0430\\u043a\\u0442\\u0438\\u043a\\u0430 \\u043d\\u0435 \\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\":\"09.10.2027\",\"\\u041c\\u043e\\u0434\\u0435\\u043b\\u044c \\u043e\\u0431\\u043e\\u0440\\u0443\\u0434\\u043e\\u0432\\u0430\\u043d\\u0438\\u044f 1\":\"Gree Fairy 12\",\"\\u0418\\u0441\\u043f\\u043e\\u043b\\u043d\\u0438\\u0442\\u0435\\u043b\\u044c\":\"Alexandru Lucianov\",\"\\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\":\"50784829\",\"\\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-14 09:59:00\",\"\\u0414\\u0430\\u0442\\u0430 \\u0432\\u0438\\u0437\\u0438\\u0442\\u0430\":\"14.10.2026\",\"\\u0426\\u0435\\u043b\\u044c \\u0432\\u044b\\u0435\\u0437\\u0434\\u0430\":\"\\u041f\\u0440\\u043e\\u0444\\u0438\\u043b\\u0430\\u043a\\u0442\\u0438\\u043a\\u0430 \\u043d\\u0435 \\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\":\"09.10.2027\",\"\\u041c\\u043e\\u0434\\u0435\\u043b\\u044c \\u043e\\u0431\\u043e\\u0440\\u0443\\u0434\\u043e\\u0432\\u0430\\u043d\\u0438\\u044f 1\":\"Gree Fairy 12\",\"\\u0418\\u0441\\u043f\\u043e\\u043b\\u043d\\u0438\\u0442\\u0435\\u043b\\u044c\":\"Alexandru Lucianov\",\"\\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\":\"50784829\",\"\\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\":\"980307029743\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"37369638939\",\"\\u0410\\u0434\\u0440\\u0435\\u0441\":\"Stavceni  Trandafirilor 13\",\"\\u0418\\u043c\\u044f \\u043a\\u043b\\u0438\\u0435\\u043d\\u0442\\u0430 (\\u0421\\u041c\\u0421)\":\"Mihail\",\"\\u0422\\u0438\\u043f \\u043a\\u043b\\u0438\\u0435\\u043d\\u0442\\u0430\":\"\\u0424\\u0438\\u0437.\\u043b\\u0438\\u0446\",\"\\u0420\\u0430\\u0439\\u043e\\u043d\":\"\\u0421\\u0442\\u0430\\u0432\\u0447\\u0435\\u043d\\u044b\",\"\\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 Fairy 12\",\"\\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\":\"Mihail Penfil\",\"Contact_name\":\"Mihail Penfil\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"\\u0410\\u0441\\u0442\\u0430\\u043f\\u0435\\u043d\\u043a\\u043e\\u0432\\u0430 \\u042e\\u043b\\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\":\"980307029743\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"37369638939\",\"\\u0410\\u0434\\u0440\\u0435\\u0441\":\"Stavceni  Trandafirilor 13\",\"\\u0418\\u043c\\u044f \\u043a\\u043b\\u0438\\u0435\\u043d\\u0442\\u0430 (\\u0421\\u041c\\u0421)\":\"Mihail\",\"\\u0422\\u0438\\u043f \\u043a\\u043b\\u0438\\u0435\\u043d\\u0442\\u0430\":\"\\u0424\\u0438\\u0437.\\u043b\\u0438\\u0446\",\"\\u0420\\u0430\\u0439\\u043e\\u043d\":\"\\u0421\\u0442\\u0430\\u0432\\u0447\\u0435\\u043d\\u044b\",\"\\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 Fairy 12\",\"\\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\":\"Mihail Penfil\",\"Contact_name\":\"Mihail Penfil\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"\\u0410\\u0441\\u0442\\u0430\\u043f\\u0435\\u043d\\u043a\\u043e\\u0432\\u0430 \\u042e\\u043b\\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\":\"980307029743\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"37369638939\",\"\\u0410\\u0434\\u0440\\u0435\\u0441\":\"Stavceni  Trandafirilor 13\",\"\\u0418\\u043c\\u044f \\u043a\\u043b\\u0438\\u0435\\u043d\\u0442\\u0430 (\\u0421\\u041c\\u0421)\":\"Mihail\",\"\\u0422\\u0438\\u043f \\u043a\\u043b\\u0438\\u0435\\u043d\\u0442\\u0430\":\"\\u0424\\u0438\\u0437.\\u043b\\u0438\\u0446\",\"\\u0420\\u0430\\u0439\\u043e\\u043d\":\"\\u0421\\u0442\\u0430\\u0432\\u0447\\u0435\\u043d\\u044b\",\"\\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 Fairy 12\",\"\\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\":\"Mihail Penfil\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\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\":\"13.10.2026\",\"\\u041d\\u043e\\u043c\\u0435\\u0440\":\"1337\"},\"document\":{\"Date\":\"13.10.2026\",\"Number\":\"1337\"}}}","edit":true}} {"uid":"40e7708"}
[2026-10-13 15:59:25] docflow.DEBUG: GAS raw response {"raw":"[object] (stdClass: {\"code\":1,\"url\":\"https://docs.google.com/open?id=19rF1bxY7w3WKD6TSxH9KSiyrrtdD8STJneSHyTylcIA\",\"file_id\":\"19rF1bxY7w3WKD6TSxH9KSiyrrtdD8STJneSHyTylcIA\",\"error\":\"\",\"vars\":\"\"})"} {"uid":"40e7708"}
[2026-10-13 15:59:25] docflow.WARNING: AmoDrive generated-file move is not ready. {"fileId":"19rF1bxY7w3WKD6TSxH9KSiyrrtdD8STJneSHyTylcIA","context":null} {"uid":"40e7708"}
[2026-10-13 15:59:51] docflow.INFO: Apel createDoc {"data":{"amoAccountId":"32990686","amoUserId":null,"amoEntityId":"50784829","amoEntityType":"2","templateId":"11646","corporateEntityId":"","settlementAccountId":"","is_signed":null,"gdi":null,"number":null,"currentAmoUserId":null,"lang":"ru"}} {"uid":"2c6c822"}
[2026-10-13 15:59:52] docflow.INFO: Token is valid for account 32990686. [] {"uid":"2c6c822"}
[2026-10-13 15:59:52] docflow.DEBUG: getClientAuth returned {"auth":"[object] (stdClass: {\"domain\":\"eurosanteh.amocrm.ru\",\"access_token\":\"eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImp0aSI6ImZkYzJlZjI1ODliMzhkZDRlNWMyMTNiYWUxZmY4MjhiOWExMjkwZjVlMjlmMDYzNWM4YmZkYzZiYjY3YjY0OTlmODNiMTJlNjYwMTFmMTVkIn0.eyJhdWQiOiIwZDY0ZGZmYi1lNTRiLTQ0OGYtOWZiZi1iYWYyMjUxYTExZGIiLCJqdGkiOiJmZGMyZWYyNTg5YjM4ZGQ0ZTVjMjEzYmFlMWZmODI4YjlhMTI5MGY1ZTI5ZjA2MzVjOGJmZGM2YmI2N2I2NDk5ZjgzYjEyZTY2MDExZjE1ZCIsImlhdCI6MTc5MTg4ODQ5NiwibmJmIjoxNzkxODg4NDk2LCJleHAiOjE3OTE5NzQ4OTYsInN1YiI6IjEzNjg3MzAyIiwiZ3JhbnRfdHlwZSI6IiIsImFjY291bnRfaWQiOjMyOTkwNjg2LCJiYXNlX2RvbWFpbiI6ImFtb2NybS5ydSIsInZlcnNpb24iOjIsInNjb3BlcyI6WyJwdXNoX25vdGlmaWNhdGlvbnMiLCJjcm0iLCJub3RpZmljYXRpb25zIl0sImhhc2hfdXVpZCI6IjVhMDU5ZmZiLTkyNGQtNDJhOC1hM2JmLTdiNzY2ZTUyNGQ3NyIsImFwaV9kb21haW4iOiJhcGktYi5hbW9jcm0ucnUifQ.DGUrEprnD9vYQ6273M6iSKzWOcEga9BmbE1vbzIv_pQCn9nvv0dA2PsWAGGFwmyLgtGnG4LGLwtWrOoWSZ9kYFujloT8JcP6mkFlPllYxpp72mKFKDTJ3BjnQ86tu5NqqP7phhMRmm-MpC9xxJjvZ_w454SKjwnPH7bHxPY96qVwps-3CwtO3LBZpPwTcFvPHLKBfG1WyHBe_ML8pOJNgJMg8CxBTVtygz3q6J_xh_lCEGMiIbTsfia5BPY8rU4cUNGFrkv2ebtbbV7WD8E74oIi2fdCh5FIn3jzXxnN5k8GsAuFn0eG-VAF_u7MCEkOxOHAL6a5cZ4jqsFxbbdAzg\"})","file":"/home/ytvmclwh/document.amocrm.md/src/Models/Docs.php","line":121} {"uid":"2c6c822"}
[2026-10-13 15:59:55] docflow.DEBUG: AmoDrive docflow context request {"url":"https://google.emale.uno/api/docflow/google-context","query":{"account_id":"32990686","entity_id":"50784829","entity_type":"leads"}} {"uid":"2c6c822"}
[2026-10-13 15:59:55] docflow.WARNING: AmoDrive docflow context request failed {"url":"https://google.emale.uno/api/docflow/google-context","http_code":null,"error":"HTTP/2 400 ","response":"<!DOCTYPE HTML PUBLIC \"-//IETF//DTD HTML 2.0//EN\">\r\n<html>\r\n<head><title>400 Bad Request</title></head>\r\n<body>\r\n<center><h1>400 Bad Request</h1></center>\r\n Sorry for the inconvenience.<br/>\r\nPlease report this message and include the following information to us.<br/>\r\nThank you very much!</p>\r\n<table>\r\n<tr>\r\n<td>URL:</td>\r\n<td>https://gd.glucose-dev.online/api/docflow/google-context?account_id=32990686&amp;entity_id=50784829&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/13 15:59:55</td>\r\n</tr>\r\n</table>\r\n<hr><center>tengine</center>\r\n</body>\r\n</html>\r\n"} {"uid":"2c6c822"}
[2026-10-13 15:59:55] docflow.DEBUG: AmoDrive docflow context request {"url":"https://gd.glucose-dev.online/api/docflow/google-context","query":{"account_id":"32990686","entity_id":"50784829","entity_type":"leads"}} {"uid":"2c6c822"}
[2026-10-13 15:59:55] docflow.WARNING: AmoDrive docflow context response is not ready, trying next backend. {"url":"https://gd.glucose-dev.online/api/docflow/google-context","payload":{"ok":true,"accountId":32990686,"entityId":"50784829","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":"2c6c822"}
[2026-10-13 15:59:55] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://google.emale.uno/api/docflow/prepare-generated-doc","payload":{"account_id":"32990686","entity_id":"50784829","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"2c6c822"}
[2026-10-13 15:59:55] docflow.WARNING: AmoDrive prepare-generated-doc request failed {"url":"https://google.emale.uno/api/docflow/prepare-generated-doc","http_code":null,"error":"HTTP/2 400 ","response":"<!DOCTYPE HTML PUBLIC \"-//IETF//DTD HTML 2.0//EN\">\r\n<html>\r\n<head><title>400 Bad Request</title></head>\r\n<body>\r\n<center><h1>400 Bad Request</h1></center>\r\n Sorry for the inconvenience.<br/>\r\nPlease report this message and include the following information to us.<br/>\r\nThank you very much!</p>\r\n<table>\r\n<tr>\r\n<td>URL:</td>\r\n<td>https://gd.glucose-dev.online/api/docflow/prepare-generated-doc</td>\r\n</tr>\r\n<tr>\r\n<td>Server:</td>\r\n<td>mail.glucose-dev.online</td>\r\n</tr>\r\n<tr>\r\n<td>Date:</td>\r\n<td>2026/10/13 15:59:55</td>\r\n</tr>\r\n</table>\r\n<hr><center>tengine</center>\r\n</body>\r\n</html>\r\n","payload":{"account_id":"32990686","entity_id":"50784829","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"2c6c822"}
[2026-10-13 15:59:55] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://gd.glucose-dev.online/api/docflow/prepare-generated-doc","payload":{"account_id":"32990686","entity_id":"50784829","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"2c6c822"}
[2026-10-13 15:59: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":"50784829","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"2c6c822"}
[2026-10-13 15:59: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 1337 20261013155955\",\"leadId\":\"50784829\",\"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-14 09:59:00\",\"\\u0414\\u0430\\u0442\\u0430 \\u0432\\u0438\\u0437\\u0438\\u0442\\u0430\":\"14.10.2026\",\"\\u0426\\u0435\\u043b\\u044c \\u0432\\u044b\\u0435\\u0437\\u0434\\u0430\":\"\\u041f\\u0440\\u043e\\u0444\\u0438\\u043b\\u0430\\u043a\\u0442\\u0438\\u043a\\u0430 \\u043d\\u0435 \\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\":\"09.10.2027\",\"\\u041c\\u043e\\u0434\\u0435\\u043b\\u044c \\u043e\\u0431\\u043e\\u0440\\u0443\\u0434\\u043e\\u0432\\u0430\\u043d\\u0438\\u044f 1\":\"Gree Fairy 12\",\"\\u0418\\u0441\\u043f\\u043e\\u043b\\u043d\\u0438\\u0442\\u0435\\u043b\\u044c\":\"Alexandru Lucianov\",\"\\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\":\"50784829\",\"\\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-14 09:59:00\",\"\\u0414\\u0430\\u0442\\u0430 \\u0432\\u0438\\u0437\\u0438\\u0442\\u0430\":\"14.10.2026\",\"\\u0426\\u0435\\u043b\\u044c \\u0432\\u044b\\u0435\\u0437\\u0434\\u0430\":\"\\u041f\\u0440\\u043e\\u0444\\u0438\\u043b\\u0430\\u043a\\u0442\\u0438\\u043a\\u0430 \\u043d\\u0435 \\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\":\"09.10.2027\",\"\\u041c\\u043e\\u0434\\u0435\\u043b\\u044c \\u043e\\u0431\\u043e\\u0440\\u0443\\u0434\\u043e\\u0432\\u0430\\u043d\\u0438\\u044f 1\":\"Gree Fairy 12\",\"\\u0418\\u0441\\u043f\\u043e\\u043b\\u043d\\u0438\\u0442\\u0435\\u043b\\u044c\":\"Alexandru Lucianov\",\"\\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\":\"50784829\",\"\\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\":\"980307029743\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"37369638939\",\"\\u0410\\u0434\\u0440\\u0435\\u0441\":\"Stavceni  Trandafirilor 13\",\"\\u0418\\u043c\\u044f \\u043a\\u043b\\u0438\\u0435\\u043d\\u0442\\u0430 (\\u0421\\u041c\\u0421)\":\"Mihail\",\"\\u0422\\u0438\\u043f \\u043a\\u043b\\u0438\\u0435\\u043d\\u0442\\u0430\":\"\\u0424\\u0438\\u0437.\\u043b\\u0438\\u0446\",\"\\u0420\\u0430\\u0439\\u043e\\u043d\":\"\\u0421\\u0442\\u0430\\u0432\\u0447\\u0435\\u043d\\u044b\",\"\\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 Fairy 12\",\"\\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\":\"Mihail Penfil\",\"Contact_name\":\"Mihail Penfil\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"\\u0410\\u0441\\u0442\\u0430\\u043f\\u0435\\u043d\\u043a\\u043e\\u0432\\u0430 \\u042e\\u043b\\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\":\"980307029743\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"37369638939\",\"\\u0410\\u0434\\u0440\\u0435\\u0441\":\"Stavceni  Trandafirilor 13\",\"\\u0418\\u043c\\u044f \\u043a\\u043b\\u0438\\u0435\\u043d\\u0442\\u0430 (\\u0421\\u041c\\u0421)\":\"Mihail\",\"\\u0422\\u0438\\u043f \\u043a\\u043b\\u0438\\u0435\\u043d\\u0442\\u0430\":\"\\u0424\\u0438\\u0437.\\u043b\\u0438\\u0446\",\"\\u0420\\u0430\\u0439\\u043e\\u043d\":\"\\u0421\\u0442\\u0430\\u0432\\u0447\\u0435\\u043d\\u044b\",\"\\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 Fairy 12\",\"\\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\":\"Mihail Penfil\",\"Contact_name\":\"Mihail Penfil\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"\\u0410\\u0441\\u0442\\u0430\\u043f\\u0435\\u043d\\u043a\\u043e\\u0432\\u0430 \\u042e\\u043b\\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\":\"980307029743\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"37369638939\",\"\\u0410\\u0434\\u0440\\u0435\\u0441\":\"Stavceni  Trandafirilor 13\",\"\\u0418\\u043c\\u044f \\u043a\\u043b\\u0438\\u0435\\u043d\\u0442\\u0430 (\\u0421\\u041c\\u0421)\":\"Mihail\",\"\\u0422\\u0438\\u043f \\u043a\\u043b\\u0438\\u0435\\u043d\\u0442\\u0430\":\"\\u0424\\u0438\\u0437.\\u043b\\u0438\\u0446\",\"\\u0420\\u0430\\u0439\\u043e\\u043d\":\"\\u0421\\u0442\\u0430\\u0432\\u0447\\u0435\\u043d\\u044b\",\"\\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 Fairy 12\",\"\\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\":\"Mihail Penfil\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\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\":\"13.10.2026\",\"\\u041d\\u043e\\u043c\\u0435\\u0440\":\"1337\"},\"document\":{\"Date\":\"13.10.2026\",\"Number\":\"1337\"}}}","edit":true}} {"uid":"2c6c822"}
[2026-10-13 16:00:04] docflow.DEBUG: GAS raw response {"raw":"[object] (stdClass: {\"code\":1,\"url\":\"https://docs.google.com/open?id=1z908nk7zt788yYTGIyREF2dV2Fur0DIj15TkNRteFh8\",\"file_id\":\"1z908nk7zt788yYTGIyREF2dV2Fur0DIj15TkNRteFh8\",\"error\":\"\",\"vars\":\"\"})"} {"uid":"2c6c822"}
[2026-10-13 16:00:04] docflow.WARNING: AmoDrive generated-file move is not ready. {"fileId":"1z908nk7zt788yYTGIyREF2dV2Fur0DIj15TkNRteFh8","context":null} {"uid":"2c6c822"}
[2026-10-13 16:07:08] docflow.INFO: Apel createDoc {"data":{"amoAccountId":"22699852","amoUserId":null,"amoEntityId":"42836206","amoEntityType":"2","templateId":"11493","corporateEntityId":"","settlementAccountId":"","is_signed":null,"gdi":null,"number":null,"currentAmoUserId":null,"lang":"ru"}} {"uid":"e64be30"}
[2026-10-13 16:07:08] docflow.INFO: Token is valid for account 22699852. [] {"uid":"e64be30"}
[2026-10-13 16:07:08] docflow.DEBUG: getClientAuth returned {"auth":"[object] (stdClass: {\"domain\":\"emigrare.amocrm.ru\",\"access_token\":\"eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImp0aSI6IjA5Zjk3NjIwZWVhZDQ5MTk1YzAzMjExYWQzZWMwNWFmODMzOTAyYzkwNDUxYThhMDRlNWI2NGZhZTg5ODk0NGM0NzIxZWFiYTAwYWRmNGY1In0.eyJhdWQiOiIwZDY0ZGZmYi1lNTRiLTQ0OGYtOWZiZi1iYWYyMjUxYTExZGIiLCJqdGkiOiIwOWY5NzYyMGVlYWQ0OTE5NWMwMzIxMWFkM2VjMDVhZjgzMzkwMmM5MDQ1MWE4YTA0ZTViNjRmYWU4OTg5NDRjNDcyMWVhYmEwMGFkZjRmNSIsImlhdCI6MTc5MTg3NTcxNCwibmJmIjoxNzkxODc1NzE0LCJleHAiOjE3OTE5NjIxMTQsInN1YiI6IjI5MzAzODAiLCJncmFudF90eXBlIjoiIiwiYWNjb3VudF9pZCI6MjI2OTk4NTIsImJhc2VfZG9tYWluIjoiYW1vY3JtLnJ1IiwidmVyc2lvbiI6Miwic2NvcGVzIjpbInB1c2hfbm90aWZpY2F0aW9ucyIsImNybSIsIm5vdGlmaWNhdGlvbnMiXSwiaGFzaF91dWlkIjoiZjhhNDRkOTgtMTRlNS00OTcxLTllMGEtNTRhZDY5OGQyYmQ4IiwiYXBpX2RvbWFpbiI6ImFwaS1hLmFtb2NybS5ydSJ9.NBJbkjpQVkql6RIh0lb5_KN4a3HryxJWNmjqTpgN1z5_38BKNZZYuaLC3jSuifBhZ1bpvGNOvdij0i0pQgyxhOaT9bZBjt_vLr-92V395z4ycsTFsK62KSDyZ-lAic98RxsqiX1xzPrdIi7NEXKX9Ls1ZHz0dwCgMJC2czZsigpjSEG0ErTZNdfsZrz00lM5F7cYbWP1m6JO78QBQJmrF_fRwFLiWGm9epjs7WmHTq4gO0Ski6-09ZTgjUIdj0zk6kP0vuWPHu9bZb8EP2IglQ0UjVN2AuacD9jBZvwt8Z6Q3TPnOEJaD0MJgiSlBcFs7wQ2ueorh3T8wV5cwy3VIA\"})","file":"/home/ytvmclwh/document.amocrm.md/src/Models/Docs.php","line":121} {"uid":"e64be30"}
[2026-10-13 16:07:11] docflow.DEBUG: AmoDrive docflow context request {"url":"https://google.emale.uno/api/docflow/google-context","query":{"account_id":"22699852","entity_id":"42836206","entity_type":"leads"}} {"uid":"e64be30"}
[2026-10-13 16:07:11] docflow.WARNING: AmoDrive docflow context request failed {"url":"https://google.emale.uno/api/docflow/google-context","http_code":null,"error":"HTTP/2 400 ","response":"<!DOCTYPE HTML PUBLIC \"-//IETF//DTD HTML 2.0//EN\">\r\n<html>\r\n<head><title>400 Bad Request</title></head>\r\n<body>\r\n<center><h1>400 Bad Request</h1></center>\r\n Sorry for the inconvenience.<br/>\r\nPlease report this message and include the following information to us.<br/>\r\nThank you very much!</p>\r\n<table>\r\n<tr>\r\n<td>URL:</td>\r\n<td>https://gd.glucose-dev.online/api/docflow/google-context?account_id=22699852&amp;entity_id=42836206&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/13 16:07:11</td>\r\n</tr>\r\n</table>\r\n<hr><center>tengine</center>\r\n</body>\r\n</html>\r\n"} {"uid":"e64be30"}
[2026-10-13 16:07:11] docflow.DEBUG: AmoDrive docflow context request {"url":"https://gd.glucose-dev.online/api/docflow/google-context","query":{"account_id":"22699852","entity_id":"42836206","entity_type":"leads"}} {"uid":"e64be30"}
[2026-10-13 16:07:11] docflow.WARNING: AmoDrive docflow context response is not ready, trying next backend. {"url":"https://gd.glucose-dev.online/api/docflow/google-context","payload":{"ok":true,"accountId":22699852,"entityId":"42836206","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":311,"isLifetime":false},"licenseActive":false,"googleConnected":false,"googleEmail":null,"googleHasDriveScope":false,"googleHasDriveFileScope":false,"googleHasOwnershipScope":false,"readyForGeneratedFileMove":false,"readyForTransfer":false},"folder":{"id":"1dYUiCiVysc4CI1kHXHLmSMyYvnhEp9xC","name":"42836206 - Lead #42836206","webViewLink":"https://drive.google.com/drive/folders/1dYUiCiVysc4CI1kHXHLmSMyYvnhEp9xC"}}} {"uid":"e64be30"}
[2026-10-13 16:07:11] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://google.emale.uno/api/docflow/prepare-generated-doc","payload":{"account_id":"22699852","entity_id":"42836206","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"e64be30"}
[2026-10-13 16:07: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/13 16:07:11</td>\r\n</tr>\r\n</table>\r\n<hr><center>tengine</center>\r\n</body>\r\n</html>\r\n","payload":{"account_id":"22699852","entity_id":"42836206","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"e64be30"}
[2026-10-13 16:07:11] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://gd.glucose-dev.online/api/docflow/prepare-generated-doc","payload":{"account_id":"22699852","entity_id":"42836206","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"e64be30"}
[2026-10-13 16:07:11] docflow.WARNING: AmoDrive prepare-generated-doc request failed {"url":"https://gd.glucose-dev.online/api/docflow/prepare-generated-doc","http_code":null,"error":"HTTP/2 404 ","response":"[object] (stdClass: {\"ok\":false,\"error\":\"AmoDrive is not installed for this account.\",\"accountId\":22699852})","payload":{"account_id":"22699852","entity_id":"42836206","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"e64be30"}
[2026-10-13 16:07:11] docflow.DEBUG: GAS request {"url":"https://script.google.com/macros/s/AKfycbwrvOJD46zkuoTzdhpc1kulhV8jRfgQBFZfQ121nkIip_k8yKit4xrbWTOzaJ-C-Yed6w/exec","body":{"templateFileId":"1VZpJfQMWPBAk02fKDhODjaSiFPqP5tWTav1sdqLkY0I","accountId":"22699852","folderId":"1Us2AfskxgdA729xVr0F2vjZU9y5PlYDe","key":"~VTsK5dcnHc2cSSsjM$LFSjLlgbmJXwrp3R2P5nd","data":"{\"fileName\":\"Apartenen\\u021b\\u0103  98 20261013160711\",\"leadId\":\"42836206\",\"entities\":{\"\\u0441\\u0434\\u0435\\u043b\\u043a\\u0430\":{\"Suma \\u20ac\":\"0\",\"Temperatura client\":\"Fierbinte\",\"ID\":\"42836206\",\"\\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\":\"Stanislav Slivinschi\",\"Responsible\":\"Stanislav Slivinschi\"},\"lead\":{\"Suma \\u20ac\":\"0\",\"Temperatura client\":\"Fierbinte\",\"ID\":\"42836206\",\"\\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\":\"Stanislav Slivinschi\",\"Responsible\":\"Stanislav Slivinschi\"},\"\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442\":{\"TelegramId_WZ\":\"7785656962\",\"TelegramUsername_WZ\":\"@nineltrifan\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"+375339122681\",\"Email\":\"tnina2344@gmail.com\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Nina Tryfan\",\"Contact_name\":\"Nina Tryfan\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"Stanislav Slivinschi\",\"Responsible\":\"Stanislav Slivinschi\"},\"contact\":{\"TelegramId_WZ\":\"7785656962\",\"TelegramUsername_WZ\":\"@nineltrifan\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"+375339122681\",\"Email\":\"tnina2344@gmail.com\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Nina Tryfan\",\"Contact_name\":\"Nina Tryfan\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"Stanislav Slivinschi\",\"Responsible\":\"Stanislav Slivinschi\"},\"\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442\\u044b\":[{\"TelegramId_WZ\":\"7785656962\",\"TelegramUsername_WZ\":\"@nineltrifan\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"+375339122681\",\"Email\":\"tnina2344@gmail.com\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Nina Tryfan\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"Stanislav Slivinschi\"}],\"\\u0434\\u043e\\u043a\\u0443\\u043c\\u0435\\u043d\\u0442\":{\"\\u0414\\u0430\\u0442\\u0430\":\"13.10.2026\",\"\\u041d\\u043e\\u043c\\u0435\\u0440\":\"98\"},\"document\":{\"Date\":\"13.10.2026\",\"Number\":\"98\"}}}","edit":true}} {"uid":"e64be30"}
[2026-10-13 16:07:19] docflow.DEBUG: GAS raw response {"raw":"[object] (stdClass: {\"code\":1,\"url\":\"https://docs.google.com/open?id=1XkKHn5MY_GuB_xF2nwhEvYeeoPDXe0Te1jGPePURanM\",\"file_id\":\"1XkKHn5MY_GuB_xF2nwhEvYeeoPDXe0Te1jGPePURanM\",\"error\":\"\",\"vars\":\"\"})"} {"uid":"e64be30"}
[2026-10-13 16:07:19] docflow.WARNING: AmoDrive generated-file move is not ready. {"fileId":"1XkKHn5MY_GuB_xF2nwhEvYeeoPDXe0Te1jGPePURanM","context":null} {"uid":"e64be30"}
[2026-10-13 16:13:47] docflow.INFO: Apel createDoc {"data":{"amoAccountId":"32990686","amoUserId":null,"amoEntityId":"51033665","amoEntityType":"2","templateId":"11625","corporateEntityId":"","settlementAccountId":"","is_signed":null,"gdi":null,"number":null,"currentAmoUserId":null,"lang":"ru"}} {"uid":"02392f3"}
[2026-10-13 16:13:48] docflow.INFO: Token is valid for account 32990686. [] {"uid":"02392f3"}
[2026-10-13 16:13:48] docflow.DEBUG: getClientAuth returned {"auth":"[object] (stdClass: {\"domain\":\"eurosanteh.amocrm.ru\",\"access_token\":\"eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImp0aSI6ImZkYzJlZjI1ODliMzhkZDRlNWMyMTNiYWUxZmY4MjhiOWExMjkwZjVlMjlmMDYzNWM4YmZkYzZiYjY3YjY0OTlmODNiMTJlNjYwMTFmMTVkIn0.eyJhdWQiOiIwZDY0ZGZmYi1lNTRiLTQ0OGYtOWZiZi1iYWYyMjUxYTExZGIiLCJqdGkiOiJmZGMyZWYyNTg5YjM4ZGQ0ZTVjMjEzYmFlMWZmODI4YjlhMTI5MGY1ZTI5ZjA2MzVjOGJmZGM2YmI2N2I2NDk5ZjgzYjEyZTY2MDExZjE1ZCIsImlhdCI6MTc5MTg4ODQ5NiwibmJmIjoxNzkxODg4NDk2LCJleHAiOjE3OTE5NzQ4OTYsInN1YiI6IjEzNjg3MzAyIiwiZ3JhbnRfdHlwZSI6IiIsImFjY291bnRfaWQiOjMyOTkwNjg2LCJiYXNlX2RvbWFpbiI6ImFtb2NybS5ydSIsInZlcnNpb24iOjIsInNjb3BlcyI6WyJwdXNoX25vdGlmaWNhdGlvbnMiLCJjcm0iLCJub3RpZmljYXRpb25zIl0sImhhc2hfdXVpZCI6IjVhMDU5ZmZiLTkyNGQtNDJhOC1hM2JmLTdiNzY2ZTUyNGQ3NyIsImFwaV9kb21haW4iOiJhcGktYi5hbW9jcm0ucnUifQ.DGUrEprnD9vYQ6273M6iSKzWOcEga9BmbE1vbzIv_pQCn9nvv0dA2PsWAGGFwmyLgtGnG4LGLwtWrOoWSZ9kYFujloT8JcP6mkFlPllYxpp72mKFKDTJ3BjnQ86tu5NqqP7phhMRmm-MpC9xxJjvZ_w454SKjwnPH7bHxPY96qVwps-3CwtO3LBZpPwTcFvPHLKBfG1WyHBe_ML8pOJNgJMg8CxBTVtygz3q6J_xh_lCEGMiIbTsfia5BPY8rU4cUNGFrkv2ebtbbV7WD8E74oIi2fdCh5FIn3jzXxnN5k8GsAuFn0eG-VAF_u7MCEkOxOHAL6a5cZ4jqsFxbbdAzg\"})","file":"/home/ytvmclwh/document.amocrm.md/src/Models/Docs.php","line":121} {"uid":"02392f3"}
[2026-10-13 16:13:50] docflow.DEBUG: AmoDrive docflow context request {"url":"https://google.emale.uno/api/docflow/google-context","query":{"account_id":"32990686","entity_id":"51033665","entity_type":"leads"}} {"uid":"02392f3"}
[2026-10-13 16:13: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=32990686&amp;entity_id=51033665&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/13 16:13:50</td>\r\n</tr>\r\n</table>\r\n<hr><center>tengine</center>\r\n</body>\r\n</html>\r\n"} {"uid":"02392f3"}
[2026-10-13 16:13:50] docflow.DEBUG: AmoDrive docflow context request {"url":"https://gd.glucose-dev.online/api/docflow/google-context","query":{"account_id":"32990686","entity_id":"51033665","entity_type":"leads"}} {"uid":"02392f3"}
[2026-10-13 16:13:51] 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":"51033665","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":"02392f3"}
[2026-10-13 16:13:51] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://google.emale.uno/api/docflow/prepare-generated-doc","payload":{"account_id":"32990686","entity_id":"51033665","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"02392f3"}
[2026-10-13 16:13:51] 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/13 16:13:51</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":"51033665","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"02392f3"}
[2026-10-13 16:13:51] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://gd.glucose-dev.online/api/docflow/prepare-generated-doc","payload":{"account_id":"32990686","entity_id":"51033665","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"02392f3"}
[2026-10-13 16:13:51] 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":"51033665","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"02392f3"}
[2026-10-13 16:13:51] 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 1338 20261013161350\",\"leadId\":\"51033665\",\"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-14 16:10:00\",\"\\u0414\\u0430\\u0442\\u0430 \\u0432\\u0438\\u0437\\u0438\\u0442\\u0430\":\"14.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\":\"14.10.2027\",\"ID\":\"51033665\",\"\\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-14 16:10:00\",\"\\u0414\\u0430\\u0442\\u0430 \\u0432\\u0438\\u0437\\u0438\\u0442\\u0430\":\"14.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\":\"14.10.2027\",\"ID\":\"51033665\",\"\\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\":\"98306016526\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"37368678978\",\"\\u0410\\u0434\\u0440\\u0435\\u0441\":\"bl Negruzzi 6 et 5 ap 72\",\"\\u0418\\u043c\\u044f \\u043a\\u043b\\u0438\\u0435\\u043d\\u0442\\u0430 (\\u0421\\u041c\\u0421)\":\"Matricenco\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Matricenco\",\"Contact_name\":\"Matricenco\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"\\u0410\\u0441\\u0442\\u0430\\u043f\\u0435\\u043d\\u043a\\u043e\\u0432\\u0430 \\u042e\\u043b\\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\":\"98306016526\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"37368678978\",\"\\u0410\\u0434\\u0440\\u0435\\u0441\":\"bl Negruzzi 6 et 5 ap 72\",\"\\u0418\\u043c\\u044f \\u043a\\u043b\\u0438\\u0435\\u043d\\u0442\\u0430 (\\u0421\\u041c\\u0421)\":\"Matricenco\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Matricenco\",\"Contact_name\":\"Matricenco\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"\\u0410\\u0441\\u0442\\u0430\\u043f\\u0435\\u043d\\u043a\\u043e\\u0432\\u0430 \\u042e\\u043b\\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\":\"98306016526\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"37368678978\",\"\\u0410\\u0434\\u0440\\u0435\\u0441\":\"bl Negruzzi 6 et 5 ap 72\",\"\\u0418\\u043c\\u044f \\u043a\\u043b\\u0438\\u0435\\u043d\\u0442\\u0430 (\\u0421\\u041c\\u0421)\":\"Matricenco\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Matricenco\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\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\":\"13.10.2026\",\"\\u041d\\u043e\\u043c\\u0435\\u0440\":\"1338\"},\"document\":{\"Date\":\"13.10.2026\",\"Number\":\"1338\"}}}","edit":true}} {"uid":"02392f3"}
[2026-10-13 16:13:57] docflow.DEBUG: GAS raw response {"raw":"[object] (stdClass: {\"code\":1,\"url\":\"https://docs.google.com/open?id=1ErH8q3gqxn9qMkvq3CZG7OuqaaGMmB4wWZDvdkcA_vM\",\"file_id\":\"1ErH8q3gqxn9qMkvq3CZG7OuqaaGMmB4wWZDvdkcA_vM\",\"error\":\"\",\"vars\":\"\"})"} {"uid":"02392f3"}
[2026-10-13 16:13:57] docflow.WARNING: AmoDrive generated-file move is not ready. {"fileId":"1ErH8q3gqxn9qMkvq3CZG7OuqaaGMmB4wWZDvdkcA_vM","context":null} {"uid":"02392f3"}
[2026-10-13 16:14:01] docflow.INFO: Apel createDoc {"data":{"amoAccountId":"32990686","amoUserId":null,"amoEntityId":"51033665","amoEntityType":"2","templateId":"11646","corporateEntityId":"","settlementAccountId":"","is_signed":null,"gdi":null,"number":null,"currentAmoUserId":null,"lang":"ru"}} {"uid":"b1ebd87"}
[2026-10-13 16:14:02] docflow.INFO: Token is valid for account 32990686. [] {"uid":"b1ebd87"}
[2026-10-13 16:14:02] docflow.DEBUG: getClientAuth returned {"auth":"[object] (stdClass: {\"domain\":\"eurosanteh.amocrm.ru\",\"access_token\":\"eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImp0aSI6ImZkYzJlZjI1ODliMzhkZDRlNWMyMTNiYWUxZmY4MjhiOWExMjkwZjVlMjlmMDYzNWM4YmZkYzZiYjY3YjY0OTlmODNiMTJlNjYwMTFmMTVkIn0.eyJhdWQiOiIwZDY0ZGZmYi1lNTRiLTQ0OGYtOWZiZi1iYWYyMjUxYTExZGIiLCJqdGkiOiJmZGMyZWYyNTg5YjM4ZGQ0ZTVjMjEzYmFlMWZmODI4YjlhMTI5MGY1ZTI5ZjA2MzVjOGJmZGM2YmI2N2I2NDk5ZjgzYjEyZTY2MDExZjE1ZCIsImlhdCI6MTc5MTg4ODQ5NiwibmJmIjoxNzkxODg4NDk2LCJleHAiOjE3OTE5NzQ4OTYsInN1YiI6IjEzNjg3MzAyIiwiZ3JhbnRfdHlwZSI6IiIsImFjY291bnRfaWQiOjMyOTkwNjg2LCJiYXNlX2RvbWFpbiI6ImFtb2NybS5ydSIsInZlcnNpb24iOjIsInNjb3BlcyI6WyJwdXNoX25vdGlmaWNhdGlvbnMiLCJjcm0iLCJub3RpZmljYXRpb25zIl0sImhhc2hfdXVpZCI6IjVhMDU5ZmZiLTkyNGQtNDJhOC1hM2JmLTdiNzY2ZTUyNGQ3NyIsImFwaV9kb21haW4iOiJhcGktYi5hbW9jcm0ucnUifQ.DGUrEprnD9vYQ6273M6iSKzWOcEga9BmbE1vbzIv_pQCn9nvv0dA2PsWAGGFwmyLgtGnG4LGLwtWrOoWSZ9kYFujloT8JcP6mkFlPllYxpp72mKFKDTJ3BjnQ86tu5NqqP7phhMRmm-MpC9xxJjvZ_w454SKjwnPH7bHxPY96qVwps-3CwtO3LBZpPwTcFvPHLKBfG1WyHBe_ML8pOJNgJMg8CxBTVtygz3q6J_xh_lCEGMiIbTsfia5BPY8rU4cUNGFrkv2ebtbbV7WD8E74oIi2fdCh5FIn3jzXxnN5k8GsAuFn0eG-VAF_u7MCEkOxOHAL6a5cZ4jqsFxbbdAzg\"})","file":"/home/ytvmclwh/document.amocrm.md/src/Models/Docs.php","line":121} {"uid":"b1ebd87"}
[2026-10-13 16:14:06] docflow.DEBUG: AmoDrive docflow context request {"url":"https://google.emale.uno/api/docflow/google-context","query":{"account_id":"32990686","entity_id":"51033665","entity_type":"leads"}} {"uid":"b1ebd87"}
[2026-10-13 16:14:07] docflow.WARNING: AmoDrive docflow context request failed {"url":"https://google.emale.uno/api/docflow/google-context","http_code":null,"error":"HTTP/2 400 ","response":"<!DOCTYPE HTML PUBLIC \"-//IETF//DTD HTML 2.0//EN\">\r\n<html>\r\n<head><title>400 Bad Request</title></head>\r\n<body>\r\n<center><h1>400 Bad Request</h1></center>\r\n Sorry for the inconvenience.<br/>\r\nPlease report this message and include the following information to us.<br/>\r\nThank you very much!</p>\r\n<table>\r\n<tr>\r\n<td>URL:</td>\r\n<td>https://gd.glucose-dev.online/api/docflow/google-context?account_id=32990686&amp;entity_id=51033665&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/13 16:14:06</td>\r\n</tr>\r\n</table>\r\n<hr><center>tengine</center>\r\n</body>\r\n</html>\r\n"} {"uid":"b1ebd87"}
[2026-10-13 16:14:07] docflow.DEBUG: AmoDrive docflow context request {"url":"https://gd.glucose-dev.online/api/docflow/google-context","query":{"account_id":"32990686","entity_id":"51033665","entity_type":"leads"}} {"uid":"b1ebd87"}
[2026-10-13 16:14:07] docflow.WARNING: AmoDrive docflow context response is not ready, trying next backend. {"url":"https://gd.glucose-dev.online/api/docflow/google-context","payload":{"ok":true,"accountId":32990686,"entityId":"51033665","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":"b1ebd87"}
[2026-10-13 16:14:07] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://google.emale.uno/api/docflow/prepare-generated-doc","payload":{"account_id":"32990686","entity_id":"51033665","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"b1ebd87"}
[2026-10-13 16:14:07] docflow.WARNING: AmoDrive prepare-generated-doc request failed {"url":"https://google.emale.uno/api/docflow/prepare-generated-doc","http_code":null,"error":"HTTP/2 400 ","response":"<!DOCTYPE HTML PUBLIC \"-//IETF//DTD HTML 2.0//EN\">\r\n<html>\r\n<head><title>400 Bad Request</title></head>\r\n<body>\r\n<center><h1>400 Bad Request</h1></center>\r\n Sorry for the inconvenience.<br/>\r\nPlease report this message and include the following information to us.<br/>\r\nThank you very much!</p>\r\n<table>\r\n<tr>\r\n<td>URL:</td>\r\n<td>https://gd.glucose-dev.online/api/docflow/prepare-generated-doc</td>\r\n</tr>\r\n<tr>\r\n<td>Server:</td>\r\n<td>mail.glucose-dev.online</td>\r\n</tr>\r\n<tr>\r\n<td>Date:</td>\r\n<td>2026/10/13 16:14:07</td>\r\n</tr>\r\n</table>\r\n<hr><center>tengine</center>\r\n</body>\r\n</html>\r\n","payload":{"account_id":"32990686","entity_id":"51033665","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"b1ebd87"}
[2026-10-13 16:14:07] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://gd.glucose-dev.online/api/docflow/prepare-generated-doc","payload":{"account_id":"32990686","entity_id":"51033665","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"b1ebd87"}
[2026-10-13 16:14:07] docflow.WARNING: AmoDrive prepare-generated-doc request failed {"url":"https://gd.glucose-dev.online/api/docflow/prepare-generated-doc","http_code":null,"error":"HTTP/2 404 ","response":"[object] (stdClass: {\"ok\":false,\"error\":\"AmoDrive is not installed for this account.\",\"accountId\":32990686})","payload":{"account_id":"32990686","entity_id":"51033665","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"b1ebd87"}
[2026-10-13 16:14:07] 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 1338 20261013161406\",\"leadId\":\"51033665\",\"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-14 16:10:00\",\"\\u0414\\u0430\\u0442\\u0430 \\u0432\\u0438\\u0437\\u0438\\u0442\\u0430\":\"14.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\":\"14.10.2027\",\"ID\":\"51033665\",\"\\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-14 16:10:00\",\"\\u0414\\u0430\\u0442\\u0430 \\u0432\\u0438\\u0437\\u0438\\u0442\\u0430\":\"14.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\":\"14.10.2027\",\"ID\":\"51033665\",\"\\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\":\"98306016526\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"37368678978\",\"\\u0410\\u0434\\u0440\\u0435\\u0441\":\"bl Negruzzi 6 et 5 ap 72\",\"\\u0418\\u043c\\u044f \\u043a\\u043b\\u0438\\u0435\\u043d\\u0442\\u0430 (\\u0421\\u041c\\u0421)\":\"Matricenco\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Matricenco\",\"Contact_name\":\"Matricenco\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"\\u0410\\u0441\\u0442\\u0430\\u043f\\u0435\\u043d\\u043a\\u043e\\u0432\\u0430 \\u042e\\u043b\\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\":\"98306016526\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"37368678978\",\"\\u0410\\u0434\\u0440\\u0435\\u0441\":\"bl Negruzzi 6 et 5 ap 72\",\"\\u0418\\u043c\\u044f \\u043a\\u043b\\u0438\\u0435\\u043d\\u0442\\u0430 (\\u0421\\u041c\\u0421)\":\"Matricenco\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Matricenco\",\"Contact_name\":\"Matricenco\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"\\u0410\\u0441\\u0442\\u0430\\u043f\\u0435\\u043d\\u043a\\u043e\\u0432\\u0430 \\u042e\\u043b\\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\":\"98306016526\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"37368678978\",\"\\u0410\\u0434\\u0440\\u0435\\u0441\":\"bl Negruzzi 6 et 5 ap 72\",\"\\u0418\\u043c\\u044f \\u043a\\u043b\\u0438\\u0435\\u043d\\u0442\\u0430 (\\u0421\\u041c\\u0421)\":\"Matricenco\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Matricenco\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\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\":\"13.10.2026\",\"\\u041d\\u043e\\u043c\\u0435\\u0440\":\"1338\"},\"document\":{\"Date\":\"13.10.2026\",\"Number\":\"1338\"}}}","edit":true}} {"uid":"b1ebd87"}
[2026-10-13 16:14:12] docflow.DEBUG: GAS raw response {"raw":"[object] (stdClass: {\"code\":1,\"url\":\"https://docs.google.com/open?id=16LGDxSqPaI2pyMo8jo0p_CNuvAIHBaobBE1TgnlvqTU\",\"file_id\":\"16LGDxSqPaI2pyMo8jo0p_CNuvAIHBaobBE1TgnlvqTU\",\"error\":\"\",\"vars\":\"\"})"} {"uid":"b1ebd87"}
[2026-10-13 16:14:12] docflow.WARNING: AmoDrive generated-file move is not ready. {"fileId":"16LGDxSqPaI2pyMo8jo0p_CNuvAIHBaobBE1TgnlvqTU","context":null} {"uid":"b1ebd87"}
[2026-10-13 16:20:10] docflow.INFO: Apel createDoc {"data":{"amoAccountId":"32990686","amoUserId":null,"amoEntityId":"50762523","amoEntityType":"2","templateId":"11625","corporateEntityId":"","settlementAccountId":"","is_signed":null,"gdi":null,"number":null,"currentAmoUserId":null,"lang":"ru"}} {"uid":"da251ed"}
[2026-10-13 16:20:11] docflow.INFO: Token is valid for account 32990686. [] {"uid":"da251ed"}
[2026-10-13 16:20:11] docflow.DEBUG: getClientAuth returned {"auth":"[object] (stdClass: {\"domain\":\"eurosanteh.amocrm.ru\",\"access_token\":\"eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImp0aSI6ImZkYzJlZjI1ODliMzhkZDRlNWMyMTNiYWUxZmY4MjhiOWExMjkwZjVlMjlmMDYzNWM4YmZkYzZiYjY3YjY0OTlmODNiMTJlNjYwMTFmMTVkIn0.eyJhdWQiOiIwZDY0ZGZmYi1lNTRiLTQ0OGYtOWZiZi1iYWYyMjUxYTExZGIiLCJqdGkiOiJmZGMyZWYyNTg5YjM4ZGQ0ZTVjMjEzYmFlMWZmODI4YjlhMTI5MGY1ZTI5ZjA2MzVjOGJmZGM2YmI2N2I2NDk5ZjgzYjEyZTY2MDExZjE1ZCIsImlhdCI6MTc5MTg4ODQ5NiwibmJmIjoxNzkxODg4NDk2LCJleHAiOjE3OTE5NzQ4OTYsInN1YiI6IjEzNjg3MzAyIiwiZ3JhbnRfdHlwZSI6IiIsImFjY291bnRfaWQiOjMyOTkwNjg2LCJiYXNlX2RvbWFpbiI6ImFtb2NybS5ydSIsInZlcnNpb24iOjIsInNjb3BlcyI6WyJwdXNoX25vdGlmaWNhdGlvbnMiLCJjcm0iLCJub3RpZmljYXRpb25zIl0sImhhc2hfdXVpZCI6IjVhMDU5ZmZiLTkyNGQtNDJhOC1hM2JmLTdiNzY2ZTUyNGQ3NyIsImFwaV9kb21haW4iOiJhcGktYi5hbW9jcm0ucnUifQ.DGUrEprnD9vYQ6273M6iSKzWOcEga9BmbE1vbzIv_pQCn9nvv0dA2PsWAGGFwmyLgtGnG4LGLwtWrOoWSZ9kYFujloT8JcP6mkFlPllYxpp72mKFKDTJ3BjnQ86tu5NqqP7phhMRmm-MpC9xxJjvZ_w454SKjwnPH7bHxPY96qVwps-3CwtO3LBZpPwTcFvPHLKBfG1WyHBe_ML8pOJNgJMg8CxBTVtygz3q6J_xh_lCEGMiIbTsfia5BPY8rU4cUNGFrkv2ebtbbV7WD8E74oIi2fdCh5FIn3jzXxnN5k8GsAuFn0eG-VAF_u7MCEkOxOHAL6a5cZ4jqsFxbbdAzg\"})","file":"/home/ytvmclwh/document.amocrm.md/src/Models/Docs.php","line":121} {"uid":"da251ed"}
[2026-10-13 16:20:14] docflow.DEBUG: AmoDrive docflow context request {"url":"https://google.emale.uno/api/docflow/google-context","query":{"account_id":"32990686","entity_id":"50762523","entity_type":"leads"}} {"uid":"da251ed"}
[2026-10-13 16:20:14] docflow.WARNING: AmoDrive docflow context request failed {"url":"https://google.emale.uno/api/docflow/google-context","http_code":null,"error":"HTTP/2 400 ","response":"<!DOCTYPE HTML PUBLIC \"-//IETF//DTD HTML 2.0//EN\">\r\n<html>\r\n<head><title>400 Bad Request</title></head>\r\n<body>\r\n<center><h1>400 Bad Request</h1></center>\r\n Sorry for the inconvenience.<br/>\r\nPlease report this message and include the following information to us.<br/>\r\nThank you very much!</p>\r\n<table>\r\n<tr>\r\n<td>URL:</td>\r\n<td>https://gd.glucose-dev.online/api/docflow/google-context?account_id=32990686&amp;entity_id=50762523&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/13 16:20:14</td>\r\n</tr>\r\n</table>\r\n<hr><center>tengine</center>\r\n</body>\r\n</html>\r\n"} {"uid":"da251ed"}
[2026-10-13 16:20:14] docflow.DEBUG: AmoDrive docflow context request {"url":"https://gd.glucose-dev.online/api/docflow/google-context","query":{"account_id":"32990686","entity_id":"50762523","entity_type":"leads"}} {"uid":"da251ed"}
[2026-10-13 16:20: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":"50762523","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":"da251ed"}
[2026-10-13 16:20:15] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://google.emale.uno/api/docflow/prepare-generated-doc","payload":{"account_id":"32990686","entity_id":"50762523","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"da251ed"}
[2026-10-13 16:20: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/13 16:20: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":"50762523","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"da251ed"}
[2026-10-13 16:20: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":"50762523","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"da251ed"}
[2026-10-13 16:20: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":"50762523","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"da251ed"}
[2026-10-13 16:20: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 1339 20261013162014\",\"leadId\":\"50762523\",\"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-14 09:36:00\",\"\\u0414\\u0430\\u0442\\u0430 \\u0432\\u0438\\u0437\\u0438\\u0442\\u0430\":\"14.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\":\"14.10.2027\",\"ID\":\"50762523\",\"\\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-14 09:36:00\",\"\\u0414\\u0430\\u0442\\u0430 \\u0432\\u0438\\u0437\\u0438\\u0442\\u0430\":\"14.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\":\"14.10.2027\",\"ID\":\"50762523\",\"\\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\":\"2003048039126\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"37367234849\",\"\\u0410\\u0434\\u0440\\u0435\\u0441\":\"str Gratiesti 32\",\"\\u0418\\u043c\\u044f \\u043a\\u043b\\u0438\\u0435\\u043d\\u0442\\u0430 (\\u0421\\u041c\\u0421)\":\"Ruslan\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Ruslan Pimenov\",\"Contact_name\":\"Ruslan Pimenov\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"\\u0410\\u0441\\u0442\\u0430\\u043f\\u0435\\u043d\\u043a\\u043e\\u0432\\u0430 \\u042e\\u043b\\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\":\"2003048039126\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"37367234849\",\"\\u0410\\u0434\\u0440\\u0435\\u0441\":\"str Gratiesti 32\",\"\\u0418\\u043c\\u044f \\u043a\\u043b\\u0438\\u0435\\u043d\\u0442\\u0430 (\\u0421\\u041c\\u0421)\":\"Ruslan\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Ruslan Pimenov\",\"Contact_name\":\"Ruslan Pimenov\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"\\u0410\\u0441\\u0442\\u0430\\u043f\\u0435\\u043d\\u043a\\u043e\\u0432\\u0430 \\u042e\\u043b\\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\":\"2003048039126\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"37367234849\",\"\\u0410\\u0434\\u0440\\u0435\\u0441\":\"str Gratiesti 32\",\"\\u0418\\u043c\\u044f \\u043a\\u043b\\u0438\\u0435\\u043d\\u0442\\u0430 (\\u0421\\u041c\\u0421)\":\"Ruslan\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Ruslan Pimenov\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\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\":\"13.10.2026\",\"\\u041d\\u043e\\u043c\\u0435\\u0440\":\"1339\"},\"document\":{\"Date\":\"13.10.2026\",\"Number\":\"1339\"}}}","edit":true}} {"uid":"da251ed"}
[2026-10-13 16:20:21] docflow.DEBUG: GAS raw response {"raw":"[object] (stdClass: {\"code\":1,\"url\":\"https://docs.google.com/open?id=1O0rFVfHK4UyZBesXPF2Qn0mmXnYVHfT93snnFoCAUjE\",\"file_id\":\"1O0rFVfHK4UyZBesXPF2Qn0mmXnYVHfT93snnFoCAUjE\",\"error\":\"\",\"vars\":\"\"})"} {"uid":"da251ed"}
[2026-10-13 16:20:21] docflow.WARNING: AmoDrive generated-file move is not ready. {"fileId":"1O0rFVfHK4UyZBesXPF2Qn0mmXnYVHfT93snnFoCAUjE","context":null} {"uid":"da251ed"}
[2026-10-13 16:21:57] docflow.INFO: Apel createDoc {"data":{"amoAccountId":"32990686","amoUserId":null,"amoEntityId":"50762523","amoEntityType":"2","templateId":"11646","corporateEntityId":"","settlementAccountId":"","is_signed":null,"gdi":null,"number":null,"currentAmoUserId":null,"lang":"ru"}} {"uid":"675d854"}
[2026-10-13 16:21:59] docflow.INFO: Token is valid for account 32990686. [] {"uid":"675d854"}
[2026-10-13 16:21:59] docflow.DEBUG: getClientAuth returned {"auth":"[object] (stdClass: {\"domain\":\"eurosanteh.amocrm.ru\",\"access_token\":\"eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImp0aSI6ImZkYzJlZjI1ODliMzhkZDRlNWMyMTNiYWUxZmY4MjhiOWExMjkwZjVlMjlmMDYzNWM4YmZkYzZiYjY3YjY0OTlmODNiMTJlNjYwMTFmMTVkIn0.eyJhdWQiOiIwZDY0ZGZmYi1lNTRiLTQ0OGYtOWZiZi1iYWYyMjUxYTExZGIiLCJqdGkiOiJmZGMyZWYyNTg5YjM4ZGQ0ZTVjMjEzYmFlMWZmODI4YjlhMTI5MGY1ZTI5ZjA2MzVjOGJmZGM2YmI2N2I2NDk5ZjgzYjEyZTY2MDExZjE1ZCIsImlhdCI6MTc5MTg4ODQ5NiwibmJmIjoxNzkxODg4NDk2LCJleHAiOjE3OTE5NzQ4OTYsInN1YiI6IjEzNjg3MzAyIiwiZ3JhbnRfdHlwZSI6IiIsImFjY291bnRfaWQiOjMyOTkwNjg2LCJiYXNlX2RvbWFpbiI6ImFtb2NybS5ydSIsInZlcnNpb24iOjIsInNjb3BlcyI6WyJwdXNoX25vdGlmaWNhdGlvbnMiLCJjcm0iLCJub3RpZmljYXRpb25zIl0sImhhc2hfdXVpZCI6IjVhMDU5ZmZiLTkyNGQtNDJhOC1hM2JmLTdiNzY2ZTUyNGQ3NyIsImFwaV9kb21haW4iOiJhcGktYi5hbW9jcm0ucnUifQ.DGUrEprnD9vYQ6273M6iSKzWOcEga9BmbE1vbzIv_pQCn9nvv0dA2PsWAGGFwmyLgtGnG4LGLwtWrOoWSZ9kYFujloT8JcP6mkFlPllYxpp72mKFKDTJ3BjnQ86tu5NqqP7phhMRmm-MpC9xxJjvZ_w454SKjwnPH7bHxPY96qVwps-3CwtO3LBZpPwTcFvPHLKBfG1WyHBe_ML8pOJNgJMg8CxBTVtygz3q6J_xh_lCEGMiIbTsfia5BPY8rU4cUNGFrkv2ebtbbV7WD8E74oIi2fdCh5FIn3jzXxnN5k8GsAuFn0eG-VAF_u7MCEkOxOHAL6a5cZ4jqsFxbbdAzg\"})","file":"/home/ytvmclwh/document.amocrm.md/src/Models/Docs.php","line":121} {"uid":"675d854"}
[2026-10-13 16:22:01] docflow.DEBUG: AmoDrive docflow context request {"url":"https://google.emale.uno/api/docflow/google-context","query":{"account_id":"32990686","entity_id":"50762523","entity_type":"leads"}} {"uid":"675d854"}
[2026-10-13 16:22:02] docflow.WARNING: AmoDrive docflow context request failed {"url":"https://google.emale.uno/api/docflow/google-context","http_code":null,"error":"HTTP/2 400 ","response":"<!DOCTYPE HTML PUBLIC \"-//IETF//DTD HTML 2.0//EN\">\r\n<html>\r\n<head><title>400 Bad Request</title></head>\r\n<body>\r\n<center><h1>400 Bad Request</h1></center>\r\n Sorry for the inconvenience.<br/>\r\nPlease report this message and include the following information to us.<br/>\r\nThank you very much!</p>\r\n<table>\r\n<tr>\r\n<td>URL:</td>\r\n<td>https://gd.glucose-dev.online/api/docflow/google-context?account_id=32990686&amp;entity_id=50762523&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/13 16:22:01</td>\r\n</tr>\r\n</table>\r\n<hr><center>tengine</center>\r\n</body>\r\n</html>\r\n"} {"uid":"675d854"}
[2026-10-13 16:22:02] docflow.DEBUG: AmoDrive docflow context request {"url":"https://gd.glucose-dev.online/api/docflow/google-context","query":{"account_id":"32990686","entity_id":"50762523","entity_type":"leads"}} {"uid":"675d854"}
[2026-10-13 16:22:02] docflow.WARNING: AmoDrive docflow context response is not ready, trying next backend. {"url":"https://gd.glucose-dev.online/api/docflow/google-context","payload":{"ok":true,"accountId":32990686,"entityId":"50762523","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":"675d854"}
[2026-10-13 16:22:02] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://google.emale.uno/api/docflow/prepare-generated-doc","payload":{"account_id":"32990686","entity_id":"50762523","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"675d854"}
[2026-10-13 16:22:02] docflow.WARNING: AmoDrive prepare-generated-doc request failed {"url":"https://google.emale.uno/api/docflow/prepare-generated-doc","http_code":null,"error":"HTTP/2 400 ","response":"<!DOCTYPE HTML PUBLIC \"-//IETF//DTD HTML 2.0//EN\">\r\n<html>\r\n<head><title>400 Bad Request</title></head>\r\n<body>\r\n<center><h1>400 Bad Request</h1></center>\r\n Sorry for the inconvenience.<br/>\r\nPlease report this message and include the following information to us.<br/>\r\nThank you very much!</p>\r\n<table>\r\n<tr>\r\n<td>URL:</td>\r\n<td>https://gd.glucose-dev.online/api/docflow/prepare-generated-doc</td>\r\n</tr>\r\n<tr>\r\n<td>Server:</td>\r\n<td>mail.glucose-dev.online</td>\r\n</tr>\r\n<tr>\r\n<td>Date:</td>\r\n<td>2026/10/13 16:22:02</td>\r\n</tr>\r\n</table>\r\n<hr><center>tengine</center>\r\n</body>\r\n</html>\r\n","payload":{"account_id":"32990686","entity_id":"50762523","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"675d854"}
[2026-10-13 16:22:02] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://gd.glucose-dev.online/api/docflow/prepare-generated-doc","payload":{"account_id":"32990686","entity_id":"50762523","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"675d854"}
[2026-10-13 16:22:02] docflow.WARNING: AmoDrive prepare-generated-doc request failed {"url":"https://gd.glucose-dev.online/api/docflow/prepare-generated-doc","http_code":null,"error":"HTTP/2 404 ","response":"[object] (stdClass: {\"ok\":false,\"error\":\"AmoDrive is not installed for this account.\",\"accountId\":32990686})","payload":{"account_id":"32990686","entity_id":"50762523","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"675d854"}
[2026-10-13 16:22:02] 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 1339 20261013162201\",\"leadId\":\"50762523\",\"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-14 09:36:00\",\"\\u0414\\u0430\\u0442\\u0430 \\u0432\\u0438\\u0437\\u0438\\u0442\\u0430\":\"14.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\":\"14.10.2027\",\"ID\":\"50762523\",\"\\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-14 09:36:00\",\"\\u0414\\u0430\\u0442\\u0430 \\u0432\\u0438\\u0437\\u0438\\u0442\\u0430\":\"14.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\":\"14.10.2027\",\"ID\":\"50762523\",\"\\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\":\"2003048039126\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"37367234849\",\"\\u0410\\u0434\\u0440\\u0435\\u0441\":\"str Gratiesti 32\",\"\\u0418\\u043c\\u044f \\u043a\\u043b\\u0438\\u0435\\u043d\\u0442\\u0430 (\\u0421\\u041c\\u0421)\":\"Ruslan\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Ruslan Pimenov\",\"Contact_name\":\"Ruslan Pimenov\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"\\u0410\\u0441\\u0442\\u0430\\u043f\\u0435\\u043d\\u043a\\u043e\\u0432\\u0430 \\u042e\\u043b\\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\":\"2003048039126\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"37367234849\",\"\\u0410\\u0434\\u0440\\u0435\\u0441\":\"str Gratiesti 32\",\"\\u0418\\u043c\\u044f \\u043a\\u043b\\u0438\\u0435\\u043d\\u0442\\u0430 (\\u0421\\u041c\\u0421)\":\"Ruslan\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Ruslan Pimenov\",\"Contact_name\":\"Ruslan Pimenov\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"\\u0410\\u0441\\u0442\\u0430\\u043f\\u0435\\u043d\\u043a\\u043e\\u0432\\u0430 \\u042e\\u043b\\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\":\"2003048039126\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"37367234849\",\"\\u0410\\u0434\\u0440\\u0435\\u0441\":\"str Gratiesti 32\",\"\\u0418\\u043c\\u044f \\u043a\\u043b\\u0438\\u0435\\u043d\\u0442\\u0430 (\\u0421\\u041c\\u0421)\":\"Ruslan\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Ruslan Pimenov\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\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\":\"13.10.2026\",\"\\u041d\\u043e\\u043c\\u0435\\u0440\":\"1339\"},\"document\":{\"Date\":\"13.10.2026\",\"Number\":\"1339\"}}}","edit":true}} {"uid":"675d854"}
[2026-10-13 16:22:12] docflow.DEBUG: GAS raw response {"raw":"[object] (stdClass: {\"code\":1,\"url\":\"https://docs.google.com/open?id=1gzuu8ey3M3Ss70svFfHOB27zHeMLihP3og8giiQFnIw\",\"file_id\":\"1gzuu8ey3M3Ss70svFfHOB27zHeMLihP3og8giiQFnIw\",\"error\":\"\",\"vars\":\"\"})"} {"uid":"675d854"}
[2026-10-13 16:22:12] docflow.WARNING: AmoDrive generated-file move is not ready. {"fileId":"1gzuu8ey3M3Ss70svFfHOB27zHeMLihP3og8giiQFnIw","context":null} {"uid":"675d854"}
[2026-10-13 16:22:28] docflow.INFO: Apel createDoc {"data":{"amoAccountId":"22699852","amoUserId":null,"amoEntityId":"42836206","amoEntityType":"2","templateId":"11502","corporateEntityId":"","settlementAccountId":"","is_signed":null,"gdi":null,"number":null,"currentAmoUserId":null,"lang":"ru"}} {"uid":"7841ccb"}
[2026-10-13 16:22:28] docflow.INFO: Token is valid for account 22699852. [] {"uid":"7841ccb"}
[2026-10-13 16:22:28] docflow.DEBUG: getClientAuth returned {"auth":"[object] (stdClass: {\"domain\":\"emigrare.amocrm.ru\",\"access_token\":\"eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImp0aSI6IjA5Zjk3NjIwZWVhZDQ5MTk1YzAzMjExYWQzZWMwNWFmODMzOTAyYzkwNDUxYThhMDRlNWI2NGZhZTg5ODk0NGM0NzIxZWFiYTAwYWRmNGY1In0.eyJhdWQiOiIwZDY0ZGZmYi1lNTRiLTQ0OGYtOWZiZi1iYWYyMjUxYTExZGIiLCJqdGkiOiIwOWY5NzYyMGVlYWQ0OTE5NWMwMzIxMWFkM2VjMDVhZjgzMzkwMmM5MDQ1MWE4YTA0ZTViNjRmYWU4OTg5NDRjNDcyMWVhYmEwMGFkZjRmNSIsImlhdCI6MTc5MTg3NTcxNCwibmJmIjoxNzkxODc1NzE0LCJleHAiOjE3OTE5NjIxMTQsInN1YiI6IjI5MzAzODAiLCJncmFudF90eXBlIjoiIiwiYWNjb3VudF9pZCI6MjI2OTk4NTIsImJhc2VfZG9tYWluIjoiYW1vY3JtLnJ1IiwidmVyc2lvbiI6Miwic2NvcGVzIjpbInB1c2hfbm90aWZpY2F0aW9ucyIsImNybSIsIm5vdGlmaWNhdGlvbnMiXSwiaGFzaF91dWlkIjoiZjhhNDRkOTgtMTRlNS00OTcxLTllMGEtNTRhZDY5OGQyYmQ4IiwiYXBpX2RvbWFpbiI6ImFwaS1hLmFtb2NybS5ydSJ9.NBJbkjpQVkql6RIh0lb5_KN4a3HryxJWNmjqTpgN1z5_38BKNZZYuaLC3jSuifBhZ1bpvGNOvdij0i0pQgyxhOaT9bZBjt_vLr-92V395z4ycsTFsK62KSDyZ-lAic98RxsqiX1xzPrdIi7NEXKX9Ls1ZHz0dwCgMJC2czZsigpjSEG0ErTZNdfsZrz00lM5F7cYbWP1m6JO78QBQJmrF_fRwFLiWGm9epjs7WmHTq4gO0Ski6-09ZTgjUIdj0zk6kP0vuWPHu9bZb8EP2IglQ0UjVN2AuacD9jBZvwt8Z6Q3TPnOEJaD0MJgiSlBcFs7wQ2ueorh3T8wV5cwy3VIA\"})","file":"/home/ytvmclwh/document.amocrm.md/src/Models/Docs.php","line":121} {"uid":"7841ccb"}
[2026-10-13 16:22:32] docflow.DEBUG: AmoDrive docflow context request {"url":"https://google.emale.uno/api/docflow/google-context","query":{"account_id":"22699852","entity_id":"42836206","entity_type":"leads"}} {"uid":"7841ccb"}
[2026-10-13 16:22:32] 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=42836206&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/13 16:22:32</td>\r\n</tr>\r\n</table>\r\n<hr><center>tengine</center>\r\n</body>\r\n</html>\r\n"} {"uid":"7841ccb"}
[2026-10-13 16:22:32] docflow.DEBUG: AmoDrive docflow context request {"url":"https://gd.glucose-dev.online/api/docflow/google-context","query":{"account_id":"22699852","entity_id":"42836206","entity_type":"leads"}} {"uid":"7841ccb"}
[2026-10-13 16:22:32] 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":"42836206","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":311,"isLifetime":false},"licenseActive":false,"googleConnected":false,"googleEmail":null,"googleHasDriveScope":false,"googleHasDriveFileScope":false,"googleHasOwnershipScope":false,"readyForGeneratedFileMove":false,"readyForTransfer":false},"folder":{"id":"1dYUiCiVysc4CI1kHXHLmSMyYvnhEp9xC","name":"42836206 - Lead #42836206","webViewLink":"https://drive.google.com/drive/folders/1dYUiCiVysc4CI1kHXHLmSMyYvnhEp9xC"}}} {"uid":"7841ccb"}
[2026-10-13 16:22:32] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://google.emale.uno/api/docflow/prepare-generated-doc","payload":{"account_id":"22699852","entity_id":"42836206","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"7841ccb"}
[2026-10-13 16:22:32] 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/13 16:22:32</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":"42836206","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"7841ccb"}
[2026-10-13 16:22:32] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://gd.glucose-dev.online/api/docflow/prepare-generated-doc","payload":{"account_id":"22699852","entity_id":"42836206","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"7841ccb"}
[2026-10-13 16:22:32] 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":"42836206","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"7841ccb"}
[2026-10-13 16:22:32] 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) 115 20261013162232\",\"leadId\":\"42836206\",\"entities\":{\"\\u0441\\u0434\\u0435\\u043b\\u043a\\u0430\":{\"Suma \\u20ac\":\"0\",\"Temperatura client\":\"Fierbinte\",\"ID\":\"42836206\",\"\\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\":\"Stanislav Slivinschi\",\"Responsible\":\"Stanislav Slivinschi\"},\"lead\":{\"Suma \\u20ac\":\"0\",\"Temperatura client\":\"Fierbinte\",\"ID\":\"42836206\",\"\\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\":\"Stanislav Slivinschi\",\"Responsible\":\"Stanislav Slivinschi\"},\"\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442\":{\"TelegramId_WZ\":\"7785656962\",\"TelegramUsername_WZ\":\"@nineltrifan\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"+375339122681\",\"Email\":\"tnina2344@gmail.com\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Nina Tryfan\",\"Contact_name\":\"Nina Tryfan\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"Stanislav Slivinschi\",\"Responsible\":\"Stanislav Slivinschi\"},\"contact\":{\"TelegramId_WZ\":\"7785656962\",\"TelegramUsername_WZ\":\"@nineltrifan\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"+375339122681\",\"Email\":\"tnina2344@gmail.com\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Nina Tryfan\",\"Contact_name\":\"Nina Tryfan\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"Stanislav Slivinschi\",\"Responsible\":\"Stanislav Slivinschi\"},\"\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442\\u044b\":[{\"TelegramId_WZ\":\"7785656962\",\"TelegramUsername_WZ\":\"@nineltrifan\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"+375339122681\",\"Email\":\"tnina2344@gmail.com\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Nina Tryfan\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"Stanislav Slivinschi\"}],\"\\u0434\\u043e\\u043a\\u0443\\u043c\\u0435\\u043d\\u0442\":{\"\\u0414\\u0430\\u0442\\u0430\":\"13.10.2026\",\"\\u041d\\u043e\\u043c\\u0435\\u0440\":\"115\"},\"document\":{\"Date\":\"13.10.2026\",\"Number\":\"115\"}}}","edit":true}} {"uid":"7841ccb"}
[2026-10-13 16:22:37] docflow.DEBUG: GAS raw response {"raw":"[object] (stdClass: {\"code\":1,\"url\":\"https://docs.google.com/open?id=1Tc7VPE8AI9l6waSi0bd0bvYQ-B4czUSWdMAOXf4uyJA\",\"file_id\":\"1Tc7VPE8AI9l6waSi0bd0bvYQ-B4czUSWdMAOXf4uyJA\",\"error\":\"\",\"vars\":\"\"})"} {"uid":"7841ccb"}
[2026-10-13 16:22:37] docflow.WARNING: AmoDrive generated-file move is not ready. {"fileId":"1Tc7VPE8AI9l6waSi0bd0bvYQ-B4czUSWdMAOXf4uyJA","context":null} {"uid":"7841ccb"}
[2026-10-13 16:25:37] docflow.INFO: Apel createDoc {"data":{"amoAccountId":"32990686","amoUserId":null,"amoEntityId":"50969219","amoEntityType":"2","templateId":"11625","corporateEntityId":"","settlementAccountId":"","is_signed":null,"gdi":null,"number":null,"currentAmoUserId":null,"lang":"ru"}} {"uid":"0719801"}
[2026-10-13 16:25:38] docflow.INFO: Token is valid for account 32990686. [] {"uid":"0719801"}
[2026-10-13 16:25:38] docflow.DEBUG: getClientAuth returned {"auth":"[object] (stdClass: {\"domain\":\"eurosanteh.amocrm.ru\",\"access_token\":\"eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImp0aSI6ImZkYzJlZjI1ODliMzhkZDRlNWMyMTNiYWUxZmY4MjhiOWExMjkwZjVlMjlmMDYzNWM4YmZkYzZiYjY3YjY0OTlmODNiMTJlNjYwMTFmMTVkIn0.eyJhdWQiOiIwZDY0ZGZmYi1lNTRiLTQ0OGYtOWZiZi1iYWYyMjUxYTExZGIiLCJqdGkiOiJmZGMyZWYyNTg5YjM4ZGQ0ZTVjMjEzYmFlMWZmODI4YjlhMTI5MGY1ZTI5ZjA2MzVjOGJmZGM2YmI2N2I2NDk5ZjgzYjEyZTY2MDExZjE1ZCIsImlhdCI6MTc5MTg4ODQ5NiwibmJmIjoxNzkxODg4NDk2LCJleHAiOjE3OTE5NzQ4OTYsInN1YiI6IjEzNjg3MzAyIiwiZ3JhbnRfdHlwZSI6IiIsImFjY291bnRfaWQiOjMyOTkwNjg2LCJiYXNlX2RvbWFpbiI6ImFtb2NybS5ydSIsInZlcnNpb24iOjIsInNjb3BlcyI6WyJwdXNoX25vdGlmaWNhdGlvbnMiLCJjcm0iLCJub3RpZmljYXRpb25zIl0sImhhc2hfdXVpZCI6IjVhMDU5ZmZiLTkyNGQtNDJhOC1hM2JmLTdiNzY2ZTUyNGQ3NyIsImFwaV9kb21haW4iOiJhcGktYi5hbW9jcm0ucnUifQ.DGUrEprnD9vYQ6273M6iSKzWOcEga9BmbE1vbzIv_pQCn9nvv0dA2PsWAGGFwmyLgtGnG4LGLwtWrOoWSZ9kYFujloT8JcP6mkFlPllYxpp72mKFKDTJ3BjnQ86tu5NqqP7phhMRmm-MpC9xxJjvZ_w454SKjwnPH7bHxPY96qVwps-3CwtO3LBZpPwTcFvPHLKBfG1WyHBe_ML8pOJNgJMg8CxBTVtygz3q6J_xh_lCEGMiIbTsfia5BPY8rU4cUNGFrkv2ebtbbV7WD8E74oIi2fdCh5FIn3jzXxnN5k8GsAuFn0eG-VAF_u7MCEkOxOHAL6a5cZ4jqsFxbbdAzg\"})","file":"/home/ytvmclwh/document.amocrm.md/src/Models/Docs.php","line":121} {"uid":"0719801"}
[2026-10-13 16:25:41] docflow.DEBUG: AmoDrive docflow context request {"url":"https://google.emale.uno/api/docflow/google-context","query":{"account_id":"32990686","entity_id":"50969219","entity_type":"leads"}} {"uid":"0719801"}
[2026-10-13 16:25:41] docflow.WARNING: AmoDrive docflow context request failed {"url":"https://google.emale.uno/api/docflow/google-context","http_code":null,"error":"HTTP/2 400 ","response":"<!DOCTYPE HTML PUBLIC \"-//IETF//DTD HTML 2.0//EN\">\r\n<html>\r\n<head><title>400 Bad Request</title></head>\r\n<body>\r\n<center><h1>400 Bad Request</h1></center>\r\n Sorry for the inconvenience.<br/>\r\nPlease report this message and include the following information to us.<br/>\r\nThank you very much!</p>\r\n<table>\r\n<tr>\r\n<td>URL:</td>\r\n<td>https://gd.glucose-dev.online/api/docflow/google-context?account_id=32990686&amp;entity_id=50969219&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/13 16:25:41</td>\r\n</tr>\r\n</table>\r\n<hr><center>tengine</center>\r\n</body>\r\n</html>\r\n"} {"uid":"0719801"}
[2026-10-13 16:25:41] docflow.DEBUG: AmoDrive docflow context request {"url":"https://gd.glucose-dev.online/api/docflow/google-context","query":{"account_id":"32990686","entity_id":"50969219","entity_type":"leads"}} {"uid":"0719801"}
[2026-10-13 16:25:41] docflow.WARNING: AmoDrive docflow context response is not ready, trying next backend. {"url":"https://gd.glucose-dev.online/api/docflow/google-context","payload":{"ok":true,"accountId":32990686,"entityId":"50969219","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":"0719801"}
[2026-10-13 16:25:41] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://google.emale.uno/api/docflow/prepare-generated-doc","payload":{"account_id":"32990686","entity_id":"50969219","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"0719801"}
[2026-10-13 16:25:41] docflow.WARNING: AmoDrive prepare-generated-doc request failed {"url":"https://google.emale.uno/api/docflow/prepare-generated-doc","http_code":null,"error":"HTTP/2 400 ","response":"<!DOCTYPE HTML PUBLIC \"-//IETF//DTD HTML 2.0//EN\">\r\n<html>\r\n<head><title>400 Bad Request</title></head>\r\n<body>\r\n<center><h1>400 Bad Request</h1></center>\r\n Sorry for the inconvenience.<br/>\r\nPlease report this message and include the following information to us.<br/>\r\nThank you very much!</p>\r\n<table>\r\n<tr>\r\n<td>URL:</td>\r\n<td>https://gd.glucose-dev.online/api/docflow/prepare-generated-doc</td>\r\n</tr>\r\n<tr>\r\n<td>Server:</td>\r\n<td>mail.glucose-dev.online</td>\r\n</tr>\r\n<tr>\r\n<td>Date:</td>\r\n<td>2026/10/13 16:25:41</td>\r\n</tr>\r\n</table>\r\n<hr><center>tengine</center>\r\n</body>\r\n</html>\r\n","payload":{"account_id":"32990686","entity_id":"50969219","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"0719801"}
[2026-10-13 16:25:41] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://gd.glucose-dev.online/api/docflow/prepare-generated-doc","payload":{"account_id":"32990686","entity_id":"50969219","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"0719801"}
[2026-10-13 16:25:41] docflow.WARNING: AmoDrive prepare-generated-doc request failed {"url":"https://gd.glucose-dev.online/api/docflow/prepare-generated-doc","http_code":null,"error":"HTTP/2 404 ","response":"[object] (stdClass: {\"ok\":false,\"error\":\"AmoDrive is not installed for this account.\",\"accountId\":32990686})","payload":{"account_id":"32990686","entity_id":"50969219","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"0719801"}
[2026-10-13 16:25:41] 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 1340 20261013162541\",\"leadId\":\"50969219\",\"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-14 11:09:00\",\"\\u0414\\u0430\\u0442\\u0430 \\u0432\\u0438\\u0437\\u0438\\u0442\\u0430\":\"14.10.2026\",\"\\u041c\\u043e\\u0434\\u0435\\u043b\\u044c \\u043e\\u0431\\u043e\\u0440\\u0443\\u0434\\u043e\\u0432\\u0430\\u043d\\u0438\\u044f 1\":\"MZN\",\"\\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\":\"14.10.2027\",\"ID\":\"50969219\",\"\\u0421\\u0434\\u0435\\u043b\\u043a\\u0430_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"\\u041f\\u0422\\u041e \\u0431\\u0435\\u0437 \\u0433\\u0430\\u0440\\u0430\\u043d\\u0442\\u0438\\u0438\",\"Lead_name\":\"\\u041f\\u0422\\u041e \\u0431\\u0435\\u0437 \\u0433\\u0430\\u0440\\u0430\\u043d\\u0442\\u0438\\u0438\",\"\\u0411\\u044e\\u0434\\u0436\\u0435\\u0442\":\"0\",\"Budget\":\"0\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"\\u0410\\u0441\\u0442\\u0430\\u043f\\u0435\\u043d\\u043a\\u043e\\u0432\\u0430 \\u042e\\u043b\\u0438\\u0430\\u043d\\u043d\\u0430\",\"Responsible\":\"\\u0410\\u0441\\u0442\\u0430\\u043f\\u0435\\u043d\\u043a\\u043e\\u0432\\u0430 \\u042e\\u043b\\u0438\\u0430\\u043d\\u043d\\u0430\"},\"lead\":{\"\\u0414\\u0430\\u0442\\u0430 \\u0438 \\u0432\\u0440\\u0435\\u043c\\u044f \\u0432\\u0438\\u0437\\u0438\\u0442\\u0430\":\"2026-10-14 11:09:00\",\"\\u0414\\u0430\\u0442\\u0430 \\u0432\\u0438\\u0437\\u0438\\u0442\\u0430\":\"14.10.2026\",\"\\u041c\\u043e\\u0434\\u0435\\u043b\\u044c \\u043e\\u0431\\u043e\\u0440\\u0443\\u0434\\u043e\\u0432\\u0430\\u043d\\u0438\\u044f 1\":\"MZN\",\"\\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\":\"14.10.2027\",\"ID\":\"50969219\",\"\\u0421\\u0434\\u0435\\u043b\\u043a\\u0430_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"\\u041f\\u0422\\u041e \\u0431\\u0435\\u0437 \\u0433\\u0430\\u0440\\u0430\\u043d\\u0442\\u0438\\u0438\",\"Lead_name\":\"\\u041f\\u0422\\u041e \\u0431\\u0435\\u0437 \\u0433\\u0430\\u0440\\u0430\\u043d\\u0442\\u0438\\u0438\",\"\\u0411\\u044e\\u0434\\u0436\\u0435\\u0442\":\"0\",\"Budget\":\"0\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"\\u0410\\u0441\\u0442\\u0430\\u043f\\u0435\\u043d\\u043a\\u043e\\u0432\\u0430 \\u042e\\u043b\\u0438\\u0430\\u043d\\u043d\\u0430\",\"Responsible\":\"\\u0410\\u0441\\u0442\\u0430\\u043f\\u0435\\u043d\\u043a\\u043e\\u0432\\u0430 \\u042e\\u043b\\u0438\\u0430\\u043d\\u043d\\u0430\"},\"\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442\":{\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"37379728828\",\"\\u0418\\u043c\\u044f \\u043a\\u043b\\u0438\\u0435\\u043d\\u0442\\u0430 (\\u0421\\u041c\\u0421)\":\"Iura\",\"\\u0410\\u0434\\u0440\\u0435\\u0441\":\"20\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Iura\",\"Contact_name\":\"Iura\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"\\u0410\\u0441\\u0442\\u0430\\u043f\\u0435\\u043d\\u043a\\u043e\\u0432\\u0430 \\u042e\\u043b\\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\":\"37379728828\",\"\\u0418\\u043c\\u044f \\u043a\\u043b\\u0438\\u0435\\u043d\\u0442\\u0430 (\\u0421\\u041c\\u0421)\":\"Iura\",\"\\u0410\\u0434\\u0440\\u0435\\u0441\":\"20\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Iura\",\"Contact_name\":\"Iura\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"\\u0410\\u0441\\u0442\\u0430\\u043f\\u0435\\u043d\\u043a\\u043e\\u0432\\u0430 \\u042e\\u043b\\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\":\"37379728828\",\"\\u0418\\u043c\\u044f \\u043a\\u043b\\u0438\\u0435\\u043d\\u0442\\u0430 (\\u0421\\u041c\\u0421)\":\"Iura\",\"\\u0410\\u0434\\u0440\\u0435\\u0441\":\"20\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Iura\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\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\":\"13.10.2026\",\"\\u041d\\u043e\\u043c\\u0435\\u0440\":\"1340\"},\"document\":{\"Date\":\"13.10.2026\",\"Number\":\"1340\"}}}","edit":true}} {"uid":"0719801"}
[2026-10-13 16:25:48] docflow.DEBUG: GAS raw response {"raw":"[object] (stdClass: {\"code\":1,\"url\":\"https://docs.google.com/open?id=1nYHl4dBL_KxJr4dC5bQ6cYqKahpJfa6zSsaGxqw0uNE\",\"file_id\":\"1nYHl4dBL_KxJr4dC5bQ6cYqKahpJfa6zSsaGxqw0uNE\",\"error\":\"\",\"vars\":\"\"})"} {"uid":"0719801"}
[2026-10-13 16:25:48] docflow.WARNING: AmoDrive generated-file move is not ready. {"fileId":"1nYHl4dBL_KxJr4dC5bQ6cYqKahpJfa6zSsaGxqw0uNE","context":null} {"uid":"0719801"}
[2026-10-13 16:26:43] docflow.INFO: Apel createDoc {"data":{"amoAccountId":"32990686","amoUserId":null,"amoEntityId":"50969219","amoEntityType":"2","templateId":"11646","corporateEntityId":"","settlementAccountId":"","is_signed":null,"gdi":null,"number":null,"currentAmoUserId":null,"lang":"ru"}} {"uid":"5284159"}
[2026-10-13 16:26:44] docflow.INFO: Token is valid for account 32990686. [] {"uid":"5284159"}
[2026-10-13 16:26:44] docflow.DEBUG: getClientAuth returned {"auth":"[object] (stdClass: {\"domain\":\"eurosanteh.amocrm.ru\",\"access_token\":\"eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImp0aSI6ImZkYzJlZjI1ODliMzhkZDRlNWMyMTNiYWUxZmY4MjhiOWExMjkwZjVlMjlmMDYzNWM4YmZkYzZiYjY3YjY0OTlmODNiMTJlNjYwMTFmMTVkIn0.eyJhdWQiOiIwZDY0ZGZmYi1lNTRiLTQ0OGYtOWZiZi1iYWYyMjUxYTExZGIiLCJqdGkiOiJmZGMyZWYyNTg5YjM4ZGQ0ZTVjMjEzYmFlMWZmODI4YjlhMTI5MGY1ZTI5ZjA2MzVjOGJmZGM2YmI2N2I2NDk5ZjgzYjEyZTY2MDExZjE1ZCIsImlhdCI6MTc5MTg4ODQ5NiwibmJmIjoxNzkxODg4NDk2LCJleHAiOjE3OTE5NzQ4OTYsInN1YiI6IjEzNjg3MzAyIiwiZ3JhbnRfdHlwZSI6IiIsImFjY291bnRfaWQiOjMyOTkwNjg2LCJiYXNlX2RvbWFpbiI6ImFtb2NybS5ydSIsInZlcnNpb24iOjIsInNjb3BlcyI6WyJwdXNoX25vdGlmaWNhdGlvbnMiLCJjcm0iLCJub3RpZmljYXRpb25zIl0sImhhc2hfdXVpZCI6IjVhMDU5ZmZiLTkyNGQtNDJhOC1hM2JmLTdiNzY2ZTUyNGQ3NyIsImFwaV9kb21haW4iOiJhcGktYi5hbW9jcm0ucnUifQ.DGUrEprnD9vYQ6273M6iSKzWOcEga9BmbE1vbzIv_pQCn9nvv0dA2PsWAGGFwmyLgtGnG4LGLwtWrOoWSZ9kYFujloT8JcP6mkFlPllYxpp72mKFKDTJ3BjnQ86tu5NqqP7phhMRmm-MpC9xxJjvZ_w454SKjwnPH7bHxPY96qVwps-3CwtO3LBZpPwTcFvPHLKBfG1WyHBe_ML8pOJNgJMg8CxBTVtygz3q6J_xh_lCEGMiIbTsfia5BPY8rU4cUNGFrkv2ebtbbV7WD8E74oIi2fdCh5FIn3jzXxnN5k8GsAuFn0eG-VAF_u7MCEkOxOHAL6a5cZ4jqsFxbbdAzg\"})","file":"/home/ytvmclwh/document.amocrm.md/src/Models/Docs.php","line":121} {"uid":"5284159"}
[2026-10-13 16:26:47] docflow.DEBUG: AmoDrive docflow context request {"url":"https://google.emale.uno/api/docflow/google-context","query":{"account_id":"32990686","entity_id":"50969219","entity_type":"leads"}} {"uid":"5284159"}
[2026-10-13 16:26: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=50969219&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/13 16:26:47</td>\r\n</tr>\r\n</table>\r\n<hr><center>tengine</center>\r\n</body>\r\n</html>\r\n"} {"uid":"5284159"}
[2026-10-13 16:26:47] docflow.DEBUG: AmoDrive docflow context request {"url":"https://gd.glucose-dev.online/api/docflow/google-context","query":{"account_id":"32990686","entity_id":"50969219","entity_type":"leads"}} {"uid":"5284159"}
[2026-10-13 16:26: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":"50969219","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":"5284159"}
[2026-10-13 16:26:47] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://google.emale.uno/api/docflow/prepare-generated-doc","payload":{"account_id":"32990686","entity_id":"50969219","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"5284159"}
[2026-10-13 16:26: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/13 16:26: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":"50969219","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"5284159"}
[2026-10-13 16:26: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":"50969219","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"5284159"}
[2026-10-13 16:26: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":"50969219","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"5284159"}
[2026-10-13 16:26:47] 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 1340 20261013162647\",\"leadId\":\"50969219\",\"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-14 11:09:00\",\"\\u0414\\u0430\\u0442\\u0430 \\u0432\\u0438\\u0437\\u0438\\u0442\\u0430\":\"14.10.2026\",\"\\u041c\\u043e\\u0434\\u0435\\u043b\\u044c \\u043e\\u0431\\u043e\\u0440\\u0443\\u0434\\u043e\\u0432\\u0430\\u043d\\u0438\\u044f 1\":\"MZN\",\"\\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\":\"14.10.2027\",\"ID\":\"50969219\",\"\\u0421\\u0434\\u0435\\u043b\\u043a\\u0430_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"\\u041f\\u0422\\u041e \\u0431\\u0435\\u0437 \\u0433\\u0430\\u0440\\u0430\\u043d\\u0442\\u0438\\u0438\",\"Lead_name\":\"\\u041f\\u0422\\u041e \\u0431\\u0435\\u0437 \\u0433\\u0430\\u0440\\u0430\\u043d\\u0442\\u0438\\u0438\",\"\\u0411\\u044e\\u0434\\u0436\\u0435\\u0442\":\"0\",\"Budget\":\"0\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"\\u0410\\u0441\\u0442\\u0430\\u043f\\u0435\\u043d\\u043a\\u043e\\u0432\\u0430 \\u042e\\u043b\\u0438\\u0430\\u043d\\u043d\\u0430\",\"Responsible\":\"\\u0410\\u0441\\u0442\\u0430\\u043f\\u0435\\u043d\\u043a\\u043e\\u0432\\u0430 \\u042e\\u043b\\u0438\\u0430\\u043d\\u043d\\u0430\"},\"lead\":{\"\\u0414\\u0430\\u0442\\u0430 \\u0438 \\u0432\\u0440\\u0435\\u043c\\u044f \\u0432\\u0438\\u0437\\u0438\\u0442\\u0430\":\"2026-10-14 11:09:00\",\"\\u0414\\u0430\\u0442\\u0430 \\u0432\\u0438\\u0437\\u0438\\u0442\\u0430\":\"14.10.2026\",\"\\u041c\\u043e\\u0434\\u0435\\u043b\\u044c \\u043e\\u0431\\u043e\\u0440\\u0443\\u0434\\u043e\\u0432\\u0430\\u043d\\u0438\\u044f 1\":\"MZN\",\"\\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\":\"14.10.2027\",\"ID\":\"50969219\",\"\\u0421\\u0434\\u0435\\u043b\\u043a\\u0430_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"\\u041f\\u0422\\u041e \\u0431\\u0435\\u0437 \\u0433\\u0430\\u0440\\u0430\\u043d\\u0442\\u0438\\u0438\",\"Lead_name\":\"\\u041f\\u0422\\u041e \\u0431\\u0435\\u0437 \\u0433\\u0430\\u0440\\u0430\\u043d\\u0442\\u0438\\u0438\",\"\\u0411\\u044e\\u0434\\u0436\\u0435\\u0442\":\"0\",\"Budget\":\"0\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"\\u0410\\u0441\\u0442\\u0430\\u043f\\u0435\\u043d\\u043a\\u043e\\u0432\\u0430 \\u042e\\u043b\\u0438\\u0430\\u043d\\u043d\\u0430\",\"Responsible\":\"\\u0410\\u0441\\u0442\\u0430\\u043f\\u0435\\u043d\\u043a\\u043e\\u0432\\u0430 \\u042e\\u043b\\u0438\\u0430\\u043d\\u043d\\u0430\"},\"\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442\":{\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"37379728828\",\"\\u0418\\u043c\\u044f \\u043a\\u043b\\u0438\\u0435\\u043d\\u0442\\u0430 (\\u0421\\u041c\\u0421)\":\"Iura\",\"\\u0410\\u0434\\u0440\\u0435\\u0441\":\"20\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Iura\",\"Contact_name\":\"Iura\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"\\u0410\\u0441\\u0442\\u0430\\u043f\\u0435\\u043d\\u043a\\u043e\\u0432\\u0430 \\u042e\\u043b\\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\":\"37379728828\",\"\\u0418\\u043c\\u044f \\u043a\\u043b\\u0438\\u0435\\u043d\\u0442\\u0430 (\\u0421\\u041c\\u0421)\":\"Iura\",\"\\u0410\\u0434\\u0440\\u0435\\u0441\":\"20\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Iura\",\"Contact_name\":\"Iura\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"\\u0410\\u0441\\u0442\\u0430\\u043f\\u0435\\u043d\\u043a\\u043e\\u0432\\u0430 \\u042e\\u043b\\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\":\"37379728828\",\"\\u0418\\u043c\\u044f \\u043a\\u043b\\u0438\\u0435\\u043d\\u0442\\u0430 (\\u0421\\u041c\\u0421)\":\"Iura\",\"\\u0410\\u0434\\u0440\\u0435\\u0441\":\"20\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Iura\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\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\":\"13.10.2026\",\"\\u041d\\u043e\\u043c\\u0435\\u0440\":\"1340\"},\"document\":{\"Date\":\"13.10.2026\",\"Number\":\"1340\"}}}","edit":true}} {"uid":"5284159"}
[2026-10-13 16:26:54] docflow.DEBUG: GAS raw response {"raw":"[object] (stdClass: {\"code\":1,\"url\":\"https://docs.google.com/open?id=1ixFwdYNZX61wlYkxk1tXhoDGw4sxO6fbDWWRi83bjOI\",\"file_id\":\"1ixFwdYNZX61wlYkxk1tXhoDGw4sxO6fbDWWRi83bjOI\",\"error\":\"\",\"vars\":\"\"})"} {"uid":"5284159"}
[2026-10-13 16:26:54] docflow.WARNING: AmoDrive generated-file move is not ready. {"fileId":"1ixFwdYNZX61wlYkxk1tXhoDGw4sxO6fbDWWRi83bjOI","context":null} {"uid":"5284159"}
[2026-10-13 16:33:05] docflow.INFO: Apel createDoc {"data":{"amoAccountId":"22699852","amoUserId":null,"amoEntityId":"42836206","amoEntityType":"2","templateId":"11527","corporateEntityId":"","settlementAccountId":"","is_signed":null,"gdi":null,"number":null,"currentAmoUserId":null,"lang":"ru"}} {"uid":"054f89e"}
[2026-10-13 16:33:06] docflow.INFO: Token is valid for account 22699852. [] {"uid":"054f89e"}
[2026-10-13 16:33:06] docflow.DEBUG: getClientAuth returned {"auth":"[object] (stdClass: {\"domain\":\"emigrare.amocrm.ru\",\"access_token\":\"eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImp0aSI6IjA5Zjk3NjIwZWVhZDQ5MTk1YzAzMjExYWQzZWMwNWFmODMzOTAyYzkwNDUxYThhMDRlNWI2NGZhZTg5ODk0NGM0NzIxZWFiYTAwYWRmNGY1In0.eyJhdWQiOiIwZDY0ZGZmYi1lNTRiLTQ0OGYtOWZiZi1iYWYyMjUxYTExZGIiLCJqdGkiOiIwOWY5NzYyMGVlYWQ0OTE5NWMwMzIxMWFkM2VjMDVhZjgzMzkwMmM5MDQ1MWE4YTA0ZTViNjRmYWU4OTg5NDRjNDcyMWVhYmEwMGFkZjRmNSIsImlhdCI6MTc5MTg3NTcxNCwibmJmIjoxNzkxODc1NzE0LCJleHAiOjE3OTE5NjIxMTQsInN1YiI6IjI5MzAzODAiLCJncmFudF90eXBlIjoiIiwiYWNjb3VudF9pZCI6MjI2OTk4NTIsImJhc2VfZG9tYWluIjoiYW1vY3JtLnJ1IiwidmVyc2lvbiI6Miwic2NvcGVzIjpbInB1c2hfbm90aWZpY2F0aW9ucyIsImNybSIsIm5vdGlmaWNhdGlvbnMiXSwiaGFzaF91dWlkIjoiZjhhNDRkOTgtMTRlNS00OTcxLTllMGEtNTRhZDY5OGQyYmQ4IiwiYXBpX2RvbWFpbiI6ImFwaS1hLmFtb2NybS5ydSJ9.NBJbkjpQVkql6RIh0lb5_KN4a3HryxJWNmjqTpgN1z5_38BKNZZYuaLC3jSuifBhZ1bpvGNOvdij0i0pQgyxhOaT9bZBjt_vLr-92V395z4ycsTFsK62KSDyZ-lAic98RxsqiX1xzPrdIi7NEXKX9Ls1ZHz0dwCgMJC2czZsigpjSEG0ErTZNdfsZrz00lM5F7cYbWP1m6JO78QBQJmrF_fRwFLiWGm9epjs7WmHTq4gO0Ski6-09ZTgjUIdj0zk6kP0vuWPHu9bZb8EP2IglQ0UjVN2AuacD9jBZvwt8Z6Q3TPnOEJaD0MJgiSlBcFs7wQ2ueorh3T8wV5cwy3VIA\"})","file":"/home/ytvmclwh/document.amocrm.md/src/Models/Docs.php","line":121} {"uid":"054f89e"}
[2026-10-13 16:33:09] docflow.DEBUG: AmoDrive docflow context request {"url":"https://google.emale.uno/api/docflow/google-context","query":{"account_id":"22699852","entity_id":"42836206","entity_type":"leads"}} {"uid":"054f89e"}
[2026-10-13 16:33: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=42836206&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/13 16:33:09</td>\r\n</tr>\r\n</table>\r\n<hr><center>tengine</center>\r\n</body>\r\n</html>\r\n"} {"uid":"054f89e"}
[2026-10-13 16:33:09] docflow.DEBUG: AmoDrive docflow context request {"url":"https://gd.glucose-dev.online/api/docflow/google-context","query":{"account_id":"22699852","entity_id":"42836206","entity_type":"leads"}} {"uid":"054f89e"}
[2026-10-13 16:33: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":"42836206","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":311,"isLifetime":false},"licenseActive":false,"googleConnected":false,"googleEmail":null,"googleHasDriveScope":false,"googleHasDriveFileScope":false,"googleHasOwnershipScope":false,"readyForGeneratedFileMove":false,"readyForTransfer":false},"folder":{"id":"1dYUiCiVysc4CI1kHXHLmSMyYvnhEp9xC","name":"42836206 - Lead #42836206","webViewLink":"https://drive.google.com/drive/folders/1dYUiCiVysc4CI1kHXHLmSMyYvnhEp9xC"}}} {"uid":"054f89e"}
[2026-10-13 16:33:09] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://google.emale.uno/api/docflow/prepare-generated-doc","payload":{"account_id":"22699852","entity_id":"42836206","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"054f89e"}
[2026-10-13 16:33: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/13 16:33: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":"22699852","entity_id":"42836206","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"054f89e"}
[2026-10-13 16:33:13] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://gd.glucose-dev.online/api/docflow/prepare-generated-doc","payload":{"account_id":"22699852","entity_id":"42836206","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"054f89e"}
[2026-10-13 16:33: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\":22699852})","payload":{"account_id":"22699852","entity_id":"42836206","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"054f89e"}
[2026-10-13 16:33:13] 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) 173 20261013163309\",\"leadId\":\"42836206\",\"entities\":{\"\\u0441\\u0434\\u0435\\u043b\\u043a\\u0430\":{\"Suma \\u20ac\":\"0\",\"Temperatura client\":\"Fierbinte\",\"ID\":\"42836206\",\"\\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\":\"Stanislav Slivinschi\",\"Responsible\":\"Stanislav Slivinschi\"},\"lead\":{\"Suma \\u20ac\":\"0\",\"Temperatura client\":\"Fierbinte\",\"ID\":\"42836206\",\"\\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\":\"Stanislav Slivinschi\",\"Responsible\":\"Stanislav Slivinschi\"},\"\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442\":{\"TelegramId_WZ\":\"7785656962\",\"TelegramUsername_WZ\":\"@nineltrifan\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"+375339122681\",\"Email\":\"tnina2344@gmail.com\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Nina Tryfan\",\"Contact_name\":\"Nina Tryfan\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"Stanislav Slivinschi\",\"Responsible\":\"Stanislav Slivinschi\"},\"contact\":{\"TelegramId_WZ\":\"7785656962\",\"TelegramUsername_WZ\":\"@nineltrifan\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"+375339122681\",\"Email\":\"tnina2344@gmail.com\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Nina Tryfan\",\"Contact_name\":\"Nina Tryfan\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"Stanislav Slivinschi\",\"Responsible\":\"Stanislav Slivinschi\"},\"\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442\\u044b\":[{\"TelegramId_WZ\":\"7785656962\",\"TelegramUsername_WZ\":\"@nineltrifan\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"+375339122681\",\"Email\":\"tnina2344@gmail.com\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Nina Tryfan\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"Stanislav Slivinschi\"}],\"\\u0434\\u043e\\u043a\\u0443\\u043c\\u0435\\u043d\\u0442\":{\"\\u0414\\u0430\\u0442\\u0430\":\"13.10.2026\",\"\\u041d\\u043e\\u043c\\u0435\\u0440\":\"173\"},\"document\":{\"Date\":\"13.10.2026\",\"Number\":\"173\"}}}","edit":true}} {"uid":"054f89e"}
[2026-10-13 16:33:22] docflow.DEBUG: GAS raw response {"raw":"[object] (stdClass: {\"code\":1,\"url\":\"https://docs.google.com/open?id=14NrK-Wy_Udq2vaGq6crS5VRl4-Dh46im9Rg6JjGO2sk\",\"file_id\":\"14NrK-Wy_Udq2vaGq6crS5VRl4-Dh46im9Rg6JjGO2sk\",\"error\":\"\",\"vars\":\"\"})"} {"uid":"054f89e"}
[2026-10-13 16:33:22] docflow.WARNING: AmoDrive generated-file move is not ready. {"fileId":"14NrK-Wy_Udq2vaGq6crS5VRl4-Dh46im9Rg6JjGO2sk","context":null} {"uid":"054f89e"}
[2026-10-13 16:33:30] docflow.INFO: Apel createDoc {"data":{"amoAccountId":"22699852","amoUserId":null,"amoEntityId":"42412792","amoEntityType":"2","templateId":"11499","corporateEntityId":"","settlementAccountId":"","is_signed":null,"gdi":null,"number":null,"currentAmoUserId":null,"lang":"ru"}} {"uid":"bdee94e"}
[2026-10-13 16:33:30] docflow.INFO: Token is valid for account 22699852. [] {"uid":"bdee94e"}
[2026-10-13 16:33:30] docflow.DEBUG: getClientAuth returned {"auth":"[object] (stdClass: {\"domain\":\"emigrare.amocrm.ru\",\"access_token\":\"eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImp0aSI6IjA5Zjk3NjIwZWVhZDQ5MTk1YzAzMjExYWQzZWMwNWFmODMzOTAyYzkwNDUxYThhMDRlNWI2NGZhZTg5ODk0NGM0NzIxZWFiYTAwYWRmNGY1In0.eyJhdWQiOiIwZDY0ZGZmYi1lNTRiLTQ0OGYtOWZiZi1iYWYyMjUxYTExZGIiLCJqdGkiOiIwOWY5NzYyMGVlYWQ0OTE5NWMwMzIxMWFkM2VjMDVhZjgzMzkwMmM5MDQ1MWE4YTA0ZTViNjRmYWU4OTg5NDRjNDcyMWVhYmEwMGFkZjRmNSIsImlhdCI6MTc5MTg3NTcxNCwibmJmIjoxNzkxODc1NzE0LCJleHAiOjE3OTE5NjIxMTQsInN1YiI6IjI5MzAzODAiLCJncmFudF90eXBlIjoiIiwiYWNjb3VudF9pZCI6MjI2OTk4NTIsImJhc2VfZG9tYWluIjoiYW1vY3JtLnJ1IiwidmVyc2lvbiI6Miwic2NvcGVzIjpbInB1c2hfbm90aWZpY2F0aW9ucyIsImNybSIsIm5vdGlmaWNhdGlvbnMiXSwiaGFzaF91dWlkIjoiZjhhNDRkOTgtMTRlNS00OTcxLTllMGEtNTRhZDY5OGQyYmQ4IiwiYXBpX2RvbWFpbiI6ImFwaS1hLmFtb2NybS5ydSJ9.NBJbkjpQVkql6RIh0lb5_KN4a3HryxJWNmjqTpgN1z5_38BKNZZYuaLC3jSuifBhZ1bpvGNOvdij0i0pQgyxhOaT9bZBjt_vLr-92V395z4ycsTFsK62KSDyZ-lAic98RxsqiX1xzPrdIi7NEXKX9Ls1ZHz0dwCgMJC2czZsigpjSEG0ErTZNdfsZrz00lM5F7cYbWP1m6JO78QBQJmrF_fRwFLiWGm9epjs7WmHTq4gO0Ski6-09ZTgjUIdj0zk6kP0vuWPHu9bZb8EP2IglQ0UjVN2AuacD9jBZvwt8Z6Q3TPnOEJaD0MJgiSlBcFs7wQ2ueorh3T8wV5cwy3VIA\"})","file":"/home/ytvmclwh/document.amocrm.md/src/Models/Docs.php","line":121} {"uid":"bdee94e"}
[2026-10-13 16:33:33] docflow.DEBUG: AmoDrive docflow context request {"url":"https://google.emale.uno/api/docflow/google-context","query":{"account_id":"22699852","entity_id":"42412792","entity_type":"leads"}} {"uid":"bdee94e"}
[2026-10-13 16:33:33] docflow.WARNING: AmoDrive docflow context request failed {"url":"https://google.emale.uno/api/docflow/google-context","http_code":null,"error":"HTTP/2 400 ","response":"<!DOCTYPE HTML PUBLIC \"-//IETF//DTD HTML 2.0//EN\">\r\n<html>\r\n<head><title>400 Bad Request</title></head>\r\n<body>\r\n<center><h1>400 Bad Request</h1></center>\r\n Sorry for the inconvenience.<br/>\r\nPlease report this message and include the following information to us.<br/>\r\nThank you very much!</p>\r\n<table>\r\n<tr>\r\n<td>URL:</td>\r\n<td>https://gd.glucose-dev.online/api/docflow/google-context?account_id=22699852&amp;entity_id=42412792&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/13 16:33:33</td>\r\n</tr>\r\n</table>\r\n<hr><center>tengine</center>\r\n</body>\r\n</html>\r\n"} {"uid":"bdee94e"}
[2026-10-13 16:33:33] docflow.DEBUG: AmoDrive docflow context request {"url":"https://gd.glucose-dev.online/api/docflow/google-context","query":{"account_id":"22699852","entity_id":"42412792","entity_type":"leads"}} {"uid":"bdee94e"}
[2026-10-13 16:33:33] docflow.WARNING: AmoDrive docflow context response is not ready, trying next backend. {"url":"https://gd.glucose-dev.online/api/docflow/google-context","payload":{"ok":true,"accountId":22699852,"entityId":"42412792","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":311,"isLifetime":false},"licenseActive":false,"googleConnected":false,"googleEmail":null,"googleHasDriveScope":false,"googleHasDriveFileScope":false,"googleHasOwnershipScope":false,"readyForGeneratedFileMove":false,"readyForTransfer":false},"folder":{"id":"1BhV__amYdMv9yy9ffSlXe7fvTk9Qd_XL","name":"42412792 - Lead #42412792","webViewLink":"https://drive.google.com/drive/folders/1BhV__amYdMv9yy9ffSlXe7fvTk9Qd_XL"}}} {"uid":"bdee94e"}
[2026-10-13 16:33:33] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://google.emale.uno/api/docflow/prepare-generated-doc","payload":{"account_id":"22699852","entity_id":"42412792","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"bdee94e"}
[2026-10-13 16:33:33] docflow.WARNING: AmoDrive prepare-generated-doc request failed {"url":"https://google.emale.uno/api/docflow/prepare-generated-doc","http_code":null,"error":"HTTP/2 400 ","response":"<!DOCTYPE HTML PUBLIC \"-//IETF//DTD HTML 2.0//EN\">\r\n<html>\r\n<head><title>400 Bad Request</title></head>\r\n<body>\r\n<center><h1>400 Bad Request</h1></center>\r\n Sorry for the inconvenience.<br/>\r\nPlease report this message and include the following information to us.<br/>\r\nThank you very much!</p>\r\n<table>\r\n<tr>\r\n<td>URL:</td>\r\n<td>https://gd.glucose-dev.online/api/docflow/prepare-generated-doc</td>\r\n</tr>\r\n<tr>\r\n<td>Server:</td>\r\n<td>mail.glucose-dev.online</td>\r\n</tr>\r\n<tr>\r\n<td>Date:</td>\r\n<td>2026/10/13 16:33:33</td>\r\n</tr>\r\n</table>\r\n<hr><center>tengine</center>\r\n</body>\r\n</html>\r\n","payload":{"account_id":"22699852","entity_id":"42412792","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"bdee94e"}
[2026-10-13 16:33:33] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://gd.glucose-dev.online/api/docflow/prepare-generated-doc","payload":{"account_id":"22699852","entity_id":"42412792","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"bdee94e"}
[2026-10-13 16:33:33] docflow.WARNING: AmoDrive prepare-generated-doc request failed {"url":"https://gd.glucose-dev.online/api/docflow/prepare-generated-doc","http_code":null,"error":"HTTP/2 404 ","response":"[object] (stdClass: {\"ok\":false,\"error\":\"AmoDrive is not installed for this account.\",\"accountId\":22699852})","payload":{"account_id":"22699852","entity_id":"42412792","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"bdee94e"}
[2026-10-13 16:33:33] docflow.DEBUG: GAS request {"url":"https://script.google.com/macros/s/AKfycbwrvOJD46zkuoTzdhpc1kulhV8jRfgQBFZfQ121nkIip_k8yKit4xrbWTOzaJ-C-Yed6w/exec","body":{"templateFileId":"1JpcHEV7mllDU316pjkq8wnZ56w5pF-O-EK97xQgfk_U","accountId":"22699852","folderId":"1Us2AfskxgdA729xVr0F2vjZU9y5PlYDe","key":"~VTsK5dcnHc2cSSsjM$LFSjLlgbmJXwrp3R2P5nd","data":"{\"fileName\":\"Acord adi\\u021bional  722 20261013163333\",\"leadId\":\"42412792\",\"entities\":{\"\\u0441\\u0434\\u0435\\u043b\\u043a\\u0430\":{\"ID\":\"42412792\",\"\\u0421\\u0434\\u0435\\u043b\\u043a\\u0430_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"duplicat CN (MD)\",\"Lead_name\":\"duplicat CN (MD)\",\"\\u0411\\u044e\\u0434\\u0436\\u0435\\u0442\":\"470\",\"Budget\":\"470\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"Cezara Cenusa\",\"Responsible\":\"Cezara Cenusa\"},\"lead\":{\"ID\":\"42412792\",\"\\u0421\\u0434\\u0435\\u043b\\u043a\\u0430_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"duplicat CN (MD)\",\"Lead_name\":\"duplicat CN (MD)\",\"\\u0411\\u044e\\u0434\\u0436\\u0435\\u0442\":\"470\",\"Budget\":\"470\",\"\\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\":{\"Email\":\"a.tangochin@gmail.com\",\"TelegroupId_WZ\":\"@tangochin\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"+79995486803\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Adrian Tangochin\",\"Contact_name\":\"Adrian Tangochin\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"Cezara Cenusa\",\"Responsible\":\"Cezara Cenusa\"},\"contact\":{\"Email\":\"a.tangochin@gmail.com\",\"TelegroupId_WZ\":\"@tangochin\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"+79995486803\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Adrian Tangochin\",\"Contact_name\":\"Adrian Tangochin\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"Cezara Cenusa\",\"Responsible\":\"Cezara Cenusa\"},\"\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442\\u044b\":[{\"Email\":\"a.tangochin@gmail.com\",\"TelegroupId_WZ\":\"@tangochin\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"+79995486803\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Adrian Tangochin\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"Cezara Cenusa\"}],\"\\u043a\\u043e\\u043c\\u043f\\u0430\\u043d\\u0438\\u044f\":{\"\\u0410\\u0434\\u0440\\u0435\\u0441\":\"\\u0417\\u0434\\u0440\\u0430\\u0432\\u0441\\u0442\\u0432\\u0443\\u0439\\u0442\\u0435! \\u042f \\u0433\\u0440\\u0430\\u0436\\u0434\\u0430\\u043d\\u0438\\u043d \\u0420\\u0424. \\u0412 \\u0434\\u0435\\u043a\\u0430\\u0431\\u0440\\u0435 2025 \\u0433\\u043e\\u0434\\u0430 \\u0435\\u0449\\u0451 \\u043f\\u043e \\u0441\\u0442\\u0430\\u0440\\u044b\\u043c \\u043f\\u0440\\u0430\\u0432\\u0438\\u043b\\u0430\\u043c \\u043f\\u043e\\u0434\\u0430\\u043b\\u0441\\u044f \\u043d\\u0430 \\u0433\\u0440\\u0430\\u0436\\u0434\\u0430\\u043d\\u0441\\u0442\\u0432\\u043e \\u0420\\u0435\\u0441\\u043f\\u0443\\u0431\\u043b\\u0438\\u043a\\u0438 \\u041c\\u043e\\u043b\\u0434\\u043e\\u0432\\u0430. \\u041c\\u043e\\u0439 \\u0434\\u0435\\u0434 \\u0431\\u044b\\u043b \\u0440\\u0443\\u043c\\u044b\\u043d\\u043e\\u043c, \\u0438 \\u0440\\u043e\\u0434\\u0438\\u043b\\u0441\\u044f \\u0432 \\u0422\\u044b\\u0440\\u043d\\u043e\\u0432\\u0430 \\u0415\\u0434\\u0438\\u043d\\u0435\\u0446\\u043a\\u043e\\u0433\\u043e \\u0440\\u0430\\u0439\\u043e\\u043d\\u0430 \\u0432 1935 \\u0433\\u043e\\u0434\\u0443. \\u042f \\u0445\\u043e\\u0442\\u0435\\u043b \\u0431\\u044b \\u0442\\u0430\\u043a \\u0436\\u0435 \\u043f\\u043e\\u0434\\u0430\\u0442\\u044c\\u0441\\u044f \\u043d\\u0430 \\u0433\\u0440\\u0430\\u0436\\u0434\\u0430\\u043d\\u0441\\u0442\\u0432\\u043e \\u0420\\u0443\\u043c\\u044b\\u043d\\u0438\\u0438. \\u0411\\u044b\\u043b \\u0431\\u044b \\u0440\\u0430\\u0434 \\u043f\\u043e\\u043b\\u0443\\u0447\\u0438\\u0442\\u044c \\u043e\\u0442 \\u0432\\u0430\\u0441 \\u043a\\u043e\\u043d\\u0441\\u0443\\u043b\\u044c\\u0442\\u0430\\u0446\\u0438\\u044e \\u043f\\u043e \\u044d\\u0442\\u043e\\u043c\\u0443 \\u0432\\u043e\\u043f\\u0440\\u043e\\u0441\\u0443.\",\"\\u041a\\u043e\\u043c\\u043f\\u0430\\u043d\\u0438\\u044f_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"\\u041d\\u0430\\u0437\\u0432\\u0430\\u043d\\u0438\\u0435 \\u043d\\u0435 \\u0443\\u043a\\u0430\\u0437\\u0430\\u043d\\u043e\",\"Company_name\":\"\\u041d\\u0430\\u0437\\u0432\\u0430\\u043d\\u0438\\u0435 \\u043d\\u0435 \\u0443\\u043a\\u0430\\u0437\\u0430\\u043d\\u043e\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"Cezara Cenusa\",\"Responsible\":\"Cezara Cenusa\"},\"company\":{\"\\u0410\\u0434\\u0440\\u0435\\u0441\":\"\\u0417\\u0434\\u0440\\u0430\\u0432\\u0441\\u0442\\u0432\\u0443\\u0439\\u0442\\u0435! \\u042f \\u0433\\u0440\\u0430\\u0436\\u0434\\u0430\\u043d\\u0438\\u043d \\u0420\\u0424. \\u0412 \\u0434\\u0435\\u043a\\u0430\\u0431\\u0440\\u0435 2025 \\u0433\\u043e\\u0434\\u0430 \\u0435\\u0449\\u0451 \\u043f\\u043e \\u0441\\u0442\\u0430\\u0440\\u044b\\u043c \\u043f\\u0440\\u0430\\u0432\\u0438\\u043b\\u0430\\u043c \\u043f\\u043e\\u0434\\u0430\\u043b\\u0441\\u044f \\u043d\\u0430 \\u0433\\u0440\\u0430\\u0436\\u0434\\u0430\\u043d\\u0441\\u0442\\u0432\\u043e \\u0420\\u0435\\u0441\\u043f\\u0443\\u0431\\u043b\\u0438\\u043a\\u0438 \\u041c\\u043e\\u043b\\u0434\\u043e\\u0432\\u0430. \\u041c\\u043e\\u0439 \\u0434\\u0435\\u0434 \\u0431\\u044b\\u043b \\u0440\\u0443\\u043c\\u044b\\u043d\\u043e\\u043c, \\u0438 \\u0440\\u043e\\u0434\\u0438\\u043b\\u0441\\u044f \\u0432 \\u0422\\u044b\\u0440\\u043d\\u043e\\u0432\\u0430 \\u0415\\u0434\\u0438\\u043d\\u0435\\u0446\\u043a\\u043e\\u0433\\u043e \\u0440\\u0430\\u0439\\u043e\\u043d\\u0430 \\u0432 1935 \\u0433\\u043e\\u0434\\u0443. \\u042f \\u0445\\u043e\\u0442\\u0435\\u043b \\u0431\\u044b \\u0442\\u0430\\u043a \\u0436\\u0435 \\u043f\\u043e\\u0434\\u0430\\u0442\\u044c\\u0441\\u044f \\u043d\\u0430 \\u0433\\u0440\\u0430\\u0436\\u0434\\u0430\\u043d\\u0441\\u0442\\u0432\\u043e \\u0420\\u0443\\u043c\\u044b\\u043d\\u0438\\u0438. \\u0411\\u044b\\u043b \\u0431\\u044b \\u0440\\u0430\\u0434 \\u043f\\u043e\\u043b\\u0443\\u0447\\u0438\\u0442\\u044c \\u043e\\u0442 \\u0432\\u0430\\u0441 \\u043a\\u043e\\u043d\\u0441\\u0443\\u043b\\u044c\\u0442\\u0430\\u0446\\u0438\\u044e \\u043f\\u043e \\u044d\\u0442\\u043e\\u043c\\u0443 \\u0432\\u043e\\u043f\\u0440\\u043e\\u0441\\u0443.\",\"\\u041a\\u043e\\u043c\\u043f\\u0430\\u043d\\u0438\\u044f_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"\\u041d\\u0430\\u0437\\u0432\\u0430\\u043d\\u0438\\u0435 \\u043d\\u0435 \\u0443\\u043a\\u0430\\u0437\\u0430\\u043d\\u043e\",\"Company_name\":\"\\u041d\\u0430\\u0437\\u0432\\u0430\\u043d\\u0438\\u0435 \\u043d\\u0435 \\u0443\\u043a\\u0430\\u0437\\u0430\\u043d\\u043e\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"Cezara Cenusa\",\"Responsible\":\"Cezara Cenusa\"},\"\\u0434\\u043e\\u043a\\u0443\\u043c\\u0435\\u043d\\u0442\":{\"\\u0414\\u0430\\u0442\\u0430\":\"13.10.2026\",\"\\u041d\\u043e\\u043c\\u0435\\u0440\":\"722\"},\"document\":{\"Date\":\"13.10.2026\",\"Number\":\"722\"}}}","edit":true}} {"uid":"bdee94e"}
[2026-10-13 16:33:38] docflow.DEBUG: GAS raw response {"raw":"[object] (stdClass: {\"code\":1,\"url\":\"https://docs.google.com/open?id=1ANLP8PuFSgZTUbZQnRMjYCjXfgvN8_xWmcHZBYQrBEY\",\"file_id\":\"1ANLP8PuFSgZTUbZQnRMjYCjXfgvN8_xWmcHZBYQrBEY\",\"error\":\"\",\"vars\":\"\"})"} {"uid":"bdee94e"}
[2026-10-13 16:33:38] docflow.WARNING: AmoDrive generated-file move is not ready. {"fileId":"1ANLP8PuFSgZTUbZQnRMjYCjXfgvN8_xWmcHZBYQrBEY","context":null} {"uid":"bdee94e"}
[2026-10-13 16:40:01] docflow.INFO: Apel createDoc {"data":{"amoAccountId":"22699852","amoUserId":null,"amoEntityId":"42412792","amoEntityType":"2","templateId":"11515","corporateEntityId":"","settlementAccountId":"","is_signed":null,"gdi":null,"number":null,"currentAmoUserId":null,"lang":"ru"}} {"uid":"61fd72f"}
[2026-10-13 16:40:02] docflow.INFO: Token is valid for account 22699852. [] {"uid":"61fd72f"}
[2026-10-13 16:40:02] docflow.DEBUG: getClientAuth returned {"auth":"[object] (stdClass: {\"domain\":\"emigrare.amocrm.ru\",\"access_token\":\"eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImp0aSI6IjA5Zjk3NjIwZWVhZDQ5MTk1YzAzMjExYWQzZWMwNWFmODMzOTAyYzkwNDUxYThhMDRlNWI2NGZhZTg5ODk0NGM0NzIxZWFiYTAwYWRmNGY1In0.eyJhdWQiOiIwZDY0ZGZmYi1lNTRiLTQ0OGYtOWZiZi1iYWYyMjUxYTExZGIiLCJqdGkiOiIwOWY5NzYyMGVlYWQ0OTE5NWMwMzIxMWFkM2VjMDVhZjgzMzkwMmM5MDQ1MWE4YTA0ZTViNjRmYWU4OTg5NDRjNDcyMWVhYmEwMGFkZjRmNSIsImlhdCI6MTc5MTg3NTcxNCwibmJmIjoxNzkxODc1NzE0LCJleHAiOjE3OTE5NjIxMTQsInN1YiI6IjI5MzAzODAiLCJncmFudF90eXBlIjoiIiwiYWNjb3VudF9pZCI6MjI2OTk4NTIsImJhc2VfZG9tYWluIjoiYW1vY3JtLnJ1IiwidmVyc2lvbiI6Miwic2NvcGVzIjpbInB1c2hfbm90aWZpY2F0aW9ucyIsImNybSIsIm5vdGlmaWNhdGlvbnMiXSwiaGFzaF91dWlkIjoiZjhhNDRkOTgtMTRlNS00OTcxLTllMGEtNTRhZDY5OGQyYmQ4IiwiYXBpX2RvbWFpbiI6ImFwaS1hLmFtb2NybS5ydSJ9.NBJbkjpQVkql6RIh0lb5_KN4a3HryxJWNmjqTpgN1z5_38BKNZZYuaLC3jSuifBhZ1bpvGNOvdij0i0pQgyxhOaT9bZBjt_vLr-92V395z4ycsTFsK62KSDyZ-lAic98RxsqiX1xzPrdIi7NEXKX9Ls1ZHz0dwCgMJC2czZsigpjSEG0ErTZNdfsZrz00lM5F7cYbWP1m6JO78QBQJmrF_fRwFLiWGm9epjs7WmHTq4gO0Ski6-09ZTgjUIdj0zk6kP0vuWPHu9bZb8EP2IglQ0UjVN2AuacD9jBZvwt8Z6Q3TPnOEJaD0MJgiSlBcFs7wQ2ueorh3T8wV5cwy3VIA\"})","file":"/home/ytvmclwh/document.amocrm.md/src/Models/Docs.php","line":121} {"uid":"61fd72f"}
[2026-10-13 16:40:06] docflow.DEBUG: AmoDrive docflow context request {"url":"https://google.emale.uno/api/docflow/google-context","query":{"account_id":"22699852","entity_id":"42412792","entity_type":"leads"}} {"uid":"61fd72f"}
[2026-10-13 16:40: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=22699852&amp;entity_id=42412792&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/13 16:40:06</td>\r\n</tr>\r\n</table>\r\n<hr><center>tengine</center>\r\n</body>\r\n</html>\r\n"} {"uid":"61fd72f"}
[2026-10-13 16:40:06] docflow.DEBUG: AmoDrive docflow context request {"url":"https://gd.glucose-dev.online/api/docflow/google-context","query":{"account_id":"22699852","entity_id":"42412792","entity_type":"leads"}} {"uid":"61fd72f"}
[2026-10-13 16:40: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":22699852,"entityId":"42412792","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":311,"isLifetime":false},"licenseActive":false,"googleConnected":false,"googleEmail":null,"googleHasDriveScope":false,"googleHasDriveFileScope":false,"googleHasOwnershipScope":false,"readyForGeneratedFileMove":false,"readyForTransfer":false},"folder":{"id":"1BhV__amYdMv9yy9ffSlXe7fvTk9Qd_XL","name":"42412792 - Lead #42412792","webViewLink":"https://drive.google.com/drive/folders/1BhV__amYdMv9yy9ffSlXe7fvTk9Qd_XL"}}} {"uid":"61fd72f"}
[2026-10-13 16:40:06] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://google.emale.uno/api/docflow/prepare-generated-doc","payload":{"account_id":"22699852","entity_id":"42412792","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"61fd72f"}
[2026-10-13 16:40: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/13 16:40: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":"22699852","entity_id":"42412792","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"61fd72f"}
[2026-10-13 16:40:06] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://gd.glucose-dev.online/api/docflow/prepare-generated-doc","payload":{"account_id":"22699852","entity_id":"42412792","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"61fd72f"}
[2026-10-13 16:40: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\":22699852})","payload":{"account_id":"22699852","entity_id":"42412792","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"61fd72f"}
[2026-10-13 16:40:06] 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) 1739 20261013164006\",\"leadId\":\"42412792\",\"entities\":{\"\\u0441\\u0434\\u0435\\u043b\\u043a\\u0430\":{\"ID\":\"42412792\",\"\\u0421\\u0434\\u0435\\u043b\\u043a\\u0430_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"duplicat CN (MD)\",\"Lead_name\":\"duplicat CN (MD)\",\"\\u0411\\u044e\\u0434\\u0436\\u0435\\u0442\":\"470\",\"Budget\":\"470\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"Cezara Cenusa\",\"Responsible\":\"Cezara Cenusa\"},\"lead\":{\"ID\":\"42412792\",\"\\u0421\\u0434\\u0435\\u043b\\u043a\\u0430_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"duplicat CN (MD)\",\"Lead_name\":\"duplicat CN (MD)\",\"\\u0411\\u044e\\u0434\\u0436\\u0435\\u0442\":\"470\",\"Budget\":\"470\",\"\\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\":{\"Email\":\"a.tangochin@gmail.com\",\"TelegroupId_WZ\":\"@tangochin\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"+79995486803\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Adrian Tangochin\",\"Contact_name\":\"Adrian Tangochin\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"Cezara Cenusa\",\"Responsible\":\"Cezara Cenusa\"},\"contact\":{\"Email\":\"a.tangochin@gmail.com\",\"TelegroupId_WZ\":\"@tangochin\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"+79995486803\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Adrian Tangochin\",\"Contact_name\":\"Adrian Tangochin\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"Cezara Cenusa\",\"Responsible\":\"Cezara Cenusa\"},\"\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442\\u044b\":[{\"Email\":\"a.tangochin@gmail.com\",\"TelegroupId_WZ\":\"@tangochin\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"+79995486803\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Adrian Tangochin\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"Cezara Cenusa\"}],\"\\u043a\\u043e\\u043c\\u043f\\u0430\\u043d\\u0438\\u044f\":{\"\\u0410\\u0434\\u0440\\u0435\\u0441\":\"\\u0417\\u0434\\u0440\\u0430\\u0432\\u0441\\u0442\\u0432\\u0443\\u0439\\u0442\\u0435! \\u042f \\u0433\\u0440\\u0430\\u0436\\u0434\\u0430\\u043d\\u0438\\u043d \\u0420\\u0424. \\u0412 \\u0434\\u0435\\u043a\\u0430\\u0431\\u0440\\u0435 2025 \\u0433\\u043e\\u0434\\u0430 \\u0435\\u0449\\u0451 \\u043f\\u043e \\u0441\\u0442\\u0430\\u0440\\u044b\\u043c \\u043f\\u0440\\u0430\\u0432\\u0438\\u043b\\u0430\\u043c \\u043f\\u043e\\u0434\\u0430\\u043b\\u0441\\u044f \\u043d\\u0430 \\u0433\\u0440\\u0430\\u0436\\u0434\\u0430\\u043d\\u0441\\u0442\\u0432\\u043e \\u0420\\u0435\\u0441\\u043f\\u0443\\u0431\\u043b\\u0438\\u043a\\u0438 \\u041c\\u043e\\u043b\\u0434\\u043e\\u0432\\u0430. \\u041c\\u043e\\u0439 \\u0434\\u0435\\u0434 \\u0431\\u044b\\u043b \\u0440\\u0443\\u043c\\u044b\\u043d\\u043e\\u043c, \\u0438 \\u0440\\u043e\\u0434\\u0438\\u043b\\u0441\\u044f \\u0432 \\u0422\\u044b\\u0440\\u043d\\u043e\\u0432\\u0430 \\u0415\\u0434\\u0438\\u043d\\u0435\\u0446\\u043a\\u043e\\u0433\\u043e \\u0440\\u0430\\u0439\\u043e\\u043d\\u0430 \\u0432 1935 \\u0433\\u043e\\u0434\\u0443. \\u042f \\u0445\\u043e\\u0442\\u0435\\u043b \\u0431\\u044b \\u0442\\u0430\\u043a \\u0436\\u0435 \\u043f\\u043e\\u0434\\u0430\\u0442\\u044c\\u0441\\u044f \\u043d\\u0430 \\u0433\\u0440\\u0430\\u0436\\u0434\\u0430\\u043d\\u0441\\u0442\\u0432\\u043e \\u0420\\u0443\\u043c\\u044b\\u043d\\u0438\\u0438. \\u0411\\u044b\\u043b \\u0431\\u044b \\u0440\\u0430\\u0434 \\u043f\\u043e\\u043b\\u0443\\u0447\\u0438\\u0442\\u044c \\u043e\\u0442 \\u0432\\u0430\\u0441 \\u043a\\u043e\\u043d\\u0441\\u0443\\u043b\\u044c\\u0442\\u0430\\u0446\\u0438\\u044e \\u043f\\u043e \\u044d\\u0442\\u043e\\u043c\\u0443 \\u0432\\u043e\\u043f\\u0440\\u043e\\u0441\\u0443.\",\"\\u041a\\u043e\\u043c\\u043f\\u0430\\u043d\\u0438\\u044f_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"\\u041d\\u0430\\u0437\\u0432\\u0430\\u043d\\u0438\\u0435 \\u043d\\u0435 \\u0443\\u043a\\u0430\\u0437\\u0430\\u043d\\u043e\",\"Company_name\":\"\\u041d\\u0430\\u0437\\u0432\\u0430\\u043d\\u0438\\u0435 \\u043d\\u0435 \\u0443\\u043a\\u0430\\u0437\\u0430\\u043d\\u043e\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"Cezara Cenusa\",\"Responsible\":\"Cezara Cenusa\"},\"company\":{\"\\u0410\\u0434\\u0440\\u0435\\u0441\":\"\\u0417\\u0434\\u0440\\u0430\\u0432\\u0441\\u0442\\u0432\\u0443\\u0439\\u0442\\u0435! \\u042f \\u0433\\u0440\\u0430\\u0436\\u0434\\u0430\\u043d\\u0438\\u043d \\u0420\\u0424. \\u0412 \\u0434\\u0435\\u043a\\u0430\\u0431\\u0440\\u0435 2025 \\u0433\\u043e\\u0434\\u0430 \\u0435\\u0449\\u0451 \\u043f\\u043e \\u0441\\u0442\\u0430\\u0440\\u044b\\u043c \\u043f\\u0440\\u0430\\u0432\\u0438\\u043b\\u0430\\u043c \\u043f\\u043e\\u0434\\u0430\\u043b\\u0441\\u044f \\u043d\\u0430 \\u0433\\u0440\\u0430\\u0436\\u0434\\u0430\\u043d\\u0441\\u0442\\u0432\\u043e \\u0420\\u0435\\u0441\\u043f\\u0443\\u0431\\u043b\\u0438\\u043a\\u0438 \\u041c\\u043e\\u043b\\u0434\\u043e\\u0432\\u0430. \\u041c\\u043e\\u0439 \\u0434\\u0435\\u0434 \\u0431\\u044b\\u043b \\u0440\\u0443\\u043c\\u044b\\u043d\\u043e\\u043c, \\u0438 \\u0440\\u043e\\u0434\\u0438\\u043b\\u0441\\u044f \\u0432 \\u0422\\u044b\\u0440\\u043d\\u043e\\u0432\\u0430 \\u0415\\u0434\\u0438\\u043d\\u0435\\u0446\\u043a\\u043e\\u0433\\u043e \\u0440\\u0430\\u0439\\u043e\\u043d\\u0430 \\u0432 1935 \\u0433\\u043e\\u0434\\u0443. \\u042f \\u0445\\u043e\\u0442\\u0435\\u043b \\u0431\\u044b \\u0442\\u0430\\u043a \\u0436\\u0435 \\u043f\\u043e\\u0434\\u0430\\u0442\\u044c\\u0441\\u044f \\u043d\\u0430 \\u0433\\u0440\\u0430\\u0436\\u0434\\u0430\\u043d\\u0441\\u0442\\u0432\\u043e \\u0420\\u0443\\u043c\\u044b\\u043d\\u0438\\u0438. \\u0411\\u044b\\u043b \\u0431\\u044b \\u0440\\u0430\\u0434 \\u043f\\u043e\\u043b\\u0443\\u0447\\u0438\\u0442\\u044c \\u043e\\u0442 \\u0432\\u0430\\u0441 \\u043a\\u043e\\u043d\\u0441\\u0443\\u043b\\u044c\\u0442\\u0430\\u0446\\u0438\\u044e \\u043f\\u043e \\u044d\\u0442\\u043e\\u043c\\u0443 \\u0432\\u043e\\u043f\\u0440\\u043e\\u0441\\u0443.\",\"\\u041a\\u043e\\u043c\\u043f\\u0430\\u043d\\u0438\\u044f_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"\\u041d\\u0430\\u0437\\u0432\\u0430\\u043d\\u0438\\u0435 \\u043d\\u0435 \\u0443\\u043a\\u0430\\u0437\\u0430\\u043d\\u043e\",\"Company_name\":\"\\u041d\\u0430\\u0437\\u0432\\u0430\\u043d\\u0438\\u0435 \\u043d\\u0435 \\u0443\\u043a\\u0430\\u0437\\u0430\\u043d\\u043e\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"Cezara Cenusa\",\"Responsible\":\"Cezara Cenusa\"},\"\\u0434\\u043e\\u043a\\u0443\\u043c\\u0435\\u043d\\u0442\":{\"\\u0414\\u0430\\u0442\\u0430\":\"13.10.2026\",\"\\u041d\\u043e\\u043c\\u0435\\u0440\":\"1739\"},\"document\":{\"Date\":\"13.10.2026\",\"Number\":\"1739\"}}}","edit":true}} {"uid":"61fd72f"}
[2026-10-13 16:40:15] docflow.DEBUG: GAS raw response {"raw":"[object] (stdClass: {\"code\":1,\"url\":\"https://docs.google.com/open?id=1BZ96oNFhY9FIQF2jMAiDDpyRLUvCH9t2wKidrZKjpC0\",\"file_id\":\"1BZ96oNFhY9FIQF2jMAiDDpyRLUvCH9t2wKidrZKjpC0\",\"error\":\"\",\"vars\":\"\"})"} {"uid":"61fd72f"}
[2026-10-13 16:40:15] docflow.WARNING: AmoDrive generated-file move is not ready. {"fileId":"1BZ96oNFhY9FIQF2jMAiDDpyRLUvCH9t2wKidrZKjpC0","context":null} {"uid":"61fd72f"}
[2026-10-13 16:41:58] docflow.INFO: Apel createDoc {"data":{"amoAccountId":"32990686","amoUserId":null,"amoEntityId":"51034775","amoEntityType":"2","templateId":"11625","corporateEntityId":"","settlementAccountId":"","is_signed":null,"gdi":null,"number":null,"currentAmoUserId":null,"lang":"ru"}} {"uid":"483519f"}
[2026-10-13 16:41:58] docflow.INFO: Token is valid for account 32990686. [] {"uid":"483519f"}
[2026-10-13 16:41:58] docflow.DEBUG: getClientAuth returned {"auth":"[object] (stdClass: {\"domain\":\"eurosanteh.amocrm.ru\",\"access_token\":\"eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImp0aSI6ImZkYzJlZjI1ODliMzhkZDRlNWMyMTNiYWUxZmY4MjhiOWExMjkwZjVlMjlmMDYzNWM4YmZkYzZiYjY3YjY0OTlmODNiMTJlNjYwMTFmMTVkIn0.eyJhdWQiOiIwZDY0ZGZmYi1lNTRiLTQ0OGYtOWZiZi1iYWYyMjUxYTExZGIiLCJqdGkiOiJmZGMyZWYyNTg5YjM4ZGQ0ZTVjMjEzYmFlMWZmODI4YjlhMTI5MGY1ZTI5ZjA2MzVjOGJmZGM2YmI2N2I2NDk5ZjgzYjEyZTY2MDExZjE1ZCIsImlhdCI6MTc5MTg4ODQ5NiwibmJmIjoxNzkxODg4NDk2LCJleHAiOjE3OTE5NzQ4OTYsInN1YiI6IjEzNjg3MzAyIiwiZ3JhbnRfdHlwZSI6IiIsImFjY291bnRfaWQiOjMyOTkwNjg2LCJiYXNlX2RvbWFpbiI6ImFtb2NybS5ydSIsInZlcnNpb24iOjIsInNjb3BlcyI6WyJwdXNoX25vdGlmaWNhdGlvbnMiLCJjcm0iLCJub3RpZmljYXRpb25zIl0sImhhc2hfdXVpZCI6IjVhMDU5ZmZiLTkyNGQtNDJhOC1hM2JmLTdiNzY2ZTUyNGQ3NyIsImFwaV9kb21haW4iOiJhcGktYi5hbW9jcm0ucnUifQ.DGUrEprnD9vYQ6273M6iSKzWOcEga9BmbE1vbzIv_pQCn9nvv0dA2PsWAGGFwmyLgtGnG4LGLwtWrOoWSZ9kYFujloT8JcP6mkFlPllYxpp72mKFKDTJ3BjnQ86tu5NqqP7phhMRmm-MpC9xxJjvZ_w454SKjwnPH7bHxPY96qVwps-3CwtO3LBZpPwTcFvPHLKBfG1WyHBe_ML8pOJNgJMg8CxBTVtygz3q6J_xh_lCEGMiIbTsfia5BPY8rU4cUNGFrkv2ebtbbV7WD8E74oIi2fdCh5FIn3jzXxnN5k8GsAuFn0eG-VAF_u7MCEkOxOHAL6a5cZ4jqsFxbbdAzg\"})","file":"/home/ytvmclwh/document.amocrm.md/src/Models/Docs.php","line":121} {"uid":"483519f"}
[2026-10-13 16:42:02] docflow.DEBUG: AmoDrive docflow context request {"url":"https://google.emale.uno/api/docflow/google-context","query":{"account_id":"32990686","entity_id":"51034775","entity_type":"leads"}} {"uid":"483519f"}
[2026-10-13 16:42:02] docflow.WARNING: AmoDrive docflow context request failed {"url":"https://google.emale.uno/api/docflow/google-context","http_code":null,"error":"HTTP/2 400 ","response":"<!DOCTYPE HTML PUBLIC \"-//IETF//DTD HTML 2.0//EN\">\r\n<html>\r\n<head><title>400 Bad Request</title></head>\r\n<body>\r\n<center><h1>400 Bad Request</h1></center>\r\n Sorry for the inconvenience.<br/>\r\nPlease report this message and include the following information to us.<br/>\r\nThank you very much!</p>\r\n<table>\r\n<tr>\r\n<td>URL:</td>\r\n<td>https://gd.glucose-dev.online/api/docflow/google-context?account_id=32990686&amp;entity_id=51034775&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/13 16:42:02</td>\r\n</tr>\r\n</table>\r\n<hr><center>tengine</center>\r\n</body>\r\n</html>\r\n"} {"uid":"483519f"}
[2026-10-13 16:42:02] docflow.DEBUG: AmoDrive docflow context request {"url":"https://gd.glucose-dev.online/api/docflow/google-context","query":{"account_id":"32990686","entity_id":"51034775","entity_type":"leads"}} {"uid":"483519f"}
[2026-10-13 16:42:02] docflow.WARNING: AmoDrive docflow context response is not ready, trying next backend. {"url":"https://gd.glucose-dev.online/api/docflow/google-context","payload":{"ok":true,"accountId":32990686,"entityId":"51034775","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":"483519f"}
[2026-10-13 16:42:02] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://google.emale.uno/api/docflow/prepare-generated-doc","payload":{"account_id":"32990686","entity_id":"51034775","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"483519f"}
[2026-10-13 16:42: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/13 16:42:02</td>\r\n</tr>\r\n</table>\r\n<hr><center>tengine</center>\r\n</body>\r\n</html>\r\n","payload":{"account_id":"32990686","entity_id":"51034775","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"483519f"}
[2026-10-13 16:42:03] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://gd.glucose-dev.online/api/docflow/prepare-generated-doc","payload":{"account_id":"32990686","entity_id":"51034775","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"483519f"}
[2026-10-13 16:42:03] docflow.WARNING: AmoDrive prepare-generated-doc request failed {"url":"https://gd.glucose-dev.online/api/docflow/prepare-generated-doc","http_code":null,"error":"HTTP/2 404 ","response":"[object] (stdClass: {\"ok\":false,\"error\":\"AmoDrive is not installed for this account.\",\"accountId\":32990686})","payload":{"account_id":"32990686","entity_id":"51034775","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"483519f"}
[2026-10-13 16:42:03] 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 1341 20261013164202\",\"leadId\":\"51034775\",\"entities\":{\"\\u0441\\u0434\\u0435\\u043b\\u043a\\u0430\":{\"\\u041f\\u043e\\u043f\\u044b\\u0442\\u043a\\u0430 \\u0441\\u0432\\u044f\\u0437\\u0438 \\u043e\\u0442 \\u043a\\u043b\\u0438\\u0435\\u043d\\u0442\\u0430\":\"1\",\"\\u041c\\u043e\\u0434\\u0435\\u043b\\u044c \\u043e\\u0431\\u043e\\u0440\\u0443\\u0434\\u043e\\u0432\\u0430\\u043d\\u0438\\u044f 1\":\"Haier pearl 35\",\"\\u041a\\u043e\\u043b - \\u0432\\u043e \\u043e\\u0431\\u043e\\u0440\\u0443\\u0434\\u043e\\u0432\\u0430\\u043d\\u0438\\u044f\":\"1\",\"\\u0414\\u0430\\u0442\\u0430 \\u0438 \\u0432\\u0440\\u0435\\u043c\\u044f \\u0432\\u0438\\u0437\\u0438\\u0442\\u0430\":\"2026-10-14 16:41:00\",\"\\u0414\\u0430\\u0442\\u0430 \\u0432\\u0438\\u0437\\u0438\\u0442\\u0430\":\"14.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\":\"14.10.2027\",\"ID\":\"51034775\",\"\\u0421\\u0434\\u0435\\u043b\\u043a\\u0430_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"\\u041f\\u0422\\u041e\",\"Lead_name\":\"\\u041f\\u0422\\u041e\",\"\\u0411\\u044e\\u0434\\u0436\\u0435\\u0442\":\"0\",\"Budget\":\"0\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"\\u0410\\u0441\\u0442\\u0430\\u043f\\u0435\\u043d\\u043a\\u043e\\u0432\\u0430 \\u042e\\u043b\\u0438\\u0430\\u043d\\u043d\\u0430\",\"Responsible\":\"\\u0410\\u0441\\u0442\\u0430\\u043f\\u0435\\u043d\\u043a\\u043e\\u0432\\u0430 \\u042e\\u043b\\u0438\\u0430\\u043d\\u043d\\u0430\"},\"lead\":{\"\\u041f\\u043e\\u043f\\u044b\\u0442\\u043a\\u0430 \\u0441\\u0432\\u044f\\u0437\\u0438 \\u043e\\u0442 \\u043a\\u043b\\u0438\\u0435\\u043d\\u0442\\u0430\":\"1\",\"\\u041c\\u043e\\u0434\\u0435\\u043b\\u044c \\u043e\\u0431\\u043e\\u0440\\u0443\\u0434\\u043e\\u0432\\u0430\\u043d\\u0438\\u044f 1\":\"Haier pearl 35\",\"\\u041a\\u043e\\u043b - \\u0432\\u043e \\u043e\\u0431\\u043e\\u0440\\u0443\\u0434\\u043e\\u0432\\u0430\\u043d\\u0438\\u044f\":\"1\",\"\\u0414\\u0430\\u0442\\u0430 \\u0438 \\u0432\\u0440\\u0435\\u043c\\u044f \\u0432\\u0438\\u0437\\u0438\\u0442\\u0430\":\"2026-10-14 16:41:00\",\"\\u0414\\u0430\\u0442\\u0430 \\u0432\\u0438\\u0437\\u0438\\u0442\\u0430\":\"14.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\":\"14.10.2027\",\"ID\":\"51034775\",\"\\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\":\"2006042021829\",\"\\u0410\\u0434\\u0440\\u0435\\u0441\":\"str Putnei 9 ap 34\",\"\\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)\":\"12.06.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 pearl 35\",\"\\u041a\\u043e\\u043b - \\u0432\\u043e \\u043e\\u0431\\u043e\\u0440\\u0443\\u0434\\u043e\\u0432\\u0430\\u043d\\u0438\\u044f (\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442)\":\"1\",\"\\u041a\\u0442\\u043e \\u043c\\u043e\\u043d\\u0442\\u0438\\u0440\\u043e\\u0432\\u0430\\u043b (\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442)\":\"\\u041c\\u0430\\u0441\\u0442\\u0435\\u0440 \\u043a\\u043e\\u043c\\u043f\\u0430\\u043d\\u0438\\u0438 Edenvor SRL\",\"\\u041d\\u043e\\u043c\\u0435\\u0440 \\u043a\\u043e\\u043d\\u0442\\u0440\\u0430\\u043a\\u0442\\u0430 (\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442)\":\"A2365\",\"\\u0418\\u043c\\u044f \\u043a\\u043b\\u0438\\u0435\\u043d\\u0442\\u0430 (\\u0421\\u041c\\u0421)\":\"Irina\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"37360404200\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Irina Botan\",\"Contact_name\":\"Irina Botan\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"\\u0410\\u0441\\u0442\\u0430\\u043f\\u0435\\u043d\\u043a\\u043e\\u0432\\u0430 \\u042e\\u043b\\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\":\"2006042021829\",\"\\u0410\\u0434\\u0440\\u0435\\u0441\":\"str Putnei 9 ap 34\",\"\\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)\":\"12.06.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 pearl 35\",\"\\u041a\\u043e\\u043b - \\u0432\\u043e \\u043e\\u0431\\u043e\\u0440\\u0443\\u0434\\u043e\\u0432\\u0430\\u043d\\u0438\\u044f (\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442)\":\"1\",\"\\u041a\\u0442\\u043e \\u043c\\u043e\\u043d\\u0442\\u0438\\u0440\\u043e\\u0432\\u0430\\u043b (\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442)\":\"\\u041c\\u0430\\u0441\\u0442\\u0435\\u0440 \\u043a\\u043e\\u043c\\u043f\\u0430\\u043d\\u0438\\u0438 Edenvor SRL\",\"\\u041d\\u043e\\u043c\\u0435\\u0440 \\u043a\\u043e\\u043d\\u0442\\u0440\\u0430\\u043a\\u0442\\u0430 (\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442)\":\"A2365\",\"\\u0418\\u043c\\u044f \\u043a\\u043b\\u0438\\u0435\\u043d\\u0442\\u0430 (\\u0421\\u041c\\u0421)\":\"Irina\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"37360404200\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Irina Botan\",\"Contact_name\":\"Irina Botan\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"\\u0410\\u0441\\u0442\\u0430\\u043f\\u0435\\u043d\\u043a\\u043e\\u0432\\u0430 \\u042e\\u043b\\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\":\"2006042021829\",\"\\u0410\\u0434\\u0440\\u0435\\u0441\":\"str Putnei 9 ap 34\",\"\\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)\":\"12.06.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 pearl 35\",\"\\u041a\\u043e\\u043b - \\u0432\\u043e \\u043e\\u0431\\u043e\\u0440\\u0443\\u0434\\u043e\\u0432\\u0430\\u043d\\u0438\\u044f (\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442)\":\"1\",\"\\u041a\\u0442\\u043e \\u043c\\u043e\\u043d\\u0442\\u0438\\u0440\\u043e\\u0432\\u0430\\u043b (\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442)\":\"\\u041c\\u0430\\u0441\\u0442\\u0435\\u0440 \\u043a\\u043e\\u043c\\u043f\\u0430\\u043d\\u0438\\u0438 Edenvor SRL\",\"\\u041d\\u043e\\u043c\\u0435\\u0440 \\u043a\\u043e\\u043d\\u0442\\u0440\\u0430\\u043a\\u0442\\u0430 (\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442)\":\"A2365\",\"\\u0418\\u043c\\u044f \\u043a\\u043b\\u0438\\u0435\\u043d\\u0442\\u0430 (\\u0421\\u041c\\u0421)\":\"Irina\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"37360404200\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Irina Botan\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\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\":\"13.10.2026\",\"\\u041d\\u043e\\u043c\\u0435\\u0440\":\"1341\"},\"document\":{\"Date\":\"13.10.2026\",\"Number\":\"1341\"}}}","edit":true}} {"uid":"483519f"}
[2026-10-13 16:42:08] docflow.DEBUG: GAS raw response {"raw":"[object] (stdClass: {\"code\":1,\"url\":\"https://docs.google.com/open?id=1io8bZX8EHAXHhPZvzjzx1Ibig-OIzG-CZ3GWkQI_JGQ\",\"file_id\":\"1io8bZX8EHAXHhPZvzjzx1Ibig-OIzG-CZ3GWkQI_JGQ\",\"error\":\"\",\"vars\":\"\"})"} {"uid":"483519f"}
[2026-10-13 16:42:08] docflow.WARNING: AmoDrive generated-file move is not ready. {"fileId":"1io8bZX8EHAXHhPZvzjzx1Ibig-OIzG-CZ3GWkQI_JGQ","context":null} {"uid":"483519f"}
[2026-10-13 16:42:11] docflow.INFO: Apel createDoc {"data":{"amoAccountId":"32990686","amoUserId":null,"amoEntityId":"51034775","amoEntityType":"2","templateId":"11646","corporateEntityId":"","settlementAccountId":"","is_signed":null,"gdi":null,"number":null,"currentAmoUserId":null,"lang":"ru"}} {"uid":"925dc75"}
[2026-10-13 16:42:14] docflow.INFO: Token is valid for account 32990686. [] {"uid":"925dc75"}
[2026-10-13 16:42:14] docflow.DEBUG: getClientAuth returned {"auth":"[object] (stdClass: {\"domain\":\"eurosanteh.amocrm.ru\",\"access_token\":\"eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImp0aSI6ImZkYzJlZjI1ODliMzhkZDRlNWMyMTNiYWUxZmY4MjhiOWExMjkwZjVlMjlmMDYzNWM4YmZkYzZiYjY3YjY0OTlmODNiMTJlNjYwMTFmMTVkIn0.eyJhdWQiOiIwZDY0ZGZmYi1lNTRiLTQ0OGYtOWZiZi1iYWYyMjUxYTExZGIiLCJqdGkiOiJmZGMyZWYyNTg5YjM4ZGQ0ZTVjMjEzYmFlMWZmODI4YjlhMTI5MGY1ZTI5ZjA2MzVjOGJmZGM2YmI2N2I2NDk5ZjgzYjEyZTY2MDExZjE1ZCIsImlhdCI6MTc5MTg4ODQ5NiwibmJmIjoxNzkxODg4NDk2LCJleHAiOjE3OTE5NzQ4OTYsInN1YiI6IjEzNjg3MzAyIiwiZ3JhbnRfdHlwZSI6IiIsImFjY291bnRfaWQiOjMyOTkwNjg2LCJiYXNlX2RvbWFpbiI6ImFtb2NybS5ydSIsInZlcnNpb24iOjIsInNjb3BlcyI6WyJwdXNoX25vdGlmaWNhdGlvbnMiLCJjcm0iLCJub3RpZmljYXRpb25zIl0sImhhc2hfdXVpZCI6IjVhMDU5ZmZiLTkyNGQtNDJhOC1hM2JmLTdiNzY2ZTUyNGQ3NyIsImFwaV9kb21haW4iOiJhcGktYi5hbW9jcm0ucnUifQ.DGUrEprnD9vYQ6273M6iSKzWOcEga9BmbE1vbzIv_pQCn9nvv0dA2PsWAGGFwmyLgtGnG4LGLwtWrOoWSZ9kYFujloT8JcP6mkFlPllYxpp72mKFKDTJ3BjnQ86tu5NqqP7phhMRmm-MpC9xxJjvZ_w454SKjwnPH7bHxPY96qVwps-3CwtO3LBZpPwTcFvPHLKBfG1WyHBe_ML8pOJNgJMg8CxBTVtygz3q6J_xh_lCEGMiIbTsfia5BPY8rU4cUNGFrkv2ebtbbV7WD8E74oIi2fdCh5FIn3jzXxnN5k8GsAuFn0eG-VAF_u7MCEkOxOHAL6a5cZ4jqsFxbbdAzg\"})","file":"/home/ytvmclwh/document.amocrm.md/src/Models/Docs.php","line":121} {"uid":"925dc75"}
[2026-10-13 16:42:18] docflow.DEBUG: AmoDrive docflow context request {"url":"https://google.emale.uno/api/docflow/google-context","query":{"account_id":"32990686","entity_id":"51034775","entity_type":"leads"}} {"uid":"925dc75"}
[2026-10-13 16:42: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=32990686&amp;entity_id=51034775&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/13 16:42:19</td>\r\n</tr>\r\n</table>\r\n<hr><center>tengine</center>\r\n</body>\r\n</html>\r\n"} {"uid":"925dc75"}
[2026-10-13 16:42:19] docflow.DEBUG: AmoDrive docflow context request {"url":"https://gd.glucose-dev.online/api/docflow/google-context","query":{"account_id":"32990686","entity_id":"51034775","entity_type":"leads"}} {"uid":"925dc75"}
[2026-10-13 16:42: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":32990686,"entityId":"51034775","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":"925dc75"}
[2026-10-13 16:42:19] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://google.emale.uno/api/docflow/prepare-generated-doc","payload":{"account_id":"32990686","entity_id":"51034775","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"925dc75"}
[2026-10-13 16:42: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/13 16:42: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":"32990686","entity_id":"51034775","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"925dc75"}
[2026-10-13 16:42:19] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://gd.glucose-dev.online/api/docflow/prepare-generated-doc","payload":{"account_id":"32990686","entity_id":"51034775","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"925dc75"}
[2026-10-13 16:42:19] docflow.WARNING: AmoDrive prepare-generated-doc request failed {"url":"https://gd.glucose-dev.online/api/docflow/prepare-generated-doc","http_code":null,"error":"HTTP/2 404 ","response":"[object] (stdClass: {\"ok\":false,\"error\":\"AmoDrive is not installed for this account.\",\"accountId\":32990686})","payload":{"account_id":"32990686","entity_id":"51034775","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"925dc75"}
[2026-10-13 16:42:19] 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 1341 20261013164218\",\"leadId\":\"51034775\",\"entities\":{\"\\u0441\\u0434\\u0435\\u043b\\u043a\\u0430\":{\"\\u041f\\u043e\\u043f\\u044b\\u0442\\u043a\\u0430 \\u0441\\u0432\\u044f\\u0437\\u0438 \\u043e\\u0442 \\u043a\\u043b\\u0438\\u0435\\u043d\\u0442\\u0430\":\"1\",\"\\u041c\\u043e\\u0434\\u0435\\u043b\\u044c \\u043e\\u0431\\u043e\\u0440\\u0443\\u0434\\u043e\\u0432\\u0430\\u043d\\u0438\\u044f 1\":\"Haier pearl 35\",\"\\u041a\\u043e\\u043b - \\u0432\\u043e \\u043e\\u0431\\u043e\\u0440\\u0443\\u0434\\u043e\\u0432\\u0430\\u043d\\u0438\\u044f\":\"1\",\"\\u0414\\u0430\\u0442\\u0430 \\u0438 \\u0432\\u0440\\u0435\\u043c\\u044f \\u0432\\u0438\\u0437\\u0438\\u0442\\u0430\":\"2026-10-14 16:41:00\",\"\\u0414\\u0430\\u0442\\u0430 \\u0432\\u0438\\u0437\\u0438\\u0442\\u0430\":\"14.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\":\"14.10.2027\",\"ID\":\"51034775\",\"\\u0421\\u0434\\u0435\\u043b\\u043a\\u0430_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"\\u041f\\u0422\\u041e\",\"Lead_name\":\"\\u041f\\u0422\\u041e\",\"\\u0411\\u044e\\u0434\\u0436\\u0435\\u0442\":\"0\",\"Budget\":\"0\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"\\u0410\\u0441\\u0442\\u0430\\u043f\\u0435\\u043d\\u043a\\u043e\\u0432\\u0430 \\u042e\\u043b\\u0438\\u0430\\u043d\\u043d\\u0430\",\"Responsible\":\"\\u0410\\u0441\\u0442\\u0430\\u043f\\u0435\\u043d\\u043a\\u043e\\u0432\\u0430 \\u042e\\u043b\\u0438\\u0430\\u043d\\u043d\\u0430\"},\"lead\":{\"\\u041f\\u043e\\u043f\\u044b\\u0442\\u043a\\u0430 \\u0441\\u0432\\u044f\\u0437\\u0438 \\u043e\\u0442 \\u043a\\u043b\\u0438\\u0435\\u043d\\u0442\\u0430\":\"1\",\"\\u041c\\u043e\\u0434\\u0435\\u043b\\u044c \\u043e\\u0431\\u043e\\u0440\\u0443\\u0434\\u043e\\u0432\\u0430\\u043d\\u0438\\u044f 1\":\"Haier pearl 35\",\"\\u041a\\u043e\\u043b - \\u0432\\u043e \\u043e\\u0431\\u043e\\u0440\\u0443\\u0434\\u043e\\u0432\\u0430\\u043d\\u0438\\u044f\":\"1\",\"\\u0414\\u0430\\u0442\\u0430 \\u0438 \\u0432\\u0440\\u0435\\u043c\\u044f \\u0432\\u0438\\u0437\\u0438\\u0442\\u0430\":\"2026-10-14 16:41:00\",\"\\u0414\\u0430\\u0442\\u0430 \\u0432\\u0438\\u0437\\u0438\\u0442\\u0430\":\"14.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\":\"14.10.2027\",\"ID\":\"51034775\",\"\\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\":\"2006042021829\",\"\\u0410\\u0434\\u0440\\u0435\\u0441\":\"str Putnei 9 ap 34\",\"\\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)\":\"12.06.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 pearl 35\",\"\\u041a\\u043e\\u043b - \\u0432\\u043e \\u043e\\u0431\\u043e\\u0440\\u0443\\u0434\\u043e\\u0432\\u0430\\u043d\\u0438\\u044f (\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442)\":\"1\",\"\\u041a\\u0442\\u043e \\u043c\\u043e\\u043d\\u0442\\u0438\\u0440\\u043e\\u0432\\u0430\\u043b (\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442)\":\"\\u041c\\u0430\\u0441\\u0442\\u0435\\u0440 \\u043a\\u043e\\u043c\\u043f\\u0430\\u043d\\u0438\\u0438 Edenvor SRL\",\"\\u041d\\u043e\\u043c\\u0435\\u0440 \\u043a\\u043e\\u043d\\u0442\\u0440\\u0430\\u043a\\u0442\\u0430 (\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442)\":\"A2365\",\"\\u0418\\u043c\\u044f \\u043a\\u043b\\u0438\\u0435\\u043d\\u0442\\u0430 (\\u0421\\u041c\\u0421)\":\"Irina\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"37360404200\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Irina Botan\",\"Contact_name\":\"Irina Botan\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"\\u0410\\u0441\\u0442\\u0430\\u043f\\u0435\\u043d\\u043a\\u043e\\u0432\\u0430 \\u042e\\u043b\\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\":\"2006042021829\",\"\\u0410\\u0434\\u0440\\u0435\\u0441\":\"str Putnei 9 ap 34\",\"\\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)\":\"12.06.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 pearl 35\",\"\\u041a\\u043e\\u043b - \\u0432\\u043e \\u043e\\u0431\\u043e\\u0440\\u0443\\u0434\\u043e\\u0432\\u0430\\u043d\\u0438\\u044f (\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442)\":\"1\",\"\\u041a\\u0442\\u043e \\u043c\\u043e\\u043d\\u0442\\u0438\\u0440\\u043e\\u0432\\u0430\\u043b (\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442)\":\"\\u041c\\u0430\\u0441\\u0442\\u0435\\u0440 \\u043a\\u043e\\u043c\\u043f\\u0430\\u043d\\u0438\\u0438 Edenvor SRL\",\"\\u041d\\u043e\\u043c\\u0435\\u0440 \\u043a\\u043e\\u043d\\u0442\\u0440\\u0430\\u043a\\u0442\\u0430 (\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442)\":\"A2365\",\"\\u0418\\u043c\\u044f \\u043a\\u043b\\u0438\\u0435\\u043d\\u0442\\u0430 (\\u0421\\u041c\\u0421)\":\"Irina\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"37360404200\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Irina Botan\",\"Contact_name\":\"Irina Botan\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"\\u0410\\u0441\\u0442\\u0430\\u043f\\u0435\\u043d\\u043a\\u043e\\u0432\\u0430 \\u042e\\u043b\\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\":\"2006042021829\",\"\\u0410\\u0434\\u0440\\u0435\\u0441\":\"str Putnei 9 ap 34\",\"\\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)\":\"12.06.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 pearl 35\",\"\\u041a\\u043e\\u043b - \\u0432\\u043e \\u043e\\u0431\\u043e\\u0440\\u0443\\u0434\\u043e\\u0432\\u0430\\u043d\\u0438\\u044f (\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442)\":\"1\",\"\\u041a\\u0442\\u043e \\u043c\\u043e\\u043d\\u0442\\u0438\\u0440\\u043e\\u0432\\u0430\\u043b (\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442)\":\"\\u041c\\u0430\\u0441\\u0442\\u0435\\u0440 \\u043a\\u043e\\u043c\\u043f\\u0430\\u043d\\u0438\\u0438 Edenvor SRL\",\"\\u041d\\u043e\\u043c\\u0435\\u0440 \\u043a\\u043e\\u043d\\u0442\\u0440\\u0430\\u043a\\u0442\\u0430 (\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442)\":\"A2365\",\"\\u0418\\u043c\\u044f \\u043a\\u043b\\u0438\\u0435\\u043d\\u0442\\u0430 (\\u0421\\u041c\\u0421)\":\"Irina\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"37360404200\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Irina Botan\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\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\":\"13.10.2026\",\"\\u041d\\u043e\\u043c\\u0435\\u0440\":\"1341\"},\"document\":{\"Date\":\"13.10.2026\",\"Number\":\"1341\"}}}","edit":true}} {"uid":"925dc75"}
[2026-10-13 16:42:34] docflow.DEBUG: GAS raw response {"raw":"[object] (stdClass: {\"code\":1,\"url\":\"https://docs.google.com/open?id=1PuSYzvV-bG10bSeXs8NmH_dyjmA1yPunU7H6KM4clAw\",\"file_id\":\"1PuSYzvV-bG10bSeXs8NmH_dyjmA1yPunU7H6KM4clAw\",\"error\":\"\",\"vars\":\"\"})"} {"uid":"925dc75"}
[2026-10-13 16:42:34] docflow.WARNING: AmoDrive generated-file move is not ready. {"fileId":"1PuSYzvV-bG10bSeXs8NmH_dyjmA1yPunU7H6KM4clAw","context":null} {"uid":"925dc75"}
[2026-10-13 17:28:26] docflow.INFO: Apel createDoc {"data":{"amoAccountId":"22699852","amoUserId":null,"amoEntityId":"42836206","amoEntityType":"2","templateId":"11495","corporateEntityId":"","settlementAccountId":"","is_signed":null,"gdi":null,"number":null,"currentAmoUserId":null,"lang":"ru"}} {"uid":"bdd438a"}
[2026-10-13 17:28:27] docflow.INFO: Token is valid for account 22699852. [] {"uid":"bdd438a"}
[2026-10-13 17:28:27] docflow.DEBUG: getClientAuth returned {"auth":"[object] (stdClass: {\"domain\":\"emigrare.amocrm.ru\",\"access_token\":\"eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImp0aSI6IjA5Zjk3NjIwZWVhZDQ5MTk1YzAzMjExYWQzZWMwNWFmODMzOTAyYzkwNDUxYThhMDRlNWI2NGZhZTg5ODk0NGM0NzIxZWFiYTAwYWRmNGY1In0.eyJhdWQiOiIwZDY0ZGZmYi1lNTRiLTQ0OGYtOWZiZi1iYWYyMjUxYTExZGIiLCJqdGkiOiIwOWY5NzYyMGVlYWQ0OTE5NWMwMzIxMWFkM2VjMDVhZjgzMzkwMmM5MDQ1MWE4YTA0ZTViNjRmYWU4OTg5NDRjNDcyMWVhYmEwMGFkZjRmNSIsImlhdCI6MTc5MTg3NTcxNCwibmJmIjoxNzkxODc1NzE0LCJleHAiOjE3OTE5NjIxMTQsInN1YiI6IjI5MzAzODAiLCJncmFudF90eXBlIjoiIiwiYWNjb3VudF9pZCI6MjI2OTk4NTIsImJhc2VfZG9tYWluIjoiYW1vY3JtLnJ1IiwidmVyc2lvbiI6Miwic2NvcGVzIjpbInB1c2hfbm90aWZpY2F0aW9ucyIsImNybSIsIm5vdGlmaWNhdGlvbnMiXSwiaGFzaF91dWlkIjoiZjhhNDRkOTgtMTRlNS00OTcxLTllMGEtNTRhZDY5OGQyYmQ4IiwiYXBpX2RvbWFpbiI6ImFwaS1hLmFtb2NybS5ydSJ9.NBJbkjpQVkql6RIh0lb5_KN4a3HryxJWNmjqTpgN1z5_38BKNZZYuaLC3jSuifBhZ1bpvGNOvdij0i0pQgyxhOaT9bZBjt_vLr-92V395z4ycsTFsK62KSDyZ-lAic98RxsqiX1xzPrdIi7NEXKX9Ls1ZHz0dwCgMJC2czZsigpjSEG0ErTZNdfsZrz00lM5F7cYbWP1m6JO78QBQJmrF_fRwFLiWGm9epjs7WmHTq4gO0Ski6-09ZTgjUIdj0zk6kP0vuWPHu9bZb8EP2IglQ0UjVN2AuacD9jBZvwt8Z6Q3TPnOEJaD0MJgiSlBcFs7wQ2ueorh3T8wV5cwy3VIA\"})","file":"/home/ytvmclwh/document.amocrm.md/src/Models/Docs.php","line":121} {"uid":"bdd438a"}
[2026-10-13 17:28:29] docflow.DEBUG: AmoDrive docflow context request {"url":"https://google.emale.uno/api/docflow/google-context","query":{"account_id":"22699852","entity_id":"42836206","entity_type":"leads"}} {"uid":"bdd438a"}
[2026-10-13 17:28:29] docflow.WARNING: AmoDrive docflow context request failed {"url":"https://google.emale.uno/api/docflow/google-context","http_code":null,"error":"HTTP/2 400 ","response":"<!DOCTYPE HTML PUBLIC \"-//IETF//DTD HTML 2.0//EN\">\r\n<html>\r\n<head><title>400 Bad Request</title></head>\r\n<body>\r\n<center><h1>400 Bad Request</h1></center>\r\n Sorry for the inconvenience.<br/>\r\nPlease report this message and include the following information to us.<br/>\r\nThank you very much!</p>\r\n<table>\r\n<tr>\r\n<td>URL:</td>\r\n<td>https://gd.glucose-dev.online/api/docflow/google-context?account_id=22699852&amp;entity_id=42836206&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/13 17:28:29</td>\r\n</tr>\r\n</table>\r\n<hr><center>tengine</center>\r\n</body>\r\n</html>\r\n"} {"uid":"bdd438a"}
[2026-10-13 17:28:29] docflow.DEBUG: AmoDrive docflow context request {"url":"https://gd.glucose-dev.online/api/docflow/google-context","query":{"account_id":"22699852","entity_id":"42836206","entity_type":"leads"}} {"uid":"bdd438a"}
[2026-10-13 17:28:29] docflow.WARNING: AmoDrive docflow context response is not ready, trying next backend. {"url":"https://gd.glucose-dev.online/api/docflow/google-context","payload":{"ok":true,"accountId":22699852,"entityId":"42836206","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":311,"isLifetime":false},"licenseActive":false,"googleConnected":false,"googleEmail":null,"googleHasDriveScope":false,"googleHasDriveFileScope":false,"googleHasOwnershipScope":false,"readyForGeneratedFileMove":false,"readyForTransfer":false},"folder":{"id":"1dYUiCiVysc4CI1kHXHLmSMyYvnhEp9xC","name":"42836206 - Lead #42836206","webViewLink":"https://drive.google.com/drive/folders/1dYUiCiVysc4CI1kHXHLmSMyYvnhEp9xC"}}} {"uid":"bdd438a"}
[2026-10-13 17:28:29] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://google.emale.uno/api/docflow/prepare-generated-doc","payload":{"account_id":"22699852","entity_id":"42836206","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"bdd438a"}
[2026-10-13 17:28:29] docflow.WARNING: AmoDrive prepare-generated-doc request failed {"url":"https://google.emale.uno/api/docflow/prepare-generated-doc","http_code":null,"error":"HTTP/2 400 ","response":"<!DOCTYPE HTML PUBLIC \"-//IETF//DTD HTML 2.0//EN\">\r\n<html>\r\n<head><title>400 Bad Request</title></head>\r\n<body>\r\n<center><h1>400 Bad Request</h1></center>\r\n Sorry for the inconvenience.<br/>\r\nPlease report this message and include the following information to us.<br/>\r\nThank you very much!</p>\r\n<table>\r\n<tr>\r\n<td>URL:</td>\r\n<td>https://gd.glucose-dev.online/api/docflow/prepare-generated-doc</td>\r\n</tr>\r\n<tr>\r\n<td>Server:</td>\r\n<td>mail.glucose-dev.online</td>\r\n</tr>\r\n<tr>\r\n<td>Date:</td>\r\n<td>2026/10/13 17:28:29</td>\r\n</tr>\r\n</table>\r\n<hr><center>tengine</center>\r\n</body>\r\n</html>\r\n","payload":{"account_id":"22699852","entity_id":"42836206","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"bdd438a"}
[2026-10-13 17:28:29] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://gd.glucose-dev.online/api/docflow/prepare-generated-doc","payload":{"account_id":"22699852","entity_id":"42836206","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"bdd438a"}
[2026-10-13 17:28:29] docflow.WARNING: AmoDrive prepare-generated-doc request failed {"url":"https://gd.glucose-dev.online/api/docflow/prepare-generated-doc","http_code":null,"error":"HTTP/2 404 ","response":"[object] (stdClass: {\"ok\":false,\"error\":\"AmoDrive is not installed for this account.\",\"accountId\":22699852})","payload":{"account_id":"22699852","entity_id":"42836206","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"bdd438a"}
[2026-10-13 17:28:29] 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) 447 20261013172829\",\"leadId\":\"42836206\",\"entities\":{\"\\u0441\\u0434\\u0435\\u043b\\u043a\\u0430\":{\"Suma \\u20ac\":\"0\",\"Temperatura client\":\"Fierbinte\",\"ID\":\"42836206\",\"\\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\":\"Stanislav Slivinschi\",\"Responsible\":\"Stanislav Slivinschi\"},\"lead\":{\"Suma \\u20ac\":\"0\",\"Temperatura client\":\"Fierbinte\",\"ID\":\"42836206\",\"\\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\":\"Stanislav Slivinschi\",\"Responsible\":\"Stanislav Slivinschi\"},\"\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442\":{\"TelegramId_WZ\":\"7785656962\",\"TelegramUsername_WZ\":\"@nineltrifan\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"+375339122681\",\"Email\":\"tnina2344@gmail.com\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Nina Tryfan\",\"Contact_name\":\"Nina Tryfan\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"Stanislav Slivinschi\",\"Responsible\":\"Stanislav Slivinschi\"},\"contact\":{\"TelegramId_WZ\":\"7785656962\",\"TelegramUsername_WZ\":\"@nineltrifan\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"+375339122681\",\"Email\":\"tnina2344@gmail.com\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Nina Tryfan\",\"Contact_name\":\"Nina Tryfan\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"Stanislav Slivinschi\",\"Responsible\":\"Stanislav Slivinschi\"},\"\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442\\u044b\":[{\"TelegramId_WZ\":\"7785656962\",\"TelegramUsername_WZ\":\"@nineltrifan\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"+375339122681\",\"Email\":\"tnina2344@gmail.com\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Nina Tryfan\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"Stanislav Slivinschi\"}],\"\\u0434\\u043e\\u043a\\u0443\\u043c\\u0435\\u043d\\u0442\":{\"\\u0414\\u0430\\u0442\\u0430\":\"13.10.2026\",\"\\u041d\\u043e\\u043c\\u0435\\u0440\":\"447\"},\"document\":{\"Date\":\"13.10.2026\",\"Number\":\"447\"}}}","edit":true}} {"uid":"bdd438a"}
[2026-10-13 17:28:53] docflow.DEBUG: GAS raw response {"raw":"[object] (stdClass: {\"code\":1,\"url\":\"https://docs.google.com/open?id=1w6MIsg3BJmPtrERNIEY7I9DCtq8l04h8PFMvnNRpBZg\",\"file_id\":\"1w6MIsg3BJmPtrERNIEY7I9DCtq8l04h8PFMvnNRpBZg\",\"error\":\"\",\"vars\":\"\"})"} {"uid":"bdd438a"}
[2026-10-13 17:28:53] docflow.WARNING: AmoDrive generated-file move is not ready. {"fileId":"1w6MIsg3BJmPtrERNIEY7I9DCtq8l04h8PFMvnNRpBZg","context":null} {"uid":"bdd438a"}
[2026-10-13 17:30:21] docflow.INFO: Apel createDoc {"data":{"amoAccountId":"22699852","amoUserId":null,"amoEntityId":"42836206","amoEntityType":"2","templateId":"11527","corporateEntityId":"","settlementAccountId":"","is_signed":null,"gdi":null,"number":null,"currentAmoUserId":null,"lang":"ru"}} {"uid":"6d5fc6f"}
[2026-10-13 17:30:21] docflow.INFO: Token is valid for account 22699852. [] {"uid":"6d5fc6f"}
[2026-10-13 17:30:21] docflow.DEBUG: getClientAuth returned {"auth":"[object] (stdClass: {\"domain\":\"emigrare.amocrm.ru\",\"access_token\":\"eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImp0aSI6IjA5Zjk3NjIwZWVhZDQ5MTk1YzAzMjExYWQzZWMwNWFmODMzOTAyYzkwNDUxYThhMDRlNWI2NGZhZTg5ODk0NGM0NzIxZWFiYTAwYWRmNGY1In0.eyJhdWQiOiIwZDY0ZGZmYi1lNTRiLTQ0OGYtOWZiZi1iYWYyMjUxYTExZGIiLCJqdGkiOiIwOWY5NzYyMGVlYWQ0OTE5NWMwMzIxMWFkM2VjMDVhZjgzMzkwMmM5MDQ1MWE4YTA0ZTViNjRmYWU4OTg5NDRjNDcyMWVhYmEwMGFkZjRmNSIsImlhdCI6MTc5MTg3NTcxNCwibmJmIjoxNzkxODc1NzE0LCJleHAiOjE3OTE5NjIxMTQsInN1YiI6IjI5MzAzODAiLCJncmFudF90eXBlIjoiIiwiYWNjb3VudF9pZCI6MjI2OTk4NTIsImJhc2VfZG9tYWluIjoiYW1vY3JtLnJ1IiwidmVyc2lvbiI6Miwic2NvcGVzIjpbInB1c2hfbm90aWZpY2F0aW9ucyIsImNybSIsIm5vdGlmaWNhdGlvbnMiXSwiaGFzaF91dWlkIjoiZjhhNDRkOTgtMTRlNS00OTcxLTllMGEtNTRhZDY5OGQyYmQ4IiwiYXBpX2RvbWFpbiI6ImFwaS1hLmFtb2NybS5ydSJ9.NBJbkjpQVkql6RIh0lb5_KN4a3HryxJWNmjqTpgN1z5_38BKNZZYuaLC3jSuifBhZ1bpvGNOvdij0i0pQgyxhOaT9bZBjt_vLr-92V395z4ycsTFsK62KSDyZ-lAic98RxsqiX1xzPrdIi7NEXKX9Ls1ZHz0dwCgMJC2czZsigpjSEG0ErTZNdfsZrz00lM5F7cYbWP1m6JO78QBQJmrF_fRwFLiWGm9epjs7WmHTq4gO0Ski6-09ZTgjUIdj0zk6kP0vuWPHu9bZb8EP2IglQ0UjVN2AuacD9jBZvwt8Z6Q3TPnOEJaD0MJgiSlBcFs7wQ2ueorh3T8wV5cwy3VIA\"})","file":"/home/ytvmclwh/document.amocrm.md/src/Models/Docs.php","line":121} {"uid":"6d5fc6f"}
[2026-10-13 17:30:24] docflow.DEBUG: AmoDrive docflow context request {"url":"https://google.emale.uno/api/docflow/google-context","query":{"account_id":"22699852","entity_id":"42836206","entity_type":"leads"}} {"uid":"6d5fc6f"}
[2026-10-13 17:30:24] docflow.WARNING: AmoDrive docflow context request failed {"url":"https://google.emale.uno/api/docflow/google-context","http_code":null,"error":"HTTP/2 400 ","response":"<!DOCTYPE HTML PUBLIC \"-//IETF//DTD HTML 2.0//EN\">\r\n<html>\r\n<head><title>400 Bad Request</title></head>\r\n<body>\r\n<center><h1>400 Bad Request</h1></center>\r\n Sorry for the inconvenience.<br/>\r\nPlease report this message and include the following information to us.<br/>\r\nThank you very much!</p>\r\n<table>\r\n<tr>\r\n<td>URL:</td>\r\n<td>https://gd.glucose-dev.online/api/docflow/google-context?account_id=22699852&amp;entity_id=42836206&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/13 17:30:24</td>\r\n</tr>\r\n</table>\r\n<hr><center>tengine</center>\r\n</body>\r\n</html>\r\n"} {"uid":"6d5fc6f"}
[2026-10-13 17:30:24] docflow.DEBUG: AmoDrive docflow context request {"url":"https://gd.glucose-dev.online/api/docflow/google-context","query":{"account_id":"22699852","entity_id":"42836206","entity_type":"leads"}} {"uid":"6d5fc6f"}
[2026-10-13 17:30:24] docflow.WARNING: AmoDrive docflow context response is not ready, trying next backend. {"url":"https://gd.glucose-dev.online/api/docflow/google-context","payload":{"ok":true,"accountId":22699852,"entityId":"42836206","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":311,"isLifetime":false},"licenseActive":false,"googleConnected":false,"googleEmail":null,"googleHasDriveScope":false,"googleHasDriveFileScope":false,"googleHasOwnershipScope":false,"readyForGeneratedFileMove":false,"readyForTransfer":false},"folder":{"id":"1dYUiCiVysc4CI1kHXHLmSMyYvnhEp9xC","name":"42836206 - Lead #42836206","webViewLink":"https://drive.google.com/drive/folders/1dYUiCiVysc4CI1kHXHLmSMyYvnhEp9xC"}}} {"uid":"6d5fc6f"}
[2026-10-13 17:30:24] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://google.emale.uno/api/docflow/prepare-generated-doc","payload":{"account_id":"22699852","entity_id":"42836206","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"6d5fc6f"}
[2026-10-13 17:30:24] docflow.WARNING: AmoDrive prepare-generated-doc request failed {"url":"https://google.emale.uno/api/docflow/prepare-generated-doc","http_code":null,"error":"HTTP/2 400 ","response":"<!DOCTYPE HTML PUBLIC \"-//IETF//DTD HTML 2.0//EN\">\r\n<html>\r\n<head><title>400 Bad Request</title></head>\r\n<body>\r\n<center><h1>400 Bad Request</h1></center>\r\n Sorry for the inconvenience.<br/>\r\nPlease report this message and include the following information to us.<br/>\r\nThank you very much!</p>\r\n<table>\r\n<tr>\r\n<td>URL:</td>\r\n<td>https://gd.glucose-dev.online/api/docflow/prepare-generated-doc</td>\r\n</tr>\r\n<tr>\r\n<td>Server:</td>\r\n<td>mail.glucose-dev.online</td>\r\n</tr>\r\n<tr>\r\n<td>Date:</td>\r\n<td>2026/10/13 17:30:24</td>\r\n</tr>\r\n</table>\r\n<hr><center>tengine</center>\r\n</body>\r\n</html>\r\n","payload":{"account_id":"22699852","entity_id":"42836206","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"6d5fc6f"}
[2026-10-13 17:30:24] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://gd.glucose-dev.online/api/docflow/prepare-generated-doc","payload":{"account_id":"22699852","entity_id":"42836206","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"6d5fc6f"}
[2026-10-13 17:30:24] docflow.WARNING: AmoDrive prepare-generated-doc request failed {"url":"https://gd.glucose-dev.online/api/docflow/prepare-generated-doc","http_code":null,"error":"HTTP/2 404 ","response":"[object] (stdClass: {\"ok\":false,\"error\":\"AmoDrive is not installed for this account.\",\"accountId\":22699852})","payload":{"account_id":"22699852","entity_id":"42836206","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"6d5fc6f"}
[2026-10-13 17:30:24] 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) 174 20261013173024\",\"leadId\":\"42836206\",\"entities\":{\"\\u0441\\u0434\\u0435\\u043b\\u043a\\u0430\":{\"Suma \\u20ac\":\"0\",\"Temperatura client\":\"Fierbinte\",\"ID\":\"42836206\",\"\\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\":\"Stanislav Slivinschi\",\"Responsible\":\"Stanislav Slivinschi\"},\"lead\":{\"Suma \\u20ac\":\"0\",\"Temperatura client\":\"Fierbinte\",\"ID\":\"42836206\",\"\\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\":\"Stanislav Slivinschi\",\"Responsible\":\"Stanislav Slivinschi\"},\"\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442\":{\"TelegramId_WZ\":\"7785656962\",\"TelegramUsername_WZ\":\"@nineltrifan\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"+375339122681\",\"Email\":\"tnina2344@gmail.com\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Nina Tryfan\",\"Contact_name\":\"Nina Tryfan\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"Stanislav Slivinschi\",\"Responsible\":\"Stanislav Slivinschi\"},\"contact\":{\"TelegramId_WZ\":\"7785656962\",\"TelegramUsername_WZ\":\"@nineltrifan\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"+375339122681\",\"Email\":\"tnina2344@gmail.com\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Nina Tryfan\",\"Contact_name\":\"Nina Tryfan\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"Stanislav Slivinschi\",\"Responsible\":\"Stanislav Slivinschi\"},\"\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442\\u044b\":[{\"TelegramId_WZ\":\"7785656962\",\"TelegramUsername_WZ\":\"@nineltrifan\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"+375339122681\",\"Email\":\"tnina2344@gmail.com\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Nina Tryfan\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"Stanislav Slivinschi\"}],\"\\u0434\\u043e\\u043a\\u0443\\u043c\\u0435\\u043d\\u0442\":{\"\\u0414\\u0430\\u0442\\u0430\":\"13.10.2026\",\"\\u041d\\u043e\\u043c\\u0435\\u0440\":\"174\"},\"document\":{\"Date\":\"13.10.2026\",\"Number\":\"174\"}}}","edit":true}} {"uid":"6d5fc6f"}
[2026-10-13 17:30:33] docflow.DEBUG: GAS raw response {"raw":"[object] (stdClass: {\"code\":1,\"url\":\"https://docs.google.com/open?id=1fyh8Ep261kIRjsfOIltxjK9LblScYnZZL5r7UGwPufU\",\"file_id\":\"1fyh8Ep261kIRjsfOIltxjK9LblScYnZZL5r7UGwPufU\",\"error\":\"\",\"vars\":\"\"})"} {"uid":"6d5fc6f"}
[2026-10-13 17:30:33] docflow.WARNING: AmoDrive generated-file move is not ready. {"fileId":"1fyh8Ep261kIRjsfOIltxjK9LblScYnZZL5r7UGwPufU","context":null} {"uid":"6d5fc6f"}
