[2026-08-07 08:17:30] docflow.INFO: Apel createDoc {"data":{"amoAccountId":"32990686","amoUserId":null,"amoEntityId":"47602367","amoEntityType":"2","templateId":"11625","corporateEntityId":"","settlementAccountId":"","is_signed":null,"gdi":null,"number":null,"currentAmoUserId":null,"lang":"ru"}} {"uid":"a9e2070"}
[2026-08-07 08:17:30] docflow.INFO: Token is valid for account 32990686. [] {"uid":"a9e2070"}
[2026-08-07 08:17:30] docflow.DEBUG: getClientAuth returned {"auth":"[object] (stdClass: {\"domain\":\"eurosanteh.amocrm.ru\",\"access_token\":\"eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImp0aSI6ImJlZjEzOTFjYzJiYzA0NTkxYmFkYTc4OTdmNWU4OGIzYTEwMWZkNTA2NTg2M2E5Y2UxN2IzOGQ2ZmNjMjUwZmE0MTZhNWE3ZDVlMWUwMDU5In0.eyJhdWQiOiIwZDY0ZGZmYi1lNTRiLTQ0OGYtOWZiZi1iYWYyMjUxYTExZGIiLCJqdGkiOiJiZWYxMzkxY2MyYmMwNDU5MWJhZGE3ODk3ZjVlODhiM2ExMDFmZDUwNjU4NjNhOWNlMTdiMzhkNmZjYzI1MGZhNDE2YTVhN2Q1ZTFlMDA1OSIsImlhdCI6MTc4NTk5NDI4OCwibmJmIjoxNzg1OTk0Mjg4LCJleHAiOjE3ODYwODA2ODgsInN1YiI6IjEzNjg3MzAyIiwiZ3JhbnRfdHlwZSI6IiIsImFjY291bnRfaWQiOjMyOTkwNjg2LCJiYXNlX2RvbWFpbiI6ImFtb2NybS5ydSIsInZlcnNpb24iOjIsInNjb3BlcyI6WyJwdXNoX25vdGlmaWNhdGlvbnMiLCJjcm0iLCJub3RpZmljYXRpb25zIl0sImhhc2hfdXVpZCI6IjBmZmI4NTFhLTg4NjUtNDJjYi05OGIyLWMzZmM3MjcyMWQ3NyIsImFwaV9kb21haW4iOiJhcGktYi5hbW9jcm0ucnUifQ.EfLufphFpRqAf8v25Yrhz-WyZm-sesWKHlRAp9geI7y_Sp899uNxGok6N4M0nofssC-4AzTN1_Bl16Hnwlb-7weogvhJ84eLQs-E2_GhWfTnRA5zmKvCWdXU9mozz9rJxDKNAwJRKb90MGUPuX_SrLgtBNK6bgyafW9WMYp3m4zPCdMh5iOJv6_Jo8rG56hx1XDH7m9MhBocMe20rTX7gldIEdMh3U0gcXuJICVVAkEoYoLhryJ89KI3OWz8BPqPSelTVnnjEgocNLJb4V8Mn8cgRibQw6tulPJ0ZPKzmdyIZxcoFBiGSlK3WgpwI_zkDMNyj54n8OU0LqhrXJzdpg\"})","file":"/home/ytvmclwh/document.amocrm.md/src/Models/Docs.php","line":121} {"uid":"a9e2070"}
[2026-08-07 08:17:32] docflow.DEBUG: AmoDrive docflow context request {"url":"https://google.emale.uno/api/docflow/google-context","query":{"account_id":"32990686","entity_id":"47602367","entity_type":"leads"}} {"uid":"a9e2070"}
[2026-08-07 08:17: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=32990686&amp;entity_id=47602367&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/08/07 08:17:32</td>\r\n</tr>\r\n</table>\r\n<hr><center>tengine</center>\r\n</body>\r\n</html>\r\n"} {"uid":"a9e2070"}
[2026-08-07 08:17:32] docflow.DEBUG: AmoDrive docflow context request {"url":"https://gd.glucose-dev.online/api/docflow/google-context","query":{"account_id":"32990686","entity_id":"47602367","entity_type":"leads"}} {"uid":"a9e2070"}
[2026-08-07 08:17: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":32990686,"entityId":"47602367","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":"a9e2070"}
[2026-08-07 08:17:32] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://google.emale.uno/api/docflow/prepare-generated-doc","payload":{"account_id":"32990686","entity_id":"47602367","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"a9e2070"}
[2026-08-07 08:17: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/08/07 08:17: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":"32990686","entity_id":"47602367","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"a9e2070"}
[2026-08-07 08:17:32] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://gd.glucose-dev.online/api/docflow/prepare-generated-doc","payload":{"account_id":"32990686","entity_id":"47602367","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"a9e2070"}
[2026-08-07 08:17: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\":32990686})","payload":{"account_id":"32990686","entity_id":"47602367","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"a9e2070"}
[2026-08-07 08:17:32] 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 816 20260807081732\",\"leadId\":\"47602367\",\"entities\":{\"\\u0441\\u0434\\u0435\\u043b\\u043a\\u0430\":{\"\\u0414\\u0430\\u0442\\u0430 \\u0438 \\u0432\\u0440\\u0435\\u043c\\u044f \\u0432\\u0438\\u0437\\u0438\\u0442\\u0430\":\"2026-08-07 08:16:00\",\"\\u0414\\u0430\\u0442\\u0430 \\u0432\\u0438\\u0437\\u0438\\u0442\\u0430\":\"07.08.2026\",\"\\u0418\\u0441\\u043f\\u043e\\u043b\\u043d\\u0438\\u0442\\u0435\\u043b\\u044c\":\"Ghenadie Tiuhtii\",\"\\u0426\\u0435\\u043b\\u044c \\u0432\\u044b\\u0435\\u0437\\u0434\\u0430\":\"\\u0414\\u0438\\u0430\\u0433\\u043d\\u043e\\u0441\\u0442\\u0438\\u043a\\u0430\",\"\\u0412\\u0438\\u0434 \\u0432\\u044b\\u043f\\u043e\\u043b\\u043d\\u0435\\u043d\\u043d\\u044b\\u0445 \\u0440\\u0430\\u0431\\u043e\\u0442\":\"\\u0414\\u0438\\u0430\\u0433\\u043d\\u043e\\u0441\\u0442\\u0438\\u043a\\u0430 \\u0441\\u043f\\u043b\\u0438\\u0442-\\u0441\\u0438\\u0441\\u0442\\u0435\\u043c \\u0438 \\u0434\\u0440\\u0443\\u0433\\u0438\\u0445 \\u0442\\u0438\\u043f\\u043e\\u0432 \\u043a\\u043e\\u043d\\u0434\\u0438\\u0446\\u0438\\u043e\\u043d\\u0435\\u0440\\u043e\\u0432\",\"\\u041c\\u043e\\u0434\\u0435\\u043b\\u044c \\u043e\\u0431\\u043e\\u0440\\u0443\\u0434\\u043e\\u0432\\u0430\\u043d\\u0438\\u044f 1\":\"Haier\",\"ID\":\"47602367\",\"\\u0421\\u0434\\u0435\\u043b\\u043a\\u0430_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"\\u0414\\u0438\\u0430\\u0433\\u043d\\u043e\\u0441\\u0442\\u0438\\u043a\\u0430\",\"Lead_name\":\"\\u0414\\u0438\\u0430\\u0433\\u043d\\u043e\\u0441\\u0442\\u0438\\u043a\\u0430\",\"\\u0411\\u044e\\u0434\\u0436\\u0435\\u0442\":\"0\",\"Budget\":\"0\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"\\u0410\\u0441\\u0442\\u0430\\u043f\\u0435\\u043d\\u043a\\u043e\\u0432\\u0430 \\u042e\\u043b\\u0438\\u0430\\u043d\\u043d\\u0430\",\"Responsible\":\"\\u0410\\u0441\\u0442\\u0430\\u043f\\u0435\\u043d\\u043a\\u043e\\u0432\\u0430 \\u042e\\u043b\\u0438\\u0430\\u043d\\u043d\\u0430\"},\"lead\":{\"\\u0414\\u0430\\u0442\\u0430 \\u0438 \\u0432\\u0440\\u0435\\u043c\\u044f \\u0432\\u0438\\u0437\\u0438\\u0442\\u0430\":\"2026-08-07 08:16:00\",\"\\u0414\\u0430\\u0442\\u0430 \\u0432\\u0438\\u0437\\u0438\\u0442\\u0430\":\"07.08.2026\",\"\\u0418\\u0441\\u043f\\u043e\\u043b\\u043d\\u0438\\u0442\\u0435\\u043b\\u044c\":\"Ghenadie Tiuhtii\",\"\\u0426\\u0435\\u043b\\u044c \\u0432\\u044b\\u0435\\u0437\\u0434\\u0430\":\"\\u0414\\u0438\\u0430\\u0433\\u043d\\u043e\\u0441\\u0442\\u0438\\u043a\\u0430\",\"\\u0412\\u0438\\u0434 \\u0432\\u044b\\u043f\\u043e\\u043b\\u043d\\u0435\\u043d\\u043d\\u044b\\u0445 \\u0440\\u0430\\u0431\\u043e\\u0442\":\"\\u0414\\u0438\\u0430\\u0433\\u043d\\u043e\\u0441\\u0442\\u0438\\u043a\\u0430 \\u0441\\u043f\\u043b\\u0438\\u0442-\\u0441\\u0438\\u0441\\u0442\\u0435\\u043c \\u0438 \\u0434\\u0440\\u0443\\u0433\\u0438\\u0445 \\u0442\\u0438\\u043f\\u043e\\u0432 \\u043a\\u043e\\u043d\\u0434\\u0438\\u0446\\u0438\\u043e\\u043d\\u0435\\u0440\\u043e\\u0432\",\"\\u041c\\u043e\\u0434\\u0435\\u043b\\u044c \\u043e\\u0431\\u043e\\u0440\\u0443\\u0434\\u043e\\u0432\\u0430\\u043d\\u0438\\u044f 1\":\"Haier\",\"ID\":\"47602367\",\"\\u0421\\u0434\\u0435\\u043b\\u043a\\u0430_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"\\u0414\\u0438\\u0430\\u0433\\u043d\\u043e\\u0441\\u0442\\u0438\\u043a\\u0430\",\"Lead_name\":\"\\u0414\\u0438\\u0430\\u0433\\u043d\\u043e\\u0441\\u0442\\u0438\\u043a\\u0430\",\"\\u0411\\u044e\\u0434\\u0436\\u0435\\u0442\":\"0\",\"Budget\":\"0\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"\\u0410\\u0441\\u0442\\u0430\\u043f\\u0435\\u043d\\u043a\\u043e\\u0432\\u0430 \\u042e\\u043b\\u0438\\u0430\\u043d\\u043d\\u0430\",\"Responsible\":\"\\u0410\\u0441\\u0442\\u0430\\u043f\\u0435\\u043d\\u043a\\u043e\\u0432\\u0430 \\u042e\\u043b\\u0438\\u0430\\u043d\\u043d\\u0430\"},\"\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442\":{\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"373069055919\",\"\\u0410\\u0434\\u0440\\u0435\\u0441\":\"str Varshovia 2\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442 069055919\",\"Contact_name\":\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442 069055919\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"\\u0410\\u0441\\u0442\\u0430\\u043f\\u0435\\u043d\\u043a\\u043e\\u0432\\u0430 \\u042e\\u043b\\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\":\"373069055919\",\"\\u0410\\u0434\\u0440\\u0435\\u0441\":\"str Varshovia 2\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442 069055919\",\"Contact_name\":\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442 069055919\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"\\u0410\\u0441\\u0442\\u0430\\u043f\\u0435\\u043d\\u043a\\u043e\\u0432\\u0430 \\u042e\\u043b\\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\":\"373069055919\",\"\\u0410\\u0434\\u0440\\u0435\\u0441\":\"str Varshovia 2\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442 069055919\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\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\":\"07.08.2026\",\"\\u041d\\u043e\\u043c\\u0435\\u0440\":\"816\"},\"document\":{\"Date\":\"07.08.2026\",\"Number\":\"816\"}}}","edit":true}} {"uid":"a9e2070"}
[2026-08-07 08:17:38] docflow.DEBUG: GAS raw response {"raw":"[object] (stdClass: {\"code\":1,\"url\":\"https://docs.google.com/open?id=1S7keSIA5loJJiu-EeVW3sJO-ZMkg5seZMIqXaj2fE6c\",\"file_id\":\"1S7keSIA5loJJiu-EeVW3sJO-ZMkg5seZMIqXaj2fE6c\",\"error\":\"\",\"vars\":\"\"})"} {"uid":"a9e2070"}
[2026-08-07 08:17:38] docflow.WARNING: AmoDrive generated-file move is not ready. {"fileId":"1S7keSIA5loJJiu-EeVW3sJO-ZMkg5seZMIqXaj2fE6c","context":null} {"uid":"a9e2070"}
[2026-08-07 08:18:11] docflow.INFO: Apel createDoc {"data":{"amoAccountId":"32990686","amoUserId":null,"amoEntityId":"47602367","amoEntityType":"2","templateId":"11646","corporateEntityId":"","settlementAccountId":"","is_signed":null,"gdi":null,"number":null,"currentAmoUserId":null,"lang":"ru"}} {"uid":"0898401"}
[2026-08-07 08:18:12] docflow.INFO: Token is valid for account 32990686. [] {"uid":"0898401"}
[2026-08-07 08:18:12] docflow.DEBUG: getClientAuth returned {"auth":"[object] (stdClass: {\"domain\":\"eurosanteh.amocrm.ru\",\"access_token\":\"eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImp0aSI6ImJlZjEzOTFjYzJiYzA0NTkxYmFkYTc4OTdmNWU4OGIzYTEwMWZkNTA2NTg2M2E5Y2UxN2IzOGQ2ZmNjMjUwZmE0MTZhNWE3ZDVlMWUwMDU5In0.eyJhdWQiOiIwZDY0ZGZmYi1lNTRiLTQ0OGYtOWZiZi1iYWYyMjUxYTExZGIiLCJqdGkiOiJiZWYxMzkxY2MyYmMwNDU5MWJhZGE3ODk3ZjVlODhiM2ExMDFmZDUwNjU4NjNhOWNlMTdiMzhkNmZjYzI1MGZhNDE2YTVhN2Q1ZTFlMDA1OSIsImlhdCI6MTc4NTk5NDI4OCwibmJmIjoxNzg1OTk0Mjg4LCJleHAiOjE3ODYwODA2ODgsInN1YiI6IjEzNjg3MzAyIiwiZ3JhbnRfdHlwZSI6IiIsImFjY291bnRfaWQiOjMyOTkwNjg2LCJiYXNlX2RvbWFpbiI6ImFtb2NybS5ydSIsInZlcnNpb24iOjIsInNjb3BlcyI6WyJwdXNoX25vdGlmaWNhdGlvbnMiLCJjcm0iLCJub3RpZmljYXRpb25zIl0sImhhc2hfdXVpZCI6IjBmZmI4NTFhLTg4NjUtNDJjYi05OGIyLWMzZmM3MjcyMWQ3NyIsImFwaV9kb21haW4iOiJhcGktYi5hbW9jcm0ucnUifQ.EfLufphFpRqAf8v25Yrhz-WyZm-sesWKHlRAp9geI7y_Sp899uNxGok6N4M0nofssC-4AzTN1_Bl16Hnwlb-7weogvhJ84eLQs-E2_GhWfTnRA5zmKvCWdXU9mozz9rJxDKNAwJRKb90MGUPuX_SrLgtBNK6bgyafW9WMYp3m4zPCdMh5iOJv6_Jo8rG56hx1XDH7m9MhBocMe20rTX7gldIEdMh3U0gcXuJICVVAkEoYoLhryJ89KI3OWz8BPqPSelTVnnjEgocNLJb4V8Mn8cgRibQw6tulPJ0ZPKzmdyIZxcoFBiGSlK3WgpwI_zkDMNyj54n8OU0LqhrXJzdpg\"})","file":"/home/ytvmclwh/document.amocrm.md/src/Models/Docs.php","line":121} {"uid":"0898401"}
[2026-08-07 08:18:13] docflow.DEBUG: AmoDrive docflow context request {"url":"https://google.emale.uno/api/docflow/google-context","query":{"account_id":"32990686","entity_id":"47602367","entity_type":"leads"}} {"uid":"0898401"}
[2026-08-07 08:18:13] docflow.WARNING: AmoDrive docflow context request failed {"url":"https://google.emale.uno/api/docflow/google-context","http_code":null,"error":"HTTP/2 400 ","response":"<!DOCTYPE HTML PUBLIC \"-//IETF//DTD HTML 2.0//EN\">\r\n<html>\r\n<head><title>400 Bad Request</title></head>\r\n<body>\r\n<center><h1>400 Bad Request</h1></center>\r\n Sorry for the inconvenience.<br/>\r\nPlease report this message and include the following information to us.<br/>\r\nThank you very much!</p>\r\n<table>\r\n<tr>\r\n<td>URL:</td>\r\n<td>https://gd.glucose-dev.online/api/docflow/google-context?account_id=32990686&amp;entity_id=47602367&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/08/07 08:18:14</td>\r\n</tr>\r\n</table>\r\n<hr><center>tengine</center>\r\n</body>\r\n</html>\r\n"} {"uid":"0898401"}
[2026-08-07 08:18:13] docflow.DEBUG: AmoDrive docflow context request {"url":"https://gd.glucose-dev.online/api/docflow/google-context","query":{"account_id":"32990686","entity_id":"47602367","entity_type":"leads"}} {"uid":"0898401"}
[2026-08-07 08:18:13] docflow.WARNING: AmoDrive docflow context response is not ready, trying next backend. {"url":"https://gd.glucose-dev.online/api/docflow/google-context","payload":{"ok":true,"accountId":32990686,"entityId":"47602367","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":"0898401"}
[2026-08-07 08:18:13] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://google.emale.uno/api/docflow/prepare-generated-doc","payload":{"account_id":"32990686","entity_id":"47602367","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"0898401"}
[2026-08-07 08:18: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/08/07 08:18: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":"47602367","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"0898401"}
[2026-08-07 08:18:13] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://gd.glucose-dev.online/api/docflow/prepare-generated-doc","payload":{"account_id":"32990686","entity_id":"47602367","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"0898401"}
[2026-08-07 08:18:13] docflow.WARNING: AmoDrive prepare-generated-doc request failed {"url":"https://gd.glucose-dev.online/api/docflow/prepare-generated-doc","http_code":null,"error":"HTTP/2 404 ","response":"[object] (stdClass: {\"ok\":false,\"error\":\"AmoDrive is not installed for this account.\",\"accountId\":32990686})","payload":{"account_id":"32990686","entity_id":"47602367","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"0898401"}
[2026-08-07 08:18:13] 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 816 20260807081813\",\"leadId\":\"47602367\",\"entities\":{\"\\u0441\\u0434\\u0435\\u043b\\u043a\\u0430\":{\"\\u0414\\u0430\\u0442\\u0430 \\u0438 \\u0432\\u0440\\u0435\\u043c\\u044f \\u0432\\u0438\\u0437\\u0438\\u0442\\u0430\":\"2026-08-07 08:16:00\",\"\\u0414\\u0430\\u0442\\u0430 \\u0432\\u0438\\u0437\\u0438\\u0442\\u0430\":\"07.08.2026\",\"\\u0418\\u0441\\u043f\\u043e\\u043b\\u043d\\u0438\\u0442\\u0435\\u043b\\u044c\":\"Ghenadie Tiuhtii\",\"\\u0426\\u0435\\u043b\\u044c \\u0432\\u044b\\u0435\\u0437\\u0434\\u0430\":\"\\u0414\\u0438\\u0430\\u0433\\u043d\\u043e\\u0441\\u0442\\u0438\\u043a\\u0430\",\"\\u0412\\u0438\\u0434 \\u0432\\u044b\\u043f\\u043e\\u043b\\u043d\\u0435\\u043d\\u043d\\u044b\\u0445 \\u0440\\u0430\\u0431\\u043e\\u0442\":\"\\u0414\\u0438\\u0430\\u0433\\u043d\\u043e\\u0441\\u0442\\u0438\\u043a\\u0430 \\u0441\\u043f\\u043b\\u0438\\u0442-\\u0441\\u0438\\u0441\\u0442\\u0435\\u043c \\u0438 \\u0434\\u0440\\u0443\\u0433\\u0438\\u0445 \\u0442\\u0438\\u043f\\u043e\\u0432 \\u043a\\u043e\\u043d\\u0434\\u0438\\u0446\\u0438\\u043e\\u043d\\u0435\\u0440\\u043e\\u0432\",\"\\u041c\\u043e\\u0434\\u0435\\u043b\\u044c \\u043e\\u0431\\u043e\\u0440\\u0443\\u0434\\u043e\\u0432\\u0430\\u043d\\u0438\\u044f 1\":\"Haier\",\"ID\":\"47602367\",\"\\u0421\\u0434\\u0435\\u043b\\u043a\\u0430_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"\\u0414\\u0438\\u0430\\u0433\\u043d\\u043e\\u0441\\u0442\\u0438\\u043a\\u0430\",\"Lead_name\":\"\\u0414\\u0438\\u0430\\u0433\\u043d\\u043e\\u0441\\u0442\\u0438\\u043a\\u0430\",\"\\u0411\\u044e\\u0434\\u0436\\u0435\\u0442\":\"0\",\"Budget\":\"0\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"\\u0410\\u0441\\u0442\\u0430\\u043f\\u0435\\u043d\\u043a\\u043e\\u0432\\u0430 \\u042e\\u043b\\u0438\\u0430\\u043d\\u043d\\u0430\",\"Responsible\":\"\\u0410\\u0441\\u0442\\u0430\\u043f\\u0435\\u043d\\u043a\\u043e\\u0432\\u0430 \\u042e\\u043b\\u0438\\u0430\\u043d\\u043d\\u0430\"},\"lead\":{\"\\u0414\\u0430\\u0442\\u0430 \\u0438 \\u0432\\u0440\\u0435\\u043c\\u044f \\u0432\\u0438\\u0437\\u0438\\u0442\\u0430\":\"2026-08-07 08:16:00\",\"\\u0414\\u0430\\u0442\\u0430 \\u0432\\u0438\\u0437\\u0438\\u0442\\u0430\":\"07.08.2026\",\"\\u0418\\u0441\\u043f\\u043e\\u043b\\u043d\\u0438\\u0442\\u0435\\u043b\\u044c\":\"Ghenadie Tiuhtii\",\"\\u0426\\u0435\\u043b\\u044c \\u0432\\u044b\\u0435\\u0437\\u0434\\u0430\":\"\\u0414\\u0438\\u0430\\u0433\\u043d\\u043e\\u0441\\u0442\\u0438\\u043a\\u0430\",\"\\u0412\\u0438\\u0434 \\u0432\\u044b\\u043f\\u043e\\u043b\\u043d\\u0435\\u043d\\u043d\\u044b\\u0445 \\u0440\\u0430\\u0431\\u043e\\u0442\":\"\\u0414\\u0438\\u0430\\u0433\\u043d\\u043e\\u0441\\u0442\\u0438\\u043a\\u0430 \\u0441\\u043f\\u043b\\u0438\\u0442-\\u0441\\u0438\\u0441\\u0442\\u0435\\u043c \\u0438 \\u0434\\u0440\\u0443\\u0433\\u0438\\u0445 \\u0442\\u0438\\u043f\\u043e\\u0432 \\u043a\\u043e\\u043d\\u0434\\u0438\\u0446\\u0438\\u043e\\u043d\\u0435\\u0440\\u043e\\u0432\",\"\\u041c\\u043e\\u0434\\u0435\\u043b\\u044c \\u043e\\u0431\\u043e\\u0440\\u0443\\u0434\\u043e\\u0432\\u0430\\u043d\\u0438\\u044f 1\":\"Haier\",\"ID\":\"47602367\",\"\\u0421\\u0434\\u0435\\u043b\\u043a\\u0430_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"\\u0414\\u0438\\u0430\\u0433\\u043d\\u043e\\u0441\\u0442\\u0438\\u043a\\u0430\",\"Lead_name\":\"\\u0414\\u0438\\u0430\\u0433\\u043d\\u043e\\u0441\\u0442\\u0438\\u043a\\u0430\",\"\\u0411\\u044e\\u0434\\u0436\\u0435\\u0442\":\"0\",\"Budget\":\"0\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"\\u0410\\u0441\\u0442\\u0430\\u043f\\u0435\\u043d\\u043a\\u043e\\u0432\\u0430 \\u042e\\u043b\\u0438\\u0430\\u043d\\u043d\\u0430\",\"Responsible\":\"\\u0410\\u0441\\u0442\\u0430\\u043f\\u0435\\u043d\\u043a\\u043e\\u0432\\u0430 \\u042e\\u043b\\u0438\\u0430\\u043d\\u043d\\u0430\"},\"\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442\":{\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"373069055919\",\"\\u0410\\u0434\\u0440\\u0435\\u0441\":\"str Varshovia 2\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442 069055919\",\"Contact_name\":\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442 069055919\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"\\u0410\\u0441\\u0442\\u0430\\u043f\\u0435\\u043d\\u043a\\u043e\\u0432\\u0430 \\u042e\\u043b\\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\":\"373069055919\",\"\\u0410\\u0434\\u0440\\u0435\\u0441\":\"str Varshovia 2\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442 069055919\",\"Contact_name\":\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442 069055919\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"\\u0410\\u0441\\u0442\\u0430\\u043f\\u0435\\u043d\\u043a\\u043e\\u0432\\u0430 \\u042e\\u043b\\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\":\"373069055919\",\"\\u0410\\u0434\\u0440\\u0435\\u0441\":\"str Varshovia 2\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442 069055919\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\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\":\"07.08.2026\",\"\\u041d\\u043e\\u043c\\u0435\\u0440\":\"816\"},\"document\":{\"Date\":\"07.08.2026\",\"Number\":\"816\"}}}","edit":true}} {"uid":"0898401"}
[2026-08-07 08:18:20] docflow.DEBUG: GAS raw response {"raw":"[object] (stdClass: {\"code\":1,\"url\":\"https://docs.google.com/open?id=14iZ1UIytz9R7e6XvlrjUbGK0DZs4--LA4fAM0TfggUY\",\"file_id\":\"14iZ1UIytz9R7e6XvlrjUbGK0DZs4--LA4fAM0TfggUY\",\"error\":\"\",\"vars\":\"\"})"} {"uid":"0898401"}
[2026-08-07 08:18:20] docflow.WARNING: AmoDrive generated-file move is not ready. {"fileId":"14iZ1UIytz9R7e6XvlrjUbGK0DZs4--LA4fAM0TfggUY","context":null} {"uid":"0898401"}
[2026-08-07 08:28:21] docflow.INFO: Apel createDoc {"data":{"amoAccountId":"32990686","amoUserId":null,"amoEntityId":"47551613","amoEntityType":"2","templateId":"11625","corporateEntityId":"","settlementAccountId":"","is_signed":null,"gdi":null,"number":null,"currentAmoUserId":null,"lang":"ru"}} {"uid":"983c312"}
[2026-08-07 08:28:21] docflow.INFO: Token is valid for account 32990686. [] {"uid":"983c312"}
[2026-08-07 08:28:21] docflow.DEBUG: getClientAuth returned {"auth":"[object] (stdClass: {\"domain\":\"eurosanteh.amocrm.ru\",\"access_token\":\"eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImp0aSI6ImJlZjEzOTFjYzJiYzA0NTkxYmFkYTc4OTdmNWU4OGIzYTEwMWZkNTA2NTg2M2E5Y2UxN2IzOGQ2ZmNjMjUwZmE0MTZhNWE3ZDVlMWUwMDU5In0.eyJhdWQiOiIwZDY0ZGZmYi1lNTRiLTQ0OGYtOWZiZi1iYWYyMjUxYTExZGIiLCJqdGkiOiJiZWYxMzkxY2MyYmMwNDU5MWJhZGE3ODk3ZjVlODhiM2ExMDFmZDUwNjU4NjNhOWNlMTdiMzhkNmZjYzI1MGZhNDE2YTVhN2Q1ZTFlMDA1OSIsImlhdCI6MTc4NTk5NDI4OCwibmJmIjoxNzg1OTk0Mjg4LCJleHAiOjE3ODYwODA2ODgsInN1YiI6IjEzNjg3MzAyIiwiZ3JhbnRfdHlwZSI6IiIsImFjY291bnRfaWQiOjMyOTkwNjg2LCJiYXNlX2RvbWFpbiI6ImFtb2NybS5ydSIsInZlcnNpb24iOjIsInNjb3BlcyI6WyJwdXNoX25vdGlmaWNhdGlvbnMiLCJjcm0iLCJub3RpZmljYXRpb25zIl0sImhhc2hfdXVpZCI6IjBmZmI4NTFhLTg4NjUtNDJjYi05OGIyLWMzZmM3MjcyMWQ3NyIsImFwaV9kb21haW4iOiJhcGktYi5hbW9jcm0ucnUifQ.EfLufphFpRqAf8v25Yrhz-WyZm-sesWKHlRAp9geI7y_Sp899uNxGok6N4M0nofssC-4AzTN1_Bl16Hnwlb-7weogvhJ84eLQs-E2_GhWfTnRA5zmKvCWdXU9mozz9rJxDKNAwJRKb90MGUPuX_SrLgtBNK6bgyafW9WMYp3m4zPCdMh5iOJv6_Jo8rG56hx1XDH7m9MhBocMe20rTX7gldIEdMh3U0gcXuJICVVAkEoYoLhryJ89KI3OWz8BPqPSelTVnnjEgocNLJb4V8Mn8cgRibQw6tulPJ0ZPKzmdyIZxcoFBiGSlK3WgpwI_zkDMNyj54n8OU0LqhrXJzdpg\"})","file":"/home/ytvmclwh/document.amocrm.md/src/Models/Docs.php","line":121} {"uid":"983c312"}
[2026-08-07 08:28:23] docflow.DEBUG: AmoDrive docflow context request {"url":"https://google.emale.uno/api/docflow/google-context","query":{"account_id":"32990686","entity_id":"47551613","entity_type":"leads"}} {"uid":"983c312"}
[2026-08-07 08:28:23] 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=47551613&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/08/07 08:28:23</td>\r\n</tr>\r\n</table>\r\n<hr><center>tengine</center>\r\n</body>\r\n</html>\r\n"} {"uid":"983c312"}
[2026-08-07 08:28:23] docflow.DEBUG: AmoDrive docflow context request {"url":"https://gd.glucose-dev.online/api/docflow/google-context","query":{"account_id":"32990686","entity_id":"47551613","entity_type":"leads"}} {"uid":"983c312"}
[2026-08-07 08:28:23] 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":"47551613","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":"983c312"}
[2026-08-07 08:28:23] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://google.emale.uno/api/docflow/prepare-generated-doc","payload":{"account_id":"32990686","entity_id":"47551613","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"983c312"}
[2026-08-07 08:28:23] 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/08/07 08:28:23</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":"47551613","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"983c312"}
[2026-08-07 08:28:23] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://gd.glucose-dev.online/api/docflow/prepare-generated-doc","payload":{"account_id":"32990686","entity_id":"47551613","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"983c312"}
[2026-08-07 08:28:23] 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":"47551613","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"983c312"}
[2026-08-07 08:28:23] 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 817 20260807082823\",\"leadId\":\"47551613\",\"entities\":{\"\\u0441\\u0434\\u0435\\u043b\\u043a\\u0430\":{\"\\u0414\\u0430\\u0442\\u0430 \\u0438 \\u0432\\u0440\\u0435\\u043c\\u044f \\u0432\\u0438\\u0437\\u0438\\u0442\\u0430\":\"2026-08-07 08:27:00\",\"\\u0414\\u0430\\u0442\\u0430 \\u0432\\u0438\\u0437\\u0438\\u0442\\u0430\":\"07.08.2026\",\"\\u0418\\u0441\\u043f\\u043e\\u043b\\u043d\\u0438\\u0442\\u0435\\u043b\\u044c\":\"Ghenadie Tiuhtii\",\"\\u0426\\u0435\\u043b\\u044c \\u0432\\u044b\\u0435\\u0437\\u0434\\u0430\":\"\\u0414\\u0438\\u0430\\u0433\\u043d\\u043e\\u0441\\u0442\\u0438\\u043a\\u0430\",\"\\u0412\\u0438\\u0434 \\u0432\\u044b\\u043f\\u043e\\u043b\\u043d\\u0435\\u043d\\u043d\\u044b\\u0445 \\u0440\\u0430\\u0431\\u043e\\u0442\":\"\\u0414\\u0438\\u0430\\u0433\\u043d\\u043e\\u0441\\u0442\\u0438\\u043a\\u0430 \\u0441\\u043f\\u043b\\u0438\\u0442-\\u0441\\u0438\\u0441\\u0442\\u0435\\u043c \\u0438 \\u0434\\u0440\\u0443\\u0433\\u0438\\u0445 \\u0442\\u0438\\u043f\\u043e\\u0432 \\u043a\\u043e\\u043d\\u0434\\u0438\\u0446\\u0438\\u043e\\u043d\\u0435\\u0440\\u043e\\u0432\",\"ID\":\"47551613\",\"\\u0421\\u0434\\u0435\\u043b\\u043a\\u0430_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"\\u0414\\u0438\\u0430\\u0433\\u043d\\u043e\\u0441\\u0442\\u0438\\u043a\\u0430\",\"Lead_name\":\"\\u0414\\u0438\\u0430\\u0433\\u043d\\u043e\\u0441\\u0442\\u0438\\u043a\\u0430\",\"\\u0411\\u044e\\u0434\\u0436\\u0435\\u0442\":\"0\",\"Budget\":\"0\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"\\u0410\\u0441\\u0442\\u0430\\u043f\\u0435\\u043d\\u043a\\u043e\\u0432\\u0430 \\u042e\\u043b\\u0438\\u0430\\u043d\\u043d\\u0430\",\"Responsible\":\"\\u0410\\u0441\\u0442\\u0430\\u043f\\u0435\\u043d\\u043a\\u043e\\u0432\\u0430 \\u042e\\u043b\\u0438\\u0430\\u043d\\u043d\\u0430\"},\"lead\":{\"\\u0414\\u0430\\u0442\\u0430 \\u0438 \\u0432\\u0440\\u0435\\u043c\\u044f \\u0432\\u0438\\u0437\\u0438\\u0442\\u0430\":\"2026-08-07 08:27:00\",\"\\u0414\\u0430\\u0442\\u0430 \\u0432\\u0438\\u0437\\u0438\\u0442\\u0430\":\"07.08.2026\",\"\\u0418\\u0441\\u043f\\u043e\\u043b\\u043d\\u0438\\u0442\\u0435\\u043b\\u044c\":\"Ghenadie Tiuhtii\",\"\\u0426\\u0435\\u043b\\u044c \\u0432\\u044b\\u0435\\u0437\\u0434\\u0430\":\"\\u0414\\u0438\\u0430\\u0433\\u043d\\u043e\\u0441\\u0442\\u0438\\u043a\\u0430\",\"\\u0412\\u0438\\u0434 \\u0432\\u044b\\u043f\\u043e\\u043b\\u043d\\u0435\\u043d\\u043d\\u044b\\u0445 \\u0440\\u0430\\u0431\\u043e\\u0442\":\"\\u0414\\u0438\\u0430\\u0433\\u043d\\u043e\\u0441\\u0442\\u0438\\u043a\\u0430 \\u0441\\u043f\\u043b\\u0438\\u0442-\\u0441\\u0438\\u0441\\u0442\\u0435\\u043c \\u0438 \\u0434\\u0440\\u0443\\u0433\\u0438\\u0445 \\u0442\\u0438\\u043f\\u043e\\u0432 \\u043a\\u043e\\u043d\\u0434\\u0438\\u0446\\u0438\\u043e\\u043d\\u0435\\u0440\\u043e\\u0432\",\"ID\":\"47551613\",\"\\u0421\\u0434\\u0435\\u043b\\u043a\\u0430_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"\\u0414\\u0438\\u0430\\u0433\\u043d\\u043e\\u0441\\u0442\\u0438\\u043a\\u0430\",\"Lead_name\":\"\\u0414\\u0438\\u0430\\u0433\\u043d\\u043e\\u0441\\u0442\\u0438\\u043a\\u0430\",\"\\u0411\\u044e\\u0434\\u0436\\u0435\\u0442\":\"0\",\"Budget\":\"0\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"\\u0410\\u0441\\u0442\\u0430\\u043f\\u0435\\u043d\\u043a\\u043e\\u0432\\u0430 \\u042e\\u043b\\u0438\\u0430\\u043d\\u043d\\u0430\",\"Responsible\":\"\\u0410\\u0441\\u0442\\u0430\\u043f\\u0435\\u043d\\u043a\\u043e\\u0432\\u0430 \\u042e\\u043b\\u0438\\u0430\\u043d\\u043d\\u0430\"},\"\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442\":{\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"373068927892\",\"\\u0410\\u0434\\u0440\\u0435\\u0441\":\"str Scinoasa deal 2\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Vlad Bitca\",\"Contact_name\":\"Vlad Bitca\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"\\u0410\\u0441\\u0442\\u0430\\u043f\\u0435\\u043d\\u043a\\u043e\\u0432\\u0430 \\u042e\\u043b\\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\":\"373068927892\",\"\\u0410\\u0434\\u0440\\u0435\\u0441\":\"str Scinoasa deal 2\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Vlad Bitca\",\"Contact_name\":\"Vlad Bitca\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"\\u0410\\u0441\\u0442\\u0430\\u043f\\u0435\\u043d\\u043a\\u043e\\u0432\\u0430 \\u042e\\u043b\\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\":\"373068927892\",\"\\u0410\\u0434\\u0440\\u0435\\u0441\":\"str Scinoasa deal 2\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Vlad Bitca\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\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\":\"07.08.2026\",\"\\u041d\\u043e\\u043c\\u0435\\u0440\":\"817\"},\"document\":{\"Date\":\"07.08.2026\",\"Number\":\"817\"}}}","edit":true}} {"uid":"983c312"}
[2026-08-07 08:28:30] docflow.DEBUG: GAS raw response {"raw":"[object] (stdClass: {\"code\":1,\"url\":\"https://docs.google.com/open?id=1UWcblssnPgCrJ_Scra0vTCrVrkj2iYkeLoAngbqMHsA\",\"file_id\":\"1UWcblssnPgCrJ_Scra0vTCrVrkj2iYkeLoAngbqMHsA\",\"error\":\"\",\"vars\":\"\"})"} {"uid":"983c312"}
[2026-08-07 08:28:30] docflow.WARNING: AmoDrive generated-file move is not ready. {"fileId":"1UWcblssnPgCrJ_Scra0vTCrVrkj2iYkeLoAngbqMHsA","context":null} {"uid":"983c312"}
[2026-08-07 08:28:32] docflow.INFO: Apel createDoc {"data":{"amoAccountId":"32990686","amoUserId":null,"amoEntityId":"47551613","amoEntityType":"2","templateId":"11646","corporateEntityId":"","settlementAccountId":"","is_signed":null,"gdi":null,"number":null,"currentAmoUserId":null,"lang":"ru"}} {"uid":"4c2f5a1"}
[2026-08-07 08:28:32] docflow.INFO: Token is valid for account 32990686. [] {"uid":"4c2f5a1"}
[2026-08-07 08:28:32] docflow.DEBUG: getClientAuth returned {"auth":"[object] (stdClass: {\"domain\":\"eurosanteh.amocrm.ru\",\"access_token\":\"eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImp0aSI6ImJlZjEzOTFjYzJiYzA0NTkxYmFkYTc4OTdmNWU4OGIzYTEwMWZkNTA2NTg2M2E5Y2UxN2IzOGQ2ZmNjMjUwZmE0MTZhNWE3ZDVlMWUwMDU5In0.eyJhdWQiOiIwZDY0ZGZmYi1lNTRiLTQ0OGYtOWZiZi1iYWYyMjUxYTExZGIiLCJqdGkiOiJiZWYxMzkxY2MyYmMwNDU5MWJhZGE3ODk3ZjVlODhiM2ExMDFmZDUwNjU4NjNhOWNlMTdiMzhkNmZjYzI1MGZhNDE2YTVhN2Q1ZTFlMDA1OSIsImlhdCI6MTc4NTk5NDI4OCwibmJmIjoxNzg1OTk0Mjg4LCJleHAiOjE3ODYwODA2ODgsInN1YiI6IjEzNjg3MzAyIiwiZ3JhbnRfdHlwZSI6IiIsImFjY291bnRfaWQiOjMyOTkwNjg2LCJiYXNlX2RvbWFpbiI6ImFtb2NybS5ydSIsInZlcnNpb24iOjIsInNjb3BlcyI6WyJwdXNoX25vdGlmaWNhdGlvbnMiLCJjcm0iLCJub3RpZmljYXRpb25zIl0sImhhc2hfdXVpZCI6IjBmZmI4NTFhLTg4NjUtNDJjYi05OGIyLWMzZmM3MjcyMWQ3NyIsImFwaV9kb21haW4iOiJhcGktYi5hbW9jcm0ucnUifQ.EfLufphFpRqAf8v25Yrhz-WyZm-sesWKHlRAp9geI7y_Sp899uNxGok6N4M0nofssC-4AzTN1_Bl16Hnwlb-7weogvhJ84eLQs-E2_GhWfTnRA5zmKvCWdXU9mozz9rJxDKNAwJRKb90MGUPuX_SrLgtBNK6bgyafW9WMYp3m4zPCdMh5iOJv6_Jo8rG56hx1XDH7m9MhBocMe20rTX7gldIEdMh3U0gcXuJICVVAkEoYoLhryJ89KI3OWz8BPqPSelTVnnjEgocNLJb4V8Mn8cgRibQw6tulPJ0ZPKzmdyIZxcoFBiGSlK3WgpwI_zkDMNyj54n8OU0LqhrXJzdpg\"})","file":"/home/ytvmclwh/document.amocrm.md/src/Models/Docs.php","line":121} {"uid":"4c2f5a1"}
[2026-08-07 08:28:34] docflow.DEBUG: AmoDrive docflow context request {"url":"https://google.emale.uno/api/docflow/google-context","query":{"account_id":"32990686","entity_id":"47551613","entity_type":"leads"}} {"uid":"4c2f5a1"}
[2026-08-07 08:28:34] docflow.WARNING: AmoDrive docflow context request failed {"url":"https://google.emale.uno/api/docflow/google-context","http_code":null,"error":"HTTP/2 400 ","response":"<!DOCTYPE HTML PUBLIC \"-//IETF//DTD HTML 2.0//EN\">\r\n<html>\r\n<head><title>400 Bad Request</title></head>\r\n<body>\r\n<center><h1>400 Bad Request</h1></center>\r\n Sorry for the inconvenience.<br/>\r\nPlease report this message and include the following information to us.<br/>\r\nThank you very much!</p>\r\n<table>\r\n<tr>\r\n<td>URL:</td>\r\n<td>https://gd.glucose-dev.online/api/docflow/google-context?account_id=32990686&amp;entity_id=47551613&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/08/07 08:28:34</td>\r\n</tr>\r\n</table>\r\n<hr><center>tengine</center>\r\n</body>\r\n</html>\r\n"} {"uid":"4c2f5a1"}
[2026-08-07 08:28:34] docflow.DEBUG: AmoDrive docflow context request {"url":"https://gd.glucose-dev.online/api/docflow/google-context","query":{"account_id":"32990686","entity_id":"47551613","entity_type":"leads"}} {"uid":"4c2f5a1"}
[2026-08-07 08:28:34] docflow.WARNING: AmoDrive docflow context response is not ready, trying next backend. {"url":"https://gd.glucose-dev.online/api/docflow/google-context","payload":{"ok":true,"accountId":32990686,"entityId":"47551613","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":"4c2f5a1"}
[2026-08-07 08:28:34] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://google.emale.uno/api/docflow/prepare-generated-doc","payload":{"account_id":"32990686","entity_id":"47551613","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"4c2f5a1"}
[2026-08-07 08:28:34] docflow.WARNING: AmoDrive prepare-generated-doc request failed {"url":"https://google.emale.uno/api/docflow/prepare-generated-doc","http_code":null,"error":"HTTP/2 400 ","response":"<!DOCTYPE HTML PUBLIC \"-//IETF//DTD HTML 2.0//EN\">\r\n<html>\r\n<head><title>400 Bad Request</title></head>\r\n<body>\r\n<center><h1>400 Bad Request</h1></center>\r\n Sorry for the inconvenience.<br/>\r\nPlease report this message and include the following information to us.<br/>\r\nThank you very much!</p>\r\n<table>\r\n<tr>\r\n<td>URL:</td>\r\n<td>https://gd.glucose-dev.online/api/docflow/prepare-generated-doc</td>\r\n</tr>\r\n<tr>\r\n<td>Server:</td>\r\n<td>mail.glucose-dev.online</td>\r\n</tr>\r\n<tr>\r\n<td>Date:</td>\r\n<td>2026/08/07 08:28:34</td>\r\n</tr>\r\n</table>\r\n<hr><center>tengine</center>\r\n</body>\r\n</html>\r\n","payload":{"account_id":"32990686","entity_id":"47551613","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"4c2f5a1"}
[2026-08-07 08:28:34] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://gd.glucose-dev.online/api/docflow/prepare-generated-doc","payload":{"account_id":"32990686","entity_id":"47551613","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"4c2f5a1"}
[2026-08-07 08:28:34] docflow.WARNING: AmoDrive prepare-generated-doc request failed {"url":"https://gd.glucose-dev.online/api/docflow/prepare-generated-doc","http_code":null,"error":"HTTP/2 404 ","response":"[object] (stdClass: {\"ok\":false,\"error\":\"AmoDrive is not installed for this account.\",\"accountId\":32990686})","payload":{"account_id":"32990686","entity_id":"47551613","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"4c2f5a1"}
[2026-08-07 08:28:34] 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 817 20260807082834\",\"leadId\":\"47551613\",\"entities\":{\"\\u0441\\u0434\\u0435\\u043b\\u043a\\u0430\":{\"\\u0414\\u0430\\u0442\\u0430 \\u0438 \\u0432\\u0440\\u0435\\u043c\\u044f \\u0432\\u0438\\u0437\\u0438\\u0442\\u0430\":\"2026-08-07 08:27:00\",\"\\u0414\\u0430\\u0442\\u0430 \\u0432\\u0438\\u0437\\u0438\\u0442\\u0430\":\"07.08.2026\",\"\\u0418\\u0441\\u043f\\u043e\\u043b\\u043d\\u0438\\u0442\\u0435\\u043b\\u044c\":\"Ghenadie Tiuhtii\",\"\\u0426\\u0435\\u043b\\u044c \\u0432\\u044b\\u0435\\u0437\\u0434\\u0430\":\"\\u0414\\u0438\\u0430\\u0433\\u043d\\u043e\\u0441\\u0442\\u0438\\u043a\\u0430\",\"\\u0412\\u0438\\u0434 \\u0432\\u044b\\u043f\\u043e\\u043b\\u043d\\u0435\\u043d\\u043d\\u044b\\u0445 \\u0440\\u0430\\u0431\\u043e\\u0442\":\"\\u0414\\u0438\\u0430\\u0433\\u043d\\u043e\\u0441\\u0442\\u0438\\u043a\\u0430 \\u0441\\u043f\\u043b\\u0438\\u0442-\\u0441\\u0438\\u0441\\u0442\\u0435\\u043c \\u0438 \\u0434\\u0440\\u0443\\u0433\\u0438\\u0445 \\u0442\\u0438\\u043f\\u043e\\u0432 \\u043a\\u043e\\u043d\\u0434\\u0438\\u0446\\u0438\\u043e\\u043d\\u0435\\u0440\\u043e\\u0432\",\"ID\":\"47551613\",\"\\u0421\\u0434\\u0435\\u043b\\u043a\\u0430_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"\\u0414\\u0438\\u0430\\u0433\\u043d\\u043e\\u0441\\u0442\\u0438\\u043a\\u0430\",\"Lead_name\":\"\\u0414\\u0438\\u0430\\u0433\\u043d\\u043e\\u0441\\u0442\\u0438\\u043a\\u0430\",\"\\u0411\\u044e\\u0434\\u0436\\u0435\\u0442\":\"0\",\"Budget\":\"0\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"\\u0410\\u0441\\u0442\\u0430\\u043f\\u0435\\u043d\\u043a\\u043e\\u0432\\u0430 \\u042e\\u043b\\u0438\\u0430\\u043d\\u043d\\u0430\",\"Responsible\":\"\\u0410\\u0441\\u0442\\u0430\\u043f\\u0435\\u043d\\u043a\\u043e\\u0432\\u0430 \\u042e\\u043b\\u0438\\u0430\\u043d\\u043d\\u0430\"},\"lead\":{\"\\u0414\\u0430\\u0442\\u0430 \\u0438 \\u0432\\u0440\\u0435\\u043c\\u044f \\u0432\\u0438\\u0437\\u0438\\u0442\\u0430\":\"2026-08-07 08:27:00\",\"\\u0414\\u0430\\u0442\\u0430 \\u0432\\u0438\\u0437\\u0438\\u0442\\u0430\":\"07.08.2026\",\"\\u0418\\u0441\\u043f\\u043e\\u043b\\u043d\\u0438\\u0442\\u0435\\u043b\\u044c\":\"Ghenadie Tiuhtii\",\"\\u0426\\u0435\\u043b\\u044c \\u0432\\u044b\\u0435\\u0437\\u0434\\u0430\":\"\\u0414\\u0438\\u0430\\u0433\\u043d\\u043e\\u0441\\u0442\\u0438\\u043a\\u0430\",\"\\u0412\\u0438\\u0434 \\u0432\\u044b\\u043f\\u043e\\u043b\\u043d\\u0435\\u043d\\u043d\\u044b\\u0445 \\u0440\\u0430\\u0431\\u043e\\u0442\":\"\\u0414\\u0438\\u0430\\u0433\\u043d\\u043e\\u0441\\u0442\\u0438\\u043a\\u0430 \\u0441\\u043f\\u043b\\u0438\\u0442-\\u0441\\u0438\\u0441\\u0442\\u0435\\u043c \\u0438 \\u0434\\u0440\\u0443\\u0433\\u0438\\u0445 \\u0442\\u0438\\u043f\\u043e\\u0432 \\u043a\\u043e\\u043d\\u0434\\u0438\\u0446\\u0438\\u043e\\u043d\\u0435\\u0440\\u043e\\u0432\",\"ID\":\"47551613\",\"\\u0421\\u0434\\u0435\\u043b\\u043a\\u0430_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"\\u0414\\u0438\\u0430\\u0433\\u043d\\u043e\\u0441\\u0442\\u0438\\u043a\\u0430\",\"Lead_name\":\"\\u0414\\u0438\\u0430\\u0433\\u043d\\u043e\\u0441\\u0442\\u0438\\u043a\\u0430\",\"\\u0411\\u044e\\u0434\\u0436\\u0435\\u0442\":\"0\",\"Budget\":\"0\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"\\u0410\\u0441\\u0442\\u0430\\u043f\\u0435\\u043d\\u043a\\u043e\\u0432\\u0430 \\u042e\\u043b\\u0438\\u0430\\u043d\\u043d\\u0430\",\"Responsible\":\"\\u0410\\u0441\\u0442\\u0430\\u043f\\u0435\\u043d\\u043a\\u043e\\u0432\\u0430 \\u042e\\u043b\\u0438\\u0430\\u043d\\u043d\\u0430\"},\"\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442\":{\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"373068927892\",\"\\u0410\\u0434\\u0440\\u0435\\u0441\":\"str Scinoasa deal 2\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Vlad Bitca\",\"Contact_name\":\"Vlad Bitca\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"\\u0410\\u0441\\u0442\\u0430\\u043f\\u0435\\u043d\\u043a\\u043e\\u0432\\u0430 \\u042e\\u043b\\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\":\"373068927892\",\"\\u0410\\u0434\\u0440\\u0435\\u0441\":\"str Scinoasa deal 2\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Vlad Bitca\",\"Contact_name\":\"Vlad Bitca\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"\\u0410\\u0441\\u0442\\u0430\\u043f\\u0435\\u043d\\u043a\\u043e\\u0432\\u0430 \\u042e\\u043b\\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\":\"373068927892\",\"\\u0410\\u0434\\u0440\\u0435\\u0441\":\"str Scinoasa deal 2\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Vlad Bitca\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\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\":\"07.08.2026\",\"\\u041d\\u043e\\u043c\\u0435\\u0440\":\"817\"},\"document\":{\"Date\":\"07.08.2026\",\"Number\":\"817\"}}}","edit":true}} {"uid":"4c2f5a1"}
[2026-08-07 08:28:39] docflow.DEBUG: GAS raw response {"raw":"[object] (stdClass: {\"code\":1,\"url\":\"https://docs.google.com/open?id=13lwL8iXVzPEL-Rp7Fe_Mh2_huUX9rOS9lpKlHuqNEqw\",\"file_id\":\"13lwL8iXVzPEL-Rp7Fe_Mh2_huUX9rOS9lpKlHuqNEqw\",\"error\":\"\",\"vars\":\"\"})"} {"uid":"4c2f5a1"}
[2026-08-07 08:28:39] docflow.WARNING: AmoDrive generated-file move is not ready. {"fileId":"13lwL8iXVzPEL-Rp7Fe_Mh2_huUX9rOS9lpKlHuqNEqw","context":null} {"uid":"4c2f5a1"}
[2026-08-07 09:11:47] docflow.INFO: Apel createDoc {"data":{"amoAccountId":"22699852","amoUserId":null,"amoEntityId":"42478744","amoEntityType":"2","templateId":"11485","corporateEntityId":"","settlementAccountId":"","is_signed":null,"gdi":null,"number":null,"currentAmoUserId":null,"lang":"ru"}} {"uid":"5e73b9f"}
[2026-08-07 09:11:47] docflow.INFO: Token validation failed for account 22699852. Refreshing... {"http_code":null,"error_message":"HTTP/2 401 "} {"uid":"5e73b9f"}
[2026-08-07 09:11:47] docflow.INFO: Attempting token refresh with payload: {"client_id":"0d64dffb-e54b-448f-9fbf-baf2251a11db","client_secret":"AXqHrT1J35SilTTtI3yyaHdQKiS5bonhySaPYkLmo7mR6ZZ9zDP24dUjG189VG9G","grant_type":"refresh_token","refresh_token":"def50200945180cc3d6042d757877ab2a0dc3b11841f8184a05d9c6d4d0bad56371c46d827a6683858a90c0f4504f749b1f60f6c01471d57eb4a6de74bc8799b3af8096fbe64673af9bfbf26156f7e6843937d3bbdbf07440a8924819d4699c28cfeeaa0e945f96b82863700828cd36f1306a94caf29c59e82e5a9ffd0f66d7ba492287184edfb8885a36c89a970eb3a9bc9db64cacff9d79b4f6215b56407a84d462ffcbb44ef54da479aa90352a2ef05b6b3c12a0f9c069d8276fc283ac0f7dc995d6d8a2aa090ded904206483f98e822805ea80c9f81ada1a2e6d1c5b9576e637f1230b97911a344dcf99a6d0d5a41f226b9187922cdf61766ae9e8a2fc47c9d5ddc99fa9c704dd1bd2bb2f728c6785b8cf395f2b72712991753c3f6fa0eaebe41cf6a69e09839ccdcdd655609add03b1b5ca2c345f60b4910cf9cac95d2ac8ba089fa8d4339fdf598f2838ca80d9a94e14e6845bee1c50761000fccf4332ee6efc9b25b9fb919d1e0ccac997315bae8c0a222fc2513d93ec631a2e2f369a3b730ab46296c692295c1211164b7560c19bbb0a199c0a703ef2bd82e2a54d01272df774180f2aac3baf23ade06bb458d2bbfdd8f37a5ce40e47de1b18294e5e9dd7b82ca332c3741282dd03001b5c79d84cc5fbdc65","redirect_uri":"https://document.amocrm.md/core/manager/install.php"} {"uid":"5e73b9f"}
[2026-08-07 09:11:48] docflow.INFO: Token for account 22699852 refreshed successfully. [] {"uid":"5e73b9f"}
[2026-08-07 09:11:48] docflow.DEBUG: getClientAuth returned {"auth":"[object] (stdClass: {\"domain\":\"emigrare.amocrm.ru\",\"access_token\":\"eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImp0aSI6ImMyNzMxNzA5YWNlYjQ3YTZiMjRjOWM4N2Y0ODZlYzY0MmViMGZlMzc0OTZlNjJiOTY5YjYwNzA5ODVmNzAyNDViMmU1OGNjMDc5ZGZjNGZmIn0.eyJhdWQiOiIwZDY0ZGZmYi1lNTRiLTQ0OGYtOWZiZi1iYWYyMjUxYTExZGIiLCJqdGkiOiJjMjczMTcwOWFjZWI0N2E2YjI0YzljODdmNDg2ZWM2NDJlYjBmZTM3NDk2ZTYyYjk2OWI2MDcwOTg1ZjcwMjQ1YjJlNThjYzA3OWRmYzRmZiIsImlhdCI6MTc4NjA4MzEwOCwibmJmIjoxNzg2MDgzMTA4LCJleHAiOjE3ODYxNjk1MDgsInN1YiI6IjI5MzAzODAiLCJncmFudF90eXBlIjoiIiwiYWNjb3VudF9pZCI6MjI2OTk4NTIsImJhc2VfZG9tYWluIjoiYW1vY3JtLnJ1IiwidmVyc2lvbiI6Miwic2NvcGVzIjpbInB1c2hfbm90aWZpY2F0aW9ucyIsImNybSIsIm5vdGlmaWNhdGlvbnMiXSwiaGFzaF91dWlkIjoiYWZiMjc1MmItYmEyMC00ODA5LWExYzItNGM2NTVhNzJjZmVkIiwiYXBpX2RvbWFpbiI6ImFwaS1hLmFtb2NybS5ydSJ9.NYT7VRx9Gk69Gf89Vi-Ye8qoEe6m4X2r6rt_ieHd7XcTlTvdfXxeoiDraoY0Kl_1wZsukjBQIHhosYjvCWDgz-mceKssDr3lrjutg4P3x1XLUBO2ChLA0E3faDA18p_Lza8FhLJkRyG0qxt8vAbgxRdrGDDyyWBRIljC6-Cb4YzJ198ovx01C9nglI8o4kqUEj8rPYeKgDIgvRqgpNEse0thuKswZpnw3c-lYv1PuaqguqoOx1qD6XbXMWevRQuzwQ9JkSNN7pE_U_8M8iIMIzcfxqG1A_TqsbfbZzCD5b9px0JPhNSxZCH3L3b9_B90D9MlYGe7miIYOd7Py_82rg\"})","file":"/home/ytvmclwh/document.amocrm.md/src/Models/Docs.php","line":121} {"uid":"5e73b9f"}
[2026-08-07 09:11:51] docflow.DEBUG: AmoDrive docflow context request {"url":"https://google.emale.uno/api/docflow/google-context","query":{"account_id":"22699852","entity_id":"42478744","entity_type":"leads"}} {"uid":"5e73b9f"}
[2026-08-07 09:11:51] 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=42478744&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/08/07 09:11:51</td>\r\n</tr>\r\n</table>\r\n<hr><center>tengine</center>\r\n</body>\r\n</html>\r\n"} {"uid":"5e73b9f"}
[2026-08-07 09:11:51] docflow.DEBUG: AmoDrive docflow context request {"url":"https://gd.glucose-dev.online/api/docflow/google-context","query":{"account_id":"22699852","entity_id":"42478744","entity_type":"leads"}} {"uid":"5e73b9f"}
[2026-08-07 09:11: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":22699852,"entityId":"42478744","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":379,"isLifetime":false},"licenseActive":false,"googleConnected":false,"googleEmail":null,"googleHasDriveScope":false,"googleHasDriveFileScope":false,"googleHasOwnershipScope":false,"readyForGeneratedFileMove":false,"readyForTransfer":false},"folder":{"id":"1AATslmHakT8LI2aEiuv4nJf-5yF3sSaq","name":"42478744 - Lead #42478744","webViewLink":"https://drive.google.com/drive/folders/1AATslmHakT8LI2aEiuv4nJf-5yF3sSaq"}}} {"uid":"5e73b9f"}
[2026-08-07 09:11:51] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://google.emale.uno/api/docflow/prepare-generated-doc","payload":{"account_id":"22699852","entity_id":"42478744","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"5e73b9f"}
[2026-08-07 09:11: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/08/07 09:11: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":"22699852","entity_id":"42478744","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"5e73b9f"}
[2026-08-07 09:11:51] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://gd.glucose-dev.online/api/docflow/prepare-generated-doc","payload":{"account_id":"22699852","entity_id":"42478744","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"5e73b9f"}
[2026-08-07 09:11: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\":22699852})","payload":{"account_id":"22699852","entity_id":"42478744","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"5e73b9f"}
[2026-08-07 09:11:51] docflow.DEBUG: GAS request {"url":"https://script.google.com/macros/s/AKfycbwrvOJD46zkuoTzdhpc1kulhV8jRfgQBFZfQ121nkIip_k8yKit4xrbWTOzaJ-C-Yed6w/exec","body":{"templateFileId":"15XlQFe18qRn3JBpjzXRF7QxAMRNgQmxW3EKh7kEO9wI","accountId":"22699852","folderId":"1Us2AfskxgdA729xVr0F2vjZU9y5PlYDe","key":"~VTsK5dcnHc2cSSsjM$LFSjLlgbmJXwrp3R2P5nd","data":"{\"fileName\":\"Repatriere 498 20260807091151\",\"leadId\":\"42478744\",\"entities\":{\"\\u0441\\u0434\\u0435\\u043b\\u043a\\u0430\":{\"#Manager Front\":\"Capanji Igor\",\"Urm\\u0103torul contact\":\"2026-08-07 09:05:00\",\"Mod achitare\":\"Cash\",\"Suma avans\":\"1500\",\"Manager Juridic\":\"Dascal Anatolie\",\"#Manager Jurist\":\"Dascal Anatolie\",\"ID\":\"42478744\",\"\\u0421\\u0434\\u0435\\u043b\\u043a\\u0430_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"PS (Daria Matviienko)\",\"Lead_name\":\"PS (Daria Matviienko)\",\"\\u0411\\u044e\\u0434\\u0436\\u0435\\u0442\":\"1500\",\"Budget\":\"1500\",\"\\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-08-07 09:05:00\",\"Mod achitare\":\"Cash\",\"Suma avans\":\"1500\",\"Manager Juridic\":\"Dascal Anatolie\",\"#Manager Jurist\":\"Dascal Anatolie\",\"ID\":\"42478744\",\"\\u0421\\u0434\\u0435\\u043b\\u043a\\u0430_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"PS (Daria Matviienko)\",\"Lead_name\":\"PS (Daria Matviienko)\",\"\\u0411\\u044e\\u0434\\u0436\\u0435\\u0442\":\"1500\",\"Budget\":\"1500\",\"\\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\":\"0037368888085\",\"Limba vorbita\":\"Rusa\",\"Email\":\"boss4@ukr.net\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Vladimir Matviienko\",\"Contact_name\":\"Vladimir Matviienko\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"Dacin Cristina\",\"Responsible\":\"Dacin Cristina\"},\"contact\":{\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"0037368888085\",\"Limba vorbita\":\"Rusa\",\"Email\":\"boss4@ukr.net\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Vladimir Matviienko\",\"Contact_name\":\"Vladimir Matviienko\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"Dacin Cristina\",\"Responsible\":\"Dacin Cristina\"},\"\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442\\u044b\":[{\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"0037368888085\",\"Limba vorbita\":\"Rusa\",\"Email\":\"boss4@ukr.net\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Vladimir Matviienko\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"Dacin Cristina\"}],\"\\u0434\\u043e\\u043a\\u0443\\u043c\\u0435\\u043d\\u0442\":{\"\\u0414\\u0430\\u0442\\u0430\":\"07.08.2026\",\"\\u041d\\u043e\\u043c\\u0435\\u0440\":\"498\"},\"document\":{\"Date\":\"07.08.2026\",\"Number\":\"498\"}}}","edit":true}} {"uid":"5e73b9f"}
[2026-08-07 09:11:57] docflow.DEBUG: GAS raw response {"raw":"[object] (stdClass: {\"code\":1,\"url\":\"https://docs.google.com/open?id=1cNKDoZK7cgx1NExIrpjPgMVxAtU4gOtqb40LWm1FgNU\",\"file_id\":\"1cNKDoZK7cgx1NExIrpjPgMVxAtU4gOtqb40LWm1FgNU\",\"error\":\"\",\"vars\":\"\"})"} {"uid":"5e73b9f"}
[2026-08-07 09:11:57] docflow.WARNING: AmoDrive generated-file move is not ready. {"fileId":"1cNKDoZK7cgx1NExIrpjPgMVxAtU4gOtqb40LWm1FgNU","context":null} {"uid":"5e73b9f"}
[2026-08-07 09:13:16] docflow.INFO: Apel createDoc {"data":{"amoAccountId":"22699852","amoUserId":null,"amoEntityId":"42478744","amoEntityType":"2","templateId":"11484","corporateEntityId":"","settlementAccountId":"","is_signed":null,"gdi":null,"number":null,"currentAmoUserId":null,"lang":"ru"}} {"uid":"66b2184"}
[2026-08-07 09:13:16] docflow.INFO: Token is valid for account 22699852. [] {"uid":"66b2184"}
[2026-08-07 09:13:16] docflow.DEBUG: getClientAuth returned {"auth":"[object] (stdClass: {\"domain\":\"emigrare.amocrm.ru\",\"access_token\":\"eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImp0aSI6ImMyNzMxNzA5YWNlYjQ3YTZiMjRjOWM4N2Y0ODZlYzY0MmViMGZlMzc0OTZlNjJiOTY5YjYwNzA5ODVmNzAyNDViMmU1OGNjMDc5ZGZjNGZmIn0.eyJhdWQiOiIwZDY0ZGZmYi1lNTRiLTQ0OGYtOWZiZi1iYWYyMjUxYTExZGIiLCJqdGkiOiJjMjczMTcwOWFjZWI0N2E2YjI0YzljODdmNDg2ZWM2NDJlYjBmZTM3NDk2ZTYyYjk2OWI2MDcwOTg1ZjcwMjQ1YjJlNThjYzA3OWRmYzRmZiIsImlhdCI6MTc4NjA4MzEwOCwibmJmIjoxNzg2MDgzMTA4LCJleHAiOjE3ODYxNjk1MDgsInN1YiI6IjI5MzAzODAiLCJncmFudF90eXBlIjoiIiwiYWNjb3VudF9pZCI6MjI2OTk4NTIsImJhc2VfZG9tYWluIjoiYW1vY3JtLnJ1IiwidmVyc2lvbiI6Miwic2NvcGVzIjpbInB1c2hfbm90aWZpY2F0aW9ucyIsImNybSIsIm5vdGlmaWNhdGlvbnMiXSwiaGFzaF91dWlkIjoiYWZiMjc1MmItYmEyMC00ODA5LWExYzItNGM2NTVhNzJjZmVkIiwiYXBpX2RvbWFpbiI6ImFwaS1hLmFtb2NybS5ydSJ9.NYT7VRx9Gk69Gf89Vi-Ye8qoEe6m4X2r6rt_ieHd7XcTlTvdfXxeoiDraoY0Kl_1wZsukjBQIHhosYjvCWDgz-mceKssDr3lrjutg4P3x1XLUBO2ChLA0E3faDA18p_Lza8FhLJkRyG0qxt8vAbgxRdrGDDyyWBRIljC6-Cb4YzJ198ovx01C9nglI8o4kqUEj8rPYeKgDIgvRqgpNEse0thuKswZpnw3c-lYv1PuaqguqoOx1qD6XbXMWevRQuzwQ9JkSNN7pE_U_8M8iIMIzcfxqG1A_TqsbfbZzCD5b9px0JPhNSxZCH3L3b9_B90D9MlYGe7miIYOd7Py_82rg\"})","file":"/home/ytvmclwh/document.amocrm.md/src/Models/Docs.php","line":121} {"uid":"66b2184"}
[2026-08-07 09:13:19] docflow.DEBUG: AmoDrive docflow context request {"url":"https://google.emale.uno/api/docflow/google-context","query":{"account_id":"22699852","entity_id":"42478744","entity_type":"leads"}} {"uid":"66b2184"}
[2026-08-07 09:13:19] docflow.WARNING: AmoDrive docflow context request failed {"url":"https://google.emale.uno/api/docflow/google-context","http_code":null,"error":"HTTP/2 400 ","response":"<!DOCTYPE HTML PUBLIC \"-//IETF//DTD HTML 2.0//EN\">\r\n<html>\r\n<head><title>400 Bad Request</title></head>\r\n<body>\r\n<center><h1>400 Bad Request</h1></center>\r\n Sorry for the inconvenience.<br/>\r\nPlease report this message and include the following information to us.<br/>\r\nThank you very much!</p>\r\n<table>\r\n<tr>\r\n<td>URL:</td>\r\n<td>https://gd.glucose-dev.online/api/docflow/google-context?account_id=22699852&amp;entity_id=42478744&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/08/07 09:13:20</td>\r\n</tr>\r\n</table>\r\n<hr><center>tengine</center>\r\n</body>\r\n</html>\r\n"} {"uid":"66b2184"}
[2026-08-07 09:13:19] docflow.DEBUG: AmoDrive docflow context request {"url":"https://gd.glucose-dev.online/api/docflow/google-context","query":{"account_id":"22699852","entity_id":"42478744","entity_type":"leads"}} {"uid":"66b2184"}
[2026-08-07 09:13:19] docflow.WARNING: AmoDrive docflow context response is not ready, trying next backend. {"url":"https://gd.glucose-dev.online/api/docflow/google-context","payload":{"ok":true,"accountId":22699852,"entityId":"42478744","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":379,"isLifetime":false},"licenseActive":false,"googleConnected":false,"googleEmail":null,"googleHasDriveScope":false,"googleHasDriveFileScope":false,"googleHasOwnershipScope":false,"readyForGeneratedFileMove":false,"readyForTransfer":false},"folder":{"id":"1AATslmHakT8LI2aEiuv4nJf-5yF3sSaq","name":"42478744 - Lead #42478744","webViewLink":"https://drive.google.com/drive/folders/1AATslmHakT8LI2aEiuv4nJf-5yF3sSaq"}}} {"uid":"66b2184"}
[2026-08-07 09:13:19] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://google.emale.uno/api/docflow/prepare-generated-doc","payload":{"account_id":"22699852","entity_id":"42478744","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"66b2184"}
[2026-08-07 09:13: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/08/07 09:13:20</td>\r\n</tr>\r\n</table>\r\n<hr><center>tengine</center>\r\n</body>\r\n</html>\r\n","payload":{"account_id":"22699852","entity_id":"42478744","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"66b2184"}
[2026-08-07 09:13:19] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://gd.glucose-dev.online/api/docflow/prepare-generated-doc","payload":{"account_id":"22699852","entity_id":"42478744","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"66b2184"}
[2026-08-07 09:13:19] docflow.WARNING: AmoDrive prepare-generated-doc request failed {"url":"https://gd.glucose-dev.online/api/docflow/prepare-generated-doc","http_code":null,"error":"HTTP/2 404 ","response":"[object] (stdClass: {\"ok\":false,\"error\":\"AmoDrive is not installed for this account.\",\"accountId\":22699852})","payload":{"account_id":"22699852","entity_id":"42478744","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"66b2184"}
[2026-08-07 09:13:19] 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 935 20260807091319\",\"leadId\":\"42478744\",\"entities\":{\"\\u0441\\u0434\\u0435\\u043b\\u043a\\u0430\":{\"#Manager Front\":\"Capanji Igor\",\"Urm\\u0103torul contact\":\"2026-08-07 09:05:00\",\"Mod achitare\":\"Cash\",\"Suma avans\":\"1500\",\"Manager Juridic\":\"Dascal Anatolie\",\"#Manager Jurist\":\"Dascal Anatolie\",\"ID\":\"42478744\",\"\\u0421\\u0434\\u0435\\u043b\\u043a\\u0430_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"PS (Daria Matviienko)\",\"Lead_name\":\"PS (Daria Matviienko)\",\"\\u0411\\u044e\\u0434\\u0436\\u0435\\u0442\":\"1500\",\"Budget\":\"1500\",\"\\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-08-07 09:05:00\",\"Mod achitare\":\"Cash\",\"Suma avans\":\"1500\",\"Manager Juridic\":\"Dascal Anatolie\",\"#Manager Jurist\":\"Dascal Anatolie\",\"ID\":\"42478744\",\"\\u0421\\u0434\\u0435\\u043b\\u043a\\u0430_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"PS (Daria Matviienko)\",\"Lead_name\":\"PS (Daria Matviienko)\",\"\\u0411\\u044e\\u0434\\u0436\\u0435\\u0442\":\"1500\",\"Budget\":\"1500\",\"\\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\":\"0037368888085\",\"Limba vorbita\":\"Rusa\",\"Email\":\"boss4@ukr.net\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Vladimir Matviienko\",\"Contact_name\":\"Vladimir Matviienko\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"Dacin Cristina\",\"Responsible\":\"Dacin Cristina\"},\"contact\":{\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"0037368888085\",\"Limba vorbita\":\"Rusa\",\"Email\":\"boss4@ukr.net\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Vladimir Matviienko\",\"Contact_name\":\"Vladimir Matviienko\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"Dacin Cristina\",\"Responsible\":\"Dacin Cristina\"},\"\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442\\u044b\":[{\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"0037368888085\",\"Limba vorbita\":\"Rusa\",\"Email\":\"boss4@ukr.net\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Vladimir Matviienko\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"Dacin Cristina\"}],\"\\u0434\\u043e\\u043a\\u0443\\u043c\\u0435\\u043d\\u0442\":{\"\\u0414\\u0430\\u0442\\u0430\":\"07.08.2026\",\"\\u041d\\u043e\\u043c\\u0435\\u0440\":\"935\"},\"document\":{\"Date\":\"07.08.2026\",\"Number\":\"935\"}}}","edit":true}} {"uid":"66b2184"}
[2026-08-07 09:13:26] docflow.DEBUG: GAS raw response {"raw":"[object] (stdClass: {\"code\":1,\"url\":\"https://docs.google.com/open?id=1jNJy5YKCWLRGO3XnIptbLXz6h6MQA8Y3vd4REXStYZY\",\"file_id\":\"1jNJy5YKCWLRGO3XnIptbLXz6h6MQA8Y3vd4REXStYZY\",\"error\":\"\",\"vars\":\"\"})"} {"uid":"66b2184"}
[2026-08-07 09:13:26] docflow.WARNING: AmoDrive generated-file move is not ready. {"fileId":"1jNJy5YKCWLRGO3XnIptbLXz6h6MQA8Y3vd4REXStYZY","context":null} {"uid":"66b2184"}
[2026-08-07 09:21:25] docflow.INFO: Apel createDoc {"data":{"amoAccountId":"22699852","amoUserId":null,"amoEntityId":"42478744","amoEntityType":"2","templateId":"11500","corporateEntityId":"","settlementAccountId":"","is_signed":null,"gdi":null,"number":null,"currentAmoUserId":null,"lang":"ru"}} {"uid":"9b5f00c"}
[2026-08-07 09:21:25] docflow.INFO: Token is valid for account 22699852. [] {"uid":"9b5f00c"}
[2026-08-07 09:21:25] docflow.DEBUG: getClientAuth returned {"auth":"[object] (stdClass: {\"domain\":\"emigrare.amocrm.ru\",\"access_token\":\"eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImp0aSI6ImMyNzMxNzA5YWNlYjQ3YTZiMjRjOWM4N2Y0ODZlYzY0MmViMGZlMzc0OTZlNjJiOTY5YjYwNzA5ODVmNzAyNDViMmU1OGNjMDc5ZGZjNGZmIn0.eyJhdWQiOiIwZDY0ZGZmYi1lNTRiLTQ0OGYtOWZiZi1iYWYyMjUxYTExZGIiLCJqdGkiOiJjMjczMTcwOWFjZWI0N2E2YjI0YzljODdmNDg2ZWM2NDJlYjBmZTM3NDk2ZTYyYjk2OWI2MDcwOTg1ZjcwMjQ1YjJlNThjYzA3OWRmYzRmZiIsImlhdCI6MTc4NjA4MzEwOCwibmJmIjoxNzg2MDgzMTA4LCJleHAiOjE3ODYxNjk1MDgsInN1YiI6IjI5MzAzODAiLCJncmFudF90eXBlIjoiIiwiYWNjb3VudF9pZCI6MjI2OTk4NTIsImJhc2VfZG9tYWluIjoiYW1vY3JtLnJ1IiwidmVyc2lvbiI6Miwic2NvcGVzIjpbInB1c2hfbm90aWZpY2F0aW9ucyIsImNybSIsIm5vdGlmaWNhdGlvbnMiXSwiaGFzaF91dWlkIjoiYWZiMjc1MmItYmEyMC00ODA5LWExYzItNGM2NTVhNzJjZmVkIiwiYXBpX2RvbWFpbiI6ImFwaS1hLmFtb2NybS5ydSJ9.NYT7VRx9Gk69Gf89Vi-Ye8qoEe6m4X2r6rt_ieHd7XcTlTvdfXxeoiDraoY0Kl_1wZsukjBQIHhosYjvCWDgz-mceKssDr3lrjutg4P3x1XLUBO2ChLA0E3faDA18p_Lza8FhLJkRyG0qxt8vAbgxRdrGDDyyWBRIljC6-Cb4YzJ198ovx01C9nglI8o4kqUEj8rPYeKgDIgvRqgpNEse0thuKswZpnw3c-lYv1PuaqguqoOx1qD6XbXMWevRQuzwQ9JkSNN7pE_U_8M8iIMIzcfxqG1A_TqsbfbZzCD5b9px0JPhNSxZCH3L3b9_B90D9MlYGe7miIYOd7Py_82rg\"})","file":"/home/ytvmclwh/document.amocrm.md/src/Models/Docs.php","line":121} {"uid":"9b5f00c"}
[2026-08-07 09:21:27] docflow.DEBUG: AmoDrive docflow context request {"url":"https://google.emale.uno/api/docflow/google-context","query":{"account_id":"22699852","entity_id":"42478744","entity_type":"leads"}} {"uid":"9b5f00c"}
[2026-08-07 09:21: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=42478744&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/08/07 09:21:28</td>\r\n</tr>\r\n</table>\r\n<hr><center>tengine</center>\r\n</body>\r\n</html>\r\n"} {"uid":"9b5f00c"}
[2026-08-07 09:21:27] docflow.DEBUG: AmoDrive docflow context request {"url":"https://gd.glucose-dev.online/api/docflow/google-context","query":{"account_id":"22699852","entity_id":"42478744","entity_type":"leads"}} {"uid":"9b5f00c"}
[2026-08-07 09:21: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":"42478744","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":379,"isLifetime":false},"licenseActive":false,"googleConnected":false,"googleEmail":null,"googleHasDriveScope":false,"googleHasDriveFileScope":false,"googleHasOwnershipScope":false,"readyForGeneratedFileMove":false,"readyForTransfer":false},"folder":{"id":"1AATslmHakT8LI2aEiuv4nJf-5yF3sSaq","name":"42478744 - Lead #42478744","webViewLink":"https://drive.google.com/drive/folders/1AATslmHakT8LI2aEiuv4nJf-5yF3sSaq"}}} {"uid":"9b5f00c"}
[2026-08-07 09:21:28] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://google.emale.uno/api/docflow/prepare-generated-doc","payload":{"account_id":"22699852","entity_id":"42478744","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"9b5f00c"}
[2026-08-07 09:21: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/08/07 09:21: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":"42478744","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"9b5f00c"}
[2026-08-07 09:21: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":"42478744","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"9b5f00c"}
[2026-08-07 09:21: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":"42478744","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"9b5f00c"}
[2026-08-07 09:21:28] 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 647 20260807092127\",\"leadId\":\"42478744\",\"entities\":{\"\\u0441\\u0434\\u0435\\u043b\\u043a\\u0430\":{\"#Manager Front\":\"Capanji Igor\",\"Urm\\u0103torul contact\":\"2026-08-07 09:05:00\",\"Mod achitare\":\"Cash\",\"Suma avans\":\"1500\",\"Manager Juridic\":\"Dascal Anatolie\",\"#Manager Jurist\":\"Dascal Anatolie\",\"ID\":\"42478744\",\"\\u0421\\u0434\\u0435\\u043b\\u043a\\u0430_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"prelung. PS (Daria Matviienko)\",\"Lead_name\":\"prelung. PS (Daria Matviienko)\",\"\\u0411\\u044e\\u0434\\u0436\\u0435\\u0442\":\"1500\",\"Budget\":\"1500\",\"\\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-08-07 09:05:00\",\"Mod achitare\":\"Cash\",\"Suma avans\":\"1500\",\"Manager Juridic\":\"Dascal Anatolie\",\"#Manager Jurist\":\"Dascal Anatolie\",\"ID\":\"42478744\",\"\\u0421\\u0434\\u0435\\u043b\\u043a\\u0430_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"prelung. PS (Daria Matviienko)\",\"Lead_name\":\"prelung. PS (Daria Matviienko)\",\"\\u0411\\u044e\\u0434\\u0436\\u0435\\u0442\":\"1500\",\"Budget\":\"1500\",\"\\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\":\"0037368888085\",\"Limba vorbita\":\"Rusa\",\"Email\":\"boss4@ukr.net\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Vladimir Matviienko\",\"Contact_name\":\"Vladimir Matviienko\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"Dacin Cristina\",\"Responsible\":\"Dacin Cristina\"},\"contact\":{\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"0037368888085\",\"Limba vorbita\":\"Rusa\",\"Email\":\"boss4@ukr.net\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Vladimir Matviienko\",\"Contact_name\":\"Vladimir Matviienko\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"Dacin Cristina\",\"Responsible\":\"Dacin Cristina\"},\"\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442\\u044b\":[{\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"0037368888085\",\"Limba vorbita\":\"Rusa\",\"Email\":\"boss4@ukr.net\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Vladimir Matviienko\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"Dacin Cristina\"}],\"\\u0434\\u043e\\u043a\\u0443\\u043c\\u0435\\u043d\\u0442\":{\"\\u0414\\u0430\\u0442\\u0430\":\"07.08.2026\",\"\\u041d\\u043e\\u043c\\u0435\\u0440\":\"647\"},\"document\":{\"Date\":\"07.08.2026\",\"Number\":\"647\"}}}","edit":true}} {"uid":"9b5f00c"}
[2026-08-07 09:21:35] docflow.DEBUG: GAS raw response {"raw":"[object] (stdClass: {\"code\":1,\"url\":\"https://docs.google.com/open?id=1lWuvtVhSsVbLDZEvcMjeG9lyHI0ny0Y22iBc7yIKBEc\",\"file_id\":\"1lWuvtVhSsVbLDZEvcMjeG9lyHI0ny0Y22iBc7yIKBEc\",\"error\":\"\",\"vars\":\"\"})"} {"uid":"9b5f00c"}
[2026-08-07 09:21:35] docflow.WARNING: AmoDrive generated-file move is not ready. {"fileId":"1lWuvtVhSsVbLDZEvcMjeG9lyHI0ny0Y22iBc7yIKBEc","context":null} {"uid":"9b5f00c"}
[2026-08-07 09:24:36] docflow.INFO: Apel createDoc {"data":{"amoAccountId":"22699852","amoUserId":null,"amoEntityId":"42049134","amoEntityType":"2","templateId":"11487","corporateEntityId":"","settlementAccountId":"","is_signed":null,"gdi":null,"number":null,"currentAmoUserId":null,"lang":"ru"}} {"uid":"872ef65"}
[2026-08-07 09:24:36] docflow.INFO: Token is valid for account 22699852. [] {"uid":"872ef65"}
[2026-08-07 09:24:36] docflow.DEBUG: getClientAuth returned {"auth":"[object] (stdClass: {\"domain\":\"emigrare.amocrm.ru\",\"access_token\":\"eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImp0aSI6ImMyNzMxNzA5YWNlYjQ3YTZiMjRjOWM4N2Y0ODZlYzY0MmViMGZlMzc0OTZlNjJiOTY5YjYwNzA5ODVmNzAyNDViMmU1OGNjMDc5ZGZjNGZmIn0.eyJhdWQiOiIwZDY0ZGZmYi1lNTRiLTQ0OGYtOWZiZi1iYWYyMjUxYTExZGIiLCJqdGkiOiJjMjczMTcwOWFjZWI0N2E2YjI0YzljODdmNDg2ZWM2NDJlYjBmZTM3NDk2ZTYyYjk2OWI2MDcwOTg1ZjcwMjQ1YjJlNThjYzA3OWRmYzRmZiIsImlhdCI6MTc4NjA4MzEwOCwibmJmIjoxNzg2MDgzMTA4LCJleHAiOjE3ODYxNjk1MDgsInN1YiI6IjI5MzAzODAiLCJncmFudF90eXBlIjoiIiwiYWNjb3VudF9pZCI6MjI2OTk4NTIsImJhc2VfZG9tYWluIjoiYW1vY3JtLnJ1IiwidmVyc2lvbiI6Miwic2NvcGVzIjpbInB1c2hfbm90aWZpY2F0aW9ucyIsImNybSIsIm5vdGlmaWNhdGlvbnMiXSwiaGFzaF91dWlkIjoiYWZiMjc1MmItYmEyMC00ODA5LWExYzItNGM2NTVhNzJjZmVkIiwiYXBpX2RvbWFpbiI6ImFwaS1hLmFtb2NybS5ydSJ9.NYT7VRx9Gk69Gf89Vi-Ye8qoEe6m4X2r6rt_ieHd7XcTlTvdfXxeoiDraoY0Kl_1wZsukjBQIHhosYjvCWDgz-mceKssDr3lrjutg4P3x1XLUBO2ChLA0E3faDA18p_Lza8FhLJkRyG0qxt8vAbgxRdrGDDyyWBRIljC6-Cb4YzJ198ovx01C9nglI8o4kqUEj8rPYeKgDIgvRqgpNEse0thuKswZpnw3c-lYv1PuaqguqoOx1qD6XbXMWevRQuzwQ9JkSNN7pE_U_8M8iIMIzcfxqG1A_TqsbfbZzCD5b9px0JPhNSxZCH3L3b9_B90D9MlYGe7miIYOd7Py_82rg\"})","file":"/home/ytvmclwh/document.amocrm.md/src/Models/Docs.php","line":121} {"uid":"872ef65"}
[2026-08-07 09:24:38] docflow.DEBUG: AmoDrive docflow context request {"url":"https://google.emale.uno/api/docflow/google-context","query":{"account_id":"22699852","entity_id":"42049134","entity_type":"leads"}} {"uid":"872ef65"}
[2026-08-07 09:24:38] docflow.WARNING: AmoDrive docflow context request failed {"url":"https://google.emale.uno/api/docflow/google-context","http_code":null,"error":"HTTP/2 400 ","response":"<!DOCTYPE HTML PUBLIC \"-//IETF//DTD HTML 2.0//EN\">\r\n<html>\r\n<head><title>400 Bad Request</title></head>\r\n<body>\r\n<center><h1>400 Bad Request</h1></center>\r\n Sorry for the inconvenience.<br/>\r\nPlease report this message and include the following information to us.<br/>\r\nThank you very much!</p>\r\n<table>\r\n<tr>\r\n<td>URL:</td>\r\n<td>https://gd.glucose-dev.online/api/docflow/google-context?account_id=22699852&amp;entity_id=42049134&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/08/07 09:24:38</td>\r\n</tr>\r\n</table>\r\n<hr><center>tengine</center>\r\n</body>\r\n</html>\r\n"} {"uid":"872ef65"}
[2026-08-07 09:24:38] docflow.DEBUG: AmoDrive docflow context request {"url":"https://gd.glucose-dev.online/api/docflow/google-context","query":{"account_id":"22699852","entity_id":"42049134","entity_type":"leads"}} {"uid":"872ef65"}
[2026-08-07 09:24:38] docflow.WARNING: AmoDrive docflow context response is not ready, trying next backend. {"url":"https://gd.glucose-dev.online/api/docflow/google-context","payload":{"ok":true,"accountId":22699852,"entityId":"42049134","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":379,"isLifetime":false},"licenseActive":false,"googleConnected":false,"googleEmail":null,"googleHasDriveScope":false,"googleHasDriveFileScope":false,"googleHasOwnershipScope":false,"readyForGeneratedFileMove":false,"readyForTransfer":false},"folder":{"id":"10eO0QRpe4PrQirXJTPircxjYBEKCfeIU","name":"Sub.RO (Hrolovici Oleg)","webViewLink":"https://drive.google.com/drive/folders/10eO0QRpe4PrQirXJTPircxjYBEKCfeIU"}}} {"uid":"872ef65"}
[2026-08-07 09:24:38] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://google.emale.uno/api/docflow/prepare-generated-doc","payload":{"account_id":"22699852","entity_id":"42049134","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"872ef65"}
[2026-08-07 09:24: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/08/07 09:24:39</td>\r\n</tr>\r\n</table>\r\n<hr><center>tengine</center>\r\n</body>\r\n</html>\r\n","payload":{"account_id":"22699852","entity_id":"42049134","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"872ef65"}
[2026-08-07 09:24:38] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://gd.glucose-dev.online/api/docflow/prepare-generated-doc","payload":{"account_id":"22699852","entity_id":"42049134","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"872ef65"}
[2026-08-07 09:24: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\":22699852})","payload":{"account_id":"22699852","entity_id":"42049134","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"872ef65"}
[2026-08-07 09:24:38] docflow.DEBUG: GAS request {"url":"https://script.google.com/macros/s/AKfycbwrvOJD46zkuoTzdhpc1kulhV8jRfgQBFZfQ121nkIip_k8yKit4xrbWTOzaJ-C-Yed6w/exec","body":{"templateFileId":"1Qs2KktxXVCWrpdnvN8VsXGZnUkoSyqidawI8Gy962Yg","accountId":"22699852","folderId":"1Us2AfskxgdA729xVr0F2vjZU9y5PlYDe","key":"~VTsK5dcnHc2cSSsjM$LFSjLlgbmJXwrp3R2P5nd","data":"{\"fileName\":\"Diverse 1250 20260807092438\",\"leadId\":\"42049134\",\"entities\":{\"\\u0441\\u0434\\u0435\\u043b\\u043a\\u0430\":{\"google_folder_id_leads_field\":\"10eO0QRpe4PrQirXJTPircxjYBEKCfeIU\",\"google_folder_link_leads_field\":\"https:\\/\\/drive.google.com\\/drive\\/folders\\/10eO0QRpe4PrQirXJTPircxjYBEKCfeIU\",\"Serviciu solicitat\":\"1520104\",\"Suma Back\":\"40\",\"Data consulta\\u021biei\":\"20.05.2026\",\"Suma avans\":\"40\",\"#Manager Front\":\"Capanji Igor\",\"Loca\\u021bia Curent\\u0103\":\"Moldova\",\"Canal de comunicare\":\"Telefon, Whatsapp\",\"Tip proces\":\"Scurt\",\"Manager Dep.Tehnic\":\"Cre\\u021bu Veronica\",\"#Manager Instiu\\u021bii Publice\":\"Moldovanu Ghenadie\",\"#Manager Documentare\":\"Cre\\u021bu Veronica\",\"Termen perfectare\":\"20.12.2026\",\"Urm\\u0103torul contact\":\"2026-05-28 11:19:00\",\"Suma Acord Adit\":\"500\",\"ID\":\"42049134\",\"\\u0421\\u0434\\u0435\\u043b\\u043a\\u0430_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"sub. RO (Hrolovici Oleg)\",\"Lead_name\":\"sub. RO (Hrolovici Oleg)\",\"\\u0411\\u044e\\u0434\\u0436\\u0435\\u0442\":\"40\",\"Budget\":\"40\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"Capanji Igor\",\"Responsible\":\"Capanji Igor\"},\"lead\":{\"google_folder_id_leads_field\":\"10eO0QRpe4PrQirXJTPircxjYBEKCfeIU\",\"google_folder_link_leads_field\":\"https:\\/\\/drive.google.com\\/drive\\/folders\\/10eO0QRpe4PrQirXJTPircxjYBEKCfeIU\",\"Serviciu solicitat\":\"1520104\",\"Suma Back\":\"40\",\"Data consulta\\u021biei\":\"20.05.2026\",\"Suma avans\":\"40\",\"#Manager Front\":\"Capanji Igor\",\"Loca\\u021bia Curent\\u0103\":\"Moldova\",\"Canal de comunicare\":\"Telefon, Whatsapp\",\"Tip proces\":\"Scurt\",\"Manager Dep.Tehnic\":\"Cre\\u021bu Veronica\",\"#Manager Instiu\\u021bii Publice\":\"Moldovanu Ghenadie\",\"#Manager Documentare\":\"Cre\\u021bu Veronica\",\"Termen perfectare\":\"20.12.2026\",\"Urm\\u0103torul contact\":\"2026-05-28 11:19:00\",\"Suma Acord Adit\":\"500\",\"ID\":\"42049134\",\"\\u0421\\u0434\\u0435\\u043b\\u043a\\u0430_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"sub. RO (Hrolovici Oleg)\",\"Lead_name\":\"sub. RO (Hrolovici Oleg)\",\"\\u0411\\u044e\\u0434\\u0436\\u0435\\u0442\":\"40\",\"Budget\":\"40\",\"\\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\":\"+37379730215\",\"Email\":\"-\",\"Limba vorbita\":\"Rusa\",\"TelegroupId_WZ\":\"+37379730215\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Alexandra Hrolovici\",\"Contact_name\":\"Alexandra Hrolovici\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"Capanji Igor\",\"Responsible\":\"Capanji Igor\"},\"contact\":{\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"+37379730215\",\"Email\":\"-\",\"Limba vorbita\":\"Rusa\",\"TelegroupId_WZ\":\"+37379730215\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Alexandra Hrolovici\",\"Contact_name\":\"Alexandra Hrolovici\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"Capanji Igor\",\"Responsible\":\"Capanji Igor\"},\"\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442\\u044b\":[{\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"+37379730215\",\"Email\":\"-\",\"Limba vorbita\":\"Rusa\",\"TelegroupId_WZ\":\"+37379730215\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Alexandra Hrolovici\",\"\\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\":\"07.08.2026\",\"\\u041d\\u043e\\u043c\\u0435\\u0440\":\"1250\"},\"document\":{\"Date\":\"07.08.2026\",\"Number\":\"1250\"}}}","edit":true}} {"uid":"872ef65"}
[2026-08-07 09:24:44] docflow.DEBUG: GAS raw response {"raw":"[object] (stdClass: {\"code\":1,\"url\":\"https://docs.google.com/open?id=1bjGB4yXrHqml59Kdkzh0RIxBX8C2X3lVHjhZ5JOVC78\",\"file_id\":\"1bjGB4yXrHqml59Kdkzh0RIxBX8C2X3lVHjhZ5JOVC78\",\"error\":\"\",\"vars\":\"\"})"} {"uid":"872ef65"}
[2026-08-07 09:24:44] docflow.WARNING: AmoDrive generated-file move is not ready. {"fileId":"1bjGB4yXrHqml59Kdkzh0RIxBX8C2X3lVHjhZ5JOVC78","context":null} {"uid":"872ef65"}
[2026-08-07 09:25:53] docflow.INFO: Apel createDoc {"data":{"amoAccountId":"22699852","amoUserId":null,"amoEntityId":"42049134","amoEntityType":"2","templateId":"11528","corporateEntityId":"","settlementAccountId":"","is_signed":null,"gdi":null,"number":null,"currentAmoUserId":null,"lang":"ru"}} {"uid":"467ed9f"}
[2026-08-07 09:25:54] docflow.INFO: Token is valid for account 22699852. [] {"uid":"467ed9f"}
[2026-08-07 09:25:54] docflow.DEBUG: getClientAuth returned {"auth":"[object] (stdClass: {\"domain\":\"emigrare.amocrm.ru\",\"access_token\":\"eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImp0aSI6ImMyNzMxNzA5YWNlYjQ3YTZiMjRjOWM4N2Y0ODZlYzY0MmViMGZlMzc0OTZlNjJiOTY5YjYwNzA5ODVmNzAyNDViMmU1OGNjMDc5ZGZjNGZmIn0.eyJhdWQiOiIwZDY0ZGZmYi1lNTRiLTQ0OGYtOWZiZi1iYWYyMjUxYTExZGIiLCJqdGkiOiJjMjczMTcwOWFjZWI0N2E2YjI0YzljODdmNDg2ZWM2NDJlYjBmZTM3NDk2ZTYyYjk2OWI2MDcwOTg1ZjcwMjQ1YjJlNThjYzA3OWRmYzRmZiIsImlhdCI6MTc4NjA4MzEwOCwibmJmIjoxNzg2MDgzMTA4LCJleHAiOjE3ODYxNjk1MDgsInN1YiI6IjI5MzAzODAiLCJncmFudF90eXBlIjoiIiwiYWNjb3VudF9pZCI6MjI2OTk4NTIsImJhc2VfZG9tYWluIjoiYW1vY3JtLnJ1IiwidmVyc2lvbiI6Miwic2NvcGVzIjpbInB1c2hfbm90aWZpY2F0aW9ucyIsImNybSIsIm5vdGlmaWNhdGlvbnMiXSwiaGFzaF91dWlkIjoiYWZiMjc1MmItYmEyMC00ODA5LWExYzItNGM2NTVhNzJjZmVkIiwiYXBpX2RvbWFpbiI6ImFwaS1hLmFtb2NybS5ydSJ9.NYT7VRx9Gk69Gf89Vi-Ye8qoEe6m4X2r6rt_ieHd7XcTlTvdfXxeoiDraoY0Kl_1wZsukjBQIHhosYjvCWDgz-mceKssDr3lrjutg4P3x1XLUBO2ChLA0E3faDA18p_Lza8FhLJkRyG0qxt8vAbgxRdrGDDyyWBRIljC6-Cb4YzJ198ovx01C9nglI8o4kqUEj8rPYeKgDIgvRqgpNEse0thuKswZpnw3c-lYv1PuaqguqoOx1qD6XbXMWevRQuzwQ9JkSNN7pE_U_8M8iIMIzcfxqG1A_TqsbfbZzCD5b9px0JPhNSxZCH3L3b9_B90D9MlYGe7miIYOd7Py_82rg\"})","file":"/home/ytvmclwh/document.amocrm.md/src/Models/Docs.php","line":121} {"uid":"467ed9f"}
[2026-08-07 09:25:56] docflow.DEBUG: AmoDrive docflow context request {"url":"https://google.emale.uno/api/docflow/google-context","query":{"account_id":"22699852","entity_id":"42049134","entity_type":"leads"}} {"uid":"467ed9f"}
[2026-08-07 09:25: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=42049134&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/08/07 09:25:56</td>\r\n</tr>\r\n</table>\r\n<hr><center>tengine</center>\r\n</body>\r\n</html>\r\n"} {"uid":"467ed9f"}
[2026-08-07 09:25:56] docflow.DEBUG: AmoDrive docflow context request {"url":"https://gd.glucose-dev.online/api/docflow/google-context","query":{"account_id":"22699852","entity_id":"42049134","entity_type":"leads"}} {"uid":"467ed9f"}
[2026-08-07 09:25: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":"42049134","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":379,"isLifetime":false},"licenseActive":false,"googleConnected":false,"googleEmail":null,"googleHasDriveScope":false,"googleHasDriveFileScope":false,"googleHasOwnershipScope":false,"readyForGeneratedFileMove":false,"readyForTransfer":false},"folder":{"id":"10eO0QRpe4PrQirXJTPircxjYBEKCfeIU","name":"Sub.RO (Hrolovici Oleg)","webViewLink":"https://drive.google.com/drive/folders/10eO0QRpe4PrQirXJTPircxjYBEKCfeIU"}}} {"uid":"467ed9f"}
[2026-08-07 09:25:56] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://google.emale.uno/api/docflow/prepare-generated-doc","payload":{"account_id":"22699852","entity_id":"42049134","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"467ed9f"}
[2026-08-07 09:25:56] docflow.WARNING: AmoDrive prepare-generated-doc request failed {"url":"https://google.emale.uno/api/docflow/prepare-generated-doc","http_code":null,"error":"HTTP/2 400 ","response":"<!DOCTYPE HTML PUBLIC \"-//IETF//DTD HTML 2.0//EN\">\r\n<html>\r\n<head><title>400 Bad Request</title></head>\r\n<body>\r\n<center><h1>400 Bad Request</h1></center>\r\n Sorry for the inconvenience.<br/>\r\nPlease report this message and include the following information to us.<br/>\r\nThank you very much!</p>\r\n<table>\r\n<tr>\r\n<td>URL:</td>\r\n<td>https://gd.glucose-dev.online/api/docflow/prepare-generated-doc</td>\r\n</tr>\r\n<tr>\r\n<td>Server:</td>\r\n<td>mail.glucose-dev.online</td>\r\n</tr>\r\n<tr>\r\n<td>Date:</td>\r\n<td>2026/08/07 09:25:56</td>\r\n</tr>\r\n</table>\r\n<hr><center>tengine</center>\r\n</body>\r\n</html>\r\n","payload":{"account_id":"22699852","entity_id":"42049134","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"467ed9f"}
[2026-08-07 09:25:56] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://gd.glucose-dev.online/api/docflow/prepare-generated-doc","payload":{"account_id":"22699852","entity_id":"42049134","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"467ed9f"}
[2026-08-07 09:25:56] docflow.WARNING: AmoDrive prepare-generated-doc request failed {"url":"https://gd.glucose-dev.online/api/docflow/prepare-generated-doc","http_code":null,"error":"HTTP/2 404 ","response":"[object] (stdClass: {\"ok\":false,\"error\":\"AmoDrive is not installed for this account.\",\"accountId\":22699852})","payload":{"account_id":"22699852","entity_id":"42049134","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"467ed9f"}
[2026-08-07 09:25:56] docflow.DEBUG: GAS request {"url":"https://script.google.com/macros/s/AKfycbwrvOJD46zkuoTzdhpc1kulhV8jRfgQBFZfQ121nkIip_k8yKit4xrbWTOzaJ-C-Yed6w/exec","body":{"templateFileId":"1t5qR7ljR1POq9sxQLSVsM-X-P6cqy7PNY1dXWqrVcQ8","accountId":"22699852","folderId":"1Us2AfskxgdA729xVr0F2vjZU9y5PlYDe","key":"~VTsK5dcnHc2cSSsjM$LFSjLlgbmJXwrp3R2P5nd","data":"{\"fileName\":\"\\u0421\\u0447\\u0435\\u0442 \\u043d\\u0430 \\u043e\\u043f\\u043b\\u0430\\u0442\\u0443 AR \\/ DA \\/ LG (EUR\\/USD\\/MDL) 154 20260807092556\",\"leadId\":\"42049134\",\"entities\":{\"\\u0441\\u0434\\u0435\\u043b\\u043a\\u0430\":{\"google_folder_id_leads_field\":\"10eO0QRpe4PrQirXJTPircxjYBEKCfeIU\",\"google_folder_link_leads_field\":\"https:\\/\\/drive.google.com\\/drive\\/folders\\/10eO0QRpe4PrQirXJTPircxjYBEKCfeIU\",\"Serviciu solicitat\":\"1520104\",\"Suma Back\":\"40\",\"Data consulta\\u021biei\":\"20.05.2026\",\"Suma avans\":\"40\",\"#Manager Front\":\"Capanji Igor\",\"Loca\\u021bia Curent\\u0103\":\"Moldova\",\"Canal de comunicare\":\"Telefon, Whatsapp\",\"Tip proces\":\"Scurt\",\"Manager Dep.Tehnic\":\"Cre\\u021bu Veronica\",\"#Manager Instiu\\u021bii Publice\":\"Moldovanu Ghenadie\",\"#Manager Documentare\":\"Cre\\u021bu Veronica\",\"Termen perfectare\":\"20.12.2026\",\"Urm\\u0103torul contact\":\"2026-05-28 11:19:00\",\"Suma Acord Adit\":\"500\",\"ID\":\"42049134\",\"\\u0421\\u0434\\u0435\\u043b\\u043a\\u0430_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"sub. RO (Hrolovici Oleg)\",\"Lead_name\":\"sub. RO (Hrolovici Oleg)\",\"\\u0411\\u044e\\u0434\\u0436\\u0435\\u0442\":\"40\",\"Budget\":\"40\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"Capanji Igor\",\"Responsible\":\"Capanji Igor\"},\"lead\":{\"google_folder_id_leads_field\":\"10eO0QRpe4PrQirXJTPircxjYBEKCfeIU\",\"google_folder_link_leads_field\":\"https:\\/\\/drive.google.com\\/drive\\/folders\\/10eO0QRpe4PrQirXJTPircxjYBEKCfeIU\",\"Serviciu solicitat\":\"1520104\",\"Suma Back\":\"40\",\"Data consulta\\u021biei\":\"20.05.2026\",\"Suma avans\":\"40\",\"#Manager Front\":\"Capanji Igor\",\"Loca\\u021bia Curent\\u0103\":\"Moldova\",\"Canal de comunicare\":\"Telefon, Whatsapp\",\"Tip proces\":\"Scurt\",\"Manager Dep.Tehnic\":\"Cre\\u021bu Veronica\",\"#Manager Instiu\\u021bii Publice\":\"Moldovanu Ghenadie\",\"#Manager Documentare\":\"Cre\\u021bu Veronica\",\"Termen perfectare\":\"20.12.2026\",\"Urm\\u0103torul contact\":\"2026-05-28 11:19:00\",\"Suma Acord Adit\":\"500\",\"ID\":\"42049134\",\"\\u0421\\u0434\\u0435\\u043b\\u043a\\u0430_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"sub. RO (Hrolovici Oleg)\",\"Lead_name\":\"sub. RO (Hrolovici Oleg)\",\"\\u0411\\u044e\\u0434\\u0436\\u0435\\u0442\":\"40\",\"Budget\":\"40\",\"\\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\":\"+37379730215\",\"Email\":\"-\",\"Limba vorbita\":\"Rusa\",\"TelegroupId_WZ\":\"+37379730215\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Alexandra Hrolovici\",\"Contact_name\":\"Alexandra Hrolovici\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"Capanji Igor\",\"Responsible\":\"Capanji Igor\"},\"contact\":{\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"+37379730215\",\"Email\":\"-\",\"Limba vorbita\":\"Rusa\",\"TelegroupId_WZ\":\"+37379730215\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Alexandra Hrolovici\",\"Contact_name\":\"Alexandra Hrolovici\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"Capanji Igor\",\"Responsible\":\"Capanji Igor\"},\"\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442\\u044b\":[{\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"+37379730215\",\"Email\":\"-\",\"Limba vorbita\":\"Rusa\",\"TelegroupId_WZ\":\"+37379730215\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Alexandra Hrolovici\",\"\\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\":\"07.08.2026\",\"\\u041d\\u043e\\u043c\\u0435\\u0440\":\"154\"},\"document\":{\"Date\":\"07.08.2026\",\"Number\":\"154\"}}}","edit":true}} {"uid":"467ed9f"}
[2026-08-07 09:26:05] docflow.DEBUG: GAS raw response {"raw":"[object] (stdClass: {\"code\":1,\"url\":\"https://docs.google.com/open?id=1S6-e8Z71LQUFG-ySw7MbUsA0f0q5mh9uS2PLTSXWCVI\",\"file_id\":\"1S6-e8Z71LQUFG-ySw7MbUsA0f0q5mh9uS2PLTSXWCVI\",\"error\":\"\",\"vars\":\"\"})"} {"uid":"467ed9f"}
[2026-08-07 09:26:05] docflow.WARNING: AmoDrive generated-file move is not ready. {"fileId":"1S6-e8Z71LQUFG-ySw7MbUsA0f0q5mh9uS2PLTSXWCVI","context":null} {"uid":"467ed9f"}
[2026-08-07 09:31:20] docflow.INFO: Apel createDoc {"data":{"amoAccountId":"22699852","amoUserId":null,"amoEntityId":"42049134","amoEntityType":"2","templateId":"11488","corporateEntityId":"","settlementAccountId":"","is_signed":null,"gdi":null,"number":null,"currentAmoUserId":null,"lang":"ru"}} {"uid":"1993a0e"}
[2026-08-07 09:31:21] docflow.INFO: Token is valid for account 22699852. [] {"uid":"1993a0e"}
[2026-08-07 09:31:21] docflow.DEBUG: getClientAuth returned {"auth":"[object] (stdClass: {\"domain\":\"emigrare.amocrm.ru\",\"access_token\":\"eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImp0aSI6ImMyNzMxNzA5YWNlYjQ3YTZiMjRjOWM4N2Y0ODZlYzY0MmViMGZlMzc0OTZlNjJiOTY5YjYwNzA5ODVmNzAyNDViMmU1OGNjMDc5ZGZjNGZmIn0.eyJhdWQiOiIwZDY0ZGZmYi1lNTRiLTQ0OGYtOWZiZi1iYWYyMjUxYTExZGIiLCJqdGkiOiJjMjczMTcwOWFjZWI0N2E2YjI0YzljODdmNDg2ZWM2NDJlYjBmZTM3NDk2ZTYyYjk2OWI2MDcwOTg1ZjcwMjQ1YjJlNThjYzA3OWRmYzRmZiIsImlhdCI6MTc4NjA4MzEwOCwibmJmIjoxNzg2MDgzMTA4LCJleHAiOjE3ODYxNjk1MDgsInN1YiI6IjI5MzAzODAiLCJncmFudF90eXBlIjoiIiwiYWNjb3VudF9pZCI6MjI2OTk4NTIsImJhc2VfZG9tYWluIjoiYW1vY3JtLnJ1IiwidmVyc2lvbiI6Miwic2NvcGVzIjpbInB1c2hfbm90aWZpY2F0aW9ucyIsImNybSIsIm5vdGlmaWNhdGlvbnMiXSwiaGFzaF91dWlkIjoiYWZiMjc1MmItYmEyMC00ODA5LWExYzItNGM2NTVhNzJjZmVkIiwiYXBpX2RvbWFpbiI6ImFwaS1hLmFtb2NybS5ydSJ9.NYT7VRx9Gk69Gf89Vi-Ye8qoEe6m4X2r6rt_ieHd7XcTlTvdfXxeoiDraoY0Kl_1wZsukjBQIHhosYjvCWDgz-mceKssDr3lrjutg4P3x1XLUBO2ChLA0E3faDA18p_Lza8FhLJkRyG0qxt8vAbgxRdrGDDyyWBRIljC6-Cb4YzJ198ovx01C9nglI8o4kqUEj8rPYeKgDIgvRqgpNEse0thuKswZpnw3c-lYv1PuaqguqoOx1qD6XbXMWevRQuzwQ9JkSNN7pE_U_8M8iIMIzcfxqG1A_TqsbfbZzCD5b9px0JPhNSxZCH3L3b9_B90D9MlYGe7miIYOd7Py_82rg\"})","file":"/home/ytvmclwh/document.amocrm.md/src/Models/Docs.php","line":121} {"uid":"1993a0e"}
[2026-08-07 09:31:23] docflow.DEBUG: AmoDrive docflow context request {"url":"https://google.emale.uno/api/docflow/google-context","query":{"account_id":"22699852","entity_id":"42049134","entity_type":"leads"}} {"uid":"1993a0e"}
[2026-08-07 09:31:23] 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=42049134&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/08/07 09:31:23</td>\r\n</tr>\r\n</table>\r\n<hr><center>tengine</center>\r\n</body>\r\n</html>\r\n"} {"uid":"1993a0e"}
[2026-08-07 09:31:23] docflow.DEBUG: AmoDrive docflow context request {"url":"https://gd.glucose-dev.online/api/docflow/google-context","query":{"account_id":"22699852","entity_id":"42049134","entity_type":"leads"}} {"uid":"1993a0e"}
[2026-08-07 09:31:23] 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":"42049134","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":379,"isLifetime":false},"licenseActive":false,"googleConnected":false,"googleEmail":null,"googleHasDriveScope":false,"googleHasDriveFileScope":false,"googleHasOwnershipScope":false,"readyForGeneratedFileMove":false,"readyForTransfer":false},"folder":{"id":"10eO0QRpe4PrQirXJTPircxjYBEKCfeIU","name":"Sub.RO (Hrolovici Oleg)","webViewLink":"https://drive.google.com/drive/folders/10eO0QRpe4PrQirXJTPircxjYBEKCfeIU"}}} {"uid":"1993a0e"}
[2026-08-07 09:31:23] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://google.emale.uno/api/docflow/prepare-generated-doc","payload":{"account_id":"22699852","entity_id":"42049134","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"1993a0e"}
[2026-08-07 09:31:23] 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/08/07 09:31:23</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":"42049134","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"1993a0e"}
[2026-08-07 09:31:23] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://gd.glucose-dev.online/api/docflow/prepare-generated-doc","payload":{"account_id":"22699852","entity_id":"42049134","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"1993a0e"}
[2026-08-07 09:31:23] 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":"42049134","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"1993a0e"}
[2026-08-07 09:31:23] 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 507 20260807093123\",\"leadId\":\"42049134\",\"entities\":{\"\\u0441\\u0434\\u0435\\u043b\\u043a\\u0430\":{\"google_folder_id_leads_field\":\"10eO0QRpe4PrQirXJTPircxjYBEKCfeIU\",\"google_folder_link_leads_field\":\"https:\\/\\/drive.google.com\\/drive\\/folders\\/10eO0QRpe4PrQirXJTPircxjYBEKCfeIU\",\"Serviciu solicitat\":\"1520104\",\"Suma Back\":\"40\",\"Data consulta\\u021biei\":\"20.05.2026\",\"Suma avans\":\"40\",\"#Manager Front\":\"Capanji Igor\",\"Loca\\u021bia Curent\\u0103\":\"Moldova\",\"Canal de comunicare\":\"Telefon, Whatsapp\",\"Tip proces\":\"Scurt\",\"Manager Dep.Tehnic\":\"Cre\\u021bu Veronica\",\"#Manager Instiu\\u021bii Publice\":\"Moldovanu Ghenadie\",\"#Manager Documentare\":\"Cre\\u021bu Veronica\",\"Termen perfectare\":\"20.12.2026\",\"Urm\\u0103torul contact\":\"2026-05-28 11:19:00\",\"Suma Acord Adit\":\"500\",\"ID\":\"42049134\",\"\\u0421\\u0434\\u0435\\u043b\\u043a\\u0430_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"sub. RO (Hrolovici Oleg)\",\"Lead_name\":\"sub. RO (Hrolovici Oleg)\",\"\\u0411\\u044e\\u0434\\u0436\\u0435\\u0442\":\"40\",\"Budget\":\"40\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"Capanji Igor\",\"Responsible\":\"Capanji Igor\"},\"lead\":{\"google_folder_id_leads_field\":\"10eO0QRpe4PrQirXJTPircxjYBEKCfeIU\",\"google_folder_link_leads_field\":\"https:\\/\\/drive.google.com\\/drive\\/folders\\/10eO0QRpe4PrQirXJTPircxjYBEKCfeIU\",\"Serviciu solicitat\":\"1520104\",\"Suma Back\":\"40\",\"Data consulta\\u021biei\":\"20.05.2026\",\"Suma avans\":\"40\",\"#Manager Front\":\"Capanji Igor\",\"Loca\\u021bia Curent\\u0103\":\"Moldova\",\"Canal de comunicare\":\"Telefon, Whatsapp\",\"Tip proces\":\"Scurt\",\"Manager Dep.Tehnic\":\"Cre\\u021bu Veronica\",\"#Manager Instiu\\u021bii Publice\":\"Moldovanu Ghenadie\",\"#Manager Documentare\":\"Cre\\u021bu Veronica\",\"Termen perfectare\":\"20.12.2026\",\"Urm\\u0103torul contact\":\"2026-05-28 11:19:00\",\"Suma Acord Adit\":\"500\",\"ID\":\"42049134\",\"\\u0421\\u0434\\u0435\\u043b\\u043a\\u0430_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"sub. RO (Hrolovici Oleg)\",\"Lead_name\":\"sub. RO (Hrolovici Oleg)\",\"\\u0411\\u044e\\u0434\\u0436\\u0435\\u0442\":\"40\",\"Budget\":\"40\",\"\\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\":\"+37379730215\",\"Email\":\"-\",\"Limba vorbita\":\"Rusa\",\"TelegroupId_WZ\":\"+37379730215\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Alexandra Hrolovici\",\"Contact_name\":\"Alexandra Hrolovici\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"Capanji Igor\",\"Responsible\":\"Capanji Igor\"},\"contact\":{\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"+37379730215\",\"Email\":\"-\",\"Limba vorbita\":\"Rusa\",\"TelegroupId_WZ\":\"+37379730215\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Alexandra Hrolovici\",\"Contact_name\":\"Alexandra Hrolovici\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"Capanji Igor\",\"Responsible\":\"Capanji Igor\"},\"\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442\\u044b\":[{\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"+37379730215\",\"Email\":\"-\",\"Limba vorbita\":\"Rusa\",\"TelegroupId_WZ\":\"+37379730215\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Alexandra Hrolovici\",\"\\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\":\"07.08.2026\",\"\\u041d\\u043e\\u043c\\u0435\\u0440\":\"507\"},\"document\":{\"Date\":\"07.08.2026\",\"Number\":\"507\"}}}","edit":true}} {"uid":"1993a0e"}
[2026-08-07 09:31:30] docflow.DEBUG: GAS raw response {"raw":"[object] (stdClass: {\"code\":1,\"url\":\"https://docs.google.com/open?id=18o8zz_Zt28FRNY3xSG3UMEzWOfzmgw5G3xtV6Xs2ezg\",\"file_id\":\"18o8zz_Zt28FRNY3xSG3UMEzWOfzmgw5G3xtV6Xs2ezg\",\"error\":\"\",\"vars\":\"\"})"} {"uid":"1993a0e"}
[2026-08-07 09:31:30] docflow.WARNING: AmoDrive generated-file move is not ready. {"fileId":"18o8zz_Zt28FRNY3xSG3UMEzWOfzmgw5G3xtV6Xs2ezg","context":null} {"uid":"1993a0e"}
[2026-08-07 09:58:56] docflow.INFO: Apel createDoc {"data":{"amoAccountId":"22699852","amoUserId":null,"amoEntityId":"42468374","amoEntityType":"2","templateId":"11488","corporateEntityId":"","settlementAccountId":"","is_signed":null,"gdi":null,"number":null,"currentAmoUserId":null,"lang":"ru"}} {"uid":"43fe4f7"}
[2026-08-07 09:58:56] docflow.INFO: Token is valid for account 22699852. [] {"uid":"43fe4f7"}
[2026-08-07 09:58:56] docflow.DEBUG: getClientAuth returned {"auth":"[object] (stdClass: {\"domain\":\"emigrare.amocrm.ru\",\"access_token\":\"eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImp0aSI6ImMyNzMxNzA5YWNlYjQ3YTZiMjRjOWM4N2Y0ODZlYzY0MmViMGZlMzc0OTZlNjJiOTY5YjYwNzA5ODVmNzAyNDViMmU1OGNjMDc5ZGZjNGZmIn0.eyJhdWQiOiIwZDY0ZGZmYi1lNTRiLTQ0OGYtOWZiZi1iYWYyMjUxYTExZGIiLCJqdGkiOiJjMjczMTcwOWFjZWI0N2E2YjI0YzljODdmNDg2ZWM2NDJlYjBmZTM3NDk2ZTYyYjk2OWI2MDcwOTg1ZjcwMjQ1YjJlNThjYzA3OWRmYzRmZiIsImlhdCI6MTc4NjA4MzEwOCwibmJmIjoxNzg2MDgzMTA4LCJleHAiOjE3ODYxNjk1MDgsInN1YiI6IjI5MzAzODAiLCJncmFudF90eXBlIjoiIiwiYWNjb3VudF9pZCI6MjI2OTk4NTIsImJhc2VfZG9tYWluIjoiYW1vY3JtLnJ1IiwidmVyc2lvbiI6Miwic2NvcGVzIjpbInB1c2hfbm90aWZpY2F0aW9ucyIsImNybSIsIm5vdGlmaWNhdGlvbnMiXSwiaGFzaF91dWlkIjoiYWZiMjc1MmItYmEyMC00ODA5LWExYzItNGM2NTVhNzJjZmVkIiwiYXBpX2RvbWFpbiI6ImFwaS1hLmFtb2NybS5ydSJ9.NYT7VRx9Gk69Gf89Vi-Ye8qoEe6m4X2r6rt_ieHd7XcTlTvdfXxeoiDraoY0Kl_1wZsukjBQIHhosYjvCWDgz-mceKssDr3lrjutg4P3x1XLUBO2ChLA0E3faDA18p_Lza8FhLJkRyG0qxt8vAbgxRdrGDDyyWBRIljC6-Cb4YzJ198ovx01C9nglI8o4kqUEj8rPYeKgDIgvRqgpNEse0thuKswZpnw3c-lYv1PuaqguqoOx1qD6XbXMWevRQuzwQ9JkSNN7pE_U_8M8iIMIzcfxqG1A_TqsbfbZzCD5b9px0JPhNSxZCH3L3b9_B90D9MlYGe7miIYOd7Py_82rg\"})","file":"/home/ytvmclwh/document.amocrm.md/src/Models/Docs.php","line":121} {"uid":"43fe4f7"}
[2026-08-07 09:58:58] docflow.DEBUG: AmoDrive docflow context request {"url":"https://google.emale.uno/api/docflow/google-context","query":{"account_id":"22699852","entity_id":"42468374","entity_type":"leads"}} {"uid":"43fe4f7"}
[2026-08-07 09:58:58] docflow.WARNING: AmoDrive docflow context request failed {"url":"https://google.emale.uno/api/docflow/google-context","http_code":null,"error":"HTTP/2 400 ","response":"<!DOCTYPE HTML PUBLIC \"-//IETF//DTD HTML 2.0//EN\">\r\n<html>\r\n<head><title>400 Bad Request</title></head>\r\n<body>\r\n<center><h1>400 Bad Request</h1></center>\r\n Sorry for the inconvenience.<br/>\r\nPlease report this message and include the following information to us.<br/>\r\nThank you very much!</p>\r\n<table>\r\n<tr>\r\n<td>URL:</td>\r\n<td>https://gd.glucose-dev.online/api/docflow/google-context?account_id=22699852&amp;entity_id=42468374&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/08/07 09:58:59</td>\r\n</tr>\r\n</table>\r\n<hr><center>tengine</center>\r\n</body>\r\n</html>\r\n"} {"uid":"43fe4f7"}
[2026-08-07 09:58:58] docflow.DEBUG: AmoDrive docflow context request {"url":"https://gd.glucose-dev.online/api/docflow/google-context","query":{"account_id":"22699852","entity_id":"42468374","entity_type":"leads"}} {"uid":"43fe4f7"}
[2026-08-07 09:58:58] docflow.WARNING: AmoDrive docflow context response is not ready, trying next backend. {"url":"https://gd.glucose-dev.online/api/docflow/google-context","payload":{"ok":true,"accountId":22699852,"entityId":"42468374","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":379,"isLifetime":false},"licenseActive":false,"googleConnected":false,"googleEmail":null,"googleHasDriveScope":false,"googleHasDriveFileScope":false,"googleHasOwnershipScope":false,"readyForGeneratedFileMove":false,"readyForTransfer":false},"folder":{"id":"1kH3RDd3GlhY5g--aTxX9MGsn5jogvzZv","name":"42468374 - Lead #42468374","webViewLink":"https://drive.google.com/drive/folders/1kH3RDd3GlhY5g--aTxX9MGsn5jogvzZv"}}} {"uid":"43fe4f7"}
[2026-08-07 09:58:58] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://google.emale.uno/api/docflow/prepare-generated-doc","payload":{"account_id":"22699852","entity_id":"42468374","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"43fe4f7"}
[2026-08-07 09:58:58] docflow.WARNING: AmoDrive prepare-generated-doc request failed {"url":"https://google.emale.uno/api/docflow/prepare-generated-doc","http_code":null,"error":"HTTP/2 400 ","response":"<!DOCTYPE HTML PUBLIC \"-//IETF//DTD HTML 2.0//EN\">\r\n<html>\r\n<head><title>400 Bad Request</title></head>\r\n<body>\r\n<center><h1>400 Bad Request</h1></center>\r\n Sorry for the inconvenience.<br/>\r\nPlease report this message and include the following information to us.<br/>\r\nThank you very much!</p>\r\n<table>\r\n<tr>\r\n<td>URL:</td>\r\n<td>https://gd.glucose-dev.online/api/docflow/prepare-generated-doc</td>\r\n</tr>\r\n<tr>\r\n<td>Server:</td>\r\n<td>mail.glucose-dev.online</td>\r\n</tr>\r\n<tr>\r\n<td>Date:</td>\r\n<td>2026/08/07 09:58:59</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":"42468374","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"43fe4f7"}
[2026-08-07 09:58:58] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://gd.glucose-dev.online/api/docflow/prepare-generated-doc","payload":{"account_id":"22699852","entity_id":"42468374","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"43fe4f7"}
[2026-08-07 09:58:58] docflow.WARNING: AmoDrive prepare-generated-doc request failed {"url":"https://gd.glucose-dev.online/api/docflow/prepare-generated-doc","http_code":null,"error":"HTTP/2 404 ","response":"[object] (stdClass: {\"ok\":false,\"error\":\"AmoDrive is not installed for this account.\",\"accountId\":22699852})","payload":{"account_id":"22699852","entity_id":"42468374","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"43fe4f7"}
[2026-08-07 09:58:58] 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 508 20260807095858\",\"leadId\":\"42468374\",\"entities\":{\"\\u0441\\u0434\\u0435\\u043b\\u043a\\u0430\":{\"Brand\":\"Emigrare.md\",\"Shema\":\"Emigrare\",\"Suma \\u20ac\":\"0\",\"tree_name\":\"Emigrare\",\"#Manager Front\":\"Capanji Igor\",\"Urm\\u0103torul contact\":\"2026-08-06 17:06:00\",\"Suma avans\":\"9010\",\"Manager Juridic\":\"Dascal Anatolie\",\"#Manager Jurist\":\"Dascal Anatolie\",\"ID\":\"42468374\",\"\\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\":\"1920\",\"Budget\":\"1920\",\"\\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\",\"Urm\\u0103torul contact\":\"2026-08-06 17:06:00\",\"Suma avans\":\"9010\",\"Manager Juridic\":\"Dascal Anatolie\",\"#Manager Jurist\":\"Dascal Anatolie\",\"ID\":\"42468374\",\"\\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\":\"1920\",\"Budget\":\"1920\",\"\\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\":\"37378536183\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Taracanov Evghenii\",\"Contact_name\":\"Taracanov Evghenii\",\"\\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\":\"37378536183\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Taracanov Evghenii\",\"Contact_name\":\"Taracanov Evghenii\",\"\\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\":\"37378536183\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Taracanov Evghenii\",\"\\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\":\"07.08.2026\",\"\\u041d\\u043e\\u043c\\u0435\\u0440\":\"508\"},\"document\":{\"Date\":\"07.08.2026\",\"Number\":\"508\"}}}","edit":true}} {"uid":"43fe4f7"}
[2026-08-07 09:59:07] docflow.DEBUG: GAS raw response {"raw":"[object] (stdClass: {\"code\":1,\"url\":\"https://docs.google.com/open?id=12Zpw1E6-BB6VtTcfbJnFfO5eazQ8OnSLmSINL7ZppPM\",\"file_id\":\"12Zpw1E6-BB6VtTcfbJnFfO5eazQ8OnSLmSINL7ZppPM\",\"error\":\"\",\"vars\":\"\"})"} {"uid":"43fe4f7"}
[2026-08-07 09:59:07] docflow.WARNING: AmoDrive generated-file move is not ready. {"fileId":"12Zpw1E6-BB6VtTcfbJnFfO5eazQ8OnSLmSINL7ZppPM","context":null} {"uid":"43fe4f7"}
[2026-08-07 10:00:41] docflow.INFO: Apel createDoc {"data":{"amoAccountId":"22699852","amoUserId":null,"amoEntityId":"42468374","amoEntityType":"2","templateId":"11500","corporateEntityId":"","settlementAccountId":"","is_signed":null,"gdi":null,"number":null,"currentAmoUserId":null,"lang":"ru"}} {"uid":"7ff44a8"}
[2026-08-07 10:00:41] docflow.INFO: Token is valid for account 22699852. [] {"uid":"7ff44a8"}
[2026-08-07 10:00:41] docflow.DEBUG: getClientAuth returned {"auth":"[object] (stdClass: {\"domain\":\"emigrare.amocrm.ru\",\"access_token\":\"eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImp0aSI6ImMyNzMxNzA5YWNlYjQ3YTZiMjRjOWM4N2Y0ODZlYzY0MmViMGZlMzc0OTZlNjJiOTY5YjYwNzA5ODVmNzAyNDViMmU1OGNjMDc5ZGZjNGZmIn0.eyJhdWQiOiIwZDY0ZGZmYi1lNTRiLTQ0OGYtOWZiZi1iYWYyMjUxYTExZGIiLCJqdGkiOiJjMjczMTcwOWFjZWI0N2E2YjI0YzljODdmNDg2ZWM2NDJlYjBmZTM3NDk2ZTYyYjk2OWI2MDcwOTg1ZjcwMjQ1YjJlNThjYzA3OWRmYzRmZiIsImlhdCI6MTc4NjA4MzEwOCwibmJmIjoxNzg2MDgzMTA4LCJleHAiOjE3ODYxNjk1MDgsInN1YiI6IjI5MzAzODAiLCJncmFudF90eXBlIjoiIiwiYWNjb3VudF9pZCI6MjI2OTk4NTIsImJhc2VfZG9tYWluIjoiYW1vY3JtLnJ1IiwidmVyc2lvbiI6Miwic2NvcGVzIjpbInB1c2hfbm90aWZpY2F0aW9ucyIsImNybSIsIm5vdGlmaWNhdGlvbnMiXSwiaGFzaF91dWlkIjoiYWZiMjc1MmItYmEyMC00ODA5LWExYzItNGM2NTVhNzJjZmVkIiwiYXBpX2RvbWFpbiI6ImFwaS1hLmFtb2NybS5ydSJ9.NYT7VRx9Gk69Gf89Vi-Ye8qoEe6m4X2r6rt_ieHd7XcTlTvdfXxeoiDraoY0Kl_1wZsukjBQIHhosYjvCWDgz-mceKssDr3lrjutg4P3x1XLUBO2ChLA0E3faDA18p_Lza8FhLJkRyG0qxt8vAbgxRdrGDDyyWBRIljC6-Cb4YzJ198ovx01C9nglI8o4kqUEj8rPYeKgDIgvRqgpNEse0thuKswZpnw3c-lYv1PuaqguqoOx1qD6XbXMWevRQuzwQ9JkSNN7pE_U_8M8iIMIzcfxqG1A_TqsbfbZzCD5b9px0JPhNSxZCH3L3b9_B90D9MlYGe7miIYOd7Py_82rg\"})","file":"/home/ytvmclwh/document.amocrm.md/src/Models/Docs.php","line":121} {"uid":"7ff44a8"}
[2026-08-07 10:00:44] docflow.DEBUG: AmoDrive docflow context request {"url":"https://google.emale.uno/api/docflow/google-context","query":{"account_id":"22699852","entity_id":"42468374","entity_type":"leads"}} {"uid":"7ff44a8"}
[2026-08-07 10:00:44] docflow.WARNING: AmoDrive docflow context request failed {"url":"https://google.emale.uno/api/docflow/google-context","http_code":null,"error":"HTTP/2 400 ","response":"<!DOCTYPE HTML PUBLIC \"-//IETF//DTD HTML 2.0//EN\">\r\n<html>\r\n<head><title>400 Bad Request</title></head>\r\n<body>\r\n<center><h1>400 Bad Request</h1></center>\r\n Sorry for the inconvenience.<br/>\r\nPlease report this message and include the following information to us.<br/>\r\nThank you very much!</p>\r\n<table>\r\n<tr>\r\n<td>URL:</td>\r\n<td>https://gd.glucose-dev.online/api/docflow/google-context?account_id=22699852&amp;entity_id=42468374&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/08/07 10:00:44</td>\r\n</tr>\r\n</table>\r\n<hr><center>tengine</center>\r\n</body>\r\n</html>\r\n"} {"uid":"7ff44a8"}
[2026-08-07 10:00:44] docflow.DEBUG: AmoDrive docflow context request {"url":"https://gd.glucose-dev.online/api/docflow/google-context","query":{"account_id":"22699852","entity_id":"42468374","entity_type":"leads"}} {"uid":"7ff44a8"}
[2026-08-07 10:00:44] docflow.WARNING: AmoDrive docflow context response is not ready, trying next backend. {"url":"https://gd.glucose-dev.online/api/docflow/google-context","payload":{"ok":true,"accountId":22699852,"entityId":"42468374","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":379,"isLifetime":false},"licenseActive":false,"googleConnected":false,"googleEmail":null,"googleHasDriveScope":false,"googleHasDriveFileScope":false,"googleHasOwnershipScope":false,"readyForGeneratedFileMove":false,"readyForTransfer":false},"folder":{"id":"1kH3RDd3GlhY5g--aTxX9MGsn5jogvzZv","name":"42468374 - Lead #42468374","webViewLink":"https://drive.google.com/drive/folders/1kH3RDd3GlhY5g--aTxX9MGsn5jogvzZv"}}} {"uid":"7ff44a8"}
[2026-08-07 10:00:44] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://google.emale.uno/api/docflow/prepare-generated-doc","payload":{"account_id":"22699852","entity_id":"42468374","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"7ff44a8"}
[2026-08-07 10:00:44] docflow.WARNING: AmoDrive prepare-generated-doc request failed {"url":"https://google.emale.uno/api/docflow/prepare-generated-doc","http_code":null,"error":"HTTP/2 400 ","response":"<!DOCTYPE HTML PUBLIC \"-//IETF//DTD HTML 2.0//EN\">\r\n<html>\r\n<head><title>400 Bad Request</title></head>\r\n<body>\r\n<center><h1>400 Bad Request</h1></center>\r\n Sorry for the inconvenience.<br/>\r\nPlease report this message and include the following information to us.<br/>\r\nThank you very much!</p>\r\n<table>\r\n<tr>\r\n<td>URL:</td>\r\n<td>https://gd.glucose-dev.online/api/docflow/prepare-generated-doc</td>\r\n</tr>\r\n<tr>\r\n<td>Server:</td>\r\n<td>mail.glucose-dev.online</td>\r\n</tr>\r\n<tr>\r\n<td>Date:</td>\r\n<td>2026/08/07 10:00:44</td>\r\n</tr>\r\n</table>\r\n<hr><center>tengine</center>\r\n</body>\r\n</html>\r\n","payload":{"account_id":"22699852","entity_id":"42468374","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"7ff44a8"}
[2026-08-07 10:00:44] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://gd.glucose-dev.online/api/docflow/prepare-generated-doc","payload":{"account_id":"22699852","entity_id":"42468374","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"7ff44a8"}
[2026-08-07 10:00:44] docflow.WARNING: AmoDrive prepare-generated-doc request failed {"url":"https://gd.glucose-dev.online/api/docflow/prepare-generated-doc","http_code":null,"error":"HTTP/2 404 ","response":"[object] (stdClass: {\"ok\":false,\"error\":\"AmoDrive is not installed for this account.\",\"accountId\":22699852})","payload":{"account_id":"22699852","entity_id":"42468374","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"7ff44a8"}
[2026-08-07 10:00:44] 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 648 20260807100044\",\"leadId\":\"42468374\",\"entities\":{\"\\u0441\\u0434\\u0435\\u043b\\u043a\\u0430\":{\"Brand\":\"Emigrare.md\",\"Shema\":\"Emigrare\",\"Suma \\u20ac\":\"0\",\"tree_name\":\"Emigrare\",\"#Manager Front\":\"Capanji Igor\",\"Urm\\u0103torul contact\":\"2026-08-06 17:06:00\",\"Suma avans\":\"9010\",\"Manager Juridic\":\"Dascal Anatolie\",\"#Manager Jurist\":\"Dascal Anatolie\",\"ID\":\"42468374\",\"\\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\":\"1920\",\"Budget\":\"1920\",\"\\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\",\"Urm\\u0103torul contact\":\"2026-08-06 17:06:00\",\"Suma avans\":\"9010\",\"Manager Juridic\":\"Dascal Anatolie\",\"#Manager Jurist\":\"Dascal Anatolie\",\"ID\":\"42468374\",\"\\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\":\"1920\",\"Budget\":\"1920\",\"\\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\":\"37378536183\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Taracanov Evghenii\",\"Contact_name\":\"Taracanov Evghenii\",\"\\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\":\"37378536183\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Taracanov Evghenii\",\"Contact_name\":\"Taracanov Evghenii\",\"\\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\":\"37378536183\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Taracanov Evghenii\",\"\\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\":\"07.08.2026\",\"\\u041d\\u043e\\u043c\\u0435\\u0440\":\"648\"},\"document\":{\"Date\":\"07.08.2026\",\"Number\":\"648\"}}}","edit":true}} {"uid":"7ff44a8"}
[2026-08-07 10:00:51] docflow.DEBUG: GAS raw response {"raw":"[object] (stdClass: {\"code\":1,\"url\":\"https://docs.google.com/open?id=1JZQ93gW2hY8mrPtxRMsr0r2VmlDyr5vStHfyBm3rH20\",\"file_id\":\"1JZQ93gW2hY8mrPtxRMsr0r2VmlDyr5vStHfyBm3rH20\",\"error\":\"\",\"vars\":\"\"})"} {"uid":"7ff44a8"}
[2026-08-07 10:00:51] docflow.WARNING: AmoDrive generated-file move is not ready. {"fileId":"1JZQ93gW2hY8mrPtxRMsr0r2VmlDyr5vStHfyBm3rH20","context":null} {"uid":"7ff44a8"}
[2026-08-07 10:26:58] docflow.INFO: Apel createDoc {"data":{"amoAccountId":"22699852","amoUserId":null,"amoEntityId":"42468374","amoEntityType":"2","templateId":"11499","corporateEntityId":"","settlementAccountId":"","is_signed":null,"gdi":null,"number":null,"currentAmoUserId":null,"lang":"ru"}} {"uid":"687a104"}
[2026-08-07 10:26:58] docflow.INFO: Token is valid for account 22699852. [] {"uid":"687a104"}
[2026-08-07 10:26:58] docflow.DEBUG: getClientAuth returned {"auth":"[object] (stdClass: {\"domain\":\"emigrare.amocrm.ru\",\"access_token\":\"eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImp0aSI6ImMyNzMxNzA5YWNlYjQ3YTZiMjRjOWM4N2Y0ODZlYzY0MmViMGZlMzc0OTZlNjJiOTY5YjYwNzA5ODVmNzAyNDViMmU1OGNjMDc5ZGZjNGZmIn0.eyJhdWQiOiIwZDY0ZGZmYi1lNTRiLTQ0OGYtOWZiZi1iYWYyMjUxYTExZGIiLCJqdGkiOiJjMjczMTcwOWFjZWI0N2E2YjI0YzljODdmNDg2ZWM2NDJlYjBmZTM3NDk2ZTYyYjk2OWI2MDcwOTg1ZjcwMjQ1YjJlNThjYzA3OWRmYzRmZiIsImlhdCI6MTc4NjA4MzEwOCwibmJmIjoxNzg2MDgzMTA4LCJleHAiOjE3ODYxNjk1MDgsInN1YiI6IjI5MzAzODAiLCJncmFudF90eXBlIjoiIiwiYWNjb3VudF9pZCI6MjI2OTk4NTIsImJhc2VfZG9tYWluIjoiYW1vY3JtLnJ1IiwidmVyc2lvbiI6Miwic2NvcGVzIjpbInB1c2hfbm90aWZpY2F0aW9ucyIsImNybSIsIm5vdGlmaWNhdGlvbnMiXSwiaGFzaF91dWlkIjoiYWZiMjc1MmItYmEyMC00ODA5LWExYzItNGM2NTVhNzJjZmVkIiwiYXBpX2RvbWFpbiI6ImFwaS1hLmFtb2NybS5ydSJ9.NYT7VRx9Gk69Gf89Vi-Ye8qoEe6m4X2r6rt_ieHd7XcTlTvdfXxeoiDraoY0Kl_1wZsukjBQIHhosYjvCWDgz-mceKssDr3lrjutg4P3x1XLUBO2ChLA0E3faDA18p_Lza8FhLJkRyG0qxt8vAbgxRdrGDDyyWBRIljC6-Cb4YzJ198ovx01C9nglI8o4kqUEj8rPYeKgDIgvRqgpNEse0thuKswZpnw3c-lYv1PuaqguqoOx1qD6XbXMWevRQuzwQ9JkSNN7pE_U_8M8iIMIzcfxqG1A_TqsbfbZzCD5b9px0JPhNSxZCH3L3b9_B90D9MlYGe7miIYOd7Py_82rg\"})","file":"/home/ytvmclwh/document.amocrm.md/src/Models/Docs.php","line":121} {"uid":"687a104"}
[2026-08-07 10:27:01] docflow.DEBUG: AmoDrive docflow context request {"url":"https://google.emale.uno/api/docflow/google-context","query":{"account_id":"22699852","entity_id":"42468374","entity_type":"leads"}} {"uid":"687a104"}
[2026-08-07 10:27: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=42468374&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/08/07 10:27:01</td>\r\n</tr>\r\n</table>\r\n<hr><center>tengine</center>\r\n</body>\r\n</html>\r\n"} {"uid":"687a104"}
[2026-08-07 10:27:01] docflow.DEBUG: AmoDrive docflow context request {"url":"https://gd.glucose-dev.online/api/docflow/google-context","query":{"account_id":"22699852","entity_id":"42468374","entity_type":"leads"}} {"uid":"687a104"}
[2026-08-07 10:27:01] docflow.WARNING: AmoDrive docflow context response is not ready, trying next backend. {"url":"https://gd.glucose-dev.online/api/docflow/google-context","payload":{"ok":true,"accountId":22699852,"entityId":"42468374","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":379,"isLifetime":false},"licenseActive":false,"googleConnected":false,"googleEmail":null,"googleHasDriveScope":false,"googleHasDriveFileScope":false,"googleHasOwnershipScope":false,"readyForGeneratedFileMove":false,"readyForTransfer":false},"folder":{"id":"1kH3RDd3GlhY5g--aTxX9MGsn5jogvzZv","name":"42468374 - Lead #42468374","webViewLink":"https://drive.google.com/drive/folders/1kH3RDd3GlhY5g--aTxX9MGsn5jogvzZv"}}} {"uid":"687a104"}
[2026-08-07 10:27:01] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://google.emale.uno/api/docflow/prepare-generated-doc","payload":{"account_id":"22699852","entity_id":"42468374","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"687a104"}
[2026-08-07 10:27:01] docflow.WARNING: AmoDrive prepare-generated-doc request failed {"url":"https://google.emale.uno/api/docflow/prepare-generated-doc","http_code":null,"error":"HTTP/2 400 ","response":"<!DOCTYPE HTML PUBLIC \"-//IETF//DTD HTML 2.0//EN\">\r\n<html>\r\n<head><title>400 Bad Request</title></head>\r\n<body>\r\n<center><h1>400 Bad Request</h1></center>\r\n Sorry for the inconvenience.<br/>\r\nPlease report this message and include the following information to us.<br/>\r\nThank you very much!</p>\r\n<table>\r\n<tr>\r\n<td>URL:</td>\r\n<td>https://gd.glucose-dev.online/api/docflow/prepare-generated-doc</td>\r\n</tr>\r\n<tr>\r\n<td>Server:</td>\r\n<td>mail.glucose-dev.online</td>\r\n</tr>\r\n<tr>\r\n<td>Date:</td>\r\n<td>2026/08/07 10:27:01</td>\r\n</tr>\r\n</table>\r\n<hr><center>tengine</center>\r\n</body>\r\n</html>\r\n","payload":{"account_id":"22699852","entity_id":"42468374","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"687a104"}
[2026-08-07 10:27:01] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://gd.glucose-dev.online/api/docflow/prepare-generated-doc","payload":{"account_id":"22699852","entity_id":"42468374","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"687a104"}
[2026-08-07 10:27:01] docflow.WARNING: AmoDrive prepare-generated-doc request failed {"url":"https://gd.glucose-dev.online/api/docflow/prepare-generated-doc","http_code":null,"error":"HTTP/2 404 ","response":"[object] (stdClass: {\"ok\":false,\"error\":\"AmoDrive is not installed for this account.\",\"accountId\":22699852})","payload":{"account_id":"22699852","entity_id":"42468374","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"687a104"}
[2026-08-07 10:27:01] 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  664 20260807102701\",\"leadId\":\"42468374\",\"entities\":{\"\\u0441\\u0434\\u0435\\u043b\\u043a\\u0430\":{\"Brand\":\"Emigrare.md\",\"Shema\":\"Emigrare\",\"Suma \\u20ac\":\"0\",\"tree_name\":\"Emigrare\",\"#Manager Front\":\"Capanji Igor\",\"Urm\\u0103torul contact\":\"2026-08-06 17:06:00\",\"Suma avans\":\"910\",\"Manager Juridic\":\"Dascal Anatolie\",\"#Manager Jurist\":\"Dascal Anatolie\",\"ID\":\"42468374\",\"\\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\":\"1920\",\"Budget\":\"1920\",\"\\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\",\"Urm\\u0103torul contact\":\"2026-08-06 17:06:00\",\"Suma avans\":\"910\",\"Manager Juridic\":\"Dascal Anatolie\",\"#Manager Jurist\":\"Dascal Anatolie\",\"ID\":\"42468374\",\"\\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\":\"1920\",\"Budget\":\"1920\",\"\\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\":\"37378536183\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Taracanov Evghenii\",\"Contact_name\":\"Taracanov Evghenii\",\"\\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\":\"37378536183\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Taracanov Evghenii\",\"Contact_name\":\"Taracanov Evghenii\",\"\\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\":\"37378536183\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Taracanov Evghenii\",\"\\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\":\"07.08.2026\",\"\\u041d\\u043e\\u043c\\u0435\\u0440\":\"664\"},\"document\":{\"Date\":\"07.08.2026\",\"Number\":\"664\"}}}","edit":true}} {"uid":"687a104"}
[2026-08-07 10:27:12] docflow.DEBUG: GAS raw response {"raw":"[object] (stdClass: {\"code\":1,\"url\":\"https://docs.google.com/open?id=1pHOoBItc1uByy4dlcNF3I_RQwrED-M52R3I-wKM-0Rc\",\"file_id\":\"1pHOoBItc1uByy4dlcNF3I_RQwrED-M52R3I-wKM-0Rc\",\"error\":\"\",\"vars\":\"\"})"} {"uid":"687a104"}
[2026-08-07 10:27:12] docflow.WARNING: AmoDrive generated-file move is not ready. {"fileId":"1pHOoBItc1uByy4dlcNF3I_RQwrED-M52R3I-wKM-0Rc","context":null} {"uid":"687a104"}
[2026-08-07 11:59:41] docflow.INFO: Apel createDoc {"data":{"amoAccountId":"22699852","amoUserId":null,"amoEntityId":"42479686","amoEntityType":"2","templateId":"11495","corporateEntityId":"","settlementAccountId":"","is_signed":null,"gdi":null,"number":null,"currentAmoUserId":null,"lang":"ru"}} {"uid":"7470a31"}
[2026-08-07 11:59:41] docflow.INFO: Token is valid for account 22699852. [] {"uid":"7470a31"}
[2026-08-07 11:59:41] docflow.DEBUG: getClientAuth returned {"auth":"[object] (stdClass: {\"domain\":\"emigrare.amocrm.ru\",\"access_token\":\"eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImp0aSI6ImMyNzMxNzA5YWNlYjQ3YTZiMjRjOWM4N2Y0ODZlYzY0MmViMGZlMzc0OTZlNjJiOTY5YjYwNzA5ODVmNzAyNDViMmU1OGNjMDc5ZGZjNGZmIn0.eyJhdWQiOiIwZDY0ZGZmYi1lNTRiLTQ0OGYtOWZiZi1iYWYyMjUxYTExZGIiLCJqdGkiOiJjMjczMTcwOWFjZWI0N2E2YjI0YzljODdmNDg2ZWM2NDJlYjBmZTM3NDk2ZTYyYjk2OWI2MDcwOTg1ZjcwMjQ1YjJlNThjYzA3OWRmYzRmZiIsImlhdCI6MTc4NjA4MzEwOCwibmJmIjoxNzg2MDgzMTA4LCJleHAiOjE3ODYxNjk1MDgsInN1YiI6IjI5MzAzODAiLCJncmFudF90eXBlIjoiIiwiYWNjb3VudF9pZCI6MjI2OTk4NTIsImJhc2VfZG9tYWluIjoiYW1vY3JtLnJ1IiwidmVyc2lvbiI6Miwic2NvcGVzIjpbInB1c2hfbm90aWZpY2F0aW9ucyIsImNybSIsIm5vdGlmaWNhdGlvbnMiXSwiaGFzaF91dWlkIjoiYWZiMjc1MmItYmEyMC00ODA5LWExYzItNGM2NTVhNzJjZmVkIiwiYXBpX2RvbWFpbiI6ImFwaS1hLmFtb2NybS5ydSJ9.NYT7VRx9Gk69Gf89Vi-Ye8qoEe6m4X2r6rt_ieHd7XcTlTvdfXxeoiDraoY0Kl_1wZsukjBQIHhosYjvCWDgz-mceKssDr3lrjutg4P3x1XLUBO2ChLA0E3faDA18p_Lza8FhLJkRyG0qxt8vAbgxRdrGDDyyWBRIljC6-Cb4YzJ198ovx01C9nglI8o4kqUEj8rPYeKgDIgvRqgpNEse0thuKswZpnw3c-lYv1PuaqguqoOx1qD6XbXMWevRQuzwQ9JkSNN7pE_U_8M8iIMIzcfxqG1A_TqsbfbZzCD5b9px0JPhNSxZCH3L3b9_B90D9MlYGe7miIYOd7Py_82rg\"})","file":"/home/ytvmclwh/document.amocrm.md/src/Models/Docs.php","line":121} {"uid":"7470a31"}
[2026-08-07 11:59:43] docflow.DEBUG: AmoDrive docflow context request {"url":"https://google.emale.uno/api/docflow/google-context","query":{"account_id":"22699852","entity_id":"42479686","entity_type":"leads"}} {"uid":"7470a31"}
[2026-08-07 11:59:43] docflow.WARNING: AmoDrive docflow context request failed {"url":"https://google.emale.uno/api/docflow/google-context","http_code":null,"error":"HTTP/2 400 ","response":"<!DOCTYPE HTML PUBLIC \"-//IETF//DTD HTML 2.0//EN\">\r\n<html>\r\n<head><title>400 Bad Request</title></head>\r\n<body>\r\n<center><h1>400 Bad Request</h1></center>\r\n Sorry for the inconvenience.<br/>\r\nPlease report this message and include the following information to us.<br/>\r\nThank you very much!</p>\r\n<table>\r\n<tr>\r\n<td>URL:</td>\r\n<td>https://gd.glucose-dev.online/api/docflow/google-context?account_id=22699852&amp;entity_id=42479686&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/08/07 11:59:44</td>\r\n</tr>\r\n</table>\r\n<hr><center>tengine</center>\r\n</body>\r\n</html>\r\n"} {"uid":"7470a31"}
[2026-08-07 11:59:43] docflow.DEBUG: AmoDrive docflow context request {"url":"https://gd.glucose-dev.online/api/docflow/google-context","query":{"account_id":"22699852","entity_id":"42479686","entity_type":"leads"}} {"uid":"7470a31"}
[2026-08-07 11:59:43] docflow.WARNING: AmoDrive docflow context response is not ready, trying next backend. {"url":"https://gd.glucose-dev.online/api/docflow/google-context","payload":{"ok":true,"accountId":22699852,"entityId":"42479686","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":379,"isLifetime":false},"licenseActive":false,"googleConnected":false,"googleEmail":null,"googleHasDriveScope":false,"googleHasDriveFileScope":false,"googleHasOwnershipScope":false,"readyForGeneratedFileMove":false,"readyForTransfer":false},"folder":null}} {"uid":"7470a31"}
[2026-08-07 11:59:43] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://google.emale.uno/api/docflow/prepare-generated-doc","payload":{"account_id":"22699852","entity_id":"42479686","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"7470a31"}
[2026-08-07 11:59:44] docflow.WARNING: AmoDrive prepare-generated-doc request failed {"url":"https://google.emale.uno/api/docflow/prepare-generated-doc","http_code":null,"error":"HTTP/2 400 ","response":"<!DOCTYPE HTML PUBLIC \"-//IETF//DTD HTML 2.0//EN\">\r\n<html>\r\n<head><title>400 Bad Request</title></head>\r\n<body>\r\n<center><h1>400 Bad Request</h1></center>\r\n Sorry for the inconvenience.<br/>\r\nPlease report this message and include the following information to us.<br/>\r\nThank you very much!</p>\r\n<table>\r\n<tr>\r\n<td>URL:</td>\r\n<td>https://gd.glucose-dev.online/api/docflow/prepare-generated-doc</td>\r\n</tr>\r\n<tr>\r\n<td>Server:</td>\r\n<td>mail.glucose-dev.online</td>\r\n</tr>\r\n<tr>\r\n<td>Date:</td>\r\n<td>2026/08/07 11:59:44</td>\r\n</tr>\r\n</table>\r\n<hr><center>tengine</center>\r\n</body>\r\n</html>\r\n","payload":{"account_id":"22699852","entity_id":"42479686","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"7470a31"}
[2026-08-07 11:59:44] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://gd.glucose-dev.online/api/docflow/prepare-generated-doc","payload":{"account_id":"22699852","entity_id":"42479686","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"7470a31"}
[2026-08-07 11:59:44] docflow.WARNING: AmoDrive prepare-generated-doc request failed {"url":"https://gd.glucose-dev.online/api/docflow/prepare-generated-doc","http_code":null,"error":"HTTP/2 404 ","response":"[object] (stdClass: {\"ok\":false,\"error\":\"AmoDrive is not installed for this account.\",\"accountId\":22699852})","payload":{"account_id":"22699852","entity_id":"42479686","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"7470a31"}
[2026-08-07 11:59:44] 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) 351 20260807115943\",\"leadId\":\"42479686\",\"entities\":{\"\\u0441\\u0434\\u0435\\u043b\\u043a\\u0430\":{\"Suma \\u20ac\":\"0\",\"ID\":\"42479686\",\"\\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\":\"Marina Negruta\",\"Responsible\":\"Marina Negruta\"},\"lead\":{\"Suma \\u20ac\":\"0\",\"ID\":\"42479686\",\"\\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\":\"Marina Negruta\",\"Responsible\":\"Marina Negruta\"},\"\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442\":{\"TelegramId_WZ\":\"163541965\",\"TelegramUsername_WZ\":\"@k_r_v_n\",\"Email\":\"Korovinkonstantin13@gmail.com\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"\\u041a\\u043e\\u0440\\u043e\\u0432\\u0438\\u043d \\u041a\\u043e\\u043d\\u0441\\u0442\\u0430\\u043d\\u0442\\u0438\\u043d \\u041a\\u043e\\u043d\\u0441\\u0442\\u0430\\u043d\\u0442\\u0438\\u043d\\u043e\\u0432\\u0438\\u0447\",\"Contact_name\":\"\\u041a\\u043e\\u0440\\u043e\\u0432\\u0438\\u043d \\u041a\\u043e\\u043d\\u0441\\u0442\\u0430\\u043d\\u0442\\u0438\\u043d \\u041a\\u043e\\u043d\\u0441\\u0442\\u0430\\u043d\\u0442\\u0438\\u043d\\u043e\\u0432\\u0438\\u0447\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"Marina Negruta\",\"Responsible\":\"Marina Negruta\"},\"contact\":{\"TelegramId_WZ\":\"163541965\",\"TelegramUsername_WZ\":\"@k_r_v_n\",\"Email\":\"Korovinkonstantin13@gmail.com\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"\\u041a\\u043e\\u0440\\u043e\\u0432\\u0438\\u043d \\u041a\\u043e\\u043d\\u0441\\u0442\\u0430\\u043d\\u0442\\u0438\\u043d \\u041a\\u043e\\u043d\\u0441\\u0442\\u0430\\u043d\\u0442\\u0438\\u043d\\u043e\\u0432\\u0438\\u0447\",\"Contact_name\":\"\\u041a\\u043e\\u0440\\u043e\\u0432\\u0438\\u043d \\u041a\\u043e\\u043d\\u0441\\u0442\\u0430\\u043d\\u0442\\u0438\\u043d \\u041a\\u043e\\u043d\\u0441\\u0442\\u0430\\u043d\\u0442\\u0438\\u043d\\u043e\\u0432\\u0438\\u0447\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"Marina Negruta\",\"Responsible\":\"Marina Negruta\"},\"\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442\\u044b\":[{\"TelegramId_WZ\":\"163541965\",\"TelegramUsername_WZ\":\"@k_r_v_n\",\"Email\":\"Korovinkonstantin13@gmail.com\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"\\u041a\\u043e\\u0440\\u043e\\u0432\\u0438\\u043d \\u041a\\u043e\\u043d\\u0441\\u0442\\u0430\\u043d\\u0442\\u0438\\u043d \\u041a\\u043e\\u043d\\u0441\\u0442\\u0430\\u043d\\u0442\\u0438\\u043d\\u043e\\u0432\\u0438\\u0447\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"Marina Negruta\"}],\"\\u0434\\u043e\\u043a\\u0443\\u043c\\u0435\\u043d\\u0442\":{\"\\u0414\\u0430\\u0442\\u0430\":\"07.08.2026\",\"\\u041d\\u043e\\u043c\\u0435\\u0440\":\"351\"},\"document\":{\"Date\":\"07.08.2026\",\"Number\":\"351\"}}}","edit":true}} {"uid":"7470a31"}
[2026-08-07 11:59:51] docflow.DEBUG: GAS raw response {"raw":"[object] (stdClass: {\"code\":1,\"url\":\"https://docs.google.com/open?id=13bqELfAJuQDXJJaAqK2ak0tmdtUdKbTeKiOcfofxces\",\"file_id\":\"13bqELfAJuQDXJJaAqK2ak0tmdtUdKbTeKiOcfofxces\",\"error\":\"\",\"vars\":\"\"})"} {"uid":"7470a31"}
[2026-08-07 11:59:51] docflow.WARNING: AmoDrive generated-file move is not ready. {"fileId":"13bqELfAJuQDXJJaAqK2ak0tmdtUdKbTeKiOcfofxces","context":null} {"uid":"7470a31"}
[2026-08-07 11:59:57] docflow.INFO: Apel createDoc {"data":{"amoAccountId":"22699852","amoUserId":null,"amoEntityId":"42479686","amoEntityType":"2","templateId":"11512","corporateEntityId":"","settlementAccountId":"","is_signed":null,"gdi":null,"number":null,"currentAmoUserId":null,"lang":"ru"}} {"uid":"021ab24"}
[2026-08-07 11:59:57] docflow.INFO: Token is valid for account 22699852. [] {"uid":"021ab24"}
[2026-08-07 11:59:57] docflow.DEBUG: getClientAuth returned {"auth":"[object] (stdClass: {\"domain\":\"emigrare.amocrm.ru\",\"access_token\":\"eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImp0aSI6ImMyNzMxNzA5YWNlYjQ3YTZiMjRjOWM4N2Y0ODZlYzY0MmViMGZlMzc0OTZlNjJiOTY5YjYwNzA5ODVmNzAyNDViMmU1OGNjMDc5ZGZjNGZmIn0.eyJhdWQiOiIwZDY0ZGZmYi1lNTRiLTQ0OGYtOWZiZi1iYWYyMjUxYTExZGIiLCJqdGkiOiJjMjczMTcwOWFjZWI0N2E2YjI0YzljODdmNDg2ZWM2NDJlYjBmZTM3NDk2ZTYyYjk2OWI2MDcwOTg1ZjcwMjQ1YjJlNThjYzA3OWRmYzRmZiIsImlhdCI6MTc4NjA4MzEwOCwibmJmIjoxNzg2MDgzMTA4LCJleHAiOjE3ODYxNjk1MDgsInN1YiI6IjI5MzAzODAiLCJncmFudF90eXBlIjoiIiwiYWNjb3VudF9pZCI6MjI2OTk4NTIsImJhc2VfZG9tYWluIjoiYW1vY3JtLnJ1IiwidmVyc2lvbiI6Miwic2NvcGVzIjpbInB1c2hfbm90aWZpY2F0aW9ucyIsImNybSIsIm5vdGlmaWNhdGlvbnMiXSwiaGFzaF91dWlkIjoiYWZiMjc1MmItYmEyMC00ODA5LWExYzItNGM2NTVhNzJjZmVkIiwiYXBpX2RvbWFpbiI6ImFwaS1hLmFtb2NybS5ydSJ9.NYT7VRx9Gk69Gf89Vi-Ye8qoEe6m4X2r6rt_ieHd7XcTlTvdfXxeoiDraoY0Kl_1wZsukjBQIHhosYjvCWDgz-mceKssDr3lrjutg4P3x1XLUBO2ChLA0E3faDA18p_Lza8FhLJkRyG0qxt8vAbgxRdrGDDyyWBRIljC6-Cb4YzJ198ovx01C9nglI8o4kqUEj8rPYeKgDIgvRqgpNEse0thuKswZpnw3c-lYv1PuaqguqoOx1qD6XbXMWevRQuzwQ9JkSNN7pE_U_8M8iIMIzcfxqG1A_TqsbfbZzCD5b9px0JPhNSxZCH3L3b9_B90D9MlYGe7miIYOd7Py_82rg\"})","file":"/home/ytvmclwh/document.amocrm.md/src/Models/Docs.php","line":121} {"uid":"021ab24"}
[2026-08-07 11:59:59] docflow.DEBUG: AmoDrive docflow context request {"url":"https://google.emale.uno/api/docflow/google-context","query":{"account_id":"22699852","entity_id":"42479686","entity_type":"leads"}} {"uid":"021ab24"}
[2026-08-07 11:59:59] docflow.WARNING: AmoDrive docflow context request failed {"url":"https://google.emale.uno/api/docflow/google-context","http_code":null,"error":"HTTP/2 400 ","response":"<!DOCTYPE HTML PUBLIC \"-//IETF//DTD HTML 2.0//EN\">\r\n<html>\r\n<head><title>400 Bad Request</title></head>\r\n<body>\r\n<center><h1>400 Bad Request</h1></center>\r\n Sorry for the inconvenience.<br/>\r\nPlease report this message and include the following information to us.<br/>\r\nThank you very much!</p>\r\n<table>\r\n<tr>\r\n<td>URL:</td>\r\n<td>https://gd.glucose-dev.online/api/docflow/google-context?account_id=22699852&amp;entity_id=42479686&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/08/07 11:59:59</td>\r\n</tr>\r\n</table>\r\n<hr><center>tengine</center>\r\n</body>\r\n</html>\r\n"} {"uid":"021ab24"}
[2026-08-07 11:59:59] docflow.DEBUG: AmoDrive docflow context request {"url":"https://gd.glucose-dev.online/api/docflow/google-context","query":{"account_id":"22699852","entity_id":"42479686","entity_type":"leads"}} {"uid":"021ab24"}
[2026-08-07 11:59:59] docflow.WARNING: AmoDrive docflow context response is not ready, trying next backend. {"url":"https://gd.glucose-dev.online/api/docflow/google-context","payload":{"ok":true,"accountId":22699852,"entityId":"42479686","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":379,"isLifetime":false},"licenseActive":false,"googleConnected":false,"googleEmail":null,"googleHasDriveScope":false,"googleHasDriveFileScope":false,"googleHasOwnershipScope":false,"readyForGeneratedFileMove":false,"readyForTransfer":false},"folder":{"id":"1WGcD9ZTNR5GeaIBk83bjFFzXvgBgN14T","name":"42479686 - Lead #42479686","webViewLink":"https://drive.google.com/drive/folders/1WGcD9ZTNR5GeaIBk83bjFFzXvgBgN14T"}}} {"uid":"021ab24"}
[2026-08-07 11:59:59] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://google.emale.uno/api/docflow/prepare-generated-doc","payload":{"account_id":"22699852","entity_id":"42479686","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"021ab24"}
[2026-08-07 11:59:59] 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/08/07 11:59:59</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":"42479686","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"021ab24"}
[2026-08-07 11:59:59] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://gd.glucose-dev.online/api/docflow/prepare-generated-doc","payload":{"account_id":"22699852","entity_id":"42479686","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"021ab24"}
[2026-08-07 11:59:59] 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":"42479686","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"021ab24"}
[2026-08-07 11:59:59] docflow.DEBUG: GAS request {"url":"https://script.google.com/macros/s/AKfycbwrvOJD46zkuoTzdhpc1kulhV8jRfgQBFZfQ121nkIip_k8yKit4xrbWTOzaJ-C-Yed6w/exec","body":{"templateFileId":"1lw0x40QgTScLC9q0Y4Biue0UwWdt_ZAMqJIt_RZ-DQ8","accountId":"22699852","folderId":"1Us2AfskxgdA729xVr0F2vjZU9y5PlYDe","key":"~VTsK5dcnHc2cSSsjM$LFSjLlgbmJXwrp3R2P5nd","data":"{\"fileName\":\"\\u0421\\u0447\\u0435\\u0442 \\u043d\\u0430 \\u043e\\u043f\\u043b\\u0430\\u0442\\u0443 EMG (EUR\\/USD\\/MDL) 225 20260807115959\",\"leadId\":\"42479686\",\"entities\":{\"\\u0441\\u0434\\u0435\\u043b\\u043a\\u0430\":{\"Suma \\u20ac\":\"0\",\"ID\":\"42479686\",\"\\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\":\"Marina Negruta\",\"Responsible\":\"Marina Negruta\"},\"lead\":{\"Suma \\u20ac\":\"0\",\"ID\":\"42479686\",\"\\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\":\"Marina Negruta\",\"Responsible\":\"Marina Negruta\"},\"\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442\":{\"TelegramId_WZ\":\"163541965\",\"TelegramUsername_WZ\":\"@k_r_v_n\",\"Email\":\"Korovinkonstantin13@gmail.com\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"\\u041a\\u043e\\u0440\\u043e\\u0432\\u0438\\u043d \\u041a\\u043e\\u043d\\u0441\\u0442\\u0430\\u043d\\u0442\\u0438\\u043d \\u041a\\u043e\\u043d\\u0441\\u0442\\u0430\\u043d\\u0442\\u0438\\u043d\\u043e\\u0432\\u0438\\u0447\",\"Contact_name\":\"\\u041a\\u043e\\u0440\\u043e\\u0432\\u0438\\u043d \\u041a\\u043e\\u043d\\u0441\\u0442\\u0430\\u043d\\u0442\\u0438\\u043d \\u041a\\u043e\\u043d\\u0441\\u0442\\u0430\\u043d\\u0442\\u0438\\u043d\\u043e\\u0432\\u0438\\u0447\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"Marina Negruta\",\"Responsible\":\"Marina Negruta\"},\"contact\":{\"TelegramId_WZ\":\"163541965\",\"TelegramUsername_WZ\":\"@k_r_v_n\",\"Email\":\"Korovinkonstantin13@gmail.com\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"\\u041a\\u043e\\u0440\\u043e\\u0432\\u0438\\u043d \\u041a\\u043e\\u043d\\u0441\\u0442\\u0430\\u043d\\u0442\\u0438\\u043d \\u041a\\u043e\\u043d\\u0441\\u0442\\u0430\\u043d\\u0442\\u0438\\u043d\\u043e\\u0432\\u0438\\u0447\",\"Contact_name\":\"\\u041a\\u043e\\u0440\\u043e\\u0432\\u0438\\u043d \\u041a\\u043e\\u043d\\u0441\\u0442\\u0430\\u043d\\u0442\\u0438\\u043d \\u041a\\u043e\\u043d\\u0441\\u0442\\u0430\\u043d\\u0442\\u0438\\u043d\\u043e\\u0432\\u0438\\u0447\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"Marina Negruta\",\"Responsible\":\"Marina Negruta\"},\"\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442\\u044b\":[{\"TelegramId_WZ\":\"163541965\",\"TelegramUsername_WZ\":\"@k_r_v_n\",\"Email\":\"Korovinkonstantin13@gmail.com\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"\\u041a\\u043e\\u0440\\u043e\\u0432\\u0438\\u043d \\u041a\\u043e\\u043d\\u0441\\u0442\\u0430\\u043d\\u0442\\u0438\\u043d \\u041a\\u043e\\u043d\\u0441\\u0442\\u0430\\u043d\\u0442\\u0438\\u043d\\u043e\\u0432\\u0438\\u0447\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"Marina Negruta\"}],\"\\u0434\\u043e\\u043a\\u0443\\u043c\\u0435\\u043d\\u0442\":{\"\\u0414\\u0430\\u0442\\u0430\":\"07.08.2026\",\"\\u041d\\u043e\\u043c\\u0435\\u0440\":\"225\"},\"document\":{\"Date\":\"07.08.2026\",\"Number\":\"225\"}}}","edit":true}} {"uid":"021ab24"}
[2026-08-07 12:00:06] docflow.DEBUG: GAS raw response {"raw":"[object] (stdClass: {\"code\":1,\"url\":\"https://docs.google.com/open?id=1aM8fz52yLhiRl-WpxoLGKDocznyTSPXXBHzkuGIwUZk\",\"file_id\":\"1aM8fz52yLhiRl-WpxoLGKDocznyTSPXXBHzkuGIwUZk\",\"error\":\"\",\"vars\":\"\"})"} {"uid":"021ab24"}
[2026-08-07 12:00:06] docflow.WARNING: AmoDrive generated-file move is not ready. {"fileId":"1aM8fz52yLhiRl-WpxoLGKDocznyTSPXXBHzkuGIwUZk","context":null} {"uid":"021ab24"}
[2026-08-07 12:03:28] docflow.INFO: Apel createDoc {"data":{"amoAccountId":"32990686","amoUserId":null,"amoEntityId":"40279893","amoEntityType":"2","templateId":"11625","corporateEntityId":"","settlementAccountId":"","is_signed":null,"gdi":null,"number":null,"currentAmoUserId":null,"lang":"ru"}} {"uid":"75e121f"}
[2026-08-07 12:03:29] docflow.INFO: Token validation failed for account 32990686. Refreshing... {"http_code":null,"error_message":"HTTP/2 401 "} {"uid":"75e121f"}
[2026-08-07 12:03:29] docflow.INFO: Attempting token refresh with payload: {"client_id":"0d64dffb-e54b-448f-9fbf-baf2251a11db","client_secret":"AXqHrT1J35SilTTtI3yyaHdQKiS5bonhySaPYkLmo7mR6ZZ9zDP24dUjG189VG9G","grant_type":"refresh_token","refresh_token":"def5020011f7c74a5243fcad1b3338dbd64bd3fa10487b9b6ac732bb9e3642c53d853d144655a2051ba322f119ceb9cd84d686ac0fd14c85a639620d40f572b7b8c7163558a1c8d5130105284c4e819a1daf1ee0d41ba8423d2595c9aeccc0baef4ee588cc1cc3473713f14ee950f11373b1acfc652fe9d9c5cab13e489173749df99169134b0377fa79b002421834abc7aeb551a5de7afd9a41cc364b9a7deb7d206c2277a863fcc9b1d56fd523e24387b768b25d680ded36e27f048a76cda203becf09dd7221e383f8f56d3cbb30c9514f702fd2cbfaba8ffd70232711151473d1420c547205e7078a341c0f9e940c534d1282ae30553d79b9c8e48462a6057416f3555f8cade3798d4ec70b909ce97d2fa6189f2766d7d73ae1cffe9debb62a3d4850a3319e283c999b883b92d8b6d3a0cb62157a6203fe42b577c530801922267a4c4b78160e92f002c63ddfacddb4d5ea22c6fbf761ef41eb105e15f1ac63a1fd50bee260da79156895694870ccf39f030f3fc0ea4dd921e220a904c228e886ebc3fa8608b9304d6008ffc35044830125f02c9b9171c96357b638220210fea422f7f1f8f4f5c708e3db0cac5fc4d7a32ae9c82f13e83b1198cacedb791d08be9f4b04918651ac6edd5372fd940f4cf568c92813fb","redirect_uri":"https://document.amocrm.md/core/manager/install.php"} {"uid":"75e121f"}
[2026-08-07 12:03:29] docflow.INFO: Token for account 32990686 refreshed successfully. [] {"uid":"75e121f"}
[2026-08-07 12:03:29] docflow.DEBUG: getClientAuth returned {"auth":"[object] (stdClass: {\"domain\":\"eurosanteh.amocrm.ru\",\"access_token\":\"eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImp0aSI6IjJlZjliOWE0ZDhjMGYwMDZjYWQyMWY5NTJkMzBkNmFmMTNjNWVhNGRiODM3NTFlNjg1YzViMjk2ZjhjOTBhNDUyNDFlN2FlMWY2YTU0YTc3In0.eyJhdWQiOiIwZDY0ZGZmYi1lNTRiLTQ0OGYtOWZiZi1iYWYyMjUxYTExZGIiLCJqdGkiOiIyZWY5YjlhNGQ4YzBmMDA2Y2FkMjFmOTUyZDMwZDZhZjEzYzVlYTRkYjgzNzUxZTY4NWM1YjI5NmY4YzkwYTQ1MjQxZTdhZTFmNmE1NGE3NyIsImlhdCI6MTc4NjA5MzQwOSwibmJmIjoxNzg2MDkzNDA5LCJleHAiOjE3ODYxNzk4MDksInN1YiI6IjEzNjg3MzAyIiwiZ3JhbnRfdHlwZSI6IiIsImFjY291bnRfaWQiOjMyOTkwNjg2LCJiYXNlX2RvbWFpbiI6ImFtb2NybS5ydSIsInZlcnNpb24iOjIsInNjb3BlcyI6WyJwdXNoX25vdGlmaWNhdGlvbnMiLCJjcm0iLCJub3RpZmljYXRpb25zIl0sImhhc2hfdXVpZCI6IjQxNTg2MTM2LThhYTItNGMzMS04NDQzLTczNzBjZjVkYjg2YyIsImFwaV9kb21haW4iOiJhcGktYi5hbW9jcm0ucnUifQ.qcldVLhACTWc9lq4fq2j93a7WpNedzFrijmyMGfJTqyMHb3yyX2b-YBlc_zk1o0VoMxl9-OD-8qrQWKtk6M1z2960Pwgjpe7lj3z5RUAoVaMp4wM4UFEWV5dwd4Dx6Az1VZ2PTi-MyJ7y6iiKnrzOMmi-PoGPfo9pwUF5M4eo_mqc3NIBMn4EfjRtSLGP2zUiUpfnPSVd5_1fQeCgP8tv2BCs0F8-LEZmpjtg-8laIHmLa6u1GD5-0ql_5uXbAaFrpoEpvnD_9yKFSfqMjVHbGhy_9sea33OeT7-j34EI_8Quu_2DmQFHeB6c-XVEUUEDiJAq2qTpfOsqLpPmwcYAw\"})","file":"/home/ytvmclwh/document.amocrm.md/src/Models/Docs.php","line":121} {"uid":"75e121f"}
[2026-08-07 12:03:32] docflow.DEBUG: AmoDrive docflow context request {"url":"https://google.emale.uno/api/docflow/google-context","query":{"account_id":"32990686","entity_id":"40279893","entity_type":"leads"}} {"uid":"75e121f"}
[2026-08-07 12:03: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=32990686&amp;entity_id=40279893&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/08/07 12:03:33</td>\r\n</tr>\r\n</table>\r\n<hr><center>tengine</center>\r\n</body>\r\n</html>\r\n"} {"uid":"75e121f"}
[2026-08-07 12:03:32] docflow.DEBUG: AmoDrive docflow context request {"url":"https://gd.glucose-dev.online/api/docflow/google-context","query":{"account_id":"32990686","entity_id":"40279893","entity_type":"leads"}} {"uid":"75e121f"}
[2026-08-07 12:03: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":32990686,"entityId":"40279893","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":"75e121f"}
[2026-08-07 12:03:32] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://google.emale.uno/api/docflow/prepare-generated-doc","payload":{"account_id":"32990686","entity_id":"40279893","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"75e121f"}
[2026-08-07 12:03: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/08/07 12:03:33</td>\r\n</tr>\r\n</table>\r\n<hr><center>tengine</center>\r\n</body>\r\n</html>\r\n","payload":{"account_id":"32990686","entity_id":"40279893","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"75e121f"}
[2026-08-07 12:03:32] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://gd.glucose-dev.online/api/docflow/prepare-generated-doc","payload":{"account_id":"32990686","entity_id":"40279893","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"75e121f"}
[2026-08-07 12:03: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\":32990686})","payload":{"account_id":"32990686","entity_id":"40279893","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"75e121f"}
[2026-08-07 12:03:32] 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 818 20260807120332\",\"leadId\":\"40279893\",\"entities\":{\"\\u0441\\u0434\\u0435\\u043b\\u043a\\u0430\":{\"\\u0421\\u043b\\u0435\\u0434\\u0443\\u044e\\u0449\\u0430\\u044f \\u0434\\u0430\\u0442\\u0430 \\u0441\\u0435\\u0440\\u0432\\u0438\\u0441\\u0430\":\"08.08.2027\",\"\\u0414\\u0430\\u0442\\u0430 \\u043c\\u043e\\u043d\\u0442\\u0430\\u0436\\u0430 (\\u0411\\u0414)\":\"08.08.2025\",\"\\u041d\\u0430\\u0437\\u0432\\u0430\\u043d\\u0438\\u0435 \\u0442\\u043e\\u0432\\u0430\\u0440\\u0430 (\\u0411\\u0414)\":\"0\",\"\\u0412\\u0438\\u0434 \\u0440\\u0430\\u0431\\u043e\\u0442\\u044b (\\u0411\\u0414)\":\"\\u0414\\u0435\\u043c\\u043e\\u043d\\u0442\\u0430\\u0436 \\u0431\\u043b\\u043e\\u043a\\u0430\",\"\\u0424\\u0418\\u041e \\u043c\\u043e\\u043d\\u0442\\u0430\\u0436\\u043d\\u0438\\u043a\\u0430 (\\u0411\\u0414)\":\"\\u041c\\u0438\\u0440\\u043e\\u043d \\u0420.\",\"\\u0414\\u0435\\u043d\\u044c \\u043d\\u0435\\u0434\\u0435\\u043b\\u0438\":\"\\u041f\\u044f\\u0442\\u043d\\u0438\\u0446\\u0430\",\"\\u0414\\u0430\\u0442\\u0430 \\u0438 \\u0432\\u0440\\u0435\\u043c\\u044f \\u0432\\u0438\\u0437\\u0438\\u0442\\u0430\":\"2026-08-08 12:01:00\",\"\\u0414\\u0430\\u0442\\u0430 \\u0432\\u0438\\u0437\\u0438\\u0442\\u0430\":\"08.08.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)\",\"\\u0418\\u0441\\u043f\\u043e\\u043b\\u043d\\u0438\\u0442\\u0435\\u043b\\u044c\":\"Alexei S\\u00eella\",\"\\u041c\\u043e\\u0434\\u0435\\u043b\\u044c \\u043e\\u0431\\u043e\\u0440\\u0443\\u0434\\u043e\\u0432\\u0430\\u043d\\u0438\\u044f 1\":\"Haier Flexis 70\",\"ID\":\"40279893\",\"\\u0421\\u0434\\u0435\\u043b\\u043a\\u0430_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"\\u041f\\u0422\\u041e\",\"Lead_name\":\"\\u041f\\u0422\\u041e\",\"\\u0411\\u044e\\u0434\\u0436\\u0435\\u0442\":\"0\",\"Budget\":\"0\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"\\u0410\\u0441\\u0442\\u0430\\u043f\\u0435\\u043d\\u043a\\u043e\\u0432\\u0430 \\u042e\\u043b\\u0438\\u0430\\u043d\\u043d\\u0430\",\"Responsible\":\"\\u0410\\u0441\\u0442\\u0430\\u043f\\u0435\\u043d\\u043a\\u043e\\u0432\\u0430 \\u042e\\u043b\\u0438\\u0430\\u043d\\u043d\\u0430\"},\"lead\":{\"\\u0421\\u043b\\u0435\\u0434\\u0443\\u044e\\u0449\\u0430\\u044f \\u0434\\u0430\\u0442\\u0430 \\u0441\\u0435\\u0440\\u0432\\u0438\\u0441\\u0430\":\"08.08.2027\",\"\\u0414\\u0430\\u0442\\u0430 \\u043c\\u043e\\u043d\\u0442\\u0430\\u0436\\u0430 (\\u0411\\u0414)\":\"08.08.2025\",\"\\u041d\\u0430\\u0437\\u0432\\u0430\\u043d\\u0438\\u0435 \\u0442\\u043e\\u0432\\u0430\\u0440\\u0430 (\\u0411\\u0414)\":\"0\",\"\\u0412\\u0438\\u0434 \\u0440\\u0430\\u0431\\u043e\\u0442\\u044b (\\u0411\\u0414)\":\"\\u0414\\u0435\\u043c\\u043e\\u043d\\u0442\\u0430\\u0436 \\u0431\\u043b\\u043e\\u043a\\u0430\",\"\\u0424\\u0418\\u041e \\u043c\\u043e\\u043d\\u0442\\u0430\\u0436\\u043d\\u0438\\u043a\\u0430 (\\u0411\\u0414)\":\"\\u041c\\u0438\\u0440\\u043e\\u043d \\u0420.\",\"\\u0414\\u0435\\u043d\\u044c \\u043d\\u0435\\u0434\\u0435\\u043b\\u0438\":\"\\u041f\\u044f\\u0442\\u043d\\u0438\\u0446\\u0430\",\"\\u0414\\u0430\\u0442\\u0430 \\u0438 \\u0432\\u0440\\u0435\\u043c\\u044f \\u0432\\u0438\\u0437\\u0438\\u0442\\u0430\":\"2026-08-08 12:01:00\",\"\\u0414\\u0430\\u0442\\u0430 \\u0432\\u0438\\u0437\\u0438\\u0442\\u0430\":\"08.08.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)\",\"\\u0418\\u0441\\u043f\\u043e\\u043b\\u043d\\u0438\\u0442\\u0435\\u043b\\u044c\":\"Alexei S\\u00eella\",\"\\u041c\\u043e\\u0434\\u0435\\u043b\\u044c \\u043e\\u0431\\u043e\\u0440\\u0443\\u0434\\u043e\\u0432\\u0430\\u043d\\u0438\\u044f 1\":\"Haier Flexis 70\",\"ID\":\"40279893\",\"\\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\":\"1002600043635\",\"\\u0410\\u0434\\u0440\\u0435\\u0441\":\"str.Eminescu 21\",\"\\u041f\\u043e\\u0432\\u0442\\u043e\\u0440\\u043d\\u044b\\u0439 \\u043a\\u043b\\u0438\\u0435\\u043d\\u0442?\":\"\\u0414\\u0430\",\"\\u0414\\u0430\\u0442\\u0430 \\u043c\\u043e\\u043d\\u0442\\u0430\\u0436\\u0430 (\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442)\":\"08.08.2023\",\"\\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)\":\"C5515\",\"\\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 70\",\"\\u0418\\u043c\\u044f \\u043a\\u043b\\u0438\\u0435\\u043d\\u0442\\u0430 (\\u0421\\u041c\\u0421)\":\"Opticlux SRL\",\"\\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\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"37369141335\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Opticlux SRL\",\"Contact_name\":\"Opticlux SRL\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"\\u0410\\u0441\\u0442\\u0430\\u043f\\u0435\\u043d\\u043a\\u043e\\u0432\\u0430 \\u042e\\u043b\\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\":\"1002600043635\",\"\\u0410\\u0434\\u0440\\u0435\\u0441\":\"str.Eminescu 21\",\"\\u041f\\u043e\\u0432\\u0442\\u043e\\u0440\\u043d\\u044b\\u0439 \\u043a\\u043b\\u0438\\u0435\\u043d\\u0442?\":\"\\u0414\\u0430\",\"\\u0414\\u0430\\u0442\\u0430 \\u043c\\u043e\\u043d\\u0442\\u0430\\u0436\\u0430 (\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442)\":\"08.08.2023\",\"\\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)\":\"C5515\",\"\\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 70\",\"\\u0418\\u043c\\u044f \\u043a\\u043b\\u0438\\u0435\\u043d\\u0442\\u0430 (\\u0421\\u041c\\u0421)\":\"Opticlux SRL\",\"\\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\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"37369141335\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Opticlux SRL\",\"Contact_name\":\"Opticlux SRL\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"\\u0410\\u0441\\u0442\\u0430\\u043f\\u0435\\u043d\\u043a\\u043e\\u0432\\u0430 \\u042e\\u043b\\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\":\"1002600043635\",\"\\u0410\\u0434\\u0440\\u0435\\u0441\":\"str.Eminescu 21\",\"\\u041f\\u043e\\u0432\\u0442\\u043e\\u0440\\u043d\\u044b\\u0439 \\u043a\\u043b\\u0438\\u0435\\u043d\\u0442?\":\"\\u0414\\u0430\",\"\\u0414\\u0430\\u0442\\u0430 \\u043c\\u043e\\u043d\\u0442\\u0430\\u0436\\u0430 (\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442)\":\"08.08.2023\",\"\\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)\":\"C5515\",\"\\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 70\",\"\\u0418\\u043c\\u044f \\u043a\\u043b\\u0438\\u0435\\u043d\\u0442\\u0430 (\\u0421\\u041c\\u0421)\":\"Opticlux SRL\",\"\\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\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"37369141335\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Opticlux SRL\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\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\":\"07.08.2026\",\"\\u041d\\u043e\\u043c\\u0435\\u0440\":\"818\"},\"document\":{\"Date\":\"07.08.2026\",\"Number\":\"818\"}}}","edit":true}} {"uid":"75e121f"}
[2026-08-07 12:03:38] docflow.DEBUG: GAS raw response {"raw":"[object] (stdClass: {\"code\":1,\"url\":\"https://docs.google.com/open?id=1XmPxqZB5AV5tsDeEdOaFdp4VbTHCVc-LbbGfmalxrP0\",\"file_id\":\"1XmPxqZB5AV5tsDeEdOaFdp4VbTHCVc-LbbGfmalxrP0\",\"error\":\"\",\"vars\":\"\"})"} {"uid":"75e121f"}
[2026-08-07 12:03:38] docflow.WARNING: AmoDrive generated-file move is not ready. {"fileId":"1XmPxqZB5AV5tsDeEdOaFdp4VbTHCVc-LbbGfmalxrP0","context":null} {"uid":"75e121f"}
[2026-08-07 12:04:17] docflow.INFO: Apel createDoc {"data":{"amoAccountId":"32990686","amoUserId":null,"amoEntityId":"40279893","amoEntityType":"2","templateId":"11646","corporateEntityId":"","settlementAccountId":"","is_signed":null,"gdi":null,"number":null,"currentAmoUserId":null,"lang":"ru"}} {"uid":"3dee172"}
[2026-08-07 12:04:17] docflow.INFO: Token is valid for account 32990686. [] {"uid":"3dee172"}
[2026-08-07 12:04:17] docflow.DEBUG: getClientAuth returned {"auth":"[object] (stdClass: {\"domain\":\"eurosanteh.amocrm.ru\",\"access_token\":\"eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImp0aSI6IjJlZjliOWE0ZDhjMGYwMDZjYWQyMWY5NTJkMzBkNmFmMTNjNWVhNGRiODM3NTFlNjg1YzViMjk2ZjhjOTBhNDUyNDFlN2FlMWY2YTU0YTc3In0.eyJhdWQiOiIwZDY0ZGZmYi1lNTRiLTQ0OGYtOWZiZi1iYWYyMjUxYTExZGIiLCJqdGkiOiIyZWY5YjlhNGQ4YzBmMDA2Y2FkMjFmOTUyZDMwZDZhZjEzYzVlYTRkYjgzNzUxZTY4NWM1YjI5NmY4YzkwYTQ1MjQxZTdhZTFmNmE1NGE3NyIsImlhdCI6MTc4NjA5MzQwOSwibmJmIjoxNzg2MDkzNDA5LCJleHAiOjE3ODYxNzk4MDksInN1YiI6IjEzNjg3MzAyIiwiZ3JhbnRfdHlwZSI6IiIsImFjY291bnRfaWQiOjMyOTkwNjg2LCJiYXNlX2RvbWFpbiI6ImFtb2NybS5ydSIsInZlcnNpb24iOjIsInNjb3BlcyI6WyJwdXNoX25vdGlmaWNhdGlvbnMiLCJjcm0iLCJub3RpZmljYXRpb25zIl0sImhhc2hfdXVpZCI6IjQxNTg2MTM2LThhYTItNGMzMS04NDQzLTczNzBjZjVkYjg2YyIsImFwaV9kb21haW4iOiJhcGktYi5hbW9jcm0ucnUifQ.qcldVLhACTWc9lq4fq2j93a7WpNedzFrijmyMGfJTqyMHb3yyX2b-YBlc_zk1o0VoMxl9-OD-8qrQWKtk6M1z2960Pwgjpe7lj3z5RUAoVaMp4wM4UFEWV5dwd4Dx6Az1VZ2PTi-MyJ7y6iiKnrzOMmi-PoGPfo9pwUF5M4eo_mqc3NIBMn4EfjRtSLGP2zUiUpfnPSVd5_1fQeCgP8tv2BCs0F8-LEZmpjtg-8laIHmLa6u1GD5-0ql_5uXbAaFrpoEpvnD_9yKFSfqMjVHbGhy_9sea33OeT7-j34EI_8Quu_2DmQFHeB6c-XVEUUEDiJAq2qTpfOsqLpPmwcYAw\"})","file":"/home/ytvmclwh/document.amocrm.md/src/Models/Docs.php","line":121} {"uid":"3dee172"}
[2026-08-07 12:04:20] docflow.DEBUG: AmoDrive docflow context request {"url":"https://google.emale.uno/api/docflow/google-context","query":{"account_id":"32990686","entity_id":"40279893","entity_type":"leads"}} {"uid":"3dee172"}
[2026-08-07 12:04: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=40279893&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/08/07 12:04:20</td>\r\n</tr>\r\n</table>\r\n<hr><center>tengine</center>\r\n</body>\r\n</html>\r\n"} {"uid":"3dee172"}
[2026-08-07 12:04:20] docflow.DEBUG: AmoDrive docflow context request {"url":"https://gd.glucose-dev.online/api/docflow/google-context","query":{"account_id":"32990686","entity_id":"40279893","entity_type":"leads"}} {"uid":"3dee172"}
[2026-08-07 12:04: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":"40279893","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":"3dee172"}
[2026-08-07 12:04:20] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://google.emale.uno/api/docflow/prepare-generated-doc","payload":{"account_id":"32990686","entity_id":"40279893","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"3dee172"}
[2026-08-07 12:04: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/08/07 12:04: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":"40279893","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"3dee172"}
[2026-08-07 12:04: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":"40279893","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"3dee172"}
[2026-08-07 12:04: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":"40279893","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"3dee172"}
[2026-08-07 12:04:20] 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 818 20260807120420\",\"leadId\":\"40279893\",\"entities\":{\"\\u0441\\u0434\\u0435\\u043b\\u043a\\u0430\":{\"\\u0421\\u043b\\u0435\\u0434\\u0443\\u044e\\u0449\\u0430\\u044f \\u0434\\u0430\\u0442\\u0430 \\u0441\\u0435\\u0440\\u0432\\u0438\\u0441\\u0430\":\"08.08.2027\",\"\\u0414\\u0430\\u0442\\u0430 \\u043c\\u043e\\u043d\\u0442\\u0430\\u0436\\u0430 (\\u0411\\u0414)\":\"08.08.2025\",\"\\u041d\\u0430\\u0437\\u0432\\u0430\\u043d\\u0438\\u0435 \\u0442\\u043e\\u0432\\u0430\\u0440\\u0430 (\\u0411\\u0414)\":\"0\",\"\\u0412\\u0438\\u0434 \\u0440\\u0430\\u0431\\u043e\\u0442\\u044b (\\u0411\\u0414)\":\"\\u0414\\u0435\\u043c\\u043e\\u043d\\u0442\\u0430\\u0436 \\u0431\\u043b\\u043e\\u043a\\u0430\",\"\\u0424\\u0418\\u041e \\u043c\\u043e\\u043d\\u0442\\u0430\\u0436\\u043d\\u0438\\u043a\\u0430 (\\u0411\\u0414)\":\"\\u041c\\u0438\\u0440\\u043e\\u043d \\u0420.\",\"\\u0414\\u0435\\u043d\\u044c \\u043d\\u0435\\u0434\\u0435\\u043b\\u0438\":\"\\u041f\\u044f\\u0442\\u043d\\u0438\\u0446\\u0430\",\"\\u0414\\u0430\\u0442\\u0430 \\u0438 \\u0432\\u0440\\u0435\\u043c\\u044f \\u0432\\u0438\\u0437\\u0438\\u0442\\u0430\":\"2026-08-08 12:01:00\",\"\\u0414\\u0430\\u0442\\u0430 \\u0432\\u0438\\u0437\\u0438\\u0442\\u0430\":\"08.08.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)\",\"\\u0418\\u0441\\u043f\\u043e\\u043b\\u043d\\u0438\\u0442\\u0435\\u043b\\u044c\":\"Alexei S\\u00eella\",\"\\u041c\\u043e\\u0434\\u0435\\u043b\\u044c \\u043e\\u0431\\u043e\\u0440\\u0443\\u0434\\u043e\\u0432\\u0430\\u043d\\u0438\\u044f 1\":\"Haier Flexis 70\",\"ID\":\"40279893\",\"\\u0421\\u0434\\u0435\\u043b\\u043a\\u0430_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"\\u041f\\u0422\\u041e\",\"Lead_name\":\"\\u041f\\u0422\\u041e\",\"\\u0411\\u044e\\u0434\\u0436\\u0435\\u0442\":\"0\",\"Budget\":\"0\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"\\u0410\\u0441\\u0442\\u0430\\u043f\\u0435\\u043d\\u043a\\u043e\\u0432\\u0430 \\u042e\\u043b\\u0438\\u0430\\u043d\\u043d\\u0430\",\"Responsible\":\"\\u0410\\u0441\\u0442\\u0430\\u043f\\u0435\\u043d\\u043a\\u043e\\u0432\\u0430 \\u042e\\u043b\\u0438\\u0430\\u043d\\u043d\\u0430\"},\"lead\":{\"\\u0421\\u043b\\u0435\\u0434\\u0443\\u044e\\u0449\\u0430\\u044f \\u0434\\u0430\\u0442\\u0430 \\u0441\\u0435\\u0440\\u0432\\u0438\\u0441\\u0430\":\"08.08.2027\",\"\\u0414\\u0430\\u0442\\u0430 \\u043c\\u043e\\u043d\\u0442\\u0430\\u0436\\u0430 (\\u0411\\u0414)\":\"08.08.2025\",\"\\u041d\\u0430\\u0437\\u0432\\u0430\\u043d\\u0438\\u0435 \\u0442\\u043e\\u0432\\u0430\\u0440\\u0430 (\\u0411\\u0414)\":\"0\",\"\\u0412\\u0438\\u0434 \\u0440\\u0430\\u0431\\u043e\\u0442\\u044b (\\u0411\\u0414)\":\"\\u0414\\u0435\\u043c\\u043e\\u043d\\u0442\\u0430\\u0436 \\u0431\\u043b\\u043e\\u043a\\u0430\",\"\\u0424\\u0418\\u041e \\u043c\\u043e\\u043d\\u0442\\u0430\\u0436\\u043d\\u0438\\u043a\\u0430 (\\u0411\\u0414)\":\"\\u041c\\u0438\\u0440\\u043e\\u043d \\u0420.\",\"\\u0414\\u0435\\u043d\\u044c \\u043d\\u0435\\u0434\\u0435\\u043b\\u0438\":\"\\u041f\\u044f\\u0442\\u043d\\u0438\\u0446\\u0430\",\"\\u0414\\u0430\\u0442\\u0430 \\u0438 \\u0432\\u0440\\u0435\\u043c\\u044f \\u0432\\u0438\\u0437\\u0438\\u0442\\u0430\":\"2026-08-08 12:01:00\",\"\\u0414\\u0430\\u0442\\u0430 \\u0432\\u0438\\u0437\\u0438\\u0442\\u0430\":\"08.08.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)\",\"\\u0418\\u0441\\u043f\\u043e\\u043b\\u043d\\u0438\\u0442\\u0435\\u043b\\u044c\":\"Alexei S\\u00eella\",\"\\u041c\\u043e\\u0434\\u0435\\u043b\\u044c \\u043e\\u0431\\u043e\\u0440\\u0443\\u0434\\u043e\\u0432\\u0430\\u043d\\u0438\\u044f 1\":\"Haier Flexis 70\",\"ID\":\"40279893\",\"\\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\":\"1002600043635\",\"\\u0410\\u0434\\u0440\\u0435\\u0441\":\"str.Eminescu 21\",\"\\u041f\\u043e\\u0432\\u0442\\u043e\\u0440\\u043d\\u044b\\u0439 \\u043a\\u043b\\u0438\\u0435\\u043d\\u0442?\":\"\\u0414\\u0430\",\"\\u0414\\u0430\\u0442\\u0430 \\u043c\\u043e\\u043d\\u0442\\u0430\\u0436\\u0430 (\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442)\":\"08.08.2023\",\"\\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)\":\"C5515\",\"\\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 70\",\"\\u0418\\u043c\\u044f \\u043a\\u043b\\u0438\\u0435\\u043d\\u0442\\u0430 (\\u0421\\u041c\\u0421)\":\"Opticlux SRL\",\"\\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\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"37369141335\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Opticlux SRL\",\"Contact_name\":\"Opticlux SRL\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"\\u0410\\u0441\\u0442\\u0430\\u043f\\u0435\\u043d\\u043a\\u043e\\u0432\\u0430 \\u042e\\u043b\\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\":\"1002600043635\",\"\\u0410\\u0434\\u0440\\u0435\\u0441\":\"str.Eminescu 21\",\"\\u041f\\u043e\\u0432\\u0442\\u043e\\u0440\\u043d\\u044b\\u0439 \\u043a\\u043b\\u0438\\u0435\\u043d\\u0442?\":\"\\u0414\\u0430\",\"\\u0414\\u0430\\u0442\\u0430 \\u043c\\u043e\\u043d\\u0442\\u0430\\u0436\\u0430 (\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442)\":\"08.08.2023\",\"\\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)\":\"C5515\",\"\\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 70\",\"\\u0418\\u043c\\u044f \\u043a\\u043b\\u0438\\u0435\\u043d\\u0442\\u0430 (\\u0421\\u041c\\u0421)\":\"Opticlux SRL\",\"\\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\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"37369141335\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Opticlux SRL\",\"Contact_name\":\"Opticlux SRL\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"\\u0410\\u0441\\u0442\\u0430\\u043f\\u0435\\u043d\\u043a\\u043e\\u0432\\u0430 \\u042e\\u043b\\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\":\"1002600043635\",\"\\u0410\\u0434\\u0440\\u0435\\u0441\":\"str.Eminescu 21\",\"\\u041f\\u043e\\u0432\\u0442\\u043e\\u0440\\u043d\\u044b\\u0439 \\u043a\\u043b\\u0438\\u0435\\u043d\\u0442?\":\"\\u0414\\u0430\",\"\\u0414\\u0430\\u0442\\u0430 \\u043c\\u043e\\u043d\\u0442\\u0430\\u0436\\u0430 (\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442)\":\"08.08.2023\",\"\\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)\":\"C5515\",\"\\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 70\",\"\\u0418\\u043c\\u044f \\u043a\\u043b\\u0438\\u0435\\u043d\\u0442\\u0430 (\\u0421\\u041c\\u0421)\":\"Opticlux SRL\",\"\\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\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"37369141335\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Opticlux SRL\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\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\":\"07.08.2026\",\"\\u041d\\u043e\\u043c\\u0435\\u0440\":\"818\"},\"document\":{\"Date\":\"07.08.2026\",\"Number\":\"818\"}}}","edit":true}} {"uid":"3dee172"}
[2026-08-07 12:04:26] docflow.DEBUG: GAS raw response {"raw":"[object] (stdClass: {\"code\":1,\"url\":\"https://docs.google.com/open?id=1IjGYjs_GB_Gt12FZ4V3yacXD1aBjcynoAHYdUx-agcY\",\"file_id\":\"1IjGYjs_GB_Gt12FZ4V3yacXD1aBjcynoAHYdUx-agcY\",\"error\":\"\",\"vars\":\"\"})"} {"uid":"3dee172"}
[2026-08-07 12:04:26] docflow.WARNING: AmoDrive generated-file move is not ready. {"fileId":"1IjGYjs_GB_Gt12FZ4V3yacXD1aBjcynoAHYdUx-agcY","context":null} {"uid":"3dee172"}
[2026-08-07 12:35:07] docflow.INFO: Apel createDoc {"data":{"amoAccountId":"32990686","amoUserId":null,"amoEntityId":"40278977","amoEntityType":"2","templateId":"11625","corporateEntityId":"","settlementAccountId":"","is_signed":null,"gdi":null,"number":null,"currentAmoUserId":null,"lang":"ru"}} {"uid":"3311c81"}
[2026-08-07 12:35:07] docflow.INFO: Token is valid for account 32990686. [] {"uid":"3311c81"}
[2026-08-07 12:35:07] docflow.DEBUG: getClientAuth returned {"auth":"[object] (stdClass: {\"domain\":\"eurosanteh.amocrm.ru\",\"access_token\":\"eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImp0aSI6IjJlZjliOWE0ZDhjMGYwMDZjYWQyMWY5NTJkMzBkNmFmMTNjNWVhNGRiODM3NTFlNjg1YzViMjk2ZjhjOTBhNDUyNDFlN2FlMWY2YTU0YTc3In0.eyJhdWQiOiIwZDY0ZGZmYi1lNTRiLTQ0OGYtOWZiZi1iYWYyMjUxYTExZGIiLCJqdGkiOiIyZWY5YjlhNGQ4YzBmMDA2Y2FkMjFmOTUyZDMwZDZhZjEzYzVlYTRkYjgzNzUxZTY4NWM1YjI5NmY4YzkwYTQ1MjQxZTdhZTFmNmE1NGE3NyIsImlhdCI6MTc4NjA5MzQwOSwibmJmIjoxNzg2MDkzNDA5LCJleHAiOjE3ODYxNzk4MDksInN1YiI6IjEzNjg3MzAyIiwiZ3JhbnRfdHlwZSI6IiIsImFjY291bnRfaWQiOjMyOTkwNjg2LCJiYXNlX2RvbWFpbiI6ImFtb2NybS5ydSIsInZlcnNpb24iOjIsInNjb3BlcyI6WyJwdXNoX25vdGlmaWNhdGlvbnMiLCJjcm0iLCJub3RpZmljYXRpb25zIl0sImhhc2hfdXVpZCI6IjQxNTg2MTM2LThhYTItNGMzMS04NDQzLTczNzBjZjVkYjg2YyIsImFwaV9kb21haW4iOiJhcGktYi5hbW9jcm0ucnUifQ.qcldVLhACTWc9lq4fq2j93a7WpNedzFrijmyMGfJTqyMHb3yyX2b-YBlc_zk1o0VoMxl9-OD-8qrQWKtk6M1z2960Pwgjpe7lj3z5RUAoVaMp4wM4UFEWV5dwd4Dx6Az1VZ2PTi-MyJ7y6iiKnrzOMmi-PoGPfo9pwUF5M4eo_mqc3NIBMn4EfjRtSLGP2zUiUpfnPSVd5_1fQeCgP8tv2BCs0F8-LEZmpjtg-8laIHmLa6u1GD5-0ql_5uXbAaFrpoEpvnD_9yKFSfqMjVHbGhy_9sea33OeT7-j34EI_8Quu_2DmQFHeB6c-XVEUUEDiJAq2qTpfOsqLpPmwcYAw\"})","file":"/home/ytvmclwh/document.amocrm.md/src/Models/Docs.php","line":121} {"uid":"3311c81"}
[2026-08-07 12:35:11] docflow.DEBUG: AmoDrive docflow context request {"url":"https://google.emale.uno/api/docflow/google-context","query":{"account_id":"32990686","entity_id":"40278977","entity_type":"leads"}} {"uid":"3311c81"}
[2026-08-07 12:35:11] docflow.WARNING: AmoDrive docflow context request failed {"url":"https://google.emale.uno/api/docflow/google-context","http_code":null,"error":"HTTP/2 400 ","response":"<!DOCTYPE HTML PUBLIC \"-//IETF//DTD HTML 2.0//EN\">\r\n<html>\r\n<head><title>400 Bad Request</title></head>\r\n<body>\r\n<center><h1>400 Bad Request</h1></center>\r\n Sorry for the inconvenience.<br/>\r\nPlease report this message and include the following information to us.<br/>\r\nThank you very much!</p>\r\n<table>\r\n<tr>\r\n<td>URL:</td>\r\n<td>https://gd.glucose-dev.online/api/docflow/google-context?account_id=32990686&amp;entity_id=40278977&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/08/07 12:35:12</td>\r\n</tr>\r\n</table>\r\n<hr><center>tengine</center>\r\n</body>\r\n</html>\r\n"} {"uid":"3311c81"}
[2026-08-07 12:35:11] docflow.DEBUG: AmoDrive docflow context request {"url":"https://gd.glucose-dev.online/api/docflow/google-context","query":{"account_id":"32990686","entity_id":"40278977","entity_type":"leads"}} {"uid":"3311c81"}
[2026-08-07 12:35:11] docflow.WARNING: AmoDrive docflow context response is not ready, trying next backend. {"url":"https://gd.glucose-dev.online/api/docflow/google-context","payload":{"ok":true,"accountId":32990686,"entityId":"40278977","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":"3311c81"}
[2026-08-07 12:35:11] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://google.emale.uno/api/docflow/prepare-generated-doc","payload":{"account_id":"32990686","entity_id":"40278977","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"3311c81"}
[2026-08-07 12:35: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/08/07 12:35:12</td>\r\n</tr>\r\n</table>\r\n<hr><center>tengine</center>\r\n</body>\r\n</html>\r\n","payload":{"account_id":"32990686","entity_id":"40278977","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"3311c81"}
[2026-08-07 12:35:11] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://gd.glucose-dev.online/api/docflow/prepare-generated-doc","payload":{"account_id":"32990686","entity_id":"40278977","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"3311c81"}
[2026-08-07 12:35:11] docflow.WARNING: AmoDrive prepare-generated-doc request failed {"url":"https://gd.glucose-dev.online/api/docflow/prepare-generated-doc","http_code":null,"error":"HTTP/2 404 ","response":"[object] (stdClass: {\"ok\":false,\"error\":\"AmoDrive is not installed for this account.\",\"accountId\":32990686})","payload":{"account_id":"32990686","entity_id":"40278977","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"3311c81"}
[2026-08-07 12:35:11] docflow.DEBUG: GAS request {"url":"https://script.google.com/macros/s/AKfycbwrvOJD46zkuoTzdhpc1kulhV8jRfgQBFZfQ121nkIip_k8yKit4xrbWTOzaJ-C-Yed6w/exec","body":{"templateFileId":"1AjK4khA9mRlFDVy4RXRqHAg2GTFWJYC-Gac1Mx3OLnA","accountId":"32990686","folderId":"1Us2AfskxgdA729xVr0F2vjZU9y5PlYDe","key":"~VTsK5dcnHc2cSSsjM$LFSjLlgbmJXwrp3R2P5nd","data":"{\"fileName\":\"ALL FOR ALL \\u041d\\u0430\\u0440\\u044f\\u0434 \\u043d\\u0430 \\u0432\\u044b\\u043f\\u043e\\u043b\\u043d\\u0435\\u043d\\u0438\\u0435 \\u0440\\u0430\\u0431\\u043e\\u0442 819 20260807123511\",\"leadId\":\"40278977\",\"entities\":{\"\\u0441\\u0434\\u0435\\u043b\\u043a\\u0430\":{\"\\u0421\\u043b\\u0435\\u0434\\u0443\\u044e\\u0449\\u0430\\u044f \\u0434\\u0430\\u0442\\u0430 \\u0441\\u0435\\u0440\\u0432\\u0438\\u0441\\u0430\":\"11.07.2026\",\"\\u041d\\u043e\\u043c\\u0435\\u0440 \\u043a\\u043e\\u043d\\u0442\\u0440\\u0430\\u043a\\u0442\\u0430\":\"V4274\",\"\\u0414\\u0430\\u0442\\u0430 \\u043c\\u043e\\u043d\\u0442\\u0430\\u0436\\u0430 (\\u0411\\u0414)\":\"11.07.2025\",\"\\u041d\\u0430\\u0437\\u0432\\u0430\\u043d\\u0438\\u0435 \\u0442\\u043e\\u0432\\u0430\\u0440\\u0430 (\\u0411\\u0414)\":\"Haier pearl 25\",\"\\u0412\\u0438\\u0434 \\u0440\\u0430\\u0431\\u043e\\u0442\\u044b (\\u0411\\u0414)\":\"\\u0423\\u0441\\u0442\\u0432\\u043d\\u043e\\u0432\\u043a\\u0430 \\u043a\\u043e\\u043d\\u0434\\u0438\\u0446\\u0438\\u043e\\u043d\\u0435\\u0440\\u0430\",\"\\u0424\\u0418\\u041e \\u043c\\u043e\\u043d\\u0442\\u0430\\u0436\\u043d\\u0438\\u043a\\u0430 (\\u0411\\u0414)\":\"\\u0411\\u0443\\u043b\\u0433\\u0430\\u0440\\u044c \\u0412.\",\"\\u0414\\u0435\\u043d\\u044c \\u043d\\u0435\\u0434\\u0435\\u043b\\u0438\":\"\\u041f\\u044f\\u0442\\u043d\\u0438\\u0446\\u0430\",\"\\u0414\\u0430\\u0442\\u0430 \\u0438 \\u0432\\u0440\\u0435\\u043c\\u044f \\u0432\\u0438\\u0437\\u0438\\u0442\\u0430\":\"2026-08-08 12:34:00\",\"\\u0414\\u0430\\u0442\\u0430 \\u0432\\u0438\\u0437\\u0438\\u0442\\u0430\":\"08.08.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 pearl 25\",\"ID\":\"40278977\",\"\\u0421\\u0434\\u0435\\u043b\\u043a\\u0430_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"\\u041f\\u0422\\u041e\",\"Lead_name\":\"\\u041f\\u0422\\u041e\",\"\\u0411\\u044e\\u0434\\u0436\\u0435\\u0442\":\"0\",\"Budget\":\"0\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"\\u0410\\u0441\\u0442\\u0430\\u043f\\u0435\\u043d\\u043a\\u043e\\u0432\\u0430 \\u042e\\u043b\\u0438\\u0430\\u043d\\u043d\\u0430\",\"Responsible\":\"\\u0410\\u0441\\u0442\\u0430\\u043f\\u0435\\u043d\\u043a\\u043e\\u0432\\u0430 \\u042e\\u043b\\u0438\\u0430\\u043d\\u043d\\u0430\"},\"lead\":{\"\\u0421\\u043b\\u0435\\u0434\\u0443\\u044e\\u0449\\u0430\\u044f \\u0434\\u0430\\u0442\\u0430 \\u0441\\u0435\\u0440\\u0432\\u0438\\u0441\\u0430\":\"11.07.2026\",\"\\u041d\\u043e\\u043c\\u0435\\u0440 \\u043a\\u043e\\u043d\\u0442\\u0440\\u0430\\u043a\\u0442\\u0430\":\"V4274\",\"\\u0414\\u0430\\u0442\\u0430 \\u043c\\u043e\\u043d\\u0442\\u0430\\u0436\\u0430 (\\u0411\\u0414)\":\"11.07.2025\",\"\\u041d\\u0430\\u0437\\u0432\\u0430\\u043d\\u0438\\u0435 \\u0442\\u043e\\u0432\\u0430\\u0440\\u0430 (\\u0411\\u0414)\":\"Haier pearl 25\",\"\\u0412\\u0438\\u0434 \\u0440\\u0430\\u0431\\u043e\\u0442\\u044b (\\u0411\\u0414)\":\"\\u0423\\u0441\\u0442\\u0432\\u043d\\u043e\\u0432\\u043a\\u0430 \\u043a\\u043e\\u043d\\u0434\\u0438\\u0446\\u0438\\u043e\\u043d\\u0435\\u0440\\u0430\",\"\\u0424\\u0418\\u041e \\u043c\\u043e\\u043d\\u0442\\u0430\\u0436\\u043d\\u0438\\u043a\\u0430 (\\u0411\\u0414)\":\"\\u0411\\u0443\\u043b\\u0433\\u0430\\u0440\\u044c \\u0412.\",\"\\u0414\\u0435\\u043d\\u044c \\u043d\\u0435\\u0434\\u0435\\u043b\\u0438\":\"\\u041f\\u044f\\u0442\\u043d\\u0438\\u0446\\u0430\",\"\\u0414\\u0430\\u0442\\u0430 \\u0438 \\u0432\\u0440\\u0435\\u043c\\u044f \\u0432\\u0438\\u0437\\u0438\\u0442\\u0430\":\"2026-08-08 12:34:00\",\"\\u0414\\u0430\\u0442\\u0430 \\u0432\\u0438\\u0437\\u0438\\u0442\\u0430\":\"08.08.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 pearl 25\",\"ID\":\"40278977\",\"\\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\":\"982804424911\",\"\\u0410\\u0434\\u0440\\u0435\\u0441\":\"sos. Muncesti 304 k7 etajul 2\",\"\\u041f\\u043e\\u0432\\u0442\\u043e\\u0440\\u043d\\u044b\\u0439 \\u043a\\u043b\\u0438\\u0435\\u043d\\u0442?\":\"\\u0414\\u0430\",\"\\u041d\\u043e\\u043c\\u0435\\u0440 \\u043a\\u043e\\u043d\\u0442\\u0440\\u0430\\u043a\\u0442\\u0430 (\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442)\":\"V4274\",\"\\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 25\",\"\\u0418\\u043c\\u044f \\u043a\\u043b\\u0438\\u0435\\u043d\\u0442\\u0430 (\\u0421\\u041c\\u0421)\":\"Elena\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"37379979740\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Elena Midlovet\",\"Contact_name\":\"Elena Midlovet\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"\\u0410\\u0441\\u0442\\u0430\\u043f\\u0435\\u043d\\u043a\\u043e\\u0432\\u0430 \\u042e\\u043b\\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\":\"982804424911\",\"\\u0410\\u0434\\u0440\\u0435\\u0441\":\"sos. Muncesti 304 k7 etajul 2\",\"\\u041f\\u043e\\u0432\\u0442\\u043e\\u0440\\u043d\\u044b\\u0439 \\u043a\\u043b\\u0438\\u0435\\u043d\\u0442?\":\"\\u0414\\u0430\",\"\\u041d\\u043e\\u043c\\u0435\\u0440 \\u043a\\u043e\\u043d\\u0442\\u0440\\u0430\\u043a\\u0442\\u0430 (\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442)\":\"V4274\",\"\\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 25\",\"\\u0418\\u043c\\u044f \\u043a\\u043b\\u0438\\u0435\\u043d\\u0442\\u0430 (\\u0421\\u041c\\u0421)\":\"Elena\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"37379979740\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Elena Midlovet\",\"Contact_name\":\"Elena Midlovet\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"\\u0410\\u0441\\u0442\\u0430\\u043f\\u0435\\u043d\\u043a\\u043e\\u0432\\u0430 \\u042e\\u043b\\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\":\"982804424911\",\"\\u0410\\u0434\\u0440\\u0435\\u0441\":\"sos. Muncesti 304 k7 etajul 2\",\"\\u041f\\u043e\\u0432\\u0442\\u043e\\u0440\\u043d\\u044b\\u0439 \\u043a\\u043b\\u0438\\u0435\\u043d\\u0442?\":\"\\u0414\\u0430\",\"\\u041d\\u043e\\u043c\\u0435\\u0440 \\u043a\\u043e\\u043d\\u0442\\u0440\\u0430\\u043a\\u0442\\u0430 (\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442)\":\"V4274\",\"\\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 25\",\"\\u0418\\u043c\\u044f \\u043a\\u043b\\u0438\\u0435\\u043d\\u0442\\u0430 (\\u0421\\u041c\\u0421)\":\"Elena\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"37379979740\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Elena Midlovet\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\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\":\"07.08.2026\",\"\\u041d\\u043e\\u043c\\u0435\\u0440\":\"819\"},\"document\":{\"Date\":\"07.08.2026\",\"Number\":\"819\"}}}","edit":true}} {"uid":"3311c81"}
[2026-08-07 12:35:17] docflow.DEBUG: GAS raw response {"raw":"[object] (stdClass: {\"code\":1,\"url\":\"https://docs.google.com/open?id=13GBhVQITzK8gqdKwRhkfcM25Dk_yslVme1w-44VaYpE\",\"file_id\":\"13GBhVQITzK8gqdKwRhkfcM25Dk_yslVme1w-44VaYpE\",\"error\":\"\",\"vars\":\"\"})"} {"uid":"3311c81"}
[2026-08-07 12:35:17] docflow.WARNING: AmoDrive generated-file move is not ready. {"fileId":"13GBhVQITzK8gqdKwRhkfcM25Dk_yslVme1w-44VaYpE","context":null} {"uid":"3311c81"}
[2026-08-07 12:35:31] docflow.INFO: Apel createDoc {"data":{"amoAccountId":"32990686","amoUserId":null,"amoEntityId":"40278977","amoEntityType":"2","templateId":"11646","corporateEntityId":"","settlementAccountId":"","is_signed":null,"gdi":null,"number":null,"currentAmoUserId":null,"lang":"ru"}} {"uid":"da14f8f"}
[2026-08-07 12:35:31] docflow.INFO: Token is valid for account 32990686. [] {"uid":"da14f8f"}
[2026-08-07 12:35:31] docflow.DEBUG: getClientAuth returned {"auth":"[object] (stdClass: {\"domain\":\"eurosanteh.amocrm.ru\",\"access_token\":\"eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImp0aSI6IjJlZjliOWE0ZDhjMGYwMDZjYWQyMWY5NTJkMzBkNmFmMTNjNWVhNGRiODM3NTFlNjg1YzViMjk2ZjhjOTBhNDUyNDFlN2FlMWY2YTU0YTc3In0.eyJhdWQiOiIwZDY0ZGZmYi1lNTRiLTQ0OGYtOWZiZi1iYWYyMjUxYTExZGIiLCJqdGkiOiIyZWY5YjlhNGQ4YzBmMDA2Y2FkMjFmOTUyZDMwZDZhZjEzYzVlYTRkYjgzNzUxZTY4NWM1YjI5NmY4YzkwYTQ1MjQxZTdhZTFmNmE1NGE3NyIsImlhdCI6MTc4NjA5MzQwOSwibmJmIjoxNzg2MDkzNDA5LCJleHAiOjE3ODYxNzk4MDksInN1YiI6IjEzNjg3MzAyIiwiZ3JhbnRfdHlwZSI6IiIsImFjY291bnRfaWQiOjMyOTkwNjg2LCJiYXNlX2RvbWFpbiI6ImFtb2NybS5ydSIsInZlcnNpb24iOjIsInNjb3BlcyI6WyJwdXNoX25vdGlmaWNhdGlvbnMiLCJjcm0iLCJub3RpZmljYXRpb25zIl0sImhhc2hfdXVpZCI6IjQxNTg2MTM2LThhYTItNGMzMS04NDQzLTczNzBjZjVkYjg2YyIsImFwaV9kb21haW4iOiJhcGktYi5hbW9jcm0ucnUifQ.qcldVLhACTWc9lq4fq2j93a7WpNedzFrijmyMGfJTqyMHb3yyX2b-YBlc_zk1o0VoMxl9-OD-8qrQWKtk6M1z2960Pwgjpe7lj3z5RUAoVaMp4wM4UFEWV5dwd4Dx6Az1VZ2PTi-MyJ7y6iiKnrzOMmi-PoGPfo9pwUF5M4eo_mqc3NIBMn4EfjRtSLGP2zUiUpfnPSVd5_1fQeCgP8tv2BCs0F8-LEZmpjtg-8laIHmLa6u1GD5-0ql_5uXbAaFrpoEpvnD_9yKFSfqMjVHbGhy_9sea33OeT7-j34EI_8Quu_2DmQFHeB6c-XVEUUEDiJAq2qTpfOsqLpPmwcYAw\"})","file":"/home/ytvmclwh/document.amocrm.md/src/Models/Docs.php","line":121} {"uid":"da14f8f"}
[2026-08-07 12:35:33] docflow.DEBUG: AmoDrive docflow context request {"url":"https://google.emale.uno/api/docflow/google-context","query":{"account_id":"32990686","entity_id":"40278977","entity_type":"leads"}} {"uid":"da14f8f"}
[2026-08-07 12:35:33] docflow.WARNING: AmoDrive docflow context request failed {"url":"https://google.emale.uno/api/docflow/google-context","http_code":null,"error":"HTTP/2 400 ","response":"<!DOCTYPE HTML PUBLIC \"-//IETF//DTD HTML 2.0//EN\">\r\n<html>\r\n<head><title>400 Bad Request</title></head>\r\n<body>\r\n<center><h1>400 Bad Request</h1></center>\r\n Sorry for the inconvenience.<br/>\r\nPlease report this message and include the following information to us.<br/>\r\nThank you very much!</p>\r\n<table>\r\n<tr>\r\n<td>URL:</td>\r\n<td>https://gd.glucose-dev.online/api/docflow/google-context?account_id=32990686&amp;entity_id=40278977&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/08/07 12:35:34</td>\r\n</tr>\r\n</table>\r\n<hr><center>tengine</center>\r\n</body>\r\n</html>\r\n"} {"uid":"da14f8f"}
[2026-08-07 12:35:33] docflow.DEBUG: AmoDrive docflow context request {"url":"https://gd.glucose-dev.online/api/docflow/google-context","query":{"account_id":"32990686","entity_id":"40278977","entity_type":"leads"}} {"uid":"da14f8f"}
[2026-08-07 12:35:33] docflow.WARNING: AmoDrive docflow context response is not ready, trying next backend. {"url":"https://gd.glucose-dev.online/api/docflow/google-context","payload":{"ok":true,"accountId":32990686,"entityId":"40278977","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":"da14f8f"}
[2026-08-07 12:35:33] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://google.emale.uno/api/docflow/prepare-generated-doc","payload":{"account_id":"32990686","entity_id":"40278977","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"da14f8f"}
[2026-08-07 12:35: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/08/07 12:35:34</td>\r\n</tr>\r\n</table>\r\n<hr><center>tengine</center>\r\n</body>\r\n</html>\r\n","payload":{"account_id":"32990686","entity_id":"40278977","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"da14f8f"}
[2026-08-07 12:35:33] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://gd.glucose-dev.online/api/docflow/prepare-generated-doc","payload":{"account_id":"32990686","entity_id":"40278977","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"da14f8f"}
[2026-08-07 12:35:33] docflow.WARNING: AmoDrive prepare-generated-doc request failed {"url":"https://gd.glucose-dev.online/api/docflow/prepare-generated-doc","http_code":null,"error":"HTTP/2 404 ","response":"[object] (stdClass: {\"ok\":false,\"error\":\"AmoDrive is not installed for this account.\",\"accountId\":32990686})","payload":{"account_id":"32990686","entity_id":"40278977","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"da14f8f"}
[2026-08-07 12:35:33] docflow.DEBUG: GAS request {"url":"https://script.google.com/macros/s/AKfycbwrvOJD46zkuoTzdhpc1kulhV8jRfgQBFZfQ121nkIip_k8yKit4xrbWTOzaJ-C-Yed6w/exec","body":{"templateFileId":"1ISSW7q2any2Qldkh8ZtwiERwaib6ci11XCezBMQIcRU","accountId":"32990686","folderId":"1Us2AfskxgdA729xVr0F2vjZU9y5PlYDe","key":"~VTsK5dcnHc2cSSsjM$LFSjLlgbmJXwrp3R2P5nd","data":"{\"fileName\":\"Act primire predare new All for All 819 20260807123533\",\"leadId\":\"40278977\",\"entities\":{\"\\u0441\\u0434\\u0435\\u043b\\u043a\\u0430\":{\"\\u0421\\u043b\\u0435\\u0434\\u0443\\u044e\\u0449\\u0430\\u044f \\u0434\\u0430\\u0442\\u0430 \\u0441\\u0435\\u0440\\u0432\\u0438\\u0441\\u0430\":\"11.07.2026\",\"\\u041d\\u043e\\u043c\\u0435\\u0440 \\u043a\\u043e\\u043d\\u0442\\u0440\\u0430\\u043a\\u0442\\u0430\":\"V4274\",\"\\u0414\\u0430\\u0442\\u0430 \\u043c\\u043e\\u043d\\u0442\\u0430\\u0436\\u0430 (\\u0411\\u0414)\":\"11.07.2025\",\"\\u041d\\u0430\\u0437\\u0432\\u0430\\u043d\\u0438\\u0435 \\u0442\\u043e\\u0432\\u0430\\u0440\\u0430 (\\u0411\\u0414)\":\"Haier pearl 25\",\"\\u0412\\u0438\\u0434 \\u0440\\u0430\\u0431\\u043e\\u0442\\u044b (\\u0411\\u0414)\":\"\\u0423\\u0441\\u0442\\u0432\\u043d\\u043e\\u0432\\u043a\\u0430 \\u043a\\u043e\\u043d\\u0434\\u0438\\u0446\\u0438\\u043e\\u043d\\u0435\\u0440\\u0430\",\"\\u0424\\u0418\\u041e \\u043c\\u043e\\u043d\\u0442\\u0430\\u0436\\u043d\\u0438\\u043a\\u0430 (\\u0411\\u0414)\":\"\\u0411\\u0443\\u043b\\u0433\\u0430\\u0440\\u044c \\u0412.\",\"\\u0414\\u0435\\u043d\\u044c \\u043d\\u0435\\u0434\\u0435\\u043b\\u0438\":\"\\u041f\\u044f\\u0442\\u043d\\u0438\\u0446\\u0430\",\"\\u0414\\u0430\\u0442\\u0430 \\u0438 \\u0432\\u0440\\u0435\\u043c\\u044f \\u0432\\u0438\\u0437\\u0438\\u0442\\u0430\":\"2026-08-08 12:34:00\",\"\\u0414\\u0430\\u0442\\u0430 \\u0432\\u0438\\u0437\\u0438\\u0442\\u0430\":\"08.08.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 pearl 25\",\"ID\":\"40278977\",\"\\u0421\\u0434\\u0435\\u043b\\u043a\\u0430_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"\\u041f\\u0422\\u041e\",\"Lead_name\":\"\\u041f\\u0422\\u041e\",\"\\u0411\\u044e\\u0434\\u0436\\u0435\\u0442\":\"0\",\"Budget\":\"0\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"\\u0410\\u0441\\u0442\\u0430\\u043f\\u0435\\u043d\\u043a\\u043e\\u0432\\u0430 \\u042e\\u043b\\u0438\\u0430\\u043d\\u043d\\u0430\",\"Responsible\":\"\\u0410\\u0441\\u0442\\u0430\\u043f\\u0435\\u043d\\u043a\\u043e\\u0432\\u0430 \\u042e\\u043b\\u0438\\u0430\\u043d\\u043d\\u0430\"},\"lead\":{\"\\u0421\\u043b\\u0435\\u0434\\u0443\\u044e\\u0449\\u0430\\u044f \\u0434\\u0430\\u0442\\u0430 \\u0441\\u0435\\u0440\\u0432\\u0438\\u0441\\u0430\":\"11.07.2026\",\"\\u041d\\u043e\\u043c\\u0435\\u0440 \\u043a\\u043e\\u043d\\u0442\\u0440\\u0430\\u043a\\u0442\\u0430\":\"V4274\",\"\\u0414\\u0430\\u0442\\u0430 \\u043c\\u043e\\u043d\\u0442\\u0430\\u0436\\u0430 (\\u0411\\u0414)\":\"11.07.2025\",\"\\u041d\\u0430\\u0437\\u0432\\u0430\\u043d\\u0438\\u0435 \\u0442\\u043e\\u0432\\u0430\\u0440\\u0430 (\\u0411\\u0414)\":\"Haier pearl 25\",\"\\u0412\\u0438\\u0434 \\u0440\\u0430\\u0431\\u043e\\u0442\\u044b (\\u0411\\u0414)\":\"\\u0423\\u0441\\u0442\\u0432\\u043d\\u043e\\u0432\\u043a\\u0430 \\u043a\\u043e\\u043d\\u0434\\u0438\\u0446\\u0438\\u043e\\u043d\\u0435\\u0440\\u0430\",\"\\u0424\\u0418\\u041e \\u043c\\u043e\\u043d\\u0442\\u0430\\u0436\\u043d\\u0438\\u043a\\u0430 (\\u0411\\u0414)\":\"\\u0411\\u0443\\u043b\\u0433\\u0430\\u0440\\u044c \\u0412.\",\"\\u0414\\u0435\\u043d\\u044c \\u043d\\u0435\\u0434\\u0435\\u043b\\u0438\":\"\\u041f\\u044f\\u0442\\u043d\\u0438\\u0446\\u0430\",\"\\u0414\\u0430\\u0442\\u0430 \\u0438 \\u0432\\u0440\\u0435\\u043c\\u044f \\u0432\\u0438\\u0437\\u0438\\u0442\\u0430\":\"2026-08-08 12:34:00\",\"\\u0414\\u0430\\u0442\\u0430 \\u0432\\u0438\\u0437\\u0438\\u0442\\u0430\":\"08.08.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 pearl 25\",\"ID\":\"40278977\",\"\\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\":\"982804424911\",\"\\u0410\\u0434\\u0440\\u0435\\u0441\":\"sos. Muncesti 304 k7 etajul 2\",\"\\u041f\\u043e\\u0432\\u0442\\u043e\\u0440\\u043d\\u044b\\u0439 \\u043a\\u043b\\u0438\\u0435\\u043d\\u0442?\":\"\\u0414\\u0430\",\"\\u041d\\u043e\\u043c\\u0435\\u0440 \\u043a\\u043e\\u043d\\u0442\\u0440\\u0430\\u043a\\u0442\\u0430 (\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442)\":\"V4274\",\"\\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 25\",\"\\u0418\\u043c\\u044f \\u043a\\u043b\\u0438\\u0435\\u043d\\u0442\\u0430 (\\u0421\\u041c\\u0421)\":\"Elena\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"37379979740\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Elena Midlovet\",\"Contact_name\":\"Elena Midlovet\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"\\u0410\\u0441\\u0442\\u0430\\u043f\\u0435\\u043d\\u043a\\u043e\\u0432\\u0430 \\u042e\\u043b\\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\":\"982804424911\",\"\\u0410\\u0434\\u0440\\u0435\\u0441\":\"sos. Muncesti 304 k7 etajul 2\",\"\\u041f\\u043e\\u0432\\u0442\\u043e\\u0440\\u043d\\u044b\\u0439 \\u043a\\u043b\\u0438\\u0435\\u043d\\u0442?\":\"\\u0414\\u0430\",\"\\u041d\\u043e\\u043c\\u0435\\u0440 \\u043a\\u043e\\u043d\\u0442\\u0440\\u0430\\u043a\\u0442\\u0430 (\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442)\":\"V4274\",\"\\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 25\",\"\\u0418\\u043c\\u044f \\u043a\\u043b\\u0438\\u0435\\u043d\\u0442\\u0430 (\\u0421\\u041c\\u0421)\":\"Elena\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"37379979740\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Elena Midlovet\",\"Contact_name\":\"Elena Midlovet\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"\\u0410\\u0441\\u0442\\u0430\\u043f\\u0435\\u043d\\u043a\\u043e\\u0432\\u0430 \\u042e\\u043b\\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\":\"982804424911\",\"\\u0410\\u0434\\u0440\\u0435\\u0441\":\"sos. Muncesti 304 k7 etajul 2\",\"\\u041f\\u043e\\u0432\\u0442\\u043e\\u0440\\u043d\\u044b\\u0439 \\u043a\\u043b\\u0438\\u0435\\u043d\\u0442?\":\"\\u0414\\u0430\",\"\\u041d\\u043e\\u043c\\u0435\\u0440 \\u043a\\u043e\\u043d\\u0442\\u0440\\u0430\\u043a\\u0442\\u0430 (\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442)\":\"V4274\",\"\\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 25\",\"\\u0418\\u043c\\u044f \\u043a\\u043b\\u0438\\u0435\\u043d\\u0442\\u0430 (\\u0421\\u041c\\u0421)\":\"Elena\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"37379979740\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Elena Midlovet\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\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\":\"07.08.2026\",\"\\u041d\\u043e\\u043c\\u0435\\u0440\":\"819\"},\"document\":{\"Date\":\"07.08.2026\",\"Number\":\"819\"}}}","edit":true}} {"uid":"da14f8f"}
[2026-08-07 12:35:38] docflow.DEBUG: GAS raw response {"raw":"[object] (stdClass: {\"code\":1,\"url\":\"https://docs.google.com/open?id=1ScHCL36RrwE2PTQMFAAni4K6QWM-B2NE9iOwQco-l6Q\",\"file_id\":\"1ScHCL36RrwE2PTQMFAAni4K6QWM-B2NE9iOwQco-l6Q\",\"error\":\"\",\"vars\":\"\"})"} {"uid":"da14f8f"}
[2026-08-07 12:35:38] docflow.WARNING: AmoDrive generated-file move is not ready. {"fileId":"1ScHCL36RrwE2PTQMFAAni4K6QWM-B2NE9iOwQco-l6Q","context":null} {"uid":"da14f8f"}
[2026-08-07 12:43:30] docflow.INFO: Apel createDoc {"data":{"amoAccountId":"32990686","amoUserId":null,"amoEntityId":"40280081","amoEntityType":"2","templateId":"11625","corporateEntityId":"","settlementAccountId":"","is_signed":null,"gdi":null,"number":null,"currentAmoUserId":null,"lang":"ru"}} {"uid":"71e7158"}
[2026-08-07 12:43:30] docflow.INFO: Token is valid for account 32990686. [] {"uid":"71e7158"}
[2026-08-07 12:43:30] docflow.DEBUG: getClientAuth returned {"auth":"[object] (stdClass: {\"domain\":\"eurosanteh.amocrm.ru\",\"access_token\":\"eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImp0aSI6IjJlZjliOWE0ZDhjMGYwMDZjYWQyMWY5NTJkMzBkNmFmMTNjNWVhNGRiODM3NTFlNjg1YzViMjk2ZjhjOTBhNDUyNDFlN2FlMWY2YTU0YTc3In0.eyJhdWQiOiIwZDY0ZGZmYi1lNTRiLTQ0OGYtOWZiZi1iYWYyMjUxYTExZGIiLCJqdGkiOiIyZWY5YjlhNGQ4YzBmMDA2Y2FkMjFmOTUyZDMwZDZhZjEzYzVlYTRkYjgzNzUxZTY4NWM1YjI5NmY4YzkwYTQ1MjQxZTdhZTFmNmE1NGE3NyIsImlhdCI6MTc4NjA5MzQwOSwibmJmIjoxNzg2MDkzNDA5LCJleHAiOjE3ODYxNzk4MDksInN1YiI6IjEzNjg3MzAyIiwiZ3JhbnRfdHlwZSI6IiIsImFjY291bnRfaWQiOjMyOTkwNjg2LCJiYXNlX2RvbWFpbiI6ImFtb2NybS5ydSIsInZlcnNpb24iOjIsInNjb3BlcyI6WyJwdXNoX25vdGlmaWNhdGlvbnMiLCJjcm0iLCJub3RpZmljYXRpb25zIl0sImhhc2hfdXVpZCI6IjQxNTg2MTM2LThhYTItNGMzMS04NDQzLTczNzBjZjVkYjg2YyIsImFwaV9kb21haW4iOiJhcGktYi5hbW9jcm0ucnUifQ.qcldVLhACTWc9lq4fq2j93a7WpNedzFrijmyMGfJTqyMHb3yyX2b-YBlc_zk1o0VoMxl9-OD-8qrQWKtk6M1z2960Pwgjpe7lj3z5RUAoVaMp4wM4UFEWV5dwd4Dx6Az1VZ2PTi-MyJ7y6iiKnrzOMmi-PoGPfo9pwUF5M4eo_mqc3NIBMn4EfjRtSLGP2zUiUpfnPSVd5_1fQeCgP8tv2BCs0F8-LEZmpjtg-8laIHmLa6u1GD5-0ql_5uXbAaFrpoEpvnD_9yKFSfqMjVHbGhy_9sea33OeT7-j34EI_8Quu_2DmQFHeB6c-XVEUUEDiJAq2qTpfOsqLpPmwcYAw\"})","file":"/home/ytvmclwh/document.amocrm.md/src/Models/Docs.php","line":121} {"uid":"71e7158"}
[2026-08-07 12:43:33] docflow.DEBUG: AmoDrive docflow context request {"url":"https://google.emale.uno/api/docflow/google-context","query":{"account_id":"32990686","entity_id":"40280081","entity_type":"leads"}} {"uid":"71e7158"}
[2026-08-07 12:43:33] docflow.WARNING: AmoDrive docflow context request failed {"url":"https://google.emale.uno/api/docflow/google-context","http_code":null,"error":"HTTP/2 400 ","response":"<!DOCTYPE HTML PUBLIC \"-//IETF//DTD HTML 2.0//EN\">\r\n<html>\r\n<head><title>400 Bad Request</title></head>\r\n<body>\r\n<center><h1>400 Bad Request</h1></center>\r\n Sorry for the inconvenience.<br/>\r\nPlease report this message and include the following information to us.<br/>\r\nThank you very much!</p>\r\n<table>\r\n<tr>\r\n<td>URL:</td>\r\n<td>https://gd.glucose-dev.online/api/docflow/google-context?account_id=32990686&amp;entity_id=40280081&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/08/07 12:43:33</td>\r\n</tr>\r\n</table>\r\n<hr><center>tengine</center>\r\n</body>\r\n</html>\r\n"} {"uid":"71e7158"}
[2026-08-07 12:43:33] docflow.DEBUG: AmoDrive docflow context request {"url":"https://gd.glucose-dev.online/api/docflow/google-context","query":{"account_id":"32990686","entity_id":"40280081","entity_type":"leads"}} {"uid":"71e7158"}
[2026-08-07 12:43:33] docflow.WARNING: AmoDrive docflow context response is not ready, trying next backend. {"url":"https://gd.glucose-dev.online/api/docflow/google-context","payload":{"ok":true,"accountId":32990686,"entityId":"40280081","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":"71e7158"}
[2026-08-07 12:43:33] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://google.emale.uno/api/docflow/prepare-generated-doc","payload":{"account_id":"32990686","entity_id":"40280081","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"71e7158"}
[2026-08-07 12:43: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/08/07 12:43:33</td>\r\n</tr>\r\n</table>\r\n<hr><center>tengine</center>\r\n</body>\r\n</html>\r\n","payload":{"account_id":"32990686","entity_id":"40280081","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"71e7158"}
[2026-08-07 12:43:33] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://gd.glucose-dev.online/api/docflow/prepare-generated-doc","payload":{"account_id":"32990686","entity_id":"40280081","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"71e7158"}
[2026-08-07 12:43:33] docflow.WARNING: AmoDrive prepare-generated-doc request failed {"url":"https://gd.glucose-dev.online/api/docflow/prepare-generated-doc","http_code":null,"error":"HTTP/2 404 ","response":"[object] (stdClass: {\"ok\":false,\"error\":\"AmoDrive is not installed for this account.\",\"accountId\":32990686})","payload":{"account_id":"32990686","entity_id":"40280081","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"71e7158"}
[2026-08-07 12:43:33] 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 820 20260807124333\",\"leadId\":\"40280081\",\"entities\":{\"\\u0441\\u0434\\u0435\\u043b\\u043a\\u0430\":{\"\\u0421\\u043b\\u0435\\u0434\\u0443\\u044e\\u0449\\u0430\\u044f \\u0434\\u0430\\u0442\\u0430 \\u0441\\u0435\\u0440\\u0432\\u0438\\u0441\\u0430\":\"16.08.2027\",\"\\u041d\\u043e\\u043c\\u0435\\u0440 \\u043a\\u043e\\u043d\\u0442\\u0440\\u0430\\u043a\\u0442\\u0430\":\"K5786\",\"\\u0414\\u0430\\u0442\\u0430 \\u043c\\u043e\\u043d\\u0442\\u0430\\u0436\\u0430 (\\u0411\\u0414)\":\"16.08.2025\",\"\\u041d\\u0430\\u0437\\u0432\\u0430\\u043d\\u0438\\u0435 \\u0442\\u043e\\u0432\\u0430\\u0440\\u0430 (\\u0411\\u0414)\":\"Haier Revive 25\",\"\\u0412\\u0438\\u0434 \\u0440\\u0430\\u0431\\u043e\\u0442\\u044b (\\u0411\\u0414)\":\"\\u0423\\u0441\\u0442\\u0432\\u043d\\u043e\\u0432\\u043a\\u0430 \\u043a\\u043e\\u043d\\u0434\\u0438\\u0446\\u0438\\u043e\\u043d\\u0435\\u0440\\u0430\",\"\\u0424\\u0418\\u041e \\u043c\\u043e\\u043d\\u0442\\u0430\\u0436\\u043d\\u0438\\u043a\\u0430 (\\u0411\\u0414)\":\"\\u041d\\u0430\\u0433\\u0440\\u0438\\u043d\\u044f\\u043a \\u0418.\",\"\\u0414\\u0435\\u043d\\u044c \\u043d\\u0435\\u0434\\u0435\\u043b\\u0438\":\"\\u0427\\u0435\\u0442\\u0432\\u0435\\u0440\\u0433\",\"\\u0414\\u0430\\u0442\\u0430 \\u0438 \\u0432\\u0440\\u0435\\u043c\\u044f \\u0432\\u0438\\u0437\\u0438\\u0442\\u0430\":\"2026-08-07 17:22:00\",\"\\u0414\\u0430\\u0442\\u0430 \\u0432\\u0438\\u0437\\u0438\\u0442\\u0430\":\"07.08.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\",\"ID\":\"40280081\",\"\\u0421\\u0434\\u0435\\u043b\\u043a\\u0430_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"\\u041f\\u0422\\u041e\",\"Lead_name\":\"\\u041f\\u0422\\u041e\",\"\\u0411\\u044e\\u0434\\u0436\\u0435\\u0442\":\"0\",\"Budget\":\"0\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"\\u0410\\u0441\\u0442\\u0430\\u043f\\u0435\\u043d\\u043a\\u043e\\u0432\\u0430 \\u042e\\u043b\\u0438\\u0430\\u043d\\u043d\\u0430\",\"Responsible\":\"\\u0410\\u0441\\u0442\\u0430\\u043f\\u0435\\u043d\\u043a\\u043e\\u0432\\u0430 \\u042e\\u043b\\u0438\\u0430\\u043d\\u043d\\u0430\"},\"lead\":{\"\\u0421\\u043b\\u0435\\u0434\\u0443\\u044e\\u0449\\u0430\\u044f \\u0434\\u0430\\u0442\\u0430 \\u0441\\u0435\\u0440\\u0432\\u0438\\u0441\\u0430\":\"16.08.2027\",\"\\u041d\\u043e\\u043c\\u0435\\u0440 \\u043a\\u043e\\u043d\\u0442\\u0440\\u0430\\u043a\\u0442\\u0430\":\"K5786\",\"\\u0414\\u0430\\u0442\\u0430 \\u043c\\u043e\\u043d\\u0442\\u0430\\u0436\\u0430 (\\u0411\\u0414)\":\"16.08.2025\",\"\\u041d\\u0430\\u0437\\u0432\\u0430\\u043d\\u0438\\u0435 \\u0442\\u043e\\u0432\\u0430\\u0440\\u0430 (\\u0411\\u0414)\":\"Haier Revive 25\",\"\\u0412\\u0438\\u0434 \\u0440\\u0430\\u0431\\u043e\\u0442\\u044b (\\u0411\\u0414)\":\"\\u0423\\u0441\\u0442\\u0432\\u043d\\u043e\\u0432\\u043a\\u0430 \\u043a\\u043e\\u043d\\u0434\\u0438\\u0446\\u0438\\u043e\\u043d\\u0435\\u0440\\u0430\",\"\\u0424\\u0418\\u041e \\u043c\\u043e\\u043d\\u0442\\u0430\\u0436\\u043d\\u0438\\u043a\\u0430 (\\u0411\\u0414)\":\"\\u041d\\u0430\\u0433\\u0440\\u0438\\u043d\\u044f\\u043a \\u0418.\",\"\\u0414\\u0435\\u043d\\u044c \\u043d\\u0435\\u0434\\u0435\\u043b\\u0438\":\"\\u0427\\u0435\\u0442\\u0432\\u0435\\u0440\\u0433\",\"\\u0414\\u0430\\u0442\\u0430 \\u0438 \\u0432\\u0440\\u0435\\u043c\\u044f \\u0432\\u0438\\u0437\\u0438\\u0442\\u0430\":\"2026-08-07 17:22:00\",\"\\u0414\\u0430\\u0442\\u0430 \\u0432\\u0438\\u0437\\u0438\\u0442\\u0430\":\"07.08.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\",\"ID\":\"40280081\",\"\\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\":\"2004014003127\",\"\\u0410\\u0434\\u0440\\u0435\\u0441\":\"str.Tofan 6 ap52\",\"\\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)\":\"16.08.2025\",\"\\u0422\\u0438\\u043f \\u0438 \\u043c\\u043e\\u0434\\u0435\\u043b\\u044c \\u043e\\u0431\\u043e\\u0440\\u0443\\u0434\\u043e\\u0432\\u0430\\u043d\\u0438\\u044f (\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442)\":\"Haier Revive 25\",\"\\u041a\\u043e\\u043b - \\u0432\\u043e \\u043e\\u0431\\u043e\\u0440\\u0443\\u0434\\u043e\\u0432\\u0430\\u043d\\u0438\\u044f (\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442)\":\"1\",\"\\u041a\\u0442\\u043e \\u043c\\u043e\\u043d\\u0442\\u0438\\u0440\\u043e\\u0432\\u0430\\u043b (\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442)\":\"\\u041c\\u0430\\u0441\\u0442\\u0435\\u0440 \\u043a\\u043e\\u043c\\u043f\\u0430\\u043d\\u0438\\u0438 Edenvor SRL\",\"\\u041d\\u043e\\u043c\\u0435\\u0440 \\u043a\\u043e\\u043d\\u0442\\u0440\\u0430\\u043a\\u0442\\u0430 (\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442)\":\"K5786\",\"\\u0418\\u043c\\u044f \\u043a\\u043b\\u0438\\u0435\\u043d\\u0442\\u0430 (\\u0421\\u041c\\u0421)\":\"Valentina\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"37368812121\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Valentina Farima\",\"Contact_name\":\"Valentina Farima\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"\\u0410\\u0441\\u0442\\u0430\\u043f\\u0435\\u043d\\u043a\\u043e\\u0432\\u0430 \\u042e\\u043b\\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\":\"2004014003127\",\"\\u0410\\u0434\\u0440\\u0435\\u0441\":\"str.Tofan 6 ap52\",\"\\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)\":\"16.08.2025\",\"\\u0422\\u0438\\u043f \\u0438 \\u043c\\u043e\\u0434\\u0435\\u043b\\u044c \\u043e\\u0431\\u043e\\u0440\\u0443\\u0434\\u043e\\u0432\\u0430\\u043d\\u0438\\u044f (\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442)\":\"Haier Revive 25\",\"\\u041a\\u043e\\u043b - \\u0432\\u043e \\u043e\\u0431\\u043e\\u0440\\u0443\\u0434\\u043e\\u0432\\u0430\\u043d\\u0438\\u044f (\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442)\":\"1\",\"\\u041a\\u0442\\u043e \\u043c\\u043e\\u043d\\u0442\\u0438\\u0440\\u043e\\u0432\\u0430\\u043b (\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442)\":\"\\u041c\\u0430\\u0441\\u0442\\u0435\\u0440 \\u043a\\u043e\\u043c\\u043f\\u0430\\u043d\\u0438\\u0438 Edenvor SRL\",\"\\u041d\\u043e\\u043c\\u0435\\u0440 \\u043a\\u043e\\u043d\\u0442\\u0440\\u0430\\u043a\\u0442\\u0430 (\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442)\":\"K5786\",\"\\u0418\\u043c\\u044f \\u043a\\u043b\\u0438\\u0435\\u043d\\u0442\\u0430 (\\u0421\\u041c\\u0421)\":\"Valentina\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"37368812121\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Valentina Farima\",\"Contact_name\":\"Valentina Farima\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"\\u0410\\u0441\\u0442\\u0430\\u043f\\u0435\\u043d\\u043a\\u043e\\u0432\\u0430 \\u042e\\u043b\\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\":\"2004014003127\",\"\\u0410\\u0434\\u0440\\u0435\\u0441\":\"str.Tofan 6 ap52\",\"\\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)\":\"16.08.2025\",\"\\u0422\\u0438\\u043f \\u0438 \\u043c\\u043e\\u0434\\u0435\\u043b\\u044c \\u043e\\u0431\\u043e\\u0440\\u0443\\u0434\\u043e\\u0432\\u0430\\u043d\\u0438\\u044f (\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442)\":\"Haier Revive 25\",\"\\u041a\\u043e\\u043b - \\u0432\\u043e \\u043e\\u0431\\u043e\\u0440\\u0443\\u0434\\u043e\\u0432\\u0430\\u043d\\u0438\\u044f (\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442)\":\"1\",\"\\u041a\\u0442\\u043e \\u043c\\u043e\\u043d\\u0442\\u0438\\u0440\\u043e\\u0432\\u0430\\u043b (\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442)\":\"\\u041c\\u0430\\u0441\\u0442\\u0435\\u0440 \\u043a\\u043e\\u043c\\u043f\\u0430\\u043d\\u0438\\u0438 Edenvor SRL\",\"\\u041d\\u043e\\u043c\\u0435\\u0440 \\u043a\\u043e\\u043d\\u0442\\u0440\\u0430\\u043a\\u0442\\u0430 (\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442)\":\"K5786\",\"\\u0418\\u043c\\u044f \\u043a\\u043b\\u0438\\u0435\\u043d\\u0442\\u0430 (\\u0421\\u041c\\u0421)\":\"Valentina\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"37368812121\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Valentina Farima\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\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\":\"07.08.2026\",\"\\u041d\\u043e\\u043c\\u0435\\u0440\":\"820\"},\"document\":{\"Date\":\"07.08.2026\",\"Number\":\"820\"}}}","edit":true}} {"uid":"71e7158"}
[2026-08-07 12:43:39] docflow.DEBUG: GAS raw response {"raw":"[object] (stdClass: {\"code\":1,\"url\":\"https://docs.google.com/open?id=1PR2Xk6qya5-f5w-k16T9ZqxsDMYzcCX_8orENJn_fnU\",\"file_id\":\"1PR2Xk6qya5-f5w-k16T9ZqxsDMYzcCX_8orENJn_fnU\",\"error\":\"\",\"vars\":\"\"})"} {"uid":"71e7158"}
[2026-08-07 12:43:39] docflow.WARNING: AmoDrive generated-file move is not ready. {"fileId":"1PR2Xk6qya5-f5w-k16T9ZqxsDMYzcCX_8orENJn_fnU","context":null} {"uid":"71e7158"}
[2026-08-07 12:44:02] docflow.INFO: Apel createDoc {"data":{"amoAccountId":"32990686","amoUserId":null,"amoEntityId":"40280081","amoEntityType":"2","templateId":"11646","corporateEntityId":"","settlementAccountId":"","is_signed":null,"gdi":null,"number":null,"currentAmoUserId":null,"lang":"ru"}} {"uid":"8f3bd8f"}
[2026-08-07 12:44:02] docflow.INFO: Token is valid for account 32990686. [] {"uid":"8f3bd8f"}
[2026-08-07 12:44:02] docflow.DEBUG: getClientAuth returned {"auth":"[object] (stdClass: {\"domain\":\"eurosanteh.amocrm.ru\",\"access_token\":\"eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImp0aSI6IjJlZjliOWE0ZDhjMGYwMDZjYWQyMWY5NTJkMzBkNmFmMTNjNWVhNGRiODM3NTFlNjg1YzViMjk2ZjhjOTBhNDUyNDFlN2FlMWY2YTU0YTc3In0.eyJhdWQiOiIwZDY0ZGZmYi1lNTRiLTQ0OGYtOWZiZi1iYWYyMjUxYTExZGIiLCJqdGkiOiIyZWY5YjlhNGQ4YzBmMDA2Y2FkMjFmOTUyZDMwZDZhZjEzYzVlYTRkYjgzNzUxZTY4NWM1YjI5NmY4YzkwYTQ1MjQxZTdhZTFmNmE1NGE3NyIsImlhdCI6MTc4NjA5MzQwOSwibmJmIjoxNzg2MDkzNDA5LCJleHAiOjE3ODYxNzk4MDksInN1YiI6IjEzNjg3MzAyIiwiZ3JhbnRfdHlwZSI6IiIsImFjY291bnRfaWQiOjMyOTkwNjg2LCJiYXNlX2RvbWFpbiI6ImFtb2NybS5ydSIsInZlcnNpb24iOjIsInNjb3BlcyI6WyJwdXNoX25vdGlmaWNhdGlvbnMiLCJjcm0iLCJub3RpZmljYXRpb25zIl0sImhhc2hfdXVpZCI6IjQxNTg2MTM2LThhYTItNGMzMS04NDQzLTczNzBjZjVkYjg2YyIsImFwaV9kb21haW4iOiJhcGktYi5hbW9jcm0ucnUifQ.qcldVLhACTWc9lq4fq2j93a7WpNedzFrijmyMGfJTqyMHb3yyX2b-YBlc_zk1o0VoMxl9-OD-8qrQWKtk6M1z2960Pwgjpe7lj3z5RUAoVaMp4wM4UFEWV5dwd4Dx6Az1VZ2PTi-MyJ7y6iiKnrzOMmi-PoGPfo9pwUF5M4eo_mqc3NIBMn4EfjRtSLGP2zUiUpfnPSVd5_1fQeCgP8tv2BCs0F8-LEZmpjtg-8laIHmLa6u1GD5-0ql_5uXbAaFrpoEpvnD_9yKFSfqMjVHbGhy_9sea33OeT7-j34EI_8Quu_2DmQFHeB6c-XVEUUEDiJAq2qTpfOsqLpPmwcYAw\"})","file":"/home/ytvmclwh/document.amocrm.md/src/Models/Docs.php","line":121} {"uid":"8f3bd8f"}
[2026-08-07 12:44:05] docflow.DEBUG: AmoDrive docflow context request {"url":"https://google.emale.uno/api/docflow/google-context","query":{"account_id":"32990686","entity_id":"40280081","entity_type":"leads"}} {"uid":"8f3bd8f"}
[2026-08-07 12:44:05] docflow.WARNING: AmoDrive docflow context request failed {"url":"https://google.emale.uno/api/docflow/google-context","http_code":null,"error":"HTTP/2 400 ","response":"<!DOCTYPE HTML PUBLIC \"-//IETF//DTD HTML 2.0//EN\">\r\n<html>\r\n<head><title>400 Bad Request</title></head>\r\n<body>\r\n<center><h1>400 Bad Request</h1></center>\r\n Sorry for the inconvenience.<br/>\r\nPlease report this message and include the following information to us.<br/>\r\nThank you very much!</p>\r\n<table>\r\n<tr>\r\n<td>URL:</td>\r\n<td>https://gd.glucose-dev.online/api/docflow/google-context?account_id=32990686&amp;entity_id=40280081&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/08/07 12:44:05</td>\r\n</tr>\r\n</table>\r\n<hr><center>tengine</center>\r\n</body>\r\n</html>\r\n"} {"uid":"8f3bd8f"}
[2026-08-07 12:44:05] docflow.DEBUG: AmoDrive docflow context request {"url":"https://gd.glucose-dev.online/api/docflow/google-context","query":{"account_id":"32990686","entity_id":"40280081","entity_type":"leads"}} {"uid":"8f3bd8f"}
[2026-08-07 12:44:05] docflow.WARNING: AmoDrive docflow context response is not ready, trying next backend. {"url":"https://gd.glucose-dev.online/api/docflow/google-context","payload":{"ok":true,"accountId":32990686,"entityId":"40280081","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":"8f3bd8f"}
[2026-08-07 12:44:05] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://google.emale.uno/api/docflow/prepare-generated-doc","payload":{"account_id":"32990686","entity_id":"40280081","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"8f3bd8f"}
[2026-08-07 12:44:05] docflow.WARNING: AmoDrive prepare-generated-doc request failed {"url":"https://google.emale.uno/api/docflow/prepare-generated-doc","http_code":null,"error":"HTTP/2 400 ","response":"<!DOCTYPE HTML PUBLIC \"-//IETF//DTD HTML 2.0//EN\">\r\n<html>\r\n<head><title>400 Bad Request</title></head>\r\n<body>\r\n<center><h1>400 Bad Request</h1></center>\r\n Sorry for the inconvenience.<br/>\r\nPlease report this message and include the following information to us.<br/>\r\nThank you very much!</p>\r\n<table>\r\n<tr>\r\n<td>URL:</td>\r\n<td>https://gd.glucose-dev.online/api/docflow/prepare-generated-doc</td>\r\n</tr>\r\n<tr>\r\n<td>Server:</td>\r\n<td>mail.glucose-dev.online</td>\r\n</tr>\r\n<tr>\r\n<td>Date:</td>\r\n<td>2026/08/07 12:44:05</td>\r\n</tr>\r\n</table>\r\n<hr><center>tengine</center>\r\n</body>\r\n</html>\r\n","payload":{"account_id":"32990686","entity_id":"40280081","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"8f3bd8f"}
[2026-08-07 12:44:05] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://gd.glucose-dev.online/api/docflow/prepare-generated-doc","payload":{"account_id":"32990686","entity_id":"40280081","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"8f3bd8f"}
[2026-08-07 12:44:05] docflow.WARNING: AmoDrive prepare-generated-doc request failed {"url":"https://gd.glucose-dev.online/api/docflow/prepare-generated-doc","http_code":null,"error":"HTTP/2 404 ","response":"[object] (stdClass: {\"ok\":false,\"error\":\"AmoDrive is not installed for this account.\",\"accountId\":32990686})","payload":{"account_id":"32990686","entity_id":"40280081","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"8f3bd8f"}
[2026-08-07 12:44:05] 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 820 20260807124405\",\"leadId\":\"40280081\",\"entities\":{\"\\u0441\\u0434\\u0435\\u043b\\u043a\\u0430\":{\"\\u0421\\u043b\\u0435\\u0434\\u0443\\u044e\\u0449\\u0430\\u044f \\u0434\\u0430\\u0442\\u0430 \\u0441\\u0435\\u0440\\u0432\\u0438\\u0441\\u0430\":\"16.08.2027\",\"\\u041d\\u043e\\u043c\\u0435\\u0440 \\u043a\\u043e\\u043d\\u0442\\u0440\\u0430\\u043a\\u0442\\u0430\":\"K5786\",\"\\u0414\\u0430\\u0442\\u0430 \\u043c\\u043e\\u043d\\u0442\\u0430\\u0436\\u0430 (\\u0411\\u0414)\":\"16.08.2025\",\"\\u041d\\u0430\\u0437\\u0432\\u0430\\u043d\\u0438\\u0435 \\u0442\\u043e\\u0432\\u0430\\u0440\\u0430 (\\u0411\\u0414)\":\"Haier Revive 25\",\"\\u0412\\u0438\\u0434 \\u0440\\u0430\\u0431\\u043e\\u0442\\u044b (\\u0411\\u0414)\":\"\\u0423\\u0441\\u0442\\u0432\\u043d\\u043e\\u0432\\u043a\\u0430 \\u043a\\u043e\\u043d\\u0434\\u0438\\u0446\\u0438\\u043e\\u043d\\u0435\\u0440\\u0430\",\"\\u0424\\u0418\\u041e \\u043c\\u043e\\u043d\\u0442\\u0430\\u0436\\u043d\\u0438\\u043a\\u0430 (\\u0411\\u0414)\":\"\\u041d\\u0430\\u0433\\u0440\\u0438\\u043d\\u044f\\u043a \\u0418.\",\"\\u0414\\u0435\\u043d\\u044c \\u043d\\u0435\\u0434\\u0435\\u043b\\u0438\":\"\\u0427\\u0435\\u0442\\u0432\\u0435\\u0440\\u0433\",\"\\u0414\\u0430\\u0442\\u0430 \\u0438 \\u0432\\u0440\\u0435\\u043c\\u044f \\u0432\\u0438\\u0437\\u0438\\u0442\\u0430\":\"2026-08-07 17:22:00\",\"\\u0414\\u0430\\u0442\\u0430 \\u0432\\u0438\\u0437\\u0438\\u0442\\u0430\":\"07.08.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\",\"ID\":\"40280081\",\"\\u0421\\u0434\\u0435\\u043b\\u043a\\u0430_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"\\u041f\\u0422\\u041e\",\"Lead_name\":\"\\u041f\\u0422\\u041e\",\"\\u0411\\u044e\\u0434\\u0436\\u0435\\u0442\":\"0\",\"Budget\":\"0\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"\\u0410\\u0441\\u0442\\u0430\\u043f\\u0435\\u043d\\u043a\\u043e\\u0432\\u0430 \\u042e\\u043b\\u0438\\u0430\\u043d\\u043d\\u0430\",\"Responsible\":\"\\u0410\\u0441\\u0442\\u0430\\u043f\\u0435\\u043d\\u043a\\u043e\\u0432\\u0430 \\u042e\\u043b\\u0438\\u0430\\u043d\\u043d\\u0430\"},\"lead\":{\"\\u0421\\u043b\\u0435\\u0434\\u0443\\u044e\\u0449\\u0430\\u044f \\u0434\\u0430\\u0442\\u0430 \\u0441\\u0435\\u0440\\u0432\\u0438\\u0441\\u0430\":\"16.08.2027\",\"\\u041d\\u043e\\u043c\\u0435\\u0440 \\u043a\\u043e\\u043d\\u0442\\u0440\\u0430\\u043a\\u0442\\u0430\":\"K5786\",\"\\u0414\\u0430\\u0442\\u0430 \\u043c\\u043e\\u043d\\u0442\\u0430\\u0436\\u0430 (\\u0411\\u0414)\":\"16.08.2025\",\"\\u041d\\u0430\\u0437\\u0432\\u0430\\u043d\\u0438\\u0435 \\u0442\\u043e\\u0432\\u0430\\u0440\\u0430 (\\u0411\\u0414)\":\"Haier Revive 25\",\"\\u0412\\u0438\\u0434 \\u0440\\u0430\\u0431\\u043e\\u0442\\u044b (\\u0411\\u0414)\":\"\\u0423\\u0441\\u0442\\u0432\\u043d\\u043e\\u0432\\u043a\\u0430 \\u043a\\u043e\\u043d\\u0434\\u0438\\u0446\\u0438\\u043e\\u043d\\u0435\\u0440\\u0430\",\"\\u0424\\u0418\\u041e \\u043c\\u043e\\u043d\\u0442\\u0430\\u0436\\u043d\\u0438\\u043a\\u0430 (\\u0411\\u0414)\":\"\\u041d\\u0430\\u0433\\u0440\\u0438\\u043d\\u044f\\u043a \\u0418.\",\"\\u0414\\u0435\\u043d\\u044c \\u043d\\u0435\\u0434\\u0435\\u043b\\u0438\":\"\\u0427\\u0435\\u0442\\u0432\\u0435\\u0440\\u0433\",\"\\u0414\\u0430\\u0442\\u0430 \\u0438 \\u0432\\u0440\\u0435\\u043c\\u044f \\u0432\\u0438\\u0437\\u0438\\u0442\\u0430\":\"2026-08-07 17:22:00\",\"\\u0414\\u0430\\u0442\\u0430 \\u0432\\u0438\\u0437\\u0438\\u0442\\u0430\":\"07.08.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\",\"ID\":\"40280081\",\"\\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\":\"2004014003127\",\"\\u0410\\u0434\\u0440\\u0435\\u0441\":\"str.Tofan 6 ap52\",\"\\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)\":\"16.08.2025\",\"\\u0422\\u0438\\u043f \\u0438 \\u043c\\u043e\\u0434\\u0435\\u043b\\u044c \\u043e\\u0431\\u043e\\u0440\\u0443\\u0434\\u043e\\u0432\\u0430\\u043d\\u0438\\u044f (\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442)\":\"Haier Revive 25\",\"\\u041a\\u043e\\u043b - \\u0432\\u043e \\u043e\\u0431\\u043e\\u0440\\u0443\\u0434\\u043e\\u0432\\u0430\\u043d\\u0438\\u044f (\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442)\":\"1\",\"\\u041a\\u0442\\u043e \\u043c\\u043e\\u043d\\u0442\\u0438\\u0440\\u043e\\u0432\\u0430\\u043b (\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442)\":\"\\u041c\\u0430\\u0441\\u0442\\u0435\\u0440 \\u043a\\u043e\\u043c\\u043f\\u0430\\u043d\\u0438\\u0438 Edenvor SRL\",\"\\u041d\\u043e\\u043c\\u0435\\u0440 \\u043a\\u043e\\u043d\\u0442\\u0440\\u0430\\u043a\\u0442\\u0430 (\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442)\":\"K5786\",\"\\u0418\\u043c\\u044f \\u043a\\u043b\\u0438\\u0435\\u043d\\u0442\\u0430 (\\u0421\\u041c\\u0421)\":\"Valentina\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"37368812121\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Valentina Farima\",\"Contact_name\":\"Valentina Farima\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"\\u0410\\u0441\\u0442\\u0430\\u043f\\u0435\\u043d\\u043a\\u043e\\u0432\\u0430 \\u042e\\u043b\\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\":\"2004014003127\",\"\\u0410\\u0434\\u0440\\u0435\\u0441\":\"str.Tofan 6 ap52\",\"\\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)\":\"16.08.2025\",\"\\u0422\\u0438\\u043f \\u0438 \\u043c\\u043e\\u0434\\u0435\\u043b\\u044c \\u043e\\u0431\\u043e\\u0440\\u0443\\u0434\\u043e\\u0432\\u0430\\u043d\\u0438\\u044f (\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442)\":\"Haier Revive 25\",\"\\u041a\\u043e\\u043b - \\u0432\\u043e \\u043e\\u0431\\u043e\\u0440\\u0443\\u0434\\u043e\\u0432\\u0430\\u043d\\u0438\\u044f (\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442)\":\"1\",\"\\u041a\\u0442\\u043e \\u043c\\u043e\\u043d\\u0442\\u0438\\u0440\\u043e\\u0432\\u0430\\u043b (\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442)\":\"\\u041c\\u0430\\u0441\\u0442\\u0435\\u0440 \\u043a\\u043e\\u043c\\u043f\\u0430\\u043d\\u0438\\u0438 Edenvor SRL\",\"\\u041d\\u043e\\u043c\\u0435\\u0440 \\u043a\\u043e\\u043d\\u0442\\u0440\\u0430\\u043a\\u0442\\u0430 (\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442)\":\"K5786\",\"\\u0418\\u043c\\u044f \\u043a\\u043b\\u0438\\u0435\\u043d\\u0442\\u0430 (\\u0421\\u041c\\u0421)\":\"Valentina\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"37368812121\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Valentina Farima\",\"Contact_name\":\"Valentina Farima\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"\\u0410\\u0441\\u0442\\u0430\\u043f\\u0435\\u043d\\u043a\\u043e\\u0432\\u0430 \\u042e\\u043b\\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\":\"2004014003127\",\"\\u0410\\u0434\\u0440\\u0435\\u0441\":\"str.Tofan 6 ap52\",\"\\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)\":\"16.08.2025\",\"\\u0422\\u0438\\u043f \\u0438 \\u043c\\u043e\\u0434\\u0435\\u043b\\u044c \\u043e\\u0431\\u043e\\u0440\\u0443\\u0434\\u043e\\u0432\\u0430\\u043d\\u0438\\u044f (\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442)\":\"Haier Revive 25\",\"\\u041a\\u043e\\u043b - \\u0432\\u043e \\u043e\\u0431\\u043e\\u0440\\u0443\\u0434\\u043e\\u0432\\u0430\\u043d\\u0438\\u044f (\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442)\":\"1\",\"\\u041a\\u0442\\u043e \\u043c\\u043e\\u043d\\u0442\\u0438\\u0440\\u043e\\u0432\\u0430\\u043b (\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442)\":\"\\u041c\\u0430\\u0441\\u0442\\u0435\\u0440 \\u043a\\u043e\\u043c\\u043f\\u0430\\u043d\\u0438\\u0438 Edenvor SRL\",\"\\u041d\\u043e\\u043c\\u0435\\u0440 \\u043a\\u043e\\u043d\\u0442\\u0440\\u0430\\u043a\\u0442\\u0430 (\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442)\":\"K5786\",\"\\u0418\\u043c\\u044f \\u043a\\u043b\\u0438\\u0435\\u043d\\u0442\\u0430 (\\u0421\\u041c\\u0421)\":\"Valentina\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"37368812121\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Valentina Farima\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\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\":\"07.08.2026\",\"\\u041d\\u043e\\u043c\\u0435\\u0440\":\"820\"},\"document\":{\"Date\":\"07.08.2026\",\"Number\":\"820\"}}}","edit":true}} {"uid":"8f3bd8f"}
[2026-08-07 12:44:10] docflow.DEBUG: GAS raw response {"raw":"[object] (stdClass: {\"code\":1,\"url\":\"https://docs.google.com/open?id=1p4f0EjoSIF8NcGihC11KhTdOR4HROdGTNBZfzLFvtEs\",\"file_id\":\"1p4f0EjoSIF8NcGihC11KhTdOR4HROdGTNBZfzLFvtEs\",\"error\":\"\",\"vars\":\"\"})"} {"uid":"8f3bd8f"}
[2026-08-07 12:44:10] docflow.WARNING: AmoDrive generated-file move is not ready. {"fileId":"1p4f0EjoSIF8NcGihC11KhTdOR4HROdGTNBZfzLFvtEs","context":null} {"uid":"8f3bd8f"}
[2026-08-07 14:02:51] docflow.INFO: Apel createDoc {"data":{"amoAccountId":"22699852","amoUserId":null,"amoEntityId":"42475420","amoEntityType":"2","templateId":"11495","corporateEntityId":"","settlementAccountId":"","is_signed":null,"gdi":null,"number":null,"currentAmoUserId":null,"lang":"ru"}} {"uid":"c121501"}
[2026-08-07 14:02:51] docflow.INFO: Token is valid for account 22699852. [] {"uid":"c121501"}
[2026-08-07 14:02:51] docflow.DEBUG: getClientAuth returned {"auth":"[object] (stdClass: {\"domain\":\"emigrare.amocrm.ru\",\"access_token\":\"eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImp0aSI6ImMyNzMxNzA5YWNlYjQ3YTZiMjRjOWM4N2Y0ODZlYzY0MmViMGZlMzc0OTZlNjJiOTY5YjYwNzA5ODVmNzAyNDViMmU1OGNjMDc5ZGZjNGZmIn0.eyJhdWQiOiIwZDY0ZGZmYi1lNTRiLTQ0OGYtOWZiZi1iYWYyMjUxYTExZGIiLCJqdGkiOiJjMjczMTcwOWFjZWI0N2E2YjI0YzljODdmNDg2ZWM2NDJlYjBmZTM3NDk2ZTYyYjk2OWI2MDcwOTg1ZjcwMjQ1YjJlNThjYzA3OWRmYzRmZiIsImlhdCI6MTc4NjA4MzEwOCwibmJmIjoxNzg2MDgzMTA4LCJleHAiOjE3ODYxNjk1MDgsInN1YiI6IjI5MzAzODAiLCJncmFudF90eXBlIjoiIiwiYWNjb3VudF9pZCI6MjI2OTk4NTIsImJhc2VfZG9tYWluIjoiYW1vY3JtLnJ1IiwidmVyc2lvbiI6Miwic2NvcGVzIjpbInB1c2hfbm90aWZpY2F0aW9ucyIsImNybSIsIm5vdGlmaWNhdGlvbnMiXSwiaGFzaF91dWlkIjoiYWZiMjc1MmItYmEyMC00ODA5LWExYzItNGM2NTVhNzJjZmVkIiwiYXBpX2RvbWFpbiI6ImFwaS1hLmFtb2NybS5ydSJ9.NYT7VRx9Gk69Gf89Vi-Ye8qoEe6m4X2r6rt_ieHd7XcTlTvdfXxeoiDraoY0Kl_1wZsukjBQIHhosYjvCWDgz-mceKssDr3lrjutg4P3x1XLUBO2ChLA0E3faDA18p_Lza8FhLJkRyG0qxt8vAbgxRdrGDDyyWBRIljC6-Cb4YzJ198ovx01C9nglI8o4kqUEj8rPYeKgDIgvRqgpNEse0thuKswZpnw3c-lYv1PuaqguqoOx1qD6XbXMWevRQuzwQ9JkSNN7pE_U_8M8iIMIzcfxqG1A_TqsbfbZzCD5b9px0JPhNSxZCH3L3b9_B90D9MlYGe7miIYOd7Py_82rg\"})","file":"/home/ytvmclwh/document.amocrm.md/src/Models/Docs.php","line":121} {"uid":"c121501"}
[2026-08-07 14:02:53] docflow.DEBUG: AmoDrive docflow context request {"url":"https://google.emale.uno/api/docflow/google-context","query":{"account_id":"22699852","entity_id":"42475420","entity_type":"leads"}} {"uid":"c121501"}
[2026-08-07 14:02:53] docflow.WARNING: AmoDrive docflow context request failed {"url":"https://google.emale.uno/api/docflow/google-context","http_code":null,"error":"HTTP/2 400 ","response":"<!DOCTYPE HTML PUBLIC \"-//IETF//DTD HTML 2.0//EN\">\r\n<html>\r\n<head><title>400 Bad Request</title></head>\r\n<body>\r\n<center><h1>400 Bad Request</h1></center>\r\n Sorry for the inconvenience.<br/>\r\nPlease report this message and include the following information to us.<br/>\r\nThank you very much!</p>\r\n<table>\r\n<tr>\r\n<td>URL:</td>\r\n<td>https://gd.glucose-dev.online/api/docflow/google-context?account_id=22699852&amp;entity_id=42475420&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/08/07 14:02:54</td>\r\n</tr>\r\n</table>\r\n<hr><center>tengine</center>\r\n</body>\r\n</html>\r\n"} {"uid":"c121501"}
[2026-08-07 14:02:53] docflow.DEBUG: AmoDrive docflow context request {"url":"https://gd.glucose-dev.online/api/docflow/google-context","query":{"account_id":"22699852","entity_id":"42475420","entity_type":"leads"}} {"uid":"c121501"}
[2026-08-07 14:02:53] docflow.WARNING: AmoDrive docflow context response is not ready, trying next backend. {"url":"https://gd.glucose-dev.online/api/docflow/google-context","payload":{"ok":true,"accountId":22699852,"entityId":"42475420","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":378,"isLifetime":false},"licenseActive":false,"googleConnected":false,"googleEmail":null,"googleHasDriveScope":false,"googleHasDriveFileScope":false,"googleHasOwnershipScope":false,"readyForGeneratedFileMove":false,"readyForTransfer":false},"folder":null}} {"uid":"c121501"}
[2026-08-07 14:02:53] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://google.emale.uno/api/docflow/prepare-generated-doc","payload":{"account_id":"22699852","entity_id":"42475420","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"c121501"}
[2026-08-07 14:02: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/08/07 14:02: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":"42475420","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"c121501"}
[2026-08-07 14:02: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":"42475420","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"c121501"}
[2026-08-07 14:02: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":"42475420","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"c121501"}
[2026-08-07 14:02:54] 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) 352 20260807140253\",\"leadId\":\"42475420\",\"entities\":{\"\\u0441\\u0434\\u0435\\u043b\\u043a\\u0430\":{\"Suma \\u20ac\":\"0\",\"ID\":\"42475420\",\"\\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\":\"Marina Negruta\",\"Responsible\":\"Marina Negruta\"},\"lead\":{\"Suma \\u20ac\":\"0\",\"ID\":\"42475420\",\"\\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\":\"Marina Negruta\",\"Responsible\":\"Marina Negruta\"},\"\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442\":{\"TelegramId_WZ\":\"1018805905\",\"TelegramUsername_WZ\":\"@ilyabalanutsa\",\"Email\":\"balanec@yandex.ru\",\"WhatsappUsername_WZ\":\"@ilyabalanutsa\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"\\u0411\\u0430\\u043b\\u0430\\u043d\\u0443\\u0446\\u0430 \\u0418\\u043b\\u044c\\u044f \\u0412\\u0438\\u043a\\u0442\\u043e\\u0440\\u043e\\u0432\\u0438\\u0447\",\"Contact_name\":\"\\u0411\\u0430\\u043b\\u0430\\u043d\\u0443\\u0446\\u0430 \\u0418\\u043b\\u044c\\u044f \\u0412\\u0438\\u043a\\u0442\\u043e\\u0440\\u043e\\u0432\\u0438\\u0447\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"Marina Negruta\",\"Responsible\":\"Marina Negruta\"},\"contact\":{\"TelegramId_WZ\":\"1018805905\",\"TelegramUsername_WZ\":\"@ilyabalanutsa\",\"Email\":\"balanec@yandex.ru\",\"WhatsappUsername_WZ\":\"@ilyabalanutsa\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"\\u0411\\u0430\\u043b\\u0430\\u043d\\u0443\\u0446\\u0430 \\u0418\\u043b\\u044c\\u044f \\u0412\\u0438\\u043a\\u0442\\u043e\\u0440\\u043e\\u0432\\u0438\\u0447\",\"Contact_name\":\"\\u0411\\u0430\\u043b\\u0430\\u043d\\u0443\\u0446\\u0430 \\u0418\\u043b\\u044c\\u044f \\u0412\\u0438\\u043a\\u0442\\u043e\\u0440\\u043e\\u0432\\u0438\\u0447\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"Marina Negruta\",\"Responsible\":\"Marina Negruta\"},\"\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442\\u044b\":[{\"TelegramId_WZ\":\"1018805905\",\"TelegramUsername_WZ\":\"@ilyabalanutsa\",\"Email\":\"balanec@yandex.ru\",\"WhatsappUsername_WZ\":\"@ilyabalanutsa\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"\\u0411\\u0430\\u043b\\u0430\\u043d\\u0443\\u0446\\u0430 \\u0418\\u043b\\u044c\\u044f \\u0412\\u0438\\u043a\\u0442\\u043e\\u0440\\u043e\\u0432\\u0438\\u0447\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"Marina Negruta\"}],\"\\u0434\\u043e\\u043a\\u0443\\u043c\\u0435\\u043d\\u0442\":{\"\\u0414\\u0430\\u0442\\u0430\":\"07.08.2026\",\"\\u041d\\u043e\\u043c\\u0435\\u0440\":\"352\"},\"document\":{\"Date\":\"07.08.2026\",\"Number\":\"352\"}}}","edit":true}} {"uid":"c121501"}
[2026-08-07 14:03:02] docflow.DEBUG: GAS raw response {"raw":"[object] (stdClass: {\"code\":1,\"url\":\"https://docs.google.com/open?id=1cc3KeLxjavnwuNtG55D582Scewmfjd0hkAD4TtFySH8\",\"file_id\":\"1cc3KeLxjavnwuNtG55D582Scewmfjd0hkAD4TtFySH8\",\"error\":\"\",\"vars\":\"\"})"} {"uid":"c121501"}
[2026-08-07 14:03:02] docflow.WARNING: AmoDrive generated-file move is not ready. {"fileId":"1cc3KeLxjavnwuNtG55D582Scewmfjd0hkAD4TtFySH8","context":null} {"uid":"c121501"}
[2026-08-07 14:03:11] docflow.INFO: Apel createDoc {"data":{"amoAccountId":"22699852","amoUserId":null,"amoEntityId":"42475420","amoEntityType":"2","templateId":"11515","corporateEntityId":"","settlementAccountId":"","is_signed":null,"gdi":null,"number":null,"currentAmoUserId":null,"lang":"ru"}} {"uid":"fec54dd"}
[2026-08-07 14:03:11] docflow.INFO: Token is valid for account 22699852. [] {"uid":"fec54dd"}
[2026-08-07 14:03:11] docflow.DEBUG: getClientAuth returned {"auth":"[object] (stdClass: {\"domain\":\"emigrare.amocrm.ru\",\"access_token\":\"eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImp0aSI6ImMyNzMxNzA5YWNlYjQ3YTZiMjRjOWM4N2Y0ODZlYzY0MmViMGZlMzc0OTZlNjJiOTY5YjYwNzA5ODVmNzAyNDViMmU1OGNjMDc5ZGZjNGZmIn0.eyJhdWQiOiIwZDY0ZGZmYi1lNTRiLTQ0OGYtOWZiZi1iYWYyMjUxYTExZGIiLCJqdGkiOiJjMjczMTcwOWFjZWI0N2E2YjI0YzljODdmNDg2ZWM2NDJlYjBmZTM3NDk2ZTYyYjk2OWI2MDcwOTg1ZjcwMjQ1YjJlNThjYzA3OWRmYzRmZiIsImlhdCI6MTc4NjA4MzEwOCwibmJmIjoxNzg2MDgzMTA4LCJleHAiOjE3ODYxNjk1MDgsInN1YiI6IjI5MzAzODAiLCJncmFudF90eXBlIjoiIiwiYWNjb3VudF9pZCI6MjI2OTk4NTIsImJhc2VfZG9tYWluIjoiYW1vY3JtLnJ1IiwidmVyc2lvbiI6Miwic2NvcGVzIjpbInB1c2hfbm90aWZpY2F0aW9ucyIsImNybSIsIm5vdGlmaWNhdGlvbnMiXSwiaGFzaF91dWlkIjoiYWZiMjc1MmItYmEyMC00ODA5LWExYzItNGM2NTVhNzJjZmVkIiwiYXBpX2RvbWFpbiI6ImFwaS1hLmFtb2NybS5ydSJ9.NYT7VRx9Gk69Gf89Vi-Ye8qoEe6m4X2r6rt_ieHd7XcTlTvdfXxeoiDraoY0Kl_1wZsukjBQIHhosYjvCWDgz-mceKssDr3lrjutg4P3x1XLUBO2ChLA0E3faDA18p_Lza8FhLJkRyG0qxt8vAbgxRdrGDDyyWBRIljC6-Cb4YzJ198ovx01C9nglI8o4kqUEj8rPYeKgDIgvRqgpNEse0thuKswZpnw3c-lYv1PuaqguqoOx1qD6XbXMWevRQuzwQ9JkSNN7pE_U_8M8iIMIzcfxqG1A_TqsbfbZzCD5b9px0JPhNSxZCH3L3b9_B90D9MlYGe7miIYOd7Py_82rg\"})","file":"/home/ytvmclwh/document.amocrm.md/src/Models/Docs.php","line":121} {"uid":"fec54dd"}
[2026-08-07 14:03:13] docflow.DEBUG: AmoDrive docflow context request {"url":"https://google.emale.uno/api/docflow/google-context","query":{"account_id":"22699852","entity_id":"42475420","entity_type":"leads"}} {"uid":"fec54dd"}
[2026-08-07 14:03: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=42475420&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/08/07 14:03:14</td>\r\n</tr>\r\n</table>\r\n<hr><center>tengine</center>\r\n</body>\r\n</html>\r\n"} {"uid":"fec54dd"}
[2026-08-07 14:03:13] docflow.DEBUG: AmoDrive docflow context request {"url":"https://gd.glucose-dev.online/api/docflow/google-context","query":{"account_id":"22699852","entity_id":"42475420","entity_type":"leads"}} {"uid":"fec54dd"}
[2026-08-07 14:03:14] docflow.WARNING: AmoDrive docflow context response is not ready, trying next backend. {"url":"https://gd.glucose-dev.online/api/docflow/google-context","payload":{"ok":true,"accountId":22699852,"entityId":"42475420","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":378,"isLifetime":false},"licenseActive":false,"googleConnected":false,"googleEmail":null,"googleHasDriveScope":false,"googleHasDriveFileScope":false,"googleHasOwnershipScope":false,"readyForGeneratedFileMove":false,"readyForTransfer":false},"folder":{"id":"1Nh_ZL0XscUqOkhypRJ6PrX7ceYrTnruc","name":"42475420 - Lead #42475420","webViewLink":"https://drive.google.com/drive/folders/1Nh_ZL0XscUqOkhypRJ6PrX7ceYrTnruc"}}} {"uid":"fec54dd"}
[2026-08-07 14:03:14] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://google.emale.uno/api/docflow/prepare-generated-doc","payload":{"account_id":"22699852","entity_id":"42475420","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"fec54dd"}
[2026-08-07 14:03: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/08/07 14:03: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":"22699852","entity_id":"42475420","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"fec54dd"}
[2026-08-07 14:03:14] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://gd.glucose-dev.online/api/docflow/prepare-generated-doc","payload":{"account_id":"22699852","entity_id":"42475420","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"fec54dd"}
[2026-08-07 14:03: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\":22699852})","payload":{"account_id":"22699852","entity_id":"42475420","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"fec54dd"}
[2026-08-07 14:03:14] 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) 1613 20260807140313\",\"leadId\":\"42475420\",\"entities\":{\"\\u0441\\u0434\\u0435\\u043b\\u043a\\u0430\":{\"Suma \\u20ac\":\"0\",\"ID\":\"42475420\",\"\\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\":\"Marina Negruta\",\"Responsible\":\"Marina Negruta\"},\"lead\":{\"Suma \\u20ac\":\"0\",\"ID\":\"42475420\",\"\\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\":\"Marina Negruta\",\"Responsible\":\"Marina Negruta\"},\"\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442\":{\"TelegramId_WZ\":\"1018805905\",\"TelegramUsername_WZ\":\"@ilyabalanutsa\",\"Email\":\"balanec@yandex.ru\",\"WhatsappUsername_WZ\":\"@ilyabalanutsa\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"\\u0411\\u0430\\u043b\\u0430\\u043d\\u0443\\u0446\\u0430 \\u0418\\u043b\\u044c\\u044f \\u0412\\u0438\\u043a\\u0442\\u043e\\u0440\\u043e\\u0432\\u0438\\u0447\",\"Contact_name\":\"\\u0411\\u0430\\u043b\\u0430\\u043d\\u0443\\u0446\\u0430 \\u0418\\u043b\\u044c\\u044f \\u0412\\u0438\\u043a\\u0442\\u043e\\u0440\\u043e\\u0432\\u0438\\u0447\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"Marina Negruta\",\"Responsible\":\"Marina Negruta\"},\"contact\":{\"TelegramId_WZ\":\"1018805905\",\"TelegramUsername_WZ\":\"@ilyabalanutsa\",\"Email\":\"balanec@yandex.ru\",\"WhatsappUsername_WZ\":\"@ilyabalanutsa\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"\\u0411\\u0430\\u043b\\u0430\\u043d\\u0443\\u0446\\u0430 \\u0418\\u043b\\u044c\\u044f \\u0412\\u0438\\u043a\\u0442\\u043e\\u0440\\u043e\\u0432\\u0438\\u0447\",\"Contact_name\":\"\\u0411\\u0430\\u043b\\u0430\\u043d\\u0443\\u0446\\u0430 \\u0418\\u043b\\u044c\\u044f \\u0412\\u0438\\u043a\\u0442\\u043e\\u0440\\u043e\\u0432\\u0438\\u0447\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"Marina Negruta\",\"Responsible\":\"Marina Negruta\"},\"\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442\\u044b\":[{\"TelegramId_WZ\":\"1018805905\",\"TelegramUsername_WZ\":\"@ilyabalanutsa\",\"Email\":\"balanec@yandex.ru\",\"WhatsappUsername_WZ\":\"@ilyabalanutsa\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"\\u0411\\u0430\\u043b\\u0430\\u043d\\u0443\\u0446\\u0430 \\u0418\\u043b\\u044c\\u044f \\u0412\\u0438\\u043a\\u0442\\u043e\\u0440\\u043e\\u0432\\u0438\\u0447\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"Marina Negruta\"}],\"\\u0434\\u043e\\u043a\\u0443\\u043c\\u0435\\u043d\\u0442\":{\"\\u0414\\u0430\\u0442\\u0430\":\"07.08.2026\",\"\\u041d\\u043e\\u043c\\u0435\\u0440\":\"1613\"},\"document\":{\"Date\":\"07.08.2026\",\"Number\":\"1613\"}}}","edit":true}} {"uid":"fec54dd"}
[2026-08-07 14:03:20] docflow.DEBUG: GAS raw response {"raw":"[object] (stdClass: {\"code\":1,\"url\":\"https://docs.google.com/open?id=19piW3afIeniSgk8JDMTdU8DTFXLa94v6PDjgjxnBGlo\",\"file_id\":\"19piW3afIeniSgk8JDMTdU8DTFXLa94v6PDjgjxnBGlo\",\"error\":\"\",\"vars\":\"\"})"} {"uid":"fec54dd"}
[2026-08-07 14:03:20] docflow.WARNING: AmoDrive generated-file move is not ready. {"fileId":"19piW3afIeniSgk8JDMTdU8DTFXLa94v6PDjgjxnBGlo","context":null} {"uid":"fec54dd"}
[2026-08-07 14:14:04] docflow.INFO: Apel createDoc {"data":{"amoAccountId":"22699852","amoUserId":null,"amoEntityId":"37930194","amoEntityType":"2","templateId":"11500","corporateEntityId":"","settlementAccountId":"","is_signed":null,"gdi":null,"number":null,"currentAmoUserId":null,"lang":"ru"}} {"uid":"ed0db0b"}
[2026-08-07 14:14:04] docflow.INFO: Token is valid for account 22699852. [] {"uid":"ed0db0b"}
[2026-08-07 14:14:04] docflow.DEBUG: getClientAuth returned {"auth":"[object] (stdClass: {\"domain\":\"emigrare.amocrm.ru\",\"access_token\":\"eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImp0aSI6ImMyNzMxNzA5YWNlYjQ3YTZiMjRjOWM4N2Y0ODZlYzY0MmViMGZlMzc0OTZlNjJiOTY5YjYwNzA5ODVmNzAyNDViMmU1OGNjMDc5ZGZjNGZmIn0.eyJhdWQiOiIwZDY0ZGZmYi1lNTRiLTQ0OGYtOWZiZi1iYWYyMjUxYTExZGIiLCJqdGkiOiJjMjczMTcwOWFjZWI0N2E2YjI0YzljODdmNDg2ZWM2NDJlYjBmZTM3NDk2ZTYyYjk2OWI2MDcwOTg1ZjcwMjQ1YjJlNThjYzA3OWRmYzRmZiIsImlhdCI6MTc4NjA4MzEwOCwibmJmIjoxNzg2MDgzMTA4LCJleHAiOjE3ODYxNjk1MDgsInN1YiI6IjI5MzAzODAiLCJncmFudF90eXBlIjoiIiwiYWNjb3VudF9pZCI6MjI2OTk4NTIsImJhc2VfZG9tYWluIjoiYW1vY3JtLnJ1IiwidmVyc2lvbiI6Miwic2NvcGVzIjpbInB1c2hfbm90aWZpY2F0aW9ucyIsImNybSIsIm5vdGlmaWNhdGlvbnMiXSwiaGFzaF91dWlkIjoiYWZiMjc1MmItYmEyMC00ODA5LWExYzItNGM2NTVhNzJjZmVkIiwiYXBpX2RvbWFpbiI6ImFwaS1hLmFtb2NybS5ydSJ9.NYT7VRx9Gk69Gf89Vi-Ye8qoEe6m4X2r6rt_ieHd7XcTlTvdfXxeoiDraoY0Kl_1wZsukjBQIHhosYjvCWDgz-mceKssDr3lrjutg4P3x1XLUBO2ChLA0E3faDA18p_Lza8FhLJkRyG0qxt8vAbgxRdrGDDyyWBRIljC6-Cb4YzJ198ovx01C9nglI8o4kqUEj8rPYeKgDIgvRqgpNEse0thuKswZpnw3c-lYv1PuaqguqoOx1qD6XbXMWevRQuzwQ9JkSNN7pE_U_8M8iIMIzcfxqG1A_TqsbfbZzCD5b9px0JPhNSxZCH3L3b9_B90D9MlYGe7miIYOd7Py_82rg\"})","file":"/home/ytvmclwh/document.amocrm.md/src/Models/Docs.php","line":121} {"uid":"ed0db0b"}
[2026-08-07 14:14:07] docflow.DEBUG: AmoDrive docflow context request {"url":"https://google.emale.uno/api/docflow/google-context","query":{"account_id":"22699852","entity_id":"37930194","entity_type":"leads"}} {"uid":"ed0db0b"}
[2026-08-07 14: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=22699852&amp;entity_id=37930194&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/08/07 14:14:07</td>\r\n</tr>\r\n</table>\r\n<hr><center>tengine</center>\r\n</body>\r\n</html>\r\n"} {"uid":"ed0db0b"}
[2026-08-07 14:14:07] docflow.DEBUG: AmoDrive docflow context request {"url":"https://gd.glucose-dev.online/api/docflow/google-context","query":{"account_id":"22699852","entity_id":"37930194","entity_type":"leads"}} {"uid":"ed0db0b"}
[2026-08-07 14: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":22699852,"entityId":"37930194","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":378,"isLifetime":false},"licenseActive":false,"googleConnected":false,"googleEmail":null,"googleHasDriveScope":false,"googleHasDriveFileScope":false,"googleHasOwnershipScope":false,"readyForGeneratedFileMove":false,"readyForTransfer":false},"folder":{"id":"1tqnVsIrgad1Bini-TzvcEmVcB7BhdBvq","name":"CET.RO (Fedor Pakhurov)","webViewLink":"https://drive.google.com/drive/folders/1tqnVsIrgad1Bini-TzvcEmVcB7BhdBvq"}}} {"uid":"ed0db0b"}
[2026-08-07 14:14:07] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://google.emale.uno/api/docflow/prepare-generated-doc","payload":{"account_id":"22699852","entity_id":"37930194","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"ed0db0b"}
[2026-08-07 14: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/08/07 14: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":"22699852","entity_id":"37930194","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"ed0db0b"}
[2026-08-07 14:14: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":"37930194","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"ed0db0b"}
[2026-08-07 14: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\":22699852})","payload":{"account_id":"22699852","entity_id":"37930194","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"ed0db0b"}
[2026-08-07 14:14:07] 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 649 20260807141407\",\"leadId\":\"37930194\",\"entities\":{\"\\u0441\\u0434\\u0435\\u043b\\u043a\\u0430\":{\"Luna trec in Front\":\"23.05.2024\",\"Categorie Serviciu\":\"Cet.RO\",\"Brand\":\"Emigrare.md\",\"Serviciu solicitat\":\"1520104\",\"Suma Back\":\"0\",\"Data consulta\\u021biei\":\"21.05.2024\",\"Suma contract\":\"2280\",\"google_folder_id_leads_field\":\"1tqnVsIrgad1Bini-TzvcEmVcB7BhdBvq\",\"google_folder_link_leads_field\":\"https:\\/\\/drive.google.com\\/drive\\/folders\\/1tqnVsIrgad1Bini-TzvcEmVcB7BhdBvq\",\"Data contractului\":\"23.05.2024\",\"Numar Contract\":\"37930194\",\"Etapa curenta\":\"Proces producere\",\"Palnia Curenta\":\"Work Cetatenie Romana\",\"Cet\\u0103\\u021benie RO\":\"Servicii Diverse, Apostila, Preg\\u0103tire dosar\",\"Termen perfectare\":\"27.12.2024\",\"Compania\":\"EMG Consulting Group SRL\",\"Avans\":\"800\",\"Cont\":\"\\u0421\\u0411\\u0415\\u0420\\u0411\\u0410\\u041d\\u041a                                      \\u041d\\u043e\\u043c\\u0435\\u0440 \\u043a\\u0430\\u0440\\u0442\\u044b 5484 3800 1562 7789  +79857493467.                             \\u041d\\u043e\\u043c\\u0435\\u0440 \\u0421\\u0447\\u0435\\u0442\\u0430 \\u0412\\u0430\\u043b\\u044e\\u0442\\u0430 \\u043f\\u043e\\u043b\\u0443\\u0447\\u0430\\u0435\\u043c\\u043e\\u0433\\u043e \\u043f\\u0435\\u0440\\u0435\\u0432\\u043e\\u0434\\u0430: \\u0420\\u0443\\u0431\\u043b\\u0438 (RUB)   \\u041f\\u043e\\u043b\\u0443\\u0447\\u0430\\u0442\\u0435\\u043b\\u044c: \\u041e\\u041a\\u0418\\u041d\\u0427\\u0423\\u041a \\u0412\\u0418\\u041a\\u0422\\u041e\\u0420    \\u041d\\u0440. \\u0441\\u0447\\u0451\\u0442\\u0430 40820810738177503380.               \\u0411\\u0430\\u043d\\u043a \\u043f\\u043e\\u043b\\u0443\\u0447\\u0430\\u0442\\u0435\\u043b\\u044f: \\u041f\\u0410\\u041e \\u0421\\u0411\\u0415\\u0420\\u0411\\u0410\\u041d\\u041a \\u0411\\u0418\\u041a: 044525225.                            \\u041a\\u043e\\u0440\\u0440. \\u0441\\u0447\\u0451\\u0442: 30101810400000000225 \\u0418\\u041d\\u041d: 7707083893,\\u041a\\u041f\\u041f: 773643001                  SWIFT-\\u043a\\u043e\\u0434: SABRRUMM\",\"Manager front office\":\"Capanji Igor\",\"Data avans\":\"27.05.2024\",\"Suma \\u20ac\":\"0\",\"ID\":\"37930194\",\"\\u0421\\u0434\\u0435\\u043b\\u043a\\u0430_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Cet. RO (Fedor Pakhurov)\",\"Lead_name\":\"Cet. RO (Fedor Pakhurov)\",\"\\u0411\\u044e\\u0434\\u0436\\u0435\\u0442\":\"2280\",\"Budget\":\"2280\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"Capanji Igor\",\"Responsible\":\"Capanji Igor\"},\"lead\":{\"Luna trec in Front\":\"23.05.2024\",\"Categorie Serviciu\":\"Cet.RO\",\"Brand\":\"Emigrare.md\",\"Serviciu solicitat\":\"1520104\",\"Suma Back\":\"0\",\"Data consulta\\u021biei\":\"21.05.2024\",\"Suma contract\":\"2280\",\"google_folder_id_leads_field\":\"1tqnVsIrgad1Bini-TzvcEmVcB7BhdBvq\",\"google_folder_link_leads_field\":\"https:\\/\\/drive.google.com\\/drive\\/folders\\/1tqnVsIrgad1Bini-TzvcEmVcB7BhdBvq\",\"Data contractului\":\"23.05.2024\",\"Numar Contract\":\"37930194\",\"Etapa curenta\":\"Proces producere\",\"Palnia Curenta\":\"Work Cetatenie Romana\",\"Cet\\u0103\\u021benie RO\":\"Servicii Diverse, Apostila, Preg\\u0103tire dosar\",\"Termen perfectare\":\"27.12.2024\",\"Compania\":\"EMG Consulting Group SRL\",\"Avans\":\"800\",\"Cont\":\"\\u0421\\u0411\\u0415\\u0420\\u0411\\u0410\\u041d\\u041a                                      \\u041d\\u043e\\u043c\\u0435\\u0440 \\u043a\\u0430\\u0440\\u0442\\u044b 5484 3800 1562 7789  +79857493467.                             \\u041d\\u043e\\u043c\\u0435\\u0440 \\u0421\\u0447\\u0435\\u0442\\u0430 \\u0412\\u0430\\u043b\\u044e\\u0442\\u0430 \\u043f\\u043e\\u043b\\u0443\\u0447\\u0430\\u0435\\u043c\\u043e\\u0433\\u043e \\u043f\\u0435\\u0440\\u0435\\u0432\\u043e\\u0434\\u0430: \\u0420\\u0443\\u0431\\u043b\\u0438 (RUB)   \\u041f\\u043e\\u043b\\u0443\\u0447\\u0430\\u0442\\u0435\\u043b\\u044c: \\u041e\\u041a\\u0418\\u041d\\u0427\\u0423\\u041a \\u0412\\u0418\\u041a\\u0422\\u041e\\u0420    \\u041d\\u0440. \\u0441\\u0447\\u0451\\u0442\\u0430 40820810738177503380.               \\u0411\\u0430\\u043d\\u043a \\u043f\\u043e\\u043b\\u0443\\u0447\\u0430\\u0442\\u0435\\u043b\\u044f: \\u041f\\u0410\\u041e \\u0421\\u0411\\u0415\\u0420\\u0411\\u0410\\u041d\\u041a \\u0411\\u0418\\u041a: 044525225.                            \\u041a\\u043e\\u0440\\u0440. \\u0441\\u0447\\u0451\\u0442: 30101810400000000225 \\u0418\\u041d\\u041d: 7707083893,\\u041a\\u041f\\u041f: 773643001                  SWIFT-\\u043a\\u043e\\u0434: SABRRUMM\",\"Manager front office\":\"Capanji Igor\",\"Data avans\":\"27.05.2024\",\"Suma \\u20ac\":\"0\",\"ID\":\"37930194\",\"\\u0421\\u0434\\u0435\\u043b\\u043a\\u0430_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Cet. RO (Fedor Pakhurov)\",\"Lead_name\":\"Cet. RO (Fedor Pakhurov)\",\"\\u0411\\u044e\\u0434\\u0436\\u0435\\u0442\":\"2280\",\"Budget\":\"2280\",\"\\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\":\"+79197779301\",\"Limba vorbita\":\"Rusa\",\"CNP\":\"+\",\"Seria buletin\":\"+\",\"Email\":\"pahurova@gmail.com\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Natalia Pakhurova\",\"Contact_name\":\"Natalia Pakhurova\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"Capanji Igor\",\"Responsible\":\"Capanji Igor\"},\"contact\":{\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"+79197779301\",\"Limba vorbita\":\"Rusa\",\"CNP\":\"+\",\"Seria buletin\":\"+\",\"Email\":\"pahurova@gmail.com\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Natalia Pakhurova\",\"Contact_name\":\"Natalia Pakhurova\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"Capanji Igor\",\"Responsible\":\"Capanji Igor\"},\"\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442\\u044b\":[{\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"+79197779301\",\"Limba vorbita\":\"Rusa\",\"CNP\":\"+\",\"Seria buletin\":\"+\",\"Email\":\"pahurova@gmail.com\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Natalia Pakhurova\",\"\\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\":\"07.08.2026\",\"\\u041d\\u043e\\u043c\\u0435\\u0440\":\"649\"},\"document\":{\"Date\":\"07.08.2026\",\"Number\":\"649\"}}}","edit":true}} {"uid":"ed0db0b"}
[2026-08-07 14:14:13] docflow.DEBUG: GAS raw response {"raw":"[object] (stdClass: {\"code\":1,\"url\":\"https://docs.google.com/open?id=1LHOrBbO4W7oIIOvhRRUnwFoRKdvbHmFOU04yNhRG6Ak\",\"file_id\":\"1LHOrBbO4W7oIIOvhRRUnwFoRKdvbHmFOU04yNhRG6Ak\",\"error\":\"\",\"vars\":\"\"})"} {"uid":"ed0db0b"}
[2026-08-07 14:14:13] docflow.WARNING: AmoDrive generated-file move is not ready. {"fileId":"1LHOrBbO4W7oIIOvhRRUnwFoRKdvbHmFOU04yNhRG6Ak","context":null} {"uid":"ed0db0b"}
[2026-08-07 15:52:23] docflow.INFO: Apel createDoc {"data":{"amoAccountId":"32990686","amoUserId":null,"amoEntityId":"47677489","amoEntityType":"2","templateId":"11625","corporateEntityId":"","settlementAccountId":"","is_signed":null,"gdi":null,"number":null,"currentAmoUserId":null,"lang":"ru"}} {"uid":"9d813c5"}
[2026-08-07 15:52:24] docflow.INFO: Token is valid for account 32990686. [] {"uid":"9d813c5"}
[2026-08-07 15:52:24] docflow.DEBUG: getClientAuth returned {"auth":"[object] (stdClass: {\"domain\":\"eurosanteh.amocrm.ru\",\"access_token\":\"eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImp0aSI6IjJlZjliOWE0ZDhjMGYwMDZjYWQyMWY5NTJkMzBkNmFmMTNjNWVhNGRiODM3NTFlNjg1YzViMjk2ZjhjOTBhNDUyNDFlN2FlMWY2YTU0YTc3In0.eyJhdWQiOiIwZDY0ZGZmYi1lNTRiLTQ0OGYtOWZiZi1iYWYyMjUxYTExZGIiLCJqdGkiOiIyZWY5YjlhNGQ4YzBmMDA2Y2FkMjFmOTUyZDMwZDZhZjEzYzVlYTRkYjgzNzUxZTY4NWM1YjI5NmY4YzkwYTQ1MjQxZTdhZTFmNmE1NGE3NyIsImlhdCI6MTc4NjA5MzQwOSwibmJmIjoxNzg2MDkzNDA5LCJleHAiOjE3ODYxNzk4MDksInN1YiI6IjEzNjg3MzAyIiwiZ3JhbnRfdHlwZSI6IiIsImFjY291bnRfaWQiOjMyOTkwNjg2LCJiYXNlX2RvbWFpbiI6ImFtb2NybS5ydSIsInZlcnNpb24iOjIsInNjb3BlcyI6WyJwdXNoX25vdGlmaWNhdGlvbnMiLCJjcm0iLCJub3RpZmljYXRpb25zIl0sImhhc2hfdXVpZCI6IjQxNTg2MTM2LThhYTItNGMzMS04NDQzLTczNzBjZjVkYjg2YyIsImFwaV9kb21haW4iOiJhcGktYi5hbW9jcm0ucnUifQ.qcldVLhACTWc9lq4fq2j93a7WpNedzFrijmyMGfJTqyMHb3yyX2b-YBlc_zk1o0VoMxl9-OD-8qrQWKtk6M1z2960Pwgjpe7lj3z5RUAoVaMp4wM4UFEWV5dwd4Dx6Az1VZ2PTi-MyJ7y6iiKnrzOMmi-PoGPfo9pwUF5M4eo_mqc3NIBMn4EfjRtSLGP2zUiUpfnPSVd5_1fQeCgP8tv2BCs0F8-LEZmpjtg-8laIHmLa6u1GD5-0ql_5uXbAaFrpoEpvnD_9yKFSfqMjVHbGhy_9sea33OeT7-j34EI_8Quu_2DmQFHeB6c-XVEUUEDiJAq2qTpfOsqLpPmwcYAw\"})","file":"/home/ytvmclwh/document.amocrm.md/src/Models/Docs.php","line":121} {"uid":"9d813c5"}
[2026-08-07 15:52:26] docflow.DEBUG: AmoDrive docflow context request {"url":"https://google.emale.uno/api/docflow/google-context","query":{"account_id":"32990686","entity_id":"47677489","entity_type":"leads"}} {"uid":"9d813c5"}
[2026-08-07 15:52:26] docflow.WARNING: AmoDrive docflow context request failed {"url":"https://google.emale.uno/api/docflow/google-context","http_code":null,"error":"HTTP/2 400 ","response":"<!DOCTYPE HTML PUBLIC \"-//IETF//DTD HTML 2.0//EN\">\r\n<html>\r\n<head><title>400 Bad Request</title></head>\r\n<body>\r\n<center><h1>400 Bad Request</h1></center>\r\n Sorry for the inconvenience.<br/>\r\nPlease report this message and include the following information to us.<br/>\r\nThank you very much!</p>\r\n<table>\r\n<tr>\r\n<td>URL:</td>\r\n<td>https://gd.glucose-dev.online/api/docflow/google-context?account_id=32990686&amp;entity_id=47677489&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/08/07 15:52:26</td>\r\n</tr>\r\n</table>\r\n<hr><center>tengine</center>\r\n</body>\r\n</html>\r\n"} {"uid":"9d813c5"}
[2026-08-07 15:52:26] docflow.DEBUG: AmoDrive docflow context request {"url":"https://gd.glucose-dev.online/api/docflow/google-context","query":{"account_id":"32990686","entity_id":"47677489","entity_type":"leads"}} {"uid":"9d813c5"}
[2026-08-07 15:52:26] docflow.WARNING: AmoDrive docflow context response is not ready, trying next backend. {"url":"https://gd.glucose-dev.online/api/docflow/google-context","payload":{"ok":true,"accountId":32990686,"entityId":"47677489","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":"9d813c5"}
[2026-08-07 15:52:26] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://google.emale.uno/api/docflow/prepare-generated-doc","payload":{"account_id":"32990686","entity_id":"47677489","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"9d813c5"}
[2026-08-07 15:52:26] docflow.WARNING: AmoDrive prepare-generated-doc request failed {"url":"https://google.emale.uno/api/docflow/prepare-generated-doc","http_code":null,"error":"HTTP/2 400 ","response":"<!DOCTYPE HTML PUBLIC \"-//IETF//DTD HTML 2.0//EN\">\r\n<html>\r\n<head><title>400 Bad Request</title></head>\r\n<body>\r\n<center><h1>400 Bad Request</h1></center>\r\n Sorry for the inconvenience.<br/>\r\nPlease report this message and include the following information to us.<br/>\r\nThank you very much!</p>\r\n<table>\r\n<tr>\r\n<td>URL:</td>\r\n<td>https://gd.glucose-dev.online/api/docflow/prepare-generated-doc</td>\r\n</tr>\r\n<tr>\r\n<td>Server:</td>\r\n<td>mail.glucose-dev.online</td>\r\n</tr>\r\n<tr>\r\n<td>Date:</td>\r\n<td>2026/08/07 15:52:27</td>\r\n</tr>\r\n</table>\r\n<hr><center>tengine</center>\r\n</body>\r\n</html>\r\n","payload":{"account_id":"32990686","entity_id":"47677489","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"9d813c5"}
[2026-08-07 15:52:26] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://gd.glucose-dev.online/api/docflow/prepare-generated-doc","payload":{"account_id":"32990686","entity_id":"47677489","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"9d813c5"}
[2026-08-07 15:52:26] docflow.WARNING: AmoDrive prepare-generated-doc request failed {"url":"https://gd.glucose-dev.online/api/docflow/prepare-generated-doc","http_code":null,"error":"HTTP/2 404 ","response":"[object] (stdClass: {\"ok\":false,\"error\":\"AmoDrive is not installed for this account.\",\"accountId\":32990686})","payload":{"account_id":"32990686","entity_id":"47677489","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"9d813c5"}
[2026-08-07 15:52:26] docflow.DEBUG: GAS request {"url":"https://script.google.com/macros/s/AKfycbwrvOJD46zkuoTzdhpc1kulhV8jRfgQBFZfQ121nkIip_k8yKit4xrbWTOzaJ-C-Yed6w/exec","body":{"templateFileId":"1AjK4khA9mRlFDVy4RXRqHAg2GTFWJYC-Gac1Mx3OLnA","accountId":"32990686","folderId":"1Us2AfskxgdA729xVr0F2vjZU9y5PlYDe","key":"~VTsK5dcnHc2cSSsjM$LFSjLlgbmJXwrp3R2P5nd","data":"{\"fileName\":\"ALL FOR ALL \\u041d\\u0430\\u0440\\u044f\\u0434 \\u043d\\u0430 \\u0432\\u044b\\u043f\\u043e\\u043b\\u043d\\u0435\\u043d\\u0438\\u0435 \\u0440\\u0430\\u0431\\u043e\\u0442 821 20260807155226\",\"leadId\":\"47677489\",\"entities\":{\"\\u0441\\u0434\\u0435\\u043b\\u043a\\u0430\":{\"\\u0414\\u0430\\u0442\\u0430 \\u0438 \\u0432\\u0440\\u0435\\u043c\\u044f \\u0432\\u0438\\u0437\\u0438\\u0442\\u0430\":\"2026-08-08 15:51:00\",\"\\u0414\\u0430\\u0442\\u0430 \\u0432\\u0438\\u0437\\u0438\\u0442\\u0430\":\"08.08.2026\",\"\\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\",\"ID\":\"47677489\",\"\\u0421\\u0434\\u0435\\u043b\\u043a\\u0430_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"\\u0421\\u0434\\u0435\\u043b\\u043a\\u0430 #47677489\",\"Lead_name\":\"\\u0421\\u0434\\u0435\\u043b\\u043a\\u0430 #47677489\",\"\\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-08-08 15:51:00\",\"\\u0414\\u0430\\u0442\\u0430 \\u0432\\u0438\\u0437\\u0438\\u0442\\u0430\":\"08.08.2026\",\"\\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\",\"ID\":\"47677489\",\"\\u0421\\u0434\\u0435\\u043b\\u043a\\u0430_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"\\u0421\\u0434\\u0435\\u043b\\u043a\\u0430 #47677489\",\"Lead_name\":\"\\u0421\\u0434\\u0435\\u043b\\u043a\\u0430 #47677489\",\"\\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\":\"972011011037\",\"\\u0410\\u0434\\u0440\\u0435\\u0441\":\"str Romana 19\\/2 ap 53\",\"\\u0418\\u043c\\u044f \\u043a\\u043b\\u0438\\u0435\\u043d\\u0442\\u0430 (\\u0421\\u041c\\u0421)\":\"Tatiana\",\"\\u0422\\u0438\\u043f \\u0438 \\u043c\\u043e\\u0434\\u0435\\u043b\\u044c \\u043e\\u0431\\u043e\\u0440\\u0443\\u0434\\u043e\\u0432\\u0430\\u043d\\u0438\\u044f (\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442)\":\"Haier\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"37376771102\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Tatiana Murzac\",\"Contact_name\":\"Tatiana Murzac\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"\\u0410\\u0441\\u0442\\u0430\\u043f\\u0435\\u043d\\u043a\\u043e\\u0432\\u0430 \\u042e\\u043b\\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\":\"972011011037\",\"\\u0410\\u0434\\u0440\\u0435\\u0441\":\"str Romana 19\\/2 ap 53\",\"\\u0418\\u043c\\u044f \\u043a\\u043b\\u0438\\u0435\\u043d\\u0442\\u0430 (\\u0421\\u041c\\u0421)\":\"Tatiana\",\"\\u0422\\u0438\\u043f \\u0438 \\u043c\\u043e\\u0434\\u0435\\u043b\\u044c \\u043e\\u0431\\u043e\\u0440\\u0443\\u0434\\u043e\\u0432\\u0430\\u043d\\u0438\\u044f (\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442)\":\"Haier\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"37376771102\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Tatiana Murzac\",\"Contact_name\":\"Tatiana Murzac\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"\\u0410\\u0441\\u0442\\u0430\\u043f\\u0435\\u043d\\u043a\\u043e\\u0432\\u0430 \\u042e\\u043b\\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\":\"972011011037\",\"\\u0410\\u0434\\u0440\\u0435\\u0441\":\"str Romana 19\\/2 ap 53\",\"\\u0418\\u043c\\u044f \\u043a\\u043b\\u0438\\u0435\\u043d\\u0442\\u0430 (\\u0421\\u041c\\u0421)\":\"Tatiana\",\"\\u0422\\u0438\\u043f \\u0438 \\u043c\\u043e\\u0434\\u0435\\u043b\\u044c \\u043e\\u0431\\u043e\\u0440\\u0443\\u0434\\u043e\\u0432\\u0430\\u043d\\u0438\\u044f (\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442)\":\"Haier\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"37376771102\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Tatiana Murzac\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\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\":\"07.08.2026\",\"\\u041d\\u043e\\u043c\\u0435\\u0440\":\"821\"},\"document\":{\"Date\":\"07.08.2026\",\"Number\":\"821\"}}}","edit":true}} {"uid":"9d813c5"}
[2026-08-07 15:52:33] docflow.DEBUG: GAS raw response {"raw":"[object] (stdClass: {\"code\":1,\"url\":\"https://docs.google.com/open?id=1UmYRYr10JxUPVHWiroS8uab5oIaReBQRhsaZ_D0SU7M\",\"file_id\":\"1UmYRYr10JxUPVHWiroS8uab5oIaReBQRhsaZ_D0SU7M\",\"error\":\"\",\"vars\":\"\"})"} {"uid":"9d813c5"}
[2026-08-07 15:52:33] docflow.WARNING: AmoDrive generated-file move is not ready. {"fileId":"1UmYRYr10JxUPVHWiroS8uab5oIaReBQRhsaZ_D0SU7M","context":null} {"uid":"9d813c5"}
[2026-08-07 15:53:27] docflow.INFO: Apel createDoc {"data":{"amoAccountId":"32990686","amoUserId":null,"amoEntityId":"47677489","amoEntityType":"2","templateId":"11646","corporateEntityId":"","settlementAccountId":"","is_signed":null,"gdi":null,"number":null,"currentAmoUserId":null,"lang":"ru"}} {"uid":"f3c13d5"}
[2026-08-07 15:53:27] docflow.INFO: Token is valid for account 32990686. [] {"uid":"f3c13d5"}
[2026-08-07 15:53:27] docflow.DEBUG: getClientAuth returned {"auth":"[object] (stdClass: {\"domain\":\"eurosanteh.amocrm.ru\",\"access_token\":\"eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImp0aSI6IjJlZjliOWE0ZDhjMGYwMDZjYWQyMWY5NTJkMzBkNmFmMTNjNWVhNGRiODM3NTFlNjg1YzViMjk2ZjhjOTBhNDUyNDFlN2FlMWY2YTU0YTc3In0.eyJhdWQiOiIwZDY0ZGZmYi1lNTRiLTQ0OGYtOWZiZi1iYWYyMjUxYTExZGIiLCJqdGkiOiIyZWY5YjlhNGQ4YzBmMDA2Y2FkMjFmOTUyZDMwZDZhZjEzYzVlYTRkYjgzNzUxZTY4NWM1YjI5NmY4YzkwYTQ1MjQxZTdhZTFmNmE1NGE3NyIsImlhdCI6MTc4NjA5MzQwOSwibmJmIjoxNzg2MDkzNDA5LCJleHAiOjE3ODYxNzk4MDksInN1YiI6IjEzNjg3MzAyIiwiZ3JhbnRfdHlwZSI6IiIsImFjY291bnRfaWQiOjMyOTkwNjg2LCJiYXNlX2RvbWFpbiI6ImFtb2NybS5ydSIsInZlcnNpb24iOjIsInNjb3BlcyI6WyJwdXNoX25vdGlmaWNhdGlvbnMiLCJjcm0iLCJub3RpZmljYXRpb25zIl0sImhhc2hfdXVpZCI6IjQxNTg2MTM2LThhYTItNGMzMS04NDQzLTczNzBjZjVkYjg2YyIsImFwaV9kb21haW4iOiJhcGktYi5hbW9jcm0ucnUifQ.qcldVLhACTWc9lq4fq2j93a7WpNedzFrijmyMGfJTqyMHb3yyX2b-YBlc_zk1o0VoMxl9-OD-8qrQWKtk6M1z2960Pwgjpe7lj3z5RUAoVaMp4wM4UFEWV5dwd4Dx6Az1VZ2PTi-MyJ7y6iiKnrzOMmi-PoGPfo9pwUF5M4eo_mqc3NIBMn4EfjRtSLGP2zUiUpfnPSVd5_1fQeCgP8tv2BCs0F8-LEZmpjtg-8laIHmLa6u1GD5-0ql_5uXbAaFrpoEpvnD_9yKFSfqMjVHbGhy_9sea33OeT7-j34EI_8Quu_2DmQFHeB6c-XVEUUEDiJAq2qTpfOsqLpPmwcYAw\"})","file":"/home/ytvmclwh/document.amocrm.md/src/Models/Docs.php","line":121} {"uid":"f3c13d5"}
[2026-08-07 15:53:29] docflow.DEBUG: AmoDrive docflow context request {"url":"https://google.emale.uno/api/docflow/google-context","query":{"account_id":"32990686","entity_id":"47677489","entity_type":"leads"}} {"uid":"f3c13d5"}
[2026-08-07 15:53: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=32990686&amp;entity_id=47677489&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/08/07 15:53:29</td>\r\n</tr>\r\n</table>\r\n<hr><center>tengine</center>\r\n</body>\r\n</html>\r\n"} {"uid":"f3c13d5"}
[2026-08-07 15:53:29] docflow.DEBUG: AmoDrive docflow context request {"url":"https://gd.glucose-dev.online/api/docflow/google-context","query":{"account_id":"32990686","entity_id":"47677489","entity_type":"leads"}} {"uid":"f3c13d5"}
[2026-08-07 15:53: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":32990686,"entityId":"47677489","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":"f3c13d5"}
[2026-08-07 15:53:29] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://google.emale.uno/api/docflow/prepare-generated-doc","payload":{"account_id":"32990686","entity_id":"47677489","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"f3c13d5"}
[2026-08-07 15:53: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/08/07 15:53: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":"32990686","entity_id":"47677489","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"f3c13d5"}
[2026-08-07 15:53:29] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://gd.glucose-dev.online/api/docflow/prepare-generated-doc","payload":{"account_id":"32990686","entity_id":"47677489","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"f3c13d5"}
[2026-08-07 15:53: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\":32990686})","payload":{"account_id":"32990686","entity_id":"47677489","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"f3c13d5"}
[2026-08-07 15:53:29] 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 821 20260807155329\",\"leadId\":\"47677489\",\"entities\":{\"\\u0441\\u0434\\u0435\\u043b\\u043a\\u0430\":{\"\\u0414\\u0430\\u0442\\u0430 \\u0438 \\u0432\\u0440\\u0435\\u043c\\u044f \\u0432\\u0438\\u0437\\u0438\\u0442\\u0430\":\"2026-08-08 15:51:00\",\"\\u0414\\u0430\\u0442\\u0430 \\u0432\\u0438\\u0437\\u0438\\u0442\\u0430\":\"08.08.2026\",\"\\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\",\"ID\":\"47677489\",\"\\u0421\\u0434\\u0435\\u043b\\u043a\\u0430_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"\\u0421\\u0434\\u0435\\u043b\\u043a\\u0430 #47677489\",\"Lead_name\":\"\\u0421\\u0434\\u0435\\u043b\\u043a\\u0430 #47677489\",\"\\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-08-08 15:51:00\",\"\\u0414\\u0430\\u0442\\u0430 \\u0432\\u0438\\u0437\\u0438\\u0442\\u0430\":\"08.08.2026\",\"\\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\",\"ID\":\"47677489\",\"\\u0421\\u0434\\u0435\\u043b\\u043a\\u0430_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"\\u0421\\u0434\\u0435\\u043b\\u043a\\u0430 #47677489\",\"Lead_name\":\"\\u0421\\u0434\\u0435\\u043b\\u043a\\u0430 #47677489\",\"\\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\":\"972011011037\",\"\\u0410\\u0434\\u0440\\u0435\\u0441\":\"str Romana 19\\/2 ap 53\",\"\\u0418\\u043c\\u044f \\u043a\\u043b\\u0438\\u0435\\u043d\\u0442\\u0430 (\\u0421\\u041c\\u0421)\":\"Tatiana\",\"\\u0422\\u0438\\u043f \\u0438 \\u043c\\u043e\\u0434\\u0435\\u043b\\u044c \\u043e\\u0431\\u043e\\u0440\\u0443\\u0434\\u043e\\u0432\\u0430\\u043d\\u0438\\u044f (\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442)\":\"Haier\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"37376771102\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Tatiana Murzac\",\"Contact_name\":\"Tatiana Murzac\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"\\u0410\\u0441\\u0442\\u0430\\u043f\\u0435\\u043d\\u043a\\u043e\\u0432\\u0430 \\u042e\\u043b\\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\":\"972011011037\",\"\\u0410\\u0434\\u0440\\u0435\\u0441\":\"str Romana 19\\/2 ap 53\",\"\\u0418\\u043c\\u044f \\u043a\\u043b\\u0438\\u0435\\u043d\\u0442\\u0430 (\\u0421\\u041c\\u0421)\":\"Tatiana\",\"\\u0422\\u0438\\u043f \\u0438 \\u043c\\u043e\\u0434\\u0435\\u043b\\u044c \\u043e\\u0431\\u043e\\u0440\\u0443\\u0434\\u043e\\u0432\\u0430\\u043d\\u0438\\u044f (\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442)\":\"Haier\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"37376771102\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Tatiana Murzac\",\"Contact_name\":\"Tatiana Murzac\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"\\u0410\\u0441\\u0442\\u0430\\u043f\\u0435\\u043d\\u043a\\u043e\\u0432\\u0430 \\u042e\\u043b\\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\":\"972011011037\",\"\\u0410\\u0434\\u0440\\u0435\\u0441\":\"str Romana 19\\/2 ap 53\",\"\\u0418\\u043c\\u044f \\u043a\\u043b\\u0438\\u0435\\u043d\\u0442\\u0430 (\\u0421\\u041c\\u0421)\":\"Tatiana\",\"\\u0422\\u0438\\u043f \\u0438 \\u043c\\u043e\\u0434\\u0435\\u043b\\u044c \\u043e\\u0431\\u043e\\u0440\\u0443\\u0434\\u043e\\u0432\\u0430\\u043d\\u0438\\u044f (\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442)\":\"Haier\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"37376771102\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Tatiana Murzac\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\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\":\"07.08.2026\",\"\\u041d\\u043e\\u043c\\u0435\\u0440\":\"821\"},\"document\":{\"Date\":\"07.08.2026\",\"Number\":\"821\"}}}","edit":true}} {"uid":"f3c13d5"}
[2026-08-07 15:53:36] docflow.DEBUG: GAS raw response {"raw":"[object] (stdClass: {\"code\":1,\"url\":\"https://docs.google.com/open?id=13N4dMaZhNFfU3HtvtdrbyqD7gG_yIAgg4y_La1OkYhg\",\"file_id\":\"13N4dMaZhNFfU3HtvtdrbyqD7gG_yIAgg4y_La1OkYhg\",\"error\":\"\",\"vars\":\"\"})"} {"uid":"f3c13d5"}
[2026-08-07 15:53:36] docflow.WARNING: AmoDrive generated-file move is not ready. {"fileId":"13N4dMaZhNFfU3HtvtdrbyqD7gG_yIAgg4y_La1OkYhg","context":null} {"uid":"f3c13d5"}
[2026-08-07 17:43:55] docflow.INFO: Apel createDoc {"data":{"amoAccountId":"22699852","amoUserId":null,"amoEntityId":"42481850","amoEntityType":"2","templateId":"11495","corporateEntityId":"","settlementAccountId":"","is_signed":null,"gdi":null,"number":null,"currentAmoUserId":null,"lang":"ru"}} {"uid":"6d77bc1"}
[2026-08-07 17:43:55] docflow.INFO: Token is valid for account 22699852. [] {"uid":"6d77bc1"}
[2026-08-07 17:43:55] docflow.DEBUG: getClientAuth returned {"auth":"[object] (stdClass: {\"domain\":\"emigrare.amocrm.ru\",\"access_token\":\"eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImp0aSI6ImMyNzMxNzA5YWNlYjQ3YTZiMjRjOWM4N2Y0ODZlYzY0MmViMGZlMzc0OTZlNjJiOTY5YjYwNzA5ODVmNzAyNDViMmU1OGNjMDc5ZGZjNGZmIn0.eyJhdWQiOiIwZDY0ZGZmYi1lNTRiLTQ0OGYtOWZiZi1iYWYyMjUxYTExZGIiLCJqdGkiOiJjMjczMTcwOWFjZWI0N2E2YjI0YzljODdmNDg2ZWM2NDJlYjBmZTM3NDk2ZTYyYjk2OWI2MDcwOTg1ZjcwMjQ1YjJlNThjYzA3OWRmYzRmZiIsImlhdCI6MTc4NjA4MzEwOCwibmJmIjoxNzg2MDgzMTA4LCJleHAiOjE3ODYxNjk1MDgsInN1YiI6IjI5MzAzODAiLCJncmFudF90eXBlIjoiIiwiYWNjb3VudF9pZCI6MjI2OTk4NTIsImJhc2VfZG9tYWluIjoiYW1vY3JtLnJ1IiwidmVyc2lvbiI6Miwic2NvcGVzIjpbInB1c2hfbm90aWZpY2F0aW9ucyIsImNybSIsIm5vdGlmaWNhdGlvbnMiXSwiaGFzaF91dWlkIjoiYWZiMjc1MmItYmEyMC00ODA5LWExYzItNGM2NTVhNzJjZmVkIiwiYXBpX2RvbWFpbiI6ImFwaS1hLmFtb2NybS5ydSJ9.NYT7VRx9Gk69Gf89Vi-Ye8qoEe6m4X2r6rt_ieHd7XcTlTvdfXxeoiDraoY0Kl_1wZsukjBQIHhosYjvCWDgz-mceKssDr3lrjutg4P3x1XLUBO2ChLA0E3faDA18p_Lza8FhLJkRyG0qxt8vAbgxRdrGDDyyWBRIljC6-Cb4YzJ198ovx01C9nglI8o4kqUEj8rPYeKgDIgvRqgpNEse0thuKswZpnw3c-lYv1PuaqguqoOx1qD6XbXMWevRQuzwQ9JkSNN7pE_U_8M8iIMIzcfxqG1A_TqsbfbZzCD5b9px0JPhNSxZCH3L3b9_B90D9MlYGe7miIYOd7Py_82rg\"})","file":"/home/ytvmclwh/document.amocrm.md/src/Models/Docs.php","line":121} {"uid":"6d77bc1"}
[2026-08-07 17:43:57] docflow.DEBUG: AmoDrive docflow context request {"url":"https://google.emale.uno/api/docflow/google-context","query":{"account_id":"22699852","entity_id":"42481850","entity_type":"leads"}} {"uid":"6d77bc1"}
[2026-08-07 17:43:57] docflow.WARNING: AmoDrive docflow context request failed {"url":"https://google.emale.uno/api/docflow/google-context","http_code":null,"error":"HTTP/2 400 ","response":"<!DOCTYPE HTML PUBLIC \"-//IETF//DTD HTML 2.0//EN\">\r\n<html>\r\n<head><title>400 Bad Request</title></head>\r\n<body>\r\n<center><h1>400 Bad Request</h1></center>\r\n Sorry for the inconvenience.<br/>\r\nPlease report this message and include the following information to us.<br/>\r\nThank you very much!</p>\r\n<table>\r\n<tr>\r\n<td>URL:</td>\r\n<td>https://gd.glucose-dev.online/api/docflow/google-context?account_id=22699852&amp;entity_id=42481850&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/08/07 17:43:58</td>\r\n</tr>\r\n</table>\r\n<hr><center>tengine</center>\r\n</body>\r\n</html>\r\n"} {"uid":"6d77bc1"}
[2026-08-07 17:43:57] docflow.DEBUG: AmoDrive docflow context request {"url":"https://gd.glucose-dev.online/api/docflow/google-context","query":{"account_id":"22699852","entity_id":"42481850","entity_type":"leads"}} {"uid":"6d77bc1"}
[2026-08-07 17:43:57] docflow.WARNING: AmoDrive docflow context response is not ready, trying next backend. {"url":"https://gd.glucose-dev.online/api/docflow/google-context","payload":{"ok":true,"accountId":22699852,"entityId":"42481850","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":378,"isLifetime":false},"licenseActive":false,"googleConnected":false,"googleEmail":null,"googleHasDriveScope":false,"googleHasDriveFileScope":false,"googleHasOwnershipScope":false,"readyForGeneratedFileMove":false,"readyForTransfer":false},"folder":null}} {"uid":"6d77bc1"}
[2026-08-07 17:43:57] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://google.emale.uno/api/docflow/prepare-generated-doc","payload":{"account_id":"22699852","entity_id":"42481850","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"6d77bc1"}
[2026-08-07 17:43: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/08/07 17:43:58</td>\r\n</tr>\r\n</table>\r\n<hr><center>tengine</center>\r\n</body>\r\n</html>\r\n","payload":{"account_id":"22699852","entity_id":"42481850","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"6d77bc1"}
[2026-08-07 17:43: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":"42481850","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"6d77bc1"}
[2026-08-07 17:43:58] docflow.WARNING: AmoDrive prepare-generated-doc request failed {"url":"https://gd.glucose-dev.online/api/docflow/prepare-generated-doc","http_code":null,"error":"HTTP/2 404 ","response":"[object] (stdClass: {\"ok\":false,\"error\":\"AmoDrive is not installed for this account.\",\"accountId\":22699852})","payload":{"account_id":"22699852","entity_id":"42481850","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"6d77bc1"}
[2026-08-07 17:43:58] 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) 353 20260807174357\",\"leadId\":\"42481850\",\"entities\":{\"\\u0441\\u0434\\u0435\\u043b\\u043a\\u0430\":{\"Suma \\u20ac\":\"0\",\"ID\":\"42481850\",\"\\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\":\"Untila Dorina\",\"Responsible\":\"Untila Dorina\"},\"lead\":{\"Suma \\u20ac\":\"0\",\"ID\":\"42481850\",\"\\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\":\"Untila Dorina\",\"Responsible\":\"Untila Dorina\"},\"\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442\":{\"WhatsappLid_WZ\":\"69746577936429\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"+380732959007\",\"\\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\",\"Contact_name\":\"\\u0410\\u043b\\u0435\\u043a\\u0441\\u0430\\u043d\\u0434\\u0440\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"Untila Dorina\",\"Responsible\":\"Untila Dorina\"},\"contact\":{\"WhatsappLid_WZ\":\"69746577936429\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"+380732959007\",\"\\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\",\"Contact_name\":\"\\u0410\\u043b\\u0435\\u043a\\u0441\\u0430\\u043d\\u0434\\u0440\",\"\\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\":[{\"WhatsappLid_WZ\":\"69746577936429\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"+380732959007\",\"\\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\",\"\\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\":\"07.08.2026\",\"\\u041d\\u043e\\u043c\\u0435\\u0440\":\"353\"},\"document\":{\"Date\":\"07.08.2026\",\"Number\":\"353\"}}}","edit":true}} {"uid":"6d77bc1"}
[2026-08-07 17:44:06] docflow.DEBUG: GAS raw response {"raw":"[object] (stdClass: {\"code\":1,\"url\":\"https://docs.google.com/open?id=1yr_Ch_TDf1EpnrVuVUZVf71rOxEIbMH4YuBlT7PIqbE\",\"file_id\":\"1yr_Ch_TDf1EpnrVuVUZVf71rOxEIbMH4YuBlT7PIqbE\",\"error\":\"\",\"vars\":\"\"})"} {"uid":"6d77bc1"}
[2026-08-07 17:44:06] docflow.WARNING: AmoDrive generated-file move is not ready. {"fileId":"1yr_Ch_TDf1EpnrVuVUZVf71rOxEIbMH4YuBlT7PIqbE","context":null} {"uid":"6d77bc1"}
[2026-08-07 17:46:51] docflow.INFO: Apel createDoc {"data":{"amoAccountId":"22699852","amoUserId":null,"amoEntityId":"42481850","amoEntityType":"2","templateId":"11512","corporateEntityId":"","settlementAccountId":"","is_signed":null,"gdi":null,"number":null,"currentAmoUserId":null,"lang":"ru"}} {"uid":"19d2c91"}
[2026-08-07 17:46:51] docflow.INFO: Token is valid for account 22699852. [] {"uid":"19d2c91"}
[2026-08-07 17:46:51] docflow.DEBUG: getClientAuth returned {"auth":"[object] (stdClass: {\"domain\":\"emigrare.amocrm.ru\",\"access_token\":\"eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImp0aSI6ImMyNzMxNzA5YWNlYjQ3YTZiMjRjOWM4N2Y0ODZlYzY0MmViMGZlMzc0OTZlNjJiOTY5YjYwNzA5ODVmNzAyNDViMmU1OGNjMDc5ZGZjNGZmIn0.eyJhdWQiOiIwZDY0ZGZmYi1lNTRiLTQ0OGYtOWZiZi1iYWYyMjUxYTExZGIiLCJqdGkiOiJjMjczMTcwOWFjZWI0N2E2YjI0YzljODdmNDg2ZWM2NDJlYjBmZTM3NDk2ZTYyYjk2OWI2MDcwOTg1ZjcwMjQ1YjJlNThjYzA3OWRmYzRmZiIsImlhdCI6MTc4NjA4MzEwOCwibmJmIjoxNzg2MDgzMTA4LCJleHAiOjE3ODYxNjk1MDgsInN1YiI6IjI5MzAzODAiLCJncmFudF90eXBlIjoiIiwiYWNjb3VudF9pZCI6MjI2OTk4NTIsImJhc2VfZG9tYWluIjoiYW1vY3JtLnJ1IiwidmVyc2lvbiI6Miwic2NvcGVzIjpbInB1c2hfbm90aWZpY2F0aW9ucyIsImNybSIsIm5vdGlmaWNhdGlvbnMiXSwiaGFzaF91dWlkIjoiYWZiMjc1MmItYmEyMC00ODA5LWExYzItNGM2NTVhNzJjZmVkIiwiYXBpX2RvbWFpbiI6ImFwaS1hLmFtb2NybS5ydSJ9.NYT7VRx9Gk69Gf89Vi-Ye8qoEe6m4X2r6rt_ieHd7XcTlTvdfXxeoiDraoY0Kl_1wZsukjBQIHhosYjvCWDgz-mceKssDr3lrjutg4P3x1XLUBO2ChLA0E3faDA18p_Lza8FhLJkRyG0qxt8vAbgxRdrGDDyyWBRIljC6-Cb4YzJ198ovx01C9nglI8o4kqUEj8rPYeKgDIgvRqgpNEse0thuKswZpnw3c-lYv1PuaqguqoOx1qD6XbXMWevRQuzwQ9JkSNN7pE_U_8M8iIMIzcfxqG1A_TqsbfbZzCD5b9px0JPhNSxZCH3L3b9_B90D9MlYGe7miIYOd7Py_82rg\"})","file":"/home/ytvmclwh/document.amocrm.md/src/Models/Docs.php","line":121} {"uid":"19d2c91"}
[2026-08-07 17:46:53] docflow.DEBUG: AmoDrive docflow context request {"url":"https://google.emale.uno/api/docflow/google-context","query":{"account_id":"22699852","entity_id":"42481850","entity_type":"leads"}} {"uid":"19d2c91"}
[2026-08-07 17:46:53] docflow.WARNING: AmoDrive docflow context request failed {"url":"https://google.emale.uno/api/docflow/google-context","http_code":null,"error":"HTTP/2 400 ","response":"<!DOCTYPE HTML PUBLIC \"-//IETF//DTD HTML 2.0//EN\">\r\n<html>\r\n<head><title>400 Bad Request</title></head>\r\n<body>\r\n<center><h1>400 Bad Request</h1></center>\r\n Sorry for the inconvenience.<br/>\r\nPlease report this message and include the following information to us.<br/>\r\nThank you very much!</p>\r\n<table>\r\n<tr>\r\n<td>URL:</td>\r\n<td>https://gd.glucose-dev.online/api/docflow/google-context?account_id=22699852&amp;entity_id=42481850&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/08/07 17:46:53</td>\r\n</tr>\r\n</table>\r\n<hr><center>tengine</center>\r\n</body>\r\n</html>\r\n"} {"uid":"19d2c91"}
[2026-08-07 17:46:53] docflow.DEBUG: AmoDrive docflow context request {"url":"https://gd.glucose-dev.online/api/docflow/google-context","query":{"account_id":"22699852","entity_id":"42481850","entity_type":"leads"}} {"uid":"19d2c91"}
[2026-08-07 17:46:53] docflow.WARNING: AmoDrive docflow context response is not ready, trying next backend. {"url":"https://gd.glucose-dev.online/api/docflow/google-context","payload":{"ok":true,"accountId":22699852,"entityId":"42481850","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":378,"isLifetime":false},"licenseActive":false,"googleConnected":false,"googleEmail":null,"googleHasDriveScope":false,"googleHasDriveFileScope":false,"googleHasOwnershipScope":false,"readyForGeneratedFileMove":false,"readyForTransfer":false},"folder":null}} {"uid":"19d2c91"}
[2026-08-07 17:46:53] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://google.emale.uno/api/docflow/prepare-generated-doc","payload":{"account_id":"22699852","entity_id":"42481850","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"19d2c91"}
[2026-08-07 17:46:53] docflow.WARNING: AmoDrive prepare-generated-doc request failed {"url":"https://google.emale.uno/api/docflow/prepare-generated-doc","http_code":null,"error":"HTTP/2 400 ","response":"<!DOCTYPE HTML PUBLIC \"-//IETF//DTD HTML 2.0//EN\">\r\n<html>\r\n<head><title>400 Bad Request</title></head>\r\n<body>\r\n<center><h1>400 Bad Request</h1></center>\r\n Sorry for the inconvenience.<br/>\r\nPlease report this message and include the following information to us.<br/>\r\nThank you very much!</p>\r\n<table>\r\n<tr>\r\n<td>URL:</td>\r\n<td>https://gd.glucose-dev.online/api/docflow/prepare-generated-doc</td>\r\n</tr>\r\n<tr>\r\n<td>Server:</td>\r\n<td>mail.glucose-dev.online</td>\r\n</tr>\r\n<tr>\r\n<td>Date:</td>\r\n<td>2026/08/07 17:46:53</td>\r\n</tr>\r\n</table>\r\n<hr><center>tengine</center>\r\n</body>\r\n</html>\r\n","payload":{"account_id":"22699852","entity_id":"42481850","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"19d2c91"}
[2026-08-07 17:46:53] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://gd.glucose-dev.online/api/docflow/prepare-generated-doc","payload":{"account_id":"22699852","entity_id":"42481850","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"19d2c91"}
[2026-08-07 17:46:53] docflow.WARNING: AmoDrive prepare-generated-doc request failed {"url":"https://gd.glucose-dev.online/api/docflow/prepare-generated-doc","http_code":null,"error":"HTTP/2 404 ","response":"[object] (stdClass: {\"ok\":false,\"error\":\"AmoDrive is not installed for this account.\",\"accountId\":22699852})","payload":{"account_id":"22699852","entity_id":"42481850","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"19d2c91"}
[2026-08-07 17:46:53] docflow.DEBUG: GAS request {"url":"https://script.google.com/macros/s/AKfycbwrvOJD46zkuoTzdhpc1kulhV8jRfgQBFZfQ121nkIip_k8yKit4xrbWTOzaJ-C-Yed6w/exec","body":{"templateFileId":"1lw0x40QgTScLC9q0Y4Biue0UwWdt_ZAMqJIt_RZ-DQ8","accountId":"22699852","folderId":"1Us2AfskxgdA729xVr0F2vjZU9y5PlYDe","key":"~VTsK5dcnHc2cSSsjM$LFSjLlgbmJXwrp3R2P5nd","data":"{\"fileName\":\"\\u0421\\u0447\\u0435\\u0442 \\u043d\\u0430 \\u043e\\u043f\\u043b\\u0430\\u0442\\u0443 EMG (EUR\\/USD\\/MDL) 226 20260807174653\",\"leadId\":\"42481850\",\"entities\":{\"\\u0441\\u0434\\u0435\\u043b\\u043a\\u0430\":{\"Suma \\u20ac\":\"0\",\"ID\":\"42481850\",\"\\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\":\"Untila Dorina\",\"Responsible\":\"Untila Dorina\"},\"lead\":{\"Suma \\u20ac\":\"0\",\"ID\":\"42481850\",\"\\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\":\"Untila Dorina\",\"Responsible\":\"Untila Dorina\"},\"\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442\":{\"WhatsappLid_WZ\":\"69746577936429\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"+380732959007\",\"\\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\",\"Contact_name\":\"\\u0410\\u043b\\u0435\\u043a\\u0441\\u0430\\u043d\\u0434\\u0440\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"Untila Dorina\",\"Responsible\":\"Untila Dorina\"},\"contact\":{\"WhatsappLid_WZ\":\"69746577936429\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"+380732959007\",\"\\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\",\"Contact_name\":\"\\u0410\\u043b\\u0435\\u043a\\u0441\\u0430\\u043d\\u0434\\u0440\",\"\\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\":[{\"WhatsappLid_WZ\":\"69746577936429\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"+380732959007\",\"\\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\",\"\\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\":\"07.08.2026\",\"\\u041d\\u043e\\u043c\\u0435\\u0440\":\"226\"},\"document\":{\"Date\":\"07.08.2026\",\"Number\":\"226\"}}}","edit":true}} {"uid":"19d2c91"}
[2026-08-07 17:47:01] docflow.DEBUG: GAS raw response {"raw":"[object] (stdClass: {\"code\":1,\"url\":\"https://docs.google.com/open?id=1KTHU6agdSoCmOTe7mZ2djKnA_gbKGa2Hr4oLcedpUd8\",\"file_id\":\"1KTHU6agdSoCmOTe7mZ2djKnA_gbKGa2Hr4oLcedpUd8\",\"error\":\"\",\"vars\":\"\"})"} {"uid":"19d2c91"}
[2026-08-07 17:47:01] docflow.WARNING: AmoDrive generated-file move is not ready. {"fileId":"1KTHU6agdSoCmOTe7mZ2djKnA_gbKGa2Hr4oLcedpUd8","context":null} {"uid":"19d2c91"}
