[2026-06-12 08:06:42] docflow.INFO: Apel createDoc {"data":{"amoAccountId":"32990686","amoUserId":null,"amoEntityId":"40277865","amoEntityType":"2","templateId":"11625","corporateEntityId":"","settlementAccountId":"","is_signed":null,"gdi":null,"number":null,"currentAmoUserId":null,"lang":"ru"}} {"uid":"9b9febb"}
[2026-06-12 08:06:43] docflow.INFO: Token is valid for account 32990686. [] {"uid":"9b9febb"}
[2026-06-12 08:06:43] docflow.DEBUG: getClientAuth returned {"auth":"[object] (stdClass: {\"domain\":\"eurosanteh.amocrm.ru\",\"access_token\":\"eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImp0aSI6ImQ3ODJjZTM5ZDFlMTk4ZTAyMzNjYjgzZDk0MGRkMGVjZmE4NTg1OTUwYmQ3MjVhOWQ2ZGQ5YTJlNDY1OWVhYzg3MDY5NTliYzEyMDQwMjZkIn0.eyJhdWQiOiIwZDY0ZGZmYi1lNTRiLTQ0OGYtOWZiZi1iYWYyMjUxYTExZGIiLCJqdGkiOiJkNzgyY2UzOWQxZTE5OGUwMjMzY2I4M2Q5NDBkZDBlY2ZhODU4NTk1MGJkNzI1YTlkNmRkOWEyZTQ2NTllYWM4NzA2OTU5YmMxMjA0MDI2ZCIsImlhdCI6MTc4MTE1NTc3OSwibmJmIjoxNzgxMTU1Nzc5LCJleHAiOjE3ODEyNDIxNzksInN1YiI6IjEzNjg3MzAyIiwiZ3JhbnRfdHlwZSI6IiIsImFjY291bnRfaWQiOjMyOTkwNjg2LCJiYXNlX2RvbWFpbiI6ImFtb2NybS5ydSIsInZlcnNpb24iOjIsInNjb3BlcyI6WyJwdXNoX25vdGlmaWNhdGlvbnMiLCJjcm0iLCJub3RpZmljYXRpb25zIl0sImhhc2hfdXVpZCI6ImE3Zjg2MTIzLWI5MTEtNDA0OC1iMTg4LTkzYjJlYTAyMTFmZCIsImFwaV9kb21haW4iOiJhcGktYi5hbW9jcm0ucnUifQ.ZPUTjuN9yQtrs7KIwlx70oV_9ZxNTCbNTSs4TbQcr-TUnNo_URIGXgS_BHC_apsJ1wnBdRHyRnMo73nVY3JWlo1nhDQWAsMLBe36lyUJQCGGKxhV5x29txYdCsOIFwiUY8sW5Rxa57ijNAH3Rm9dIF5C2cFNXs5CwtM--nLshLf9CI5tBGzJw0YbKCihAjWSgLZFWZOeSK6R5gkKznLZZPqis5D3hpjxJWcisjhfRiWDLgtiztOaaQhwqNBgFqkpi3xfs0k1N8h_LiZaJI5wockULzYls_kPNxH4O_SpWmrCgGoe9wtr9FQ-t_PxL8A3hA5o7lQbUndwI65cHjI1hA\"})","file":"/home/ytvmclwh/document.amocrm.md/src/Models/Docs.php","line":121} {"uid":"9b9febb"}
[2026-06-12 08:06:45] docflow.DEBUG: AmoDrive docflow context request {"url":"https://google.emale.uno/api/docflow/google-context","query":{"account_id":"32990686","entity_id":"40277865","entity_type":"leads"}} {"uid":"9b9febb"}
[2026-06-12 08:06:45] docflow.WARNING: AmoDrive docflow context request failed {"url":"https://google.emale.uno/api/docflow/google-context","http_code":null,"error":"HTTP/2 400 ","response":"<!DOCTYPE HTML PUBLIC \"-//IETF//DTD HTML 2.0//EN\">\r\n<html>\r\n<head><title>400 Bad Request</title></head>\r\n<body>\r\n<center><h1>400 Bad Request</h1></center>\r\n Sorry for the inconvenience.<br/>\r\nPlease report this message and include the following information to us.<br/>\r\nThank you very much!</p>\r\n<table>\r\n<tr>\r\n<td>URL:</td>\r\n<td>https://gd.glucose-dev.online/api/docflow/google-context?account_id=32990686&amp;entity_id=40277865&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/06/12 08:06:46</td>\r\n</tr>\r\n</table>\r\n<hr><center>tengine</center>\r\n</body>\r\n</html>\r\n"} {"uid":"9b9febb"}
[2026-06-12 08:06:45] docflow.DEBUG: AmoDrive docflow context request {"url":"https://gd.glucose-dev.online/api/docflow/google-context","query":{"account_id":"32990686","entity_id":"40277865","entity_type":"leads"}} {"uid":"9b9febb"}
[2026-06-12 08:06:45] docflow.WARNING: AmoDrive docflow context response is not ready, trying next backend. {"url":"https://gd.glucose-dev.online/api/docflow/google-context","payload":{"ok":true,"accountId":32990686,"entityId":"40277865","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":"9b9febb"}
[2026-06-12 08:06:45] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://google.emale.uno/api/docflow/prepare-generated-doc","payload":{"account_id":"32990686","entity_id":"40277865","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"9b9febb"}
[2026-06-12 08:06:45] docflow.WARNING: AmoDrive prepare-generated-doc request failed {"url":"https://google.emale.uno/api/docflow/prepare-generated-doc","http_code":null,"error":"HTTP/2 400 ","response":"<!DOCTYPE HTML PUBLIC \"-//IETF//DTD HTML 2.0//EN\">\r\n<html>\r\n<head><title>400 Bad Request</title></head>\r\n<body>\r\n<center><h1>400 Bad Request</h1></center>\r\n Sorry for the inconvenience.<br/>\r\nPlease report this message and include the following information to us.<br/>\r\nThank you very much!</p>\r\n<table>\r\n<tr>\r\n<td>URL:</td>\r\n<td>https://gd.glucose-dev.online/api/docflow/prepare-generated-doc</td>\r\n</tr>\r\n<tr>\r\n<td>Server:</td>\r\n<td>mail.glucose-dev.online</td>\r\n</tr>\r\n<tr>\r\n<td>Date:</td>\r\n<td>2026/06/12 08:06:46</td>\r\n</tr>\r\n</table>\r\n<hr><center>tengine</center>\r\n</body>\r\n</html>\r\n","payload":{"account_id":"32990686","entity_id":"40277865","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"9b9febb"}
[2026-06-12 08:06:45] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://gd.glucose-dev.online/api/docflow/prepare-generated-doc","payload":{"account_id":"32990686","entity_id":"40277865","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"9b9febb"}
[2026-06-12 08:06:45] docflow.WARNING: AmoDrive prepare-generated-doc request failed {"url":"https://gd.glucose-dev.online/api/docflow/prepare-generated-doc","http_code":null,"error":"HTTP/2 404 ","response":"[object] (stdClass: {\"ok\":false,\"error\":\"AmoDrive is not installed for this account.\",\"accountId\":32990686})","payload":{"account_id":"32990686","entity_id":"40277865","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"9b9febb"}
[2026-06-12 08:06:45] docflow.DEBUG: GAS request {"url":"https://script.google.com/macros/s/AKfycbwrvOJD46zkuoTzdhpc1kulhV8jRfgQBFZfQ121nkIip_k8yKit4xrbWTOzaJ-C-Yed6w/exec","body":{"templateFileId":"1AjK4khA9mRlFDVy4RXRqHAg2GTFWJYC-Gac1Mx3OLnA","accountId":"32990686","folderId":"1Us2AfskxgdA729xVr0F2vjZU9y5PlYDe","key":"~VTsK5dcnHc2cSSsjM$LFSjLlgbmJXwrp3R2P5nd","data":"{\"fileName\":\"ALL FOR ALL \\u041d\\u0430\\u0440\\u044f\\u0434 \\u043d\\u0430 \\u0432\\u044b\\u043f\\u043e\\u043b\\u043d\\u0435\\u043d\\u0438\\u0435 \\u0440\\u0430\\u0431\\u043e\\u0442 176 20260612080645\",\"leadId\":\"40277865\",\"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.06.2027\",\"\\u041d\\u043e\\u043c\\u0435\\u0440 \\u043a\\u043e\\u043d\\u0442\\u0440\\u0430\\u043a\\u0442\\u0430\":\"B2510\",\"\\u0414\\u0430\\u0442\\u0430 \\u043c\\u043e\\u043d\\u0442\\u0430\\u0436\\u0430 (\\u0411\\u0414)\":\"09.06.2025\",\"\\u041d\\u0430\\u0437\\u0432\\u0430\\u043d\\u0438\\u0435 \\u0442\\u043e\\u0432\\u0430\\u0440\\u0430 (\\u0411\\u0414)\":\"MUZ HR 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\\u043e\\u0442\\u043d\\u0430\\u0440\\u044e\\u043a \\u0412.\",\"\\u0414\\u0435\\u043d\\u044c \\u043d\\u0435\\u0434\\u0435\\u043b\\u0438\":\"\\u041f\\u044f\\u0442\\u043d\\u0438\\u0446\\u0430\",\"\\u0414\\u0430\\u0442\\u0430 \\u0438 \\u0432\\u0440\\u0435\\u043c\\u044f \\u0432\\u0438\\u0437\\u0438\\u0442\\u0430\":\"2026-06-12 08:06:00\",\"\\u0414\\u0430\\u0442\\u0430 \\u0432\\u0438\\u0437\\u0438\\u0442\\u0430\":\"12.06.2026\",\"ID\":\"40277865\",\"\\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.06.2027\",\"\\u041d\\u043e\\u043c\\u0435\\u0440 \\u043a\\u043e\\u043d\\u0442\\u0440\\u0430\\u043a\\u0442\\u0430\":\"B2510\",\"\\u0414\\u0430\\u0442\\u0430 \\u043c\\u043e\\u043d\\u0442\\u0430\\u0436\\u0430 (\\u0411\\u0414)\":\"09.06.2025\",\"\\u041d\\u0430\\u0437\\u0432\\u0430\\u043d\\u0438\\u0435 \\u0442\\u043e\\u0432\\u0430\\u0440\\u0430 (\\u0411\\u0414)\":\"MUZ HR 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\\u043e\\u0442\\u043d\\u0430\\u0440\\u044e\\u043a \\u0412.\",\"\\u0414\\u0435\\u043d\\u044c \\u043d\\u0435\\u0434\\u0435\\u043b\\u0438\":\"\\u041f\\u044f\\u0442\\u043d\\u0438\\u0446\\u0430\",\"\\u0414\\u0430\\u0442\\u0430 \\u0438 \\u0432\\u0440\\u0435\\u043c\\u044f \\u0432\\u0438\\u0437\\u0438\\u0442\\u0430\":\"2026-06-12 08:06:00\",\"\\u0414\\u0430\\u0442\\u0430 \\u0432\\u0438\\u0437\\u0438\\u0442\\u0430\":\"12.06.2026\",\"ID\":\"40277865\",\"\\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\":\"2004042151430\",\"\\u0410\\u0434\\u0440\\u0435\\u0441\":\"Chisinau, str. Drumul Viilor 42\\/3\",\"\\u041f\\u043e\\u0432\\u0442\\u043e\\u0440\\u043d\\u044b\\u0439 \\u043a\\u043b\\u0438\\u0435\\u043d\\u0442?\":\"\\u0414\\u0430\",\"\\u0414\\u0430\\u0442\\u0430 \\u043c\\u043e\\u043d\\u0442\\u0430\\u0436\\u0430 (\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442)\":\"09.06.2025\",\"\\u0422\\u0438\\u043f \\u0438 \\u043c\\u043e\\u0434\\u0435\\u043b\\u044c \\u043e\\u0431\\u043e\\u0440\\u0443\\u0434\\u043e\\u0432\\u0430\\u043d\\u0438\\u044f (\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442)\":\"MUZ HR 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)\":\"B2510\",\"\\u0418\\u043c\\u044f \\u043a\\u043b\\u0438\\u0435\\u043d\\u0442\\u0430 (\\u0421\\u041c\\u0421)\":\"Igor\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"069926326\",\"\\u0422\\u0438\\u043f \\u043a\\u043b\\u0438\\u0435\\u043d\\u0442\\u0430\":\"\\u0424\\u0438\\u0437.\\u043b\\u0438\\u0446\",\"\\u0420\\u0430\\u0439\\u043e\\u043d\":\"\\u0426\\u0435\\u043d\\u0442\\u0440\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Igor Deinechin\",\"Contact_name\":\"Igor Deinechin\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"\\u0410\\u0441\\u0442\\u0430\\u043f\\u0435\\u043d\\u043a\\u043e\\u0432\\u0430 \\u042e\\u043b\\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\":\"2004042151430\",\"\\u0410\\u0434\\u0440\\u0435\\u0441\":\"Chisinau, str. Drumul Viilor 42\\/3\",\"\\u041f\\u043e\\u0432\\u0442\\u043e\\u0440\\u043d\\u044b\\u0439 \\u043a\\u043b\\u0438\\u0435\\u043d\\u0442?\":\"\\u0414\\u0430\",\"\\u0414\\u0430\\u0442\\u0430 \\u043c\\u043e\\u043d\\u0442\\u0430\\u0436\\u0430 (\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442)\":\"09.06.2025\",\"\\u0422\\u0438\\u043f \\u0438 \\u043c\\u043e\\u0434\\u0435\\u043b\\u044c \\u043e\\u0431\\u043e\\u0440\\u0443\\u0434\\u043e\\u0432\\u0430\\u043d\\u0438\\u044f (\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442)\":\"MUZ HR 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)\":\"B2510\",\"\\u0418\\u043c\\u044f \\u043a\\u043b\\u0438\\u0435\\u043d\\u0442\\u0430 (\\u0421\\u041c\\u0421)\":\"Igor\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"069926326\",\"\\u0422\\u0438\\u043f \\u043a\\u043b\\u0438\\u0435\\u043d\\u0442\\u0430\":\"\\u0424\\u0438\\u0437.\\u043b\\u0438\\u0446\",\"\\u0420\\u0430\\u0439\\u043e\\u043d\":\"\\u0426\\u0435\\u043d\\u0442\\u0440\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Igor Deinechin\",\"Contact_name\":\"Igor Deinechin\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"\\u0410\\u0441\\u0442\\u0430\\u043f\\u0435\\u043d\\u043a\\u043e\\u0432\\u0430 \\u042e\\u043b\\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\":\"2004042151430\",\"\\u0410\\u0434\\u0440\\u0435\\u0441\":\"Chisinau, str. Drumul Viilor 42\\/3\",\"\\u041f\\u043e\\u0432\\u0442\\u043e\\u0440\\u043d\\u044b\\u0439 \\u043a\\u043b\\u0438\\u0435\\u043d\\u0442?\":\"\\u0414\\u0430\",\"\\u0414\\u0430\\u0442\\u0430 \\u043c\\u043e\\u043d\\u0442\\u0430\\u0436\\u0430 (\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442)\":\"09.06.2025\",\"\\u0422\\u0438\\u043f \\u0438 \\u043c\\u043e\\u0434\\u0435\\u043b\\u044c \\u043e\\u0431\\u043e\\u0440\\u0443\\u0434\\u043e\\u0432\\u0430\\u043d\\u0438\\u044f (\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442)\":\"MUZ HR 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)\":\"B2510\",\"\\u0418\\u043c\\u044f \\u043a\\u043b\\u0438\\u0435\\u043d\\u0442\\u0430 (\\u0421\\u041c\\u0421)\":\"Igor\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"069926326\",\"\\u0422\\u0438\\u043f \\u043a\\u043b\\u0438\\u0435\\u043d\\u0442\\u0430\":\"\\u0424\\u0438\\u0437.\\u043b\\u0438\\u0446\",\"\\u0420\\u0430\\u0439\\u043e\\u043d\":\"\\u0426\\u0435\\u043d\\u0442\\u0440\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Igor Deinechin\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\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\":\"12.06.2026\",\"\\u041d\\u043e\\u043c\\u0435\\u0440\":\"176\"},\"document\":{\"Date\":\"12.06.2026\",\"Number\":\"176\"}}}","edit":true}} {"uid":"9b9febb"}
[2026-06-12 08:06:52] docflow.DEBUG: GAS raw response {"raw":"[object] (stdClass: {\"code\":1,\"url\":\"https://docs.google.com/open?id=1zg4dIRi-jRNYrfEwEa6AWAEkgnsa_P8hfFqpadI5Nz4\",\"file_id\":\"1zg4dIRi-jRNYrfEwEa6AWAEkgnsa_P8hfFqpadI5Nz4\",\"error\":\"\",\"vars\":\"\"})"} {"uid":"9b9febb"}
[2026-06-12 08:06:52] docflow.WARNING: AmoDrive generated-file move is not ready. {"fileId":"1zg4dIRi-jRNYrfEwEa6AWAEkgnsa_P8hfFqpadI5Nz4","context":null} {"uid":"9b9febb"}
[2026-06-12 08:18:30] docflow.INFO: Apel createDoc {"data":{"amoAccountId":"32990686","amoUserId":null,"amoEntityId":"44227923","amoEntityType":"2","templateId":"11625","corporateEntityId":"","settlementAccountId":"","is_signed":null,"gdi":null,"number":null,"currentAmoUserId":null,"lang":"ru"}} {"uid":"7b56ab3"}
[2026-06-12 08:18:30] docflow.INFO: Token is valid for account 32990686. [] {"uid":"7b56ab3"}
[2026-06-12 08:18:30] docflow.DEBUG: getClientAuth returned {"auth":"[object] (stdClass: {\"domain\":\"eurosanteh.amocrm.ru\",\"access_token\":\"eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImp0aSI6ImQ3ODJjZTM5ZDFlMTk4ZTAyMzNjYjgzZDk0MGRkMGVjZmE4NTg1OTUwYmQ3MjVhOWQ2ZGQ5YTJlNDY1OWVhYzg3MDY5NTliYzEyMDQwMjZkIn0.eyJhdWQiOiIwZDY0ZGZmYi1lNTRiLTQ0OGYtOWZiZi1iYWYyMjUxYTExZGIiLCJqdGkiOiJkNzgyY2UzOWQxZTE5OGUwMjMzY2I4M2Q5NDBkZDBlY2ZhODU4NTk1MGJkNzI1YTlkNmRkOWEyZTQ2NTllYWM4NzA2OTU5YmMxMjA0MDI2ZCIsImlhdCI6MTc4MTE1NTc3OSwibmJmIjoxNzgxMTU1Nzc5LCJleHAiOjE3ODEyNDIxNzksInN1YiI6IjEzNjg3MzAyIiwiZ3JhbnRfdHlwZSI6IiIsImFjY291bnRfaWQiOjMyOTkwNjg2LCJiYXNlX2RvbWFpbiI6ImFtb2NybS5ydSIsInZlcnNpb24iOjIsInNjb3BlcyI6WyJwdXNoX25vdGlmaWNhdGlvbnMiLCJjcm0iLCJub3RpZmljYXRpb25zIl0sImhhc2hfdXVpZCI6ImE3Zjg2MTIzLWI5MTEtNDA0OC1iMTg4LTkzYjJlYTAyMTFmZCIsImFwaV9kb21haW4iOiJhcGktYi5hbW9jcm0ucnUifQ.ZPUTjuN9yQtrs7KIwlx70oV_9ZxNTCbNTSs4TbQcr-TUnNo_URIGXgS_BHC_apsJ1wnBdRHyRnMo73nVY3JWlo1nhDQWAsMLBe36lyUJQCGGKxhV5x29txYdCsOIFwiUY8sW5Rxa57ijNAH3Rm9dIF5C2cFNXs5CwtM--nLshLf9CI5tBGzJw0YbKCihAjWSgLZFWZOeSK6R5gkKznLZZPqis5D3hpjxJWcisjhfRiWDLgtiztOaaQhwqNBgFqkpi3xfs0k1N8h_LiZaJI5wockULzYls_kPNxH4O_SpWmrCgGoe9wtr9FQ-t_PxL8A3hA5o7lQbUndwI65cHjI1hA\"})","file":"/home/ytvmclwh/document.amocrm.md/src/Models/Docs.php","line":121} {"uid":"7b56ab3"}
[2026-06-12 08:18:32] docflow.DEBUG: AmoDrive docflow context request {"url":"https://google.emale.uno/api/docflow/google-context","query":{"account_id":"32990686","entity_id":"44227923","entity_type":"leads"}} {"uid":"7b56ab3"}
[2026-06-12 08:18: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=44227923&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/06/12 08:18:33</td>\r\n</tr>\r\n</table>\r\n<hr><center>tengine</center>\r\n</body>\r\n</html>\r\n"} {"uid":"7b56ab3"}
[2026-06-12 08:18:32] docflow.DEBUG: AmoDrive docflow context request {"url":"https://gd.glucose-dev.online/api/docflow/google-context","query":{"account_id":"32990686","entity_id":"44227923","entity_type":"leads"}} {"uid":"7b56ab3"}
[2026-06-12 08:18: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":"44227923","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":"7b56ab3"}
[2026-06-12 08:18:32] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://google.emale.uno/api/docflow/prepare-generated-doc","payload":{"account_id":"32990686","entity_id":"44227923","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"7b56ab3"}
[2026-06-12 08:18: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/06/12 08:18: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":"44227923","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"7b56ab3"}
[2026-06-12 08:18: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":"44227923","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"7b56ab3"}
[2026-06-12 08:18: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":"44227923","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"7b56ab3"}
[2026-06-12 08:18: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 177 20260612081832\",\"leadId\":\"44227923\",\"entities\":{\"\\u0441\\u0434\\u0435\\u043b\\u043a\\u0430\":{\"\\u0414\\u0430\\u0442\\u0430 \\u0438 \\u0432\\u0440\\u0435\\u043c\\u044f \\u0432\\u0438\\u0437\\u0438\\u0442\\u0430\":\"2026-06-12 08:17:00\",\"\\u0414\\u0430\\u0442\\u0430 \\u0432\\u0438\\u0437\\u0438\\u0442\\u0430\":\"12.06.2026\",\"\\u0421\\u043b\\u0435\\u0434\\u0443\\u044e\\u0449\\u0430\\u044f \\u0434\\u0430\\u0442\\u0430 \\u0441\\u0435\\u0440\\u0432\\u0438\\u0441\\u0430\":\"12.06.2026\",\"\\u041c\\u043e\\u0434\\u0435\\u043b\\u044c \\u043e\\u0431\\u043e\\u0440\\u0443\\u0434\\u043e\\u0432\\u0430\\u043d\\u0438\\u044f 1\":\"!\",\"ID\":\"44227923\",\"\\u0421\\u0434\\u0435\\u043b\\u043a\\u0430_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"\\u0421\\u0434\\u0435\\u043b\\u043a\\u0430 069327097\",\"Lead_name\":\"\\u0421\\u0434\\u0435\\u043b\\u043a\\u0430 069327097\",\"\\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-06-12 08:17:00\",\"\\u0414\\u0430\\u0442\\u0430 \\u0432\\u0438\\u0437\\u0438\\u0442\\u0430\":\"12.06.2026\",\"\\u0421\\u043b\\u0435\\u0434\\u0443\\u044e\\u0449\\u0430\\u044f \\u0434\\u0430\\u0442\\u0430 \\u0441\\u0435\\u0440\\u0432\\u0438\\u0441\\u0430\":\"12.06.2026\",\"\\u041c\\u043e\\u0434\\u0435\\u043b\\u044c \\u043e\\u0431\\u043e\\u0440\\u0443\\u0434\\u043e\\u0432\\u0430\\u043d\\u0438\\u044f 1\":\"!\",\"ID\":\"44227923\",\"\\u0421\\u0434\\u0435\\u043b\\u043a\\u0430_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"\\u0421\\u0434\\u0435\\u043b\\u043a\\u0430 069327097\",\"Lead_name\":\"\\u0421\\u0434\\u0435\\u043b\\u043a\\u0430 069327097\",\"\\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\":\"981407217537\",\"\\u0410\\u0434\\u0440\\u0435\\u0441\":\"str. Hristo Botev 19\\/2,ap.52, et.3\",\"\\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)\":\"A2995\",\"\\u0422\\u0438\\u043f \\u0438 \\u043c\\u043e\\u0434\\u0435\\u043b\\u044c \\u043e\\u0431\\u043e\\u0440\\u0443\\u0434\\u043e\\u0432\\u0430\\u043d\\u0438\\u044f (\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442)\":\"Haier pearl 35\",\"\\u0418\\u043c\\u044f \\u043a\\u043b\\u0438\\u0435\\u043d\\u0442\\u0430 (\\u0421\\u041c\\u0421)\":\"Diana\",\"\\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\",\"\\u0420\\u0430\\u0439\\u043e\\u043d\":\"\\u0411\\u043e\\u0442\\u0430\\u043d\\u0438\\u043a\\u0430\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"069327097\",\"\\u0422\\u0438\\u043f \\u043a\\u043b\\u0438\\u0435\\u043d\\u0442\\u0430\":\"\\u0424\\u0438\\u0437.\\u043b\\u0438\\u0446\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Diana Vartic\",\"Contact_name\":\"Diana Vartic\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"\\u0410\\u0441\\u0442\\u0430\\u043f\\u0435\\u043d\\u043a\\u043e\\u0432\\u0430 \\u042e\\u043b\\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\":\"981407217537\",\"\\u0410\\u0434\\u0440\\u0435\\u0441\":\"str. Hristo Botev 19\\/2,ap.52, et.3\",\"\\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)\":\"A2995\",\"\\u0422\\u0438\\u043f \\u0438 \\u043c\\u043e\\u0434\\u0435\\u043b\\u044c \\u043e\\u0431\\u043e\\u0440\\u0443\\u0434\\u043e\\u0432\\u0430\\u043d\\u0438\\u044f (\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442)\":\"Haier pearl 35\",\"\\u0418\\u043c\\u044f \\u043a\\u043b\\u0438\\u0435\\u043d\\u0442\\u0430 (\\u0421\\u041c\\u0421)\":\"Diana\",\"\\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\",\"\\u0420\\u0430\\u0439\\u043e\\u043d\":\"\\u0411\\u043e\\u0442\\u0430\\u043d\\u0438\\u043a\\u0430\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"069327097\",\"\\u0422\\u0438\\u043f \\u043a\\u043b\\u0438\\u0435\\u043d\\u0442\\u0430\":\"\\u0424\\u0438\\u0437.\\u043b\\u0438\\u0446\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Diana Vartic\",\"Contact_name\":\"Diana Vartic\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"\\u0410\\u0441\\u0442\\u0430\\u043f\\u0435\\u043d\\u043a\\u043e\\u0432\\u0430 \\u042e\\u043b\\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\":\"981407217537\",\"\\u0410\\u0434\\u0440\\u0435\\u0441\":\"str. Hristo Botev 19\\/2,ap.52, et.3\",\"\\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)\":\"A2995\",\"\\u0422\\u0438\\u043f \\u0438 \\u043c\\u043e\\u0434\\u0435\\u043b\\u044c \\u043e\\u0431\\u043e\\u0440\\u0443\\u0434\\u043e\\u0432\\u0430\\u043d\\u0438\\u044f (\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442)\":\"Haier pearl 35\",\"\\u0418\\u043c\\u044f \\u043a\\u043b\\u0438\\u0435\\u043d\\u0442\\u0430 (\\u0421\\u041c\\u0421)\":\"Diana\",\"\\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\",\"\\u0420\\u0430\\u0439\\u043e\\u043d\":\"\\u0411\\u043e\\u0442\\u0430\\u043d\\u0438\\u043a\\u0430\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"069327097\",\"\\u0422\\u0438\\u043f \\u043a\\u043b\\u0438\\u0435\\u043d\\u0442\\u0430\":\"\\u0424\\u0438\\u0437.\\u043b\\u0438\\u0446\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Diana Vartic\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\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\":\"12.06.2026\",\"\\u041d\\u043e\\u043c\\u0435\\u0440\":\"177\"},\"document\":{\"Date\":\"12.06.2026\",\"Number\":\"177\"}}}","edit":true}} {"uid":"7b56ab3"}
[2026-06-12 08:18:39] docflow.DEBUG: GAS raw response {"raw":"[object] (stdClass: {\"code\":1,\"url\":\"https://docs.google.com/open?id=1w_Ynd3d-OdumqkckvVv5vchem53cP9Spc1P2c9EL51M\",\"file_id\":\"1w_Ynd3d-OdumqkckvVv5vchem53cP9Spc1P2c9EL51M\",\"error\":\"\",\"vars\":\"\"})"} {"uid":"7b56ab3"}
[2026-06-12 08:18:39] docflow.WARNING: AmoDrive generated-file move is not ready. {"fileId":"1w_Ynd3d-OdumqkckvVv5vchem53cP9Spc1P2c9EL51M","context":null} {"uid":"7b56ab3"}
[2026-06-12 08:19:54] docflow.INFO: Apel createDoc {"data":{"amoAccountId":"32990686","amoUserId":null,"amoEntityId":"40277985","amoEntityType":"2","templateId":"11625","corporateEntityId":"","settlementAccountId":"","is_signed":null,"gdi":null,"number":null,"currentAmoUserId":null,"lang":"ru"}} {"uid":"2304f86"}
[2026-06-12 08:19:54] docflow.INFO: Token is valid for account 32990686. [] {"uid":"2304f86"}
[2026-06-12 08:19:54] docflow.DEBUG: getClientAuth returned {"auth":"[object] (stdClass: {\"domain\":\"eurosanteh.amocrm.ru\",\"access_token\":\"eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImp0aSI6ImQ3ODJjZTM5ZDFlMTk4ZTAyMzNjYjgzZDk0MGRkMGVjZmE4NTg1OTUwYmQ3MjVhOWQ2ZGQ5YTJlNDY1OWVhYzg3MDY5NTliYzEyMDQwMjZkIn0.eyJhdWQiOiIwZDY0ZGZmYi1lNTRiLTQ0OGYtOWZiZi1iYWYyMjUxYTExZGIiLCJqdGkiOiJkNzgyY2UzOWQxZTE5OGUwMjMzY2I4M2Q5NDBkZDBlY2ZhODU4NTk1MGJkNzI1YTlkNmRkOWEyZTQ2NTllYWM4NzA2OTU5YmMxMjA0MDI2ZCIsImlhdCI6MTc4MTE1NTc3OSwibmJmIjoxNzgxMTU1Nzc5LCJleHAiOjE3ODEyNDIxNzksInN1YiI6IjEzNjg3MzAyIiwiZ3JhbnRfdHlwZSI6IiIsImFjY291bnRfaWQiOjMyOTkwNjg2LCJiYXNlX2RvbWFpbiI6ImFtb2NybS5ydSIsInZlcnNpb24iOjIsInNjb3BlcyI6WyJwdXNoX25vdGlmaWNhdGlvbnMiLCJjcm0iLCJub3RpZmljYXRpb25zIl0sImhhc2hfdXVpZCI6ImE3Zjg2MTIzLWI5MTEtNDA0OC1iMTg4LTkzYjJlYTAyMTFmZCIsImFwaV9kb21haW4iOiJhcGktYi5hbW9jcm0ucnUifQ.ZPUTjuN9yQtrs7KIwlx70oV_9ZxNTCbNTSs4TbQcr-TUnNo_URIGXgS_BHC_apsJ1wnBdRHyRnMo73nVY3JWlo1nhDQWAsMLBe36lyUJQCGGKxhV5x29txYdCsOIFwiUY8sW5Rxa57ijNAH3Rm9dIF5C2cFNXs5CwtM--nLshLf9CI5tBGzJw0YbKCihAjWSgLZFWZOeSK6R5gkKznLZZPqis5D3hpjxJWcisjhfRiWDLgtiztOaaQhwqNBgFqkpi3xfs0k1N8h_LiZaJI5wockULzYls_kPNxH4O_SpWmrCgGoe9wtr9FQ-t_PxL8A3hA5o7lQbUndwI65cHjI1hA\"})","file":"/home/ytvmclwh/document.amocrm.md/src/Models/Docs.php","line":121} {"uid":"2304f86"}
[2026-06-12 08:19:55] docflow.DEBUG: AmoDrive docflow context request {"url":"https://google.emale.uno/api/docflow/google-context","query":{"account_id":"32990686","entity_id":"40277985","entity_type":"leads"}} {"uid":"2304f86"}
[2026-06-12 08:19: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=32990686&amp;entity_id=40277985&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/06/12 08:19:57</td>\r\n</tr>\r\n</table>\r\n<hr><center>tengine</center>\r\n</body>\r\n</html>\r\n"} {"uid":"2304f86"}
[2026-06-12 08:19:56] docflow.DEBUG: AmoDrive docflow context request {"url":"https://gd.glucose-dev.online/api/docflow/google-context","query":{"account_id":"32990686","entity_id":"40277985","entity_type":"leads"}} {"uid":"2304f86"}
[2026-06-12 08:19: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":32990686,"entityId":"40277985","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":"2304f86"}
[2026-06-12 08:19:56] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://google.emale.uno/api/docflow/prepare-generated-doc","payload":{"account_id":"32990686","entity_id":"40277985","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"2304f86"}
[2026-06-12 08:19: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/06/12 08:19:57</td>\r\n</tr>\r\n</table>\r\n<hr><center>tengine</center>\r\n</body>\r\n</html>\r\n","payload":{"account_id":"32990686","entity_id":"40277985","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"2304f86"}
[2026-06-12 08:19:56] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://gd.glucose-dev.online/api/docflow/prepare-generated-doc","payload":{"account_id":"32990686","entity_id":"40277985","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"2304f86"}
[2026-06-12 08:19: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\":32990686})","payload":{"account_id":"32990686","entity_id":"40277985","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"2304f86"}
[2026-06-12 08:19:56] 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 178 20260612081955\",\"leadId\":\"40277985\",\"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\":\"12.06.2026\",\"\\u041d\\u043e\\u043c\\u0435\\u0440 \\u043a\\u043e\\u043d\\u0442\\u0440\\u0430\\u043a\\u0442\\u0430\":\"K2464\",\"\\u0414\\u0430\\u0442\\u0430 \\u043c\\u043e\\u043d\\u0442\\u0430\\u0436\\u0430 (\\u0411\\u0414)\":\"12.06.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\":\"\\u041f\\u044f\\u0442\\u043d\\u0438\\u0446\\u0430\",\"\\u0414\\u0430\\u0442\\u0430 \\u0438 \\u0432\\u0440\\u0435\\u043c\\u044f \\u0432\\u0438\\u0437\\u0438\\u0442\\u0430\":\"2026-06-12 15:26:00\",\"\\u0414\\u0430\\u0442\\u0430 \\u0432\\u0438\\u0437\\u0438\\u0442\\u0430\":\"12.06.2026\",\"ID\":\"40277985\",\"\\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\":\"12.06.2026\",\"\\u041d\\u043e\\u043c\\u0435\\u0440 \\u043a\\u043e\\u043d\\u0442\\u0440\\u0430\\u043a\\u0442\\u0430\":\"K2464\",\"\\u0414\\u0430\\u0442\\u0430 \\u043c\\u043e\\u043d\\u0442\\u0430\\u0436\\u0430 (\\u0411\\u0414)\":\"12.06.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\":\"\\u041f\\u044f\\u0442\\u043d\\u0438\\u0446\\u0430\",\"\\u0414\\u0430\\u0442\\u0430 \\u0438 \\u0432\\u0440\\u0435\\u043c\\u044f \\u0432\\u0438\\u0437\\u0438\\u0442\\u0430\":\"2026-06-12 15:26:00\",\"\\u0414\\u0430\\u0442\\u0430 \\u0432\\u0438\\u0437\\u0438\\u0442\\u0430\":\"12.06.2026\",\"ID\":\"40277985\",\"\\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\":\"2010045001827\",\"\\u0410\\u0434\\u0440\\u0435\\u0441\":\"Str Independentei 12\\/1  scara 4 et 6\",\"\\u041f\\u043e\\u0432\\u0442\\u043e\\u0440\\u043d\\u044b\\u0439 \\u043a\\u043b\\u0438\\u0435\\u043d\\u0442?\":\"\\u0414\\u0430\",\"\\u0414\\u0430\\u0442\\u0430 \\u043c\\u043e\\u043d\\u0442\\u0430\\u0436\\u0430 (\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442)\":\"12.06.2025\",\"\\u0422\\u0438\\u043f \\u0438 \\u043c\\u043e\\u0434\\u0435\\u043b\\u044c \\u043e\\u0431\\u043e\\u0440\\u0443\\u0434\\u043e\\u0432\\u0430\\u043d\\u0438\\u044f (\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442)\":\"Haier 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)\":\"K2464\",\"\\u0418\\u043c\\u044f \\u043a\\u043b\\u0438\\u0435\\u043d\\u0442\\u0430 (\\u0421\\u041c\\u0421)\":\"Daniela\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"060772252\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Daniela Spanu\",\"Contact_name\":\"Daniela Spanu\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"\\u0410\\u0441\\u0442\\u0430\\u043f\\u0435\\u043d\\u043a\\u043e\\u0432\\u0430 \\u042e\\u043b\\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\":\"2010045001827\",\"\\u0410\\u0434\\u0440\\u0435\\u0441\":\"Str Independentei 12\\/1  scara 4 et 6\",\"\\u041f\\u043e\\u0432\\u0442\\u043e\\u0440\\u043d\\u044b\\u0439 \\u043a\\u043b\\u0438\\u0435\\u043d\\u0442?\":\"\\u0414\\u0430\",\"\\u0414\\u0430\\u0442\\u0430 \\u043c\\u043e\\u043d\\u0442\\u0430\\u0436\\u0430 (\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442)\":\"12.06.2025\",\"\\u0422\\u0438\\u043f \\u0438 \\u043c\\u043e\\u0434\\u0435\\u043b\\u044c \\u043e\\u0431\\u043e\\u0440\\u0443\\u0434\\u043e\\u0432\\u0430\\u043d\\u0438\\u044f (\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442)\":\"Haier 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)\":\"K2464\",\"\\u0418\\u043c\\u044f \\u043a\\u043b\\u0438\\u0435\\u043d\\u0442\\u0430 (\\u0421\\u041c\\u0421)\":\"Daniela\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"060772252\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Daniela Spanu\",\"Contact_name\":\"Daniela Spanu\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"\\u0410\\u0441\\u0442\\u0430\\u043f\\u0435\\u043d\\u043a\\u043e\\u0432\\u0430 \\u042e\\u043b\\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\":\"2010045001827\",\"\\u0410\\u0434\\u0440\\u0435\\u0441\":\"Str Independentei 12\\/1  scara 4 et 6\",\"\\u041f\\u043e\\u0432\\u0442\\u043e\\u0440\\u043d\\u044b\\u0439 \\u043a\\u043b\\u0438\\u0435\\u043d\\u0442?\":\"\\u0414\\u0430\",\"\\u0414\\u0430\\u0442\\u0430 \\u043c\\u043e\\u043d\\u0442\\u0430\\u0436\\u0430 (\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442)\":\"12.06.2025\",\"\\u0422\\u0438\\u043f \\u0438 \\u043c\\u043e\\u0434\\u0435\\u043b\\u044c \\u043e\\u0431\\u043e\\u0440\\u0443\\u0434\\u043e\\u0432\\u0430\\u043d\\u0438\\u044f (\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442)\":\"Haier 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)\":\"K2464\",\"\\u0418\\u043c\\u044f \\u043a\\u043b\\u0438\\u0435\\u043d\\u0442\\u0430 (\\u0421\\u041c\\u0421)\":\"Daniela\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"060772252\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Daniela Spanu\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\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\":\"12.06.2026\",\"\\u041d\\u043e\\u043c\\u0435\\u0440\":\"178\"},\"document\":{\"Date\":\"12.06.2026\",\"Number\":\"178\"}}}","edit":true}} {"uid":"2304f86"}
[2026-06-12 08:20:02] docflow.DEBUG: GAS raw response {"raw":"[object] (stdClass: {\"code\":1,\"url\":\"https://docs.google.com/open?id=10Ne7Xvb6MEfhQrq3OD4Or_z62lQ25a4MHpr-jKDiVpg\",\"file_id\":\"10Ne7Xvb6MEfhQrq3OD4Or_z62lQ25a4MHpr-jKDiVpg\",\"error\":\"\",\"vars\":\"\"})"} {"uid":"2304f86"}
[2026-06-12 08:20:02] docflow.WARNING: AmoDrive generated-file move is not ready. {"fileId":"10Ne7Xvb6MEfhQrq3OD4Or_z62lQ25a4MHpr-jKDiVpg","context":null} {"uid":"2304f86"}
[2026-06-12 08:23:49] docflow.INFO: Apel createDoc {"data":{"amoAccountId":"32990686","amoUserId":null,"amoEntityId":"40278087","amoEntityType":"2","templateId":"11625","corporateEntityId":"","settlementAccountId":"","is_signed":null,"gdi":null,"number":null,"currentAmoUserId":null,"lang":"ru"}} {"uid":"01444e6"}
[2026-06-12 08:23:49] docflow.INFO: Token is valid for account 32990686. [] {"uid":"01444e6"}
[2026-06-12 08:23:49] docflow.DEBUG: getClientAuth returned {"auth":"[object] (stdClass: {\"domain\":\"eurosanteh.amocrm.ru\",\"access_token\":\"eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImp0aSI6ImQ3ODJjZTM5ZDFlMTk4ZTAyMzNjYjgzZDk0MGRkMGVjZmE4NTg1OTUwYmQ3MjVhOWQ2ZGQ5YTJlNDY1OWVhYzg3MDY5NTliYzEyMDQwMjZkIn0.eyJhdWQiOiIwZDY0ZGZmYi1lNTRiLTQ0OGYtOWZiZi1iYWYyMjUxYTExZGIiLCJqdGkiOiJkNzgyY2UzOWQxZTE5OGUwMjMzY2I4M2Q5NDBkZDBlY2ZhODU4NTk1MGJkNzI1YTlkNmRkOWEyZTQ2NTllYWM4NzA2OTU5YmMxMjA0MDI2ZCIsImlhdCI6MTc4MTE1NTc3OSwibmJmIjoxNzgxMTU1Nzc5LCJleHAiOjE3ODEyNDIxNzksInN1YiI6IjEzNjg3MzAyIiwiZ3JhbnRfdHlwZSI6IiIsImFjY291bnRfaWQiOjMyOTkwNjg2LCJiYXNlX2RvbWFpbiI6ImFtb2NybS5ydSIsInZlcnNpb24iOjIsInNjb3BlcyI6WyJwdXNoX25vdGlmaWNhdGlvbnMiLCJjcm0iLCJub3RpZmljYXRpb25zIl0sImhhc2hfdXVpZCI6ImE3Zjg2MTIzLWI5MTEtNDA0OC1iMTg4LTkzYjJlYTAyMTFmZCIsImFwaV9kb21haW4iOiJhcGktYi5hbW9jcm0ucnUifQ.ZPUTjuN9yQtrs7KIwlx70oV_9ZxNTCbNTSs4TbQcr-TUnNo_URIGXgS_BHC_apsJ1wnBdRHyRnMo73nVY3JWlo1nhDQWAsMLBe36lyUJQCGGKxhV5x29txYdCsOIFwiUY8sW5Rxa57ijNAH3Rm9dIF5C2cFNXs5CwtM--nLshLf9CI5tBGzJw0YbKCihAjWSgLZFWZOeSK6R5gkKznLZZPqis5D3hpjxJWcisjhfRiWDLgtiztOaaQhwqNBgFqkpi3xfs0k1N8h_LiZaJI5wockULzYls_kPNxH4O_SpWmrCgGoe9wtr9FQ-t_PxL8A3hA5o7lQbUndwI65cHjI1hA\"})","file":"/home/ytvmclwh/document.amocrm.md/src/Models/Docs.php","line":121} {"uid":"01444e6"}
[2026-06-12 08:23:50] docflow.DEBUG: AmoDrive docflow context request {"url":"https://google.emale.uno/api/docflow/google-context","query":{"account_id":"32990686","entity_id":"40278087","entity_type":"leads"}} {"uid":"01444e6"}
[2026-06-12 08:23: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=32990686&amp;entity_id=40278087&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/06/12 08:23:52</td>\r\n</tr>\r\n</table>\r\n<hr><center>tengine</center>\r\n</body>\r\n</html>\r\n"} {"uid":"01444e6"}
[2026-06-12 08:23:51] docflow.DEBUG: AmoDrive docflow context request {"url":"https://gd.glucose-dev.online/api/docflow/google-context","query":{"account_id":"32990686","entity_id":"40278087","entity_type":"leads"}} {"uid":"01444e6"}
[2026-06-12 08:23:51] docflow.WARNING: AmoDrive docflow context response is not ready, trying next backend. {"url":"https://gd.glucose-dev.online/api/docflow/google-context","payload":{"ok":true,"accountId":32990686,"entityId":"40278087","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":"01444e6"}
[2026-06-12 08:23:51] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://google.emale.uno/api/docflow/prepare-generated-doc","payload":{"account_id":"32990686","entity_id":"40278087","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"01444e6"}
[2026-06-12 08:23: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/06/12 08:23:52</td>\r\n</tr>\r\n</table>\r\n<hr><center>tengine</center>\r\n</body>\r\n</html>\r\n","payload":{"account_id":"32990686","entity_id":"40278087","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"01444e6"}
[2026-06-12 08:23:51] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://gd.glucose-dev.online/api/docflow/prepare-generated-doc","payload":{"account_id":"32990686","entity_id":"40278087","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"01444e6"}
[2026-06-12 08:23:51] docflow.WARNING: AmoDrive prepare-generated-doc request failed {"url":"https://gd.glucose-dev.online/api/docflow/prepare-generated-doc","http_code":null,"error":"HTTP/2 404 ","response":"[object] (stdClass: {\"ok\":false,\"error\":\"AmoDrive is not installed for this account.\",\"accountId\":32990686})","payload":{"account_id":"32990686","entity_id":"40278087","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"01444e6"}
[2026-06-12 08:23:51] docflow.DEBUG: GAS request {"url":"https://script.google.com/macros/s/AKfycbwrvOJD46zkuoTzdhpc1kulhV8jRfgQBFZfQ121nkIip_k8yKit4xrbWTOzaJ-C-Yed6w/exec","body":{"templateFileId":"1AjK4khA9mRlFDVy4RXRqHAg2GTFWJYC-Gac1Mx3OLnA","accountId":"32990686","folderId":"1Us2AfskxgdA729xVr0F2vjZU9y5PlYDe","key":"~VTsK5dcnHc2cSSsjM$LFSjLlgbmJXwrp3R2P5nd","data":"{\"fileName\":\"ALL FOR ALL \\u041d\\u0430\\u0440\\u044f\\u0434 \\u043d\\u0430 \\u0432\\u044b\\u043f\\u043e\\u043b\\u043d\\u0435\\u043d\\u0438\\u0435 \\u0440\\u0430\\u0431\\u043e\\u0442 179 20260612082350\",\"leadId\":\"40278087\",\"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\":\"14.06.2027\",\"\\u041d\\u043e\\u043c\\u0435\\u0440 \\u043a\\u043e\\u043d\\u0442\\u0440\\u0430\\u043a\\u0442\\u0430\":\"V3480\",\"\\u0414\\u0430\\u0442\\u0430 \\u043c\\u043e\\u043d\\u0442\\u0430\\u0436\\u0430 (\\u0411\\u0414)\":\"16.06.2025\",\"\\u041d\\u0430\\u0437\\u0432\\u0430\\u043d\\u0438\\u0435 \\u0442\\u043e\\u0432\\u0430\\u0440\\u0430 (\\u0411\\u0414)\":\"Haier revive 35\",\"\\u0412\\u0438\\u0434 \\u0440\\u0430\\u0431\\u043e\\u0442\\u044b (\\u0411\\u0414)\":\"\\u0423\\u0441\\u0442\\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-06-12 08:23:00\",\"\\u0414\\u0430\\u0442\\u0430 \\u0432\\u0438\\u0437\\u0438\\u0442\\u0430\":\"12.06.2026\",\"ID\":\"40278087\",\"\\u0421\\u0434\\u0435\\u043b\\u043a\\u0430_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"\\u0423\\u0441\\u0442\\u0432\\u043d\\u043e\\u0432\\u043a\\u0430 \\u043a\\u043e\\u043d\\u0434\\u0438\\u0446\\u0438\\u043e\\u043d\\u0435\\u0440\\u0430\",\"Lead_name\":\"\\u0423\\u0441\\u0442\\u0432\\u043d\\u043e\\u0432\\u043a\\u0430 \\u043a\\u043e\\u043d\\u0434\\u0438\\u0446\\u0438\\u043e\\u043d\\u0435\\u0440\\u0430\",\"\\u0411\\u044e\\u0434\\u0436\\u0435\\u0442\":\"0\",\"Budget\":\"0\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"\\u0410\\u0441\\u0442\\u0430\\u043f\\u0435\\u043d\\u043a\\u043e\\u0432\\u0430 \\u042e\\u043b\\u0438\\u0430\\u043d\\u043d\\u0430\",\"Responsible\":\"\\u0410\\u0441\\u0442\\u0430\\u043f\\u0435\\u043d\\u043a\\u043e\\u0432\\u0430 \\u042e\\u043b\\u0438\\u0430\\u043d\\u043d\\u0430\"},\"lead\":{\"\\u0421\\u043b\\u0435\\u0434\\u0443\\u044e\\u0449\\u0430\\u044f \\u0434\\u0430\\u0442\\u0430 \\u0441\\u0435\\u0440\\u0432\\u0438\\u0441\\u0430\":\"14.06.2027\",\"\\u041d\\u043e\\u043c\\u0435\\u0440 \\u043a\\u043e\\u043d\\u0442\\u0440\\u0430\\u043a\\u0442\\u0430\":\"V3480\",\"\\u0414\\u0430\\u0442\\u0430 \\u043c\\u043e\\u043d\\u0442\\u0430\\u0436\\u0430 (\\u0411\\u0414)\":\"16.06.2025\",\"\\u041d\\u0430\\u0437\\u0432\\u0430\\u043d\\u0438\\u0435 \\u0442\\u043e\\u0432\\u0430\\u0440\\u0430 (\\u0411\\u0414)\":\"Haier revive 35\",\"\\u0412\\u0438\\u0434 \\u0440\\u0430\\u0431\\u043e\\u0442\\u044b (\\u0411\\u0414)\":\"\\u0423\\u0441\\u0442\\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-06-12 08:23:00\",\"\\u0414\\u0430\\u0442\\u0430 \\u0432\\u0438\\u0437\\u0438\\u0442\\u0430\":\"12.06.2026\",\"ID\":\"40278087\",\"\\u0421\\u0434\\u0435\\u043b\\u043a\\u0430_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"\\u0423\\u0441\\u0442\\u0432\\u043d\\u043e\\u0432\\u043a\\u0430 \\u043a\\u043e\\u043d\\u0434\\u0438\\u0446\\u0438\\u043e\\u043d\\u0435\\u0440\\u0430\",\"Lead_name\":\"\\u0423\\u0441\\u0442\\u0432\\u043d\\u043e\\u0432\\u043a\\u0430 \\u043a\\u043e\\u043d\\u0434\\u0438\\u0446\\u0438\\u043e\\u043d\\u0435\\u0440\\u0430\",\"\\u0411\\u044e\\u0434\\u0436\\u0435\\u0442\":\"0\",\"Budget\":\"0\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"\\u0410\\u0441\\u0442\\u0430\\u043f\\u0435\\u043d\\u043a\\u043e\\u0432\\u0430 \\u042e\\u043b\\u0438\\u0430\\u043d\\u043d\\u0430\",\"Responsible\":\"\\u0410\\u0441\\u0442\\u0430\\u043f\\u0435\\u043d\\u043a\\u043e\\u0432\\u0430 \\u042e\\u043b\\u0438\\u0430\\u043d\\u043d\\u0430\"},\"\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442\":{\"\\u0418\\u0414\\u041d\\u041e\":\"9661501896074\",\"\\u0410\\u0434\\u0440\\u0435\\u0441\":\"Muncesti 804\\/2 k34 etjul 3\",\"\\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.06.2025\",\"\\u0422\\u0438\\u043f \\u0438 \\u043c\\u043e\\u0434\\u0435\\u043b\\u044c \\u043e\\u0431\\u043e\\u0440\\u0443\\u0434\\u043e\\u0432\\u0430\\u043d\\u0438\\u044f (\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442)\":\"Haier revive 35\",\"\\u041a\\u043e\\u043b - \\u0432\\u043e \\u043e\\u0431\\u043e\\u0440\\u0443\\u0434\\u043e\\u0432\\u0430\\u043d\\u0438\\u044f (\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442)\":\"1\",\"\\u041a\\u0442\\u043e \\u043c\\u043e\\u043d\\u0442\\u0438\\u0440\\u043e\\u0432\\u0430\\u043b (\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442)\":\"\\u041c\\u0430\\u0441\\u0442\\u0435\\u0440 \\u043a\\u043e\\u043c\\u043f\\u0430\\u043d\\u0438\\u0438 Edenvor SRL\",\"\\u041d\\u043e\\u043c\\u0435\\u0440 \\u043a\\u043e\\u043d\\u0442\\u0440\\u0430\\u043a\\u0442\\u0430 (\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442)\":\"V3480\",\"\\u0418\\u043c\\u044f \\u043a\\u043b\\u0438\\u0435\\u043d\\u0442\\u0430 (\\u0421\\u041c\\u0421)\":\"Alexandru\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"068676418\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Alexandru Covalenco\",\"Contact_name\":\"Alexandru Covalenco\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"\\u0410\\u0441\\u0442\\u0430\\u043f\\u0435\\u043d\\u043a\\u043e\\u0432\\u0430 \\u042e\\u043b\\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\":\"9661501896074\",\"\\u0410\\u0434\\u0440\\u0435\\u0441\":\"Muncesti 804\\/2 k34 etjul 3\",\"\\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.06.2025\",\"\\u0422\\u0438\\u043f \\u0438 \\u043c\\u043e\\u0434\\u0435\\u043b\\u044c \\u043e\\u0431\\u043e\\u0440\\u0443\\u0434\\u043e\\u0432\\u0430\\u043d\\u0438\\u044f (\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442)\":\"Haier revive 35\",\"\\u041a\\u043e\\u043b - \\u0432\\u043e \\u043e\\u0431\\u043e\\u0440\\u0443\\u0434\\u043e\\u0432\\u0430\\u043d\\u0438\\u044f (\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442)\":\"1\",\"\\u041a\\u0442\\u043e \\u043c\\u043e\\u043d\\u0442\\u0438\\u0440\\u043e\\u0432\\u0430\\u043b (\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442)\":\"\\u041c\\u0430\\u0441\\u0442\\u0435\\u0440 \\u043a\\u043e\\u043c\\u043f\\u0430\\u043d\\u0438\\u0438 Edenvor SRL\",\"\\u041d\\u043e\\u043c\\u0435\\u0440 \\u043a\\u043e\\u043d\\u0442\\u0440\\u0430\\u043a\\u0442\\u0430 (\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442)\":\"V3480\",\"\\u0418\\u043c\\u044f \\u043a\\u043b\\u0438\\u0435\\u043d\\u0442\\u0430 (\\u0421\\u041c\\u0421)\":\"Alexandru\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"068676418\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Alexandru Covalenco\",\"Contact_name\":\"Alexandru Covalenco\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"\\u0410\\u0441\\u0442\\u0430\\u043f\\u0435\\u043d\\u043a\\u043e\\u0432\\u0430 \\u042e\\u043b\\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\":\"9661501896074\",\"\\u0410\\u0434\\u0440\\u0435\\u0441\":\"Muncesti 804\\/2 k34 etjul 3\",\"\\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.06.2025\",\"\\u0422\\u0438\\u043f \\u0438 \\u043c\\u043e\\u0434\\u0435\\u043b\\u044c \\u043e\\u0431\\u043e\\u0440\\u0443\\u0434\\u043e\\u0432\\u0430\\u043d\\u0438\\u044f (\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442)\":\"Haier revive 35\",\"\\u041a\\u043e\\u043b - \\u0432\\u043e \\u043e\\u0431\\u043e\\u0440\\u0443\\u0434\\u043e\\u0432\\u0430\\u043d\\u0438\\u044f (\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442)\":\"1\",\"\\u041a\\u0442\\u043e \\u043c\\u043e\\u043d\\u0442\\u0438\\u0440\\u043e\\u0432\\u0430\\u043b (\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442)\":\"\\u041c\\u0430\\u0441\\u0442\\u0435\\u0440 \\u043a\\u043e\\u043c\\u043f\\u0430\\u043d\\u0438\\u0438 Edenvor SRL\",\"\\u041d\\u043e\\u043c\\u0435\\u0440 \\u043a\\u043e\\u043d\\u0442\\u0440\\u0430\\u043a\\u0442\\u0430 (\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442)\":\"V3480\",\"\\u0418\\u043c\\u044f \\u043a\\u043b\\u0438\\u0435\\u043d\\u0442\\u0430 (\\u0421\\u041c\\u0421)\":\"Alexandru\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"068676418\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Alexandru Covalenco\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\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\":\"12.06.2026\",\"\\u041d\\u043e\\u043c\\u0435\\u0440\":\"179\"},\"document\":{\"Date\":\"12.06.2026\",\"Number\":\"179\"}}}","edit":true}} {"uid":"01444e6"}
[2026-06-12 08:23:57] docflow.DEBUG: GAS raw response {"raw":"[object] (stdClass: {\"code\":1,\"url\":\"https://docs.google.com/open?id=1x6L1qzoSG9eyyrBKzv0tmF-Xp9-3tZ-dZd579gKPb_g\",\"file_id\":\"1x6L1qzoSG9eyyrBKzv0tmF-Xp9-3tZ-dZd579gKPb_g\",\"error\":\"\",\"vars\":\"\"})"} {"uid":"01444e6"}
[2026-06-12 08:23:57] docflow.WARNING: AmoDrive generated-file move is not ready. {"fileId":"1x6L1qzoSG9eyyrBKzv0tmF-Xp9-3tZ-dZd579gKPb_g","context":null} {"uid":"01444e6"}
[2026-06-12 08:25:36] docflow.INFO: Apel createDoc {"data":{"amoAccountId":"32990686","amoUserId":null,"amoEntityId":"40277269","amoEntityType":"2","templateId":"11625","corporateEntityId":"","settlementAccountId":"","is_signed":null,"gdi":null,"number":null,"currentAmoUserId":null,"lang":"ru"}} {"uid":"93dbc14"}
[2026-06-12 08:25:37] docflow.INFO: Token is valid for account 32990686. [] {"uid":"93dbc14"}
[2026-06-12 08:25:37] docflow.DEBUG: getClientAuth returned {"auth":"[object] (stdClass: {\"domain\":\"eurosanteh.amocrm.ru\",\"access_token\":\"eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImp0aSI6ImQ3ODJjZTM5ZDFlMTk4ZTAyMzNjYjgzZDk0MGRkMGVjZmE4NTg1OTUwYmQ3MjVhOWQ2ZGQ5YTJlNDY1OWVhYzg3MDY5NTliYzEyMDQwMjZkIn0.eyJhdWQiOiIwZDY0ZGZmYi1lNTRiLTQ0OGYtOWZiZi1iYWYyMjUxYTExZGIiLCJqdGkiOiJkNzgyY2UzOWQxZTE5OGUwMjMzY2I4M2Q5NDBkZDBlY2ZhODU4NTk1MGJkNzI1YTlkNmRkOWEyZTQ2NTllYWM4NzA2OTU5YmMxMjA0MDI2ZCIsImlhdCI6MTc4MTE1NTc3OSwibmJmIjoxNzgxMTU1Nzc5LCJleHAiOjE3ODEyNDIxNzksInN1YiI6IjEzNjg3MzAyIiwiZ3JhbnRfdHlwZSI6IiIsImFjY291bnRfaWQiOjMyOTkwNjg2LCJiYXNlX2RvbWFpbiI6ImFtb2NybS5ydSIsInZlcnNpb24iOjIsInNjb3BlcyI6WyJwdXNoX25vdGlmaWNhdGlvbnMiLCJjcm0iLCJub3RpZmljYXRpb25zIl0sImhhc2hfdXVpZCI6ImE3Zjg2MTIzLWI5MTEtNDA0OC1iMTg4LTkzYjJlYTAyMTFmZCIsImFwaV9kb21haW4iOiJhcGktYi5hbW9jcm0ucnUifQ.ZPUTjuN9yQtrs7KIwlx70oV_9ZxNTCbNTSs4TbQcr-TUnNo_URIGXgS_BHC_apsJ1wnBdRHyRnMo73nVY3JWlo1nhDQWAsMLBe36lyUJQCGGKxhV5x29txYdCsOIFwiUY8sW5Rxa57ijNAH3Rm9dIF5C2cFNXs5CwtM--nLshLf9CI5tBGzJw0YbKCihAjWSgLZFWZOeSK6R5gkKznLZZPqis5D3hpjxJWcisjhfRiWDLgtiztOaaQhwqNBgFqkpi3xfs0k1N8h_LiZaJI5wockULzYls_kPNxH4O_SpWmrCgGoe9wtr9FQ-t_PxL8A3hA5o7lQbUndwI65cHjI1hA\"})","file":"/home/ytvmclwh/document.amocrm.md/src/Models/Docs.php","line":121} {"uid":"93dbc14"}
[2026-06-12 08:25:38] docflow.DEBUG: AmoDrive docflow context request {"url":"https://google.emale.uno/api/docflow/google-context","query":{"account_id":"32990686","entity_id":"40277269","entity_type":"leads"}} {"uid":"93dbc14"}
[2026-06-12 08:25:38] docflow.WARNING: AmoDrive docflow context request failed {"url":"https://google.emale.uno/api/docflow/google-context","http_code":null,"error":"HTTP/2 400 ","response":"<!DOCTYPE HTML PUBLIC \"-//IETF//DTD HTML 2.0//EN\">\r\n<html>\r\n<head><title>400 Bad Request</title></head>\r\n<body>\r\n<center><h1>400 Bad Request</h1></center>\r\n Sorry for the inconvenience.<br/>\r\nPlease report this message and include the following information to us.<br/>\r\nThank you very much!</p>\r\n<table>\r\n<tr>\r\n<td>URL:</td>\r\n<td>https://gd.glucose-dev.online/api/docflow/google-context?account_id=32990686&amp;entity_id=40277269&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/06/12 08:25:39</td>\r\n</tr>\r\n</table>\r\n<hr><center>tengine</center>\r\n</body>\r\n</html>\r\n"} {"uid":"93dbc14"}
[2026-06-12 08:25:38] docflow.DEBUG: AmoDrive docflow context request {"url":"https://gd.glucose-dev.online/api/docflow/google-context","query":{"account_id":"32990686","entity_id":"40277269","entity_type":"leads"}} {"uid":"93dbc14"}
[2026-06-12 08:25:38] docflow.WARNING: AmoDrive docflow context response is not ready, trying next backend. {"url":"https://gd.glucose-dev.online/api/docflow/google-context","payload":{"ok":true,"accountId":32990686,"entityId":"40277269","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":"93dbc14"}
[2026-06-12 08:25:38] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://google.emale.uno/api/docflow/prepare-generated-doc","payload":{"account_id":"32990686","entity_id":"40277269","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"93dbc14"}
[2026-06-12 08:25: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/06/12 08:25:39</td>\r\n</tr>\r\n</table>\r\n<hr><center>tengine</center>\r\n</body>\r\n</html>\r\n","payload":{"account_id":"32990686","entity_id":"40277269","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"93dbc14"}
[2026-06-12 08:25:38] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://gd.glucose-dev.online/api/docflow/prepare-generated-doc","payload":{"account_id":"32990686","entity_id":"40277269","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"93dbc14"}
[2026-06-12 08:25:38] docflow.WARNING: AmoDrive prepare-generated-doc request failed {"url":"https://gd.glucose-dev.online/api/docflow/prepare-generated-doc","http_code":null,"error":"HTTP/2 404 ","response":"[object] (stdClass: {\"ok\":false,\"error\":\"AmoDrive is not installed for this account.\",\"accountId\":32990686})","payload":{"account_id":"32990686","entity_id":"40277269","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"93dbc14"}
[2026-06-12 08:25:38] 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 180 20260612082538\",\"leadId\":\"40277269\",\"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\":\"17.05.2026\",\"\\u041d\\u043e\\u043c\\u0435\\u0440 \\u043a\\u043e\\u043d\\u0442\\u0440\\u0430\\u043a\\u0442\\u0430\":\"K1298\",\"\\u0414\\u0430\\u0442\\u0430 \\u043c\\u043e\\u043d\\u0442\\u0430\\u0436\\u0430 (\\u0411\\u0414)\":\"17.05.2025\",\"\\u041d\\u0430\\u0437\\u0432\\u0430\\u043d\\u0438\\u0435 \\u0442\\u043e\\u0432\\u0430\\u0440\\u0430 (\\u0411\\u0414)\":\"Haier Pearl 50\",\"\\u0412\\u0438\\u0434 \\u0440\\u0430\\u0431\\u043e\\u0442\\u044b (\\u0411\\u0414)\":\"\\u0423\\u0441\\u0442\\u0430\\u043d\\u043e\\u0432\\u043a\\u0430 \\u043a\\u043e\\u043d\\u0434\\u0438\\u0446\\u0438\\u043e\\u043d\\u0435\\u0440\\u0430\",\"\\u0424\\u0418\\u041e \\u043c\\u043e\\u043d\\u0442\\u0430\\u0436\\u043d\\u0438\\u043a\\u0430 (\\u0411\\u0414)\":\"\\u041d\\u0430\\u0433\\u0440\\u0438\\u043d\\u044f\\u043a \\u0418.\",\"\\u0414\\u0435\\u043d\\u044c \\u043d\\u0435\\u0434\\u0435\\u043b\\u0438\":\"\\u041f\\u044f\\u0442\\u043d\\u0438\\u0446\\u0430\",\"\\u0414\\u0430\\u0442\\u0430 \\u0438 \\u0432\\u0440\\u0435\\u043c\\u044f \\u0432\\u0438\\u0437\\u0438\\u0442\\u0430\":\"2026-06-12 13:18:00\",\"\\u0414\\u0430\\u0442\\u0430 \\u0432\\u0438\\u0437\\u0438\\u0442\\u0430\":\"12.06.2026\",\"ID\":\"40277269\",\"\\u0421\\u0434\\u0435\\u043b\\u043a\\u0430_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"\\u0423\\u0441\\u0442\\u0430\\u043d\\u043e\\u0432\\u043a\\u0430 \\u043a\\u043e\\u043d\\u0434\\u0438\\u0446\\u0438\\u043e\\u043d\\u0435\\u0440\\u0430\",\"Lead_name\":\"\\u0423\\u0441\\u0442\\u0430\\u043d\\u043e\\u0432\\u043a\\u0430 \\u043a\\u043e\\u043d\\u0434\\u0438\\u0446\\u0438\\u043e\\u043d\\u0435\\u0440\\u0430\",\"\\u0411\\u044e\\u0434\\u0436\\u0435\\u0442\":\"0\",\"Budget\":\"0\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"\\u0410\\u0441\\u0442\\u0430\\u043f\\u0435\\u043d\\u043a\\u043e\\u0432\\u0430 \\u042e\\u043b\\u0438\\u0430\\u043d\\u043d\\u0430\",\"Responsible\":\"\\u0410\\u0441\\u0442\\u0430\\u043f\\u0435\\u043d\\u043a\\u043e\\u0432\\u0430 \\u042e\\u043b\\u0438\\u0430\\u043d\\u043d\\u0430\"},\"lead\":{\"\\u0421\\u043b\\u0435\\u0434\\u0443\\u044e\\u0449\\u0430\\u044f \\u0434\\u0430\\u0442\\u0430 \\u0441\\u0435\\u0440\\u0432\\u0438\\u0441\\u0430\":\"17.05.2026\",\"\\u041d\\u043e\\u043c\\u0435\\u0440 \\u043a\\u043e\\u043d\\u0442\\u0440\\u0430\\u043a\\u0442\\u0430\":\"K1298\",\"\\u0414\\u0430\\u0442\\u0430 \\u043c\\u043e\\u043d\\u0442\\u0430\\u0436\\u0430 (\\u0411\\u0414)\":\"17.05.2025\",\"\\u041d\\u0430\\u0437\\u0432\\u0430\\u043d\\u0438\\u0435 \\u0442\\u043e\\u0432\\u0430\\u0440\\u0430 (\\u0411\\u0414)\":\"Haier Pearl 50\",\"\\u0412\\u0438\\u0434 \\u0440\\u0430\\u0431\\u043e\\u0442\\u044b (\\u0411\\u0414)\":\"\\u0423\\u0441\\u0442\\u0430\\u043d\\u043e\\u0432\\u043a\\u0430 \\u043a\\u043e\\u043d\\u0434\\u0438\\u0446\\u0438\\u043e\\u043d\\u0435\\u0440\\u0430\",\"\\u0424\\u0418\\u041e \\u043c\\u043e\\u043d\\u0442\\u0430\\u0436\\u043d\\u0438\\u043a\\u0430 (\\u0411\\u0414)\":\"\\u041d\\u0430\\u0433\\u0440\\u0438\\u043d\\u044f\\u043a \\u0418.\",\"\\u0414\\u0435\\u043d\\u044c \\u043d\\u0435\\u0434\\u0435\\u043b\\u0438\":\"\\u041f\\u044f\\u0442\\u043d\\u0438\\u0446\\u0430\",\"\\u0414\\u0430\\u0442\\u0430 \\u0438 \\u0432\\u0440\\u0435\\u043c\\u044f \\u0432\\u0438\\u0437\\u0438\\u0442\\u0430\":\"2026-06-12 13:18:00\",\"\\u0414\\u0430\\u0442\\u0430 \\u0432\\u0438\\u0437\\u0438\\u0442\\u0430\":\"12.06.2026\",\"ID\":\"40277269\",\"\\u0421\\u0434\\u0435\\u043b\\u043a\\u0430_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"\\u0423\\u0441\\u0442\\u0430\\u043d\\u043e\\u0432\\u043a\\u0430 \\u043a\\u043e\\u043d\\u0434\\u0438\\u0446\\u0438\\u043e\\u043d\\u0435\\u0440\\u0430\",\"Lead_name\":\"\\u0423\\u0441\\u0442\\u0430\\u043d\\u043e\\u0432\\u043a\\u0430 \\u043a\\u043e\\u043d\\u0434\\u0438\\u0446\\u0438\\u043e\\u043d\\u0435\\u0440\\u0430\",\"\\u0411\\u044e\\u0434\\u0436\\u0435\\u0442\":\"0\",\"Budget\":\"0\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"\\u0410\\u0441\\u0442\\u0430\\u043f\\u0435\\u043d\\u043a\\u043e\\u0432\\u0430 \\u042e\\u043b\\u0438\\u0430\\u043d\\u043d\\u0430\",\"Responsible\":\"\\u0410\\u0441\\u0442\\u0430\\u043f\\u0435\\u043d\\u043a\\u043e\\u0432\\u0430 \\u042e\\u043b\\u0438\\u0430\\u043d\\u043d\\u0430\"},\"\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442\":{\"\\u0418\\u0414\\u041d\\u041e\":\"2002044021180\",\"\\u0410\\u0434\\u0440\\u0435\\u0441\":\"str.Alexandr cel Bun 50\",\"\\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)\":\"17.05.2025\",\"\\u0422\\u0438\\u043f \\u0438 \\u043c\\u043e\\u0434\\u0435\\u043b\\u044c \\u043e\\u0431\\u043e\\u0440\\u0443\\u0434\\u043e\\u0432\\u0430\\u043d\\u0438\\u044f (\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442)\":\"Haier Pearl 50\",\"\\u041a\\u043e\\u043b - \\u0432\\u043e \\u043e\\u0431\\u043e\\u0440\\u0443\\u0434\\u043e\\u0432\\u0430\\u043d\\u0438\\u044f (\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442)\":\"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)\":\"K1298\",\"\\u0418\\u043c\\u044f \\u043a\\u043b\\u0438\\u0435\\u043d\\u0442\\u0430 (\\u0421\\u041c\\u0421)\":\"Mihail\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"069715006\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Mihail Ciugureanu\",\"Contact_name\":\"Mihail Ciugureanu\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"\\u0410\\u0441\\u0442\\u0430\\u043f\\u0435\\u043d\\u043a\\u043e\\u0432\\u0430 \\u042e\\u043b\\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\":\"2002044021180\",\"\\u0410\\u0434\\u0440\\u0435\\u0441\":\"str.Alexandr cel Bun 50\",\"\\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)\":\"17.05.2025\",\"\\u0422\\u0438\\u043f \\u0438 \\u043c\\u043e\\u0434\\u0435\\u043b\\u044c \\u043e\\u0431\\u043e\\u0440\\u0443\\u0434\\u043e\\u0432\\u0430\\u043d\\u0438\\u044f (\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442)\":\"Haier Pearl 50\",\"\\u041a\\u043e\\u043b - \\u0432\\u043e \\u043e\\u0431\\u043e\\u0440\\u0443\\u0434\\u043e\\u0432\\u0430\\u043d\\u0438\\u044f (\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442)\":\"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)\":\"K1298\",\"\\u0418\\u043c\\u044f \\u043a\\u043b\\u0438\\u0435\\u043d\\u0442\\u0430 (\\u0421\\u041c\\u0421)\":\"Mihail\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"069715006\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Mihail Ciugureanu\",\"Contact_name\":\"Mihail Ciugureanu\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"\\u0410\\u0441\\u0442\\u0430\\u043f\\u0435\\u043d\\u043a\\u043e\\u0432\\u0430 \\u042e\\u043b\\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\":\"2002044021180\",\"\\u0410\\u0434\\u0440\\u0435\\u0441\":\"str.Alexandr cel Bun 50\",\"\\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)\":\"17.05.2025\",\"\\u0422\\u0438\\u043f \\u0438 \\u043c\\u043e\\u0434\\u0435\\u043b\\u044c \\u043e\\u0431\\u043e\\u0440\\u0443\\u0434\\u043e\\u0432\\u0430\\u043d\\u0438\\u044f (\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442)\":\"Haier Pearl 50\",\"\\u041a\\u043e\\u043b - \\u0432\\u043e \\u043e\\u0431\\u043e\\u0440\\u0443\\u0434\\u043e\\u0432\\u0430\\u043d\\u0438\\u044f (\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442)\":\"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)\":\"K1298\",\"\\u0418\\u043c\\u044f \\u043a\\u043b\\u0438\\u0435\\u043d\\u0442\\u0430 (\\u0421\\u041c\\u0421)\":\"Mihail\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"069715006\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Mihail Ciugureanu\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\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\":\"12.06.2026\",\"\\u041d\\u043e\\u043c\\u0435\\u0440\":\"180\"},\"document\":{\"Date\":\"12.06.2026\",\"Number\":\"180\"}}}","edit":true}} {"uid":"93dbc14"}
[2026-06-12 08:25:44] docflow.DEBUG: GAS raw response {"raw":"[object] (stdClass: {\"code\":1,\"url\":\"https://docs.google.com/open?id=1e93HYqg994OoUZ1J0JBzo8y0thxRdhzOfcMhvD5anyU\",\"file_id\":\"1e93HYqg994OoUZ1J0JBzo8y0thxRdhzOfcMhvD5anyU\",\"error\":\"\",\"vars\":\"\"})"} {"uid":"93dbc14"}
[2026-06-12 08:25:44] docflow.WARNING: AmoDrive generated-file move is not ready. {"fileId":"1e93HYqg994OoUZ1J0JBzo8y0thxRdhzOfcMhvD5anyU","context":null} {"uid":"93dbc14"}
[2026-06-12 08:27:13] docflow.INFO: Apel createDoc {"data":{"amoAccountId":"32990686","amoUserId":null,"amoEntityId":"44387467","amoEntityType":"2","templateId":"11625","corporateEntityId":"","settlementAccountId":"","is_signed":null,"gdi":null,"number":null,"currentAmoUserId":null,"lang":"ru"}} {"uid":"1e8f8a9"}
[2026-06-12 08:27:14] docflow.INFO: Token is valid for account 32990686. [] {"uid":"1e8f8a9"}
[2026-06-12 08:27:14] docflow.DEBUG: getClientAuth returned {"auth":"[object] (stdClass: {\"domain\":\"eurosanteh.amocrm.ru\",\"access_token\":\"eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImp0aSI6ImQ3ODJjZTM5ZDFlMTk4ZTAyMzNjYjgzZDk0MGRkMGVjZmE4NTg1OTUwYmQ3MjVhOWQ2ZGQ5YTJlNDY1OWVhYzg3MDY5NTliYzEyMDQwMjZkIn0.eyJhdWQiOiIwZDY0ZGZmYi1lNTRiLTQ0OGYtOWZiZi1iYWYyMjUxYTExZGIiLCJqdGkiOiJkNzgyY2UzOWQxZTE5OGUwMjMzY2I4M2Q5NDBkZDBlY2ZhODU4NTk1MGJkNzI1YTlkNmRkOWEyZTQ2NTllYWM4NzA2OTU5YmMxMjA0MDI2ZCIsImlhdCI6MTc4MTE1NTc3OSwibmJmIjoxNzgxMTU1Nzc5LCJleHAiOjE3ODEyNDIxNzksInN1YiI6IjEzNjg3MzAyIiwiZ3JhbnRfdHlwZSI6IiIsImFjY291bnRfaWQiOjMyOTkwNjg2LCJiYXNlX2RvbWFpbiI6ImFtb2NybS5ydSIsInZlcnNpb24iOjIsInNjb3BlcyI6WyJwdXNoX25vdGlmaWNhdGlvbnMiLCJjcm0iLCJub3RpZmljYXRpb25zIl0sImhhc2hfdXVpZCI6ImE3Zjg2MTIzLWI5MTEtNDA0OC1iMTg4LTkzYjJlYTAyMTFmZCIsImFwaV9kb21haW4iOiJhcGktYi5hbW9jcm0ucnUifQ.ZPUTjuN9yQtrs7KIwlx70oV_9ZxNTCbNTSs4TbQcr-TUnNo_URIGXgS_BHC_apsJ1wnBdRHyRnMo73nVY3JWlo1nhDQWAsMLBe36lyUJQCGGKxhV5x29txYdCsOIFwiUY8sW5Rxa57ijNAH3Rm9dIF5C2cFNXs5CwtM--nLshLf9CI5tBGzJw0YbKCihAjWSgLZFWZOeSK6R5gkKznLZZPqis5D3hpjxJWcisjhfRiWDLgtiztOaaQhwqNBgFqkpi3xfs0k1N8h_LiZaJI5wockULzYls_kPNxH4O_SpWmrCgGoe9wtr9FQ-t_PxL8A3hA5o7lQbUndwI65cHjI1hA\"})","file":"/home/ytvmclwh/document.amocrm.md/src/Models/Docs.php","line":121} {"uid":"1e8f8a9"}
[2026-06-12 08:27:15] docflow.DEBUG: AmoDrive docflow context request {"url":"https://google.emale.uno/api/docflow/google-context","query":{"account_id":"32990686","entity_id":"44387467","entity_type":"leads"}} {"uid":"1e8f8a9"}
[2026-06-12 08:27:15] docflow.WARNING: AmoDrive docflow context request failed {"url":"https://google.emale.uno/api/docflow/google-context","http_code":null,"error":"HTTP/2 400 ","response":"<!DOCTYPE HTML PUBLIC \"-//IETF//DTD HTML 2.0//EN\">\r\n<html>\r\n<head><title>400 Bad Request</title></head>\r\n<body>\r\n<center><h1>400 Bad Request</h1></center>\r\n Sorry for the inconvenience.<br/>\r\nPlease report this message and include the following information to us.<br/>\r\nThank you very much!</p>\r\n<table>\r\n<tr>\r\n<td>URL:</td>\r\n<td>https://gd.glucose-dev.online/api/docflow/google-context?account_id=32990686&amp;entity_id=44387467&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/06/12 08:27:16</td>\r\n</tr>\r\n</table>\r\n<hr><center>tengine</center>\r\n</body>\r\n</html>\r\n"} {"uid":"1e8f8a9"}
[2026-06-12 08:27:15] docflow.DEBUG: AmoDrive docflow context request {"url":"https://gd.glucose-dev.online/api/docflow/google-context","query":{"account_id":"32990686","entity_id":"44387467","entity_type":"leads"}} {"uid":"1e8f8a9"}
[2026-06-12 08:27:15] docflow.WARNING: AmoDrive docflow context response is not ready, trying next backend. {"url":"https://gd.glucose-dev.online/api/docflow/google-context","payload":{"ok":true,"accountId":32990686,"entityId":"44387467","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":"1e8f8a9"}
[2026-06-12 08:27:15] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://google.emale.uno/api/docflow/prepare-generated-doc","payload":{"account_id":"32990686","entity_id":"44387467","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"1e8f8a9"}
[2026-06-12 08:27:15] docflow.WARNING: AmoDrive prepare-generated-doc request failed {"url":"https://google.emale.uno/api/docflow/prepare-generated-doc","http_code":null,"error":"HTTP/2 400 ","response":"<!DOCTYPE HTML PUBLIC \"-//IETF//DTD HTML 2.0//EN\">\r\n<html>\r\n<head><title>400 Bad Request</title></head>\r\n<body>\r\n<center><h1>400 Bad Request</h1></center>\r\n Sorry for the inconvenience.<br/>\r\nPlease report this message and include the following information to us.<br/>\r\nThank you very much!</p>\r\n<table>\r\n<tr>\r\n<td>URL:</td>\r\n<td>https://gd.glucose-dev.online/api/docflow/prepare-generated-doc</td>\r\n</tr>\r\n<tr>\r\n<td>Server:</td>\r\n<td>mail.glucose-dev.online</td>\r\n</tr>\r\n<tr>\r\n<td>Date:</td>\r\n<td>2026/06/12 08:27:16</td>\r\n</tr>\r\n</table>\r\n<hr><center>tengine</center>\r\n</body>\r\n</html>\r\n","payload":{"account_id":"32990686","entity_id":"44387467","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"1e8f8a9"}
[2026-06-12 08:27:15] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://gd.glucose-dev.online/api/docflow/prepare-generated-doc","payload":{"account_id":"32990686","entity_id":"44387467","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"1e8f8a9"}
[2026-06-12 08:27:15] docflow.WARNING: AmoDrive prepare-generated-doc request failed {"url":"https://gd.glucose-dev.online/api/docflow/prepare-generated-doc","http_code":null,"error":"HTTP/2 404 ","response":"[object] (stdClass: {\"ok\":false,\"error\":\"AmoDrive is not installed for this account.\",\"accountId\":32990686})","payload":{"account_id":"32990686","entity_id":"44387467","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"1e8f8a9"}
[2026-06-12 08:27:15] docflow.DEBUG: GAS request {"url":"https://script.google.com/macros/s/AKfycbwrvOJD46zkuoTzdhpc1kulhV8jRfgQBFZfQ121nkIip_k8yKit4xrbWTOzaJ-C-Yed6w/exec","body":{"templateFileId":"1AjK4khA9mRlFDVy4RXRqHAg2GTFWJYC-Gac1Mx3OLnA","accountId":"32990686","folderId":"1Us2AfskxgdA729xVr0F2vjZU9y5PlYDe","key":"~VTsK5dcnHc2cSSsjM$LFSjLlgbmJXwrp3R2P5nd","data":"{\"fileName\":\"ALL FOR ALL \\u041d\\u0430\\u0440\\u044f\\u0434 \\u043d\\u0430 \\u0432\\u044b\\u043f\\u043e\\u043b\\u043d\\u0435\\u043d\\u0438\\u0435 \\u0440\\u0430\\u0431\\u043e\\u0442 181 20260612082715\",\"leadId\":\"44387467\",\"entities\":{\"\\u0441\\u0434\\u0435\\u043b\\u043a\\u0430\":{\"\\u0414\\u0430\\u0442\\u0430 \\u0438 \\u0432\\u0440\\u0435\\u043c\\u044f \\u0432\\u0438\\u0437\\u0438\\u0442\\u0430\":\"2026-06-12 15:43:00\",\"\\u0414\\u0430\\u0442\\u0430 \\u0432\\u0438\\u0437\\u0438\\u0442\\u0430\":\"12.06.2026\",\"\\u041c\\u043e\\u0434\\u0435\\u043b\\u044c \\u043e\\u0431\\u043e\\u0440\\u0443\\u0434\\u043e\\u0432\\u0430\\u043d\\u0438\\u044f 1\":\"Gree\",\"ID\":\"44387467\",\"\\u0421\\u0434\\u0435\\u043b\\u043a\\u0430_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"\\u0421\\u0434\\u0435\\u043b\\u043a\\u0430 #44387467\",\"Lead_name\":\"\\u0421\\u0434\\u0435\\u043b\\u043a\\u0430 #44387467\",\"\\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-06-12 15:43:00\",\"\\u0414\\u0430\\u0442\\u0430 \\u0432\\u0438\\u0437\\u0438\\u0442\\u0430\":\"12.06.2026\",\"\\u041c\\u043e\\u0434\\u0435\\u043b\\u044c \\u043e\\u0431\\u043e\\u0440\\u0443\\u0434\\u043e\\u0432\\u0430\\u043d\\u0438\\u044f 1\":\"Gree\",\"ID\":\"44387467\",\"\\u0421\\u0434\\u0435\\u043b\\u043a\\u0430_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"\\u0421\\u0434\\u0435\\u043b\\u043a\\u0430 #44387467\",\"Lead_name\":\"\\u0421\\u0434\\u0435\\u043b\\u043a\\u0430 #44387467\",\"\\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\":\"37369397003\",\"\\u0418\\u043c\\u044f \\u043a\\u043b\\u0438\\u0435\\u043d\\u0442\\u0430 (\\u0421\\u041c\\u0421)\":\"Victoria\",\"\\u0410\\u0434\\u0440\\u0435\\u0441\":\"Ginta latin\\u0103 12\\/4\",\"\\u0422\\u0438\\u043f \\u043a\\u043b\\u0438\\u0435\\u043d\\u0442\\u0430\":\"\\u0424\\u0438\\u0437.\\u043b\\u0438\\u0446\",\"\\u0420\\u0430\\u0439\\u043e\\u043d\":\"\\u0427\\u0435\\u043a\\u0430\\u043d\\u044b\",\"\\u0422\\u0438\\u043f \\u0438 \\u043c\\u043e\\u0434\\u0435\\u043b\\u044c \\u043e\\u0431\\u043e\\u0440\\u0443\\u0434\\u043e\\u0432\\u0430\\u043d\\u0438\\u044f (\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442)\":\"Gree\",\"\\u041a\\u043e\\u043b - \\u0432\\u043e \\u043e\\u0431\\u043e\\u0440\\u0443\\u0434\\u043e\\u0432\\u0430\\u043d\\u0438\\u044f (\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442)\":\"1\",\"\\u041a\\u0442\\u043e \\u043c\\u043e\\u043d\\u0442\\u0438\\u0440\\u043e\\u0432\\u0430\\u043b (\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442)\":\"\\u041c\\u0430\\u0441\\u0442\\u0435\\u0440 \\u043a\\u043e\\u043c\\u043f\\u0430\\u043d\\u0438\\u0438 Edenvor SRL\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Victoria\",\"Contact_name\":\"Victoria\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"\\u0410\\u0441\\u0442\\u0430\\u043f\\u0435\\u043d\\u043a\\u043e\\u0432\\u0430 \\u042e\\u043b\\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\":\"37369397003\",\"\\u0418\\u043c\\u044f \\u043a\\u043b\\u0438\\u0435\\u043d\\u0442\\u0430 (\\u0421\\u041c\\u0421)\":\"Victoria\",\"\\u0410\\u0434\\u0440\\u0435\\u0441\":\"Ginta latin\\u0103 12\\/4\",\"\\u0422\\u0438\\u043f \\u043a\\u043b\\u0438\\u0435\\u043d\\u0442\\u0430\":\"\\u0424\\u0438\\u0437.\\u043b\\u0438\\u0446\",\"\\u0420\\u0430\\u0439\\u043e\\u043d\":\"\\u0427\\u0435\\u043a\\u0430\\u043d\\u044b\",\"\\u0422\\u0438\\u043f \\u0438 \\u043c\\u043e\\u0434\\u0435\\u043b\\u044c \\u043e\\u0431\\u043e\\u0440\\u0443\\u0434\\u043e\\u0432\\u0430\\u043d\\u0438\\u044f (\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442)\":\"Gree\",\"\\u041a\\u043e\\u043b - \\u0432\\u043e \\u043e\\u0431\\u043e\\u0440\\u0443\\u0434\\u043e\\u0432\\u0430\\u043d\\u0438\\u044f (\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442)\":\"1\",\"\\u041a\\u0442\\u043e \\u043c\\u043e\\u043d\\u0442\\u0438\\u0440\\u043e\\u0432\\u0430\\u043b (\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442)\":\"\\u041c\\u0430\\u0441\\u0442\\u0435\\u0440 \\u043a\\u043e\\u043c\\u043f\\u0430\\u043d\\u0438\\u0438 Edenvor SRL\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Victoria\",\"Contact_name\":\"Victoria\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"\\u0410\\u0441\\u0442\\u0430\\u043f\\u0435\\u043d\\u043a\\u043e\\u0432\\u0430 \\u042e\\u043b\\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\":\"37369397003\",\"\\u0418\\u043c\\u044f \\u043a\\u043b\\u0438\\u0435\\u043d\\u0442\\u0430 (\\u0421\\u041c\\u0421)\":\"Victoria\",\"\\u0410\\u0434\\u0440\\u0435\\u0441\":\"Ginta latin\\u0103 12\\/4\",\"\\u0422\\u0438\\u043f \\u043a\\u043b\\u0438\\u0435\\u043d\\u0442\\u0430\":\"\\u0424\\u0438\\u0437.\\u043b\\u0438\\u0446\",\"\\u0420\\u0430\\u0439\\u043e\\u043d\":\"\\u0427\\u0435\\u043a\\u0430\\u043d\\u044b\",\"\\u0422\\u0438\\u043f \\u0438 \\u043c\\u043e\\u0434\\u0435\\u043b\\u044c \\u043e\\u0431\\u043e\\u0440\\u0443\\u0434\\u043e\\u0432\\u0430\\u043d\\u0438\\u044f (\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442)\":\"Gree\",\"\\u041a\\u043e\\u043b - \\u0432\\u043e \\u043e\\u0431\\u043e\\u0440\\u0443\\u0434\\u043e\\u0432\\u0430\\u043d\\u0438\\u044f (\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442)\":\"1\",\"\\u041a\\u0442\\u043e \\u043c\\u043e\\u043d\\u0442\\u0438\\u0440\\u043e\\u0432\\u0430\\u043b (\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442)\":\"\\u041c\\u0430\\u0441\\u0442\\u0435\\u0440 \\u043a\\u043e\\u043c\\u043f\\u0430\\u043d\\u0438\\u0438 Edenvor SRL\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Victoria\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\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\":\"12.06.2026\",\"\\u041d\\u043e\\u043c\\u0435\\u0440\":\"181\"},\"document\":{\"Date\":\"12.06.2026\",\"Number\":\"181\"}}}","edit":true}} {"uid":"1e8f8a9"}
[2026-06-12 08:27:22] docflow.DEBUG: GAS raw response {"raw":"[object] (stdClass: {\"code\":1,\"url\":\"https://docs.google.com/open?id=1N4XBOpj2PnDWXQMmu_3uIwolA2JeNhmuLbjLr3Qmyvk\",\"file_id\":\"1N4XBOpj2PnDWXQMmu_3uIwolA2JeNhmuLbjLr3Qmyvk\",\"error\":\"\",\"vars\":\"\"})"} {"uid":"1e8f8a9"}
[2026-06-12 08:27:22] docflow.WARNING: AmoDrive generated-file move is not ready. {"fileId":"1N4XBOpj2PnDWXQMmu_3uIwolA2JeNhmuLbjLr3Qmyvk","context":null} {"uid":"1e8f8a9"}
[2026-06-12 08:29:24] docflow.INFO: Apel createDoc {"data":{"amoAccountId":"32990686","amoUserId":null,"amoEntityId":"43633387","amoEntityType":"2","templateId":"11625","corporateEntityId":"","settlementAccountId":"","is_signed":null,"gdi":null,"number":null,"currentAmoUserId":null,"lang":"ru"}} {"uid":"59bf6f2"}
[2026-06-12 08:29:24] docflow.INFO: Token is valid for account 32990686. [] {"uid":"59bf6f2"}
[2026-06-12 08:29:24] docflow.DEBUG: getClientAuth returned {"auth":"[object] (stdClass: {\"domain\":\"eurosanteh.amocrm.ru\",\"access_token\":\"eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImp0aSI6ImQ3ODJjZTM5ZDFlMTk4ZTAyMzNjYjgzZDk0MGRkMGVjZmE4NTg1OTUwYmQ3MjVhOWQ2ZGQ5YTJlNDY1OWVhYzg3MDY5NTliYzEyMDQwMjZkIn0.eyJhdWQiOiIwZDY0ZGZmYi1lNTRiLTQ0OGYtOWZiZi1iYWYyMjUxYTExZGIiLCJqdGkiOiJkNzgyY2UzOWQxZTE5OGUwMjMzY2I4M2Q5NDBkZDBlY2ZhODU4NTk1MGJkNzI1YTlkNmRkOWEyZTQ2NTllYWM4NzA2OTU5YmMxMjA0MDI2ZCIsImlhdCI6MTc4MTE1NTc3OSwibmJmIjoxNzgxMTU1Nzc5LCJleHAiOjE3ODEyNDIxNzksInN1YiI6IjEzNjg3MzAyIiwiZ3JhbnRfdHlwZSI6IiIsImFjY291bnRfaWQiOjMyOTkwNjg2LCJiYXNlX2RvbWFpbiI6ImFtb2NybS5ydSIsInZlcnNpb24iOjIsInNjb3BlcyI6WyJwdXNoX25vdGlmaWNhdGlvbnMiLCJjcm0iLCJub3RpZmljYXRpb25zIl0sImhhc2hfdXVpZCI6ImE3Zjg2MTIzLWI5MTEtNDA0OC1iMTg4LTkzYjJlYTAyMTFmZCIsImFwaV9kb21haW4iOiJhcGktYi5hbW9jcm0ucnUifQ.ZPUTjuN9yQtrs7KIwlx70oV_9ZxNTCbNTSs4TbQcr-TUnNo_URIGXgS_BHC_apsJ1wnBdRHyRnMo73nVY3JWlo1nhDQWAsMLBe36lyUJQCGGKxhV5x29txYdCsOIFwiUY8sW5Rxa57ijNAH3Rm9dIF5C2cFNXs5CwtM--nLshLf9CI5tBGzJw0YbKCihAjWSgLZFWZOeSK6R5gkKznLZZPqis5D3hpjxJWcisjhfRiWDLgtiztOaaQhwqNBgFqkpi3xfs0k1N8h_LiZaJI5wockULzYls_kPNxH4O_SpWmrCgGoe9wtr9FQ-t_PxL8A3hA5o7lQbUndwI65cHjI1hA\"})","file":"/home/ytvmclwh/document.amocrm.md/src/Models/Docs.php","line":121} {"uid":"59bf6f2"}
[2026-06-12 08:29:26] docflow.DEBUG: AmoDrive docflow context request {"url":"https://google.emale.uno/api/docflow/google-context","query":{"account_id":"32990686","entity_id":"43633387","entity_type":"leads"}} {"uid":"59bf6f2"}
[2026-06-12 08:29: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=43633387&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/06/12 08:29:27</td>\r\n</tr>\r\n</table>\r\n<hr><center>tengine</center>\r\n</body>\r\n</html>\r\n"} {"uid":"59bf6f2"}
[2026-06-12 08:29:26] docflow.DEBUG: AmoDrive docflow context request {"url":"https://gd.glucose-dev.online/api/docflow/google-context","query":{"account_id":"32990686","entity_id":"43633387","entity_type":"leads"}} {"uid":"59bf6f2"}
[2026-06-12 08:29: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":"43633387","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":"59bf6f2"}
[2026-06-12 08:29:26] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://google.emale.uno/api/docflow/prepare-generated-doc","payload":{"account_id":"32990686","entity_id":"43633387","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"59bf6f2"}
[2026-06-12 08:29: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/06/12 08:29: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":"43633387","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"59bf6f2"}
[2026-06-12 08:29: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":"43633387","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"59bf6f2"}
[2026-06-12 08:29: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":"43633387","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"59bf6f2"}
[2026-06-12 08:29: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 182 20260612082926\",\"leadId\":\"43633387\",\"entities\":{\"\\u0441\\u0434\\u0435\\u043b\\u043a\\u0430\":{\"\\u041d\\u043e\\u043c\\u0435\\u0440 \\u043a\\u043e\\u043d\\u0442\\u0440\\u0430\\u043a\\u0442\\u0430\":\"196\",\"\\u041c\\u043e\\u0434\\u0435\\u043b\\u044c \\u043e\\u0431\\u043e\\u0440\\u0443\\u0434\\u043e\\u0432\\u0430\\u043d\\u0438\\u044f 1\":\"Gree\",\"\\u041f\\u043e\\u043f\\u044b\\u0442\\u043a\\u0430 \\u0441\\u0432\\u044f\\u0437\\u0438 \\u043e\\u0442 \\u043a\\u043b\\u0438\\u0435\\u043d\\u0442\\u0430\":\"1\",\"\\u041f\\u0440\\u0438\\u0447\\u0438\\u043d\\u0430 \\u043e\\u0442\\u043a\\u0430\\u0437\\u0430\":\"\\u041f\\u043e\\u0432\\u0442\\u043e\\u0440\\u043d\\u044b\\u0439 \\u043a\\u043b\\u0438\\u0435\\u043d\\u0442\",\"\\u0414\\u0430\\u0442\\u0430 \\u0438 \\u0432\\u0440\\u0435\\u043c\\u044f \\u0432\\u0438\\u0437\\u0438\\u0442\\u0430\":\"2026-06-02 15:16:00\",\"\\u0418\\u0441\\u043f\\u043e\\u043b\\u043d\\u0438\\u0442\\u0435\\u043b\\u044c\":\"Ghenadie Tiuhtii\",\"\\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\\u043d\\u0442\\u0430\\u0436\",\"\\u0414\\u0430\\u0442\\u0430 \\u0432\\u0438\\u0437\\u0438\\u0442\\u0430\":\"02.06.2026\",\"\\u0421\\u043b\\u0435\\u0434\\u0443\\u044e\\u0449\\u0430\\u044f \\u0434\\u0430\\u0442\\u0430 \\u0441\\u0435\\u0440\\u0432\\u0438\\u0441\\u0430\":\"02.06.2027\",\"ID\":\"43633387\",\"\\u0421\\u0434\\u0435\\u043b\\u043a\\u0430_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"\\u043f\\u0442\\u043e \\u0438 \\u043c\\u043e\\u043d\\u0442\\u0430\\u0436 \\u0432\\u043d\\u0435\\u0448\\u043d\\u0435\\u0433\\u043e \\u0431\\u043b\\u043e\\u043a\\u0430\",\"Lead_name\":\"\\u043f\\u0442\\u043e \\u0438 \\u043c\\u043e\\u043d\\u0442\\u0430\\u0436 \\u0432\\u043d\\u0435\\u0448\\u043d\\u0435\\u0433\\u043e \\u0431\\u043b\\u043e\\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\":{\"\\u041d\\u043e\\u043c\\u0435\\u0440 \\u043a\\u043e\\u043d\\u0442\\u0440\\u0430\\u043a\\u0442\\u0430\":\"196\",\"\\u041c\\u043e\\u0434\\u0435\\u043b\\u044c \\u043e\\u0431\\u043e\\u0440\\u0443\\u0434\\u043e\\u0432\\u0430\\u043d\\u0438\\u044f 1\":\"Gree\",\"\\u041f\\u043e\\u043f\\u044b\\u0442\\u043a\\u0430 \\u0441\\u0432\\u044f\\u0437\\u0438 \\u043e\\u0442 \\u043a\\u043b\\u0438\\u0435\\u043d\\u0442\\u0430\":\"1\",\"\\u041f\\u0440\\u0438\\u0447\\u0438\\u043d\\u0430 \\u043e\\u0442\\u043a\\u0430\\u0437\\u0430\":\"\\u041f\\u043e\\u0432\\u0442\\u043e\\u0440\\u043d\\u044b\\u0439 \\u043a\\u043b\\u0438\\u0435\\u043d\\u0442\",\"\\u0414\\u0430\\u0442\\u0430 \\u0438 \\u0432\\u0440\\u0435\\u043c\\u044f \\u0432\\u0438\\u0437\\u0438\\u0442\\u0430\":\"2026-06-02 15:16:00\",\"\\u0418\\u0441\\u043f\\u043e\\u043b\\u043d\\u0438\\u0442\\u0435\\u043b\\u044c\":\"Ghenadie Tiuhtii\",\"\\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\\u043d\\u0442\\u0430\\u0436\",\"\\u0414\\u0430\\u0442\\u0430 \\u0432\\u0438\\u0437\\u0438\\u0442\\u0430\":\"02.06.2026\",\"\\u0421\\u043b\\u0435\\u0434\\u0443\\u044e\\u0449\\u0430\\u044f \\u0434\\u0430\\u0442\\u0430 \\u0441\\u0435\\u0440\\u0432\\u0438\\u0441\\u0430\":\"02.06.2027\",\"ID\":\"43633387\",\"\\u0421\\u0434\\u0435\\u043b\\u043a\\u0430_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"\\u043f\\u0442\\u043e \\u0438 \\u043c\\u043e\\u043d\\u0442\\u0430\\u0436 \\u0432\\u043d\\u0435\\u0448\\u043d\\u0435\\u0433\\u043e \\u0431\\u043b\\u043e\\u043a\\u0430\",\"Lead_name\":\"\\u043f\\u0442\\u043e \\u0438 \\u043c\\u043e\\u043d\\u0442\\u0430\\u0436 \\u0432\\u043d\\u0435\\u0448\\u043d\\u0435\\u0433\\u043e \\u0431\\u043b\\u043e\\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\":{\"\\u0418\\u0414\\u041d\\u041e\":\"990502449484\",\"\\u0410\\u0434\\u0440\\u0435\\u0441\":\"sat.Milesti Mici str.Viteazu 23\",\"\\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)\":\"T5422\",\"\\u0422\\u0438\\u043f \\u0438 \\u043c\\u043e\\u0434\\u0435\\u043b\\u044c \\u043e\\u0431\\u043e\\u0440\\u0443\\u0434\\u043e\\u0432\\u0430\\u043d\\u0438\\u044f (\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442)\":\"GRee\",\"\\u0418\\u043c\\u044f \\u043a\\u043b\\u0438\\u0435\\u043d\\u0442\\u0430 (\\u0421\\u041c\\u0421)\":\"Larisa\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"060295902\",\"\\u0422\\u0438\\u043f \\u043a\\u043b\\u0438\\u0435\\u043d\\u0442\\u0430\":\"\\u0424\\u0438\\u0437.\\u043b\\u0438\\u0446\",\"\\u0420\\u0430\\u0439\\u043e\\u043d\":\"\\u0426\\u0435\\u043d\\u0442\\u0440\",\"\\u041a\\u043e\\u043b - \\u0432\\u043e \\u043e\\u0431\\u043e\\u0440\\u0443\\u0434\\u043e\\u0432\\u0430\\u043d\\u0438\\u044f (\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442)\":\"1\",\"\\u041a\\u0442\\u043e \\u043c\\u043e\\u043d\\u0442\\u0438\\u0440\\u043e\\u0432\\u0430\\u043b (\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442)\":\"\\u041c\\u0430\\u0441\\u0442\\u0435\\u0440 \\u043a\\u043e\\u043c\\u043f\\u0430\\u043d\\u0438\\u0438 Edenvor SRL\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Larisa Gindea\",\"Contact_name\":\"Larisa Gindea\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"\\u0410\\u0441\\u0442\\u0430\\u043f\\u0435\\u043d\\u043a\\u043e\\u0432\\u0430 \\u042e\\u043b\\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\":\"990502449484\",\"\\u0410\\u0434\\u0440\\u0435\\u0441\":\"sat.Milesti Mici str.Viteazu 23\",\"\\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)\":\"T5422\",\"\\u0422\\u0438\\u043f \\u0438 \\u043c\\u043e\\u0434\\u0435\\u043b\\u044c \\u043e\\u0431\\u043e\\u0440\\u0443\\u0434\\u043e\\u0432\\u0430\\u043d\\u0438\\u044f (\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442)\":\"GRee\",\"\\u0418\\u043c\\u044f \\u043a\\u043b\\u0438\\u0435\\u043d\\u0442\\u0430 (\\u0421\\u041c\\u0421)\":\"Larisa\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"060295902\",\"\\u0422\\u0438\\u043f \\u043a\\u043b\\u0438\\u0435\\u043d\\u0442\\u0430\":\"\\u0424\\u0438\\u0437.\\u043b\\u0438\\u0446\",\"\\u0420\\u0430\\u0439\\u043e\\u043d\":\"\\u0426\\u0435\\u043d\\u0442\\u0440\",\"\\u041a\\u043e\\u043b - \\u0432\\u043e \\u043e\\u0431\\u043e\\u0440\\u0443\\u0434\\u043e\\u0432\\u0430\\u043d\\u0438\\u044f (\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442)\":\"1\",\"\\u041a\\u0442\\u043e \\u043c\\u043e\\u043d\\u0442\\u0438\\u0440\\u043e\\u0432\\u0430\\u043b (\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442)\":\"\\u041c\\u0430\\u0441\\u0442\\u0435\\u0440 \\u043a\\u043e\\u043c\\u043f\\u0430\\u043d\\u0438\\u0438 Edenvor SRL\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Larisa Gindea\",\"Contact_name\":\"Larisa Gindea\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"\\u0410\\u0441\\u0442\\u0430\\u043f\\u0435\\u043d\\u043a\\u043e\\u0432\\u0430 \\u042e\\u043b\\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\":\"990502449484\",\"\\u0410\\u0434\\u0440\\u0435\\u0441\":\"sat.Milesti Mici str.Viteazu 23\",\"\\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)\":\"T5422\",\"\\u0422\\u0438\\u043f \\u0438 \\u043c\\u043e\\u0434\\u0435\\u043b\\u044c \\u043e\\u0431\\u043e\\u0440\\u0443\\u0434\\u043e\\u0432\\u0430\\u043d\\u0438\\u044f (\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442)\":\"GRee\",\"\\u0418\\u043c\\u044f \\u043a\\u043b\\u0438\\u0435\\u043d\\u0442\\u0430 (\\u0421\\u041c\\u0421)\":\"Larisa\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"060295902\",\"\\u0422\\u0438\\u043f \\u043a\\u043b\\u0438\\u0435\\u043d\\u0442\\u0430\":\"\\u0424\\u0438\\u0437.\\u043b\\u0438\\u0446\",\"\\u0420\\u0430\\u0439\\u043e\\u043d\":\"\\u0426\\u0435\\u043d\\u0442\\u0440\",\"\\u041a\\u043e\\u043b - \\u0432\\u043e \\u043e\\u0431\\u043e\\u0440\\u0443\\u0434\\u043e\\u0432\\u0430\\u043d\\u0438\\u044f (\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442)\":\"1\",\"\\u041a\\u0442\\u043e \\u043c\\u043e\\u043d\\u0442\\u0438\\u0440\\u043e\\u0432\\u0430\\u043b (\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442)\":\"\\u041c\\u0430\\u0441\\u0442\\u0435\\u0440 \\u043a\\u043e\\u043c\\u043f\\u0430\\u043d\\u0438\\u0438 Edenvor SRL\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Larisa Gindea\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\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\":\"12.06.2026\",\"\\u041d\\u043e\\u043c\\u0435\\u0440\":\"182\"},\"document\":{\"Date\":\"12.06.2026\",\"Number\":\"182\"}}}","edit":true}} {"uid":"59bf6f2"}
[2026-06-12 08:29:32] docflow.DEBUG: GAS raw response {"raw":"[object] (stdClass: {\"code\":1,\"url\":\"https://docs.google.com/open?id=1YmT7Oa95ALTiACU0637AjcKPwvzHhAnCbsf9sZVCRac\",\"file_id\":\"1YmT7Oa95ALTiACU0637AjcKPwvzHhAnCbsf9sZVCRac\",\"error\":\"\",\"vars\":\"\"})"} {"uid":"59bf6f2"}
[2026-06-12 08:29:32] docflow.WARNING: AmoDrive generated-file move is not ready. {"fileId":"1YmT7Oa95ALTiACU0637AjcKPwvzHhAnCbsf9sZVCRac","context":null} {"uid":"59bf6f2"}
[2026-06-12 08:32:32] docflow.INFO: Apel createDoc {"data":{"amoAccountId":"32990686","amoUserId":null,"amoEntityId":"40275777","amoEntityType":"2","templateId":"11625","corporateEntityId":"","settlementAccountId":"","is_signed":null,"gdi":null,"number":null,"currentAmoUserId":null,"lang":"ru"}} {"uid":"74d76d1"}
[2026-06-12 08:32:33] docflow.INFO: Token validation failed for account 32990686. Refreshing... {"http_code":null,"error_message":"HTTP/2 401 "} {"uid":"74d76d1"}
[2026-06-12 08:32:33] docflow.INFO: Attempting token refresh with payload: {"client_id":"0d64dffb-e54b-448f-9fbf-baf2251a11db","client_secret":"AXqHrT1J35SilTTtI3yyaHdQKiS5bonhySaPYkLmo7mR6ZZ9zDP24dUjG189VG9G","grant_type":"refresh_token","refresh_token":"def5020078867ccc9c0193a5aed085c9a9d0acfaf5ba51932f2d5317626f1eaa7f41ce7e5311d42c0365f9077728115aa1fa3ee146b2897956686fef441d87de352ec2b23d74ba45116cadd64f8cfcf8b29967c925db6300c1aa6ca8561a3057de80a4e536d08f474b8ff6c02755336affdfc1623ff9278661d094d8e49e3701d6762b72f31da9436fdb28e2ed79f9a788255e760d2aba6e54304872e6dafee054281b18ccb67e704ce832fdbf85d06d86ff6a8a500d6a183b49e8fb0b2acd10bfca67b8224154ebc00eec7c918380c0ccaca349966550235ddb69eb707da1c770cef442acfaa7a6c1bb804e19f9a77efe880596864b4f08a950f6be03da9cfb1e14af972406b1d4097d682db391e7c2fd5546d64189146cd047c8d6ddaf914e905dc1fc90d996dcb25b768fe5c85c1db444c9ce4050f00cf043586ce7d0e68d22d1d4093cb50354782323c91dc54f151cdd89e84c5b0baca4f8b830dd22812263c492d261f01b7dd26793d44823b3cb7cb1427a35f16c63eabb9b772ab53f7f74f37d188574fa0e6e00d29cc1dddf369fc727145a6a244bcf70b5b4991cfe6679c00221de5df345072721bd5cf465a3df884ef2edef8e7463e5accba0cea00b6d1394051cb7eaedc97de82ed32aec4c07de9c599089fc","redirect_uri":"https://document.amocrm.md/core/manager/install.php"} {"uid":"74d76d1"}
[2026-06-12 08:32:33] docflow.INFO: Token for account 32990686 refreshed successfully. [] {"uid":"74d76d1"}
[2026-06-12 08:32:33] docflow.DEBUG: getClientAuth returned {"auth":"[object] (stdClass: {\"domain\":\"eurosanteh.amocrm.ru\",\"access_token\":\"eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImp0aSI6ImFhNmRmZGM4YzI2YmMwMjIzOGQyMWI2ZjA1ZTUxZjI4MDhiZjQ3ZDIzZDIxN2Q2OGIyZTY1Y2IzYzNiNjIwMzY3Y2MyZTcyOTUzYzhiZmMzIn0.eyJhdWQiOiIwZDY0ZGZmYi1lNTRiLTQ0OGYtOWZiZi1iYWYyMjUxYTExZGIiLCJqdGkiOiJhYTZkZmRjOGMyNmJjMDIyMzhkMjFiNmYwNWU1MWYyODA4YmY0N2QyM2QyMTdkNjhiMmU2NWNiM2MzYjYyMDM2N2NjMmU3Mjk1M2M4YmZjMyIsImlhdCI6MTc4MTI0MjM1NCwibmJmIjoxNzgxMjQyMzU0LCJleHAiOjE3ODEzMjg3NTQsInN1YiI6IjEzNjg3MzAyIiwiZ3JhbnRfdHlwZSI6IiIsImFjY291bnRfaWQiOjMyOTkwNjg2LCJiYXNlX2RvbWFpbiI6ImFtb2NybS5ydSIsInZlcnNpb24iOjIsInNjb3BlcyI6WyJwdXNoX25vdGlmaWNhdGlvbnMiLCJjcm0iLCJub3RpZmljYXRpb25zIl0sImhhc2hfdXVpZCI6IjhlNTFhMGZhLTlkNTUtNGJiNC04NzFkLWE1MjU0MGJhNjk3YiIsImFwaV9kb21haW4iOiJhcGktYi5hbW9jcm0ucnUifQ.URlw0IR2-8LhvjBnpnksQrc4cYqGVIEY4JAna2m5MPi1VxebGP5xOaALHaQiihyH72hOPUWQq2y6tu8pfAZ-5mN3GJhcxI33bKtCma5_rdA9I1h2djVFt79zOqnwRsv5wUdlvm2_AKIcfs0FkIkImZQWxWsFlqvqBhSrpQSfq-EIGOsnNd05OpEjT0jLUspH4-dx-Qlw1kJlbkDzPD6w1-AY8GxRwlhusJ_ircaQeLBvqxC48akAJ6SHVgjNwRY0VgN40RuU20H8YnxMjZGOZ47pcCt8sisUCtTQF-QnzW9_w_pDwQLvV7F8gPXsZM5PMfZztDPbm9lZlO4S3Zv92g\"})","file":"/home/ytvmclwh/document.amocrm.md/src/Models/Docs.php","line":121} {"uid":"74d76d1"}
[2026-06-12 08:32:35] docflow.DEBUG: AmoDrive docflow context request {"url":"https://google.emale.uno/api/docflow/google-context","query":{"account_id":"32990686","entity_id":"40275777","entity_type":"leads"}} {"uid":"74d76d1"}
[2026-06-12 08:32:35] docflow.WARNING: AmoDrive docflow context request failed {"url":"https://google.emale.uno/api/docflow/google-context","http_code":null,"error":"HTTP/2 400 ","response":"<!DOCTYPE HTML PUBLIC \"-//IETF//DTD HTML 2.0//EN\">\r\n<html>\r\n<head><title>400 Bad Request</title></head>\r\n<body>\r\n<center><h1>400 Bad Request</h1></center>\r\n Sorry for the inconvenience.<br/>\r\nPlease report this message and include the following information to us.<br/>\r\nThank you very much!</p>\r\n<table>\r\n<tr>\r\n<td>URL:</td>\r\n<td>https://gd.glucose-dev.online/api/docflow/google-context?account_id=32990686&amp;entity_id=40275777&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/06/12 08:32:36</td>\r\n</tr>\r\n</table>\r\n<hr><center>tengine</center>\r\n</body>\r\n</html>\r\n"} {"uid":"74d76d1"}
[2026-06-12 08:32:35] docflow.DEBUG: AmoDrive docflow context request {"url":"https://gd.glucose-dev.online/api/docflow/google-context","query":{"account_id":"32990686","entity_id":"40275777","entity_type":"leads"}} {"uid":"74d76d1"}
[2026-06-12 08:32:35] docflow.WARNING: AmoDrive docflow context response is not ready, trying next backend. {"url":"https://gd.glucose-dev.online/api/docflow/google-context","payload":{"ok":true,"accountId":32990686,"entityId":"40275777","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":"74d76d1"}
[2026-06-12 08:32:35] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://google.emale.uno/api/docflow/prepare-generated-doc","payload":{"account_id":"32990686","entity_id":"40275777","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"74d76d1"}
[2026-06-12 08:32:35] docflow.WARNING: AmoDrive prepare-generated-doc request failed {"url":"https://google.emale.uno/api/docflow/prepare-generated-doc","http_code":null,"error":"HTTP/2 400 ","response":"<!DOCTYPE HTML PUBLIC \"-//IETF//DTD HTML 2.0//EN\">\r\n<html>\r\n<head><title>400 Bad Request</title></head>\r\n<body>\r\n<center><h1>400 Bad Request</h1></center>\r\n Sorry for the inconvenience.<br/>\r\nPlease report this message and include the following information to us.<br/>\r\nThank you very much!</p>\r\n<table>\r\n<tr>\r\n<td>URL:</td>\r\n<td>https://gd.glucose-dev.online/api/docflow/prepare-generated-doc</td>\r\n</tr>\r\n<tr>\r\n<td>Server:</td>\r\n<td>mail.glucose-dev.online</td>\r\n</tr>\r\n<tr>\r\n<td>Date:</td>\r\n<td>2026/06/12 08:32:36</td>\r\n</tr>\r\n</table>\r\n<hr><center>tengine</center>\r\n</body>\r\n</html>\r\n","payload":{"account_id":"32990686","entity_id":"40275777","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"74d76d1"}
[2026-06-12 08:32:35] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://gd.glucose-dev.online/api/docflow/prepare-generated-doc","payload":{"account_id":"32990686","entity_id":"40275777","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"74d76d1"}
[2026-06-12 08:32:35] docflow.WARNING: AmoDrive prepare-generated-doc request failed {"url":"https://gd.glucose-dev.online/api/docflow/prepare-generated-doc","http_code":null,"error":"HTTP/2 404 ","response":"[object] (stdClass: {\"ok\":false,\"error\":\"AmoDrive is not installed for this account.\",\"accountId\":32990686})","payload":{"account_id":"32990686","entity_id":"40275777","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"74d76d1"}
[2026-06-12 08:32:35] 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 183 20260612083235\",\"leadId\":\"40275777\",\"entities\":{\"\\u0441\\u0434\\u0435\\u043b\\u043a\\u0430\":{\"\\u0421\\u043b\\u0435\\u0434\\u0443\\u044e\\u0449\\u0430\\u044f \\u0434\\u0430\\u0442\\u0430 \\u0441\\u0435\\u0440\\u0432\\u0438\\u0441\\u0430\":\"21.03.2026\",\"\\u041d\\u043e\\u043c\\u0435\\u0440 \\u043a\\u043e\\u043d\\u0442\\u0440\\u0430\\u043a\\u0442\\u0430\":\"V365\",\"\\u0414\\u0430\\u0442\\u0430 \\u043c\\u043e\\u043d\\u0442\\u0430\\u0436\\u0430 (\\u0411\\u0414)\":\"21.03.2025\",\"\\u041d\\u0430\\u0437\\u0432\\u0430\\u043d\\u0438\\u0435 \\u0442\\u043e\\u0432\\u0430\\u0440\\u0430 (\\u0411\\u0414)\":\"Haier Flexis 35\",\"\\u0412\\u0438\\u0434 \\u0440\\u0430\\u0431\\u043e\\u0442\\u044b (\\u0411\\u0414)\":\"\\u0423\\u0441\\u0442\\u0430\\u043d\\u043e\\u0432\\u043a\\u0430 \\u043a\\u043e\\u043d\\u0434\\u0438\\u0446\\u0438\\u043e\\u043d\\u0435\\u0440\\u0430\",\"\\u0424\\u0418\\u041e \\u043c\\u043e\\u043d\\u0442\\u0430\\u0436\\u043d\\u0438\\u043a\\u0430 (\\u0411\\u0414)\":\"\\u0411\\u0443\\u043b\\u0433\\u0430\\u0440\\u044c \\u0412.\",\"ID\":\"40275777\",\"\\u0421\\u0434\\u0435\\u043b\\u043a\\u0430_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"\\u0421\\u0434\\u0435\\u043b\\u043a\\u0430 #40275777\",\"Lead_name\":\"\\u0421\\u0434\\u0435\\u043b\\u043a\\u0430 #40275777\",\"\\u0411\\u044e\\u0434\\u0436\\u0435\\u0442\":\"0\",\"Budget\":\"0\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"\\u0410\\u0441\\u0442\\u0430\\u043f\\u0435\\u043d\\u043a\\u043e\\u0432\\u0430 \\u042e\\u043b\\u0438\\u0430\\u043d\\u043d\\u0430\",\"Responsible\":\"\\u0410\\u0441\\u0442\\u0430\\u043f\\u0435\\u043d\\u043a\\u043e\\u0432\\u0430 \\u042e\\u043b\\u0438\\u0430\\u043d\\u043d\\u0430\"},\"lead\":{\"\\u0421\\u043b\\u0435\\u0434\\u0443\\u044e\\u0449\\u0430\\u044f \\u0434\\u0430\\u0442\\u0430 \\u0441\\u0435\\u0440\\u0432\\u0438\\u0441\\u0430\":\"21.03.2026\",\"\\u041d\\u043e\\u043c\\u0435\\u0440 \\u043a\\u043e\\u043d\\u0442\\u0440\\u0430\\u043a\\u0442\\u0430\":\"V365\",\"\\u0414\\u0430\\u0442\\u0430 \\u043c\\u043e\\u043d\\u0442\\u0430\\u0436\\u0430 (\\u0411\\u0414)\":\"21.03.2025\",\"\\u041d\\u0430\\u0437\\u0432\\u0430\\u043d\\u0438\\u0435 \\u0442\\u043e\\u0432\\u0430\\u0440\\u0430 (\\u0411\\u0414)\":\"Haier Flexis 35\",\"\\u0412\\u0438\\u0434 \\u0440\\u0430\\u0431\\u043e\\u0442\\u044b (\\u0411\\u0414)\":\"\\u0423\\u0441\\u0442\\u0430\\u043d\\u043e\\u0432\\u043a\\u0430 \\u043a\\u043e\\u043d\\u0434\\u0438\\u0446\\u0438\\u043e\\u043d\\u0435\\u0440\\u0430\",\"\\u0424\\u0418\\u041e \\u043c\\u043e\\u043d\\u0442\\u0430\\u0436\\u043d\\u0438\\u043a\\u0430 (\\u0411\\u0414)\":\"\\u0411\\u0443\\u043b\\u0433\\u0430\\u0440\\u044c \\u0412.\",\"ID\":\"40275777\",\"\\u0421\\u0434\\u0435\\u043b\\u043a\\u0430_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"\\u0421\\u0434\\u0435\\u043b\\u043a\\u0430 #40275777\",\"Lead_name\":\"\\u0421\\u0434\\u0435\\u043b\\u043a\\u0430 #40275777\",\"\\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\":\"2008052007112\",\"\\u0410\\u0434\\u0440\\u0435\\u0441\":\"str.Mircea cel Batrin 45 et10 ap320\",\"\\u041f\\u043e\\u0432\\u0442\\u043e\\u0440\\u043d\\u044b\\u0439 \\u043a\\u043b\\u0438\\u0435\\u043d\\u0442?\":\"\\u0414\\u0430\",\"\\u0414\\u0430\\u0442\\u0430 \\u043c\\u043e\\u043d\\u0442\\u0430\\u0436\\u0430 (\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442)\":\"21.03.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 Flexis 35\",\"\\u041a\\u043e\\u043b - \\u0432\\u043e \\u043e\\u0431\\u043e\\u0440\\u0443\\u0434\\u043e\\u0432\\u0430\\u043d\\u0438\\u044f (\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442)\":\"1\",\"\\u041a\\u0442\\u043e \\u043c\\u043e\\u043d\\u0442\\u0438\\u0440\\u043e\\u0432\\u0430\\u043b (\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442)\":\"\\u041c\\u0430\\u0441\\u0442\\u0435\\u0440 \\u043a\\u043e\\u043c\\u043f\\u0430\\u043d\\u0438\\u0438 Edenvor SRL\",\"\\u041d\\u043e\\u043c\\u0435\\u0440 \\u043a\\u043e\\u043d\\u0442\\u0440\\u0430\\u043a\\u0442\\u0430 (\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442)\":\"V365\",\"\\u0418\\u043c\\u044f \\u043a\\u043b\\u0438\\u0435\\u043d\\u0442\\u0430 (\\u0421\\u041c\\u0421)\":\"Denis\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"069714585\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Denis Dicusar\",\"Contact_name\":\"Denis Dicusar\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"\\u0410\\u0441\\u0442\\u0430\\u043f\\u0435\\u043d\\u043a\\u043e\\u0432\\u0430 \\u042e\\u043b\\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\":\"2008052007112\",\"\\u0410\\u0434\\u0440\\u0435\\u0441\":\"str.Mircea cel Batrin 45 et10 ap320\",\"\\u041f\\u043e\\u0432\\u0442\\u043e\\u0440\\u043d\\u044b\\u0439 \\u043a\\u043b\\u0438\\u0435\\u043d\\u0442?\":\"\\u0414\\u0430\",\"\\u0414\\u0430\\u0442\\u0430 \\u043c\\u043e\\u043d\\u0442\\u0430\\u0436\\u0430 (\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442)\":\"21.03.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 Flexis 35\",\"\\u041a\\u043e\\u043b - \\u0432\\u043e \\u043e\\u0431\\u043e\\u0440\\u0443\\u0434\\u043e\\u0432\\u0430\\u043d\\u0438\\u044f (\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442)\":\"1\",\"\\u041a\\u0442\\u043e \\u043c\\u043e\\u043d\\u0442\\u0438\\u0440\\u043e\\u0432\\u0430\\u043b (\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442)\":\"\\u041c\\u0430\\u0441\\u0442\\u0435\\u0440 \\u043a\\u043e\\u043c\\u043f\\u0430\\u043d\\u0438\\u0438 Edenvor SRL\",\"\\u041d\\u043e\\u043c\\u0435\\u0440 \\u043a\\u043e\\u043d\\u0442\\u0440\\u0430\\u043a\\u0442\\u0430 (\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442)\":\"V365\",\"\\u0418\\u043c\\u044f \\u043a\\u043b\\u0438\\u0435\\u043d\\u0442\\u0430 (\\u0421\\u041c\\u0421)\":\"Denis\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"069714585\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Denis Dicusar\",\"Contact_name\":\"Denis Dicusar\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"\\u0410\\u0441\\u0442\\u0430\\u043f\\u0435\\u043d\\u043a\\u043e\\u0432\\u0430 \\u042e\\u043b\\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\":\"2008052007112\",\"\\u0410\\u0434\\u0440\\u0435\\u0441\":\"str.Mircea cel Batrin 45 et10 ap320\",\"\\u041f\\u043e\\u0432\\u0442\\u043e\\u0440\\u043d\\u044b\\u0439 \\u043a\\u043b\\u0438\\u0435\\u043d\\u0442?\":\"\\u0414\\u0430\",\"\\u0414\\u0430\\u0442\\u0430 \\u043c\\u043e\\u043d\\u0442\\u0430\\u0436\\u0430 (\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442)\":\"21.03.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 Flexis 35\",\"\\u041a\\u043e\\u043b - \\u0432\\u043e \\u043e\\u0431\\u043e\\u0440\\u0443\\u0434\\u043e\\u0432\\u0430\\u043d\\u0438\\u044f (\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442)\":\"1\",\"\\u041a\\u0442\\u043e \\u043c\\u043e\\u043d\\u0442\\u0438\\u0440\\u043e\\u0432\\u0430\\u043b (\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442)\":\"\\u041c\\u0430\\u0441\\u0442\\u0435\\u0440 \\u043a\\u043e\\u043c\\u043f\\u0430\\u043d\\u0438\\u0438 Edenvor SRL\",\"\\u041d\\u043e\\u043c\\u0435\\u0440 \\u043a\\u043e\\u043d\\u0442\\u0440\\u0430\\u043a\\u0442\\u0430 (\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442)\":\"V365\",\"\\u0418\\u043c\\u044f \\u043a\\u043b\\u0438\\u0435\\u043d\\u0442\\u0430 (\\u0421\\u041c\\u0421)\":\"Denis\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"069714585\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Denis Dicusar\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\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\":\"12.06.2026\",\"\\u041d\\u043e\\u043c\\u0435\\u0440\":\"183\"},\"document\":{\"Date\":\"12.06.2026\",\"Number\":\"183\"}}}","edit":true}} {"uid":"74d76d1"}
[2026-06-12 08:32:41] docflow.DEBUG: GAS raw response {"raw":"[object] (stdClass: {\"code\":1,\"url\":\"https://docs.google.com/open?id=1Mi0jpa0A-BoW7Gr2NdgrY2_J1sbKO3scnhMHNk-MDe0\",\"file_id\":\"1Mi0jpa0A-BoW7Gr2NdgrY2_J1sbKO3scnhMHNk-MDe0\",\"error\":\"\",\"vars\":\"\"})"} {"uid":"74d76d1"}
[2026-06-12 08:32:41] docflow.WARNING: AmoDrive generated-file move is not ready. {"fileId":"1Mi0jpa0A-BoW7Gr2NdgrY2_J1sbKO3scnhMHNk-MDe0","context":null} {"uid":"74d76d1"}
[2026-06-12 08:36:25] docflow.INFO: Apel createDoc {"data":{"amoAccountId":"32990686","amoUserId":null,"amoEntityId":"44395271","amoEntityType":"2","templateId":"11625","corporateEntityId":"","settlementAccountId":"","is_signed":null,"gdi":null,"number":null,"currentAmoUserId":null,"lang":"ru"}} {"uid":"b03276a"}
[2026-06-12 08:36:25] docflow.INFO: Token is valid for account 32990686. [] {"uid":"b03276a"}
[2026-06-12 08:36:25] docflow.DEBUG: getClientAuth returned {"auth":"[object] (stdClass: {\"domain\":\"eurosanteh.amocrm.ru\",\"access_token\":\"eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImp0aSI6ImFhNmRmZGM4YzI2YmMwMjIzOGQyMWI2ZjA1ZTUxZjI4MDhiZjQ3ZDIzZDIxN2Q2OGIyZTY1Y2IzYzNiNjIwMzY3Y2MyZTcyOTUzYzhiZmMzIn0.eyJhdWQiOiIwZDY0ZGZmYi1lNTRiLTQ0OGYtOWZiZi1iYWYyMjUxYTExZGIiLCJqdGkiOiJhYTZkZmRjOGMyNmJjMDIyMzhkMjFiNmYwNWU1MWYyODA4YmY0N2QyM2QyMTdkNjhiMmU2NWNiM2MzYjYyMDM2N2NjMmU3Mjk1M2M4YmZjMyIsImlhdCI6MTc4MTI0MjM1NCwibmJmIjoxNzgxMjQyMzU0LCJleHAiOjE3ODEzMjg3NTQsInN1YiI6IjEzNjg3MzAyIiwiZ3JhbnRfdHlwZSI6IiIsImFjY291bnRfaWQiOjMyOTkwNjg2LCJiYXNlX2RvbWFpbiI6ImFtb2NybS5ydSIsInZlcnNpb24iOjIsInNjb3BlcyI6WyJwdXNoX25vdGlmaWNhdGlvbnMiLCJjcm0iLCJub3RpZmljYXRpb25zIl0sImhhc2hfdXVpZCI6IjhlNTFhMGZhLTlkNTUtNGJiNC04NzFkLWE1MjU0MGJhNjk3YiIsImFwaV9kb21haW4iOiJhcGktYi5hbW9jcm0ucnUifQ.URlw0IR2-8LhvjBnpnksQrc4cYqGVIEY4JAna2m5MPi1VxebGP5xOaALHaQiihyH72hOPUWQq2y6tu8pfAZ-5mN3GJhcxI33bKtCma5_rdA9I1h2djVFt79zOqnwRsv5wUdlvm2_AKIcfs0FkIkImZQWxWsFlqvqBhSrpQSfq-EIGOsnNd05OpEjT0jLUspH4-dx-Qlw1kJlbkDzPD6w1-AY8GxRwlhusJ_ircaQeLBvqxC48akAJ6SHVgjNwRY0VgN40RuU20H8YnxMjZGOZ47pcCt8sisUCtTQF-QnzW9_w_pDwQLvV7F8gPXsZM5PMfZztDPbm9lZlO4S3Zv92g\"})","file":"/home/ytvmclwh/document.amocrm.md/src/Models/Docs.php","line":121} {"uid":"b03276a"}
[2026-06-12 08:36:26] docflow.DEBUG: AmoDrive docflow context request {"url":"https://google.emale.uno/api/docflow/google-context","query":{"account_id":"32990686","entity_id":"44395271","entity_type":"leads"}} {"uid":"b03276a"}
[2026-06-12 08:36: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=44395271&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/06/12 08:36:27</td>\r\n</tr>\r\n</table>\r\n<hr><center>tengine</center>\r\n</body>\r\n</html>\r\n"} {"uid":"b03276a"}
[2026-06-12 08:36:26] docflow.DEBUG: AmoDrive docflow context request {"url":"https://gd.glucose-dev.online/api/docflow/google-context","query":{"account_id":"32990686","entity_id":"44395271","entity_type":"leads"}} {"uid":"b03276a"}
[2026-06-12 08:36:27] docflow.WARNING: AmoDrive docflow context response is not ready, trying next backend. {"url":"https://gd.glucose-dev.online/api/docflow/google-context","payload":{"ok":true,"accountId":32990686,"entityId":"44395271","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":"b03276a"}
[2026-06-12 08:36:27] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://google.emale.uno/api/docflow/prepare-generated-doc","payload":{"account_id":"32990686","entity_id":"44395271","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"b03276a"}
[2026-06-12 08:36:35] docflow.WARNING: AmoDrive prepare-generated-doc request failed {"url":"https://google.emale.uno/api/docflow/prepare-generated-doc","http_code":null,"error":"HTTP/2 400 ","response":"<!DOCTYPE HTML PUBLIC \"-//IETF//DTD HTML 2.0//EN\">\r\n<html>\r\n<head><title>400 Bad Request</title></head>\r\n<body>\r\n<center><h1>400 Bad Request</h1></center>\r\n Sorry for the inconvenience.<br/>\r\nPlease report this message and include the following information to us.<br/>\r\nThank you very much!</p>\r\n<table>\r\n<tr>\r\n<td>URL:</td>\r\n<td>https://gd.glucose-dev.online/api/docflow/prepare-generated-doc</td>\r\n</tr>\r\n<tr>\r\n<td>Server:</td>\r\n<td>mail.glucose-dev.online</td>\r\n</tr>\r\n<tr>\r\n<td>Date:</td>\r\n<td>2026/06/12 08:36:28</td>\r\n</tr>\r\n</table>\r\n<hr><center>tengine</center>\r\n</body>\r\n</html>\r\n","payload":{"account_id":"32990686","entity_id":"44395271","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"b03276a"}
[2026-06-12 08:36:35] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://gd.glucose-dev.online/api/docflow/prepare-generated-doc","payload":{"account_id":"32990686","entity_id":"44395271","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"b03276a"}
[2026-06-12 08:36:35] docflow.WARNING: AmoDrive prepare-generated-doc request failed {"url":"https://gd.glucose-dev.online/api/docflow/prepare-generated-doc","http_code":null,"error":"HTTP/2 404 ","response":"[object] (stdClass: {\"ok\":false,\"error\":\"AmoDrive is not installed for this account.\",\"accountId\":32990686})","payload":{"account_id":"32990686","entity_id":"44395271","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"b03276a"}
[2026-06-12 08:36:35] 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 184 20260612083626\",\"leadId\":\"44395271\",\"entities\":{\"\\u0441\\u0434\\u0435\\u043b\\u043a\\u0430\":{\"\\u0414\\u0430\\u0442\\u0430 \\u0438 \\u0432\\u0440\\u0435\\u043c\\u044f \\u0432\\u0438\\u0437\\u0438\\u0442\\u0430\":\"2026-06-12 08:35:00\",\"\\u0414\\u0430\\u0442\\u0430 \\u0432\\u0438\\u0437\\u0438\\u0442\\u0430\":\"12.06.2026\",\"\\u0421\\u043b\\u0435\\u0434\\u0443\\u044e\\u0449\\u0430\\u044f \\u0434\\u0430\\u0442\\u0430 \\u0441\\u0435\\u0440\\u0432\\u0438\\u0441\\u0430\":\"12.06.2027\",\"ID\":\"44395271\",\"\\u0421\\u0434\\u0435\\u043b\\u043a\\u0430_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"\\u0421\\u0434\\u0435\\u043b\\u043a\\u0430 0069915523\",\"Lead_name\":\"\\u0421\\u0434\\u0435\\u043b\\u043a\\u0430 0069915523\",\"\\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-06-12 08:35:00\",\"\\u0414\\u0430\\u0442\\u0430 \\u0432\\u0438\\u0437\\u0438\\u0442\\u0430\":\"12.06.2026\",\"\\u0421\\u043b\\u0435\\u0434\\u0443\\u044e\\u0449\\u0430\\u044f \\u0434\\u0430\\u0442\\u0430 \\u0441\\u0435\\u0440\\u0432\\u0438\\u0441\\u0430\":\"12.06.2027\",\"ID\":\"44395271\",\"\\u0421\\u0434\\u0435\\u043b\\u043a\\u0430_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"\\u0421\\u0434\\u0435\\u043b\\u043a\\u0430 0069915523\",\"Lead_name\":\"\\u0421\\u0434\\u0435\\u043b\\u043a\\u0430 0069915523\",\"\\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\":\"0069915523\",\"\\u0418\\u043c\\u044f \\u043a\\u043b\\u0438\\u0435\\u043d\\u0442\\u0430 (\\u0421\\u041c\\u0421)\":\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442 0069915523\",\"\\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 0069915523\",\"Contact_name\":\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442 0069915523\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"\\u0410\\u0441\\u0442\\u0430\\u043f\\u0435\\u043d\\u043a\\u043e\\u0432\\u0430 \\u042e\\u043b\\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\":\"0069915523\",\"\\u0418\\u043c\\u044f \\u043a\\u043b\\u0438\\u0435\\u043d\\u0442\\u0430 (\\u0421\\u041c\\u0421)\":\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442 0069915523\",\"\\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 0069915523\",\"Contact_name\":\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442 0069915523\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"\\u0410\\u0441\\u0442\\u0430\\u043f\\u0435\\u043d\\u043a\\u043e\\u0432\\u0430 \\u042e\\u043b\\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\":\"0069915523\",\"\\u0418\\u043c\\u044f \\u043a\\u043b\\u0438\\u0435\\u043d\\u0442\\u0430 (\\u0421\\u041c\\u0421)\":\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442 0069915523\",\"\\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 0069915523\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\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\":\"12.06.2026\",\"\\u041d\\u043e\\u043c\\u0435\\u0440\":\"184\"},\"document\":{\"Date\":\"12.06.2026\",\"Number\":\"184\"}}}","edit":true}} {"uid":"b03276a"}
[2026-06-12 08:36:41] docflow.DEBUG: GAS raw response {"raw":"[object] (stdClass: {\"code\":1,\"url\":\"https://docs.google.com/open?id=1XB6NqMlv2Wj9zMQQ7WlZa5-ySCKhRUjT1L4pYyOuCUk\",\"file_id\":\"1XB6NqMlv2Wj9zMQQ7WlZa5-ySCKhRUjT1L4pYyOuCUk\",\"error\":\"\",\"vars\":\"\"})"} {"uid":"b03276a"}
[2026-06-12 08:36:41] docflow.WARNING: AmoDrive generated-file move is not ready. {"fileId":"1XB6NqMlv2Wj9zMQQ7WlZa5-ySCKhRUjT1L4pYyOuCUk","context":null} {"uid":"b03276a"}
[2026-06-12 08:38:46] docflow.INFO: Apel createDoc {"data":{"amoAccountId":"32990686","amoUserId":null,"amoEntityId":"40278105","amoEntityType":"2","templateId":"11625","corporateEntityId":"","settlementAccountId":"","is_signed":null,"gdi":null,"number":null,"currentAmoUserId":null,"lang":"ru"}} {"uid":"bce9d42"}
[2026-06-12 08:38:46] docflow.INFO: Token is valid for account 32990686. [] {"uid":"bce9d42"}
[2026-06-12 08:38:46] docflow.DEBUG: getClientAuth returned {"auth":"[object] (stdClass: {\"domain\":\"eurosanteh.amocrm.ru\",\"access_token\":\"eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImp0aSI6ImFhNmRmZGM4YzI2YmMwMjIzOGQyMWI2ZjA1ZTUxZjI4MDhiZjQ3ZDIzZDIxN2Q2OGIyZTY1Y2IzYzNiNjIwMzY3Y2MyZTcyOTUzYzhiZmMzIn0.eyJhdWQiOiIwZDY0ZGZmYi1lNTRiLTQ0OGYtOWZiZi1iYWYyMjUxYTExZGIiLCJqdGkiOiJhYTZkZmRjOGMyNmJjMDIyMzhkMjFiNmYwNWU1MWYyODA4YmY0N2QyM2QyMTdkNjhiMmU2NWNiM2MzYjYyMDM2N2NjMmU3Mjk1M2M4YmZjMyIsImlhdCI6MTc4MTI0MjM1NCwibmJmIjoxNzgxMjQyMzU0LCJleHAiOjE3ODEzMjg3NTQsInN1YiI6IjEzNjg3MzAyIiwiZ3JhbnRfdHlwZSI6IiIsImFjY291bnRfaWQiOjMyOTkwNjg2LCJiYXNlX2RvbWFpbiI6ImFtb2NybS5ydSIsInZlcnNpb24iOjIsInNjb3BlcyI6WyJwdXNoX25vdGlmaWNhdGlvbnMiLCJjcm0iLCJub3RpZmljYXRpb25zIl0sImhhc2hfdXVpZCI6IjhlNTFhMGZhLTlkNTUtNGJiNC04NzFkLWE1MjU0MGJhNjk3YiIsImFwaV9kb21haW4iOiJhcGktYi5hbW9jcm0ucnUifQ.URlw0IR2-8LhvjBnpnksQrc4cYqGVIEY4JAna2m5MPi1VxebGP5xOaALHaQiihyH72hOPUWQq2y6tu8pfAZ-5mN3GJhcxI33bKtCma5_rdA9I1h2djVFt79zOqnwRsv5wUdlvm2_AKIcfs0FkIkImZQWxWsFlqvqBhSrpQSfq-EIGOsnNd05OpEjT0jLUspH4-dx-Qlw1kJlbkDzPD6w1-AY8GxRwlhusJ_ircaQeLBvqxC48akAJ6SHVgjNwRY0VgN40RuU20H8YnxMjZGOZ47pcCt8sisUCtTQF-QnzW9_w_pDwQLvV7F8gPXsZM5PMfZztDPbm9lZlO4S3Zv92g\"})","file":"/home/ytvmclwh/document.amocrm.md/src/Models/Docs.php","line":121} {"uid":"bce9d42"}
[2026-06-12 08:38:47] docflow.DEBUG: AmoDrive docflow context request {"url":"https://google.emale.uno/api/docflow/google-context","query":{"account_id":"32990686","entity_id":"40278105","entity_type":"leads"}} {"uid":"bce9d42"}
[2026-06-12 08:38:48] docflow.WARNING: AmoDrive docflow context request failed {"url":"https://google.emale.uno/api/docflow/google-context","http_code":null,"error":"HTTP/2 400 ","response":"<!DOCTYPE HTML PUBLIC \"-//IETF//DTD HTML 2.0//EN\">\r\n<html>\r\n<head><title>400 Bad Request</title></head>\r\n<body>\r\n<center><h1>400 Bad Request</h1></center>\r\n Sorry for the inconvenience.<br/>\r\nPlease report this message and include the following information to us.<br/>\r\nThank you very much!</p>\r\n<table>\r\n<tr>\r\n<td>URL:</td>\r\n<td>https://gd.glucose-dev.online/api/docflow/google-context?account_id=32990686&amp;entity_id=40278105&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/06/12 08:38:49</td>\r\n</tr>\r\n</table>\r\n<hr><center>tengine</center>\r\n</body>\r\n</html>\r\n"} {"uid":"bce9d42"}
[2026-06-12 08:38:48] docflow.DEBUG: AmoDrive docflow context request {"url":"https://gd.glucose-dev.online/api/docflow/google-context","query":{"account_id":"32990686","entity_id":"40278105","entity_type":"leads"}} {"uid":"bce9d42"}
[2026-06-12 08:38:48] docflow.WARNING: AmoDrive docflow context response is not ready, trying next backend. {"url":"https://gd.glucose-dev.online/api/docflow/google-context","payload":{"ok":true,"accountId":32990686,"entityId":"40278105","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":"bce9d42"}
[2026-06-12 08:38:48] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://google.emale.uno/api/docflow/prepare-generated-doc","payload":{"account_id":"32990686","entity_id":"40278105","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"bce9d42"}
[2026-06-12 08:38:48] docflow.WARNING: AmoDrive prepare-generated-doc request failed {"url":"https://google.emale.uno/api/docflow/prepare-generated-doc","http_code":null,"error":"HTTP/2 400 ","response":"<!DOCTYPE HTML PUBLIC \"-//IETF//DTD HTML 2.0//EN\">\r\n<html>\r\n<head><title>400 Bad Request</title></head>\r\n<body>\r\n<center><h1>400 Bad Request</h1></center>\r\n Sorry for the inconvenience.<br/>\r\nPlease report this message and include the following information to us.<br/>\r\nThank you very much!</p>\r\n<table>\r\n<tr>\r\n<td>URL:</td>\r\n<td>https://gd.glucose-dev.online/api/docflow/prepare-generated-doc</td>\r\n</tr>\r\n<tr>\r\n<td>Server:</td>\r\n<td>mail.glucose-dev.online</td>\r\n</tr>\r\n<tr>\r\n<td>Date:</td>\r\n<td>2026/06/12 08:38:49</td>\r\n</tr>\r\n</table>\r\n<hr><center>tengine</center>\r\n</body>\r\n</html>\r\n","payload":{"account_id":"32990686","entity_id":"40278105","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"bce9d42"}
[2026-06-12 08:38:48] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://gd.glucose-dev.online/api/docflow/prepare-generated-doc","payload":{"account_id":"32990686","entity_id":"40278105","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"bce9d42"}
[2026-06-12 08:38:48] docflow.WARNING: AmoDrive prepare-generated-doc request failed {"url":"https://gd.glucose-dev.online/api/docflow/prepare-generated-doc","http_code":null,"error":"HTTP/2 404 ","response":"[object] (stdClass: {\"ok\":false,\"error\":\"AmoDrive is not installed for this account.\",\"accountId\":32990686})","payload":{"account_id":"32990686","entity_id":"40278105","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"bce9d42"}
[2026-06-12 08:38:48] 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 185 20260612083847\",\"leadId\":\"40278105\",\"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.06.2027\",\"\\u041d\\u043e\\u043c\\u0435\\u0440 \\u043a\\u043e\\u043d\\u0442\\u0440\\u0430\\u043a\\u0442\\u0430\":\"A3374\",\"\\u0414\\u0430\\u0442\\u0430 \\u043c\\u043e\\u043d\\u0442\\u0430\\u0436\\u0430 (\\u0411\\u0414)\":\"16.06.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)\":\"\\u041f\\u0430\\u0441\\u043a\\u0430\\u043b \\u042d.\",\"\\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-06-12 08:38:00\",\"\\u0414\\u0430\\u0442\\u0430 \\u0432\\u0438\\u0437\\u0438\\u0442\\u0430\":\"12.06.2026\",\"ID\":\"40278105\",\"\\u0421\\u0434\\u0435\\u043b\\u043a\\u0430_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"\\u0423\\u0441\\u0442\\u0432\\u043d\\u043e\\u0432\\u043a\\u0430 \\u043a\\u043e\\u043d\\u0434\\u0438\\u0446\\u0438\\u043e\\u043d\\u0435\\u0440\\u0430\",\"Lead_name\":\"\\u0423\\u0441\\u0442\\u0432\\u043d\\u043e\\u0432\\u043a\\u0430 \\u043a\\u043e\\u043d\\u0434\\u0438\\u0446\\u0438\\u043e\\u043d\\u0435\\u0440\\u0430\",\"\\u0411\\u044e\\u0434\\u0436\\u0435\\u0442\":\"0\",\"Budget\":\"0\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"\\u0410\\u0441\\u0442\\u0430\\u043f\\u0435\\u043d\\u043a\\u043e\\u0432\\u0430 \\u042e\\u043b\\u0438\\u0430\\u043d\\u043d\\u0430\",\"Responsible\":\"\\u0410\\u0441\\u0442\\u0430\\u043f\\u0435\\u043d\\u043a\\u043e\\u0432\\u0430 \\u042e\\u043b\\u0438\\u0430\\u043d\\u043d\\u0430\"},\"lead\":{\"\\u0421\\u043b\\u0435\\u0434\\u0443\\u044e\\u0449\\u0430\\u044f \\u0434\\u0430\\u0442\\u0430 \\u0441\\u0435\\u0440\\u0432\\u0438\\u0441\\u0430\":\"11.06.2027\",\"\\u041d\\u043e\\u043c\\u0435\\u0440 \\u043a\\u043e\\u043d\\u0442\\u0440\\u0430\\u043a\\u0442\\u0430\":\"A3374\",\"\\u0414\\u0430\\u0442\\u0430 \\u043c\\u043e\\u043d\\u0442\\u0430\\u0436\\u0430 (\\u0411\\u0414)\":\"16.06.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)\":\"\\u041f\\u0430\\u0441\\u043a\\u0430\\u043b \\u042d.\",\"\\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-06-12 08:38:00\",\"\\u0414\\u0430\\u0442\\u0430 \\u0432\\u0438\\u0437\\u0438\\u0442\\u0430\":\"12.06.2026\",\"ID\":\"40278105\",\"\\u0421\\u0434\\u0435\\u043b\\u043a\\u0430_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"\\u0423\\u0441\\u0442\\u0432\\u043d\\u043e\\u0432\\u043a\\u0430 \\u043a\\u043e\\u043d\\u0434\\u0438\\u0446\\u0438\\u043e\\u043d\\u0435\\u0440\\u0430\",\"Lead_name\":\"\\u0423\\u0441\\u0442\\u0432\\u043d\\u043e\\u0432\\u043a\\u0430 \\u043a\\u043e\\u043d\\u0434\\u0438\\u0446\\u0438\\u043e\\u043d\\u0435\\u0440\\u0430\",\"\\u0411\\u044e\\u0434\\u0436\\u0435\\u0442\":\"0\",\"Budget\":\"0\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"\\u0410\\u0441\\u0442\\u0430\\u043f\\u0435\\u043d\\u043a\\u043e\\u0432\\u0430 \\u042e\\u043b\\u0438\\u0430\\u043d\\u043d\\u0430\",\"Responsible\":\"\\u0410\\u0441\\u0442\\u0430\\u043f\\u0435\\u043d\\u043a\\u043e\\u0432\\u0430 \\u042e\\u043b\\u0438\\u0430\\u043d\\u043d\\u0430\"},\"\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442\":{\"\\u0418\\u0414\\u041d\\u041e\":\"962208549449\",\"\\u0410\\u0434\\u0440\\u0435\\u0441\":\"str.pandurilor 13A\",\"\\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)\":\"A3374\",\"\\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)\":\"Georgii\",\"\\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\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"+37369218447\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Georgii Onu\",\"Contact_name\":\"Georgii Onu\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"\\u0410\\u0441\\u0442\\u0430\\u043f\\u0435\\u043d\\u043a\\u043e\\u0432\\u0430 \\u042e\\u043b\\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\":\"962208549449\",\"\\u0410\\u0434\\u0440\\u0435\\u0441\":\"str.pandurilor 13A\",\"\\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)\":\"A3374\",\"\\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)\":\"Georgii\",\"\\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\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"+37369218447\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Georgii Onu\",\"Contact_name\":\"Georgii Onu\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"\\u0410\\u0441\\u0442\\u0430\\u043f\\u0435\\u043d\\u043a\\u043e\\u0432\\u0430 \\u042e\\u043b\\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\":\"962208549449\",\"\\u0410\\u0434\\u0440\\u0435\\u0441\":\"str.pandurilor 13A\",\"\\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)\":\"A3374\",\"\\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)\":\"Georgii\",\"\\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\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"+37369218447\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Georgii Onu\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\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\":\"12.06.2026\",\"\\u041d\\u043e\\u043c\\u0435\\u0440\":\"185\"},\"document\":{\"Date\":\"12.06.2026\",\"Number\":\"185\"}}}","edit":true}} {"uid":"bce9d42"}
[2026-06-12 08:38:54] docflow.DEBUG: GAS raw response {"raw":"[object] (stdClass: {\"code\":1,\"url\":\"https://docs.google.com/open?id=1BL5GN9uzBvJE3z--RVQmAvIOQdfOllrfo081_KfMD1s\",\"file_id\":\"1BL5GN9uzBvJE3z--RVQmAvIOQdfOllrfo081_KfMD1s\",\"error\":\"\",\"vars\":\"\"})"} {"uid":"bce9d42"}
[2026-06-12 08:38:54] docflow.WARNING: AmoDrive generated-file move is not ready. {"fileId":"1BL5GN9uzBvJE3z--RVQmAvIOQdfOllrfo081_KfMD1s","context":null} {"uid":"bce9d42"}
[2026-06-12 08:53:18] docflow.INFO: Apel createDoc {"data":{"amoAccountId":"32990686","amoUserId":null,"amoEntityId":"44264485","amoEntityType":"2","templateId":"11625","corporateEntityId":"","settlementAccountId":"","is_signed":null,"gdi":null,"number":null,"currentAmoUserId":null,"lang":"ru"}} {"uid":"e6d4bec"}
[2026-06-12 08:53:19] docflow.INFO: Token is valid for account 32990686. [] {"uid":"e6d4bec"}
[2026-06-12 08:53:19] docflow.DEBUG: getClientAuth returned {"auth":"[object] (stdClass: {\"domain\":\"eurosanteh.amocrm.ru\",\"access_token\":\"eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImp0aSI6ImFhNmRmZGM4YzI2YmMwMjIzOGQyMWI2ZjA1ZTUxZjI4MDhiZjQ3ZDIzZDIxN2Q2OGIyZTY1Y2IzYzNiNjIwMzY3Y2MyZTcyOTUzYzhiZmMzIn0.eyJhdWQiOiIwZDY0ZGZmYi1lNTRiLTQ0OGYtOWZiZi1iYWYyMjUxYTExZGIiLCJqdGkiOiJhYTZkZmRjOGMyNmJjMDIyMzhkMjFiNmYwNWU1MWYyODA4YmY0N2QyM2QyMTdkNjhiMmU2NWNiM2MzYjYyMDM2N2NjMmU3Mjk1M2M4YmZjMyIsImlhdCI6MTc4MTI0MjM1NCwibmJmIjoxNzgxMjQyMzU0LCJleHAiOjE3ODEzMjg3NTQsInN1YiI6IjEzNjg3MzAyIiwiZ3JhbnRfdHlwZSI6IiIsImFjY291bnRfaWQiOjMyOTkwNjg2LCJiYXNlX2RvbWFpbiI6ImFtb2NybS5ydSIsInZlcnNpb24iOjIsInNjb3BlcyI6WyJwdXNoX25vdGlmaWNhdGlvbnMiLCJjcm0iLCJub3RpZmljYXRpb25zIl0sImhhc2hfdXVpZCI6IjhlNTFhMGZhLTlkNTUtNGJiNC04NzFkLWE1MjU0MGJhNjk3YiIsImFwaV9kb21haW4iOiJhcGktYi5hbW9jcm0ucnUifQ.URlw0IR2-8LhvjBnpnksQrc4cYqGVIEY4JAna2m5MPi1VxebGP5xOaALHaQiihyH72hOPUWQq2y6tu8pfAZ-5mN3GJhcxI33bKtCma5_rdA9I1h2djVFt79zOqnwRsv5wUdlvm2_AKIcfs0FkIkImZQWxWsFlqvqBhSrpQSfq-EIGOsnNd05OpEjT0jLUspH4-dx-Qlw1kJlbkDzPD6w1-AY8GxRwlhusJ_ircaQeLBvqxC48akAJ6SHVgjNwRY0VgN40RuU20H8YnxMjZGOZ47pcCt8sisUCtTQF-QnzW9_w_pDwQLvV7F8gPXsZM5PMfZztDPbm9lZlO4S3Zv92g\"})","file":"/home/ytvmclwh/document.amocrm.md/src/Models/Docs.php","line":121} {"uid":"e6d4bec"}
[2026-06-12 08:53:21] docflow.DEBUG: AmoDrive docflow context request {"url":"https://google.emale.uno/api/docflow/google-context","query":{"account_id":"32990686","entity_id":"44264485","entity_type":"leads"}} {"uid":"e6d4bec"}
[2026-06-12 08:53:21] docflow.WARNING: AmoDrive docflow context request failed {"url":"https://google.emale.uno/api/docflow/google-context","http_code":null,"error":"HTTP/2 400 ","response":"<!DOCTYPE HTML PUBLIC \"-//IETF//DTD HTML 2.0//EN\">\r\n<html>\r\n<head><title>400 Bad Request</title></head>\r\n<body>\r\n<center><h1>400 Bad Request</h1></center>\r\n Sorry for the inconvenience.<br/>\r\nPlease report this message and include the following information to us.<br/>\r\nThank you very much!</p>\r\n<table>\r\n<tr>\r\n<td>URL:</td>\r\n<td>https://gd.glucose-dev.online/api/docflow/google-context?account_id=32990686&amp;entity_id=44264485&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/06/12 08:53:22</td>\r\n</tr>\r\n</table>\r\n<hr><center>tengine</center>\r\n</body>\r\n</html>\r\n"} {"uid":"e6d4bec"}
[2026-06-12 08:53:21] docflow.DEBUG: AmoDrive docflow context request {"url":"https://gd.glucose-dev.online/api/docflow/google-context","query":{"account_id":"32990686","entity_id":"44264485","entity_type":"leads"}} {"uid":"e6d4bec"}
[2026-06-12 08:53:21] docflow.WARNING: AmoDrive docflow context response is not ready, trying next backend. {"url":"https://gd.glucose-dev.online/api/docflow/google-context","payload":{"ok":true,"accountId":32990686,"entityId":"44264485","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":"e6d4bec"}
[2026-06-12 08:53:21] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://google.emale.uno/api/docflow/prepare-generated-doc","payload":{"account_id":"32990686","entity_id":"44264485","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"e6d4bec"}
[2026-06-12 08:53:21] docflow.WARNING: AmoDrive prepare-generated-doc request failed {"url":"https://google.emale.uno/api/docflow/prepare-generated-doc","http_code":null,"error":"HTTP/2 400 ","response":"<!DOCTYPE HTML PUBLIC \"-//IETF//DTD HTML 2.0//EN\">\r\n<html>\r\n<head><title>400 Bad Request</title></head>\r\n<body>\r\n<center><h1>400 Bad Request</h1></center>\r\n Sorry for the inconvenience.<br/>\r\nPlease report this message and include the following information to us.<br/>\r\nThank you very much!</p>\r\n<table>\r\n<tr>\r\n<td>URL:</td>\r\n<td>https://gd.glucose-dev.online/api/docflow/prepare-generated-doc</td>\r\n</tr>\r\n<tr>\r\n<td>Server:</td>\r\n<td>mail.glucose-dev.online</td>\r\n</tr>\r\n<tr>\r\n<td>Date:</td>\r\n<td>2026/06/12 08:53:22</td>\r\n</tr>\r\n</table>\r\n<hr><center>tengine</center>\r\n</body>\r\n</html>\r\n","payload":{"account_id":"32990686","entity_id":"44264485","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"e6d4bec"}
[2026-06-12 08:53:21] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://gd.glucose-dev.online/api/docflow/prepare-generated-doc","payload":{"account_id":"32990686","entity_id":"44264485","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"e6d4bec"}
[2026-06-12 08:53:21] docflow.WARNING: AmoDrive prepare-generated-doc request failed {"url":"https://gd.glucose-dev.online/api/docflow/prepare-generated-doc","http_code":null,"error":"HTTP/2 404 ","response":"[object] (stdClass: {\"ok\":false,\"error\":\"AmoDrive is not installed for this account.\",\"accountId\":32990686})","payload":{"account_id":"32990686","entity_id":"44264485","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"e6d4bec"}
[2026-06-12 08:53:21] 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 186 20260612085321\",\"leadId\":\"44264485\",\"entities\":{\"\\u0441\\u0434\\u0435\\u043b\\u043a\\u0430\":{\"ID\":\"44264485\",\"\\u0421\\u0434\\u0435\\u043b\\u043a\\u0430_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"\\u0421\\u0434\\u0435\\u043b\\u043a\\u0430 068781662\",\"Lead_name\":\"\\u0421\\u0434\\u0435\\u043b\\u043a\\u0430 068781662\",\"\\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\":{\"ID\":\"44264485\",\"\\u0421\\u0434\\u0435\\u043b\\u043a\\u0430_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"\\u0421\\u0434\\u0435\\u043b\\u043a\\u0430 068781662\",\"Lead_name\":\"\\u0421\\u0434\\u0435\\u043b\\u043a\\u0430 068781662\",\"\\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\":\"068781662\",\"\\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 068781662\",\"Contact_name\":\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442 068781662\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"\\u0410\\u0441\\u0442\\u0430\\u043f\\u0435\\u043d\\u043a\\u043e\\u0432\\u0430 \\u042e\\u043b\\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\":\"068781662\",\"\\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 068781662\",\"Contact_name\":\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442 068781662\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"\\u0410\\u0441\\u0442\\u0430\\u043f\\u0435\\u043d\\u043a\\u043e\\u0432\\u0430 \\u042e\\u043b\\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\":\"068781662\",\"\\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 068781662\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\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\":\"12.06.2026\",\"\\u041d\\u043e\\u043c\\u0435\\u0440\":\"186\"},\"document\":{\"Date\":\"12.06.2026\",\"Number\":\"186\"}}}","edit":true}} {"uid":"e6d4bec"}
[2026-06-12 08:53:27] docflow.DEBUG: GAS raw response {"raw":"[object] (stdClass: {\"code\":1,\"url\":\"https://docs.google.com/open?id=1OGjMMpgDamC3rFYGeKlPEl-5_cMcBtDr4B_r2_rOEW0\",\"file_id\":\"1OGjMMpgDamC3rFYGeKlPEl-5_cMcBtDr4B_r2_rOEW0\",\"error\":\"\",\"vars\":\"\"})"} {"uid":"e6d4bec"}
[2026-06-12 08:53:27] docflow.WARNING: AmoDrive generated-file move is not ready. {"fileId":"1OGjMMpgDamC3rFYGeKlPEl-5_cMcBtDr4B_r2_rOEW0","context":null} {"uid":"e6d4bec"}
[2026-06-12 09:32:08] docflow.INFO: Apel createDoc {"data":{"amoAccountId":"22699852","amoUserId":null,"amoEntityId":"38714734","amoEntityType":"2","templateId":"11527","corporateEntityId":"","settlementAccountId":"","is_signed":null,"gdi":null,"number":null,"currentAmoUserId":null,"lang":"ru"}} {"uid":"77e3dee"}
[2026-06-12 09:32:08] docflow.INFO: Token is valid for account 22699852. [] {"uid":"77e3dee"}
[2026-06-12 09:32:08] docflow.DEBUG: getClientAuth returned {"auth":"[object] (stdClass: {\"domain\":\"emigrare.amocrm.ru\",\"access_token\":\"eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImp0aSI6IjQ2ODg0ZjAwYTM3MWVlZjM4YjhmZWJjMzA2ZDNjY2Y1Y2U0N2QwNGJkODFiM2E0MjBhNDY1MjgwNTgwOGIyMDBkMDliZTBjNTkyYzlmYjkwIn0.eyJhdWQiOiIwZDY0ZGZmYi1lNTRiLTQ0OGYtOWZiZi1iYWYyMjUxYTExZGIiLCJqdGkiOiI0Njg4NGYwMGEzNzFlZWYzOGI4ZmViYzMwNmQzY2NmNWNlNDdkMDRiZDgxYjNhNDIwYTQ2NTI4MDU4MDhiMjAwZDA5YmUwYzU5MmM5ZmI5MCIsImlhdCI6MTc4MTE3MDc4NywibmJmIjoxNzgxMTcwNzg3LCJleHAiOjE3ODEyNTcxODcsInN1YiI6IjI5MzAzODAiLCJncmFudF90eXBlIjoiIiwiYWNjb3VudF9pZCI6MjI2OTk4NTIsImJhc2VfZG9tYWluIjoiYW1vY3JtLnJ1IiwidmVyc2lvbiI6Miwic2NvcGVzIjpbInB1c2hfbm90aWZpY2F0aW9ucyIsImNybSIsIm5vdGlmaWNhdGlvbnMiXSwiaGFzaF91dWlkIjoiMGI5YzZiYTItYTIzZS00ZWEzLWE0ZDItZWVkNDYwYWU0NmEwIiwiYXBpX2RvbWFpbiI6ImFwaS1hLmFtb2NybS5ydSJ9.juKsVnAdPwU6WvARuhO2zWsQkr3l8mzYRT0WGXBFbrcnY8THfrzIimYGzqpe5gZ6xypHWKlzTISW7gasRsp7knBcF0rYDIvNGN33-Bv-GluzESiyvlxAu3uX2MDxl1rNaZdC2X5qxGvhT819sxibl3R5A0pqMkAhtw785aqpWIpVozTufRVMN8IRaNLQbVaUvt-e_I1ltPVYnwU9GZaFQnsfIbpb68ascMEm9a0s1lhFo4RPjWfRTU5ymXK5yiplRTX1IOn8vgfl7fk7ayzfzDdfeSoozdabE-N7-gKppULkgHLwZh11B3rcrQl4zJbgumM9qMzlyMhs_VAeGCpxVA\"})","file":"/home/ytvmclwh/document.amocrm.md/src/Models/Docs.php","line":121} {"uid":"77e3dee"}
[2026-06-12 09:32:10] docflow.DEBUG: AmoDrive docflow context request {"url":"https://google.emale.uno/api/docflow/google-context","query":{"account_id":"22699852","entity_id":"38714734","entity_type":"leads"}} {"uid":"77e3dee"}
[2026-06-12 09:32:10] docflow.WARNING: AmoDrive docflow context request failed {"url":"https://google.emale.uno/api/docflow/google-context","http_code":null,"error":"HTTP/2 400 ","response":"<!DOCTYPE HTML PUBLIC \"-//IETF//DTD HTML 2.0//EN\">\r\n<html>\r\n<head><title>400 Bad Request</title></head>\r\n<body>\r\n<center><h1>400 Bad Request</h1></center>\r\n Sorry for the inconvenience.<br/>\r\nPlease report this message and include the following information to us.<br/>\r\nThank you very much!</p>\r\n<table>\r\n<tr>\r\n<td>URL:</td>\r\n<td>https://gd.glucose-dev.online/api/docflow/google-context?account_id=22699852&amp;entity_id=38714734&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/06/12 09:32:11</td>\r\n</tr>\r\n</table>\r\n<hr><center>tengine</center>\r\n</body>\r\n</html>\r\n"} {"uid":"77e3dee"}
[2026-06-12 09:32:10] docflow.DEBUG: AmoDrive docflow context request {"url":"https://gd.glucose-dev.online/api/docflow/google-context","query":{"account_id":"22699852","entity_id":"38714734","entity_type":"leads"}} {"uid":"77e3dee"}
[2026-06-12 09:32:10] docflow.DEBUG: AmoDrive docflow context response {"url":"https://gd.glucose-dev.online/api/docflow/google-context","payload":{"ok":true,"accountId":22699852,"entityId":"38714734","entityType":"leads","amodrive":{"installed":true,"widgetStatus":"installed","amoAccountId":22699852,"accountHost":"emigrare.amocrm.ru","license":{"status":"active","configuredStatus":"active","expiresAt":"2026-08-20T10:16:56.291Z","isExpired":false,"isTrial":false,"isActive":true,"expiredByDate":false,"daysRemaining":70,"isLifetime":false},"licenseActive":true,"googleConnected":true,"googleEmail":"emigrare.md@gmail.com","googleHasDriveScope":true,"googleHasDriveFileScope":true,"googleHasOwnershipScope":true,"readyForGeneratedFileMove":true,"readyForTransfer":true},"folder":{"id":"1luX12m8BepOJJsCFuysLOpjWS-SCbIQV","name":"Cet.md ( Hnatyshyn Yurii )","webViewLink":"https://drive.google.com/drive/folders/1luX12m8BepOJJsCFuysLOpjWS-SCbIQV"}}} {"uid":"77e3dee"}
[2026-06-12 09:32:10] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://google.emale.uno/api/docflow/prepare-generated-doc","payload":{"account_id":"22699852","entity_id":"38714734","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"77e3dee"}
[2026-06-12 09:32:10] docflow.WARNING: AmoDrive prepare-generated-doc request failed {"url":"https://google.emale.uno/api/docflow/prepare-generated-doc","http_code":null,"error":"HTTP/2 400 ","response":"<!DOCTYPE HTML PUBLIC \"-//IETF//DTD HTML 2.0//EN\">\r\n<html>\r\n<head><title>400 Bad Request</title></head>\r\n<body>\r\n<center><h1>400 Bad Request</h1></center>\r\n Sorry for the inconvenience.<br/>\r\nPlease report this message and include the following information to us.<br/>\r\nThank you very much!</p>\r\n<table>\r\n<tr>\r\n<td>URL:</td>\r\n<td>https://gd.glucose-dev.online/api/docflow/prepare-generated-doc</td>\r\n</tr>\r\n<tr>\r\n<td>Server:</td>\r\n<td>mail.glucose-dev.online</td>\r\n</tr>\r\n<tr>\r\n<td>Date:</td>\r\n<td>2026/06/12 09:32:11</td>\r\n</tr>\r\n</table>\r\n<hr><center>tengine</center>\r\n</body>\r\n</html>\r\n","payload":{"account_id":"22699852","entity_id":"38714734","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"77e3dee"}
[2026-06-12 09:32:10] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://gd.glucose-dev.online/api/docflow/prepare-generated-doc","payload":{"account_id":"22699852","entity_id":"38714734","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"77e3dee"}
[2026-06-12 09:32:14] docflow.DEBUG: AmoDrive prepare-generated-doc response {"url":"https://gd.glucose-dev.online/api/docflow/prepare-generated-doc","payload":{"ok":true,"accountId":22699852,"entityId":"38714734","entityType":"leads","generatorEmail":"info@glucose.md","directGenerationReady":true,"folder":{"id":"1luX12m8BepOJJsCFuysLOpjWS-SCbIQV","name":"Cet.md ( Hnatyshyn Yurii )","webViewLink":"https://drive.google.com/drive/folders/1luX12m8BepOJJsCFuysLOpjWS-SCbIQV"},"generatorAccess":{"ok":true,"targetEmail":"info@glucose.md","permission":{"id":"15090742993472653631","emailAddress":"info@glucose.md","role":"writer","pendingOwner":false}}}} {"uid":"77e3dee"}
[2026-06-12 09:32:14] docflow.DEBUG: GAS request {"url":"https://script.google.com/macros/s/AKfycbwrvOJD46zkuoTzdhpc1kulhV8jRfgQBFZfQ121nkIip_k8yKit4xrbWTOzaJ-C-Yed6w/exec","body":{"templateFileId":"1fg3oSTbF4IjGkVHWbBV4RiDKEcqI4Do0-nHFPwkleY4","accountId":"22699852","folderId":"1luX12m8BepOJJsCFuysLOpjWS-SCbIQV","key":"~VTsK5dcnHc2cSSsjM$LFSjLlgbmJXwrp3R2P5nd","data":"{\"fileName\":\"\\u0421\\u0447\\u0435\\u0442 \\u043d\\u0430 \\u043e\\u043f\\u043b\\u0430\\u0442\\u0443 DZ \\/ LZ \\/ OB (EUR\\/USD\\/MDL) 139 20260612093210\",\"leadId\":\"38714734\",\"entities\":{\"\\u0441\\u0434\\u0435\\u043b\\u043a\\u0430\":{\"#Manager Front\":\"\\u041e\\u043a\\u0441\\u0430\\u043d\\u0430 \\u0413\\u0440\\u0430\\u0431\\u043a\\u043e\",\"google_folder_id_leads_field\":\"1luX12m8BepOJJsCFuysLOpjWS-SCbIQV\",\"google_folder_link_leads_field\":\"https:\\/\\/drive.google.com\\/drive\\/folders\\/1luX12m8BepOJJsCFuysLOpjWS-SCbIQV\",\"Compania\":\"EMG Consulting Group SRL\",\"Suma contract\":\"6665\",\"Manager Juridic\":\"Alexei Sitnic\",\"#Manager Jurist\":\"Degteva Alina\",\"Tentative de apel\":\"0\",\"Urm\\u0103torul contact\":\"2024-11-19 16:29:00\",\"Suma \\u20ac\":\"0\",\"ID\":\"38714734\",\"\\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\":\"6665\",\"Budget\":\"6665\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"Dascal Anatolie\",\"Responsible\":\"Dascal Anatolie\"},\"lead\":{\"#Manager Front\":\"\\u041e\\u043a\\u0441\\u0430\\u043d\\u0430 \\u0413\\u0440\\u0430\\u0431\\u043a\\u043e\",\"google_folder_id_leads_field\":\"1luX12m8BepOJJsCFuysLOpjWS-SCbIQV\",\"google_folder_link_leads_field\":\"https:\\/\\/drive.google.com\\/drive\\/folders\\/1luX12m8BepOJJsCFuysLOpjWS-SCbIQV\",\"Compania\":\"EMG Consulting Group SRL\",\"Suma contract\":\"6665\",\"Manager Juridic\":\"Alexei Sitnic\",\"#Manager Jurist\":\"Degteva Alina\",\"Tentative de apel\":\"0\",\"Urm\\u0103torul contact\":\"2024-11-19 16:29:00\",\"Suma \\u20ac\":\"0\",\"ID\":\"38714734\",\"\\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\":\"6665\",\"Budget\":\"6665\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"Dascal Anatolie\",\"Responsible\":\"Dascal Anatolie\"},\"\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442\":{\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"+40755872102\",\"Limba vorbita\":\"Rusa\",\"Email\":\"hnyuriy.5@gmail.com\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Hnatyshyn Yurii\",\"Contact_name\":\"Hnatyshyn Yurii\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"Dascal Anatolie\",\"Responsible\":\"Dascal Anatolie\"},\"contact\":{\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"+40755872102\",\"Limba vorbita\":\"Rusa\",\"Email\":\"hnyuriy.5@gmail.com\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Hnatyshyn Yurii\",\"Contact_name\":\"Hnatyshyn Yurii\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"Dascal Anatolie\",\"Responsible\":\"Dascal Anatolie\"},\"\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442\\u044b\":[{\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"+40755872102\",\"Limba vorbita\":\"Rusa\",\"Email\":\"hnyuriy.5@gmail.com\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Hnatyshyn Yurii\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"Dascal Anatolie\"}],\"\\u0434\\u043e\\u043a\\u0443\\u043c\\u0435\\u043d\\u0442\":{\"\\u0414\\u0430\\u0442\\u0430\":\"12.06.2026\",\"\\u041d\\u043e\\u043c\\u0435\\u0440\":\"139\"},\"document\":{\"Date\":\"12.06.2026\",\"Number\":\"139\"}}}","edit":true,"folderMode":"direct"}} {"uid":"77e3dee"}
[2026-06-12 09:32:20] docflow.DEBUG: GAS raw response {"raw":"[object] (stdClass: {\"code\":1,\"url\":\"https://docs.google.com/open?id=1OlmHeGxAk57x0PMs2XsIfL14GDLE0LrZk04CH_ZAQk8\",\"file_id\":\"1OlmHeGxAk57x0PMs2XsIfL14GDLE0LrZk04CH_ZAQk8\",\"error\":\"\",\"vars\":\"\"})"} {"uid":"77e3dee"}
[2026-06-12 09:32:20] docflow.INFO: Skipping AmoDrive finalize because document was generated directly in the prepared entity folder. {"fileId":"1OlmHeGxAk57x0PMs2XsIfL14GDLE0LrZk04CH_ZAQk8","folder":{"id":"1luX12m8BepOJJsCFuysLOpjWS-SCbIQV","name":"Cet.md ( Hnatyshyn Yurii )","webViewLink":"https://drive.google.com/drive/folders/1luX12m8BepOJJsCFuysLOpjWS-SCbIQV"}} {"uid":"77e3dee"}
[2026-06-12 09:52:01] docflow.INFO: Apel createDoc {"data":{"amoAccountId":"22699852","amoUserId":null,"amoEntityId":"41932962","amoEntityType":"2","templateId":"11482","corporateEntityId":"","settlementAccountId":"","is_signed":null,"gdi":null,"number":null,"currentAmoUserId":null,"lang":"ru"}} {"uid":"3614461"}
[2026-06-12 09:52:02] docflow.INFO: Token is valid for account 22699852. [] {"uid":"3614461"}
[2026-06-12 09:52:02] docflow.DEBUG: getClientAuth returned {"auth":"[object] (stdClass: {\"domain\":\"emigrare.amocrm.ru\",\"access_token\":\"eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImp0aSI6IjQ2ODg0ZjAwYTM3MWVlZjM4YjhmZWJjMzA2ZDNjY2Y1Y2U0N2QwNGJkODFiM2E0MjBhNDY1MjgwNTgwOGIyMDBkMDliZTBjNTkyYzlmYjkwIn0.eyJhdWQiOiIwZDY0ZGZmYi1lNTRiLTQ0OGYtOWZiZi1iYWYyMjUxYTExZGIiLCJqdGkiOiI0Njg4NGYwMGEzNzFlZWYzOGI4ZmViYzMwNmQzY2NmNWNlNDdkMDRiZDgxYjNhNDIwYTQ2NTI4MDU4MDhiMjAwZDA5YmUwYzU5MmM5ZmI5MCIsImlhdCI6MTc4MTE3MDc4NywibmJmIjoxNzgxMTcwNzg3LCJleHAiOjE3ODEyNTcxODcsInN1YiI6IjI5MzAzODAiLCJncmFudF90eXBlIjoiIiwiYWNjb3VudF9pZCI6MjI2OTk4NTIsImJhc2VfZG9tYWluIjoiYW1vY3JtLnJ1IiwidmVyc2lvbiI6Miwic2NvcGVzIjpbInB1c2hfbm90aWZpY2F0aW9ucyIsImNybSIsIm5vdGlmaWNhdGlvbnMiXSwiaGFzaF91dWlkIjoiMGI5YzZiYTItYTIzZS00ZWEzLWE0ZDItZWVkNDYwYWU0NmEwIiwiYXBpX2RvbWFpbiI6ImFwaS1hLmFtb2NybS5ydSJ9.juKsVnAdPwU6WvARuhO2zWsQkr3l8mzYRT0WGXBFbrcnY8THfrzIimYGzqpe5gZ6xypHWKlzTISW7gasRsp7knBcF0rYDIvNGN33-Bv-GluzESiyvlxAu3uX2MDxl1rNaZdC2X5qxGvhT819sxibl3R5A0pqMkAhtw785aqpWIpVozTufRVMN8IRaNLQbVaUvt-e_I1ltPVYnwU9GZaFQnsfIbpb68ascMEm9a0s1lhFo4RPjWfRTU5ymXK5yiplRTX1IOn8vgfl7fk7ayzfzDdfeSoozdabE-N7-gKppULkgHLwZh11B3rcrQl4zJbgumM9qMzlyMhs_VAeGCpxVA\"})","file":"/home/ytvmclwh/document.amocrm.md/src/Models/Docs.php","line":121} {"uid":"3614461"}
[2026-06-12 09:52:05] docflow.DEBUG: AmoDrive docflow context request {"url":"https://google.emale.uno/api/docflow/google-context","query":{"account_id":"22699852","entity_id":"41932962","entity_type":"leads"}} {"uid":"3614461"}
[2026-06-12 09:52: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=22699852&amp;entity_id=41932962&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/06/12 09:52:06</td>\r\n</tr>\r\n</table>\r\n<hr><center>tengine</center>\r\n</body>\r\n</html>\r\n"} {"uid":"3614461"}
[2026-06-12 09:52:05] docflow.DEBUG: AmoDrive docflow context request {"url":"https://gd.glucose-dev.online/api/docflow/google-context","query":{"account_id":"22699852","entity_id":"41932962","entity_type":"leads"}} {"uid":"3614461"}
[2026-06-12 09:52:05] docflow.DEBUG: AmoDrive docflow context response {"url":"https://gd.glucose-dev.online/api/docflow/google-context","payload":{"ok":true,"accountId":22699852,"entityId":"41932962","entityType":"leads","amodrive":{"installed":true,"widgetStatus":"installed","amoAccountId":22699852,"accountHost":"emigrare.amocrm.ru","license":{"status":"active","configuredStatus":"active","expiresAt":"2026-08-20T10:16:56.291Z","isExpired":false,"isTrial":false,"isActive":true,"expiredByDate":false,"daysRemaining":70,"isLifetime":false},"licenseActive":true,"googleConnected":true,"googleEmail":"emigrare.md@gmail.com","googleHasDriveScope":true,"googleHasDriveFileScope":true,"googleHasOwnershipScope":true,"readyForGeneratedFileMove":true,"readyForTransfer":true},"folder":{"id":"1S9cFaqHUJsa3_mhPXpNcRoHPG16Iskpj","name":"Cet.Md","webViewLink":"https://drive.google.com/drive/folders/1S9cFaqHUJsa3_mhPXpNcRoHPG16Iskpj"}}} {"uid":"3614461"}
[2026-06-12 09:52:05] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://google.emale.uno/api/docflow/prepare-generated-doc","payload":{"account_id":"22699852","entity_id":"41932962","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"3614461"}
[2026-06-12 09:52: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/06/12 09:52:06</td>\r\n</tr>\r\n</table>\r\n<hr><center>tengine</center>\r\n</body>\r\n</html>\r\n","payload":{"account_id":"22699852","entity_id":"41932962","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"3614461"}
[2026-06-12 09:52:05] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://gd.glucose-dev.online/api/docflow/prepare-generated-doc","payload":{"account_id":"22699852","entity_id":"41932962","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"3614461"}
[2026-06-12 09:52:07] docflow.DEBUG: AmoDrive prepare-generated-doc response {"url":"https://gd.glucose-dev.online/api/docflow/prepare-generated-doc","payload":{"ok":true,"accountId":22699852,"entityId":"41932962","entityType":"leads","generatorEmail":"info@glucose.md","directGenerationReady":true,"folder":{"id":"1S9cFaqHUJsa3_mhPXpNcRoHPG16Iskpj","name":"Cet.Md","webViewLink":"https://drive.google.com/drive/folders/1S9cFaqHUJsa3_mhPXpNcRoHPG16Iskpj"},"generatorAccess":{"ok":true,"targetEmail":"info@glucose.md","permission":{"id":"15090742993472653631","emailAddress":"info@glucose.md","role":"writer","pendingOwner":false}}}} {"uid":"3614461"}
[2026-06-12 09:52:07] docflow.DEBUG: GAS request {"url":"https://script.google.com/macros/s/AKfycbwrvOJD46zkuoTzdhpc1kulhV8jRfgQBFZfQ121nkIip_k8yKit4xrbWTOzaJ-C-Yed6w/exec","body":{"templateFileId":"1uno1YmSlft4YcizWes6Kknacx4lW1WhZwtu7Vxz57YQ","accountId":"22699852","folderId":"1S9cFaqHUJsa3_mhPXpNcRoHPG16Iskpj","key":"~VTsK5dcnHc2cSSsjM$LFSjLlgbmJXwrp3R2P5nd","data":"{\"fileName\":\"MD + minor 283 20260612095205\",\"leadId\":\"41932962\",\"entities\":{\"\\u0441\\u0434\\u0435\\u043b\\u043a\\u0430\":{\"Suma \\u20ac\":\"0\",\"Data cererii create\":\"2026-04-29 14:55:00\",\"google_folder_id_leads_field\":\"https:\\/\\/drive.google.com\\/drive\\/folders\\/1S9cFaqHUJsa3_mhPXpNcRoHPG16Iskpj\",\"google_folder_link_leads_field\":\"https:\\/\\/drive.google.com\\/drive\\/folders\\/1S9cFaqHUJsa3_mhPXpNcRoHPG16Iskpj\",\"Manager front office\":\"Capanji Igor\",\"Nota SQL\":\"1\",\"Serviciu solicitat\":\"1520102\",\"Categorie Serviciu\":\"Cet.MD\",\"Suma Back\":\"60\",\"Data consulta\\u021biei\":\"07.05.2026\",\"Data achitare Back\":\"2026-06-12 09:35:25\",\"Suma avans\":\"1420\",\"Data front\":\"2026-06-12 09:27:00\",\"#Manager Front\":\"Capanji Igor\",\"Preluarea de manager front\":\"2026-06-12 09:35:00\",\"Urm\\u0103torul contact\":\"2026-06-12 09:35:00\",\"Valuta\":\"Ruble\",\"Mod achitare\":\"Transfer card \\u0421\\u0431\\u0435\\u0440\\u0411\\u0430\\u043d\\u043a\",\"ID\":\"41932962\",\"\\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\":\"4050\",\"Budget\":\"4050\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"Capanji Igor\",\"Responsible\":\"Capanji Igor\"},\"lead\":{\"Suma \\u20ac\":\"0\",\"Data cererii create\":\"2026-04-29 14:55:00\",\"google_folder_id_leads_field\":\"https:\\/\\/drive.google.com\\/drive\\/folders\\/1S9cFaqHUJsa3_mhPXpNcRoHPG16Iskpj\",\"google_folder_link_leads_field\":\"https:\\/\\/drive.google.com\\/drive\\/folders\\/1S9cFaqHUJsa3_mhPXpNcRoHPG16Iskpj\",\"Manager front office\":\"Capanji Igor\",\"Nota SQL\":\"1\",\"Serviciu solicitat\":\"1520102\",\"Categorie Serviciu\":\"Cet.MD\",\"Suma Back\":\"60\",\"Data consulta\\u021biei\":\"07.05.2026\",\"Data achitare Back\":\"2026-06-12 09:35:25\",\"Suma avans\":\"1420\",\"Data front\":\"2026-06-12 09:27:00\",\"#Manager Front\":\"Capanji Igor\",\"Preluarea de manager front\":\"2026-06-12 09:35:00\",\"Urm\\u0103torul contact\":\"2026-06-12 09:35:00\",\"Valuta\":\"Ruble\",\"Mod achitare\":\"Transfer card \\u0421\\u0431\\u0435\\u0440\\u0411\\u0430\\u043d\\u043a\",\"ID\":\"41932962\",\"\\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\":\"4050\",\"Budget\":\"4050\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"Capanji Igor\",\"Responsible\":\"Capanji Igor\"},\"\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442\":{\"WhatsappLid_WZ\":\"119687987859595\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"+79057291799\",\"Email\":\"ilinvan@gmail.com\",\"google_folder_id_contacts_field\":\"1mKJj_71HFztAUKnP04nXNHPBpdMFM1k4\",\"google_folder_link_contacts_field\":\"https:\\/\\/drive.google.com\\/drive\\/folders\\/1mKJj_71HFztAUKnP04nXNHPBpdMFM1k4\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Ivan Ilin\",\"Contact_name\":\"Ivan Ilin\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"Capanji Igor\",\"Responsible\":\"Capanji Igor\"},\"contact\":{\"WhatsappLid_WZ\":\"119687987859595\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"+79057291799\",\"Email\":\"ilinvan@gmail.com\",\"google_folder_id_contacts_field\":\"1mKJj_71HFztAUKnP04nXNHPBpdMFM1k4\",\"google_folder_link_contacts_field\":\"https:\\/\\/drive.google.com\\/drive\\/folders\\/1mKJj_71HFztAUKnP04nXNHPBpdMFM1k4\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Ivan Ilin\",\"Contact_name\":\"Ivan Ilin\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"Capanji Igor\",\"Responsible\":\"Capanji Igor\"},\"\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442\\u044b\":[{\"WhatsappLid_WZ\":\"119687987859595\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"+79057291799\",\"Email\":\"ilinvan@gmail.com\",\"google_folder_id_contacts_field\":\"1mKJj_71HFztAUKnP04nXNHPBpdMFM1k4\",\"google_folder_link_contacts_field\":\"https:\\/\\/drive.google.com\\/drive\\/folders\\/1mKJj_71HFztAUKnP04nXNHPBpdMFM1k4\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Ivan Ilin\",\"\\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\":\"12.06.2026\",\"\\u041d\\u043e\\u043c\\u0435\\u0440\":\"283\"},\"document\":{\"Date\":\"12.06.2026\",\"Number\":\"283\"}}}","edit":true,"folderMode":"direct"}} {"uid":"3614461"}
[2026-06-12 09:52:13] docflow.DEBUG: GAS raw response {"raw":"[object] (stdClass: {\"code\":1,\"url\":\"https://docs.google.com/open?id=1WJeyHvksbO9seZbq9mEYjdS3EqmxZjrrT8lJp2JUJ8M\",\"file_id\":\"1WJeyHvksbO9seZbq9mEYjdS3EqmxZjrrT8lJp2JUJ8M\",\"error\":\"\",\"vars\":\"\"})"} {"uid":"3614461"}
[2026-06-12 09:52:13] docflow.INFO: Skipping AmoDrive finalize because document was generated directly in the prepared entity folder. {"fileId":"1WJeyHvksbO9seZbq9mEYjdS3EqmxZjrrT8lJp2JUJ8M","folder":{"id":"1S9cFaqHUJsa3_mhPXpNcRoHPG16Iskpj","name":"Cet.Md","webViewLink":"https://drive.google.com/drive/folders/1S9cFaqHUJsa3_mhPXpNcRoHPG16Iskpj"}} {"uid":"3614461"}
[2026-06-12 09:52:35] docflow.INFO: Apel createDoc {"data":{"amoAccountId":"22699852","amoUserId":null,"amoEntityId":"41932962","amoEntityType":"2","templateId":"11515","corporateEntityId":"","settlementAccountId":"","is_signed":null,"gdi":null,"number":null,"currentAmoUserId":null,"lang":"ru"}} {"uid":"a0f4d66"}
[2026-06-12 09:52:35] docflow.INFO: Token is valid for account 22699852. [] {"uid":"a0f4d66"}
[2026-06-12 09:52:35] docflow.DEBUG: getClientAuth returned {"auth":"[object] (stdClass: {\"domain\":\"emigrare.amocrm.ru\",\"access_token\":\"eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImp0aSI6IjQ2ODg0ZjAwYTM3MWVlZjM4YjhmZWJjMzA2ZDNjY2Y1Y2U0N2QwNGJkODFiM2E0MjBhNDY1MjgwNTgwOGIyMDBkMDliZTBjNTkyYzlmYjkwIn0.eyJhdWQiOiIwZDY0ZGZmYi1lNTRiLTQ0OGYtOWZiZi1iYWYyMjUxYTExZGIiLCJqdGkiOiI0Njg4NGYwMGEzNzFlZWYzOGI4ZmViYzMwNmQzY2NmNWNlNDdkMDRiZDgxYjNhNDIwYTQ2NTI4MDU4MDhiMjAwZDA5YmUwYzU5MmM5ZmI5MCIsImlhdCI6MTc4MTE3MDc4NywibmJmIjoxNzgxMTcwNzg3LCJleHAiOjE3ODEyNTcxODcsInN1YiI6IjI5MzAzODAiLCJncmFudF90eXBlIjoiIiwiYWNjb3VudF9pZCI6MjI2OTk4NTIsImJhc2VfZG9tYWluIjoiYW1vY3JtLnJ1IiwidmVyc2lvbiI6Miwic2NvcGVzIjpbInB1c2hfbm90aWZpY2F0aW9ucyIsImNybSIsIm5vdGlmaWNhdGlvbnMiXSwiaGFzaF91dWlkIjoiMGI5YzZiYTItYTIzZS00ZWEzLWE0ZDItZWVkNDYwYWU0NmEwIiwiYXBpX2RvbWFpbiI6ImFwaS1hLmFtb2NybS5ydSJ9.juKsVnAdPwU6WvARuhO2zWsQkr3l8mzYRT0WGXBFbrcnY8THfrzIimYGzqpe5gZ6xypHWKlzTISW7gasRsp7knBcF0rYDIvNGN33-Bv-GluzESiyvlxAu3uX2MDxl1rNaZdC2X5qxGvhT819sxibl3R5A0pqMkAhtw785aqpWIpVozTufRVMN8IRaNLQbVaUvt-e_I1ltPVYnwU9GZaFQnsfIbpb68ascMEm9a0s1lhFo4RPjWfRTU5ymXK5yiplRTX1IOn8vgfl7fk7ayzfzDdfeSoozdabE-N7-gKppULkgHLwZh11B3rcrQl4zJbgumM9qMzlyMhs_VAeGCpxVA\"})","file":"/home/ytvmclwh/document.amocrm.md/src/Models/Docs.php","line":121} {"uid":"a0f4d66"}
[2026-06-12 09:52:37] docflow.DEBUG: AmoDrive docflow context request {"url":"https://google.emale.uno/api/docflow/google-context","query":{"account_id":"22699852","entity_id":"41932962","entity_type":"leads"}} {"uid":"a0f4d66"}
[2026-06-12 09:52:37] docflow.WARNING: AmoDrive docflow context request failed {"url":"https://google.emale.uno/api/docflow/google-context","http_code":null,"error":"HTTP/2 400 ","response":"<!DOCTYPE HTML PUBLIC \"-//IETF//DTD HTML 2.0//EN\">\r\n<html>\r\n<head><title>400 Bad Request</title></head>\r\n<body>\r\n<center><h1>400 Bad Request</h1></center>\r\n Sorry for the inconvenience.<br/>\r\nPlease report this message and include the following information to us.<br/>\r\nThank you very much!</p>\r\n<table>\r\n<tr>\r\n<td>URL:</td>\r\n<td>https://gd.glucose-dev.online/api/docflow/google-context?account_id=22699852&amp;entity_id=41932962&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/06/12 09:52:38</td>\r\n</tr>\r\n</table>\r\n<hr><center>tengine</center>\r\n</body>\r\n</html>\r\n"} {"uid":"a0f4d66"}
[2026-06-12 09:52:37] docflow.DEBUG: AmoDrive docflow context request {"url":"https://gd.glucose-dev.online/api/docflow/google-context","query":{"account_id":"22699852","entity_id":"41932962","entity_type":"leads"}} {"uid":"a0f4d66"}
[2026-06-12 09:52:37] docflow.DEBUG: AmoDrive docflow context response {"url":"https://gd.glucose-dev.online/api/docflow/google-context","payload":{"ok":true,"accountId":22699852,"entityId":"41932962","entityType":"leads","amodrive":{"installed":true,"widgetStatus":"installed","amoAccountId":22699852,"accountHost":"emigrare.amocrm.ru","license":{"status":"active","configuredStatus":"active","expiresAt":"2026-08-20T10:16:56.291Z","isExpired":false,"isTrial":false,"isActive":true,"expiredByDate":false,"daysRemaining":70,"isLifetime":false},"licenseActive":true,"googleConnected":true,"googleEmail":"emigrare.md@gmail.com","googleHasDriveScope":true,"googleHasDriveFileScope":true,"googleHasOwnershipScope":true,"readyForGeneratedFileMove":true,"readyForTransfer":true},"folder":{"id":"1S9cFaqHUJsa3_mhPXpNcRoHPG16Iskpj","name":"Cet.Md","webViewLink":"https://drive.google.com/drive/folders/1S9cFaqHUJsa3_mhPXpNcRoHPG16Iskpj"}}} {"uid":"a0f4d66"}
[2026-06-12 09:52:37] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://google.emale.uno/api/docflow/prepare-generated-doc","payload":{"account_id":"22699852","entity_id":"41932962","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"a0f4d66"}
[2026-06-12 09:52:37] docflow.WARNING: AmoDrive prepare-generated-doc request failed {"url":"https://google.emale.uno/api/docflow/prepare-generated-doc","http_code":null,"error":"HTTP/2 400 ","response":"<!DOCTYPE HTML PUBLIC \"-//IETF//DTD HTML 2.0//EN\">\r\n<html>\r\n<head><title>400 Bad Request</title></head>\r\n<body>\r\n<center><h1>400 Bad Request</h1></center>\r\n Sorry for the inconvenience.<br/>\r\nPlease report this message and include the following information to us.<br/>\r\nThank you very much!</p>\r\n<table>\r\n<tr>\r\n<td>URL:</td>\r\n<td>https://gd.glucose-dev.online/api/docflow/prepare-generated-doc</td>\r\n</tr>\r\n<tr>\r\n<td>Server:</td>\r\n<td>mail.glucose-dev.online</td>\r\n</tr>\r\n<tr>\r\n<td>Date:</td>\r\n<td>2026/06/12 09:52:38</td>\r\n</tr>\r\n</table>\r\n<hr><center>tengine</center>\r\n</body>\r\n</html>\r\n","payload":{"account_id":"22699852","entity_id":"41932962","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"a0f4d66"}
[2026-06-12 09:52:37] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://gd.glucose-dev.online/api/docflow/prepare-generated-doc","payload":{"account_id":"22699852","entity_id":"41932962","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"a0f4d66"}
[2026-06-12 09:52:39] docflow.DEBUG: AmoDrive prepare-generated-doc response {"url":"https://gd.glucose-dev.online/api/docflow/prepare-generated-doc","payload":{"ok":true,"accountId":22699852,"entityId":"41932962","entityType":"leads","generatorEmail":"info@glucose.md","directGenerationReady":true,"folder":{"id":"1S9cFaqHUJsa3_mhPXpNcRoHPG16Iskpj","name":"Cet.Md","webViewLink":"https://drive.google.com/drive/folders/1S9cFaqHUJsa3_mhPXpNcRoHPG16Iskpj"},"generatorAccess":{"ok":true,"targetEmail":"info@glucose.md","permission":{"id":"15090742993472653631","emailAddress":"info@glucose.md","role":"writer","pendingOwner":false}}}} {"uid":"a0f4d66"}
[2026-06-12 09:52:39] docflow.DEBUG: GAS request {"url":"https://script.google.com/macros/s/AKfycbwrvOJD46zkuoTzdhpc1kulhV8jRfgQBFZfQ121nkIip_k8yKit4xrbWTOzaJ-C-Yed6w/exec","body":{"templateFileId":"1SzGXEYI835Reg_M1AEPsRjzZ3ZvcLb1cGlMSjWjG9_s","accountId":"22699852","folderId":"1S9cFaqHUJsa3_mhPXpNcRoHPG16Iskpj","key":"~VTsK5dcnHc2cSSsjM$LFSjLlgbmJXwrp3R2P5nd","data":"{\"fileName\":\"\\u0421\\u0447\\u0435\\u0442 \\u043d\\u0430 \\u043e\\u043f\\u043b\\u0430\\u0442\\u0443 (Sber) 1471 20260612095237\",\"leadId\":\"41932962\",\"entities\":{\"\\u0441\\u0434\\u0435\\u043b\\u043a\\u0430\":{\"Suma \\u20ac\":\"0\",\"Data cererii create\":\"2026-04-29 14:55:00\",\"google_folder_id_leads_field\":\"https:\\/\\/drive.google.com\\/drive\\/folders\\/1S9cFaqHUJsa3_mhPXpNcRoHPG16Iskpj\",\"google_folder_link_leads_field\":\"https:\\/\\/drive.google.com\\/drive\\/folders\\/1S9cFaqHUJsa3_mhPXpNcRoHPG16Iskpj\",\"Manager front office\":\"Capanji Igor\",\"Nota SQL\":\"1\",\"Serviciu solicitat\":\"1520102\",\"Categorie Serviciu\":\"Cet.MD\",\"Suma Back\":\"60\",\"Data consulta\\u021biei\":\"07.05.2026\",\"Data achitare Back\":\"2026-06-12 09:35:25\",\"Suma avans\":\"1420\",\"Data front\":\"2026-06-12 09:27:00\",\"#Manager Front\":\"Capanji Igor\",\"Preluarea de manager front\":\"2026-06-12 09:35:00\",\"Urm\\u0103torul contact\":\"2026-06-12 09:35:00\",\"Valuta\":\"Ruble\",\"Mod achitare\":\"Transfer card \\u0421\\u0431\\u0435\\u0440\\u0411\\u0430\\u043d\\u043a\",\"ID\":\"41932962\",\"\\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\":\"4050\",\"Budget\":\"4050\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"Capanji Igor\",\"Responsible\":\"Capanji Igor\"},\"lead\":{\"Suma \\u20ac\":\"0\",\"Data cererii create\":\"2026-04-29 14:55:00\",\"google_folder_id_leads_field\":\"https:\\/\\/drive.google.com\\/drive\\/folders\\/1S9cFaqHUJsa3_mhPXpNcRoHPG16Iskpj\",\"google_folder_link_leads_field\":\"https:\\/\\/drive.google.com\\/drive\\/folders\\/1S9cFaqHUJsa3_mhPXpNcRoHPG16Iskpj\",\"Manager front office\":\"Capanji Igor\",\"Nota SQL\":\"1\",\"Serviciu solicitat\":\"1520102\",\"Categorie Serviciu\":\"Cet.MD\",\"Suma Back\":\"60\",\"Data consulta\\u021biei\":\"07.05.2026\",\"Data achitare Back\":\"2026-06-12 09:35:25\",\"Suma avans\":\"1420\",\"Data front\":\"2026-06-12 09:27:00\",\"#Manager Front\":\"Capanji Igor\",\"Preluarea de manager front\":\"2026-06-12 09:35:00\",\"Urm\\u0103torul contact\":\"2026-06-12 09:35:00\",\"Valuta\":\"Ruble\",\"Mod achitare\":\"Transfer card \\u0421\\u0431\\u0435\\u0440\\u0411\\u0430\\u043d\\u043a\",\"ID\":\"41932962\",\"\\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\":\"4050\",\"Budget\":\"4050\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"Capanji Igor\",\"Responsible\":\"Capanji Igor\"},\"\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442\":{\"WhatsappLid_WZ\":\"119687987859595\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"+79057291799\",\"Email\":\"ilinvan@gmail.com\",\"google_folder_id_contacts_field\":\"1mKJj_71HFztAUKnP04nXNHPBpdMFM1k4\",\"google_folder_link_contacts_field\":\"https:\\/\\/drive.google.com\\/drive\\/folders\\/1mKJj_71HFztAUKnP04nXNHPBpdMFM1k4\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Ivan Ilin\",\"Contact_name\":\"Ivan Ilin\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"Capanji Igor\",\"Responsible\":\"Capanji Igor\"},\"contact\":{\"WhatsappLid_WZ\":\"119687987859595\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"+79057291799\",\"Email\":\"ilinvan@gmail.com\",\"google_folder_id_contacts_field\":\"1mKJj_71HFztAUKnP04nXNHPBpdMFM1k4\",\"google_folder_link_contacts_field\":\"https:\\/\\/drive.google.com\\/drive\\/folders\\/1mKJj_71HFztAUKnP04nXNHPBpdMFM1k4\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Ivan Ilin\",\"Contact_name\":\"Ivan Ilin\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"Capanji Igor\",\"Responsible\":\"Capanji Igor\"},\"\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442\\u044b\":[{\"WhatsappLid_WZ\":\"119687987859595\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"+79057291799\",\"Email\":\"ilinvan@gmail.com\",\"google_folder_id_contacts_field\":\"1mKJj_71HFztAUKnP04nXNHPBpdMFM1k4\",\"google_folder_link_contacts_field\":\"https:\\/\\/drive.google.com\\/drive\\/folders\\/1mKJj_71HFztAUKnP04nXNHPBpdMFM1k4\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Ivan Ilin\",\"\\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\":\"12.06.2026\",\"\\u041d\\u043e\\u043c\\u0435\\u0440\":\"1471\"},\"document\":{\"Date\":\"12.06.2026\",\"Number\":\"1471\"}}}","edit":true,"folderMode":"direct"}} {"uid":"a0f4d66"}
[2026-06-12 09:52:44] docflow.DEBUG: GAS raw response {"raw":"[object] (stdClass: {\"code\":1,\"url\":\"https://docs.google.com/open?id=1b8Flgiia8M3i9ZZ-a5Y-O-yF10GWfbC0EIIHWPvl9pk\",\"file_id\":\"1b8Flgiia8M3i9ZZ-a5Y-O-yF10GWfbC0EIIHWPvl9pk\",\"error\":\"\",\"vars\":\"\"})"} {"uid":"a0f4d66"}
[2026-06-12 09:52:44] docflow.INFO: Skipping AmoDrive finalize because document was generated directly in the prepared entity folder. {"fileId":"1b8Flgiia8M3i9ZZ-a5Y-O-yF10GWfbC0EIIHWPvl9pk","folder":{"id":"1S9cFaqHUJsa3_mhPXpNcRoHPG16Iskpj","name":"Cet.Md","webViewLink":"https://drive.google.com/drive/folders/1S9cFaqHUJsa3_mhPXpNcRoHPG16Iskpj"}} {"uid":"a0f4d66"}
[2026-06-12 10:46:07] docflow.INFO: Apel createDoc {"data":{"amoAccountId":"22699852","amoUserId":null,"amoEntityId":"41932962","amoEntityType":"2","templateId":"11527","corporateEntityId":"","settlementAccountId":"","is_signed":null,"gdi":null,"number":null,"currentAmoUserId":null,"lang":"ru"}} {"uid":"6606edc"}
[2026-06-12 10:46:07] docflow.INFO: Token is valid for account 22699852. [] {"uid":"6606edc"}
[2026-06-12 10:46:07] docflow.DEBUG: getClientAuth returned {"auth":"[object] (stdClass: {\"domain\":\"emigrare.amocrm.ru\",\"access_token\":\"eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImp0aSI6IjQ2ODg0ZjAwYTM3MWVlZjM4YjhmZWJjMzA2ZDNjY2Y1Y2U0N2QwNGJkODFiM2E0MjBhNDY1MjgwNTgwOGIyMDBkMDliZTBjNTkyYzlmYjkwIn0.eyJhdWQiOiIwZDY0ZGZmYi1lNTRiLTQ0OGYtOWZiZi1iYWYyMjUxYTExZGIiLCJqdGkiOiI0Njg4NGYwMGEzNzFlZWYzOGI4ZmViYzMwNmQzY2NmNWNlNDdkMDRiZDgxYjNhNDIwYTQ2NTI4MDU4MDhiMjAwZDA5YmUwYzU5MmM5ZmI5MCIsImlhdCI6MTc4MTE3MDc4NywibmJmIjoxNzgxMTcwNzg3LCJleHAiOjE3ODEyNTcxODcsInN1YiI6IjI5MzAzODAiLCJncmFudF90eXBlIjoiIiwiYWNjb3VudF9pZCI6MjI2OTk4NTIsImJhc2VfZG9tYWluIjoiYW1vY3JtLnJ1IiwidmVyc2lvbiI6Miwic2NvcGVzIjpbInB1c2hfbm90aWZpY2F0aW9ucyIsImNybSIsIm5vdGlmaWNhdGlvbnMiXSwiaGFzaF91dWlkIjoiMGI5YzZiYTItYTIzZS00ZWEzLWE0ZDItZWVkNDYwYWU0NmEwIiwiYXBpX2RvbWFpbiI6ImFwaS1hLmFtb2NybS5ydSJ9.juKsVnAdPwU6WvARuhO2zWsQkr3l8mzYRT0WGXBFbrcnY8THfrzIimYGzqpe5gZ6xypHWKlzTISW7gasRsp7knBcF0rYDIvNGN33-Bv-GluzESiyvlxAu3uX2MDxl1rNaZdC2X5qxGvhT819sxibl3R5A0pqMkAhtw785aqpWIpVozTufRVMN8IRaNLQbVaUvt-e_I1ltPVYnwU9GZaFQnsfIbpb68ascMEm9a0s1lhFo4RPjWfRTU5ymXK5yiplRTX1IOn8vgfl7fk7ayzfzDdfeSoozdabE-N7-gKppULkgHLwZh11B3rcrQl4zJbgumM9qMzlyMhs_VAeGCpxVA\"})","file":"/home/ytvmclwh/document.amocrm.md/src/Models/Docs.php","line":121} {"uid":"6606edc"}
[2026-06-12 10:46:09] docflow.DEBUG: AmoDrive docflow context request {"url":"https://google.emale.uno/api/docflow/google-context","query":{"account_id":"22699852","entity_id":"41932962","entity_type":"leads"}} {"uid":"6606edc"}
[2026-06-12 10:46:09] docflow.WARNING: AmoDrive docflow context request failed {"url":"https://google.emale.uno/api/docflow/google-context","http_code":null,"error":"HTTP/2 400 ","response":"<!DOCTYPE HTML PUBLIC \"-//IETF//DTD HTML 2.0//EN\">\r\n<html>\r\n<head><title>400 Bad Request</title></head>\r\n<body>\r\n<center><h1>400 Bad Request</h1></center>\r\n Sorry for the inconvenience.<br/>\r\nPlease report this message and include the following information to us.<br/>\r\nThank you very much!</p>\r\n<table>\r\n<tr>\r\n<td>URL:</td>\r\n<td>https://gd.glucose-dev.online/api/docflow/google-context?account_id=22699852&amp;entity_id=41932962&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/06/12 10:46:10</td>\r\n</tr>\r\n</table>\r\n<hr><center>tengine</center>\r\n</body>\r\n</html>\r\n"} {"uid":"6606edc"}
[2026-06-12 10:46:09] docflow.DEBUG: AmoDrive docflow context request {"url":"https://gd.glucose-dev.online/api/docflow/google-context","query":{"account_id":"22699852","entity_id":"41932962","entity_type":"leads"}} {"uid":"6606edc"}
[2026-06-12 10:46:09] docflow.DEBUG: AmoDrive docflow context response {"url":"https://gd.glucose-dev.online/api/docflow/google-context","payload":{"ok":true,"accountId":22699852,"entityId":"41932962","entityType":"leads","amodrive":{"installed":true,"widgetStatus":"installed","amoAccountId":22699852,"accountHost":"emigrare.amocrm.ru","license":{"status":"active","configuredStatus":"active","expiresAt":"2026-08-20T10:16:56.291Z","isExpired":false,"isTrial":false,"isActive":true,"expiredByDate":false,"daysRemaining":70,"isLifetime":false},"licenseActive":true,"googleConnected":true,"googleEmail":"emigrare.md@gmail.com","googleHasDriveScope":true,"googleHasDriveFileScope":true,"googleHasOwnershipScope":true,"readyForGeneratedFileMove":true,"readyForTransfer":true},"folder":{"id":"1S9cFaqHUJsa3_mhPXpNcRoHPG16Iskpj","name":"Cet.Md","webViewLink":"https://drive.google.com/drive/folders/1S9cFaqHUJsa3_mhPXpNcRoHPG16Iskpj"}}} {"uid":"6606edc"}
[2026-06-12 10:46:09] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://google.emale.uno/api/docflow/prepare-generated-doc","payload":{"account_id":"22699852","entity_id":"41932962","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"6606edc"}
[2026-06-12 10:46:09] docflow.WARNING: AmoDrive prepare-generated-doc request failed {"url":"https://google.emale.uno/api/docflow/prepare-generated-doc","http_code":null,"error":"HTTP/2 400 ","response":"<!DOCTYPE HTML PUBLIC \"-//IETF//DTD HTML 2.0//EN\">\r\n<html>\r\n<head><title>400 Bad Request</title></head>\r\n<body>\r\n<center><h1>400 Bad Request</h1></center>\r\n Sorry for the inconvenience.<br/>\r\nPlease report this message and include the following information to us.<br/>\r\nThank you very much!</p>\r\n<table>\r\n<tr>\r\n<td>URL:</td>\r\n<td>https://gd.glucose-dev.online/api/docflow/prepare-generated-doc</td>\r\n</tr>\r\n<tr>\r\n<td>Server:</td>\r\n<td>mail.glucose-dev.online</td>\r\n</tr>\r\n<tr>\r\n<td>Date:</td>\r\n<td>2026/06/12 10:46:10</td>\r\n</tr>\r\n</table>\r\n<hr><center>tengine</center>\r\n</body>\r\n</html>\r\n","payload":{"account_id":"22699852","entity_id":"41932962","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"6606edc"}
[2026-06-12 10:46:09] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://gd.glucose-dev.online/api/docflow/prepare-generated-doc","payload":{"account_id":"22699852","entity_id":"41932962","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"6606edc"}
[2026-06-12 10:46:11] docflow.DEBUG: AmoDrive prepare-generated-doc response {"url":"https://gd.glucose-dev.online/api/docflow/prepare-generated-doc","payload":{"ok":true,"accountId":22699852,"entityId":"41932962","entityType":"leads","generatorEmail":"info@glucose.md","directGenerationReady":true,"folder":{"id":"1S9cFaqHUJsa3_mhPXpNcRoHPG16Iskpj","name":"Cet.Md","webViewLink":"https://drive.google.com/drive/folders/1S9cFaqHUJsa3_mhPXpNcRoHPG16Iskpj"},"generatorAccess":{"ok":true,"targetEmail":"info@glucose.md","permission":{"id":"15090742993472653631","emailAddress":"info@glucose.md","role":"writer","pendingOwner":false}}}} {"uid":"6606edc"}
[2026-06-12 10:46:11] docflow.DEBUG: GAS request {"url":"https://script.google.com/macros/s/AKfycbwrvOJD46zkuoTzdhpc1kulhV8jRfgQBFZfQ121nkIip_k8yKit4xrbWTOzaJ-C-Yed6w/exec","body":{"templateFileId":"1fg3oSTbF4IjGkVHWbBV4RiDKEcqI4Do0-nHFPwkleY4","accountId":"22699852","folderId":"1S9cFaqHUJsa3_mhPXpNcRoHPG16Iskpj","key":"~VTsK5dcnHc2cSSsjM$LFSjLlgbmJXwrp3R2P5nd","data":"{\"fileName\":\"\\u0421\\u0447\\u0435\\u0442 \\u043d\\u0430 \\u043e\\u043f\\u043b\\u0430\\u0442\\u0443 DZ \\/ LZ \\/ OB (EUR\\/USD\\/MDL) 140 20260612104609\",\"leadId\":\"41932962\",\"entities\":{\"\\u0441\\u0434\\u0435\\u043b\\u043a\\u0430\":{\"Suma \\u20ac\":\"0\",\"Data cererii create\":\"2026-04-29 14:55:00\",\"google_folder_id_leads_field\":\"https:\\/\\/drive.google.com\\/drive\\/folders\\/1S9cFaqHUJsa3_mhPXpNcRoHPG16Iskpj\",\"google_folder_link_leads_field\":\"https:\\/\\/drive.google.com\\/drive\\/folders\\/1S9cFaqHUJsa3_mhPXpNcRoHPG16Iskpj\",\"Manager front office\":\"Capanji Igor\",\"Nota SQL\":\"1\",\"Serviciu solicitat\":\"1520102\",\"Categorie Serviciu\":\"Cet.MD\",\"Suma Back\":\"60\",\"Data consulta\\u021biei\":\"07.05.2026\",\"Data achitare Back\":\"2026-06-12 09:35:25\",\"Suma avans\":\"1420\",\"Data front\":\"2026-06-12 09:27:00\",\"#Manager Front\":\"Capanji Igor\",\"Preluarea de manager front\":\"2026-06-12 09:35:00\",\"Urm\\u0103torul contact\":\"2026-06-12 09:35:00\",\"Valuta\":\"Ruble\",\"Mod achitare\":\"Transfer card \\u0421\\u0431\\u0435\\u0440\\u0411\\u0430\\u043d\\u043a\",\"Manager Juridic\":\"Dascal Anatolie\",\"#Manager Jurist\":\"Dascal Anatolie\",\"ID\":\"41932962\",\"\\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\":\"4050\",\"Budget\":\"4050\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"Capanji Igor\",\"Responsible\":\"Capanji Igor\"},\"lead\":{\"Suma \\u20ac\":\"0\",\"Data cererii create\":\"2026-04-29 14:55:00\",\"google_folder_id_leads_field\":\"https:\\/\\/drive.google.com\\/drive\\/folders\\/1S9cFaqHUJsa3_mhPXpNcRoHPG16Iskpj\",\"google_folder_link_leads_field\":\"https:\\/\\/drive.google.com\\/drive\\/folders\\/1S9cFaqHUJsa3_mhPXpNcRoHPG16Iskpj\",\"Manager front office\":\"Capanji Igor\",\"Nota SQL\":\"1\",\"Serviciu solicitat\":\"1520102\",\"Categorie Serviciu\":\"Cet.MD\",\"Suma Back\":\"60\",\"Data consulta\\u021biei\":\"07.05.2026\",\"Data achitare Back\":\"2026-06-12 09:35:25\",\"Suma avans\":\"1420\",\"Data front\":\"2026-06-12 09:27:00\",\"#Manager Front\":\"Capanji Igor\",\"Preluarea de manager front\":\"2026-06-12 09:35:00\",\"Urm\\u0103torul contact\":\"2026-06-12 09:35:00\",\"Valuta\":\"Ruble\",\"Mod achitare\":\"Transfer card \\u0421\\u0431\\u0435\\u0440\\u0411\\u0430\\u043d\\u043a\",\"Manager Juridic\":\"Dascal Anatolie\",\"#Manager Jurist\":\"Dascal Anatolie\",\"ID\":\"41932962\",\"\\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\":\"4050\",\"Budget\":\"4050\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"Capanji Igor\",\"Responsible\":\"Capanji Igor\"},\"\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442\":{\"WhatsappLid_WZ\":\"119687987859595\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"+79057291799\",\"Email\":\"ilinvan@gmail.com\",\"google_folder_id_contacts_field\":\"1mKJj_71HFztAUKnP04nXNHPBpdMFM1k4\",\"google_folder_link_contacts_field\":\"https:\\/\\/drive.google.com\\/drive\\/folders\\/1mKJj_71HFztAUKnP04nXNHPBpdMFM1k4\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Ivan Ilin\",\"Contact_name\":\"Ivan Ilin\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"Capanji Igor\",\"Responsible\":\"Capanji Igor\"},\"contact\":{\"WhatsappLid_WZ\":\"119687987859595\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"+79057291799\",\"Email\":\"ilinvan@gmail.com\",\"google_folder_id_contacts_field\":\"1mKJj_71HFztAUKnP04nXNHPBpdMFM1k4\",\"google_folder_link_contacts_field\":\"https:\\/\\/drive.google.com\\/drive\\/folders\\/1mKJj_71HFztAUKnP04nXNHPBpdMFM1k4\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Ivan Ilin\",\"Contact_name\":\"Ivan Ilin\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"Capanji Igor\",\"Responsible\":\"Capanji Igor\"},\"\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442\\u044b\":[{\"WhatsappLid_WZ\":\"119687987859595\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"+79057291799\",\"Email\":\"ilinvan@gmail.com\",\"google_folder_id_contacts_field\":\"1mKJj_71HFztAUKnP04nXNHPBpdMFM1k4\",\"google_folder_link_contacts_field\":\"https:\\/\\/drive.google.com\\/drive\\/folders\\/1mKJj_71HFztAUKnP04nXNHPBpdMFM1k4\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Ivan Ilin\",\"\\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\":\"12.06.2026\",\"\\u041d\\u043e\\u043c\\u0435\\u0440\":\"140\"},\"document\":{\"Date\":\"12.06.2026\",\"Number\":\"140\"}}}","edit":true,"folderMode":"direct"}} {"uid":"6606edc"}
[2026-06-12 10:46:16] docflow.DEBUG: GAS raw response {"raw":"[object] (stdClass: {\"code\":1,\"url\":\"https://docs.google.com/open?id=1kjlQN9EzlmJ4v6df795XmJoy_wPZBEAYhKkzCGLu4Xo\",\"file_id\":\"1kjlQN9EzlmJ4v6df795XmJoy_wPZBEAYhKkzCGLu4Xo\",\"error\":\"\",\"vars\":\"\"})"} {"uid":"6606edc"}
[2026-06-12 10:46:16] docflow.INFO: Skipping AmoDrive finalize because document was generated directly in the prepared entity folder. {"fileId":"1kjlQN9EzlmJ4v6df795XmJoy_wPZBEAYhKkzCGLu4Xo","folder":{"id":"1S9cFaqHUJsa3_mhPXpNcRoHPG16Iskpj","name":"Cet.Md","webViewLink":"https://drive.google.com/drive/folders/1S9cFaqHUJsa3_mhPXpNcRoHPG16Iskpj"}} {"uid":"6606edc"}
[2026-06-12 11:30:33] docflow.INFO: Apel createDoc {"data":{"amoAccountId":"22699852","amoUserId":null,"amoEntityId":"41312754","amoEntityType":"2","templateId":"11495","corporateEntityId":"","settlementAccountId":"","is_signed":null,"gdi":null,"number":null,"currentAmoUserId":null,"lang":"ru"}} {"uid":"e84e426"}
[2026-06-12 11:30:33] docflow.INFO: Token is valid for account 22699852. [] {"uid":"e84e426"}
[2026-06-12 11:30:33] docflow.DEBUG: getClientAuth returned {"auth":"[object] (stdClass: {\"domain\":\"emigrare.amocrm.ru\",\"access_token\":\"eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImp0aSI6IjQ2ODg0ZjAwYTM3MWVlZjM4YjhmZWJjMzA2ZDNjY2Y1Y2U0N2QwNGJkODFiM2E0MjBhNDY1MjgwNTgwOGIyMDBkMDliZTBjNTkyYzlmYjkwIn0.eyJhdWQiOiIwZDY0ZGZmYi1lNTRiLTQ0OGYtOWZiZi1iYWYyMjUxYTExZGIiLCJqdGkiOiI0Njg4NGYwMGEzNzFlZWYzOGI4ZmViYzMwNmQzY2NmNWNlNDdkMDRiZDgxYjNhNDIwYTQ2NTI4MDU4MDhiMjAwZDA5YmUwYzU5MmM5ZmI5MCIsImlhdCI6MTc4MTE3MDc4NywibmJmIjoxNzgxMTcwNzg3LCJleHAiOjE3ODEyNTcxODcsInN1YiI6IjI5MzAzODAiLCJncmFudF90eXBlIjoiIiwiYWNjb3VudF9pZCI6MjI2OTk4NTIsImJhc2VfZG9tYWluIjoiYW1vY3JtLnJ1IiwidmVyc2lvbiI6Miwic2NvcGVzIjpbInB1c2hfbm90aWZpY2F0aW9ucyIsImNybSIsIm5vdGlmaWNhdGlvbnMiXSwiaGFzaF91dWlkIjoiMGI5YzZiYTItYTIzZS00ZWEzLWE0ZDItZWVkNDYwYWU0NmEwIiwiYXBpX2RvbWFpbiI6ImFwaS1hLmFtb2NybS5ydSJ9.juKsVnAdPwU6WvARuhO2zWsQkr3l8mzYRT0WGXBFbrcnY8THfrzIimYGzqpe5gZ6xypHWKlzTISW7gasRsp7knBcF0rYDIvNGN33-Bv-GluzESiyvlxAu3uX2MDxl1rNaZdC2X5qxGvhT819sxibl3R5A0pqMkAhtw785aqpWIpVozTufRVMN8IRaNLQbVaUvt-e_I1ltPVYnwU9GZaFQnsfIbpb68ascMEm9a0s1lhFo4RPjWfRTU5ymXK5yiplRTX1IOn8vgfl7fk7ayzfzDdfeSoozdabE-N7-gKppULkgHLwZh11B3rcrQl4zJbgumM9qMzlyMhs_VAeGCpxVA\"})","file":"/home/ytvmclwh/document.amocrm.md/src/Models/Docs.php","line":121} {"uid":"e84e426"}
[2026-06-12 11:30:35] docflow.DEBUG: AmoDrive docflow context request {"url":"https://google.emale.uno/api/docflow/google-context","query":{"account_id":"22699852","entity_id":"41312754","entity_type":"leads"}} {"uid":"e84e426"}
[2026-06-12 11:30:35] docflow.WARNING: AmoDrive docflow context request failed {"url":"https://google.emale.uno/api/docflow/google-context","http_code":null,"error":"HTTP/2 400 ","response":"<!DOCTYPE HTML PUBLIC \"-//IETF//DTD HTML 2.0//EN\">\r\n<html>\r\n<head><title>400 Bad Request</title></head>\r\n<body>\r\n<center><h1>400 Bad Request</h1></center>\r\n Sorry for the inconvenience.<br/>\r\nPlease report this message and include the following information to us.<br/>\r\nThank you very much!</p>\r\n<table>\r\n<tr>\r\n<td>URL:</td>\r\n<td>https://gd.glucose-dev.online/api/docflow/google-context?account_id=22699852&amp;entity_id=41312754&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/06/12 11:30:36</td>\r\n</tr>\r\n</table>\r\n<hr><center>tengine</center>\r\n</body>\r\n</html>\r\n"} {"uid":"e84e426"}
[2026-06-12 11:30:35] docflow.DEBUG: AmoDrive docflow context request {"url":"https://gd.glucose-dev.online/api/docflow/google-context","query":{"account_id":"22699852","entity_id":"41312754","entity_type":"leads"}} {"uid":"e84e426"}
[2026-06-12 11:30:35] docflow.DEBUG: AmoDrive docflow context response {"url":"https://gd.glucose-dev.online/api/docflow/google-context","payload":{"ok":true,"accountId":22699852,"entityId":"41312754","entityType":"leads","amodrive":{"installed":true,"widgetStatus":"installed","amoAccountId":22699852,"accountHost":"emigrare.amocrm.ru","license":{"status":"active","configuredStatus":"active","expiresAt":"2026-08-20T10:16:56.291Z","isExpired":false,"isTrial":false,"isActive":true,"expiredByDate":false,"daysRemaining":70,"isLifetime":false},"licenseActive":true,"googleConnected":true,"googleEmail":"emigrare.md@gmail.com","googleHasDriveScope":true,"googleHasDriveFileScope":true,"googleHasOwnershipScope":true,"readyForGeneratedFileMove":true,"readyForTransfer":true},"folder":null}} {"uid":"e84e426"}
[2026-06-12 11:30:35] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://google.emale.uno/api/docflow/prepare-generated-doc","payload":{"account_id":"22699852","entity_id":"41312754","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"e84e426"}
[2026-06-12 11:30:36] docflow.WARNING: AmoDrive prepare-generated-doc request failed {"url":"https://google.emale.uno/api/docflow/prepare-generated-doc","http_code":null,"error":"HTTP/2 400 ","response":"<!DOCTYPE HTML PUBLIC \"-//IETF//DTD HTML 2.0//EN\">\r\n<html>\r\n<head><title>400 Bad Request</title></head>\r\n<body>\r\n<center><h1>400 Bad Request</h1></center>\r\n Sorry for the inconvenience.<br/>\r\nPlease report this message and include the following information to us.<br/>\r\nThank you very much!</p>\r\n<table>\r\n<tr>\r\n<td>URL:</td>\r\n<td>https://gd.glucose-dev.online/api/docflow/prepare-generated-doc</td>\r\n</tr>\r\n<tr>\r\n<td>Server:</td>\r\n<td>mail.glucose-dev.online</td>\r\n</tr>\r\n<tr>\r\n<td>Date:</td>\r\n<td>2026/06/12 11:30:37</td>\r\n</tr>\r\n</table>\r\n<hr><center>tengine</center>\r\n</body>\r\n</html>\r\n","payload":{"account_id":"22699852","entity_id":"41312754","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"e84e426"}
[2026-06-12 11:30:36] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://gd.glucose-dev.online/api/docflow/prepare-generated-doc","payload":{"account_id":"22699852","entity_id":"41312754","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"e84e426"}
[2026-06-12 11:30:42] docflow.DEBUG: AmoDrive prepare-generated-doc response {"url":"https://gd.glucose-dev.online/api/docflow/prepare-generated-doc","payload":{"ok":true,"accountId":22699852,"entityId":"41312754","entityType":"leads","generatorEmail":"info@glucose.md","directGenerationReady":true,"folder":{"id":"1zOJ-ZgayroM-W2ZIiiQT8mhERv31TPHL","name":"41312754 - Cet. MD","webViewLink":"https://drive.google.com/drive/folders/1zOJ-ZgayroM-W2ZIiiQT8mhERv31TPHL"},"generatorAccess":{"ok":true,"targetEmail":"info@glucose.md","permission":{"id":"15090742993472653631","emailAddress":"info@glucose.md","role":"writer","pendingOwner":false}}}} {"uid":"e84e426"}
[2026-06-12 11:30:42] docflow.DEBUG: GAS request {"url":"https://script.google.com/macros/s/AKfycbwrvOJD46zkuoTzdhpc1kulhV8jRfgQBFZfQ121nkIip_k8yKit4xrbWTOzaJ-C-Yed6w/exec","body":{"templateFileId":"139A_R9cAqcF0vtMAjkAKEvgO4ur6rSSzFI-AF87BYnQ","accountId":"22699852","folderId":"1zOJ-ZgayroM-W2ZIiiQT8mhERv31TPHL","key":"~VTsK5dcnHc2cSSsjM$LFSjLlgbmJXwrp3R2P5nd","data":"{\"fileName\":\"Contract (consulta\\u021bie) 230 20260612113035\",\"leadId\":\"41312754\",\"entities\":{\"\\u0441\\u0434\\u0435\\u043b\\u043a\\u0430\":{\"roistat\":\"2006\",\"Suma \\u20ac\":\"0\",\"Data cererii create\":\"2026-01-28 21:03:00\",\"ID\":\"41312754\",\"\\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\":{\"roistat\":\"2006\",\"Suma \\u20ac\":\"0\",\"Data cererii create\":\"2026-01-28 21:03:00\",\"ID\":\"41312754\",\"\\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\":{\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"+905313790014\",\"Email\":\"svetlanaonal71@gmail.com\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Svetlana Irovan Alkan\",\"Contact_name\":\"Svetlana Irovan Alkan\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"Marina Negruta\",\"Responsible\":\"Marina Negruta\"},\"contact\":{\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"+905313790014\",\"Email\":\"svetlanaonal71@gmail.com\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Svetlana Irovan Alkan\",\"Contact_name\":\"Svetlana Irovan Alkan\",\"\\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\":[{\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"+905313790014\",\"Email\":\"svetlanaonal71@gmail.com\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Svetlana Irovan Alkan\",\"\\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\":\"12.06.2026\",\"\\u041d\\u043e\\u043c\\u0435\\u0440\":\"230\"},\"document\":{\"Date\":\"12.06.2026\",\"Number\":\"230\"}}}","edit":true,"folderMode":"direct"}} {"uid":"e84e426"}
[2026-06-12 11:30:49] docflow.DEBUG: GAS raw response {"raw":"[object] (stdClass: {\"code\":1,\"url\":\"https://docs.google.com/open?id=14HPS3RStelkcfJPM_vVIGMnIX-aWRkP00DikLR82OYA\",\"file_id\":\"14HPS3RStelkcfJPM_vVIGMnIX-aWRkP00DikLR82OYA\",\"error\":\"\",\"vars\":\"\"})"} {"uid":"e84e426"}
[2026-06-12 11:30:49] docflow.INFO: Skipping AmoDrive finalize because document was generated directly in the prepared entity folder. {"fileId":"14HPS3RStelkcfJPM_vVIGMnIX-aWRkP00DikLR82OYA","folder":{"id":"1zOJ-ZgayroM-W2ZIiiQT8mhERv31TPHL","name":"41312754 - Cet. MD","webViewLink":"https://drive.google.com/drive/folders/1zOJ-ZgayroM-W2ZIiiQT8mhERv31TPHL"}} {"uid":"e84e426"}
[2026-06-12 11:31:13] docflow.INFO: Apel createDoc {"data":{"amoAccountId":"22699852","amoUserId":null,"amoEntityId":"41312754","amoEntityType":"2","templateId":"11512","corporateEntityId":"","settlementAccountId":"","is_signed":null,"gdi":null,"number":null,"currentAmoUserId":null,"lang":"ru"}} {"uid":"7f09952"}
[2026-06-12 11:31:14] docflow.INFO: Token is valid for account 22699852. [] {"uid":"7f09952"}
[2026-06-12 11:31:14] docflow.DEBUG: getClientAuth returned {"auth":"[object] (stdClass: {\"domain\":\"emigrare.amocrm.ru\",\"access_token\":\"eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImp0aSI6IjQ2ODg0ZjAwYTM3MWVlZjM4YjhmZWJjMzA2ZDNjY2Y1Y2U0N2QwNGJkODFiM2E0MjBhNDY1MjgwNTgwOGIyMDBkMDliZTBjNTkyYzlmYjkwIn0.eyJhdWQiOiIwZDY0ZGZmYi1lNTRiLTQ0OGYtOWZiZi1iYWYyMjUxYTExZGIiLCJqdGkiOiI0Njg4NGYwMGEzNzFlZWYzOGI4ZmViYzMwNmQzY2NmNWNlNDdkMDRiZDgxYjNhNDIwYTQ2NTI4MDU4MDhiMjAwZDA5YmUwYzU5MmM5ZmI5MCIsImlhdCI6MTc4MTE3MDc4NywibmJmIjoxNzgxMTcwNzg3LCJleHAiOjE3ODEyNTcxODcsInN1YiI6IjI5MzAzODAiLCJncmFudF90eXBlIjoiIiwiYWNjb3VudF9pZCI6MjI2OTk4NTIsImJhc2VfZG9tYWluIjoiYW1vY3JtLnJ1IiwidmVyc2lvbiI6Miwic2NvcGVzIjpbInB1c2hfbm90aWZpY2F0aW9ucyIsImNybSIsIm5vdGlmaWNhdGlvbnMiXSwiaGFzaF91dWlkIjoiMGI5YzZiYTItYTIzZS00ZWEzLWE0ZDItZWVkNDYwYWU0NmEwIiwiYXBpX2RvbWFpbiI6ImFwaS1hLmFtb2NybS5ydSJ9.juKsVnAdPwU6WvARuhO2zWsQkr3l8mzYRT0WGXBFbrcnY8THfrzIimYGzqpe5gZ6xypHWKlzTISW7gasRsp7knBcF0rYDIvNGN33-Bv-GluzESiyvlxAu3uX2MDxl1rNaZdC2X5qxGvhT819sxibl3R5A0pqMkAhtw785aqpWIpVozTufRVMN8IRaNLQbVaUvt-e_I1ltPVYnwU9GZaFQnsfIbpb68ascMEm9a0s1lhFo4RPjWfRTU5ymXK5yiplRTX1IOn8vgfl7fk7ayzfzDdfeSoozdabE-N7-gKppULkgHLwZh11B3rcrQl4zJbgumM9qMzlyMhs_VAeGCpxVA\"})","file":"/home/ytvmclwh/document.amocrm.md/src/Models/Docs.php","line":121} {"uid":"7f09952"}
[2026-06-12 11:31:16] docflow.DEBUG: AmoDrive docflow context request {"url":"https://google.emale.uno/api/docflow/google-context","query":{"account_id":"22699852","entity_id":"41312754","entity_type":"leads"}} {"uid":"7f09952"}
[2026-06-12 11:31:16] docflow.WARNING: AmoDrive docflow context request failed {"url":"https://google.emale.uno/api/docflow/google-context","http_code":null,"error":"HTTP/2 400 ","response":"<!DOCTYPE HTML PUBLIC \"-//IETF//DTD HTML 2.0//EN\">\r\n<html>\r\n<head><title>400 Bad Request</title></head>\r\n<body>\r\n<center><h1>400 Bad Request</h1></center>\r\n Sorry for the inconvenience.<br/>\r\nPlease report this message and include the following information to us.<br/>\r\nThank you very much!</p>\r\n<table>\r\n<tr>\r\n<td>URL:</td>\r\n<td>https://gd.glucose-dev.online/api/docflow/google-context?account_id=22699852&amp;entity_id=41312754&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/06/12 11:31:17</td>\r\n</tr>\r\n</table>\r\n<hr><center>tengine</center>\r\n</body>\r\n</html>\r\n"} {"uid":"7f09952"}
[2026-06-12 11:31:16] docflow.DEBUG: AmoDrive docflow context request {"url":"https://gd.glucose-dev.online/api/docflow/google-context","query":{"account_id":"22699852","entity_id":"41312754","entity_type":"leads"}} {"uid":"7f09952"}
[2026-06-12 11:31:16] docflow.DEBUG: AmoDrive docflow context response {"url":"https://gd.glucose-dev.online/api/docflow/google-context","payload":{"ok":true,"accountId":22699852,"entityId":"41312754","entityType":"leads","amodrive":{"installed":true,"widgetStatus":"installed","amoAccountId":22699852,"accountHost":"emigrare.amocrm.ru","license":{"status":"active","configuredStatus":"active","expiresAt":"2026-08-20T10:16:56.291Z","isExpired":false,"isTrial":false,"isActive":true,"expiredByDate":false,"daysRemaining":70,"isLifetime":false},"licenseActive":true,"googleConnected":true,"googleEmail":"emigrare.md@gmail.com","googleHasDriveScope":true,"googleHasDriveFileScope":true,"googleHasOwnershipScope":true,"readyForGeneratedFileMove":true,"readyForTransfer":true},"folder":{"id":"1zOJ-ZgayroM-W2ZIiiQT8mhERv31TPHL","name":"41312754 - Cet. MD","webViewLink":"https://drive.google.com/drive/folders/1zOJ-ZgayroM-W2ZIiiQT8mhERv31TPHL"}}} {"uid":"7f09952"}
[2026-06-12 11:31:16] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://google.emale.uno/api/docflow/prepare-generated-doc","payload":{"account_id":"22699852","entity_id":"41312754","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"7f09952"}
[2026-06-12 11:31:16] docflow.WARNING: AmoDrive prepare-generated-doc request failed {"url":"https://google.emale.uno/api/docflow/prepare-generated-doc","http_code":null,"error":"HTTP/2 400 ","response":"<!DOCTYPE HTML PUBLIC \"-//IETF//DTD HTML 2.0//EN\">\r\n<html>\r\n<head><title>400 Bad Request</title></head>\r\n<body>\r\n<center><h1>400 Bad Request</h1></center>\r\n Sorry for the inconvenience.<br/>\r\nPlease report this message and include the following information to us.<br/>\r\nThank you very much!</p>\r\n<table>\r\n<tr>\r\n<td>URL:</td>\r\n<td>https://gd.glucose-dev.online/api/docflow/prepare-generated-doc</td>\r\n</tr>\r\n<tr>\r\n<td>Server:</td>\r\n<td>mail.glucose-dev.online</td>\r\n</tr>\r\n<tr>\r\n<td>Date:</td>\r\n<td>2026/06/12 11:31:17</td>\r\n</tr>\r\n</table>\r\n<hr><center>tengine</center>\r\n</body>\r\n</html>\r\n","payload":{"account_id":"22699852","entity_id":"41312754","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"7f09952"}
[2026-06-12 11:31:16] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://gd.glucose-dev.online/api/docflow/prepare-generated-doc","payload":{"account_id":"22699852","entity_id":"41312754","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"7f09952"}
[2026-06-12 11:31:18] docflow.DEBUG: AmoDrive prepare-generated-doc response {"url":"https://gd.glucose-dev.online/api/docflow/prepare-generated-doc","payload":{"ok":true,"accountId":22699852,"entityId":"41312754","entityType":"leads","generatorEmail":"info@glucose.md","directGenerationReady":true,"folder":{"id":"1zOJ-ZgayroM-W2ZIiiQT8mhERv31TPHL","name":"41312754 - Cet. MD","webViewLink":"https://drive.google.com/drive/folders/1zOJ-ZgayroM-W2ZIiiQT8mhERv31TPHL"},"generatorAccess":{"ok":true,"targetEmail":"info@glucose.md","permission":{"id":"15090742993472653631","emailAddress":"info@glucose.md","role":"writer","pendingOwner":false}}}} {"uid":"7f09952"}
[2026-06-12 11:31:18] 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":"1zOJ-ZgayroM-W2ZIiiQT8mhERv31TPHL","key":"~VTsK5dcnHc2cSSsjM$LFSjLlgbmJXwrp3R2P5nd","data":"{\"fileName\":\"\\u0421\\u0447\\u0435\\u0442 \\u043d\\u0430 \\u043e\\u043f\\u043b\\u0430\\u0442\\u0443 EMG (EUR\\/USD\\/MDL) 190 20260612113116\",\"leadId\":\"41312754\",\"entities\":{\"\\u0441\\u0434\\u0435\\u043b\\u043a\\u0430\":{\"roistat\":\"2006\",\"Suma \\u20ac\":\"0\",\"Data cererii create\":\"2026-01-28 21:03:00\",\"google_folder_id_leads_field\":\"https:\\/\\/drive.google.com\\/drive\\/folders\\/1zOJ-ZgayroM-W2ZIiiQT8mhERv31TPHL\",\"ID\":\"41312754\",\"\\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\":{\"roistat\":\"2006\",\"Suma \\u20ac\":\"0\",\"Data cererii create\":\"2026-01-28 21:03:00\",\"google_folder_id_leads_field\":\"https:\\/\\/drive.google.com\\/drive\\/folders\\/1zOJ-ZgayroM-W2ZIiiQT8mhERv31TPHL\",\"ID\":\"41312754\",\"\\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\":{\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"+905313790014\",\"Email\":\"svetlanaonal71@gmail.com\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Svetlana Irovan Alkan\",\"Contact_name\":\"Svetlana Irovan Alkan\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"Marina Negruta\",\"Responsible\":\"Marina Negruta\"},\"contact\":{\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"+905313790014\",\"Email\":\"svetlanaonal71@gmail.com\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Svetlana Irovan Alkan\",\"Contact_name\":\"Svetlana Irovan Alkan\",\"\\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\":[{\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"+905313790014\",\"Email\":\"svetlanaonal71@gmail.com\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Svetlana Irovan Alkan\",\"\\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\":\"12.06.2026\",\"\\u041d\\u043e\\u043c\\u0435\\u0440\":\"190\"},\"document\":{\"Date\":\"12.06.2026\",\"Number\":\"190\"}}}","edit":true,"folderMode":"direct"}} {"uid":"7f09952"}
[2026-06-12 11:31:25] docflow.DEBUG: GAS raw response {"raw":"[object] (stdClass: {\"code\":1,\"url\":\"https://docs.google.com/open?id=1Rt4qUxrDWyfTI08KWv6AJAcvmYUmgwo2mfiOpX3gdZU\",\"file_id\":\"1Rt4qUxrDWyfTI08KWv6AJAcvmYUmgwo2mfiOpX3gdZU\",\"error\":\"\",\"vars\":\"\"})"} {"uid":"7f09952"}
[2026-06-12 11:31:25] docflow.INFO: Skipping AmoDrive finalize because document was generated directly in the prepared entity folder. {"fileId":"1Rt4qUxrDWyfTI08KWv6AJAcvmYUmgwo2mfiOpX3gdZU","folder":{"id":"1zOJ-ZgayroM-W2ZIiiQT8mhERv31TPHL","name":"41312754 - Cet. MD","webViewLink":"https://drive.google.com/drive/folders/1zOJ-ZgayroM-W2ZIiiQT8mhERv31TPHL"}} {"uid":"7f09952"}
[2026-06-12 11:34:29] docflow.INFO: Apel createDoc {"data":{"amoAccountId":"22699852","amoUserId":null,"amoEntityId":"42093222","amoEntityType":"2","templateId":"11484","corporateEntityId":"","settlementAccountId":"","is_signed":null,"gdi":null,"number":null,"currentAmoUserId":null,"lang":"ru"}} {"uid":"8fb7d23"}
[2026-06-12 11:34:30] docflow.INFO: Token is valid for account 22699852. [] {"uid":"8fb7d23"}
[2026-06-12 11:34:30] docflow.DEBUG: getClientAuth returned {"auth":"[object] (stdClass: {\"domain\":\"emigrare.amocrm.ru\",\"access_token\":\"eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImp0aSI6IjQ2ODg0ZjAwYTM3MWVlZjM4YjhmZWJjMzA2ZDNjY2Y1Y2U0N2QwNGJkODFiM2E0MjBhNDY1MjgwNTgwOGIyMDBkMDliZTBjNTkyYzlmYjkwIn0.eyJhdWQiOiIwZDY0ZGZmYi1lNTRiLTQ0OGYtOWZiZi1iYWYyMjUxYTExZGIiLCJqdGkiOiI0Njg4NGYwMGEzNzFlZWYzOGI4ZmViYzMwNmQzY2NmNWNlNDdkMDRiZDgxYjNhNDIwYTQ2NTI4MDU4MDhiMjAwZDA5YmUwYzU5MmM5ZmI5MCIsImlhdCI6MTc4MTE3MDc4NywibmJmIjoxNzgxMTcwNzg3LCJleHAiOjE3ODEyNTcxODcsInN1YiI6IjI5MzAzODAiLCJncmFudF90eXBlIjoiIiwiYWNjb3VudF9pZCI6MjI2OTk4NTIsImJhc2VfZG9tYWluIjoiYW1vY3JtLnJ1IiwidmVyc2lvbiI6Miwic2NvcGVzIjpbInB1c2hfbm90aWZpY2F0aW9ucyIsImNybSIsIm5vdGlmaWNhdGlvbnMiXSwiaGFzaF91dWlkIjoiMGI5YzZiYTItYTIzZS00ZWEzLWE0ZDItZWVkNDYwYWU0NmEwIiwiYXBpX2RvbWFpbiI6ImFwaS1hLmFtb2NybS5ydSJ9.juKsVnAdPwU6WvARuhO2zWsQkr3l8mzYRT0WGXBFbrcnY8THfrzIimYGzqpe5gZ6xypHWKlzTISW7gasRsp7knBcF0rYDIvNGN33-Bv-GluzESiyvlxAu3uX2MDxl1rNaZdC2X5qxGvhT819sxibl3R5A0pqMkAhtw785aqpWIpVozTufRVMN8IRaNLQbVaUvt-e_I1ltPVYnwU9GZaFQnsfIbpb68ascMEm9a0s1lhFo4RPjWfRTU5ymXK5yiplRTX1IOn8vgfl7fk7ayzfzDdfeSoozdabE-N7-gKppULkgHLwZh11B3rcrQl4zJbgumM9qMzlyMhs_VAeGCpxVA\"})","file":"/home/ytvmclwh/document.amocrm.md/src/Models/Docs.php","line":121} {"uid":"8fb7d23"}
[2026-06-12 11:34:32] docflow.DEBUG: AmoDrive docflow context request {"url":"https://google.emale.uno/api/docflow/google-context","query":{"account_id":"22699852","entity_id":"42093222","entity_type":"leads"}} {"uid":"8fb7d23"}
[2026-06-12 11:34:32] docflow.WARNING: AmoDrive docflow context request failed {"url":"https://google.emale.uno/api/docflow/google-context","http_code":null,"error":"HTTP/2 400 ","response":"<!DOCTYPE HTML PUBLIC \"-//IETF//DTD HTML 2.0//EN\">\r\n<html>\r\n<head><title>400 Bad Request</title></head>\r\n<body>\r\n<center><h1>400 Bad Request</h1></center>\r\n Sorry for the inconvenience.<br/>\r\nPlease report this message and include the following information to us.<br/>\r\nThank you very much!</p>\r\n<table>\r\n<tr>\r\n<td>URL:</td>\r\n<td>https://gd.glucose-dev.online/api/docflow/google-context?account_id=22699852&amp;entity_id=42093222&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/06/12 11:34:33</td>\r\n</tr>\r\n</table>\r\n<hr><center>tengine</center>\r\n</body>\r\n</html>\r\n"} {"uid":"8fb7d23"}
[2026-06-12 11:34:32] docflow.DEBUG: AmoDrive docflow context request {"url":"https://gd.glucose-dev.online/api/docflow/google-context","query":{"account_id":"22699852","entity_id":"42093222","entity_type":"leads"}} {"uid":"8fb7d23"}
[2026-06-12 11:34:32] docflow.DEBUG: AmoDrive docflow context response {"url":"https://gd.glucose-dev.online/api/docflow/google-context","payload":{"ok":true,"accountId":22699852,"entityId":"42093222","entityType":"leads","amodrive":{"installed":true,"widgetStatus":"installed","amoAccountId":22699852,"accountHost":"emigrare.amocrm.ru","license":{"status":"active","configuredStatus":"active","expiresAt":"2026-08-20T10:16:56.291Z","isExpired":false,"isTrial":false,"isActive":true,"expiredByDate":false,"daysRemaining":70,"isLifetime":false},"licenseActive":true,"googleConnected":true,"googleEmail":"emigrare.md@gmail.com","googleHasDriveScope":true,"googleHasDriveFileScope":true,"googleHasOwnershipScope":true,"readyForGeneratedFileMove":true,"readyForTransfer":true},"folder":{"id":"19fWG8xLq66Xyh8eQFzZfgRss4CYxffDg","name":"42093222 - Prelungire PS CS","webViewLink":"https://drive.google.com/drive/folders/19fWG8xLq66Xyh8eQFzZfgRss4CYxffDg"}}} {"uid":"8fb7d23"}
[2026-06-12 11:34:32] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://google.emale.uno/api/docflow/prepare-generated-doc","payload":{"account_id":"22699852","entity_id":"42093222","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"8fb7d23"}
[2026-06-12 11:34: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/06/12 11:34:33</td>\r\n</tr>\r\n</table>\r\n<hr><center>tengine</center>\r\n</body>\r\n</html>\r\n","payload":{"account_id":"22699852","entity_id":"42093222","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"8fb7d23"}
[2026-06-12 11:34:32] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://gd.glucose-dev.online/api/docflow/prepare-generated-doc","payload":{"account_id":"22699852","entity_id":"42093222","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"8fb7d23"}
[2026-06-12 11:34:33] docflow.DEBUG: AmoDrive prepare-generated-doc response {"url":"https://gd.glucose-dev.online/api/docflow/prepare-generated-doc","payload":{"ok":true,"accountId":22699852,"entityId":"42093222","entityType":"leads","generatorEmail":"info@glucose.md","directGenerationReady":true,"folder":{"id":"19fWG8xLq66Xyh8eQFzZfgRss4CYxffDg","name":"42093222 - Prelungire PS CS","webViewLink":"https://drive.google.com/drive/folders/19fWG8xLq66Xyh8eQFzZfgRss4CYxffDg"},"generatorAccess":{"ok":true,"targetEmail":"info@glucose.md","permission":{"id":"15090742993472653631","emailAddress":"info@glucose.md","role":"writer","pendingOwner":false}}}} {"uid":"8fb7d23"}
[2026-06-12 11:34:33] docflow.DEBUG: GAS request {"url":"https://script.google.com/macros/s/AKfycbwrvOJD46zkuoTzdhpc1kulhV8jRfgQBFZfQ121nkIip_k8yKit4xrbWTOzaJ-C-Yed6w/exec","body":{"templateFileId":"1Dq2kaNUB1wMt7fRlggu4aCHqJdBiDmrUIK8fJ9NHVNo","accountId":"22699852","folderId":"19fWG8xLq66Xyh8eQFzZfgRss4CYxffDg","key":"~VTsK5dcnHc2cSSsjM$LFSjLlgbmJXwrp3R2P5nd","data":"{\"fileName\":\"PS 922 20260612113432\",\"leadId\":\"42093222\",\"entities\":{\"\\u0441\\u0434\\u0435\\u043b\\u043a\\u0430\":{\"google_folder_id_leads_field\":\"https:\\/\\/drive.google.com\\/drive\\/folders\\/19fWG8xLq66Xyh8eQFzZfgRss4CYxffDg\",\"ID\":\"42093222\",\"\\u0421\\u0434\\u0435\\u043b\\u043a\\u0430_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Prelungire PS CS (Masud Imad)\",\"Lead_name\":\"Prelungire PS CS (Masud Imad)\",\"\\u0411\\u044e\\u0434\\u0436\\u0435\\u0442\":\"0\",\"Budget\":\"0\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"Cezara Cenusa\",\"Responsible\":\"Cezara Cenusa\"},\"lead\":{\"google_folder_id_leads_field\":\"https:\\/\\/drive.google.com\\/drive\\/folders\\/19fWG8xLq66Xyh8eQFzZfgRss4CYxffDg\",\"ID\":\"42093222\",\"\\u0421\\u0434\\u0435\\u043b\\u043a\\u0430_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Prelungire PS CS (Masud Imad)\",\"Lead_name\":\"Prelungire PS CS (Masud Imad)\",\"\\u0411\\u044e\\u0434\\u0436\\u0435\\u0442\":\"0\",\"Budget\":\"0\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"Cezara Cenusa\",\"Responsible\":\"Cezara Cenusa\"},\"\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442\":{\"Email\":\"-\",\"Cet\\u0103\\u021benie de\\u021binut\\u0103\":\"RU\",\"Cum Comunicam\":\"Watsap\",\"Limba vorbita\":\"Rusa\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"0079253690157\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Anastasia Buzovici\",\"Contact_name\":\"Anastasia Buzovici\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"Capanji Igor\",\"Responsible\":\"Capanji Igor\"},\"contact\":{\"Email\":\"-\",\"Cet\\u0103\\u021benie de\\u021binut\\u0103\":\"RU\",\"Cum Comunicam\":\"Watsap\",\"Limba vorbita\":\"Rusa\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"0079253690157\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Anastasia Buzovici\",\"Contact_name\":\"Anastasia Buzovici\",\"\\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\":[{\"Email\":\"-\",\"Cet\\u0103\\u021benie de\\u021binut\\u0103\":\"RU\",\"Cum Comunicam\":\"Watsap\",\"Limba vorbita\":\"Rusa\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"0079253690157\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Anastasia Buzovici\",\"\\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\":\"12.06.2026\",\"\\u041d\\u043e\\u043c\\u0435\\u0440\":\"922\"},\"document\":{\"Date\":\"12.06.2026\",\"Number\":\"922\"}}}","edit":true,"folderMode":"direct"}} {"uid":"8fb7d23"}
[2026-06-12 11:34:41] docflow.DEBUG: GAS raw response {"raw":"[object] (stdClass: {\"code\":1,\"url\":\"https://docs.google.com/open?id=1f0ZOUkI5_4oA7dFQ8Y6NqTNbA6YLZsjE93JkyfytvcE\",\"file_id\":\"1f0ZOUkI5_4oA7dFQ8Y6NqTNbA6YLZsjE93JkyfytvcE\",\"error\":\"\",\"vars\":\"\"})"} {"uid":"8fb7d23"}
[2026-06-12 11:34:41] docflow.INFO: Skipping AmoDrive finalize because document was generated directly in the prepared entity folder. {"fileId":"1f0ZOUkI5_4oA7dFQ8Y6NqTNbA6YLZsjE93JkyfytvcE","folder":{"id":"19fWG8xLq66Xyh8eQFzZfgRss4CYxffDg","name":"42093222 - Prelungire PS CS","webViewLink":"https://drive.google.com/drive/folders/19fWG8xLq66Xyh8eQFzZfgRss4CYxffDg"}} {"uid":"8fb7d23"}
[2026-06-12 11:42:10] docflow.INFO: Apel createDoc {"data":{"amoAccountId":"22699852","amoUserId":null,"amoEntityId":"42093222","amoEntityType":"2","templateId":"11525","corporateEntityId":"","settlementAccountId":"","is_signed":null,"gdi":null,"number":null,"currentAmoUserId":null,"lang":"ru"}} {"uid":"a804be5"}
[2026-06-12 11:42:11] docflow.INFO: Token is valid for account 22699852. [] {"uid":"a804be5"}
[2026-06-12 11:42:11] docflow.DEBUG: getClientAuth returned {"auth":"[object] (stdClass: {\"domain\":\"emigrare.amocrm.ru\",\"access_token\":\"eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImp0aSI6IjQ2ODg0ZjAwYTM3MWVlZjM4YjhmZWJjMzA2ZDNjY2Y1Y2U0N2QwNGJkODFiM2E0MjBhNDY1MjgwNTgwOGIyMDBkMDliZTBjNTkyYzlmYjkwIn0.eyJhdWQiOiIwZDY0ZGZmYi1lNTRiLTQ0OGYtOWZiZi1iYWYyMjUxYTExZGIiLCJqdGkiOiI0Njg4NGYwMGEzNzFlZWYzOGI4ZmViYzMwNmQzY2NmNWNlNDdkMDRiZDgxYjNhNDIwYTQ2NTI4MDU4MDhiMjAwZDA5YmUwYzU5MmM5ZmI5MCIsImlhdCI6MTc4MTE3MDc4NywibmJmIjoxNzgxMTcwNzg3LCJleHAiOjE3ODEyNTcxODcsInN1YiI6IjI5MzAzODAiLCJncmFudF90eXBlIjoiIiwiYWNjb3VudF9pZCI6MjI2OTk4NTIsImJhc2VfZG9tYWluIjoiYW1vY3JtLnJ1IiwidmVyc2lvbiI6Miwic2NvcGVzIjpbInB1c2hfbm90aWZpY2F0aW9ucyIsImNybSIsIm5vdGlmaWNhdGlvbnMiXSwiaGFzaF91dWlkIjoiMGI5YzZiYTItYTIzZS00ZWEzLWE0ZDItZWVkNDYwYWU0NmEwIiwiYXBpX2RvbWFpbiI6ImFwaS1hLmFtb2NybS5ydSJ9.juKsVnAdPwU6WvARuhO2zWsQkr3l8mzYRT0WGXBFbrcnY8THfrzIimYGzqpe5gZ6xypHWKlzTISW7gasRsp7knBcF0rYDIvNGN33-Bv-GluzESiyvlxAu3uX2MDxl1rNaZdC2X5qxGvhT819sxibl3R5A0pqMkAhtw785aqpWIpVozTufRVMN8IRaNLQbVaUvt-e_I1ltPVYnwU9GZaFQnsfIbpb68ascMEm9a0s1lhFo4RPjWfRTU5ymXK5yiplRTX1IOn8vgfl7fk7ayzfzDdfeSoozdabE-N7-gKppULkgHLwZh11B3rcrQl4zJbgumM9qMzlyMhs_VAeGCpxVA\"})","file":"/home/ytvmclwh/document.amocrm.md/src/Models/Docs.php","line":121} {"uid":"a804be5"}
[2026-06-12 11:42:13] docflow.DEBUG: AmoDrive docflow context request {"url":"https://google.emale.uno/api/docflow/google-context","query":{"account_id":"22699852","entity_id":"42093222","entity_type":"leads"}} {"uid":"a804be5"}
[2026-06-12 11:42: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=42093222&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/06/12 11:42:14</td>\r\n</tr>\r\n</table>\r\n<hr><center>tengine</center>\r\n</body>\r\n</html>\r\n"} {"uid":"a804be5"}
[2026-06-12 11:42:13] docflow.DEBUG: AmoDrive docflow context request {"url":"https://gd.glucose-dev.online/api/docflow/google-context","query":{"account_id":"22699852","entity_id":"42093222","entity_type":"leads"}} {"uid":"a804be5"}
[2026-06-12 11:42:13] docflow.DEBUG: AmoDrive docflow context response {"url":"https://gd.glucose-dev.online/api/docflow/google-context","payload":{"ok":true,"accountId":22699852,"entityId":"42093222","entityType":"leads","amodrive":{"installed":true,"widgetStatus":"installed","amoAccountId":22699852,"accountHost":"emigrare.amocrm.ru","license":{"status":"active","configuredStatus":"active","expiresAt":"2026-08-20T10:16:56.291Z","isExpired":false,"isTrial":false,"isActive":true,"expiredByDate":false,"daysRemaining":70,"isLifetime":false},"licenseActive":true,"googleConnected":true,"googleEmail":"emigrare.md@gmail.com","googleHasDriveScope":true,"googleHasDriveFileScope":true,"googleHasOwnershipScope":true,"readyForGeneratedFileMove":true,"readyForTransfer":true},"folder":{"id":"19fWG8xLq66Xyh8eQFzZfgRss4CYxffDg","name":"42093222 - Prelungire PS CS","webViewLink":"https://drive.google.com/drive/folders/19fWG8xLq66Xyh8eQFzZfgRss4CYxffDg"}}} {"uid":"a804be5"}
[2026-06-12 11:42:13] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://google.emale.uno/api/docflow/prepare-generated-doc","payload":{"account_id":"22699852","entity_id":"42093222","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"a804be5"}
[2026-06-12 11:42: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/06/12 11:42: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":"42093222","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"a804be5"}
[2026-06-12 11:42:13] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://gd.glucose-dev.online/api/docflow/prepare-generated-doc","payload":{"account_id":"22699852","entity_id":"42093222","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"a804be5"}
[2026-06-12 11:42:14] docflow.DEBUG: AmoDrive prepare-generated-doc response {"url":"https://gd.glucose-dev.online/api/docflow/prepare-generated-doc","payload":{"ok":true,"accountId":22699852,"entityId":"42093222","entityType":"leads","generatorEmail":"info@glucose.md","directGenerationReady":true,"folder":{"id":"19fWG8xLq66Xyh8eQFzZfgRss4CYxffDg","name":"42093222 - Prelungire PS CS","webViewLink":"https://drive.google.com/drive/folders/19fWG8xLq66Xyh8eQFzZfgRss4CYxffDg"},"generatorAccess":{"ok":true,"targetEmail":"info@glucose.md","permission":{"id":"15090742993472653631","emailAddress":"info@glucose.md","role":"writer","pendingOwner":false}}}} {"uid":"a804be5"}
[2026-06-12 11:42:14] docflow.DEBUG: GAS request {"url":"https://script.google.com/macros/s/AKfycbwrvOJD46zkuoTzdhpc1kulhV8jRfgQBFZfQ121nkIip_k8yKit4xrbWTOzaJ-C-Yed6w/exec","body":{"templateFileId":"1WbsU1KEhQsgulJePwaSJXrk2Enf9WW8h7Hs9uPNHIDU","accountId":"22699852","folderId":"19fWG8xLq66Xyh8eQFzZfgRss4CYxffDg","key":"~VTsK5dcnHc2cSSsjM$LFSjLlgbmJXwrp3R2P5nd","data":"{\"fileName\":\"\\u0421\\u0447\\u0435\\u0442 \\u043d\\u0430 \\u043e\\u043f\\u043b\\u0430\\u0442\\u0443 CNC (EUR\\/USD\\/MDL) 90 20260612114213\",\"leadId\":\"42093222\",\"entities\":{\"\\u0441\\u0434\\u0435\\u043b\\u043a\\u0430\":{\"google_folder_id_leads_field\":\"https:\\/\\/drive.google.com\\/drive\\/folders\\/19fWG8xLq66Xyh8eQFzZfgRss4CYxffDg\",\"ID\":\"42093222\",\"\\u0421\\u0434\\u0435\\u043b\\u043a\\u0430_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"prelungire PS\\/CS (Masud Imad)\",\"Lead_name\":\"prelungire PS\\/CS (Masud Imad)\",\"\\u0411\\u044e\\u0434\\u0436\\u0435\\u0442\":\"0\",\"Budget\":\"0\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"Cezara Cenusa\",\"Responsible\":\"Cezara Cenusa\"},\"lead\":{\"google_folder_id_leads_field\":\"https:\\/\\/drive.google.com\\/drive\\/folders\\/19fWG8xLq66Xyh8eQFzZfgRss4CYxffDg\",\"ID\":\"42093222\",\"\\u0421\\u0434\\u0435\\u043b\\u043a\\u0430_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"prelungire PS\\/CS (Masud Imad)\",\"Lead_name\":\"prelungire PS\\/CS (Masud Imad)\",\"\\u0411\\u044e\\u0434\\u0436\\u0435\\u0442\":\"0\",\"Budget\":\"0\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"Cezara Cenusa\",\"Responsible\":\"Cezara Cenusa\"},\"\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442\":{\"Email\":\"-\",\"Cet\\u0103\\u021benie de\\u021binut\\u0103\":\"RU\",\"Cum Comunicam\":\"Watsap\",\"Limba vorbita\":\"Rusa\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"0079253690157\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Anastasia Buzovici\",\"Contact_name\":\"Anastasia Buzovici\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"Capanji Igor\",\"Responsible\":\"Capanji Igor\"},\"contact\":{\"Email\":\"-\",\"Cet\\u0103\\u021benie de\\u021binut\\u0103\":\"RU\",\"Cum Comunicam\":\"Watsap\",\"Limba vorbita\":\"Rusa\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"0079253690157\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Anastasia Buzovici\",\"Contact_name\":\"Anastasia Buzovici\",\"\\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\":[{\"Email\":\"-\",\"Cet\\u0103\\u021benie de\\u021binut\\u0103\":\"RU\",\"Cum Comunicam\":\"Watsap\",\"Limba vorbita\":\"Rusa\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"0079253690157\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Anastasia Buzovici\",\"\\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\":\"12.06.2026\",\"\\u041d\\u043e\\u043c\\u0435\\u0440\":\"90\"},\"document\":{\"Date\":\"12.06.2026\",\"Number\":\"90\"}}}","edit":true,"folderMode":"direct"}} {"uid":"a804be5"}
[2026-06-12 11:42:20] docflow.DEBUG: GAS raw response {"raw":"[object] (stdClass: {\"code\":1,\"url\":\"https://docs.google.com/open?id=1pjbrnmf-BpdwNTs66XwpMHRf2Rnfq6cJYMDtjIPmc3s\",\"file_id\":\"1pjbrnmf-BpdwNTs66XwpMHRf2Rnfq6cJYMDtjIPmc3s\",\"error\":\"\",\"vars\":\"\"})"} {"uid":"a804be5"}
[2026-06-12 11:42:20] docflow.INFO: Skipping AmoDrive finalize because document was generated directly in the prepared entity folder. {"fileId":"1pjbrnmf-BpdwNTs66XwpMHRf2Rnfq6cJYMDtjIPmc3s","folder":{"id":"19fWG8xLq66Xyh8eQFzZfgRss4CYxffDg","name":"42093222 - Prelungire PS CS","webViewLink":"https://drive.google.com/drive/folders/19fWG8xLq66Xyh8eQFzZfgRss4CYxffDg"}} {"uid":"a804be5"}
[2026-06-12 13:41:58] docflow.INFO: Apel createDoc {"data":{"amoAccountId":"22699852","amoUserId":null,"amoEntityId":"37936568","amoEntityType":"2","templateId":"11485","corporateEntityId":"","settlementAccountId":"","is_signed":null,"gdi":null,"number":null,"currentAmoUserId":null,"lang":"ru"}} {"uid":"7c1d5d9"}
[2026-06-12 13:41:59] docflow.INFO: Token validation failed for account 22699852. Refreshing... {"http_code":null,"error_message":"HTTP/2 401 "} {"uid":"7c1d5d9"}
[2026-06-12 13:41:59] docflow.INFO: Attempting token refresh with payload: {"client_id":"0d64dffb-e54b-448f-9fbf-baf2251a11db","client_secret":"AXqHrT1J35SilTTtI3yyaHdQKiS5bonhySaPYkLmo7mR6ZZ9zDP24dUjG189VG9G","grant_type":"refresh_token","refresh_token":"def5020015bab7e0079d0ce5a56b64351d484871cbfaa3bda75784dbc9f01eaf4b40d923a701f1f64c61676702df33165ce798dc965e5ac4b4c36a6a5e57a35d81a73b80e17ccbe9295af8c099b96f1df275856b39e39201906a4d09d6a3253558f80dec31d3c785780a74bdc444e8b66840b0abba40d146b188678dd5ba29cb3a33f8d579db2aa0e21eb89f270327d3ad9bb2796568c6a0ac86f6eebb4973574e3e0aa8c4770c1bb25c54cc190c5ba60032d7dacd4b032466fe9e7d4b8477de7b82c898199cf6fd5c9209d3d0dccb1bd892a8e3abc8f1a259ee33e6b9dcc1748b74f16e17a3ab9ca7bd45eb8e847b5c6ccdcef2e402d6db211943a84a2c50b32ed2396eef9d3bbd8406b40e7a8cefb58682115bcb2796fd423531426e10fc2badf79a2ac016950ba952da1e9e53d2830ba9de33358267dad8374084b674721997a918e96b0ac382ae3ab23a3ddd395e92412b6291605ae38edcc13e73472399a8be6e4436c1313234a79a28b79c9b4ba988bf998a98961886b0ad3084030b84b6913e5222cb65a9dc951b8aaa45400c70a4996e61a9d0315d8b0597e76ca10230983767b07ca0f3944c766971d844c0eb5bbd3b281a2a6b2d294ba995481543fb518fa75833086724475bac079378a9d620247b7c25","redirect_uri":"https://document.amocrm.md/core/manager/install.php"} {"uid":"7c1d5d9"}
[2026-06-12 13:41:59] docflow.INFO: Token for account 22699852 refreshed successfully. [] {"uid":"7c1d5d9"}
[2026-06-12 13:41:59] docflow.DEBUG: getClientAuth returned {"auth":"[object] (stdClass: {\"domain\":\"emigrare.amocrm.ru\",\"access_token\":\"eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImp0aSI6ImI4Mzc2ODRiYjY5ODkxMDcwMTM5N2EzOWEzMDljOGI2ZGE1ODEyOThiMDE2MWRiYzYyYjZkNjczYjc4ZjQ1YTU4YmJjYWZmMmQzMjY2ZDg3In0.eyJhdWQiOiIwZDY0ZGZmYi1lNTRiLTQ0OGYtOWZiZi1iYWYyMjUxYTExZGIiLCJqdGkiOiJiODM3Njg0YmI2OTg5MTA3MDEzOTdhMzlhMzA5YzhiNmRhNTgxMjk4YjAxNjFkYmM2MmI2ZDY3M2I3OGY0NWE1OGJiY2FmZjJkMzI2NmQ4NyIsImlhdCI6MTc4MTI2MDkyMCwibmJmIjoxNzgxMjYwOTIwLCJleHAiOjE3ODEzNDczMjAsInN1YiI6IjI5MzAzODAiLCJncmFudF90eXBlIjoiIiwiYWNjb3VudF9pZCI6MjI2OTk4NTIsImJhc2VfZG9tYWluIjoiYW1vY3JtLnJ1IiwidmVyc2lvbiI6Miwic2NvcGVzIjpbInB1c2hfbm90aWZpY2F0aW9ucyIsImNybSIsIm5vdGlmaWNhdGlvbnMiXSwiaGFzaF91dWlkIjoiODJkYWI3ZTctODMwMS00YjEzLThjY2ItYWViMWJiZDUxYjJhIiwiYXBpX2RvbWFpbiI6ImFwaS1hLmFtb2NybS5ydSJ9.N9xblUBi4j8OpMRAgyKFNLZ9zm8vyptldbrsB_QtM7xFgzCw4n0YKUUn_EqLW_ZrTYAmBaZqSXwm6crcTtUeOfOYqR_D8YYxEq2m4dBOub_XbpY2dPpdwmmE7NzW09SVvo_f1kKoPocyrYSb9i8M9mJR-GXhWlBzlHPb-pJWlKLsuvr7AyDFSy-WM7X5RcYQ32-qBfyBtcvdH8jUNmsZCqgr-8b-Or7yjWGeErvvYuG2U80s9chk6XGlfvgsE9FmLB38WLX8yCBmUE5BEoEXmVChQPdWXgq5poiavUOhgEbw30yO327oDg6swMXOBom3evfK1XomioHvlMB5KNJybw\"})","file":"/home/ytvmclwh/document.amocrm.md/src/Models/Docs.php","line":121} {"uid":"7c1d5d9"}
[2026-06-12 13:42:02] docflow.DEBUG: AmoDrive docflow context request {"url":"https://google.emale.uno/api/docflow/google-context","query":{"account_id":"22699852","entity_id":"37936568","entity_type":"leads"}} {"uid":"7c1d5d9"}
[2026-06-12 13:42:02] docflow.WARNING: AmoDrive docflow context request failed {"url":"https://google.emale.uno/api/docflow/google-context","http_code":null,"error":"HTTP/2 400 ","response":"<!DOCTYPE HTML PUBLIC \"-//IETF//DTD HTML 2.0//EN\">\r\n<html>\r\n<head><title>400 Bad Request</title></head>\r\n<body>\r\n<center><h1>400 Bad Request</h1></center>\r\n Sorry for the inconvenience.<br/>\r\nPlease report this message and include the following information to us.<br/>\r\nThank you very much!</p>\r\n<table>\r\n<tr>\r\n<td>URL:</td>\r\n<td>https://gd.glucose-dev.online/api/docflow/google-context?account_id=22699852&amp;entity_id=37936568&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/06/12 13:42:03</td>\r\n</tr>\r\n</table>\r\n<hr><center>tengine</center>\r\n</body>\r\n</html>\r\n"} {"uid":"7c1d5d9"}
[2026-06-12 13:42:02] docflow.DEBUG: AmoDrive docflow context request {"url":"https://gd.glucose-dev.online/api/docflow/google-context","query":{"account_id":"22699852","entity_id":"37936568","entity_type":"leads"}} {"uid":"7c1d5d9"}
[2026-06-12 13:42:02] docflow.DEBUG: AmoDrive docflow context response {"url":"https://gd.glucose-dev.online/api/docflow/google-context","payload":{"ok":true,"accountId":22699852,"entityId":"37936568","entityType":"leads","amodrive":{"installed":true,"widgetStatus":"installed","amoAccountId":22699852,"accountHost":"emigrare.amocrm.ru","license":{"status":"active","configuredStatus":"active","expiresAt":"2026-08-20T10:16:56.291Z","isExpired":false,"isTrial":false,"isActive":true,"expiredByDate":false,"daysRemaining":69,"isLifetime":false},"licenseActive":true,"googleConnected":true,"googleEmail":"emigrare.md@gmail.com","googleHasDriveScope":true,"googleHasDriveFileScope":true,"googleHasOwnershipScope":true,"readyForGeneratedFileMove":true,"readyForTransfer":true},"folder":{"id":"1NOfFRe1108_-0ccaVxWOHEgygrK-C8Mu","name":"Cet. MD","webViewLink":"https://drive.google.com/drive/folders/1NOfFRe1108_-0ccaVxWOHEgygrK-C8Mu"}}} {"uid":"7c1d5d9"}
[2026-06-12 13:42:02] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://google.emale.uno/api/docflow/prepare-generated-doc","payload":{"account_id":"22699852","entity_id":"37936568","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"7c1d5d9"}
[2026-06-12 13:42:02] docflow.WARNING: AmoDrive prepare-generated-doc request failed {"url":"https://google.emale.uno/api/docflow/prepare-generated-doc","http_code":null,"error":"HTTP/2 400 ","response":"<!DOCTYPE HTML PUBLIC \"-//IETF//DTD HTML 2.0//EN\">\r\n<html>\r\n<head><title>400 Bad Request</title></head>\r\n<body>\r\n<center><h1>400 Bad Request</h1></center>\r\n Sorry for the inconvenience.<br/>\r\nPlease report this message and include the following information to us.<br/>\r\nThank you very much!</p>\r\n<table>\r\n<tr>\r\n<td>URL:</td>\r\n<td>https://gd.glucose-dev.online/api/docflow/prepare-generated-doc</td>\r\n</tr>\r\n<tr>\r\n<td>Server:</td>\r\n<td>mail.glucose-dev.online</td>\r\n</tr>\r\n<tr>\r\n<td>Date:</td>\r\n<td>2026/06/12 13:42:03</td>\r\n</tr>\r\n</table>\r\n<hr><center>tengine</center>\r\n</body>\r\n</html>\r\n","payload":{"account_id":"22699852","entity_id":"37936568","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"7c1d5d9"}
[2026-06-12 13:42:02] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://gd.glucose-dev.online/api/docflow/prepare-generated-doc","payload":{"account_id":"22699852","entity_id":"37936568","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"7c1d5d9"}
[2026-06-12 13:42:05] docflow.DEBUG: AmoDrive prepare-generated-doc response {"url":"https://gd.glucose-dev.online/api/docflow/prepare-generated-doc","payload":{"ok":true,"accountId":22699852,"entityId":"37936568","entityType":"leads","generatorEmail":"info@glucose.md","directGenerationReady":true,"folder":{"id":"1NOfFRe1108_-0ccaVxWOHEgygrK-C8Mu","name":"Cet. MD","webViewLink":"https://drive.google.com/drive/folders/1NOfFRe1108_-0ccaVxWOHEgygrK-C8Mu"},"generatorAccess":{"ok":true,"targetEmail":"info@glucose.md","permission":{"id":"15090742993472653631","emailAddress":"info@glucose.md","role":"writer","pendingOwner":false}}}} {"uid":"7c1d5d9"}
[2026-06-12 13:42:05] docflow.DEBUG: GAS request {"url":"https://script.google.com/macros/s/AKfycbwrvOJD46zkuoTzdhpc1kulhV8jRfgQBFZfQ121nkIip_k8yKit4xrbWTOzaJ-C-Yed6w/exec","body":{"templateFileId":"15XlQFe18qRn3JBpjzXRF7QxAMRNgQmxW3EKh7kEO9wI","accountId":"22699852","folderId":"1NOfFRe1108_-0ccaVxWOHEgygrK-C8Mu","key":"~VTsK5dcnHc2cSSsjM$LFSjLlgbmJXwrp3R2P5nd","data":"{\"fileName\":\"Repatriere 486 20260612134202\",\"leadId\":\"37936568\",\"entities\":{\"\\u0441\\u0434\\u0435\\u043b\\u043a\\u0430\":{\"Luna crearii Tranzactiei back\":\"24.05.2024\",\"Brand\":\"Cetatenie.md\",\"Luat \\u00een lucru\":\"1\",\"google_folder_id_leads_field\":\"1NOfFRe1108_-0ccaVxWOHEgygrK-C8Mu\",\"google_folder_link_leads_field\":\"https:\\/\\/drive.google.com\\/drive\\/folders\\/1NOfFRe1108_-0ccaVxWOHEgygrK-C8Mu\",\"Ceta\\u021benia RM\":\"Cet pe baza parinti bunei\",\"Suma Back\":\"2900\",\"Reac\\u021bia clientului la pre\\u021b\":\"Clientul este interesat \\u0219i este preg\\u0103tit financiar\",\"Cet.MD\":\"Cet.MD Recunoastere Parinti\",\"Luna trec in Front\":\"28.10.2024\",\"Data contractului\":\"28.10.2024\",\"Numar Contract\":\"37936568\",\"Compania\":\"EMG Cetatenie Grup\",\"Termen perfectare\":\"01.05.2025\",\"Avans\":\"1015\",\"Valuta\":\"Euro\",\"Cont\":\"\\u0410\\u041b\\u042c\\u0424\\u0410 \\u0411\\u0410\\u041d\\u041a.                                 \\u041d\\u043e\\u043c\\u0435\\u0440 \\u043a\\u0430\\u0440\\u0442\\u044b 5559 5720 5487 6083 +79857493467.                              \\u041d\\u043e\\u043c\\u0435\\u0440 \\u0441\\u0447\\u0435\\u0442\\u0430 40820810804170001481 \\u041f\\u043e\\u043b\\u0443\\u0447\\u0430\\u0442\\u0435\\u043b\\u044c: \\u041e\\u043a\\u0438\\u043d\\u0447\\u0443\\u043a \\u0412\\u0438\\u043a\\u0442\\u043e\\u0440     \\u0418\\u041d\\u041d \\u0431\\u0430\\u043d\\u043a\\u0430 \\u043f\\u043e\\u043b\\u0443\\u0447\\u0430\\u0442\\u0435\\u043b\\u044f: 7728168971 \\u041a\\u043e\\u0440\\u0440. \\u0441\\u0447\\u0435\\u0442: 30101810200000000593 \\u0411\\u0430\\u043d\\u043a: \\u0410\\u041e \\u00ab\\u0410\\u043b\\u044c\\u0444\\u0430-\\u0411\\u0430\\u043d\\u043a\\u00bb, \\u0433. \\u041c\\u043e\\u0441\\u043a\\u0432\\u0430 \\u041a\\u041f\\u041f \\u0431\\u0430\\u043d\\u043a\\u0430 \\u043f\\u043e\\u043b\\u0443\\u0447\\u0430\\u0442\\u0435\\u043b\\u044f: 770801001 \\u0411\\u0418\\u041a: 044525593\",\"Suma contract\":\"2900\",\"Suma \\u20ac\":\"0\",\"Luna trec producere\":\"15.04.2025\",\"Link tranzac\\u021bia front\":\"https:\\/\\/emigrare.amocrm.ru\\/leads\\/detail\\/37936568\",\"Urm\\u0103torul contact\":\"2026-02-20 11:02:00\",\"Data avans\":\"24.05.2024\",\"ID\":\"37936568\",\"\\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\":\"2900\",\"Budget\":\"2900\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"Capanji Igor\",\"Responsible\":\"Capanji Igor\"},\"lead\":{\"Luna crearii Tranzactiei back\":\"24.05.2024\",\"Brand\":\"Cetatenie.md\",\"Luat \\u00een lucru\":\"1\",\"google_folder_id_leads_field\":\"1NOfFRe1108_-0ccaVxWOHEgygrK-C8Mu\",\"google_folder_link_leads_field\":\"https:\\/\\/drive.google.com\\/drive\\/folders\\/1NOfFRe1108_-0ccaVxWOHEgygrK-C8Mu\",\"Ceta\\u021benia RM\":\"Cet pe baza parinti bunei\",\"Suma Back\":\"2900\",\"Reac\\u021bia clientului la pre\\u021b\":\"Clientul este interesat \\u0219i este preg\\u0103tit financiar\",\"Cet.MD\":\"Cet.MD Recunoastere Parinti\",\"Luna trec in Front\":\"28.10.2024\",\"Data contractului\":\"28.10.2024\",\"Numar Contract\":\"37936568\",\"Compania\":\"EMG Cetatenie Grup\",\"Termen perfectare\":\"01.05.2025\",\"Avans\":\"1015\",\"Valuta\":\"Euro\",\"Cont\":\"\\u0410\\u041b\\u042c\\u0424\\u0410 \\u0411\\u0410\\u041d\\u041a.                                 \\u041d\\u043e\\u043c\\u0435\\u0440 \\u043a\\u0430\\u0440\\u0442\\u044b 5559 5720 5487 6083 +79857493467.                              \\u041d\\u043e\\u043c\\u0435\\u0440 \\u0441\\u0447\\u0435\\u0442\\u0430 40820810804170001481 \\u041f\\u043e\\u043b\\u0443\\u0447\\u0430\\u0442\\u0435\\u043b\\u044c: \\u041e\\u043a\\u0438\\u043d\\u0447\\u0443\\u043a \\u0412\\u0438\\u043a\\u0442\\u043e\\u0440     \\u0418\\u041d\\u041d \\u0431\\u0430\\u043d\\u043a\\u0430 \\u043f\\u043e\\u043b\\u0443\\u0447\\u0430\\u0442\\u0435\\u043b\\u044f: 7728168971 \\u041a\\u043e\\u0440\\u0440. \\u0441\\u0447\\u0435\\u0442: 30101810200000000593 \\u0411\\u0430\\u043d\\u043a: \\u0410\\u041e \\u00ab\\u0410\\u043b\\u044c\\u0444\\u0430-\\u0411\\u0430\\u043d\\u043a\\u00bb, \\u0433. \\u041c\\u043e\\u0441\\u043a\\u0432\\u0430 \\u041a\\u041f\\u041f \\u0431\\u0430\\u043d\\u043a\\u0430 \\u043f\\u043e\\u043b\\u0443\\u0447\\u0430\\u0442\\u0435\\u043b\\u044f: 770801001 \\u0411\\u0418\\u041a: 044525593\",\"Suma contract\":\"2900\",\"Suma \\u20ac\":\"0\",\"Luna trec producere\":\"15.04.2025\",\"Link tranzac\\u021bia front\":\"https:\\/\\/emigrare.amocrm.ru\\/leads\\/detail\\/37936568\",\"Urm\\u0103torul contact\":\"2026-02-20 11:02:00\",\"Data avans\":\"24.05.2024\",\"ID\":\"37936568\",\"\\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\":\"2900\",\"Budget\":\"2900\",\"\\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\":\"+79158923379\",\"Email\":\"sabina_920792@mail.ru\",\"Cet\\u0103\\u021benie de\\u021binut\\u0103\":\"RU\",\"Cum Comunicam\":\"Watsap\",\"Limba vorbita\":\"Rusa\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Sabina Sargsian (Ivashina)\",\"Contact_name\":\"Sabina Sargsian (Ivashina)\",\"\\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\":\"+79158923379\",\"Email\":\"sabina_920792@mail.ru\",\"Cet\\u0103\\u021benie de\\u021binut\\u0103\":\"RU\",\"Cum Comunicam\":\"Watsap\",\"Limba vorbita\":\"Rusa\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Sabina Sargsian (Ivashina)\",\"Contact_name\":\"Sabina Sargsian (Ivashina)\",\"\\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\":\"+79158923379\",\"Email\":\"sabina_920792@mail.ru\",\"Cet\\u0103\\u021benie de\\u021binut\\u0103\":\"RU\",\"Cum Comunicam\":\"Watsap\",\"Limba vorbita\":\"Rusa\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Sabina Sargsian (Ivashina)\",\"\\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\":\"12.06.2026\",\"\\u041d\\u043e\\u043c\\u0435\\u0440\":\"486\"},\"document\":{\"Date\":\"12.06.2026\",\"Number\":\"486\"}}}","edit":true,"folderMode":"direct"}} {"uid":"7c1d5d9"}
[2026-06-12 13:42:11] docflow.DEBUG: GAS raw response {"raw":"[object] (stdClass: {\"code\":1,\"url\":\"https://docs.google.com/open?id=1APAF6558Pg-23d6PGS3QTa6YD0_GQuDUXoLINKlICUs\",\"file_id\":\"1APAF6558Pg-23d6PGS3QTa6YD0_GQuDUXoLINKlICUs\",\"error\":\"\",\"vars\":\"\"})"} {"uid":"7c1d5d9"}
[2026-06-12 13:42:11] docflow.INFO: Skipping AmoDrive finalize because document was generated directly in the prepared entity folder. {"fileId":"1APAF6558Pg-23d6PGS3QTa6YD0_GQuDUXoLINKlICUs","folder":{"id":"1NOfFRe1108_-0ccaVxWOHEgygrK-C8Mu","name":"Cet. MD","webViewLink":"https://drive.google.com/drive/folders/1NOfFRe1108_-0ccaVxWOHEgygrK-C8Mu"}} {"uid":"7c1d5d9"}
[2026-06-12 13:42:33] docflow.INFO: Apel createDoc {"data":{"amoAccountId":"22699852","amoUserId":null,"amoEntityId":"37936568","amoEntityType":"2","templateId":"11515","corporateEntityId":"","settlementAccountId":"","is_signed":null,"gdi":null,"number":null,"currentAmoUserId":null,"lang":"ru"}} {"uid":"8249dcc"}
[2026-06-12 13:42:33] docflow.INFO: Token is valid for account 22699852. [] {"uid":"8249dcc"}
[2026-06-12 13:42:33] docflow.DEBUG: getClientAuth returned {"auth":"[object] (stdClass: {\"domain\":\"emigrare.amocrm.ru\",\"access_token\":\"eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImp0aSI6ImI4Mzc2ODRiYjY5ODkxMDcwMTM5N2EzOWEzMDljOGI2ZGE1ODEyOThiMDE2MWRiYzYyYjZkNjczYjc4ZjQ1YTU4YmJjYWZmMmQzMjY2ZDg3In0.eyJhdWQiOiIwZDY0ZGZmYi1lNTRiLTQ0OGYtOWZiZi1iYWYyMjUxYTExZGIiLCJqdGkiOiJiODM3Njg0YmI2OTg5MTA3MDEzOTdhMzlhMzA5YzhiNmRhNTgxMjk4YjAxNjFkYmM2MmI2ZDY3M2I3OGY0NWE1OGJiY2FmZjJkMzI2NmQ4NyIsImlhdCI6MTc4MTI2MDkyMCwibmJmIjoxNzgxMjYwOTIwLCJleHAiOjE3ODEzNDczMjAsInN1YiI6IjI5MzAzODAiLCJncmFudF90eXBlIjoiIiwiYWNjb3VudF9pZCI6MjI2OTk4NTIsImJhc2VfZG9tYWluIjoiYW1vY3JtLnJ1IiwidmVyc2lvbiI6Miwic2NvcGVzIjpbInB1c2hfbm90aWZpY2F0aW9ucyIsImNybSIsIm5vdGlmaWNhdGlvbnMiXSwiaGFzaF91dWlkIjoiODJkYWI3ZTctODMwMS00YjEzLThjY2ItYWViMWJiZDUxYjJhIiwiYXBpX2RvbWFpbiI6ImFwaS1hLmFtb2NybS5ydSJ9.N9xblUBi4j8OpMRAgyKFNLZ9zm8vyptldbrsB_QtM7xFgzCw4n0YKUUn_EqLW_ZrTYAmBaZqSXwm6crcTtUeOfOYqR_D8YYxEq2m4dBOub_XbpY2dPpdwmmE7NzW09SVvo_f1kKoPocyrYSb9i8M9mJR-GXhWlBzlHPb-pJWlKLsuvr7AyDFSy-WM7X5RcYQ32-qBfyBtcvdH8jUNmsZCqgr-8b-Or7yjWGeErvvYuG2U80s9chk6XGlfvgsE9FmLB38WLX8yCBmUE5BEoEXmVChQPdWXgq5poiavUOhgEbw30yO327oDg6swMXOBom3evfK1XomioHvlMB5KNJybw\"})","file":"/home/ytvmclwh/document.amocrm.md/src/Models/Docs.php","line":121} {"uid":"8249dcc"}
[2026-06-12 13:42:35] docflow.DEBUG: AmoDrive docflow context request {"url":"https://google.emale.uno/api/docflow/google-context","query":{"account_id":"22699852","entity_id":"37936568","entity_type":"leads"}} {"uid":"8249dcc"}
[2026-06-12 13:42:35] docflow.WARNING: AmoDrive docflow context request failed {"url":"https://google.emale.uno/api/docflow/google-context","http_code":null,"error":"HTTP/2 400 ","response":"<!DOCTYPE HTML PUBLIC \"-//IETF//DTD HTML 2.0//EN\">\r\n<html>\r\n<head><title>400 Bad Request</title></head>\r\n<body>\r\n<center><h1>400 Bad Request</h1></center>\r\n Sorry for the inconvenience.<br/>\r\nPlease report this message and include the following information to us.<br/>\r\nThank you very much!</p>\r\n<table>\r\n<tr>\r\n<td>URL:</td>\r\n<td>https://gd.glucose-dev.online/api/docflow/google-context?account_id=22699852&amp;entity_id=37936568&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/06/12 13:42:36</td>\r\n</tr>\r\n</table>\r\n<hr><center>tengine</center>\r\n</body>\r\n</html>\r\n"} {"uid":"8249dcc"}
[2026-06-12 13:42:35] docflow.DEBUG: AmoDrive docflow context request {"url":"https://gd.glucose-dev.online/api/docflow/google-context","query":{"account_id":"22699852","entity_id":"37936568","entity_type":"leads"}} {"uid":"8249dcc"}
[2026-06-12 13:42:35] docflow.DEBUG: AmoDrive docflow context response {"url":"https://gd.glucose-dev.online/api/docflow/google-context","payload":{"ok":true,"accountId":22699852,"entityId":"37936568","entityType":"leads","amodrive":{"installed":true,"widgetStatus":"installed","amoAccountId":22699852,"accountHost":"emigrare.amocrm.ru","license":{"status":"active","configuredStatus":"active","expiresAt":"2026-08-20T10:16:56.291Z","isExpired":false,"isTrial":false,"isActive":true,"expiredByDate":false,"daysRemaining":69,"isLifetime":false},"licenseActive":true,"googleConnected":true,"googleEmail":"emigrare.md@gmail.com","googleHasDriveScope":true,"googleHasDriveFileScope":true,"googleHasOwnershipScope":true,"readyForGeneratedFileMove":true,"readyForTransfer":true},"folder":{"id":"1NOfFRe1108_-0ccaVxWOHEgygrK-C8Mu","name":"Cet. MD","webViewLink":"https://drive.google.com/drive/folders/1NOfFRe1108_-0ccaVxWOHEgygrK-C8Mu"}}} {"uid":"8249dcc"}
[2026-06-12 13:42:35] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://google.emale.uno/api/docflow/prepare-generated-doc","payload":{"account_id":"22699852","entity_id":"37936568","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"8249dcc"}
[2026-06-12 13:42:35] docflow.WARNING: AmoDrive prepare-generated-doc request failed {"url":"https://google.emale.uno/api/docflow/prepare-generated-doc","http_code":null,"error":"HTTP/2 400 ","response":"<!DOCTYPE HTML PUBLIC \"-//IETF//DTD HTML 2.0//EN\">\r\n<html>\r\n<head><title>400 Bad Request</title></head>\r\n<body>\r\n<center><h1>400 Bad Request</h1></center>\r\n Sorry for the inconvenience.<br/>\r\nPlease report this message and include the following information to us.<br/>\r\nThank you very much!</p>\r\n<table>\r\n<tr>\r\n<td>URL:</td>\r\n<td>https://gd.glucose-dev.online/api/docflow/prepare-generated-doc</td>\r\n</tr>\r\n<tr>\r\n<td>Server:</td>\r\n<td>mail.glucose-dev.online</td>\r\n</tr>\r\n<tr>\r\n<td>Date:</td>\r\n<td>2026/06/12 13:42:36</td>\r\n</tr>\r\n</table>\r\n<hr><center>tengine</center>\r\n</body>\r\n</html>\r\n","payload":{"account_id":"22699852","entity_id":"37936568","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"8249dcc"}
[2026-06-12 13:42:35] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://gd.glucose-dev.online/api/docflow/prepare-generated-doc","payload":{"account_id":"22699852","entity_id":"37936568","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"8249dcc"}
[2026-06-12 13:42:36] docflow.DEBUG: AmoDrive prepare-generated-doc response {"url":"https://gd.glucose-dev.online/api/docflow/prepare-generated-doc","payload":{"ok":true,"accountId":22699852,"entityId":"37936568","entityType":"leads","generatorEmail":"info@glucose.md","directGenerationReady":true,"folder":{"id":"1NOfFRe1108_-0ccaVxWOHEgygrK-C8Mu","name":"Cet. MD","webViewLink":"https://drive.google.com/drive/folders/1NOfFRe1108_-0ccaVxWOHEgygrK-C8Mu"},"generatorAccess":{"ok":true,"targetEmail":"info@glucose.md","permission":{"id":"15090742993472653631","emailAddress":"info@glucose.md","role":"writer","pendingOwner":false}}}} {"uid":"8249dcc"}
[2026-06-12 13:42:36] docflow.DEBUG: GAS request {"url":"https://script.google.com/macros/s/AKfycbwrvOJD46zkuoTzdhpc1kulhV8jRfgQBFZfQ121nkIip_k8yKit4xrbWTOzaJ-C-Yed6w/exec","body":{"templateFileId":"1SzGXEYI835Reg_M1AEPsRjzZ3ZvcLb1cGlMSjWjG9_s","accountId":"22699852","folderId":"1NOfFRe1108_-0ccaVxWOHEgygrK-C8Mu","key":"~VTsK5dcnHc2cSSsjM$LFSjLlgbmJXwrp3R2P5nd","data":"{\"fileName\":\"\\u0421\\u0447\\u0435\\u0442 \\u043d\\u0430 \\u043e\\u043f\\u043b\\u0430\\u0442\\u0443 (Sber) 1472 20260612134235\",\"leadId\":\"37936568\",\"entities\":{\"\\u0441\\u0434\\u0435\\u043b\\u043a\\u0430\":{\"Luna crearii Tranzactiei back\":\"24.05.2024\",\"Brand\":\"Cetatenie.md\",\"Luat \\u00een lucru\":\"1\",\"google_folder_id_leads_field\":\"https:\\/\\/drive.google.com\\/drive\\/folders\\/1NOfFRe1108_-0ccaVxWOHEgygrK-C8Mu\",\"google_folder_link_leads_field\":\"https:\\/\\/drive.google.com\\/drive\\/folders\\/1NOfFRe1108_-0ccaVxWOHEgygrK-C8Mu\",\"Ceta\\u021benia RM\":\"Cet pe baza parinti bunei\",\"Suma Back\":\"2900\",\"Reac\\u021bia clientului la pre\\u021b\":\"Clientul este interesat \\u0219i este preg\\u0103tit financiar\",\"Cet.MD\":\"Cet.MD Recunoastere Parinti\",\"Luna trec in Front\":\"28.10.2024\",\"Data contractului\":\"28.10.2024\",\"Numar Contract\":\"37936568\",\"Compania\":\"EMG Cetatenie Grup\",\"Termen perfectare\":\"01.05.2025\",\"Avans\":\"1015\",\"Valuta\":\"Euro\",\"Cont\":\"\\u0410\\u041b\\u042c\\u0424\\u0410 \\u0411\\u0410\\u041d\\u041a.                                 \\u041d\\u043e\\u043c\\u0435\\u0440 \\u043a\\u0430\\u0440\\u0442\\u044b 5559 5720 5487 6083 +79857493467.                              \\u041d\\u043e\\u043c\\u0435\\u0440 \\u0441\\u0447\\u0435\\u0442\\u0430 40820810804170001481 \\u041f\\u043e\\u043b\\u0443\\u0447\\u0430\\u0442\\u0435\\u043b\\u044c: \\u041e\\u043a\\u0438\\u043d\\u0447\\u0443\\u043a \\u0412\\u0438\\u043a\\u0442\\u043e\\u0440     \\u0418\\u041d\\u041d \\u0431\\u0430\\u043d\\u043a\\u0430 \\u043f\\u043e\\u043b\\u0443\\u0447\\u0430\\u0442\\u0435\\u043b\\u044f: 7728168971 \\u041a\\u043e\\u0440\\u0440. \\u0441\\u0447\\u0435\\u0442: 30101810200000000593 \\u0411\\u0430\\u043d\\u043a: \\u0410\\u041e \\u00ab\\u0410\\u043b\\u044c\\u0444\\u0430-\\u0411\\u0430\\u043d\\u043a\\u00bb, \\u0433. \\u041c\\u043e\\u0441\\u043a\\u0432\\u0430 \\u041a\\u041f\\u041f \\u0431\\u0430\\u043d\\u043a\\u0430 \\u043f\\u043e\\u043b\\u0443\\u0447\\u0430\\u0442\\u0435\\u043b\\u044f: 770801001 \\u0411\\u0418\\u041a: 044525593\",\"Suma contract\":\"2900\",\"Suma \\u20ac\":\"0\",\"Luna trec producere\":\"15.04.2025\",\"Link tranzac\\u021bia front\":\"https:\\/\\/emigrare.amocrm.ru\\/leads\\/detail\\/37936568\",\"Urm\\u0103torul contact\":\"2026-02-20 11:02:00\",\"Data avans\":\"24.05.2024\",\"ID\":\"37936568\",\"\\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\":\"2900\",\"Budget\":\"2900\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"Capanji Igor\",\"Responsible\":\"Capanji Igor\"},\"lead\":{\"Luna crearii Tranzactiei back\":\"24.05.2024\",\"Brand\":\"Cetatenie.md\",\"Luat \\u00een lucru\":\"1\",\"google_folder_id_leads_field\":\"https:\\/\\/drive.google.com\\/drive\\/folders\\/1NOfFRe1108_-0ccaVxWOHEgygrK-C8Mu\",\"google_folder_link_leads_field\":\"https:\\/\\/drive.google.com\\/drive\\/folders\\/1NOfFRe1108_-0ccaVxWOHEgygrK-C8Mu\",\"Ceta\\u021benia RM\":\"Cet pe baza parinti bunei\",\"Suma Back\":\"2900\",\"Reac\\u021bia clientului la pre\\u021b\":\"Clientul este interesat \\u0219i este preg\\u0103tit financiar\",\"Cet.MD\":\"Cet.MD Recunoastere Parinti\",\"Luna trec in Front\":\"28.10.2024\",\"Data contractului\":\"28.10.2024\",\"Numar Contract\":\"37936568\",\"Compania\":\"EMG Cetatenie Grup\",\"Termen perfectare\":\"01.05.2025\",\"Avans\":\"1015\",\"Valuta\":\"Euro\",\"Cont\":\"\\u0410\\u041b\\u042c\\u0424\\u0410 \\u0411\\u0410\\u041d\\u041a.                                 \\u041d\\u043e\\u043c\\u0435\\u0440 \\u043a\\u0430\\u0440\\u0442\\u044b 5559 5720 5487 6083 +79857493467.                              \\u041d\\u043e\\u043c\\u0435\\u0440 \\u0441\\u0447\\u0435\\u0442\\u0430 40820810804170001481 \\u041f\\u043e\\u043b\\u0443\\u0447\\u0430\\u0442\\u0435\\u043b\\u044c: \\u041e\\u043a\\u0438\\u043d\\u0447\\u0443\\u043a \\u0412\\u0438\\u043a\\u0442\\u043e\\u0440     \\u0418\\u041d\\u041d \\u0431\\u0430\\u043d\\u043a\\u0430 \\u043f\\u043e\\u043b\\u0443\\u0447\\u0430\\u0442\\u0435\\u043b\\u044f: 7728168971 \\u041a\\u043e\\u0440\\u0440. \\u0441\\u0447\\u0435\\u0442: 30101810200000000593 \\u0411\\u0430\\u043d\\u043a: \\u0410\\u041e \\u00ab\\u0410\\u043b\\u044c\\u0444\\u0430-\\u0411\\u0430\\u043d\\u043a\\u00bb, \\u0433. \\u041c\\u043e\\u0441\\u043a\\u0432\\u0430 \\u041a\\u041f\\u041f \\u0431\\u0430\\u043d\\u043a\\u0430 \\u043f\\u043e\\u043b\\u0443\\u0447\\u0430\\u0442\\u0435\\u043b\\u044f: 770801001 \\u0411\\u0418\\u041a: 044525593\",\"Suma contract\":\"2900\",\"Suma \\u20ac\":\"0\",\"Luna trec producere\":\"15.04.2025\",\"Link tranzac\\u021bia front\":\"https:\\/\\/emigrare.amocrm.ru\\/leads\\/detail\\/37936568\",\"Urm\\u0103torul contact\":\"2026-02-20 11:02:00\",\"Data avans\":\"24.05.2024\",\"ID\":\"37936568\",\"\\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\":\"2900\",\"Budget\":\"2900\",\"\\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\":\"+79158923379\",\"Email\":\"sabina_920792@mail.ru\",\"Cet\\u0103\\u021benie de\\u021binut\\u0103\":\"RU\",\"Cum Comunicam\":\"Watsap\",\"Limba vorbita\":\"Rusa\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Sabina Sargsian (Ivashina)\",\"Contact_name\":\"Sabina Sargsian (Ivashina)\",\"\\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\":\"+79158923379\",\"Email\":\"sabina_920792@mail.ru\",\"Cet\\u0103\\u021benie de\\u021binut\\u0103\":\"RU\",\"Cum Comunicam\":\"Watsap\",\"Limba vorbita\":\"Rusa\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Sabina Sargsian (Ivashina)\",\"Contact_name\":\"Sabina Sargsian (Ivashina)\",\"\\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\":\"+79158923379\",\"Email\":\"sabina_920792@mail.ru\",\"Cet\\u0103\\u021benie de\\u021binut\\u0103\":\"RU\",\"Cum Comunicam\":\"Watsap\",\"Limba vorbita\":\"Rusa\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Sabina Sargsian (Ivashina)\",\"\\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\":\"12.06.2026\",\"\\u041d\\u043e\\u043c\\u0435\\u0440\":\"1472\"},\"document\":{\"Date\":\"12.06.2026\",\"Number\":\"1472\"}}}","edit":true,"folderMode":"direct"}} {"uid":"8249dcc"}
[2026-06-12 13:42:43] docflow.DEBUG: GAS raw response {"raw":"[object] (stdClass: {\"code\":1,\"url\":\"https://docs.google.com/open?id=1uqD8z9TBHfGx3hxelJXSVhPnOfjPMRHXCfjlWmsXqQ4\",\"file_id\":\"1uqD8z9TBHfGx3hxelJXSVhPnOfjPMRHXCfjlWmsXqQ4\",\"error\":\"\",\"vars\":\"\"})"} {"uid":"8249dcc"}
[2026-06-12 13:42:43] docflow.INFO: Skipping AmoDrive finalize because document was generated directly in the prepared entity folder. {"fileId":"1uqD8z9TBHfGx3hxelJXSVhPnOfjPMRHXCfjlWmsXqQ4","folder":{"id":"1NOfFRe1108_-0ccaVxWOHEgygrK-C8Mu","name":"Cet. MD","webViewLink":"https://drive.google.com/drive/folders/1NOfFRe1108_-0ccaVxWOHEgygrK-C8Mu"}} {"uid":"8249dcc"}
[2026-06-12 13:58:30] docflow.INFO: Apel createDoc {"data":{"amoAccountId":"22699852","amoUserId":null,"amoEntityId":"37936568","amoEntityType":"2","templateId":"11513","corporateEntityId":"","settlementAccountId":"","is_signed":null,"gdi":null,"number":null,"currentAmoUserId":null,"lang":"ru"}} {"uid":"5144d78"}
[2026-06-12 13:58:31] docflow.INFO: Token is valid for account 22699852. [] {"uid":"5144d78"}
[2026-06-12 13:58:31] docflow.DEBUG: getClientAuth returned {"auth":"[object] (stdClass: {\"domain\":\"emigrare.amocrm.ru\",\"access_token\":\"eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImp0aSI6ImI4Mzc2ODRiYjY5ODkxMDcwMTM5N2EzOWEzMDljOGI2ZGE1ODEyOThiMDE2MWRiYzYyYjZkNjczYjc4ZjQ1YTU4YmJjYWZmMmQzMjY2ZDg3In0.eyJhdWQiOiIwZDY0ZGZmYi1lNTRiLTQ0OGYtOWZiZi1iYWYyMjUxYTExZGIiLCJqdGkiOiJiODM3Njg0YmI2OTg5MTA3MDEzOTdhMzlhMzA5YzhiNmRhNTgxMjk4YjAxNjFkYmM2MmI2ZDY3M2I3OGY0NWE1OGJiY2FmZjJkMzI2NmQ4NyIsImlhdCI6MTc4MTI2MDkyMCwibmJmIjoxNzgxMjYwOTIwLCJleHAiOjE3ODEzNDczMjAsInN1YiI6IjI5MzAzODAiLCJncmFudF90eXBlIjoiIiwiYWNjb3VudF9pZCI6MjI2OTk4NTIsImJhc2VfZG9tYWluIjoiYW1vY3JtLnJ1IiwidmVyc2lvbiI6Miwic2NvcGVzIjpbInB1c2hfbm90aWZpY2F0aW9ucyIsImNybSIsIm5vdGlmaWNhdGlvbnMiXSwiaGFzaF91dWlkIjoiODJkYWI3ZTctODMwMS00YjEzLThjY2ItYWViMWJiZDUxYjJhIiwiYXBpX2RvbWFpbiI6ImFwaS1hLmFtb2NybS5ydSJ9.N9xblUBi4j8OpMRAgyKFNLZ9zm8vyptldbrsB_QtM7xFgzCw4n0YKUUn_EqLW_ZrTYAmBaZqSXwm6crcTtUeOfOYqR_D8YYxEq2m4dBOub_XbpY2dPpdwmmE7NzW09SVvo_f1kKoPocyrYSb9i8M9mJR-GXhWlBzlHPb-pJWlKLsuvr7AyDFSy-WM7X5RcYQ32-qBfyBtcvdH8jUNmsZCqgr-8b-Or7yjWGeErvvYuG2U80s9chk6XGlfvgsE9FmLB38WLX8yCBmUE5BEoEXmVChQPdWXgq5poiavUOhgEbw30yO327oDg6swMXOBom3evfK1XomioHvlMB5KNJybw\"})","file":"/home/ytvmclwh/document.amocrm.md/src/Models/Docs.php","line":121} {"uid":"5144d78"}
[2026-06-12 13:58:33] docflow.DEBUG: AmoDrive docflow context request {"url":"https://google.emale.uno/api/docflow/google-context","query":{"account_id":"22699852","entity_id":"37936568","entity_type":"leads"}} {"uid":"5144d78"}
[2026-06-12 13:58:33] docflow.WARNING: AmoDrive docflow context request failed {"url":"https://google.emale.uno/api/docflow/google-context","http_code":null,"error":"HTTP/2 400 ","response":"<!DOCTYPE HTML PUBLIC \"-//IETF//DTD HTML 2.0//EN\">\r\n<html>\r\n<head><title>400 Bad Request</title></head>\r\n<body>\r\n<center><h1>400 Bad Request</h1></center>\r\n Sorry for the inconvenience.<br/>\r\nPlease report this message and include the following information to us.<br/>\r\nThank you very much!</p>\r\n<table>\r\n<tr>\r\n<td>URL:</td>\r\n<td>https://gd.glucose-dev.online/api/docflow/google-context?account_id=22699852&amp;entity_id=37936568&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/06/12 13:58:34</td>\r\n</tr>\r\n</table>\r\n<hr><center>tengine</center>\r\n</body>\r\n</html>\r\n"} {"uid":"5144d78"}
[2026-06-12 13:58:33] docflow.DEBUG: AmoDrive docflow context request {"url":"https://gd.glucose-dev.online/api/docflow/google-context","query":{"account_id":"22699852","entity_id":"37936568","entity_type":"leads"}} {"uid":"5144d78"}
[2026-06-12 13:58:33] docflow.DEBUG: AmoDrive docflow context response {"url":"https://gd.glucose-dev.online/api/docflow/google-context","payload":{"ok":true,"accountId":22699852,"entityId":"37936568","entityType":"leads","amodrive":{"installed":true,"widgetStatus":"installed","amoAccountId":22699852,"accountHost":"emigrare.amocrm.ru","license":{"status":"active","configuredStatus":"active","expiresAt":"2026-08-20T10:16:56.291Z","isExpired":false,"isTrial":false,"isActive":true,"expiredByDate":false,"daysRemaining":69,"isLifetime":false},"licenseActive":true,"googleConnected":true,"googleEmail":"emigrare.md@gmail.com","googleHasDriveScope":true,"googleHasDriveFileScope":true,"googleHasOwnershipScope":true,"readyForGeneratedFileMove":true,"readyForTransfer":true},"folder":{"id":"1NOfFRe1108_-0ccaVxWOHEgygrK-C8Mu","name":"Cet. MD","webViewLink":"https://drive.google.com/drive/folders/1NOfFRe1108_-0ccaVxWOHEgygrK-C8Mu"}}} {"uid":"5144d78"}
[2026-06-12 13:58:33] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://google.emale.uno/api/docflow/prepare-generated-doc","payload":{"account_id":"22699852","entity_id":"37936568","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"5144d78"}
[2026-06-12 13:58: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/06/12 13:58:34</td>\r\n</tr>\r\n</table>\r\n<hr><center>tengine</center>\r\n</body>\r\n</html>\r\n","payload":{"account_id":"22699852","entity_id":"37936568","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"5144d78"}
[2026-06-12 13:58:33] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://gd.glucose-dev.online/api/docflow/prepare-generated-doc","payload":{"account_id":"22699852","entity_id":"37936568","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"5144d78"}
[2026-06-12 13:58:34] docflow.DEBUG: AmoDrive prepare-generated-doc response {"url":"https://gd.glucose-dev.online/api/docflow/prepare-generated-doc","payload":{"ok":true,"accountId":22699852,"entityId":"37936568","entityType":"leads","generatorEmail":"info@glucose.md","directGenerationReady":true,"folder":{"id":"1NOfFRe1108_-0ccaVxWOHEgygrK-C8Mu","name":"Cet. MD","webViewLink":"https://drive.google.com/drive/folders/1NOfFRe1108_-0ccaVxWOHEgygrK-C8Mu"},"generatorAccess":{"ok":true,"targetEmail":"info@glucose.md","permission":{"id":"15090742993472653631","emailAddress":"info@glucose.md","role":"writer","pendingOwner":false}}}} {"uid":"5144d78"}
[2026-06-12 13:58:34] docflow.DEBUG: GAS request {"url":"https://script.google.com/macros/s/AKfycbwrvOJD46zkuoTzdhpc1kulhV8jRfgQBFZfQ121nkIip_k8yKit4xrbWTOzaJ-C-Yed6w/exec","body":{"templateFileId":"1cmUcOeHAQ_tG9mkDp8xVcdKAxcfnrvlXbbsKpJ-Mq7k","accountId":"22699852","folderId":"1NOfFRe1108_-0ccaVxWOHEgygrK-C8Mu","key":"~VTsK5dcnHc2cSSsjM$LFSjLlgbmJXwrp3R2P5nd","data":"{\"fileName\":\" \\u0421\\u0447\\u0435\\u0442 \\u043d\\u0430 \\u043e\\u043f\\u043b\\u0430\\u0442\\u0443 CET (EUR\\/USD\\/MDL) 483 20260612135833\",\"leadId\":\"37936568\",\"entities\":{\"\\u0441\\u0434\\u0435\\u043b\\u043a\\u0430\":{\"Luna crearii Tranzactiei back\":\"24.05.2024\",\"Brand\":\"Cetatenie.md\",\"Luat \\u00een lucru\":\"1\",\"google_folder_id_leads_field\":\"https:\\/\\/drive.google.com\\/drive\\/folders\\/1NOfFRe1108_-0ccaVxWOHEgygrK-C8Mu\",\"google_folder_link_leads_field\":\"https:\\/\\/drive.google.com\\/drive\\/folders\\/1NOfFRe1108_-0ccaVxWOHEgygrK-C8Mu\",\"Ceta\\u021benia RM\":\"Cet pe baza parinti bunei\",\"Suma Back\":\"2900\",\"Reac\\u021bia clientului la pre\\u021b\":\"Clientul este interesat \\u0219i este preg\\u0103tit financiar\",\"Cet.MD\":\"Cet.MD Recunoastere Parinti\",\"Luna trec in Front\":\"28.10.2024\",\"Data contractului\":\"28.10.2024\",\"Numar Contract\":\"37936568\",\"Compania\":\"EMG Cetatenie Grup\",\"Termen perfectare\":\"01.05.2025\",\"Avans\":\"1015\",\"Valuta\":\"Euro\",\"Cont\":\"\\u0410\\u041b\\u042c\\u0424\\u0410 \\u0411\\u0410\\u041d\\u041a.                                 \\u041d\\u043e\\u043c\\u0435\\u0440 \\u043a\\u0430\\u0440\\u0442\\u044b 5559 5720 5487 6083 +79857493467.                              \\u041d\\u043e\\u043c\\u0435\\u0440 \\u0441\\u0447\\u0435\\u0442\\u0430 40820810804170001481 \\u041f\\u043e\\u043b\\u0443\\u0447\\u0430\\u0442\\u0435\\u043b\\u044c: \\u041e\\u043a\\u0438\\u043d\\u0447\\u0443\\u043a \\u0412\\u0438\\u043a\\u0442\\u043e\\u0440     \\u0418\\u041d\\u041d \\u0431\\u0430\\u043d\\u043a\\u0430 \\u043f\\u043e\\u043b\\u0443\\u0447\\u0430\\u0442\\u0435\\u043b\\u044f: 7728168971 \\u041a\\u043e\\u0440\\u0440. \\u0441\\u0447\\u0435\\u0442: 30101810200000000593 \\u0411\\u0430\\u043d\\u043a: \\u0410\\u041e \\u00ab\\u0410\\u043b\\u044c\\u0444\\u0430-\\u0411\\u0430\\u043d\\u043a\\u00bb, \\u0433. \\u041c\\u043e\\u0441\\u043a\\u0432\\u0430 \\u041a\\u041f\\u041f \\u0431\\u0430\\u043d\\u043a\\u0430 \\u043f\\u043e\\u043b\\u0443\\u0447\\u0430\\u0442\\u0435\\u043b\\u044f: 770801001 \\u0411\\u0418\\u041a: 044525593\",\"Suma contract\":\"2900\",\"Suma \\u20ac\":\"0\",\"Luna trec producere\":\"15.04.2025\",\"Link tranzac\\u021bia front\":\"https:\\/\\/emigrare.amocrm.ru\\/leads\\/detail\\/37936568\",\"Urm\\u0103torul contact\":\"2026-02-20 11:02:00\",\"Data avans\":\"24.05.2024\",\"ID\":\"37936568\",\"\\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\":\"2900\",\"Budget\":\"2900\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"Capanji Igor\",\"Responsible\":\"Capanji Igor\"},\"lead\":{\"Luna crearii Tranzactiei back\":\"24.05.2024\",\"Brand\":\"Cetatenie.md\",\"Luat \\u00een lucru\":\"1\",\"google_folder_id_leads_field\":\"https:\\/\\/drive.google.com\\/drive\\/folders\\/1NOfFRe1108_-0ccaVxWOHEgygrK-C8Mu\",\"google_folder_link_leads_field\":\"https:\\/\\/drive.google.com\\/drive\\/folders\\/1NOfFRe1108_-0ccaVxWOHEgygrK-C8Mu\",\"Ceta\\u021benia RM\":\"Cet pe baza parinti bunei\",\"Suma Back\":\"2900\",\"Reac\\u021bia clientului la pre\\u021b\":\"Clientul este interesat \\u0219i este preg\\u0103tit financiar\",\"Cet.MD\":\"Cet.MD Recunoastere Parinti\",\"Luna trec in Front\":\"28.10.2024\",\"Data contractului\":\"28.10.2024\",\"Numar Contract\":\"37936568\",\"Compania\":\"EMG Cetatenie Grup\",\"Termen perfectare\":\"01.05.2025\",\"Avans\":\"1015\",\"Valuta\":\"Euro\",\"Cont\":\"\\u0410\\u041b\\u042c\\u0424\\u0410 \\u0411\\u0410\\u041d\\u041a.                                 \\u041d\\u043e\\u043c\\u0435\\u0440 \\u043a\\u0430\\u0440\\u0442\\u044b 5559 5720 5487 6083 +79857493467.                              \\u041d\\u043e\\u043c\\u0435\\u0440 \\u0441\\u0447\\u0435\\u0442\\u0430 40820810804170001481 \\u041f\\u043e\\u043b\\u0443\\u0447\\u0430\\u0442\\u0435\\u043b\\u044c: \\u041e\\u043a\\u0438\\u043d\\u0447\\u0443\\u043a \\u0412\\u0438\\u043a\\u0442\\u043e\\u0440     \\u0418\\u041d\\u041d \\u0431\\u0430\\u043d\\u043a\\u0430 \\u043f\\u043e\\u043b\\u0443\\u0447\\u0430\\u0442\\u0435\\u043b\\u044f: 7728168971 \\u041a\\u043e\\u0440\\u0440. \\u0441\\u0447\\u0435\\u0442: 30101810200000000593 \\u0411\\u0430\\u043d\\u043a: \\u0410\\u041e \\u00ab\\u0410\\u043b\\u044c\\u0444\\u0430-\\u0411\\u0430\\u043d\\u043a\\u00bb, \\u0433. \\u041c\\u043e\\u0441\\u043a\\u0432\\u0430 \\u041a\\u041f\\u041f \\u0431\\u0430\\u043d\\u043a\\u0430 \\u043f\\u043e\\u043b\\u0443\\u0447\\u0430\\u0442\\u0435\\u043b\\u044f: 770801001 \\u0411\\u0418\\u041a: 044525593\",\"Suma contract\":\"2900\",\"Suma \\u20ac\":\"0\",\"Luna trec producere\":\"15.04.2025\",\"Link tranzac\\u021bia front\":\"https:\\/\\/emigrare.amocrm.ru\\/leads\\/detail\\/37936568\",\"Urm\\u0103torul contact\":\"2026-02-20 11:02:00\",\"Data avans\":\"24.05.2024\",\"ID\":\"37936568\",\"\\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\":\"2900\",\"Budget\":\"2900\",\"\\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\":\"+79158923379\",\"Email\":\"sabina_920792@mail.ru\",\"Cet\\u0103\\u021benie de\\u021binut\\u0103\":\"RU\",\"Cum Comunicam\":\"Watsap\",\"Limba vorbita\":\"Rusa\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Sabina Sargsian (Ivashina)\",\"Contact_name\":\"Sabina Sargsian (Ivashina)\",\"\\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\":\"+79158923379\",\"Email\":\"sabina_920792@mail.ru\",\"Cet\\u0103\\u021benie de\\u021binut\\u0103\":\"RU\",\"Cum Comunicam\":\"Watsap\",\"Limba vorbita\":\"Rusa\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Sabina Sargsian (Ivashina)\",\"Contact_name\":\"Sabina Sargsian (Ivashina)\",\"\\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\":\"+79158923379\",\"Email\":\"sabina_920792@mail.ru\",\"Cet\\u0103\\u021benie de\\u021binut\\u0103\":\"RU\",\"Cum Comunicam\":\"Watsap\",\"Limba vorbita\":\"Rusa\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Sabina Sargsian (Ivashina)\",\"\\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\":\"12.06.2026\",\"\\u041d\\u043e\\u043c\\u0435\\u0440\":\"483\"},\"document\":{\"Date\":\"12.06.2026\",\"Number\":\"483\"}}}","edit":true,"folderMode":"direct"}} {"uid":"5144d78"}
[2026-06-12 13:58:41] docflow.DEBUG: GAS raw response {"raw":"[object] (stdClass: {\"code\":1,\"url\":\"https://docs.google.com/open?id=1e_3C70T0pRLSMpvJb0PcKO7oVENg8MMbocHppiurodw\",\"file_id\":\"1e_3C70T0pRLSMpvJb0PcKO7oVENg8MMbocHppiurodw\",\"error\":\"\",\"vars\":\"\"})"} {"uid":"5144d78"}
[2026-06-12 13:58:41] docflow.INFO: Skipping AmoDrive finalize because document was generated directly in the prepared entity folder. {"fileId":"1e_3C70T0pRLSMpvJb0PcKO7oVENg8MMbocHppiurodw","folder":{"id":"1NOfFRe1108_-0ccaVxWOHEgygrK-C8Mu","name":"Cet. MD","webViewLink":"https://drive.google.com/drive/folders/1NOfFRe1108_-0ccaVxWOHEgygrK-C8Mu"}} {"uid":"5144d78"}
[2026-06-12 13:58:53] docflow.INFO: Apel createDoc {"data":{"amoAccountId":"22699852","amoUserId":null,"amoEntityId":"42178076","amoEntityType":"2","templateId":"11495","corporateEntityId":"","settlementAccountId":"","is_signed":null,"gdi":null,"number":null,"currentAmoUserId":null,"lang":"ru"}} {"uid":"5f8e188"}
[2026-06-12 13:58:53] docflow.INFO: Token is valid for account 22699852. [] {"uid":"5f8e188"}
[2026-06-12 13:58:53] docflow.DEBUG: getClientAuth returned {"auth":"[object] (stdClass: {\"domain\":\"emigrare.amocrm.ru\",\"access_token\":\"eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImp0aSI6ImI4Mzc2ODRiYjY5ODkxMDcwMTM5N2EzOWEzMDljOGI2ZGE1ODEyOThiMDE2MWRiYzYyYjZkNjczYjc4ZjQ1YTU4YmJjYWZmMmQzMjY2ZDg3In0.eyJhdWQiOiIwZDY0ZGZmYi1lNTRiLTQ0OGYtOWZiZi1iYWYyMjUxYTExZGIiLCJqdGkiOiJiODM3Njg0YmI2OTg5MTA3MDEzOTdhMzlhMzA5YzhiNmRhNTgxMjk4YjAxNjFkYmM2MmI2ZDY3M2I3OGY0NWE1OGJiY2FmZjJkMzI2NmQ4NyIsImlhdCI6MTc4MTI2MDkyMCwibmJmIjoxNzgxMjYwOTIwLCJleHAiOjE3ODEzNDczMjAsInN1YiI6IjI5MzAzODAiLCJncmFudF90eXBlIjoiIiwiYWNjb3VudF9pZCI6MjI2OTk4NTIsImJhc2VfZG9tYWluIjoiYW1vY3JtLnJ1IiwidmVyc2lvbiI6Miwic2NvcGVzIjpbInB1c2hfbm90aWZpY2F0aW9ucyIsImNybSIsIm5vdGlmaWNhdGlvbnMiXSwiaGFzaF91dWlkIjoiODJkYWI3ZTctODMwMS00YjEzLThjY2ItYWViMWJiZDUxYjJhIiwiYXBpX2RvbWFpbiI6ImFwaS1hLmFtb2NybS5ydSJ9.N9xblUBi4j8OpMRAgyKFNLZ9zm8vyptldbrsB_QtM7xFgzCw4n0YKUUn_EqLW_ZrTYAmBaZqSXwm6crcTtUeOfOYqR_D8YYxEq2m4dBOub_XbpY2dPpdwmmE7NzW09SVvo_f1kKoPocyrYSb9i8M9mJR-GXhWlBzlHPb-pJWlKLsuvr7AyDFSy-WM7X5RcYQ32-qBfyBtcvdH8jUNmsZCqgr-8b-Or7yjWGeErvvYuG2U80s9chk6XGlfvgsE9FmLB38WLX8yCBmUE5BEoEXmVChQPdWXgq5poiavUOhgEbw30yO327oDg6swMXOBom3evfK1XomioHvlMB5KNJybw\"})","file":"/home/ytvmclwh/document.amocrm.md/src/Models/Docs.php","line":121} {"uid":"5f8e188"}
[2026-06-12 13:58:55] docflow.DEBUG: AmoDrive docflow context request {"url":"https://google.emale.uno/api/docflow/google-context","query":{"account_id":"22699852","entity_id":"42178076","entity_type":"leads"}} {"uid":"5f8e188"}
[2026-06-12 13:58:55] docflow.WARNING: AmoDrive docflow context request failed {"url":"https://google.emale.uno/api/docflow/google-context","http_code":null,"error":"HTTP/2 400 ","response":"<!DOCTYPE HTML PUBLIC \"-//IETF//DTD HTML 2.0//EN\">\r\n<html>\r\n<head><title>400 Bad Request</title></head>\r\n<body>\r\n<center><h1>400 Bad Request</h1></center>\r\n Sorry for the inconvenience.<br/>\r\nPlease report this message and include the following information to us.<br/>\r\nThank you very much!</p>\r\n<table>\r\n<tr>\r\n<td>URL:</td>\r\n<td>https://gd.glucose-dev.online/api/docflow/google-context?account_id=22699852&amp;entity_id=42178076&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/06/12 13:58:56</td>\r\n</tr>\r\n</table>\r\n<hr><center>tengine</center>\r\n</body>\r\n</html>\r\n"} {"uid":"5f8e188"}
[2026-06-12 13:58:55] docflow.DEBUG: AmoDrive docflow context request {"url":"https://gd.glucose-dev.online/api/docflow/google-context","query":{"account_id":"22699852","entity_id":"42178076","entity_type":"leads"}} {"uid":"5f8e188"}
[2026-06-12 13:58:55] docflow.DEBUG: AmoDrive docflow context response {"url":"https://gd.glucose-dev.online/api/docflow/google-context","payload":{"ok":true,"accountId":22699852,"entityId":"42178076","entityType":"leads","amodrive":{"installed":true,"widgetStatus":"installed","amoAccountId":22699852,"accountHost":"emigrare.amocrm.ru","license":{"status":"active","configuredStatus":"active","expiresAt":"2026-08-20T10:16:56.291Z","isExpired":false,"isTrial":false,"isActive":true,"expiredByDate":false,"daysRemaining":69,"isLifetime":false},"licenseActive":true,"googleConnected":true,"googleEmail":"emigrare.md@gmail.com","googleHasDriveScope":true,"googleHasDriveFileScope":true,"googleHasOwnershipScope":true,"readyForGeneratedFileMove":true,"readyForTransfer":true},"folder":null}} {"uid":"5f8e188"}
[2026-06-12 13:58:55] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://google.emale.uno/api/docflow/prepare-generated-doc","payload":{"account_id":"22699852","entity_id":"42178076","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"5f8e188"}
[2026-06-12 13:58:55] docflow.WARNING: AmoDrive prepare-generated-doc request failed {"url":"https://google.emale.uno/api/docflow/prepare-generated-doc","http_code":null,"error":"HTTP/2 400 ","response":"<!DOCTYPE HTML PUBLIC \"-//IETF//DTD HTML 2.0//EN\">\r\n<html>\r\n<head><title>400 Bad Request</title></head>\r\n<body>\r\n<center><h1>400 Bad Request</h1></center>\r\n Sorry for the inconvenience.<br/>\r\nPlease report this message and include the following information to us.<br/>\r\nThank you very much!</p>\r\n<table>\r\n<tr>\r\n<td>URL:</td>\r\n<td>https://gd.glucose-dev.online/api/docflow/prepare-generated-doc</td>\r\n</tr>\r\n<tr>\r\n<td>Server:</td>\r\n<td>mail.glucose-dev.online</td>\r\n</tr>\r\n<tr>\r\n<td>Date:</td>\r\n<td>2026/06/12 13:58: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":"42178076","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"5f8e188"}
[2026-06-12 13:58:55] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://gd.glucose-dev.online/api/docflow/prepare-generated-doc","payload":{"account_id":"22699852","entity_id":"42178076","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"5f8e188"}
[2026-06-12 13:58:59] docflow.DEBUG: AmoDrive prepare-generated-doc response {"url":"https://gd.glucose-dev.online/api/docflow/prepare-generated-doc","payload":{"ok":true,"accountId":22699852,"entityId":"42178076","entityType":"leads","generatorEmail":"info@glucose.md","directGenerationReady":true,"folder":{"id":"1p6IHEvEh63iLKDOTLyvo-8xL1V5L-zm5","name":"42178076 - PS / UE","webViewLink":"https://drive.google.com/drive/folders/1p6IHEvEh63iLKDOTLyvo-8xL1V5L-zm5"},"generatorAccess":{"ok":true,"targetEmail":"info@glucose.md","permission":{"id":"15090742993472653631","emailAddress":"info@glucose.md","role":"writer","pendingOwner":false}}}} {"uid":"5f8e188"}
[2026-06-12 13:58:59] docflow.DEBUG: GAS request {"url":"https://script.google.com/macros/s/AKfycbwrvOJD46zkuoTzdhpc1kulhV8jRfgQBFZfQ121nkIip_k8yKit4xrbWTOzaJ-C-Yed6w/exec","body":{"templateFileId":"139A_R9cAqcF0vtMAjkAKEvgO4ur6rSSzFI-AF87BYnQ","accountId":"22699852","folderId":"1p6IHEvEh63iLKDOTLyvo-8xL1V5L-zm5","key":"~VTsK5dcnHc2cSSsjM$LFSjLlgbmJXwrp3R2P5nd","data":"{\"fileName\":\"Contract (consulta\\u021bie) 231 20260612135855\",\"leadId\":\"42178076\",\"entities\":{\"\\u0441\\u0434\\u0435\\u043b\\u043a\\u0430\":{\"Suma \\u20ac\":\"0\",\"Data cererii create\":\"2026-06-12 13:14:00\",\"ID\":\"42178076\",\"\\u0421\\u0434\\u0435\\u043b\\u043a\\u0430_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"PS \\/ UE\",\"Lead_name\":\"PS \\/ UE\",\"\\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\",\"Data cererii create\":\"2026-06-12 13:14:00\",\"ID\":\"42178076\",\"\\u0421\\u0434\\u0435\\u043b\\u043a\\u0430_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"PS \\/ UE\",\"Lead_name\":\"PS \\/ UE\",\"\\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\":{\"WhatsappLid_WZ\":\"65713100312823\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"+37068666446\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Stanislav Anaskov\",\"Contact_name\":\"Stanislav Anaskov\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"Marina Negruta\",\"Responsible\":\"Marina Negruta\"},\"contact\":{\"WhatsappLid_WZ\":\"65713100312823\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"+37068666446\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Stanislav Anaskov\",\"Contact_name\":\"Stanislav Anaskov\",\"\\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\":[{\"WhatsappLid_WZ\":\"65713100312823\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"+37068666446\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Stanislav Anaskov\",\"\\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\":\"12.06.2026\",\"\\u041d\\u043e\\u043c\\u0435\\u0440\":\"231\"},\"document\":{\"Date\":\"12.06.2026\",\"Number\":\"231\"}}}","edit":true,"folderMode":"direct"}} {"uid":"5f8e188"}
[2026-06-12 13:59:05] docflow.DEBUG: GAS raw response {"raw":"[object] (stdClass: {\"code\":1,\"url\":\"https://docs.google.com/open?id=12d5F06bB9PQ3rmx49HP6PGZbBI2d38s9mvsiFGCWtTQ\",\"file_id\":\"12d5F06bB9PQ3rmx49HP6PGZbBI2d38s9mvsiFGCWtTQ\",\"error\":\"\",\"vars\":\"\"})"} {"uid":"5f8e188"}
[2026-06-12 13:59:05] docflow.INFO: Skipping AmoDrive finalize because document was generated directly in the prepared entity folder. {"fileId":"12d5F06bB9PQ3rmx49HP6PGZbBI2d38s9mvsiFGCWtTQ","folder":{"id":"1p6IHEvEh63iLKDOTLyvo-8xL1V5L-zm5","name":"42178076 - PS / UE","webViewLink":"https://drive.google.com/drive/folders/1p6IHEvEh63iLKDOTLyvo-8xL1V5L-zm5"}} {"uid":"5f8e188"}
[2026-06-12 14:09:02] docflow.INFO: Apel createDoc {"data":{"amoAccountId":"22699852","amoUserId":null,"amoEntityId":"42178076","amoEntityType":"2","templateId":"11495","corporateEntityId":"","settlementAccountId":"","is_signed":null,"gdi":null,"number":null,"currentAmoUserId":null,"lang":"ru"}} {"uid":"39657de"}
[2026-06-12 14:09:03] docflow.INFO: Token is valid for account 22699852. [] {"uid":"39657de"}
[2026-06-12 14:09:03] docflow.DEBUG: getClientAuth returned {"auth":"[object] (stdClass: {\"domain\":\"emigrare.amocrm.ru\",\"access_token\":\"eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImp0aSI6ImI4Mzc2ODRiYjY5ODkxMDcwMTM5N2EzOWEzMDljOGI2ZGE1ODEyOThiMDE2MWRiYzYyYjZkNjczYjc4ZjQ1YTU4YmJjYWZmMmQzMjY2ZDg3In0.eyJhdWQiOiIwZDY0ZGZmYi1lNTRiLTQ0OGYtOWZiZi1iYWYyMjUxYTExZGIiLCJqdGkiOiJiODM3Njg0YmI2OTg5MTA3MDEzOTdhMzlhMzA5YzhiNmRhNTgxMjk4YjAxNjFkYmM2MmI2ZDY3M2I3OGY0NWE1OGJiY2FmZjJkMzI2NmQ4NyIsImlhdCI6MTc4MTI2MDkyMCwibmJmIjoxNzgxMjYwOTIwLCJleHAiOjE3ODEzNDczMjAsInN1YiI6IjI5MzAzODAiLCJncmFudF90eXBlIjoiIiwiYWNjb3VudF9pZCI6MjI2OTk4NTIsImJhc2VfZG9tYWluIjoiYW1vY3JtLnJ1IiwidmVyc2lvbiI6Miwic2NvcGVzIjpbInB1c2hfbm90aWZpY2F0aW9ucyIsImNybSIsIm5vdGlmaWNhdGlvbnMiXSwiaGFzaF91dWlkIjoiODJkYWI3ZTctODMwMS00YjEzLThjY2ItYWViMWJiZDUxYjJhIiwiYXBpX2RvbWFpbiI6ImFwaS1hLmFtb2NybS5ydSJ9.N9xblUBi4j8OpMRAgyKFNLZ9zm8vyptldbrsB_QtM7xFgzCw4n0YKUUn_EqLW_ZrTYAmBaZqSXwm6crcTtUeOfOYqR_D8YYxEq2m4dBOub_XbpY2dPpdwmmE7NzW09SVvo_f1kKoPocyrYSb9i8M9mJR-GXhWlBzlHPb-pJWlKLsuvr7AyDFSy-WM7X5RcYQ32-qBfyBtcvdH8jUNmsZCqgr-8b-Or7yjWGeErvvYuG2U80s9chk6XGlfvgsE9FmLB38WLX8yCBmUE5BEoEXmVChQPdWXgq5poiavUOhgEbw30yO327oDg6swMXOBom3evfK1XomioHvlMB5KNJybw\"})","file":"/home/ytvmclwh/document.amocrm.md/src/Models/Docs.php","line":121} {"uid":"39657de"}
[2026-06-12 14:09:05] docflow.DEBUG: AmoDrive docflow context request {"url":"https://google.emale.uno/api/docflow/google-context","query":{"account_id":"22699852","entity_id":"42178076","entity_type":"leads"}} {"uid":"39657de"}
[2026-06-12 14:09: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=22699852&amp;entity_id=42178076&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/06/12 14:09:06</td>\r\n</tr>\r\n</table>\r\n<hr><center>tengine</center>\r\n</body>\r\n</html>\r\n"} {"uid":"39657de"}
[2026-06-12 14:09:05] docflow.DEBUG: AmoDrive docflow context request {"url":"https://gd.glucose-dev.online/api/docflow/google-context","query":{"account_id":"22699852","entity_id":"42178076","entity_type":"leads"}} {"uid":"39657de"}
[2026-06-12 14:09:05] docflow.DEBUG: AmoDrive docflow context response {"url":"https://gd.glucose-dev.online/api/docflow/google-context","payload":{"ok":true,"accountId":22699852,"entityId":"42178076","entityType":"leads","amodrive":{"installed":true,"widgetStatus":"installed","amoAccountId":22699852,"accountHost":"emigrare.amocrm.ru","license":{"status":"active","configuredStatus":"active","expiresAt":"2026-08-20T10:16:56.291Z","isExpired":false,"isTrial":false,"isActive":true,"expiredByDate":false,"daysRemaining":69,"isLifetime":false},"licenseActive":true,"googleConnected":true,"googleEmail":"emigrare.md@gmail.com","googleHasDriveScope":true,"googleHasDriveFileScope":true,"googleHasOwnershipScope":true,"readyForGeneratedFileMove":true,"readyForTransfer":true},"folder":{"id":"1p6IHEvEh63iLKDOTLyvo-8xL1V5L-zm5","name":"42178076 - PS / UE","webViewLink":"https://drive.google.com/drive/folders/1p6IHEvEh63iLKDOTLyvo-8xL1V5L-zm5"}}} {"uid":"39657de"}
[2026-06-12 14:09:05] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://google.emale.uno/api/docflow/prepare-generated-doc","payload":{"account_id":"22699852","entity_id":"42178076","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"39657de"}
[2026-06-12 14:09: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/06/12 14:09:06</td>\r\n</tr>\r\n</table>\r\n<hr><center>tengine</center>\r\n</body>\r\n</html>\r\n","payload":{"account_id":"22699852","entity_id":"42178076","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"39657de"}
[2026-06-12 14:09:05] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://gd.glucose-dev.online/api/docflow/prepare-generated-doc","payload":{"account_id":"22699852","entity_id":"42178076","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"39657de"}
[2026-06-12 14:09:06] docflow.DEBUG: AmoDrive prepare-generated-doc response {"url":"https://gd.glucose-dev.online/api/docflow/prepare-generated-doc","payload":{"ok":true,"accountId":22699852,"entityId":"42178076","entityType":"leads","generatorEmail":"info@glucose.md","directGenerationReady":true,"folder":{"id":"1p6IHEvEh63iLKDOTLyvo-8xL1V5L-zm5","name":"42178076 - PS / UE","webViewLink":"https://drive.google.com/drive/folders/1p6IHEvEh63iLKDOTLyvo-8xL1V5L-zm5"},"generatorAccess":{"ok":true,"targetEmail":"info@glucose.md","permission":{"id":"15090742993472653631","emailAddress":"info@glucose.md","role":"writer","pendingOwner":false}}}} {"uid":"39657de"}
[2026-06-12 14:09:06] docflow.DEBUG: GAS request {"url":"https://script.google.com/macros/s/AKfycbwrvOJD46zkuoTzdhpc1kulhV8jRfgQBFZfQ121nkIip_k8yKit4xrbWTOzaJ-C-Yed6w/exec","body":{"templateFileId":"139A_R9cAqcF0vtMAjkAKEvgO4ur6rSSzFI-AF87BYnQ","accountId":"22699852","folderId":"1p6IHEvEh63iLKDOTLyvo-8xL1V5L-zm5","key":"~VTsK5dcnHc2cSSsjM$LFSjLlgbmJXwrp3R2P5nd","data":"{\"fileName\":\"Contract (consulta\\u021bie) 232 20260612140905\",\"leadId\":\"42178076\",\"entities\":{\"\\u0441\\u0434\\u0435\\u043b\\u043a\\u0430\":{\"Suma \\u20ac\":\"0\",\"Data cererii create\":\"2026-06-12 13:14:00\",\"google_folder_id_leads_field\":\"https:\\/\\/drive.google.com\\/drive\\/folders\\/1p6IHEvEh63iLKDOTLyvo-8xL1V5L-zm5\",\"ID\":\"42178076\",\"\\u0421\\u0434\\u0435\\u043b\\u043a\\u0430_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"PS \\/ UE\",\"Lead_name\":\"PS \\/ UE\",\"\\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\",\"Data cererii create\":\"2026-06-12 13:14:00\",\"google_folder_id_leads_field\":\"https:\\/\\/drive.google.com\\/drive\\/folders\\/1p6IHEvEh63iLKDOTLyvo-8xL1V5L-zm5\",\"ID\":\"42178076\",\"\\u0421\\u0434\\u0435\\u043b\\u043a\\u0430_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"PS \\/ UE\",\"Lead_name\":\"PS \\/ UE\",\"\\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\":{\"WhatsappLid_WZ\":\"65713100312823\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"+37068666446\",\"Email\":\"Stanislav.anaskov@gmail.com\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Stanislav Anaskov\",\"Contact_name\":\"Stanislav Anaskov\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"Marina Negruta\",\"Responsible\":\"Marina Negruta\"},\"contact\":{\"WhatsappLid_WZ\":\"65713100312823\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"+37068666446\",\"Email\":\"Stanislav.anaskov@gmail.com\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Stanislav Anaskov\",\"Contact_name\":\"Stanislav Anaskov\",\"\\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\":[{\"WhatsappLid_WZ\":\"65713100312823\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"+37068666446\",\"Email\":\"Stanislav.anaskov@gmail.com\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Stanislav Anaskov\",\"\\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\":\"12.06.2026\",\"\\u041d\\u043e\\u043c\\u0435\\u0440\":\"232\"},\"document\":{\"Date\":\"12.06.2026\",\"Number\":\"232\"}}}","edit":true,"folderMode":"direct"}} {"uid":"39657de"}
[2026-06-12 14:09:12] docflow.DEBUG: GAS raw response {"raw":"[object] (stdClass: {\"code\":1,\"url\":\"https://docs.google.com/open?id=1I7SBjn1QBySBggQD-FLymXw4f6V_7vIYCzrCligG26w\",\"file_id\":\"1I7SBjn1QBySBggQD-FLymXw4f6V_7vIYCzrCligG26w\",\"error\":\"\",\"vars\":\"\"})"} {"uid":"39657de"}
[2026-06-12 14:09:12] docflow.INFO: Skipping AmoDrive finalize because document was generated directly in the prepared entity folder. {"fileId":"1I7SBjn1QBySBggQD-FLymXw4f6V_7vIYCzrCligG26w","folder":{"id":"1p6IHEvEh63iLKDOTLyvo-8xL1V5L-zm5","name":"42178076 - PS / UE","webViewLink":"https://drive.google.com/drive/folders/1p6IHEvEh63iLKDOTLyvo-8xL1V5L-zm5"}} {"uid":"39657de"}
[2026-06-12 14:10:36] docflow.INFO: Apel createDoc {"data":{"amoAccountId":"22699852","amoUserId":null,"amoEntityId":"42178076","amoEntityType":"2","templateId":"11512","corporateEntityId":"","settlementAccountId":"","is_signed":null,"gdi":null,"number":null,"currentAmoUserId":null,"lang":"ru"}} {"uid":"6ec524d"}
[2026-06-12 14:10:36] docflow.INFO: Token is valid for account 22699852. [] {"uid":"6ec524d"}
[2026-06-12 14:10:36] docflow.DEBUG: getClientAuth returned {"auth":"[object] (stdClass: {\"domain\":\"emigrare.amocrm.ru\",\"access_token\":\"eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImp0aSI6ImI4Mzc2ODRiYjY5ODkxMDcwMTM5N2EzOWEzMDljOGI2ZGE1ODEyOThiMDE2MWRiYzYyYjZkNjczYjc4ZjQ1YTU4YmJjYWZmMmQzMjY2ZDg3In0.eyJhdWQiOiIwZDY0ZGZmYi1lNTRiLTQ0OGYtOWZiZi1iYWYyMjUxYTExZGIiLCJqdGkiOiJiODM3Njg0YmI2OTg5MTA3MDEzOTdhMzlhMzA5YzhiNmRhNTgxMjk4YjAxNjFkYmM2MmI2ZDY3M2I3OGY0NWE1OGJiY2FmZjJkMzI2NmQ4NyIsImlhdCI6MTc4MTI2MDkyMCwibmJmIjoxNzgxMjYwOTIwLCJleHAiOjE3ODEzNDczMjAsInN1YiI6IjI5MzAzODAiLCJncmFudF90eXBlIjoiIiwiYWNjb3VudF9pZCI6MjI2OTk4NTIsImJhc2VfZG9tYWluIjoiYW1vY3JtLnJ1IiwidmVyc2lvbiI6Miwic2NvcGVzIjpbInB1c2hfbm90aWZpY2F0aW9ucyIsImNybSIsIm5vdGlmaWNhdGlvbnMiXSwiaGFzaF91dWlkIjoiODJkYWI3ZTctODMwMS00YjEzLThjY2ItYWViMWJiZDUxYjJhIiwiYXBpX2RvbWFpbiI6ImFwaS1hLmFtb2NybS5ydSJ9.N9xblUBi4j8OpMRAgyKFNLZ9zm8vyptldbrsB_QtM7xFgzCw4n0YKUUn_EqLW_ZrTYAmBaZqSXwm6crcTtUeOfOYqR_D8YYxEq2m4dBOub_XbpY2dPpdwmmE7NzW09SVvo_f1kKoPocyrYSb9i8M9mJR-GXhWlBzlHPb-pJWlKLsuvr7AyDFSy-WM7X5RcYQ32-qBfyBtcvdH8jUNmsZCqgr-8b-Or7yjWGeErvvYuG2U80s9chk6XGlfvgsE9FmLB38WLX8yCBmUE5BEoEXmVChQPdWXgq5poiavUOhgEbw30yO327oDg6swMXOBom3evfK1XomioHvlMB5KNJybw\"})","file":"/home/ytvmclwh/document.amocrm.md/src/Models/Docs.php","line":121} {"uid":"6ec524d"}
[2026-06-12 14:10:38] docflow.DEBUG: AmoDrive docflow context request {"url":"https://google.emale.uno/api/docflow/google-context","query":{"account_id":"22699852","entity_id":"42178076","entity_type":"leads"}} {"uid":"6ec524d"}
[2026-06-12 14:10: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=42178076&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/06/12 14:10:39</td>\r\n</tr>\r\n</table>\r\n<hr><center>tengine</center>\r\n</body>\r\n</html>\r\n"} {"uid":"6ec524d"}
[2026-06-12 14:10:38] docflow.DEBUG: AmoDrive docflow context request {"url":"https://gd.glucose-dev.online/api/docflow/google-context","query":{"account_id":"22699852","entity_id":"42178076","entity_type":"leads"}} {"uid":"6ec524d"}
[2026-06-12 14:10:38] docflow.DEBUG: AmoDrive docflow context response {"url":"https://gd.glucose-dev.online/api/docflow/google-context","payload":{"ok":true,"accountId":22699852,"entityId":"42178076","entityType":"leads","amodrive":{"installed":true,"widgetStatus":"installed","amoAccountId":22699852,"accountHost":"emigrare.amocrm.ru","license":{"status":"active","configuredStatus":"active","expiresAt":"2026-08-20T10:16:56.291Z","isExpired":false,"isTrial":false,"isActive":true,"expiredByDate":false,"daysRemaining":69,"isLifetime":false},"licenseActive":true,"googleConnected":true,"googleEmail":"emigrare.md@gmail.com","googleHasDriveScope":true,"googleHasDriveFileScope":true,"googleHasOwnershipScope":true,"readyForGeneratedFileMove":true,"readyForTransfer":true},"folder":{"id":"1p6IHEvEh63iLKDOTLyvo-8xL1V5L-zm5","name":"42178076 - PS / UE","webViewLink":"https://drive.google.com/drive/folders/1p6IHEvEh63iLKDOTLyvo-8xL1V5L-zm5"}}} {"uid":"6ec524d"}
[2026-06-12 14:10:38] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://google.emale.uno/api/docflow/prepare-generated-doc","payload":{"account_id":"22699852","entity_id":"42178076","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"6ec524d"}
[2026-06-12 14:10: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/06/12 14:10: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":"42178076","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"6ec524d"}
[2026-06-12 14:10: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":"42178076","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"6ec524d"}
[2026-06-12 14:10:40] docflow.DEBUG: AmoDrive prepare-generated-doc response {"url":"https://gd.glucose-dev.online/api/docflow/prepare-generated-doc","payload":{"ok":true,"accountId":22699852,"entityId":"42178076","entityType":"leads","generatorEmail":"info@glucose.md","directGenerationReady":true,"folder":{"id":"1p6IHEvEh63iLKDOTLyvo-8xL1V5L-zm5","name":"42178076 - PS / UE","webViewLink":"https://drive.google.com/drive/folders/1p6IHEvEh63iLKDOTLyvo-8xL1V5L-zm5"},"generatorAccess":{"ok":true,"targetEmail":"info@glucose.md","permission":{"id":"15090742993472653631","emailAddress":"info@glucose.md","role":"writer","pendingOwner":false}}}} {"uid":"6ec524d"}
[2026-06-12 14:10:40] 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":"1p6IHEvEh63iLKDOTLyvo-8xL1V5L-zm5","key":"~VTsK5dcnHc2cSSsjM$LFSjLlgbmJXwrp3R2P5nd","data":"{\"fileName\":\"\\u0421\\u0447\\u0435\\u0442 \\u043d\\u0430 \\u043e\\u043f\\u043b\\u0430\\u0442\\u0443 EMG (EUR\\/USD\\/MDL) 191 20260612141038\",\"leadId\":\"42178076\",\"entities\":{\"\\u0441\\u0434\\u0435\\u043b\\u043a\\u0430\":{\"Suma \\u20ac\":\"0\",\"Data cererii create\":\"2026-06-12 13:14:00\",\"google_folder_id_leads_field\":\"https:\\/\\/drive.google.com\\/drive\\/folders\\/1p6IHEvEh63iLKDOTLyvo-8xL1V5L-zm5\",\"ID\":\"42178076\",\"\\u0421\\u0434\\u0435\\u043b\\u043a\\u0430_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"PS \\/ UE\",\"Lead_name\":\"PS \\/ UE\",\"\\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\",\"Data cererii create\":\"2026-06-12 13:14:00\",\"google_folder_id_leads_field\":\"https:\\/\\/drive.google.com\\/drive\\/folders\\/1p6IHEvEh63iLKDOTLyvo-8xL1V5L-zm5\",\"ID\":\"42178076\",\"\\u0421\\u0434\\u0435\\u043b\\u043a\\u0430_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"PS \\/ UE\",\"Lead_name\":\"PS \\/ UE\",\"\\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\":{\"WhatsappLid_WZ\":\"65713100312823\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"+37068666446\",\"Email\":\"Stanislav.anaskov@gmail.com\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Stanislav Anaskov\",\"Contact_name\":\"Stanislav Anaskov\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"Marina Negruta\",\"Responsible\":\"Marina Negruta\"},\"contact\":{\"WhatsappLid_WZ\":\"65713100312823\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"+37068666446\",\"Email\":\"Stanislav.anaskov@gmail.com\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Stanislav Anaskov\",\"Contact_name\":\"Stanislav Anaskov\",\"\\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\":[{\"WhatsappLid_WZ\":\"65713100312823\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"+37068666446\",\"Email\":\"Stanislav.anaskov@gmail.com\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Stanislav Anaskov\",\"\\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\":\"12.06.2026\",\"\\u041d\\u043e\\u043c\\u0435\\u0440\":\"191\"},\"document\":{\"Date\":\"12.06.2026\",\"Number\":\"191\"}}}","edit":true,"folderMode":"direct"}} {"uid":"6ec524d"}
[2026-06-12 14:10:46] docflow.DEBUG: GAS raw response {"raw":"[object] (stdClass: {\"code\":1,\"url\":\"https://docs.google.com/open?id=1mXQ9VEu5vbjE56nGG3W4SCMJ6zwEZvD3m7m7rFu1ZPU\",\"file_id\":\"1mXQ9VEu5vbjE56nGG3W4SCMJ6zwEZvD3m7m7rFu1ZPU\",\"error\":\"\",\"vars\":\"\"})"} {"uid":"6ec524d"}
[2026-06-12 14:10:46] docflow.INFO: Skipping AmoDrive finalize because document was generated directly in the prepared entity folder. {"fileId":"1mXQ9VEu5vbjE56nGG3W4SCMJ6zwEZvD3m7m7rFu1ZPU","folder":{"id":"1p6IHEvEh63iLKDOTLyvo-8xL1V5L-zm5","name":"42178076 - PS / UE","webViewLink":"https://drive.google.com/drive/folders/1p6IHEvEh63iLKDOTLyvo-8xL1V5L-zm5"}} {"uid":"6ec524d"}
[2026-06-12 15:05:22] docflow.INFO: Apel createDoc {"data":{"amoAccountId":"22699852","amoUserId":null,"amoEntityId":"41966500","amoEntityType":"2","templateId":"11515","corporateEntityId":"","settlementAccountId":"","is_signed":null,"gdi":null,"number":null,"currentAmoUserId":null,"lang":"ru"}} {"uid":"a7e8cd5"}
[2026-06-12 15:05:23] docflow.INFO: Token is valid for account 22699852. [] {"uid":"a7e8cd5"}
[2026-06-12 15:05:23] docflow.DEBUG: getClientAuth returned {"auth":"[object] (stdClass: {\"domain\":\"emigrare.amocrm.ru\",\"access_token\":\"eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImp0aSI6ImI4Mzc2ODRiYjY5ODkxMDcwMTM5N2EzOWEzMDljOGI2ZGE1ODEyOThiMDE2MWRiYzYyYjZkNjczYjc4ZjQ1YTU4YmJjYWZmMmQzMjY2ZDg3In0.eyJhdWQiOiIwZDY0ZGZmYi1lNTRiLTQ0OGYtOWZiZi1iYWYyMjUxYTExZGIiLCJqdGkiOiJiODM3Njg0YmI2OTg5MTA3MDEzOTdhMzlhMzA5YzhiNmRhNTgxMjk4YjAxNjFkYmM2MmI2ZDY3M2I3OGY0NWE1OGJiY2FmZjJkMzI2NmQ4NyIsImlhdCI6MTc4MTI2MDkyMCwibmJmIjoxNzgxMjYwOTIwLCJleHAiOjE3ODEzNDczMjAsInN1YiI6IjI5MzAzODAiLCJncmFudF90eXBlIjoiIiwiYWNjb3VudF9pZCI6MjI2OTk4NTIsImJhc2VfZG9tYWluIjoiYW1vY3JtLnJ1IiwidmVyc2lvbiI6Miwic2NvcGVzIjpbInB1c2hfbm90aWZpY2F0aW9ucyIsImNybSIsIm5vdGlmaWNhdGlvbnMiXSwiaGFzaF91dWlkIjoiODJkYWI3ZTctODMwMS00YjEzLThjY2ItYWViMWJiZDUxYjJhIiwiYXBpX2RvbWFpbiI6ImFwaS1hLmFtb2NybS5ydSJ9.N9xblUBi4j8OpMRAgyKFNLZ9zm8vyptldbrsB_QtM7xFgzCw4n0YKUUn_EqLW_ZrTYAmBaZqSXwm6crcTtUeOfOYqR_D8YYxEq2m4dBOub_XbpY2dPpdwmmE7NzW09SVvo_f1kKoPocyrYSb9i8M9mJR-GXhWlBzlHPb-pJWlKLsuvr7AyDFSy-WM7X5RcYQ32-qBfyBtcvdH8jUNmsZCqgr-8b-Or7yjWGeErvvYuG2U80s9chk6XGlfvgsE9FmLB38WLX8yCBmUE5BEoEXmVChQPdWXgq5poiavUOhgEbw30yO327oDg6swMXOBom3evfK1XomioHvlMB5KNJybw\"})","file":"/home/ytvmclwh/document.amocrm.md/src/Models/Docs.php","line":121} {"uid":"a7e8cd5"}
[2026-06-12 15:05:24] docflow.DEBUG: AmoDrive docflow context request {"url":"https://google.emale.uno/api/docflow/google-context","query":{"account_id":"22699852","entity_id":"41966500","entity_type":"leads"}} {"uid":"a7e8cd5"}
[2026-06-12 15:05:24] docflow.WARNING: AmoDrive docflow context request failed {"url":"https://google.emale.uno/api/docflow/google-context","http_code":null,"error":"HTTP/2 400 ","response":"<!DOCTYPE HTML PUBLIC \"-//IETF//DTD HTML 2.0//EN\">\r\n<html>\r\n<head><title>400 Bad Request</title></head>\r\n<body>\r\n<center><h1>400 Bad Request</h1></center>\r\n Sorry for the inconvenience.<br/>\r\nPlease report this message and include the following information to us.<br/>\r\nThank you very much!</p>\r\n<table>\r\n<tr>\r\n<td>URL:</td>\r\n<td>https://gd.glucose-dev.online/api/docflow/google-context?account_id=22699852&amp;entity_id=41966500&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/06/12 15:05:25</td>\r\n</tr>\r\n</table>\r\n<hr><center>tengine</center>\r\n</body>\r\n</html>\r\n"} {"uid":"a7e8cd5"}
[2026-06-12 15:05:24] docflow.DEBUG: AmoDrive docflow context request {"url":"https://gd.glucose-dev.online/api/docflow/google-context","query":{"account_id":"22699852","entity_id":"41966500","entity_type":"leads"}} {"uid":"a7e8cd5"}
[2026-06-12 15:05:25] docflow.DEBUG: AmoDrive docflow context response {"url":"https://gd.glucose-dev.online/api/docflow/google-context","payload":{"ok":true,"accountId":22699852,"entityId":"41966500","entityType":"leads","amodrive":{"installed":true,"widgetStatus":"installed","amoAccountId":22699852,"accountHost":"emigrare.amocrm.ru","license":{"status":"active","configuredStatus":"active","expiresAt":"2026-08-20T10:16:56.291Z","isExpired":false,"isTrial":false,"isActive":true,"expiredByDate":false,"daysRemaining":69,"isLifetime":false},"licenseActive":true,"googleConnected":true,"googleEmail":"emigrare.md@gmail.com","googleHasDriveScope":true,"googleHasDriveFileScope":true,"googleHasOwnershipScope":true,"readyForGeneratedFileMove":true,"readyForTransfer":true},"folder":{"id":"1nKQbeNTFBvfIqIL4H2TVNGQ-iFT6BGE5","name":"Diverse MD(Apostila si traducere)","webViewLink":"https://drive.google.com/drive/folders/1nKQbeNTFBvfIqIL4H2TVNGQ-iFT6BGE5"}}} {"uid":"a7e8cd5"}
[2026-06-12 15:05:25] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://google.emale.uno/api/docflow/prepare-generated-doc","payload":{"account_id":"22699852","entity_id":"41966500","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"a7e8cd5"}
[2026-06-12 15:05:25] docflow.WARNING: AmoDrive prepare-generated-doc request failed {"url":"https://google.emale.uno/api/docflow/prepare-generated-doc","http_code":null,"error":"HTTP/2 400 ","response":"<!DOCTYPE HTML PUBLIC \"-//IETF//DTD HTML 2.0//EN\">\r\n<html>\r\n<head><title>400 Bad Request</title></head>\r\n<body>\r\n<center><h1>400 Bad Request</h1></center>\r\n Sorry for the inconvenience.<br/>\r\nPlease report this message and include the following information to us.<br/>\r\nThank you very much!</p>\r\n<table>\r\n<tr>\r\n<td>URL:</td>\r\n<td>https://gd.glucose-dev.online/api/docflow/prepare-generated-doc</td>\r\n</tr>\r\n<tr>\r\n<td>Server:</td>\r\n<td>mail.glucose-dev.online</td>\r\n</tr>\r\n<tr>\r\n<td>Date:</td>\r\n<td>2026/06/12 15:05:26</td>\r\n</tr>\r\n</table>\r\n<hr><center>tengine</center>\r\n</body>\r\n</html>\r\n","payload":{"account_id":"22699852","entity_id":"41966500","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"a7e8cd5"}
[2026-06-12 15:05:25] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://gd.glucose-dev.online/api/docflow/prepare-generated-doc","payload":{"account_id":"22699852","entity_id":"41966500","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"a7e8cd5"}
[2026-06-12 15:05:36] docflow.DEBUG: AmoDrive prepare-generated-doc response {"url":"https://gd.glucose-dev.online/api/docflow/prepare-generated-doc","payload":{"ok":true,"accountId":22699852,"entityId":"41966500","entityType":"leads","generatorEmail":"info@glucose.md","directGenerationReady":true,"folder":{"id":"1nKQbeNTFBvfIqIL4H2TVNGQ-iFT6BGE5","name":"Diverse MD(Apostila si traducere)","webViewLink":"https://drive.google.com/drive/folders/1nKQbeNTFBvfIqIL4H2TVNGQ-iFT6BGE5"},"generatorAccess":{"ok":true,"targetEmail":"info@glucose.md","permission":{"id":"15090742993472653631","emailAddress":"info@glucose.md","role":"writer","pendingOwner":false}}}} {"uid":"a7e8cd5"}
[2026-06-12 15:05:36] docflow.DEBUG: GAS request {"url":"https://script.google.com/macros/s/AKfycbwrvOJD46zkuoTzdhpc1kulhV8jRfgQBFZfQ121nkIip_k8yKit4xrbWTOzaJ-C-Yed6w/exec","body":{"templateFileId":"1SzGXEYI835Reg_M1AEPsRjzZ3ZvcLb1cGlMSjWjG9_s","accountId":"22699852","folderId":"1nKQbeNTFBvfIqIL4H2TVNGQ-iFT6BGE5","key":"~VTsK5dcnHc2cSSsjM$LFSjLlgbmJXwrp3R2P5nd","data":"{\"fileName\":\"\\u0421\\u0447\\u0435\\u0442 \\u043d\\u0430 \\u043e\\u043f\\u043b\\u0430\\u0442\\u0443 (Sber) 1473 20260612150524\",\"leadId\":\"41966500\",\"entities\":{\"\\u0441\\u0434\\u0435\\u043b\\u043a\\u0430\":{\"google_folder_id_leads_field\":\"1nKQbeNTFBvfIqIL4H2TVNGQ-iFT6BGE5\",\"google_folder_link_leads_field\":\"https:\\/\\/drive.google.com\\/drive\\/folders\\/1nKQbeNTFBvfIqIL4H2TVNGQ-iFT6BGE5\",\"ID\":\"41966500\",\"\\u0421\\u0434\\u0435\\u043b\\u043a\\u0430_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Diverse MD (apostila + traducere)\",\"Lead_name\":\"Diverse MD (apostila + traducere)\",\"\\u0411\\u044e\\u0434\\u0436\\u0435\\u0442\":\"160\",\"Budget\":\"160\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"Cezara Cenusa\",\"Responsible\":\"Cezara Cenusa\"},\"lead\":{\"google_folder_id_leads_field\":\"1nKQbeNTFBvfIqIL4H2TVNGQ-iFT6BGE5\",\"google_folder_link_leads_field\":\"https:\\/\\/drive.google.com\\/drive\\/folders\\/1nKQbeNTFBvfIqIL4H2TVNGQ-iFT6BGE5\",\"ID\":\"41966500\",\"\\u0421\\u0434\\u0435\\u043b\\u043a\\u0430_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Diverse MD (apostila + traducere)\",\"Lead_name\":\"Diverse MD (apostila + traducere)\",\"\\u0411\\u044e\\u0434\\u0436\\u0435\\u0442\":\"160\",\"Budget\":\"160\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"Cezara Cenusa\",\"Responsible\":\"Cezara Cenusa\"},\"\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442\":{\"Cum Comunicam\":\"Watsap\",\"Limba vorbita\":\"Rusa\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"+79776384068\",\"Email\":\"Andrei.prikupets@gmail.com\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Andrei Pricupets\",\"Contact_name\":\"Andrei Pricupets\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"Victor Ochinciuc\",\"Responsible\":\"Victor Ochinciuc\"},\"contact\":{\"Cum Comunicam\":\"Watsap\",\"Limba vorbita\":\"Rusa\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"+79776384068\",\"Email\":\"Andrei.prikupets@gmail.com\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Andrei Pricupets\",\"Contact_name\":\"Andrei Pricupets\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"Victor Ochinciuc\",\"Responsible\":\"Victor Ochinciuc\"},\"\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442\\u044b\":[{\"Cum Comunicam\":\"Watsap\",\"Limba vorbita\":\"Rusa\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"+79776384068\",\"Email\":\"Andrei.prikupets@gmail.com\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Andrei Pricupets\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"Victor Ochinciuc\"}],\"\\u0434\\u043e\\u043a\\u0443\\u043c\\u0435\\u043d\\u0442\":{\"\\u0414\\u0430\\u0442\\u0430\":\"12.06.2026\",\"\\u041d\\u043e\\u043c\\u0435\\u0440\":\"1473\"},\"document\":{\"Date\":\"12.06.2026\",\"Number\":\"1473\"}}}","edit":true,"folderMode":"direct"}} {"uid":"a7e8cd5"}
[2026-06-12 15:05:39] docflow.INFO: Apel createDoc {"data":{"amoAccountId":"22699852","amoUserId":null,"amoEntityId":"41966500","amoEntityType":"2","templateId":"11515","corporateEntityId":"","settlementAccountId":"","is_signed":null,"gdi":null,"number":null,"currentAmoUserId":null,"lang":"ru"}} {"uid":"6298c5b"}
[2026-06-12 15:05:39] docflow.INFO: Token is valid for account 22699852. [] {"uid":"6298c5b"}
[2026-06-12 15:05:39] docflow.DEBUG: getClientAuth returned {"auth":"[object] (stdClass: {\"domain\":\"emigrare.amocrm.ru\",\"access_token\":\"eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImp0aSI6ImI4Mzc2ODRiYjY5ODkxMDcwMTM5N2EzOWEzMDljOGI2ZGE1ODEyOThiMDE2MWRiYzYyYjZkNjczYjc4ZjQ1YTU4YmJjYWZmMmQzMjY2ZDg3In0.eyJhdWQiOiIwZDY0ZGZmYi1lNTRiLTQ0OGYtOWZiZi1iYWYyMjUxYTExZGIiLCJqdGkiOiJiODM3Njg0YmI2OTg5MTA3MDEzOTdhMzlhMzA5YzhiNmRhNTgxMjk4YjAxNjFkYmM2MmI2ZDY3M2I3OGY0NWE1OGJiY2FmZjJkMzI2NmQ4NyIsImlhdCI6MTc4MTI2MDkyMCwibmJmIjoxNzgxMjYwOTIwLCJleHAiOjE3ODEzNDczMjAsInN1YiI6IjI5MzAzODAiLCJncmFudF90eXBlIjoiIiwiYWNjb3VudF9pZCI6MjI2OTk4NTIsImJhc2VfZG9tYWluIjoiYW1vY3JtLnJ1IiwidmVyc2lvbiI6Miwic2NvcGVzIjpbInB1c2hfbm90aWZpY2F0aW9ucyIsImNybSIsIm5vdGlmaWNhdGlvbnMiXSwiaGFzaF91dWlkIjoiODJkYWI3ZTctODMwMS00YjEzLThjY2ItYWViMWJiZDUxYjJhIiwiYXBpX2RvbWFpbiI6ImFwaS1hLmFtb2NybS5ydSJ9.N9xblUBi4j8OpMRAgyKFNLZ9zm8vyptldbrsB_QtM7xFgzCw4n0YKUUn_EqLW_ZrTYAmBaZqSXwm6crcTtUeOfOYqR_D8YYxEq2m4dBOub_XbpY2dPpdwmmE7NzW09SVvo_f1kKoPocyrYSb9i8M9mJR-GXhWlBzlHPb-pJWlKLsuvr7AyDFSy-WM7X5RcYQ32-qBfyBtcvdH8jUNmsZCqgr-8b-Or7yjWGeErvvYuG2U80s9chk6XGlfvgsE9FmLB38WLX8yCBmUE5BEoEXmVChQPdWXgq5poiavUOhgEbw30yO327oDg6swMXOBom3evfK1XomioHvlMB5KNJybw\"})","file":"/home/ytvmclwh/document.amocrm.md/src/Models/Docs.php","line":121} {"uid":"6298c5b"}
[2026-06-12 15:05:41] docflow.DEBUG: AmoDrive docflow context request {"url":"https://google.emale.uno/api/docflow/google-context","query":{"account_id":"22699852","entity_id":"41966500","entity_type":"leads"}} {"uid":"6298c5b"}
[2026-06-12 15:05:41] docflow.WARNING: AmoDrive docflow context request failed {"url":"https://google.emale.uno/api/docflow/google-context","http_code":null,"error":"HTTP/2 400 ","response":"<!DOCTYPE HTML PUBLIC \"-//IETF//DTD HTML 2.0//EN\">\r\n<html>\r\n<head><title>400 Bad Request</title></head>\r\n<body>\r\n<center><h1>400 Bad Request</h1></center>\r\n Sorry for the inconvenience.<br/>\r\nPlease report this message and include the following information to us.<br/>\r\nThank you very much!</p>\r\n<table>\r\n<tr>\r\n<td>URL:</td>\r\n<td>https://gd.glucose-dev.online/api/docflow/google-context?account_id=22699852&amp;entity_id=41966500&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/06/12 15:05:42</td>\r\n</tr>\r\n</table>\r\n<hr><center>tengine</center>\r\n</body>\r\n</html>\r\n"} {"uid":"6298c5b"}
[2026-06-12 15:05:41] docflow.DEBUG: AmoDrive docflow context request {"url":"https://gd.glucose-dev.online/api/docflow/google-context","query":{"account_id":"22699852","entity_id":"41966500","entity_type":"leads"}} {"uid":"6298c5b"}
[2026-06-12 15:05:41] docflow.DEBUG: AmoDrive docflow context response {"url":"https://gd.glucose-dev.online/api/docflow/google-context","payload":{"ok":true,"accountId":22699852,"entityId":"41966500","entityType":"leads","amodrive":{"installed":true,"widgetStatus":"installed","amoAccountId":22699852,"accountHost":"emigrare.amocrm.ru","license":{"status":"active","configuredStatus":"active","expiresAt":"2026-08-20T10:16:56.291Z","isExpired":false,"isTrial":false,"isActive":true,"expiredByDate":false,"daysRemaining":69,"isLifetime":false},"licenseActive":true,"googleConnected":true,"googleEmail":"emigrare.md@gmail.com","googleHasDriveScope":true,"googleHasDriveFileScope":true,"googleHasOwnershipScope":true,"readyForGeneratedFileMove":true,"readyForTransfer":true},"folder":{"id":"1nKQbeNTFBvfIqIL4H2TVNGQ-iFT6BGE5","name":"Diverse MD(Apostila si traducere)","webViewLink":"https://drive.google.com/drive/folders/1nKQbeNTFBvfIqIL4H2TVNGQ-iFT6BGE5"}}} {"uid":"6298c5b"}
[2026-06-12 15:05:41] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://google.emale.uno/api/docflow/prepare-generated-doc","payload":{"account_id":"22699852","entity_id":"41966500","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"6298c5b"}
[2026-06-12 15:05:41] docflow.WARNING: AmoDrive prepare-generated-doc request failed {"url":"https://google.emale.uno/api/docflow/prepare-generated-doc","http_code":null,"error":"HTTP/2 400 ","response":"<!DOCTYPE HTML PUBLIC \"-//IETF//DTD HTML 2.0//EN\">\r\n<html>\r\n<head><title>400 Bad Request</title></head>\r\n<body>\r\n<center><h1>400 Bad Request</h1></center>\r\n Sorry for the inconvenience.<br/>\r\nPlease report this message and include the following information to us.<br/>\r\nThank you very much!</p>\r\n<table>\r\n<tr>\r\n<td>URL:</td>\r\n<td>https://gd.glucose-dev.online/api/docflow/prepare-generated-doc</td>\r\n</tr>\r\n<tr>\r\n<td>Server:</td>\r\n<td>mail.glucose-dev.online</td>\r\n</tr>\r\n<tr>\r\n<td>Date:</td>\r\n<td>2026/06/12 15:05:42</td>\r\n</tr>\r\n</table>\r\n<hr><center>tengine</center>\r\n</body>\r\n</html>\r\n","payload":{"account_id":"22699852","entity_id":"41966500","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"6298c5b"}
[2026-06-12 15:05:41] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://gd.glucose-dev.online/api/docflow/prepare-generated-doc","payload":{"account_id":"22699852","entity_id":"41966500","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"6298c5b"}
[2026-06-12 15:05:43] docflow.DEBUG: AmoDrive prepare-generated-doc response {"url":"https://gd.glucose-dev.online/api/docflow/prepare-generated-doc","payload":{"ok":true,"accountId":22699852,"entityId":"41966500","entityType":"leads","generatorEmail":"info@glucose.md","directGenerationReady":true,"folder":{"id":"1nKQbeNTFBvfIqIL4H2TVNGQ-iFT6BGE5","name":"Diverse MD(Apostila si traducere)","webViewLink":"https://drive.google.com/drive/folders/1nKQbeNTFBvfIqIL4H2TVNGQ-iFT6BGE5"},"generatorAccess":{"ok":true,"targetEmail":"info@glucose.md","permission":{"id":"15090742993472653631","emailAddress":"info@glucose.md","role":"writer","pendingOwner":false}}}} {"uid":"6298c5b"}
[2026-06-12 15:05:43] docflow.DEBUG: GAS request {"url":"https://script.google.com/macros/s/AKfycbwrvOJD46zkuoTzdhpc1kulhV8jRfgQBFZfQ121nkIip_k8yKit4xrbWTOzaJ-C-Yed6w/exec","body":{"templateFileId":"1SzGXEYI835Reg_M1AEPsRjzZ3ZvcLb1cGlMSjWjG9_s","accountId":"22699852","folderId":"1nKQbeNTFBvfIqIL4H2TVNGQ-iFT6BGE5","key":"~VTsK5dcnHc2cSSsjM$LFSjLlgbmJXwrp3R2P5nd","data":"{\"fileName\":\"\\u0421\\u0447\\u0435\\u0442 \\u043d\\u0430 \\u043e\\u043f\\u043b\\u0430\\u0442\\u0443 (Sber) 1473 20260612150541\",\"leadId\":\"41966500\",\"entities\":{\"\\u0441\\u0434\\u0435\\u043b\\u043a\\u0430\":{\"google_folder_id_leads_field\":\"https:\\/\\/drive.google.com\\/drive\\/folders\\/1nKQbeNTFBvfIqIL4H2TVNGQ-iFT6BGE5\",\"google_folder_link_leads_field\":\"https:\\/\\/drive.google.com\\/drive\\/folders\\/1nKQbeNTFBvfIqIL4H2TVNGQ-iFT6BGE5\",\"ID\":\"41966500\",\"\\u0421\\u0434\\u0435\\u043b\\u043a\\u0430_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Diverse MD (apostila + traducere)\",\"Lead_name\":\"Diverse MD (apostila + traducere)\",\"\\u0411\\u044e\\u0434\\u0436\\u0435\\u0442\":\"160\",\"Budget\":\"160\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"Cezara Cenusa\",\"Responsible\":\"Cezara Cenusa\"},\"lead\":{\"google_folder_id_leads_field\":\"https:\\/\\/drive.google.com\\/drive\\/folders\\/1nKQbeNTFBvfIqIL4H2TVNGQ-iFT6BGE5\",\"google_folder_link_leads_field\":\"https:\\/\\/drive.google.com\\/drive\\/folders\\/1nKQbeNTFBvfIqIL4H2TVNGQ-iFT6BGE5\",\"ID\":\"41966500\",\"\\u0421\\u0434\\u0435\\u043b\\u043a\\u0430_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Diverse MD (apostila + traducere)\",\"Lead_name\":\"Diverse MD (apostila + traducere)\",\"\\u0411\\u044e\\u0434\\u0436\\u0435\\u0442\":\"160\",\"Budget\":\"160\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"Cezara Cenusa\",\"Responsible\":\"Cezara Cenusa\"},\"\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442\":{\"Cum Comunicam\":\"Watsap\",\"Limba vorbita\":\"Rusa\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"+79776384068\",\"Email\":\"Andrei.prikupets@gmail.com\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Andrei Pricupets\",\"Contact_name\":\"Andrei Pricupets\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"Victor Ochinciuc\",\"Responsible\":\"Victor Ochinciuc\"},\"contact\":{\"Cum Comunicam\":\"Watsap\",\"Limba vorbita\":\"Rusa\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"+79776384068\",\"Email\":\"Andrei.prikupets@gmail.com\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Andrei Pricupets\",\"Contact_name\":\"Andrei Pricupets\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"Victor Ochinciuc\",\"Responsible\":\"Victor Ochinciuc\"},\"\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442\\u044b\":[{\"Cum Comunicam\":\"Watsap\",\"Limba vorbita\":\"Rusa\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"+79776384068\",\"Email\":\"Andrei.prikupets@gmail.com\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Andrei Pricupets\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"Victor Ochinciuc\"}],\"\\u0434\\u043e\\u043a\\u0443\\u043c\\u0435\\u043d\\u0442\":{\"\\u0414\\u0430\\u0442\\u0430\":\"12.06.2026\",\"\\u041d\\u043e\\u043c\\u0435\\u0440\":\"1473\"},\"document\":{\"Date\":\"12.06.2026\",\"Number\":\"1473\"}}}","edit":true,"folderMode":"direct"}} {"uid":"6298c5b"}
[2026-06-12 15:05:49] docflow.DEBUG: GAS raw response {"raw":"[object] (stdClass: {\"code\":1,\"url\":\"https://docs.google.com/open?id=1qNTqummIvNeeg7TTTULL6S6nmwD4bYAYrb7DK0_nZLw\",\"file_id\":\"1qNTqummIvNeeg7TTTULL6S6nmwD4bYAYrb7DK0_nZLw\",\"error\":\"\",\"vars\":\"\"})"} {"uid":"6298c5b"}
[2026-06-12 15:05:49] docflow.INFO: Skipping AmoDrive finalize because document was generated directly in the prepared entity folder. {"fileId":"1qNTqummIvNeeg7TTTULL6S6nmwD4bYAYrb7DK0_nZLw","folder":{"id":"1nKQbeNTFBvfIqIL4H2TVNGQ-iFT6BGE5","name":"Diverse MD(Apostila si traducere)","webViewLink":"https://drive.google.com/drive/folders/1nKQbeNTFBvfIqIL4H2TVNGQ-iFT6BGE5"}} {"uid":"6298c5b"}
[2026-06-12 16:51:35] docflow.INFO: Apel createDoc {"data":{"amoAccountId":"22699852","amoUserId":null,"amoEntityId":"41998548","amoEntityType":"2","templateId":"11487","corporateEntityId":"","settlementAccountId":"","is_signed":null,"gdi":null,"number":null,"currentAmoUserId":null,"lang":"ru"}} {"uid":"ea92276"}
[2026-06-12 16:51:35] docflow.INFO: Token is valid for account 22699852. [] {"uid":"ea92276"}
[2026-06-12 16:51:35] docflow.DEBUG: getClientAuth returned {"auth":"[object] (stdClass: {\"domain\":\"emigrare.amocrm.ru\",\"access_token\":\"eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImp0aSI6ImI4Mzc2ODRiYjY5ODkxMDcwMTM5N2EzOWEzMDljOGI2ZGE1ODEyOThiMDE2MWRiYzYyYjZkNjczYjc4ZjQ1YTU4YmJjYWZmMmQzMjY2ZDg3In0.eyJhdWQiOiIwZDY0ZGZmYi1lNTRiLTQ0OGYtOWZiZi1iYWYyMjUxYTExZGIiLCJqdGkiOiJiODM3Njg0YmI2OTg5MTA3MDEzOTdhMzlhMzA5YzhiNmRhNTgxMjk4YjAxNjFkYmM2MmI2ZDY3M2I3OGY0NWE1OGJiY2FmZjJkMzI2NmQ4NyIsImlhdCI6MTc4MTI2MDkyMCwibmJmIjoxNzgxMjYwOTIwLCJleHAiOjE3ODEzNDczMjAsInN1YiI6IjI5MzAzODAiLCJncmFudF90eXBlIjoiIiwiYWNjb3VudF9pZCI6MjI2OTk4NTIsImJhc2VfZG9tYWluIjoiYW1vY3JtLnJ1IiwidmVyc2lvbiI6Miwic2NvcGVzIjpbInB1c2hfbm90aWZpY2F0aW9ucyIsImNybSIsIm5vdGlmaWNhdGlvbnMiXSwiaGFzaF91dWlkIjoiODJkYWI3ZTctODMwMS00YjEzLThjY2ItYWViMWJiZDUxYjJhIiwiYXBpX2RvbWFpbiI6ImFwaS1hLmFtb2NybS5ydSJ9.N9xblUBi4j8OpMRAgyKFNLZ9zm8vyptldbrsB_QtM7xFgzCw4n0YKUUn_EqLW_ZrTYAmBaZqSXwm6crcTtUeOfOYqR_D8YYxEq2m4dBOub_XbpY2dPpdwmmE7NzW09SVvo_f1kKoPocyrYSb9i8M9mJR-GXhWlBzlHPb-pJWlKLsuvr7AyDFSy-WM7X5RcYQ32-qBfyBtcvdH8jUNmsZCqgr-8b-Or7yjWGeErvvYuG2U80s9chk6XGlfvgsE9FmLB38WLX8yCBmUE5BEoEXmVChQPdWXgq5poiavUOhgEbw30yO327oDg6swMXOBom3evfK1XomioHvlMB5KNJybw\"})","file":"/home/ytvmclwh/document.amocrm.md/src/Models/Docs.php","line":121} {"uid":"ea92276"}
[2026-06-12 16:51:37] docflow.DEBUG: AmoDrive docflow context request {"url":"https://google.emale.uno/api/docflow/google-context","query":{"account_id":"22699852","entity_id":"41998548","entity_type":"leads"}} {"uid":"ea92276"}
[2026-06-12 16:51:37] docflow.WARNING: AmoDrive docflow context request failed {"url":"https://google.emale.uno/api/docflow/google-context","http_code":null,"error":"HTTP/2 400 ","response":"<!DOCTYPE HTML PUBLIC \"-//IETF//DTD HTML 2.0//EN\">\r\n<html>\r\n<head><title>400 Bad Request</title></head>\r\n<body>\r\n<center><h1>400 Bad Request</h1></center>\r\n Sorry for the inconvenience.<br/>\r\nPlease report this message and include the following information to us.<br/>\r\nThank you very much!</p>\r\n<table>\r\n<tr>\r\n<td>URL:</td>\r\n<td>https://gd.glucose-dev.online/api/docflow/google-context?account_id=22699852&amp;entity_id=41998548&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/06/12 16:51:38</td>\r\n</tr>\r\n</table>\r\n<hr><center>tengine</center>\r\n</body>\r\n</html>\r\n"} {"uid":"ea92276"}
[2026-06-12 16:51:37] docflow.DEBUG: AmoDrive docflow context request {"url":"https://gd.glucose-dev.online/api/docflow/google-context","query":{"account_id":"22699852","entity_id":"41998548","entity_type":"leads"}} {"uid":"ea92276"}
[2026-06-12 16:51:37] docflow.DEBUG: AmoDrive docflow context response {"url":"https://gd.glucose-dev.online/api/docflow/google-context","payload":{"ok":true,"accountId":22699852,"entityId":"41998548","entityType":"leads","amodrive":{"installed":true,"widgetStatus":"installed","amoAccountId":22699852,"accountHost":"emigrare.amocrm.ru","license":{"status":"active","configuredStatus":"active","expiresAt":"2026-08-20T10:16:56.291Z","isExpired":false,"isTrial":false,"isActive":true,"expiredByDate":false,"daysRemaining":69,"isLifetime":false},"licenseActive":true,"googleConnected":true,"googleEmail":"emigrare.md@gmail.com","googleHasDriveScope":true,"googleHasDriveFileScope":true,"googleHasOwnershipScope":true,"readyForGeneratedFileMove":true,"readyForTransfer":true},"folder":{"id":"1hRCeO3lfV6NbrQkNbpXWw0dejz_NJCXR","name":"41998548 - cet.md","webViewLink":"https://drive.google.com/drive/folders/1hRCeO3lfV6NbrQkNbpXWw0dejz_NJCXR"}}} {"uid":"ea92276"}
[2026-06-12 16:51:37] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://google.emale.uno/api/docflow/prepare-generated-doc","payload":{"account_id":"22699852","entity_id":"41998548","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"ea92276"}
[2026-06-12 16:51:37] docflow.WARNING: AmoDrive prepare-generated-doc request failed {"url":"https://google.emale.uno/api/docflow/prepare-generated-doc","http_code":null,"error":"HTTP/2 400 ","response":"<!DOCTYPE HTML PUBLIC \"-//IETF//DTD HTML 2.0//EN\">\r\n<html>\r\n<head><title>400 Bad Request</title></head>\r\n<body>\r\n<center><h1>400 Bad Request</h1></center>\r\n Sorry for the inconvenience.<br/>\r\nPlease report this message and include the following information to us.<br/>\r\nThank you very much!</p>\r\n<table>\r\n<tr>\r\n<td>URL:</td>\r\n<td>https://gd.glucose-dev.online/api/docflow/prepare-generated-doc</td>\r\n</tr>\r\n<tr>\r\n<td>Server:</td>\r\n<td>mail.glucose-dev.online</td>\r\n</tr>\r\n<tr>\r\n<td>Date:</td>\r\n<td>2026/06/12 16:51:38</td>\r\n</tr>\r\n</table>\r\n<hr><center>tengine</center>\r\n</body>\r\n</html>\r\n","payload":{"account_id":"22699852","entity_id":"41998548","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"ea92276"}
[2026-06-12 16:51:37] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://gd.glucose-dev.online/api/docflow/prepare-generated-doc","payload":{"account_id":"22699852","entity_id":"41998548","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"ea92276"}
[2026-06-12 16:51:40] docflow.DEBUG: AmoDrive prepare-generated-doc response {"url":"https://gd.glucose-dev.online/api/docflow/prepare-generated-doc","payload":{"ok":true,"accountId":22699852,"entityId":"41998548","entityType":"leads","generatorEmail":"info@glucose.md","directGenerationReady":true,"folder":{"id":"1hRCeO3lfV6NbrQkNbpXWw0dejz_NJCXR","name":"41998548 - cet.md","webViewLink":"https://drive.google.com/drive/folders/1hRCeO3lfV6NbrQkNbpXWw0dejz_NJCXR"},"generatorAccess":{"ok":true,"targetEmail":"info@glucose.md","permission":{"id":"15090742993472653631","emailAddress":"info@glucose.md","role":"writer","pendingOwner":false}}}} {"uid":"ea92276"}
[2026-06-12 16:51:40] docflow.DEBUG: GAS request {"url":"https://script.google.com/macros/s/AKfycbwrvOJD46zkuoTzdhpc1kulhV8jRfgQBFZfQ121nkIip_k8yKit4xrbWTOzaJ-C-Yed6w/exec","body":{"templateFileId":"1Qs2KktxXVCWrpdnvN8VsXGZnUkoSyqidawI8Gy962Yg","accountId":"22699852","folderId":"1hRCeO3lfV6NbrQkNbpXWw0dejz_NJCXR","key":"~VTsK5dcnHc2cSSsjM$LFSjLlgbmJXwrp3R2P5nd","data":"{\"fileName\":\"Diverse 1200 20260612165137\",\"leadId\":\"41998548\",\"entities\":{\"\\u0441\\u0434\\u0435\\u043b\\u043a\\u0430\":{\"Suma \\u20ac\":\"0\",\"Data cererii create\":\"2026-05-11 17:16:00\",\"google_folder_id_leads_field\":\"https:\\/\\/drive.google.com\\/drive\\/folders\\/1hRCeO3lfV6NbrQkNbpXWw0dejz_NJCXR\",\"Serviciu solicitat\":\"1520102\",\"Suma Back\":\"550\",\"Data consulta\\u021biei\":\"05.06.2026\",\"Suma avans\":\"550\",\"ID\":\"41998548\",\"\\u0421\\u0434\\u0435\\u043b\\u043a\\u0430_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Apartenen\\u021b\\u0103\",\"Lead_name\":\"Apartenen\\u021b\\u0103\",\"\\u0411\\u044e\\u0434\\u0436\\u0435\\u0442\":\"550\",\"Budget\":\"550\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"Untila Dorina\",\"Responsible\":\"Untila Dorina\"},\"lead\":{\"Suma \\u20ac\":\"0\",\"Data cererii create\":\"2026-05-11 17:16:00\",\"google_folder_id_leads_field\":\"https:\\/\\/drive.google.com\\/drive\\/folders\\/1hRCeO3lfV6NbrQkNbpXWw0dejz_NJCXR\",\"Serviciu solicitat\":\"1520102\",\"Suma Back\":\"550\",\"Data consulta\\u021biei\":\"05.06.2026\",\"Suma avans\":\"550\",\"ID\":\"41998548\",\"\\u0421\\u0434\\u0435\\u043b\\u043a\\u0430_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Apartenen\\u021b\\u0103\",\"Lead_name\":\"Apartenen\\u021b\\u0103\",\"\\u0411\\u044e\\u0434\\u0436\\u0435\\u0442\":\"550\",\"Budget\":\"550\",\"\\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\":{\"TelegramId_WZ\":\"1105387083\",\"TelegramUsername_WZ\":\"@i_vnov\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Valeria Sadovscaia\",\"Contact_name\":\"Valeria Sadovscaia\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"Untila Dorina\",\"Responsible\":\"Untila Dorina\"},\"contact\":{\"TelegramId_WZ\":\"1105387083\",\"TelegramUsername_WZ\":\"@i_vnov\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Valeria Sadovscaia\",\"Contact_name\":\"Valeria Sadovscaia\",\"\\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\":[{\"TelegramId_WZ\":\"1105387083\",\"TelegramUsername_WZ\":\"@i_vnov\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Valeria Sadovscaia\",\"\\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\":\"12.06.2026\",\"\\u041d\\u043e\\u043c\\u0435\\u0440\":\"1200\"},\"document\":{\"Date\":\"12.06.2026\",\"Number\":\"1200\"}}}","edit":true,"folderMode":"direct"}} {"uid":"ea92276"}
[2026-06-12 16:51:47] docflow.DEBUG: GAS raw response {"raw":"[object] (stdClass: {\"code\":1,\"url\":\"https://docs.google.com/open?id=1srTheoB_KZUth8ngyLEk8fXvelHcpwqUV8IWqn4BTg0\",\"file_id\":\"1srTheoB_KZUth8ngyLEk8fXvelHcpwqUV8IWqn4BTg0\",\"error\":\"\",\"vars\":\"\"})"} {"uid":"ea92276"}
[2026-06-12 16:51:47] docflow.INFO: Skipping AmoDrive finalize because document was generated directly in the prepared entity folder. {"fileId":"1srTheoB_KZUth8ngyLEk8fXvelHcpwqUV8IWqn4BTg0","folder":{"id":"1hRCeO3lfV6NbrQkNbpXWw0dejz_NJCXR","name":"41998548 - cet.md","webViewLink":"https://drive.google.com/drive/folders/1hRCeO3lfV6NbrQkNbpXWw0dejz_NJCXR"}} {"uid":"ea92276"}
[2026-06-12 16:51:52] docflow.INFO: Apel createDoc {"data":{"amoAccountId":"22699852","amoUserId":null,"amoEntityId":"41998548","amoEntityType":"2","templateId":"11515","corporateEntityId":"","settlementAccountId":"","is_signed":null,"gdi":null,"number":null,"currentAmoUserId":null,"lang":"ru"}} {"uid":"e03e788"}
[2026-06-12 16:51:53] docflow.INFO: Token is valid for account 22699852. [] {"uid":"e03e788"}
[2026-06-12 16:51:53] docflow.DEBUG: getClientAuth returned {"auth":"[object] (stdClass: {\"domain\":\"emigrare.amocrm.ru\",\"access_token\":\"eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImp0aSI6ImI4Mzc2ODRiYjY5ODkxMDcwMTM5N2EzOWEzMDljOGI2ZGE1ODEyOThiMDE2MWRiYzYyYjZkNjczYjc4ZjQ1YTU4YmJjYWZmMmQzMjY2ZDg3In0.eyJhdWQiOiIwZDY0ZGZmYi1lNTRiLTQ0OGYtOWZiZi1iYWYyMjUxYTExZGIiLCJqdGkiOiJiODM3Njg0YmI2OTg5MTA3MDEzOTdhMzlhMzA5YzhiNmRhNTgxMjk4YjAxNjFkYmM2MmI2ZDY3M2I3OGY0NWE1OGJiY2FmZjJkMzI2NmQ4NyIsImlhdCI6MTc4MTI2MDkyMCwibmJmIjoxNzgxMjYwOTIwLCJleHAiOjE3ODEzNDczMjAsInN1YiI6IjI5MzAzODAiLCJncmFudF90eXBlIjoiIiwiYWNjb3VudF9pZCI6MjI2OTk4NTIsImJhc2VfZG9tYWluIjoiYW1vY3JtLnJ1IiwidmVyc2lvbiI6Miwic2NvcGVzIjpbInB1c2hfbm90aWZpY2F0aW9ucyIsImNybSIsIm5vdGlmaWNhdGlvbnMiXSwiaGFzaF91dWlkIjoiODJkYWI3ZTctODMwMS00YjEzLThjY2ItYWViMWJiZDUxYjJhIiwiYXBpX2RvbWFpbiI6ImFwaS1hLmFtb2NybS5ydSJ9.N9xblUBi4j8OpMRAgyKFNLZ9zm8vyptldbrsB_QtM7xFgzCw4n0YKUUn_EqLW_ZrTYAmBaZqSXwm6crcTtUeOfOYqR_D8YYxEq2m4dBOub_XbpY2dPpdwmmE7NzW09SVvo_f1kKoPocyrYSb9i8M9mJR-GXhWlBzlHPb-pJWlKLsuvr7AyDFSy-WM7X5RcYQ32-qBfyBtcvdH8jUNmsZCqgr-8b-Or7yjWGeErvvYuG2U80s9chk6XGlfvgsE9FmLB38WLX8yCBmUE5BEoEXmVChQPdWXgq5poiavUOhgEbw30yO327oDg6swMXOBom3evfK1XomioHvlMB5KNJybw\"})","file":"/home/ytvmclwh/document.amocrm.md/src/Models/Docs.php","line":121} {"uid":"e03e788"}
[2026-06-12 16:51:54] docflow.DEBUG: AmoDrive docflow context request {"url":"https://google.emale.uno/api/docflow/google-context","query":{"account_id":"22699852","entity_id":"41998548","entity_type":"leads"}} {"uid":"e03e788"}
[2026-06-12 16:51:54] docflow.WARNING: AmoDrive docflow context request failed {"url":"https://google.emale.uno/api/docflow/google-context","http_code":null,"error":"HTTP/2 400 ","response":"<!DOCTYPE HTML PUBLIC \"-//IETF//DTD HTML 2.0//EN\">\r\n<html>\r\n<head><title>400 Bad Request</title></head>\r\n<body>\r\n<center><h1>400 Bad Request</h1></center>\r\n Sorry for the inconvenience.<br/>\r\nPlease report this message and include the following information to us.<br/>\r\nThank you very much!</p>\r\n<table>\r\n<tr>\r\n<td>URL:</td>\r\n<td>https://gd.glucose-dev.online/api/docflow/google-context?account_id=22699852&amp;entity_id=41998548&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/06/12 16:51:55</td>\r\n</tr>\r\n</table>\r\n<hr><center>tengine</center>\r\n</body>\r\n</html>\r\n"} {"uid":"e03e788"}
[2026-06-12 16:51:54] docflow.DEBUG: AmoDrive docflow context request {"url":"https://gd.glucose-dev.online/api/docflow/google-context","query":{"account_id":"22699852","entity_id":"41998548","entity_type":"leads"}} {"uid":"e03e788"}
[2026-06-12 16:51:54] docflow.DEBUG: AmoDrive docflow context response {"url":"https://gd.glucose-dev.online/api/docflow/google-context","payload":{"ok":true,"accountId":22699852,"entityId":"41998548","entityType":"leads","amodrive":{"installed":true,"widgetStatus":"installed","amoAccountId":22699852,"accountHost":"emigrare.amocrm.ru","license":{"status":"active","configuredStatus":"active","expiresAt":"2026-08-20T10:16:56.291Z","isExpired":false,"isTrial":false,"isActive":true,"expiredByDate":false,"daysRemaining":69,"isLifetime":false},"licenseActive":true,"googleConnected":true,"googleEmail":"emigrare.md@gmail.com","googleHasDriveScope":true,"googleHasDriveFileScope":true,"googleHasOwnershipScope":true,"readyForGeneratedFileMove":true,"readyForTransfer":true},"folder":{"id":"1hRCeO3lfV6NbrQkNbpXWw0dejz_NJCXR","name":"41998548 - cet.md","webViewLink":"https://drive.google.com/drive/folders/1hRCeO3lfV6NbrQkNbpXWw0dejz_NJCXR"}}} {"uid":"e03e788"}
[2026-06-12 16:51:54] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://google.emale.uno/api/docflow/prepare-generated-doc","payload":{"account_id":"22699852","entity_id":"41998548","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"e03e788"}
[2026-06-12 16:51:55] docflow.WARNING: AmoDrive prepare-generated-doc request failed {"url":"https://google.emale.uno/api/docflow/prepare-generated-doc","http_code":null,"error":"HTTP/2 400 ","response":"<!DOCTYPE HTML PUBLIC \"-//IETF//DTD HTML 2.0//EN\">\r\n<html>\r\n<head><title>400 Bad Request</title></head>\r\n<body>\r\n<center><h1>400 Bad Request</h1></center>\r\n Sorry for the inconvenience.<br/>\r\nPlease report this message and include the following information to us.<br/>\r\nThank you very much!</p>\r\n<table>\r\n<tr>\r\n<td>URL:</td>\r\n<td>https://gd.glucose-dev.online/api/docflow/prepare-generated-doc</td>\r\n</tr>\r\n<tr>\r\n<td>Server:</td>\r\n<td>mail.glucose-dev.online</td>\r\n</tr>\r\n<tr>\r\n<td>Date:</td>\r\n<td>2026/06/12 16:51: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":"41998548","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"e03e788"}
[2026-06-12 16:51:55] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://gd.glucose-dev.online/api/docflow/prepare-generated-doc","payload":{"account_id":"22699852","entity_id":"41998548","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"e03e788"}
[2026-06-12 16:51:56] docflow.DEBUG: AmoDrive prepare-generated-doc response {"url":"https://gd.glucose-dev.online/api/docflow/prepare-generated-doc","payload":{"ok":true,"accountId":22699852,"entityId":"41998548","entityType":"leads","generatorEmail":"info@glucose.md","directGenerationReady":true,"folder":{"id":"1hRCeO3lfV6NbrQkNbpXWw0dejz_NJCXR","name":"41998548 - cet.md","webViewLink":"https://drive.google.com/drive/folders/1hRCeO3lfV6NbrQkNbpXWw0dejz_NJCXR"},"generatorAccess":{"ok":true,"targetEmail":"info@glucose.md","permission":{"id":"15090742993472653631","emailAddress":"info@glucose.md","role":"writer","pendingOwner":false}}}} {"uid":"e03e788"}
[2026-06-12 16:51:56] docflow.DEBUG: GAS request {"url":"https://script.google.com/macros/s/AKfycbwrvOJD46zkuoTzdhpc1kulhV8jRfgQBFZfQ121nkIip_k8yKit4xrbWTOzaJ-C-Yed6w/exec","body":{"templateFileId":"1SzGXEYI835Reg_M1AEPsRjzZ3ZvcLb1cGlMSjWjG9_s","accountId":"22699852","folderId":"1hRCeO3lfV6NbrQkNbpXWw0dejz_NJCXR","key":"~VTsK5dcnHc2cSSsjM$LFSjLlgbmJXwrp3R2P5nd","data":"{\"fileName\":\"\\u0421\\u0447\\u0435\\u0442 \\u043d\\u0430 \\u043e\\u043f\\u043b\\u0430\\u0442\\u0443 (Sber) 1474 20260612165154\",\"leadId\":\"41998548\",\"entities\":{\"\\u0441\\u0434\\u0435\\u043b\\u043a\\u0430\":{\"Suma \\u20ac\":\"0\",\"Data cererii create\":\"2026-05-11 17:16:00\",\"google_folder_id_leads_field\":\"https:\\/\\/drive.google.com\\/drive\\/folders\\/1hRCeO3lfV6NbrQkNbpXWw0dejz_NJCXR\",\"Serviciu solicitat\":\"1520102\",\"Suma Back\":\"550\",\"Data consulta\\u021biei\":\"05.06.2026\",\"Suma avans\":\"550\",\"ID\":\"41998548\",\"\\u0421\\u0434\\u0435\\u043b\\u043a\\u0430_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Apartenen\\u021b\\u0103\",\"Lead_name\":\"Apartenen\\u021b\\u0103\",\"\\u0411\\u044e\\u0434\\u0436\\u0435\\u0442\":\"550\",\"Budget\":\"550\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"Untila Dorina\",\"Responsible\":\"Untila Dorina\"},\"lead\":{\"Suma \\u20ac\":\"0\",\"Data cererii create\":\"2026-05-11 17:16:00\",\"google_folder_id_leads_field\":\"https:\\/\\/drive.google.com\\/drive\\/folders\\/1hRCeO3lfV6NbrQkNbpXWw0dejz_NJCXR\",\"Serviciu solicitat\":\"1520102\",\"Suma Back\":\"550\",\"Data consulta\\u021biei\":\"05.06.2026\",\"Suma avans\":\"550\",\"ID\":\"41998548\",\"\\u0421\\u0434\\u0435\\u043b\\u043a\\u0430_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Apartenen\\u021b\\u0103\",\"Lead_name\":\"Apartenen\\u021b\\u0103\",\"\\u0411\\u044e\\u0434\\u0436\\u0435\\u0442\":\"550\",\"Budget\":\"550\",\"\\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\":{\"TelegramId_WZ\":\"1105387083\",\"TelegramUsername_WZ\":\"@i_vnov\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Valeria Sadovscaia\",\"Contact_name\":\"Valeria Sadovscaia\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"Untila Dorina\",\"Responsible\":\"Untila Dorina\"},\"contact\":{\"TelegramId_WZ\":\"1105387083\",\"TelegramUsername_WZ\":\"@i_vnov\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Valeria Sadovscaia\",\"Contact_name\":\"Valeria Sadovscaia\",\"\\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\":[{\"TelegramId_WZ\":\"1105387083\",\"TelegramUsername_WZ\":\"@i_vnov\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Valeria Sadovscaia\",\"\\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\":\"12.06.2026\",\"\\u041d\\u043e\\u043c\\u0435\\u0440\":\"1474\"},\"document\":{\"Date\":\"12.06.2026\",\"Number\":\"1474\"}}}","edit":true,"folderMode":"direct"}} {"uid":"e03e788"}
[2026-06-12 16:52:02] docflow.DEBUG: GAS raw response {"raw":"[object] (stdClass: {\"code\":1,\"url\":\"https://docs.google.com/open?id=1pQc_2tAumHd4O9Ojwr0gt7UJOpbXQ9gbO-Hkq2I5DzU\",\"file_id\":\"1pQc_2tAumHd4O9Ojwr0gt7UJOpbXQ9gbO-Hkq2I5DzU\",\"error\":\"\",\"vars\":\"\"})"} {"uid":"e03e788"}
[2026-06-12 16:52:02] docflow.INFO: Skipping AmoDrive finalize because document was generated directly in the prepared entity folder. {"fileId":"1pQc_2tAumHd4O9Ojwr0gt7UJOpbXQ9gbO-Hkq2I5DzU","folder":{"id":"1hRCeO3lfV6NbrQkNbpXWw0dejz_NJCXR","name":"41998548 - cet.md","webViewLink":"https://drive.google.com/drive/folders/1hRCeO3lfV6NbrQkNbpXWw0dejz_NJCXR"}} {"uid":"e03e788"}
[2026-06-12 16:56:44] docflow.INFO: Apel createDoc {"data":{"amoAccountId":"22699852","amoUserId":null,"amoEntityId":"42178844","amoEntityType":"2","templateId":"11523","corporateEntityId":"","settlementAccountId":"","is_signed":null,"gdi":null,"number":null,"currentAmoUserId":null,"lang":"ru"}} {"uid":"a40537d"}
[2026-06-12 16:56:45] docflow.INFO: Token is valid for account 22699852. [] {"uid":"a40537d"}
[2026-06-12 16:56:45] docflow.DEBUG: getClientAuth returned {"auth":"[object] (stdClass: {\"domain\":\"emigrare.amocrm.ru\",\"access_token\":\"eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImp0aSI6ImI4Mzc2ODRiYjY5ODkxMDcwMTM5N2EzOWEzMDljOGI2ZGE1ODEyOThiMDE2MWRiYzYyYjZkNjczYjc4ZjQ1YTU4YmJjYWZmMmQzMjY2ZDg3In0.eyJhdWQiOiIwZDY0ZGZmYi1lNTRiLTQ0OGYtOWZiZi1iYWYyMjUxYTExZGIiLCJqdGkiOiJiODM3Njg0YmI2OTg5MTA3MDEzOTdhMzlhMzA5YzhiNmRhNTgxMjk4YjAxNjFkYmM2MmI2ZDY3M2I3OGY0NWE1OGJiY2FmZjJkMzI2NmQ4NyIsImlhdCI6MTc4MTI2MDkyMCwibmJmIjoxNzgxMjYwOTIwLCJleHAiOjE3ODEzNDczMjAsInN1YiI6IjI5MzAzODAiLCJncmFudF90eXBlIjoiIiwiYWNjb3VudF9pZCI6MjI2OTk4NTIsImJhc2VfZG9tYWluIjoiYW1vY3JtLnJ1IiwidmVyc2lvbiI6Miwic2NvcGVzIjpbInB1c2hfbm90aWZpY2F0aW9ucyIsImNybSIsIm5vdGlmaWNhdGlvbnMiXSwiaGFzaF91dWlkIjoiODJkYWI3ZTctODMwMS00YjEzLThjY2ItYWViMWJiZDUxYjJhIiwiYXBpX2RvbWFpbiI6ImFwaS1hLmFtb2NybS5ydSJ9.N9xblUBi4j8OpMRAgyKFNLZ9zm8vyptldbrsB_QtM7xFgzCw4n0YKUUn_EqLW_ZrTYAmBaZqSXwm6crcTtUeOfOYqR_D8YYxEq2m4dBOub_XbpY2dPpdwmmE7NzW09SVvo_f1kKoPocyrYSb9i8M9mJR-GXhWlBzlHPb-pJWlKLsuvr7AyDFSy-WM7X5RcYQ32-qBfyBtcvdH8jUNmsZCqgr-8b-Or7yjWGeErvvYuG2U80s9chk6XGlfvgsE9FmLB38WLX8yCBmUE5BEoEXmVChQPdWXgq5poiavUOhgEbw30yO327oDg6swMXOBom3evfK1XomioHvlMB5KNJybw\"})","file":"/home/ytvmclwh/document.amocrm.md/src/Models/Docs.php","line":121} {"uid":"a40537d"}
[2026-06-12 16:56:46] docflow.DEBUG: AmoDrive docflow context request {"url":"https://google.emale.uno/api/docflow/google-context","query":{"account_id":"22699852","entity_id":"42178844","entity_type":"leads"}} {"uid":"a40537d"}
[2026-06-12 16:56:46] docflow.WARNING: AmoDrive docflow context request failed {"url":"https://google.emale.uno/api/docflow/google-context","http_code":null,"error":"HTTP/2 400 ","response":"<!DOCTYPE HTML PUBLIC \"-//IETF//DTD HTML 2.0//EN\">\r\n<html>\r\n<head><title>400 Bad Request</title></head>\r\n<body>\r\n<center><h1>400 Bad Request</h1></center>\r\n Sorry for the inconvenience.<br/>\r\nPlease report this message and include the following information to us.<br/>\r\nThank you very much!</p>\r\n<table>\r\n<tr>\r\n<td>URL:</td>\r\n<td>https://gd.glucose-dev.online/api/docflow/google-context?account_id=22699852&amp;entity_id=42178844&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/06/12 16:56:47</td>\r\n</tr>\r\n</table>\r\n<hr><center>tengine</center>\r\n</body>\r\n</html>\r\n"} {"uid":"a40537d"}
[2026-06-12 16:56:46] docflow.DEBUG: AmoDrive docflow context request {"url":"https://gd.glucose-dev.online/api/docflow/google-context","query":{"account_id":"22699852","entity_id":"42178844","entity_type":"leads"}} {"uid":"a40537d"}
[2026-06-12 16:56:46] docflow.DEBUG: AmoDrive docflow context response {"url":"https://gd.glucose-dev.online/api/docflow/google-context","payload":{"ok":true,"accountId":22699852,"entityId":"42178844","entityType":"leads","amodrive":{"installed":true,"widgetStatus":"installed","amoAccountId":22699852,"accountHost":"emigrare.amocrm.ru","license":{"status":"active","configuredStatus":"active","expiresAt":"2026-08-20T10:16:56.291Z","isExpired":false,"isTrial":false,"isActive":true,"expiredByDate":false,"daysRemaining":69,"isLifetime":false},"licenseActive":true,"googleConnected":true,"googleEmail":"emigrare.md@gmail.com","googleHasDriveScope":true,"googleHasDriveFileScope":true,"googleHasOwnershipScope":true,"readyForGeneratedFileMove":true,"readyForTransfer":true},"folder":{"id":"1XsTdZK0U7RkDgqarvzb9ckFzfAWBF1W8","name":"42178844 - sub.md","webViewLink":"https://drive.google.com/drive/folders/1XsTdZK0U7RkDgqarvzb9ckFzfAWBF1W8"}}} {"uid":"a40537d"}
[2026-06-12 16:56:46] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://google.emale.uno/api/docflow/prepare-generated-doc","payload":{"account_id":"22699852","entity_id":"42178844","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"a40537d"}
[2026-06-12 16:56:47] docflow.WARNING: AmoDrive prepare-generated-doc request failed {"url":"https://google.emale.uno/api/docflow/prepare-generated-doc","http_code":null,"error":"HTTP/2 400 ","response":"<!DOCTYPE HTML PUBLIC \"-//IETF//DTD HTML 2.0//EN\">\r\n<html>\r\n<head><title>400 Bad Request</title></head>\r\n<body>\r\n<center><h1>400 Bad Request</h1></center>\r\n Sorry for the inconvenience.<br/>\r\nPlease report this message and include the following information to us.<br/>\r\nThank you very much!</p>\r\n<table>\r\n<tr>\r\n<td>URL:</td>\r\n<td>https://gd.glucose-dev.online/api/docflow/prepare-generated-doc</td>\r\n</tr>\r\n<tr>\r\n<td>Server:</td>\r\n<td>mail.glucose-dev.online</td>\r\n</tr>\r\n<tr>\r\n<td>Date:</td>\r\n<td>2026/06/12 16:56:48</td>\r\n</tr>\r\n</table>\r\n<hr><center>tengine</center>\r\n</body>\r\n</html>\r\n","payload":{"account_id":"22699852","entity_id":"42178844","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"a40537d"}
[2026-06-12 16:56:47] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://gd.glucose-dev.online/api/docflow/prepare-generated-doc","payload":{"account_id":"22699852","entity_id":"42178844","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"a40537d"}
[2026-06-12 16:56:50] docflow.DEBUG: AmoDrive prepare-generated-doc response {"url":"https://gd.glucose-dev.online/api/docflow/prepare-generated-doc","payload":{"ok":true,"accountId":22699852,"entityId":"42178844","entityType":"leads","generatorEmail":"info@glucose.md","directGenerationReady":true,"folder":{"id":"1XsTdZK0U7RkDgqarvzb9ckFzfAWBF1W8","name":"42178844 - sub.md","webViewLink":"https://drive.google.com/drive/folders/1XsTdZK0U7RkDgqarvzb9ckFzfAWBF1W8"},"generatorAccess":{"ok":true,"targetEmail":"info@glucose.md","permission":{"id":"15090742993472653631","emailAddress":"info@glucose.md","role":"writer","pendingOwner":false}}}} {"uid":"a40537d"}
[2026-06-12 16:56:50] docflow.DEBUG: GAS request {"url":"https://script.google.com/macros/s/AKfycbwrvOJD46zkuoTzdhpc1kulhV8jRfgQBFZfQ121nkIip_k8yKit4xrbWTOzaJ-C-Yed6w/exec","body":{"templateFileId":"1Qbu4ta1Frv4gpiEJLyFsXs05ThghEcK3KJnIL6KtWLE","accountId":"22699852","folderId":"1XsTdZK0U7RkDgqarvzb9ckFzfAWBF1W8","key":"~VTsK5dcnHc2cSSsjM$LFSjLlgbmJXwrp3R2P5nd","data":"{\"fileName\":\"Cont de plat\\u0103  106 20260612165646\",\"leadId\":\"42178844\",\"entities\":{\"\\u0441\\u0434\\u0435\\u043b\\u043a\\u0430\":{\"Suma \\u20ac\":\"0\",\"Data cererii create\":\"2026-06-12 16:16:00\",\"google_folder_id_leads_field\":\"https:\\/\\/drive.google.com\\/drive\\/folders\\/1XsTdZK0U7RkDgqarvzb9ckFzfAWBF1W8\",\"Data front\":\"2026-06-12 16:49:00\",\"#Manager Front\":\"Cezara Cenusa\",\"Preluarea de manager front\":\"2026-06-12 16:52:00\",\"Urm\\u0103torul contact\":\"2026-06-12 16:52:00\",\"ID\":\"42178844\",\"\\u0421\\u0434\\u0435\\u043b\\u043a\\u0430_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"sub. MD\",\"Lead_name\":\"sub. MD\",\"\\u0411\\u044e\\u0434\\u0436\\u0435\\u0442\":\"0\",\"Budget\":\"0\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"Untila Dorina\",\"Responsible\":\"Untila Dorina\"},\"lead\":{\"Suma \\u20ac\":\"0\",\"Data cererii create\":\"2026-06-12 16:16:00\",\"google_folder_id_leads_field\":\"https:\\/\\/drive.google.com\\/drive\\/folders\\/1XsTdZK0U7RkDgqarvzb9ckFzfAWBF1W8\",\"Data front\":\"2026-06-12 16:49:00\",\"#Manager Front\":\"Cezara Cenusa\",\"Preluarea de manager front\":\"2026-06-12 16:52:00\",\"Urm\\u0103torul contact\":\"2026-06-12 16:52:00\",\"ID\":\"42178844\",\"\\u0421\\u0434\\u0435\\u043b\\u043a\\u0430_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"sub. MD\",\"Lead_name\":\"sub. MD\",\"\\u0411\\u044e\\u0434\\u0436\\u0435\\u0442\":\"0\",\"Budget\":\"0\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"Untila Dorina\",\"Responsible\":\"Untila Dorina\"},\"\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442\":{\"WhatsappLid_WZ\":\"269157715210336\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"+34642033471\",\"Email\":\"neagumaxim6@gmail.com\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Maxim Neagu\",\"Contact_name\":\"Maxim Neagu\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"Untila Dorina\",\"Responsible\":\"Untila Dorina\"},\"contact\":{\"WhatsappLid_WZ\":\"269157715210336\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"+34642033471\",\"Email\":\"neagumaxim6@gmail.com\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Maxim Neagu\",\"Contact_name\":\"Maxim Neagu\",\"\\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\":\"269157715210336\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"+34642033471\",\"Email\":\"neagumaxim6@gmail.com\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Maxim Neagu\",\"\\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\":\"12.06.2026\",\"\\u041d\\u043e\\u043c\\u0435\\u0440\":\"106\"},\"document\":{\"Date\":\"12.06.2026\",\"Number\":\"106\"}}}","edit":true,"folderMode":"direct"}} {"uid":"a40537d"}
[2026-06-12 16:56:56] docflow.DEBUG: GAS raw response {"raw":"[object] (stdClass: {\"code\":1,\"url\":\"https://docs.google.com/open?id=1wREn_SAK83zOTO3JYk-4I_uCf53huE1TJ42A9QPrzNo\",\"file_id\":\"1wREn_SAK83zOTO3JYk-4I_uCf53huE1TJ42A9QPrzNo\",\"error\":\"\",\"vars\":\"\"})"} {"uid":"a40537d"}
[2026-06-12 16:56:56] docflow.INFO: Skipping AmoDrive finalize because document was generated directly in the prepared entity folder. {"fileId":"1wREn_SAK83zOTO3JYk-4I_uCf53huE1TJ42A9QPrzNo","folder":{"id":"1XsTdZK0U7RkDgqarvzb9ckFzfAWBF1W8","name":"42178844 - sub.md","webViewLink":"https://drive.google.com/drive/folders/1XsTdZK0U7RkDgqarvzb9ckFzfAWBF1W8"}} {"uid":"a40537d"}
[2026-06-12 16:57:26] docflow.INFO: Apel createDoc {"data":{"amoAccountId":"22699852","amoUserId":null,"amoEntityId":"42178844","amoEntityType":"2","templateId":"11524","corporateEntityId":"","settlementAccountId":"","is_signed":null,"gdi":null,"number":null,"currentAmoUserId":null,"lang":"ru"}} {"uid":"1659c2d"}
[2026-06-12 16:57:26] docflow.INFO: Token is valid for account 22699852. [] {"uid":"1659c2d"}
[2026-06-12 16:57:26] docflow.DEBUG: getClientAuth returned {"auth":"[object] (stdClass: {\"domain\":\"emigrare.amocrm.ru\",\"access_token\":\"eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImp0aSI6ImI4Mzc2ODRiYjY5ODkxMDcwMTM5N2EzOWEzMDljOGI2ZGE1ODEyOThiMDE2MWRiYzYyYjZkNjczYjc4ZjQ1YTU4YmJjYWZmMmQzMjY2ZDg3In0.eyJhdWQiOiIwZDY0ZGZmYi1lNTRiLTQ0OGYtOWZiZi1iYWYyMjUxYTExZGIiLCJqdGkiOiJiODM3Njg0YmI2OTg5MTA3MDEzOTdhMzlhMzA5YzhiNmRhNTgxMjk4YjAxNjFkYmM2MmI2ZDY3M2I3OGY0NWE1OGJiY2FmZjJkMzI2NmQ4NyIsImlhdCI6MTc4MTI2MDkyMCwibmJmIjoxNzgxMjYwOTIwLCJleHAiOjE3ODEzNDczMjAsInN1YiI6IjI5MzAzODAiLCJncmFudF90eXBlIjoiIiwiYWNjb3VudF9pZCI6MjI2OTk4NTIsImJhc2VfZG9tYWluIjoiYW1vY3JtLnJ1IiwidmVyc2lvbiI6Miwic2NvcGVzIjpbInB1c2hfbm90aWZpY2F0aW9ucyIsImNybSIsIm5vdGlmaWNhdGlvbnMiXSwiaGFzaF91dWlkIjoiODJkYWI3ZTctODMwMS00YjEzLThjY2ItYWViMWJiZDUxYjJhIiwiYXBpX2RvbWFpbiI6ImFwaS1hLmFtb2NybS5ydSJ9.N9xblUBi4j8OpMRAgyKFNLZ9zm8vyptldbrsB_QtM7xFgzCw4n0YKUUn_EqLW_ZrTYAmBaZqSXwm6crcTtUeOfOYqR_D8YYxEq2m4dBOub_XbpY2dPpdwmmE7NzW09SVvo_f1kKoPocyrYSb9i8M9mJR-GXhWlBzlHPb-pJWlKLsuvr7AyDFSy-WM7X5RcYQ32-qBfyBtcvdH8jUNmsZCqgr-8b-Or7yjWGeErvvYuG2U80s9chk6XGlfvgsE9FmLB38WLX8yCBmUE5BEoEXmVChQPdWXgq5poiavUOhgEbw30yO327oDg6swMXOBom3evfK1XomioHvlMB5KNJybw\"})","file":"/home/ytvmclwh/document.amocrm.md/src/Models/Docs.php","line":121} {"uid":"1659c2d"}
[2026-06-12 16:57:28] docflow.DEBUG: AmoDrive docflow context request {"url":"https://google.emale.uno/api/docflow/google-context","query":{"account_id":"22699852","entity_id":"42178844","entity_type":"leads"}} {"uid":"1659c2d"}
[2026-06-12 16:57:28] docflow.WARNING: AmoDrive docflow context request failed {"url":"https://google.emale.uno/api/docflow/google-context","http_code":null,"error":"HTTP/2 400 ","response":"<!DOCTYPE HTML PUBLIC \"-//IETF//DTD HTML 2.0//EN\">\r\n<html>\r\n<head><title>400 Bad Request</title></head>\r\n<body>\r\n<center><h1>400 Bad Request</h1></center>\r\n Sorry for the inconvenience.<br/>\r\nPlease report this message and include the following information to us.<br/>\r\nThank you very much!</p>\r\n<table>\r\n<tr>\r\n<td>URL:</td>\r\n<td>https://gd.glucose-dev.online/api/docflow/google-context?account_id=22699852&amp;entity_id=42178844&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/06/12 16:57:29</td>\r\n</tr>\r\n</table>\r\n<hr><center>tengine</center>\r\n</body>\r\n</html>\r\n"} {"uid":"1659c2d"}
[2026-06-12 16:57:28] docflow.DEBUG: AmoDrive docflow context request {"url":"https://gd.glucose-dev.online/api/docflow/google-context","query":{"account_id":"22699852","entity_id":"42178844","entity_type":"leads"}} {"uid":"1659c2d"}
[2026-06-12 16:57:28] docflow.DEBUG: AmoDrive docflow context response {"url":"https://gd.glucose-dev.online/api/docflow/google-context","payload":{"ok":true,"accountId":22699852,"entityId":"42178844","entityType":"leads","amodrive":{"installed":true,"widgetStatus":"installed","amoAccountId":22699852,"accountHost":"emigrare.amocrm.ru","license":{"status":"active","configuredStatus":"active","expiresAt":"2026-08-20T10:16:56.291Z","isExpired":false,"isTrial":false,"isActive":true,"expiredByDate":false,"daysRemaining":69,"isLifetime":false},"licenseActive":true,"googleConnected":true,"googleEmail":"emigrare.md@gmail.com","googleHasDriveScope":true,"googleHasDriveFileScope":true,"googleHasOwnershipScope":true,"readyForGeneratedFileMove":true,"readyForTransfer":true},"folder":{"id":"1XsTdZK0U7RkDgqarvzb9ckFzfAWBF1W8","name":"42178844 - sub.md","webViewLink":"https://drive.google.com/drive/folders/1XsTdZK0U7RkDgqarvzb9ckFzfAWBF1W8"}}} {"uid":"1659c2d"}
[2026-06-12 16:57:28] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://google.emale.uno/api/docflow/prepare-generated-doc","payload":{"account_id":"22699852","entity_id":"42178844","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"1659c2d"}
[2026-06-12 16:57: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/06/12 16:57:29</td>\r\n</tr>\r\n</table>\r\n<hr><center>tengine</center>\r\n</body>\r\n</html>\r\n","payload":{"account_id":"22699852","entity_id":"42178844","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"1659c2d"}
[2026-06-12 16:57: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":"42178844","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"1659c2d"}
[2026-06-12 16:57:29] docflow.DEBUG: AmoDrive prepare-generated-doc response {"url":"https://gd.glucose-dev.online/api/docflow/prepare-generated-doc","payload":{"ok":true,"accountId":22699852,"entityId":"42178844","entityType":"leads","generatorEmail":"info@glucose.md","directGenerationReady":true,"folder":{"id":"1XsTdZK0U7RkDgqarvzb9ckFzfAWBF1W8","name":"42178844 - sub.md","webViewLink":"https://drive.google.com/drive/folders/1XsTdZK0U7RkDgqarvzb9ckFzfAWBF1W8"},"generatorAccess":{"ok":true,"targetEmail":"info@glucose.md","permission":{"id":"15090742993472653631","emailAddress":"info@glucose.md","role":"writer","pendingOwner":false}}}} {"uid":"1659c2d"}
[2026-06-12 16:57:29] docflow.DEBUG: GAS request {"url":"https://script.google.com/macros/s/AKfycbwrvOJD46zkuoTzdhpc1kulhV8jRfgQBFZfQ121nkIip_k8yKit4xrbWTOzaJ-C-Yed6w/exec","body":{"templateFileId":"18rFYbJdmpbf0PwURa9d1Yor0B6gCiWf8T5S9HgIRMsE","accountId":"22699852","folderId":"1XsTdZK0U7RkDgqarvzb9ckFzfAWBF1W8","key":"~VTsK5dcnHc2cSSsjM$LFSjLlgbmJXwrp3R2P5nd","data":"{\"fileName\":\"Invoice (MICB) 244 20260612165728\",\"leadId\":\"42178844\",\"entities\":{\"\\u0441\\u0434\\u0435\\u043b\\u043a\\u0430\":{\"Suma \\u20ac\":\"0\",\"Data cererii create\":\"2026-06-12 16:16:00\",\"google_folder_id_leads_field\":\"https:\\/\\/drive.google.com\\/drive\\/folders\\/1XsTdZK0U7RkDgqarvzb9ckFzfAWBF1W8\",\"Data front\":\"2026-06-12 16:49:00\",\"#Manager Front\":\"Cezara Cenusa\",\"Preluarea de manager front\":\"2026-06-12 16:52:00\",\"Urm\\u0103torul contact\":\"2026-06-12 16:52:00\",\"ID\":\"42178844\",\"\\u0421\\u0434\\u0435\\u043b\\u043a\\u0430_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"sub. MD\",\"Lead_name\":\"sub. MD\",\"\\u0411\\u044e\\u0434\\u0436\\u0435\\u0442\":\"0\",\"Budget\":\"0\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"Untila Dorina\",\"Responsible\":\"Untila Dorina\"},\"lead\":{\"Suma \\u20ac\":\"0\",\"Data cererii create\":\"2026-06-12 16:16:00\",\"google_folder_id_leads_field\":\"https:\\/\\/drive.google.com\\/drive\\/folders\\/1XsTdZK0U7RkDgqarvzb9ckFzfAWBF1W8\",\"Data front\":\"2026-06-12 16:49:00\",\"#Manager Front\":\"Cezara Cenusa\",\"Preluarea de manager front\":\"2026-06-12 16:52:00\",\"Urm\\u0103torul contact\":\"2026-06-12 16:52:00\",\"ID\":\"42178844\",\"\\u0421\\u0434\\u0435\\u043b\\u043a\\u0430_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"sub. MD\",\"Lead_name\":\"sub. MD\",\"\\u0411\\u044e\\u0434\\u0436\\u0435\\u0442\":\"0\",\"Budget\":\"0\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"Untila Dorina\",\"Responsible\":\"Untila Dorina\"},\"\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442\":{\"WhatsappLid_WZ\":\"269157715210336\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"+34642033471\",\"Email\":\"neagumaxim6@gmail.com\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Maxim Neagu\",\"Contact_name\":\"Maxim Neagu\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"Untila Dorina\",\"Responsible\":\"Untila Dorina\"},\"contact\":{\"WhatsappLid_WZ\":\"269157715210336\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"+34642033471\",\"Email\":\"neagumaxim6@gmail.com\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Maxim Neagu\",\"Contact_name\":\"Maxim Neagu\",\"\\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\":\"269157715210336\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"+34642033471\",\"Email\":\"neagumaxim6@gmail.com\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Maxim Neagu\",\"\\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\":\"12.06.2026\",\"\\u041d\\u043e\\u043c\\u0435\\u0440\":\"244\"},\"document\":{\"Date\":\"12.06.2026\",\"Number\":\"244\"}}}","edit":true,"folderMode":"direct"}} {"uid":"1659c2d"}
[2026-06-12 16:57:35] docflow.DEBUG: GAS raw response {"raw":"[object] (stdClass: {\"code\":1,\"url\":\"https://docs.google.com/open?id=1VSjCrlYhtJzFZKULQvByYLGHXjYn2pYwktYtMqGN0lM\",\"file_id\":\"1VSjCrlYhtJzFZKULQvByYLGHXjYn2pYwktYtMqGN0lM\",\"error\":\"\",\"vars\":\"\"})"} {"uid":"1659c2d"}
[2026-06-12 16:57:35] docflow.INFO: Skipping AmoDrive finalize because document was generated directly in the prepared entity folder. {"fileId":"1VSjCrlYhtJzFZKULQvByYLGHXjYn2pYwktYtMqGN0lM","folder":{"id":"1XsTdZK0U7RkDgqarvzb9ckFzfAWBF1W8","name":"42178844 - sub.md","webViewLink":"https://drive.google.com/drive/folders/1XsTdZK0U7RkDgqarvzb9ckFzfAWBF1W8"}} {"uid":"1659c2d"}
[2026-06-12 16:58:34] docflow.INFO: Apel createDoc {"data":{"amoAccountId":"22699852","amoUserId":null,"amoEntityId":"41998548","amoEntityType":"2","templateId":"11513","corporateEntityId":"","settlementAccountId":"","is_signed":null,"gdi":null,"number":null,"currentAmoUserId":null,"lang":"ru"}} {"uid":"bd36787"}
[2026-06-12 16:58:34] docflow.INFO: Token is valid for account 22699852. [] {"uid":"bd36787"}
[2026-06-12 16:58:34] docflow.DEBUG: getClientAuth returned {"auth":"[object] (stdClass: {\"domain\":\"emigrare.amocrm.ru\",\"access_token\":\"eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImp0aSI6ImI4Mzc2ODRiYjY5ODkxMDcwMTM5N2EzOWEzMDljOGI2ZGE1ODEyOThiMDE2MWRiYzYyYjZkNjczYjc4ZjQ1YTU4YmJjYWZmMmQzMjY2ZDg3In0.eyJhdWQiOiIwZDY0ZGZmYi1lNTRiLTQ0OGYtOWZiZi1iYWYyMjUxYTExZGIiLCJqdGkiOiJiODM3Njg0YmI2OTg5MTA3MDEzOTdhMzlhMzA5YzhiNmRhNTgxMjk4YjAxNjFkYmM2MmI2ZDY3M2I3OGY0NWE1OGJiY2FmZjJkMzI2NmQ4NyIsImlhdCI6MTc4MTI2MDkyMCwibmJmIjoxNzgxMjYwOTIwLCJleHAiOjE3ODEzNDczMjAsInN1YiI6IjI5MzAzODAiLCJncmFudF90eXBlIjoiIiwiYWNjb3VudF9pZCI6MjI2OTk4NTIsImJhc2VfZG9tYWluIjoiYW1vY3JtLnJ1IiwidmVyc2lvbiI6Miwic2NvcGVzIjpbInB1c2hfbm90aWZpY2F0aW9ucyIsImNybSIsIm5vdGlmaWNhdGlvbnMiXSwiaGFzaF91dWlkIjoiODJkYWI3ZTctODMwMS00YjEzLThjY2ItYWViMWJiZDUxYjJhIiwiYXBpX2RvbWFpbiI6ImFwaS1hLmFtb2NybS5ydSJ9.N9xblUBi4j8OpMRAgyKFNLZ9zm8vyptldbrsB_QtM7xFgzCw4n0YKUUn_EqLW_ZrTYAmBaZqSXwm6crcTtUeOfOYqR_D8YYxEq2m4dBOub_XbpY2dPpdwmmE7NzW09SVvo_f1kKoPocyrYSb9i8M9mJR-GXhWlBzlHPb-pJWlKLsuvr7AyDFSy-WM7X5RcYQ32-qBfyBtcvdH8jUNmsZCqgr-8b-Or7yjWGeErvvYuG2U80s9chk6XGlfvgsE9FmLB38WLX8yCBmUE5BEoEXmVChQPdWXgq5poiavUOhgEbw30yO327oDg6swMXOBom3evfK1XomioHvlMB5KNJybw\"})","file":"/home/ytvmclwh/document.amocrm.md/src/Models/Docs.php","line":121} {"uid":"bd36787"}
[2026-06-12 16:58:36] docflow.DEBUG: AmoDrive docflow context request {"url":"https://google.emale.uno/api/docflow/google-context","query":{"account_id":"22699852","entity_id":"41998548","entity_type":"leads"}} {"uid":"bd36787"}
[2026-06-12 16:58:36] docflow.WARNING: AmoDrive docflow context request failed {"url":"https://google.emale.uno/api/docflow/google-context","http_code":null,"error":"HTTP/2 400 ","response":"<!DOCTYPE HTML PUBLIC \"-//IETF//DTD HTML 2.0//EN\">\r\n<html>\r\n<head><title>400 Bad Request</title></head>\r\n<body>\r\n<center><h1>400 Bad Request</h1></center>\r\n Sorry for the inconvenience.<br/>\r\nPlease report this message and include the following information to us.<br/>\r\nThank you very much!</p>\r\n<table>\r\n<tr>\r\n<td>URL:</td>\r\n<td>https://gd.glucose-dev.online/api/docflow/google-context?account_id=22699852&amp;entity_id=41998548&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/06/12 16:58:37</td>\r\n</tr>\r\n</table>\r\n<hr><center>tengine</center>\r\n</body>\r\n</html>\r\n"} {"uid":"bd36787"}
[2026-06-12 16:58:36] docflow.DEBUG: AmoDrive docflow context request {"url":"https://gd.glucose-dev.online/api/docflow/google-context","query":{"account_id":"22699852","entity_id":"41998548","entity_type":"leads"}} {"uid":"bd36787"}
[2026-06-12 16:58:36] docflow.DEBUG: AmoDrive docflow context response {"url":"https://gd.glucose-dev.online/api/docflow/google-context","payload":{"ok":true,"accountId":22699852,"entityId":"41998548","entityType":"leads","amodrive":{"installed":true,"widgetStatus":"installed","amoAccountId":22699852,"accountHost":"emigrare.amocrm.ru","license":{"status":"active","configuredStatus":"active","expiresAt":"2026-08-20T10:16:56.291Z","isExpired":false,"isTrial":false,"isActive":true,"expiredByDate":false,"daysRemaining":69,"isLifetime":false},"licenseActive":true,"googleConnected":true,"googleEmail":"emigrare.md@gmail.com","googleHasDriveScope":true,"googleHasDriveFileScope":true,"googleHasOwnershipScope":true,"readyForGeneratedFileMove":true,"readyForTransfer":true},"folder":{"id":"1hRCeO3lfV6NbrQkNbpXWw0dejz_NJCXR","name":"41998548 - cet.md","webViewLink":"https://drive.google.com/drive/folders/1hRCeO3lfV6NbrQkNbpXWw0dejz_NJCXR"}}} {"uid":"bd36787"}
[2026-06-12 16:58:36] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://google.emale.uno/api/docflow/prepare-generated-doc","payload":{"account_id":"22699852","entity_id":"41998548","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"bd36787"}
[2026-06-12 16:58:36] docflow.WARNING: AmoDrive prepare-generated-doc request failed {"url":"https://google.emale.uno/api/docflow/prepare-generated-doc","http_code":null,"error":"HTTP/2 400 ","response":"<!DOCTYPE HTML PUBLIC \"-//IETF//DTD HTML 2.0//EN\">\r\n<html>\r\n<head><title>400 Bad Request</title></head>\r\n<body>\r\n<center><h1>400 Bad Request</h1></center>\r\n Sorry for the inconvenience.<br/>\r\nPlease report this message and include the following information to us.<br/>\r\nThank you very much!</p>\r\n<table>\r\n<tr>\r\n<td>URL:</td>\r\n<td>https://gd.glucose-dev.online/api/docflow/prepare-generated-doc</td>\r\n</tr>\r\n<tr>\r\n<td>Server:</td>\r\n<td>mail.glucose-dev.online</td>\r\n</tr>\r\n<tr>\r\n<td>Date:</td>\r\n<td>2026/06/12 16:58:37</td>\r\n</tr>\r\n</table>\r\n<hr><center>tengine</center>\r\n</body>\r\n</html>\r\n","payload":{"account_id":"22699852","entity_id":"41998548","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"bd36787"}
[2026-06-12 16:58:36] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://gd.glucose-dev.online/api/docflow/prepare-generated-doc","payload":{"account_id":"22699852","entity_id":"41998548","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"bd36787"}
[2026-06-12 16:58:37] docflow.DEBUG: AmoDrive prepare-generated-doc response {"url":"https://gd.glucose-dev.online/api/docflow/prepare-generated-doc","payload":{"ok":true,"accountId":22699852,"entityId":"41998548","entityType":"leads","generatorEmail":"info@glucose.md","directGenerationReady":true,"folder":{"id":"1hRCeO3lfV6NbrQkNbpXWw0dejz_NJCXR","name":"41998548 - cet.md","webViewLink":"https://drive.google.com/drive/folders/1hRCeO3lfV6NbrQkNbpXWw0dejz_NJCXR"},"generatorAccess":{"ok":true,"targetEmail":"info@glucose.md","permission":{"id":"15090742993472653631","emailAddress":"info@glucose.md","role":"writer","pendingOwner":false}}}} {"uid":"bd36787"}
[2026-06-12 16:58:37] docflow.DEBUG: GAS request {"url":"https://script.google.com/macros/s/AKfycbwrvOJD46zkuoTzdhpc1kulhV8jRfgQBFZfQ121nkIip_k8yKit4xrbWTOzaJ-C-Yed6w/exec","body":{"templateFileId":"1cmUcOeHAQ_tG9mkDp8xVcdKAxcfnrvlXbbsKpJ-Mq7k","accountId":"22699852","folderId":"1hRCeO3lfV6NbrQkNbpXWw0dejz_NJCXR","key":"~VTsK5dcnHc2cSSsjM$LFSjLlgbmJXwrp3R2P5nd","data":"{\"fileName\":\" \\u0421\\u0447\\u0435\\u0442 \\u043d\\u0430 \\u043e\\u043f\\u043b\\u0430\\u0442\\u0443 CET (EUR\\/USD\\/MDL) 484 20260612165836\",\"leadId\":\"41998548\",\"entities\":{\"\\u0441\\u0434\\u0435\\u043b\\u043a\\u0430\":{\"Suma \\u20ac\":\"0\",\"Data cererii create\":\"2026-05-11 17:16:00\",\"google_folder_id_leads_field\":\"https:\\/\\/drive.google.com\\/drive\\/folders\\/1hRCeO3lfV6NbrQkNbpXWw0dejz_NJCXR\",\"Serviciu solicitat\":\"1520102\",\"Suma Back\":\"550\",\"Data consulta\\u021biei\":\"05.06.2026\",\"Suma avans\":\"550\",\"ID\":\"41998548\",\"\\u0421\\u0434\\u0435\\u043b\\u043a\\u0430_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Apartenen\\u021b\\u0103\",\"Lead_name\":\"Apartenen\\u021b\\u0103\",\"\\u0411\\u044e\\u0434\\u0436\\u0435\\u0442\":\"550\",\"Budget\":\"550\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"Untila Dorina\",\"Responsible\":\"Untila Dorina\"},\"lead\":{\"Suma \\u20ac\":\"0\",\"Data cererii create\":\"2026-05-11 17:16:00\",\"google_folder_id_leads_field\":\"https:\\/\\/drive.google.com\\/drive\\/folders\\/1hRCeO3lfV6NbrQkNbpXWw0dejz_NJCXR\",\"Serviciu solicitat\":\"1520102\",\"Suma Back\":\"550\",\"Data consulta\\u021biei\":\"05.06.2026\",\"Suma avans\":\"550\",\"ID\":\"41998548\",\"\\u0421\\u0434\\u0435\\u043b\\u043a\\u0430_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Apartenen\\u021b\\u0103\",\"Lead_name\":\"Apartenen\\u021b\\u0103\",\"\\u0411\\u044e\\u0434\\u0436\\u0435\\u0442\":\"550\",\"Budget\":\"550\",\"\\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\":{\"TelegramId_WZ\":\"1105387083\",\"TelegramUsername_WZ\":\"@i_vnov\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Valeria Sadovscaia\",\"Contact_name\":\"Valeria Sadovscaia\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"Untila Dorina\",\"Responsible\":\"Untila Dorina\"},\"contact\":{\"TelegramId_WZ\":\"1105387083\",\"TelegramUsername_WZ\":\"@i_vnov\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Valeria Sadovscaia\",\"Contact_name\":\"Valeria Sadovscaia\",\"\\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\":[{\"TelegramId_WZ\":\"1105387083\",\"TelegramUsername_WZ\":\"@i_vnov\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Valeria Sadovscaia\",\"\\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\":\"12.06.2026\",\"\\u041d\\u043e\\u043c\\u0435\\u0440\":\"484\"},\"document\":{\"Date\":\"12.06.2026\",\"Number\":\"484\"}}}","edit":true,"folderMode":"direct"}} {"uid":"bd36787"}
[2026-06-12 16:58:44] docflow.DEBUG: GAS raw response {"raw":"[object] (stdClass: {\"code\":1,\"url\":\"https://docs.google.com/open?id=1UscbQnV4x7JHOZPFRVa1XcvoCW2T9MRwyku1Xq3Od60\",\"file_id\":\"1UscbQnV4x7JHOZPFRVa1XcvoCW2T9MRwyku1Xq3Od60\",\"error\":\"\",\"vars\":\"\"})"} {"uid":"bd36787"}
[2026-06-12 16:58:44] docflow.INFO: Skipping AmoDrive finalize because document was generated directly in the prepared entity folder. {"fileId":"1UscbQnV4x7JHOZPFRVa1XcvoCW2T9MRwyku1Xq3Od60","folder":{"id":"1hRCeO3lfV6NbrQkNbpXWw0dejz_NJCXR","name":"41998548 - cet.md","webViewLink":"https://drive.google.com/drive/folders/1hRCeO3lfV6NbrQkNbpXWw0dejz_NJCXR"}} {"uid":"bd36787"}
[2026-06-12 17:10:51] docflow.INFO: Apel createDoc {"data":{"amoAccountId":"22699852","amoUserId":null,"amoEntityId":"42178844","amoEntityType":"2","templateId":"11513","corporateEntityId":"","settlementAccountId":"","is_signed":null,"gdi":null,"number":null,"currentAmoUserId":null,"lang":"ru"}} {"uid":"010d108"}
[2026-06-12 17:10:53] docflow.INFO: Token is valid for account 22699852. [] {"uid":"010d108"}
[2026-06-12 17:10:53] docflow.DEBUG: getClientAuth returned {"auth":"[object] (stdClass: {\"domain\":\"emigrare.amocrm.ru\",\"access_token\":\"eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImp0aSI6ImI4Mzc2ODRiYjY5ODkxMDcwMTM5N2EzOWEzMDljOGI2ZGE1ODEyOThiMDE2MWRiYzYyYjZkNjczYjc4ZjQ1YTU4YmJjYWZmMmQzMjY2ZDg3In0.eyJhdWQiOiIwZDY0ZGZmYi1lNTRiLTQ0OGYtOWZiZi1iYWYyMjUxYTExZGIiLCJqdGkiOiJiODM3Njg0YmI2OTg5MTA3MDEzOTdhMzlhMzA5YzhiNmRhNTgxMjk4YjAxNjFkYmM2MmI2ZDY3M2I3OGY0NWE1OGJiY2FmZjJkMzI2NmQ4NyIsImlhdCI6MTc4MTI2MDkyMCwibmJmIjoxNzgxMjYwOTIwLCJleHAiOjE3ODEzNDczMjAsInN1YiI6IjI5MzAzODAiLCJncmFudF90eXBlIjoiIiwiYWNjb3VudF9pZCI6MjI2OTk4NTIsImJhc2VfZG9tYWluIjoiYW1vY3JtLnJ1IiwidmVyc2lvbiI6Miwic2NvcGVzIjpbInB1c2hfbm90aWZpY2F0aW9ucyIsImNybSIsIm5vdGlmaWNhdGlvbnMiXSwiaGFzaF91dWlkIjoiODJkYWI3ZTctODMwMS00YjEzLThjY2ItYWViMWJiZDUxYjJhIiwiYXBpX2RvbWFpbiI6ImFwaS1hLmFtb2NybS5ydSJ9.N9xblUBi4j8OpMRAgyKFNLZ9zm8vyptldbrsB_QtM7xFgzCw4n0YKUUn_EqLW_ZrTYAmBaZqSXwm6crcTtUeOfOYqR_D8YYxEq2m4dBOub_XbpY2dPpdwmmE7NzW09SVvo_f1kKoPocyrYSb9i8M9mJR-GXhWlBzlHPb-pJWlKLsuvr7AyDFSy-WM7X5RcYQ32-qBfyBtcvdH8jUNmsZCqgr-8b-Or7yjWGeErvvYuG2U80s9chk6XGlfvgsE9FmLB38WLX8yCBmUE5BEoEXmVChQPdWXgq5poiavUOhgEbw30yO327oDg6swMXOBom3evfK1XomioHvlMB5KNJybw\"})","file":"/home/ytvmclwh/document.amocrm.md/src/Models/Docs.php","line":121} {"uid":"010d108"}
[2026-06-12 17:10:54] docflow.DEBUG: AmoDrive docflow context request {"url":"https://google.emale.uno/api/docflow/google-context","query":{"account_id":"22699852","entity_id":"42178844","entity_type":"leads"}} {"uid":"010d108"}
[2026-06-12 17:10:55] docflow.WARNING: AmoDrive docflow context request failed {"url":"https://google.emale.uno/api/docflow/google-context","http_code":null,"error":"HTTP/2 400 ","response":"<!DOCTYPE HTML PUBLIC \"-//IETF//DTD HTML 2.0//EN\">\r\n<html>\r\n<head><title>400 Bad Request</title></head>\r\n<body>\r\n<center><h1>400 Bad Request</h1></center>\r\n Sorry for the inconvenience.<br/>\r\nPlease report this message and include the following information to us.<br/>\r\nThank you very much!</p>\r\n<table>\r\n<tr>\r\n<td>URL:</td>\r\n<td>https://gd.glucose-dev.online/api/docflow/google-context?account_id=22699852&amp;entity_id=42178844&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/06/12 17:10:56</td>\r\n</tr>\r\n</table>\r\n<hr><center>tengine</center>\r\n</body>\r\n</html>\r\n"} {"uid":"010d108"}
[2026-06-12 17:10:55] docflow.DEBUG: AmoDrive docflow context request {"url":"https://gd.glucose-dev.online/api/docflow/google-context","query":{"account_id":"22699852","entity_id":"42178844","entity_type":"leads"}} {"uid":"010d108"}
[2026-06-12 17:10:55] docflow.DEBUG: AmoDrive docflow context response {"url":"https://gd.glucose-dev.online/api/docflow/google-context","payload":{"ok":true,"accountId":22699852,"entityId":"42178844","entityType":"leads","amodrive":{"installed":true,"widgetStatus":"installed","amoAccountId":22699852,"accountHost":"emigrare.amocrm.ru","license":{"status":"active","configuredStatus":"active","expiresAt":"2026-08-20T10:16:56.291Z","isExpired":false,"isTrial":false,"isActive":true,"expiredByDate":false,"daysRemaining":69,"isLifetime":false},"licenseActive":true,"googleConnected":true,"googleEmail":"emigrare.md@gmail.com","googleHasDriveScope":true,"googleHasDriveFileScope":true,"googleHasOwnershipScope":true,"readyForGeneratedFileMove":true,"readyForTransfer":true},"folder":{"id":"1XsTdZK0U7RkDgqarvzb9ckFzfAWBF1W8","name":"42178844 - sub.md","webViewLink":"https://drive.google.com/drive/folders/1XsTdZK0U7RkDgqarvzb9ckFzfAWBF1W8"}}} {"uid":"010d108"}
[2026-06-12 17:10:55] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://google.emale.uno/api/docflow/prepare-generated-doc","payload":{"account_id":"22699852","entity_id":"42178844","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"010d108"}
[2026-06-12 17:10:55] docflow.WARNING: AmoDrive prepare-generated-doc request failed {"url":"https://google.emale.uno/api/docflow/prepare-generated-doc","http_code":null,"error":"HTTP/2 400 ","response":"<!DOCTYPE HTML PUBLIC \"-//IETF//DTD HTML 2.0//EN\">\r\n<html>\r\n<head><title>400 Bad Request</title></head>\r\n<body>\r\n<center><h1>400 Bad Request</h1></center>\r\n Sorry for the inconvenience.<br/>\r\nPlease report this message and include the following information to us.<br/>\r\nThank you very much!</p>\r\n<table>\r\n<tr>\r\n<td>URL:</td>\r\n<td>https://gd.glucose-dev.online/api/docflow/prepare-generated-doc</td>\r\n</tr>\r\n<tr>\r\n<td>Server:</td>\r\n<td>mail.glucose-dev.online</td>\r\n</tr>\r\n<tr>\r\n<td>Date:</td>\r\n<td>2026/06/12 17:10: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":"42178844","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"010d108"}
[2026-06-12 17:10:55] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://gd.glucose-dev.online/api/docflow/prepare-generated-doc","payload":{"account_id":"22699852","entity_id":"42178844","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"010d108"}
[2026-06-12 17:10:56] docflow.DEBUG: AmoDrive prepare-generated-doc response {"url":"https://gd.glucose-dev.online/api/docflow/prepare-generated-doc","payload":{"ok":true,"accountId":22699852,"entityId":"42178844","entityType":"leads","generatorEmail":"info@glucose.md","directGenerationReady":true,"folder":{"id":"1XsTdZK0U7RkDgqarvzb9ckFzfAWBF1W8","name":"42178844 - sub.md","webViewLink":"https://drive.google.com/drive/folders/1XsTdZK0U7RkDgqarvzb9ckFzfAWBF1W8"},"generatorAccess":{"ok":true,"targetEmail":"info@glucose.md","permission":{"id":"15090742993472653631","emailAddress":"info@glucose.md","role":"writer","pendingOwner":false}}}} {"uid":"010d108"}
[2026-06-12 17:10:56] docflow.DEBUG: GAS request {"url":"https://script.google.com/macros/s/AKfycbwrvOJD46zkuoTzdhpc1kulhV8jRfgQBFZfQ121nkIip_k8yKit4xrbWTOzaJ-C-Yed6w/exec","body":{"templateFileId":"1cmUcOeHAQ_tG9mkDp8xVcdKAxcfnrvlXbbsKpJ-Mq7k","accountId":"22699852","folderId":"1XsTdZK0U7RkDgqarvzb9ckFzfAWBF1W8","key":"~VTsK5dcnHc2cSSsjM$LFSjLlgbmJXwrp3R2P5nd","data":"{\"fileName\":\" \\u0421\\u0447\\u0435\\u0442 \\u043d\\u0430 \\u043e\\u043f\\u043b\\u0430\\u0442\\u0443 CET (EUR\\/USD\\/MDL) 485 20260612171054\",\"leadId\":\"42178844\",\"entities\":{\"\\u0441\\u0434\\u0435\\u043b\\u043a\\u0430\":{\"Suma \\u20ac\":\"0\",\"Data cererii create\":\"2026-06-12 16:16:00\",\"google_folder_id_leads_field\":\"https:\\/\\/drive.google.com\\/drive\\/folders\\/1XsTdZK0U7RkDgqarvzb9ckFzfAWBF1W8\",\"Data front\":\"2026-06-12 16:49:00\",\"#Manager Front\":\"Cezara Cenusa\",\"Preluarea de manager front\":\"2026-06-12 16:52:00\",\"Urm\\u0103torul contact\":\"2026-06-12 16:52:00\",\"ID\":\"42178844\",\"\\u0421\\u0434\\u0435\\u043b\\u043a\\u0430_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"sub. MD\",\"Lead_name\":\"sub. MD\",\"\\u0411\\u044e\\u0434\\u0436\\u0435\\u0442\":\"0\",\"Budget\":\"0\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"Untila Dorina\",\"Responsible\":\"Untila Dorina\"},\"lead\":{\"Suma \\u20ac\":\"0\",\"Data cererii create\":\"2026-06-12 16:16:00\",\"google_folder_id_leads_field\":\"https:\\/\\/drive.google.com\\/drive\\/folders\\/1XsTdZK0U7RkDgqarvzb9ckFzfAWBF1W8\",\"Data front\":\"2026-06-12 16:49:00\",\"#Manager Front\":\"Cezara Cenusa\",\"Preluarea de manager front\":\"2026-06-12 16:52:00\",\"Urm\\u0103torul contact\":\"2026-06-12 16:52:00\",\"ID\":\"42178844\",\"\\u0421\\u0434\\u0435\\u043b\\u043a\\u0430_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"sub. MD\",\"Lead_name\":\"sub. MD\",\"\\u0411\\u044e\\u0434\\u0436\\u0435\\u0442\":\"0\",\"Budget\":\"0\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"Untila Dorina\",\"Responsible\":\"Untila Dorina\"},\"\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442\":{\"WhatsappLid_WZ\":\"269157715210336\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"+34642033471\",\"Email\":\"neagumaxim6@gmail.com\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Maxim Neagu\",\"Contact_name\":\"Maxim Neagu\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"Untila Dorina\",\"Responsible\":\"Untila Dorina\"},\"contact\":{\"WhatsappLid_WZ\":\"269157715210336\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"+34642033471\",\"Email\":\"neagumaxim6@gmail.com\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Maxim Neagu\",\"Contact_name\":\"Maxim Neagu\",\"\\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\":\"269157715210336\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"+34642033471\",\"Email\":\"neagumaxim6@gmail.com\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Maxim Neagu\",\"\\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\":\"12.06.2026\",\"\\u041d\\u043e\\u043c\\u0435\\u0440\":\"485\"},\"document\":{\"Date\":\"12.06.2026\",\"Number\":\"485\"}}}","edit":true,"folderMode":"direct"}} {"uid":"010d108"}
[2026-06-12 17:11:02] docflow.DEBUG: GAS raw response {"raw":"[object] (stdClass: {\"code\":1,\"url\":\"https://docs.google.com/open?id=19o4cNX5DiyR5OTUcw2cZybtJrajQBwuXSAwypA-hszA\",\"file_id\":\"19o4cNX5DiyR5OTUcw2cZybtJrajQBwuXSAwypA-hszA\",\"error\":\"\",\"vars\":\"\"})"} {"uid":"010d108"}
[2026-06-12 17:11:02] docflow.INFO: Skipping AmoDrive finalize because document was generated directly in the prepared entity folder. {"fileId":"19o4cNX5DiyR5OTUcw2cZybtJrajQBwuXSAwypA-hszA","folder":{"id":"1XsTdZK0U7RkDgqarvzb9ckFzfAWBF1W8","name":"42178844 - sub.md","webViewLink":"https://drive.google.com/drive/folders/1XsTdZK0U7RkDgqarvzb9ckFzfAWBF1W8"}} {"uid":"010d108"}
[2026-06-12 17:31:53] docflow.INFO: Apel createDoc {"data":{"amoAccountId":"22699852","amoUserId":null,"amoEntityId":"41998548","amoEntityType":"2","templateId":"11513","corporateEntityId":"","settlementAccountId":"","is_signed":null,"gdi":null,"number":null,"currentAmoUserId":null,"lang":"ru"}} {"uid":"729802a"}
[2026-06-12 17:31:54] docflow.INFO: Token is valid for account 22699852. [] {"uid":"729802a"}
[2026-06-12 17:31:54] docflow.DEBUG: getClientAuth returned {"auth":"[object] (stdClass: {\"domain\":\"emigrare.amocrm.ru\",\"access_token\":\"eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImp0aSI6ImI4Mzc2ODRiYjY5ODkxMDcwMTM5N2EzOWEzMDljOGI2ZGE1ODEyOThiMDE2MWRiYzYyYjZkNjczYjc4ZjQ1YTU4YmJjYWZmMmQzMjY2ZDg3In0.eyJhdWQiOiIwZDY0ZGZmYi1lNTRiLTQ0OGYtOWZiZi1iYWYyMjUxYTExZGIiLCJqdGkiOiJiODM3Njg0YmI2OTg5MTA3MDEzOTdhMzlhMzA5YzhiNmRhNTgxMjk4YjAxNjFkYmM2MmI2ZDY3M2I3OGY0NWE1OGJiY2FmZjJkMzI2NmQ4NyIsImlhdCI6MTc4MTI2MDkyMCwibmJmIjoxNzgxMjYwOTIwLCJleHAiOjE3ODEzNDczMjAsInN1YiI6IjI5MzAzODAiLCJncmFudF90eXBlIjoiIiwiYWNjb3VudF9pZCI6MjI2OTk4NTIsImJhc2VfZG9tYWluIjoiYW1vY3JtLnJ1IiwidmVyc2lvbiI6Miwic2NvcGVzIjpbInB1c2hfbm90aWZpY2F0aW9ucyIsImNybSIsIm5vdGlmaWNhdGlvbnMiXSwiaGFzaF91dWlkIjoiODJkYWI3ZTctODMwMS00YjEzLThjY2ItYWViMWJiZDUxYjJhIiwiYXBpX2RvbWFpbiI6ImFwaS1hLmFtb2NybS5ydSJ9.N9xblUBi4j8OpMRAgyKFNLZ9zm8vyptldbrsB_QtM7xFgzCw4n0YKUUn_EqLW_ZrTYAmBaZqSXwm6crcTtUeOfOYqR_D8YYxEq2m4dBOub_XbpY2dPpdwmmE7NzW09SVvo_f1kKoPocyrYSb9i8M9mJR-GXhWlBzlHPb-pJWlKLsuvr7AyDFSy-WM7X5RcYQ32-qBfyBtcvdH8jUNmsZCqgr-8b-Or7yjWGeErvvYuG2U80s9chk6XGlfvgsE9FmLB38WLX8yCBmUE5BEoEXmVChQPdWXgq5poiavUOhgEbw30yO327oDg6swMXOBom3evfK1XomioHvlMB5KNJybw\"})","file":"/home/ytvmclwh/document.amocrm.md/src/Models/Docs.php","line":121} {"uid":"729802a"}
[2026-06-12 17:31:55] docflow.DEBUG: AmoDrive docflow context request {"url":"https://google.emale.uno/api/docflow/google-context","query":{"account_id":"22699852","entity_id":"41998548","entity_type":"leads"}} {"uid":"729802a"}
[2026-06-12 17:31: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=41998548&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/06/12 17:31:57</td>\r\n</tr>\r\n</table>\r\n<hr><center>tengine</center>\r\n</body>\r\n</html>\r\n"} {"uid":"729802a"}
[2026-06-12 17:31:56] docflow.DEBUG: AmoDrive docflow context request {"url":"https://gd.glucose-dev.online/api/docflow/google-context","query":{"account_id":"22699852","entity_id":"41998548","entity_type":"leads"}} {"uid":"729802a"}
[2026-06-12 17:31:56] docflow.DEBUG: AmoDrive docflow context response {"url":"https://gd.glucose-dev.online/api/docflow/google-context","payload":{"ok":true,"accountId":22699852,"entityId":"41998548","entityType":"leads","amodrive":{"installed":true,"widgetStatus":"installed","amoAccountId":22699852,"accountHost":"emigrare.amocrm.ru","license":{"status":"active","configuredStatus":"active","expiresAt":"2026-08-20T10:16:56.291Z","isExpired":false,"isTrial":false,"isActive":true,"expiredByDate":false,"daysRemaining":69,"isLifetime":false},"licenseActive":true,"googleConnected":true,"googleEmail":"emigrare.md@gmail.com","googleHasDriveScope":true,"googleHasDriveFileScope":true,"googleHasOwnershipScope":true,"readyForGeneratedFileMove":true,"readyForTransfer":true},"folder":{"id":"1hRCeO3lfV6NbrQkNbpXWw0dejz_NJCXR","name":"41998548 - cet.md","webViewLink":"https://drive.google.com/drive/folders/1hRCeO3lfV6NbrQkNbpXWw0dejz_NJCXR"}}} {"uid":"729802a"}
[2026-06-12 17:31:56] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://google.emale.uno/api/docflow/prepare-generated-doc","payload":{"account_id":"22699852","entity_id":"41998548","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"729802a"}
[2026-06-12 17:31: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/06/12 17:31:57</td>\r\n</tr>\r\n</table>\r\n<hr><center>tengine</center>\r\n</body>\r\n</html>\r\n","payload":{"account_id":"22699852","entity_id":"41998548","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"729802a"}
[2026-06-12 17:31: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":"41998548","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"729802a"}
[2026-06-12 17:31:57] docflow.DEBUG: AmoDrive prepare-generated-doc response {"url":"https://gd.glucose-dev.online/api/docflow/prepare-generated-doc","payload":{"ok":true,"accountId":22699852,"entityId":"41998548","entityType":"leads","generatorEmail":"info@glucose.md","directGenerationReady":true,"folder":{"id":"1hRCeO3lfV6NbrQkNbpXWw0dejz_NJCXR","name":"41998548 - cet.md","webViewLink":"https://drive.google.com/drive/folders/1hRCeO3lfV6NbrQkNbpXWw0dejz_NJCXR"},"generatorAccess":{"ok":true,"targetEmail":"info@glucose.md","permission":{"id":"15090742993472653631","emailAddress":"info@glucose.md","role":"writer","pendingOwner":false}}}} {"uid":"729802a"}
[2026-06-12 17:31:57] docflow.DEBUG: GAS request {"url":"https://script.google.com/macros/s/AKfycbwrvOJD46zkuoTzdhpc1kulhV8jRfgQBFZfQ121nkIip_k8yKit4xrbWTOzaJ-C-Yed6w/exec","body":{"templateFileId":"1cmUcOeHAQ_tG9mkDp8xVcdKAxcfnrvlXbbsKpJ-Mq7k","accountId":"22699852","folderId":"1hRCeO3lfV6NbrQkNbpXWw0dejz_NJCXR","key":"~VTsK5dcnHc2cSSsjM$LFSjLlgbmJXwrp3R2P5nd","data":"{\"fileName\":\" \\u0421\\u0447\\u0435\\u0442 \\u043d\\u0430 \\u043e\\u043f\\u043b\\u0430\\u0442\\u0443 CET (EUR\\/USD\\/MDL) 486 20260612173155\",\"leadId\":\"41998548\",\"entities\":{\"\\u0441\\u0434\\u0435\\u043b\\u043a\\u0430\":{\"Suma \\u20ac\":\"0\",\"Data cererii create\":\"2026-05-11 17:16:00\",\"google_folder_id_leads_field\":\"https:\\/\\/drive.google.com\\/drive\\/folders\\/1hRCeO3lfV6NbrQkNbpXWw0dejz_NJCXR\",\"Serviciu solicitat\":\"1520102\",\"Suma Back\":\"550\",\"Data consulta\\u021biei\":\"05.06.2026\",\"Suma avans\":\"550\",\"ID\":\"41998548\",\"\\u0421\\u0434\\u0435\\u043b\\u043a\\u0430_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Apartenen\\u021b\\u0103\",\"Lead_name\":\"Apartenen\\u021b\\u0103\",\"\\u0411\\u044e\\u0434\\u0436\\u0435\\u0442\":\"550\",\"Budget\":\"550\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"Untila Dorina\",\"Responsible\":\"Untila Dorina\"},\"lead\":{\"Suma \\u20ac\":\"0\",\"Data cererii create\":\"2026-05-11 17:16:00\",\"google_folder_id_leads_field\":\"https:\\/\\/drive.google.com\\/drive\\/folders\\/1hRCeO3lfV6NbrQkNbpXWw0dejz_NJCXR\",\"Serviciu solicitat\":\"1520102\",\"Suma Back\":\"550\",\"Data consulta\\u021biei\":\"05.06.2026\",\"Suma avans\":\"550\",\"ID\":\"41998548\",\"\\u0421\\u0434\\u0435\\u043b\\u043a\\u0430_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Apartenen\\u021b\\u0103\",\"Lead_name\":\"Apartenen\\u021b\\u0103\",\"\\u0411\\u044e\\u0434\\u0436\\u0435\\u0442\":\"550\",\"Budget\":\"550\",\"\\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\":{\"TelegramId_WZ\":\"1105387083\",\"TelegramUsername_WZ\":\"@i_vnov\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Valeria Sadovscaia\",\"Contact_name\":\"Valeria Sadovscaia\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"Untila Dorina\",\"Responsible\":\"Untila Dorina\"},\"contact\":{\"TelegramId_WZ\":\"1105387083\",\"TelegramUsername_WZ\":\"@i_vnov\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Valeria Sadovscaia\",\"Contact_name\":\"Valeria Sadovscaia\",\"\\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\":[{\"TelegramId_WZ\":\"1105387083\",\"TelegramUsername_WZ\":\"@i_vnov\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Valeria Sadovscaia\",\"\\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\":\"12.06.2026\",\"\\u041d\\u043e\\u043c\\u0435\\u0440\":\"486\"},\"document\":{\"Date\":\"12.06.2026\",\"Number\":\"486\"}}}","edit":true,"folderMode":"direct"}} {"uid":"729802a"}
[2026-06-12 17:32:04] docflow.DEBUG: GAS raw response {"raw":"[object] (stdClass: {\"code\":1,\"url\":\"https://docs.google.com/open?id=1OxlrD2s1oDWiJuJxY0nk-M2MOTId8eE8KTUdcig-oM8\",\"file_id\":\"1OxlrD2s1oDWiJuJxY0nk-M2MOTId8eE8KTUdcig-oM8\",\"error\":\"\",\"vars\":\"\"})"} {"uid":"729802a"}
[2026-06-12 17:32:04] docflow.INFO: Skipping AmoDrive finalize because document was generated directly in the prepared entity folder. {"fileId":"1OxlrD2s1oDWiJuJxY0nk-M2MOTId8eE8KTUdcig-oM8","folder":{"id":"1hRCeO3lfV6NbrQkNbpXWw0dejz_NJCXR","name":"41998548 - cet.md","webViewLink":"https://drive.google.com/drive/folders/1hRCeO3lfV6NbrQkNbpXWw0dejz_NJCXR"}} {"uid":"729802a"}
[2026-06-12 18:12:42] docflow.INFO: Apel createDoc {"data":{"amoAccountId":"22699852","amoUserId":null,"amoEntityId":"42158286","amoEntityType":"2","templateId":"11484","corporateEntityId":"","settlementAccountId":"","is_signed":null,"gdi":null,"number":null,"currentAmoUserId":null,"lang":"ru"}} {"uid":"dfb4168"}
[2026-06-12 18:12:43] docflow.INFO: Token is valid for account 22699852. [] {"uid":"dfb4168"}
[2026-06-12 18:12:43] docflow.DEBUG: getClientAuth returned {"auth":"[object] (stdClass: {\"domain\":\"emigrare.amocrm.ru\",\"access_token\":\"eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImp0aSI6ImI4Mzc2ODRiYjY5ODkxMDcwMTM5N2EzOWEzMDljOGI2ZGE1ODEyOThiMDE2MWRiYzYyYjZkNjczYjc4ZjQ1YTU4YmJjYWZmMmQzMjY2ZDg3In0.eyJhdWQiOiIwZDY0ZGZmYi1lNTRiLTQ0OGYtOWZiZi1iYWYyMjUxYTExZGIiLCJqdGkiOiJiODM3Njg0YmI2OTg5MTA3MDEzOTdhMzlhMzA5YzhiNmRhNTgxMjk4YjAxNjFkYmM2MmI2ZDY3M2I3OGY0NWE1OGJiY2FmZjJkMzI2NmQ4NyIsImlhdCI6MTc4MTI2MDkyMCwibmJmIjoxNzgxMjYwOTIwLCJleHAiOjE3ODEzNDczMjAsInN1YiI6IjI5MzAzODAiLCJncmFudF90eXBlIjoiIiwiYWNjb3VudF9pZCI6MjI2OTk4NTIsImJhc2VfZG9tYWluIjoiYW1vY3JtLnJ1IiwidmVyc2lvbiI6Miwic2NvcGVzIjpbInB1c2hfbm90aWZpY2F0aW9ucyIsImNybSIsIm5vdGlmaWNhdGlvbnMiXSwiaGFzaF91dWlkIjoiODJkYWI3ZTctODMwMS00YjEzLThjY2ItYWViMWJiZDUxYjJhIiwiYXBpX2RvbWFpbiI6ImFwaS1hLmFtb2NybS5ydSJ9.N9xblUBi4j8OpMRAgyKFNLZ9zm8vyptldbrsB_QtM7xFgzCw4n0YKUUn_EqLW_ZrTYAmBaZqSXwm6crcTtUeOfOYqR_D8YYxEq2m4dBOub_XbpY2dPpdwmmE7NzW09SVvo_f1kKoPocyrYSb9i8M9mJR-GXhWlBzlHPb-pJWlKLsuvr7AyDFSy-WM7X5RcYQ32-qBfyBtcvdH8jUNmsZCqgr-8b-Or7yjWGeErvvYuG2U80s9chk6XGlfvgsE9FmLB38WLX8yCBmUE5BEoEXmVChQPdWXgq5poiavUOhgEbw30yO327oDg6swMXOBom3evfK1XomioHvlMB5KNJybw\"})","file":"/home/ytvmclwh/document.amocrm.md/src/Models/Docs.php","line":121} {"uid":"dfb4168"}
[2026-06-12 18:12:44] docflow.DEBUG: AmoDrive docflow context request {"url":"https://google.emale.uno/api/docflow/google-context","query":{"account_id":"22699852","entity_id":"42158286","entity_type":"leads"}} {"uid":"dfb4168"}
[2026-06-12 18:12:45] docflow.WARNING: AmoDrive docflow context request failed {"url":"https://google.emale.uno/api/docflow/google-context","http_code":null,"error":"HTTP/2 400 ","response":"<!DOCTYPE HTML PUBLIC \"-//IETF//DTD HTML 2.0//EN\">\r\n<html>\r\n<head><title>400 Bad Request</title></head>\r\n<body>\r\n<center><h1>400 Bad Request</h1></center>\r\n Sorry for the inconvenience.<br/>\r\nPlease report this message and include the following information to us.<br/>\r\nThank you very much!</p>\r\n<table>\r\n<tr>\r\n<td>URL:</td>\r\n<td>https://gd.glucose-dev.online/api/docflow/google-context?account_id=22699852&amp;entity_id=42158286&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/06/12 18:12:46</td>\r\n</tr>\r\n</table>\r\n<hr><center>tengine</center>\r\n</body>\r\n</html>\r\n"} {"uid":"dfb4168"}
[2026-06-12 18:12:45] docflow.DEBUG: AmoDrive docflow context request {"url":"https://gd.glucose-dev.online/api/docflow/google-context","query":{"account_id":"22699852","entity_id":"42158286","entity_type":"leads"}} {"uid":"dfb4168"}
[2026-06-12 18:12:45] docflow.DEBUG: AmoDrive docflow context response {"url":"https://gd.glucose-dev.online/api/docflow/google-context","payload":{"ok":true,"accountId":22699852,"entityId":"42158286","entityType":"leads","amodrive":{"installed":true,"widgetStatus":"installed","amoAccountId":22699852,"accountHost":"emigrare.amocrm.ru","license":{"status":"active","configuredStatus":"active","expiresAt":"2026-08-20T10:16:56.291Z","isExpired":false,"isTrial":false,"isActive":true,"expiredByDate":false,"daysRemaining":69,"isLifetime":false},"licenseActive":true,"googleConnected":true,"googleEmail":"emigrare.md@gmail.com","googleHasDriveScope":true,"googleHasDriveFileScope":true,"googleHasOwnershipScope":true,"readyForGeneratedFileMove":true,"readyForTransfer":true},"folder":{"id":"1FaKs2RZzpvNlT5UrTQGnKk4tFgs3WcWu","name":"42158286 - Prelungire PS munca","webViewLink":"https://drive.google.com/drive/folders/1FaKs2RZzpvNlT5UrTQGnKk4tFgs3WcWu"}}} {"uid":"dfb4168"}
[2026-06-12 18:12:45] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://google.emale.uno/api/docflow/prepare-generated-doc","payload":{"account_id":"22699852","entity_id":"42158286","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"dfb4168"}
[2026-06-12 18:12:45] docflow.WARNING: AmoDrive prepare-generated-doc request failed {"url":"https://google.emale.uno/api/docflow/prepare-generated-doc","http_code":null,"error":"HTTP/2 400 ","response":"<!DOCTYPE HTML PUBLIC \"-//IETF//DTD HTML 2.0//EN\">\r\n<html>\r\n<head><title>400 Bad Request</title></head>\r\n<body>\r\n<center><h1>400 Bad Request</h1></center>\r\n Sorry for the inconvenience.<br/>\r\nPlease report this message and include the following information to us.<br/>\r\nThank you very much!</p>\r\n<table>\r\n<tr>\r\n<td>URL:</td>\r\n<td>https://gd.glucose-dev.online/api/docflow/prepare-generated-doc</td>\r\n</tr>\r\n<tr>\r\n<td>Server:</td>\r\n<td>mail.glucose-dev.online</td>\r\n</tr>\r\n<tr>\r\n<td>Date:</td>\r\n<td>2026/06/12 18:12:46</td>\r\n</tr>\r\n</table>\r\n<hr><center>tengine</center>\r\n</body>\r\n</html>\r\n","payload":{"account_id":"22699852","entity_id":"42158286","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"dfb4168"}
[2026-06-12 18:12:45] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://gd.glucose-dev.online/api/docflow/prepare-generated-doc","payload":{"account_id":"22699852","entity_id":"42158286","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"dfb4168"}
[2026-06-12 18:12:46] docflow.DEBUG: AmoDrive prepare-generated-doc response {"url":"https://gd.glucose-dev.online/api/docflow/prepare-generated-doc","payload":{"ok":true,"accountId":22699852,"entityId":"42158286","entityType":"leads","generatorEmail":"info@glucose.md","directGenerationReady":true,"folder":{"id":"1FaKs2RZzpvNlT5UrTQGnKk4tFgs3WcWu","name":"42158286 - Prelungire PS munca","webViewLink":"https://drive.google.com/drive/folders/1FaKs2RZzpvNlT5UrTQGnKk4tFgs3WcWu"},"generatorAccess":{"ok":true,"targetEmail":"info@glucose.md","permission":{"id":"15090742993472653631","emailAddress":"info@glucose.md","role":"writer","pendingOwner":false}}}} {"uid":"dfb4168"}
[2026-06-12 18:12:46] docflow.DEBUG: GAS request {"url":"https://script.google.com/macros/s/AKfycbwrvOJD46zkuoTzdhpc1kulhV8jRfgQBFZfQ121nkIip_k8yKit4xrbWTOzaJ-C-Yed6w/exec","body":{"templateFileId":"1Dq2kaNUB1wMt7fRlggu4aCHqJdBiDmrUIK8fJ9NHVNo","accountId":"22699852","folderId":"1FaKs2RZzpvNlT5UrTQGnKk4tFgs3WcWu","key":"~VTsK5dcnHc2cSSsjM$LFSjLlgbmJXwrp3R2P5nd","data":"{\"fileName\":\"PS 923 20260612181244\",\"leadId\":\"42158286\",\"entities\":{\"\\u0441\\u0434\\u0435\\u043b\\u043a\\u0430\":{\"google_folder_id_leads_field\":\"https:\\/\\/drive.google.com\\/drive\\/folders\\/1FaKs2RZzpvNlT5UrTQGnKk4tFgs3WcWu\",\"Data front\":\"2026-06-10 16:41:00\",\"#Manager Front\":\"Capanji Igor\",\"Preluarea de manager front\":\"2026-06-12 10:17:00\",\"Urm\\u0103torul contact\":\"2026-06-12 10:17:00\",\"Valuta\":\"Euro\",\"Mod achitare\":\"Transfer firm\\u0103\",\"Suma avans\":\"750\",\"Suma Back\":\"60\",\"Data consulta\\u021biei\":\"10.06.2026\",\"Manager Juridic\":\"Dascal Anatolie\",\"#Manager Jurist\":\"Dascal Anatolie\",\"ID\":\"42158286\",\"\\u0421\\u0434\\u0435\\u043b\\u043a\\u0430_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Prelungire PS munca\",\"Lead_name\":\"Prelungire PS munca\",\"\\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\":{\"google_folder_id_leads_field\":\"https:\\/\\/drive.google.com\\/drive\\/folders\\/1FaKs2RZzpvNlT5UrTQGnKk4tFgs3WcWu\",\"Data front\":\"2026-06-10 16:41:00\",\"#Manager Front\":\"Capanji Igor\",\"Preluarea de manager front\":\"2026-06-12 10:17:00\",\"Urm\\u0103torul contact\":\"2026-06-12 10:17:00\",\"Valuta\":\"Euro\",\"Mod achitare\":\"Transfer firm\\u0103\",\"Suma avans\":\"750\",\"Suma Back\":\"60\",\"Data consulta\\u021biei\":\"10.06.2026\",\"Manager Juridic\":\"Dascal Anatolie\",\"#Manager Jurist\":\"Dascal Anatolie\",\"ID\":\"42158286\",\"\\u0421\\u0434\\u0435\\u043b\\u043a\\u0430_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Prelungire PS munca\",\"Lead_name\":\"Prelungire PS munca\",\"\\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\":\"37369166072\",\"Email\":\"rghilan@mail.ru\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Raisa Ghilan (Malik Bilal)\",\"Contact_name\":\"Raisa Ghilan (Malik Bilal)\",\"\\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\":\"37369166072\",\"Email\":\"rghilan@mail.ru\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Raisa Ghilan (Malik Bilal)\",\"Contact_name\":\"Raisa Ghilan (Malik Bilal)\",\"\\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\":\"37369166072\",\"Email\":\"rghilan@mail.ru\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Raisa Ghilan (Malik Bilal)\",\"\\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\":\"12.06.2026\",\"\\u041d\\u043e\\u043c\\u0435\\u0440\":\"923\"},\"document\":{\"Date\":\"12.06.2026\",\"Number\":\"923\"}}}","edit":true,"folderMode":"direct"}} {"uid":"dfb4168"}
[2026-06-12 18:12:52] docflow.DEBUG: GAS raw response {"raw":"[object] (stdClass: {\"code\":1,\"url\":\"https://docs.google.com/open?id=1d1JG-Ty1kNm1eKjOVQyCzjgafj__XsfkCz9y-6DJ-tE\",\"file_id\":\"1d1JG-Ty1kNm1eKjOVQyCzjgafj__XsfkCz9y-6DJ-tE\",\"error\":\"\",\"vars\":\"\"})"} {"uid":"dfb4168"}
[2026-06-12 18:12:52] docflow.INFO: Skipping AmoDrive finalize because document was generated directly in the prepared entity folder. {"fileId":"1d1JG-Ty1kNm1eKjOVQyCzjgafj__XsfkCz9y-6DJ-tE","folder":{"id":"1FaKs2RZzpvNlT5UrTQGnKk4tFgs3WcWu","name":"42158286 - Prelungire PS munca","webViewLink":"https://drive.google.com/drive/folders/1FaKs2RZzpvNlT5UrTQGnKk4tFgs3WcWu"}} {"uid":"dfb4168"}
