[2026-09-03 08:04:12] docflow.INFO: Apel createDoc {"data":{"amoAccountId":"22699852","amoUserId":null,"amoEntityId":"42563224","amoEntityType":"2","templateId":"11495","corporateEntityId":"","settlementAccountId":"","is_signed":null,"gdi":null,"number":null,"currentAmoUserId":null,"lang":"ru"}} {"uid":"150e268"}
[2026-09-03 08:04:12] docflow.INFO: Token is valid for account 22699852. [] {"uid":"150e268"}
[2026-09-03 08:04:12] docflow.DEBUG: getClientAuth returned {"auth":"[object] (stdClass: {\"domain\":\"emigrare.amocrm.ru\",\"access_token\":\"eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImp0aSI6ImE5MTllMGZkY2ZmNzJiMzM4NDhmNTA3MWVmNzE0YTYxZjUwMjI0ZjdhNGMyMzE0NTg2YzU2YTRlZWRmMWI2ZjAwYzY0NmU1YmExNzQ4MmYwIn0.eyJhdWQiOiIwZDY0ZGZmYi1lNTRiLTQ0OGYtOWZiZi1iYWYyMjUxYTExZGIiLCJqdGkiOiJhOTE5ZTBmZGNmZjcyYjMzODQ4ZjUwNzFlZjcxNGE2MWY1MDIyNGY3YTRjMjMxNDU4NmM1NmE0ZWVkZjFiNmYwMGM2NDZlNWJhMTc0ODJmMCIsImlhdCI6MTc4ODMzNDM4MCwibmJmIjoxNzg4MzM0MzgwLCJleHAiOjE3ODg0MjA3ODAsInN1YiI6IjI5MzAzODAiLCJncmFudF90eXBlIjoiIiwiYWNjb3VudF9pZCI6MjI2OTk4NTIsImJhc2VfZG9tYWluIjoiYW1vY3JtLnJ1IiwidmVyc2lvbiI6Miwic2NvcGVzIjpbInB1c2hfbm90aWZpY2F0aW9ucyIsImNybSIsIm5vdGlmaWNhdGlvbnMiXSwiaGFzaF91dWlkIjoiZDIyNWQ4ZDYtNDczMS00YjUwLThlNTMtNTE2YWI3MzJhNGM1IiwiYXBpX2RvbWFpbiI6ImFwaS1hLmFtb2NybS5ydSJ9.BwwxY_FLIdT97DRJh7LJqJTL-cvnRCGZRRQqcfdf-nf3Cw-dthBeV6nLQCCfUE5gm9hJ8FsDEAJZN5JL7XD4TntqumHBsdS7HenXiTn63vEcfvu3Boq0WZ-0JvUJ2X4mkJy5XwDXTwlAj_epWYHUrfSGJOKDEOrbJZhY1vx-O5UYvT06ZAzDbkPt7OlUN161D8_L45-tt6cd5NNeN1drsair6LAEi8PzjWXPNjTa2ygiHfRxmEo6NgVKNu0H0W1IuREi0tYeN3EBX71-FxtAafLF0wI-WEUSc7Kbs_yF5GEVHAdyBhVGwANPAu5tELuyOfrPE6y565dgI5RnsHzjyA\"})","file":"/home/ytvmclwh/document.amocrm.md/src/Models/Docs.php","line":121} {"uid":"150e268"}
[2026-09-03 08:04:14] docflow.DEBUG: AmoDrive docflow context request {"url":"https://google.emale.uno/api/docflow/google-context","query":{"account_id":"22699852","entity_id":"42563224","entity_type":"leads"}} {"uid":"150e268"}
[2026-09-03 08:04:14] docflow.WARNING: AmoDrive docflow context request failed {"url":"https://google.emale.uno/api/docflow/google-context","http_code":null,"error":"HTTP/2 400 ","response":"<!DOCTYPE HTML PUBLIC \"-//IETF//DTD HTML 2.0//EN\">\r\n<html>\r\n<head><title>400 Bad Request</title></head>\r\n<body>\r\n<center><h1>400 Bad Request</h1></center>\r\n Sorry for the inconvenience.<br/>\r\nPlease report this message and include the following information to us.<br/>\r\nThank you very much!</p>\r\n<table>\r\n<tr>\r\n<td>URL:</td>\r\n<td>https://gd.glucose-dev.online/api/docflow/google-context?account_id=22699852&amp;entity_id=42563224&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/09/03 08:04:14</td>\r\n</tr>\r\n</table>\r\n<hr><center>tengine</center>\r\n</body>\r\n</html>\r\n"} {"uid":"150e268"}
[2026-09-03 08:04:14] docflow.DEBUG: AmoDrive docflow context request {"url":"https://gd.glucose-dev.online/api/docflow/google-context","query":{"account_id":"22699852","entity_id":"42563224","entity_type":"leads"}} {"uid":"150e268"}
[2026-09-03 08:04:14] docflow.WARNING: AmoDrive docflow context response is not ready, trying next backend. {"url":"https://gd.glucose-dev.online/api/docflow/google-context","payload":{"ok":true,"accountId":22699852,"entityId":"42563224","entityType":"leads","amodrive":{"installed":false,"widgetStatus":"uninstalled","amoAccountId":22699852,"accountHost":"emigrare.amocrm.ru","license":{"status":"active","configuredStatus":"active","expiresAt":"2027-08-20T10:16:56.291Z","isExpired":false,"isTrial":false,"isActive":true,"expiredByDate":false,"daysRemaining":352,"isLifetime":false},"licenseActive":false,"googleConnected":false,"googleEmail":null,"googleHasDriveScope":false,"googleHasDriveFileScope":false,"googleHasOwnershipScope":false,"readyForGeneratedFileMove":false,"readyForTransfer":false},"folder":{"id":"1bOuwdqGeidrseMyjaDwDkdsmT_YB3TtU","name":"42563224 - Lead #42563224","webViewLink":"https://drive.google.com/drive/folders/1bOuwdqGeidrseMyjaDwDkdsmT_YB3TtU"}}} {"uid":"150e268"}
[2026-09-03 08:04:14] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://google.emale.uno/api/docflow/prepare-generated-doc","payload":{"account_id":"22699852","entity_id":"42563224","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"150e268"}
[2026-09-03 08:04:14] docflow.WARNING: AmoDrive prepare-generated-doc request failed {"url":"https://google.emale.uno/api/docflow/prepare-generated-doc","http_code":null,"error":"HTTP/2 400 ","response":"<!DOCTYPE HTML PUBLIC \"-//IETF//DTD HTML 2.0//EN\">\r\n<html>\r\n<head><title>400 Bad Request</title></head>\r\n<body>\r\n<center><h1>400 Bad Request</h1></center>\r\n Sorry for the inconvenience.<br/>\r\nPlease report this message and include the following information to us.<br/>\r\nThank you very much!</p>\r\n<table>\r\n<tr>\r\n<td>URL:</td>\r\n<td>https://gd.glucose-dev.online/api/docflow/prepare-generated-doc</td>\r\n</tr>\r\n<tr>\r\n<td>Server:</td>\r\n<td>mail.glucose-dev.online</td>\r\n</tr>\r\n<tr>\r\n<td>Date:</td>\r\n<td>2026/09/03 08:04: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":"42563224","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"150e268"}
[2026-09-03 08:04:14] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://gd.glucose-dev.online/api/docflow/prepare-generated-doc","payload":{"account_id":"22699852","entity_id":"42563224","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"150e268"}
[2026-09-03 08:04:14] docflow.WARNING: AmoDrive prepare-generated-doc request failed {"url":"https://gd.glucose-dev.online/api/docflow/prepare-generated-doc","http_code":null,"error":"HTTP/2 404 ","response":"[object] (stdClass: {\"ok\":false,\"error\":\"AmoDrive is not installed for this account.\",\"accountId\":22699852})","payload":{"account_id":"22699852","entity_id":"42563224","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"150e268"}
[2026-09-03 08:04:14] docflow.DEBUG: GAS request {"url":"https://script.google.com/macros/s/AKfycbwrvOJD46zkuoTzdhpc1kulhV8jRfgQBFZfQ121nkIip_k8yKit4xrbWTOzaJ-C-Yed6w/exec","body":{"templateFileId":"139A_R9cAqcF0vtMAjkAKEvgO4ur6rSSzFI-AF87BYnQ","accountId":"22699852","folderId":"1Us2AfskxgdA729xVr0F2vjZU9y5PlYDe","key":"~VTsK5dcnHc2cSSsjM$LFSjLlgbmJXwrp3R2P5nd","data":"{\"fileName\":\"Contract (consulta\\u021bie) 391 20260903080414\",\"leadId\":\"42563224\",\"entities\":{\"\\u0441\\u0434\\u0435\\u043b\\u043a\\u0430\":{\"Suma \\u20ac\":\"0\",\"#Manager Front\":\"Cezara Cenusa\",\"Urm\\u0103torul contact\":\"2026-09-03 16:58:00\",\"Mod achitare\":\"Transfer firm\\u0103\",\"Suma avans\":\"250\",\"ID\":\"42563224\",\"\\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\":\"250\",\"Budget\":\"250\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"Cezara Cenusa\",\"Responsible\":\"Cezara Cenusa\"},\"lead\":{\"Suma \\u20ac\":\"0\",\"#Manager Front\":\"Cezara Cenusa\",\"Urm\\u0103torul contact\":\"2026-09-03 16:58:00\",\"Mod achitare\":\"Transfer firm\\u0103\",\"Suma avans\":\"250\",\"ID\":\"42563224\",\"\\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\":\"250\",\"Budget\":\"250\",\"\\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\":{\"WhatsappLid_WZ\":\"231524674846800\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"+905364276925\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Dolinga Svetlana (KOC Halide)\",\"Contact_name\":\"Dolinga Svetlana (KOC Halide)\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"Cezara Cenusa\",\"Responsible\":\"Cezara Cenusa\"},\"contact\":{\"WhatsappLid_WZ\":\"231524674846800\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"+905364276925\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Dolinga Svetlana (KOC Halide)\",\"Contact_name\":\"Dolinga Svetlana (KOC Halide)\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"Cezara Cenusa\",\"Responsible\":\"Cezara Cenusa\"},\"\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442\\u044b\":[{\"WhatsappLid_WZ\":\"231524674846800\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"+905364276925\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Dolinga Svetlana (KOC Halide)\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"Cezara Cenusa\"}],\"\\u0434\\u043e\\u043a\\u0443\\u043c\\u0435\\u043d\\u0442\":{\"\\u0414\\u0430\\u0442\\u0430\":\"03.09.2026\",\"\\u041d\\u043e\\u043c\\u0435\\u0440\":\"391\"},\"document\":{\"Date\":\"03.09.2026\",\"Number\":\"391\"}}}","edit":true}} {"uid":"150e268"}
[2026-09-03 08:04:23] docflow.DEBUG: GAS raw response {"raw":"[object] (stdClass: {\"code\":1,\"url\":\"https://docs.google.com/open?id=1Ya9aiCEMgnDb9ggTwvLfW6pYTX65ykottJSXEtG5Ubc\",\"file_id\":\"1Ya9aiCEMgnDb9ggTwvLfW6pYTX65ykottJSXEtG5Ubc\",\"error\":\"\",\"vars\":\"\"})"} {"uid":"150e268"}
[2026-09-03 08:04:23] docflow.WARNING: AmoDrive generated-file move is not ready. {"fileId":"1Ya9aiCEMgnDb9ggTwvLfW6pYTX65ykottJSXEtG5Ubc","context":null} {"uid":"150e268"}
[2026-09-03 08:08:28] docflow.INFO: Apel createDoc {"data":{"amoAccountId":"22699852","amoUserId":null,"amoEntityId":"42563224","amoEntityType":"2","templateId":"11500","corporateEntityId":"","settlementAccountId":"","is_signed":null,"gdi":null,"number":null,"currentAmoUserId":null,"lang":"ru"}} {"uid":"7c5e8b8"}
[2026-09-03 08:08:28] docflow.INFO: Token is valid for account 22699852. [] {"uid":"7c5e8b8"}
[2026-09-03 08:08:28] docflow.DEBUG: getClientAuth returned {"auth":"[object] (stdClass: {\"domain\":\"emigrare.amocrm.ru\",\"access_token\":\"eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImp0aSI6ImE5MTllMGZkY2ZmNzJiMzM4NDhmNTA3MWVmNzE0YTYxZjUwMjI0ZjdhNGMyMzE0NTg2YzU2YTRlZWRmMWI2ZjAwYzY0NmU1YmExNzQ4MmYwIn0.eyJhdWQiOiIwZDY0ZGZmYi1lNTRiLTQ0OGYtOWZiZi1iYWYyMjUxYTExZGIiLCJqdGkiOiJhOTE5ZTBmZGNmZjcyYjMzODQ4ZjUwNzFlZjcxNGE2MWY1MDIyNGY3YTRjMjMxNDU4NmM1NmE0ZWVkZjFiNmYwMGM2NDZlNWJhMTc0ODJmMCIsImlhdCI6MTc4ODMzNDM4MCwibmJmIjoxNzg4MzM0MzgwLCJleHAiOjE3ODg0MjA3ODAsInN1YiI6IjI5MzAzODAiLCJncmFudF90eXBlIjoiIiwiYWNjb3VudF9pZCI6MjI2OTk4NTIsImJhc2VfZG9tYWluIjoiYW1vY3JtLnJ1IiwidmVyc2lvbiI6Miwic2NvcGVzIjpbInB1c2hfbm90aWZpY2F0aW9ucyIsImNybSIsIm5vdGlmaWNhdGlvbnMiXSwiaGFzaF91dWlkIjoiZDIyNWQ4ZDYtNDczMS00YjUwLThlNTMtNTE2YWI3MzJhNGM1IiwiYXBpX2RvbWFpbiI6ImFwaS1hLmFtb2NybS5ydSJ9.BwwxY_FLIdT97DRJh7LJqJTL-cvnRCGZRRQqcfdf-nf3Cw-dthBeV6nLQCCfUE5gm9hJ8FsDEAJZN5JL7XD4TntqumHBsdS7HenXiTn63vEcfvu3Boq0WZ-0JvUJ2X4mkJy5XwDXTwlAj_epWYHUrfSGJOKDEOrbJZhY1vx-O5UYvT06ZAzDbkPt7OlUN161D8_L45-tt6cd5NNeN1drsair6LAEi8PzjWXPNjTa2ygiHfRxmEo6NgVKNu0H0W1IuREi0tYeN3EBX71-FxtAafLF0wI-WEUSc7Kbs_yF5GEVHAdyBhVGwANPAu5tELuyOfrPE6y565dgI5RnsHzjyA\"})","file":"/home/ytvmclwh/document.amocrm.md/src/Models/Docs.php","line":121} {"uid":"7c5e8b8"}
[2026-09-03 08:08:30] docflow.DEBUG: AmoDrive docflow context request {"url":"https://google.emale.uno/api/docflow/google-context","query":{"account_id":"22699852","entity_id":"42563224","entity_type":"leads"}} {"uid":"7c5e8b8"}
[2026-09-03 08:08:30] docflow.WARNING: AmoDrive docflow context request failed {"url":"https://google.emale.uno/api/docflow/google-context","http_code":null,"error":"HTTP/2 400 ","response":"<!DOCTYPE HTML PUBLIC \"-//IETF//DTD HTML 2.0//EN\">\r\n<html>\r\n<head><title>400 Bad Request</title></head>\r\n<body>\r\n<center><h1>400 Bad Request</h1></center>\r\n Sorry for the inconvenience.<br/>\r\nPlease report this message and include the following information to us.<br/>\r\nThank you very much!</p>\r\n<table>\r\n<tr>\r\n<td>URL:</td>\r\n<td>https://gd.glucose-dev.online/api/docflow/google-context?account_id=22699852&amp;entity_id=42563224&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/09/03 08:08:30</td>\r\n</tr>\r\n</table>\r\n<hr><center>tengine</center>\r\n</body>\r\n</html>\r\n"} {"uid":"7c5e8b8"}
[2026-09-03 08:08:30] docflow.DEBUG: AmoDrive docflow context request {"url":"https://gd.glucose-dev.online/api/docflow/google-context","query":{"account_id":"22699852","entity_id":"42563224","entity_type":"leads"}} {"uid":"7c5e8b8"}
[2026-09-03 08:08:30] docflow.WARNING: AmoDrive docflow context response is not ready, trying next backend. {"url":"https://gd.glucose-dev.online/api/docflow/google-context","payload":{"ok":true,"accountId":22699852,"entityId":"42563224","entityType":"leads","amodrive":{"installed":false,"widgetStatus":"uninstalled","amoAccountId":22699852,"accountHost":"emigrare.amocrm.ru","license":{"status":"active","configuredStatus":"active","expiresAt":"2027-08-20T10:16:56.291Z","isExpired":false,"isTrial":false,"isActive":true,"expiredByDate":false,"daysRemaining":352,"isLifetime":false},"licenseActive":false,"googleConnected":false,"googleEmail":null,"googleHasDriveScope":false,"googleHasDriveFileScope":false,"googleHasOwnershipScope":false,"readyForGeneratedFileMove":false,"readyForTransfer":false},"folder":{"id":"1bOuwdqGeidrseMyjaDwDkdsmT_YB3TtU","name":"42563224 - Lead #42563224","webViewLink":"https://drive.google.com/drive/folders/1bOuwdqGeidrseMyjaDwDkdsmT_YB3TtU"}}} {"uid":"7c5e8b8"}
[2026-09-03 08:08:30] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://google.emale.uno/api/docflow/prepare-generated-doc","payload":{"account_id":"22699852","entity_id":"42563224","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"7c5e8b8"}
[2026-09-03 08:08:30] docflow.WARNING: AmoDrive prepare-generated-doc request failed {"url":"https://google.emale.uno/api/docflow/prepare-generated-doc","http_code":null,"error":"HTTP/2 400 ","response":"<!DOCTYPE HTML PUBLIC \"-//IETF//DTD HTML 2.0//EN\">\r\n<html>\r\n<head><title>400 Bad Request</title></head>\r\n<body>\r\n<center><h1>400 Bad Request</h1></center>\r\n Sorry for the inconvenience.<br/>\r\nPlease report this message and include the following information to us.<br/>\r\nThank you very much!</p>\r\n<table>\r\n<tr>\r\n<td>URL:</td>\r\n<td>https://gd.glucose-dev.online/api/docflow/prepare-generated-doc</td>\r\n</tr>\r\n<tr>\r\n<td>Server:</td>\r\n<td>mail.glucose-dev.online</td>\r\n</tr>\r\n<tr>\r\n<td>Date:</td>\r\n<td>2026/09/03 08:08:30</td>\r\n</tr>\r\n</table>\r\n<hr><center>tengine</center>\r\n</body>\r\n</html>\r\n","payload":{"account_id":"22699852","entity_id":"42563224","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"7c5e8b8"}
[2026-09-03 08:08:30] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://gd.glucose-dev.online/api/docflow/prepare-generated-doc","payload":{"account_id":"22699852","entity_id":"42563224","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"7c5e8b8"}
[2026-09-03 08:08:30] docflow.WARNING: AmoDrive prepare-generated-doc request failed {"url":"https://gd.glucose-dev.online/api/docflow/prepare-generated-doc","http_code":null,"error":"HTTP/2 404 ","response":"[object] (stdClass: {\"ok\":false,\"error\":\"AmoDrive is not installed for this account.\",\"accountId\":22699852})","payload":{"account_id":"22699852","entity_id":"42563224","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"7c5e8b8"}
[2026-09-03 08:08:30] docflow.DEBUG: GAS request {"url":"https://script.google.com/macros/s/AKfycbwrvOJD46zkuoTzdhpc1kulhV8jRfgQBFZfQ121nkIip_k8yKit4xrbWTOzaJ-C-Yed6w/exec","body":{"templateFileId":"18-Wrinvrr35El29pFxxTVtyiAztMcc3cfD-_ziIujqw","accountId":"22699852","folderId":"1Us2AfskxgdA729xVr0F2vjZU9y5PlYDe","key":"~VTsK5dcnHc2cSSsjM$LFSjLlgbmJXwrp3R2P5nd","data":"{\"fileName\":\"SRL 675 20260903080830\",\"leadId\":\"42563224\",\"entities\":{\"\\u0441\\u0434\\u0435\\u043b\\u043a\\u0430\":{\"Suma \\u20ac\":\"0\",\"#Manager Front\":\"Cezara Cenusa\",\"Urm\\u0103torul contact\":\"2026-09-03 16:58:00\",\"Mod achitare\":\"Transfer firm\\u0103\",\"Suma avans\":\"250\",\"ID\":\"42563224\",\"\\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\":\"250\",\"Budget\":\"250\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"Cezara Cenusa\",\"Responsible\":\"Cezara Cenusa\"},\"lead\":{\"Suma \\u20ac\":\"0\",\"#Manager Front\":\"Cezara Cenusa\",\"Urm\\u0103torul contact\":\"2026-09-03 16:58:00\",\"Mod achitare\":\"Transfer firm\\u0103\",\"Suma avans\":\"250\",\"ID\":\"42563224\",\"\\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\":\"250\",\"Budget\":\"250\",\"\\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\":{\"WhatsappLid_WZ\":\"231524674846800\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"+905364276925\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Dolinga Svetlana (KOC Halide)\",\"Contact_name\":\"Dolinga Svetlana (KOC Halide)\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"Cezara Cenusa\",\"Responsible\":\"Cezara Cenusa\"},\"contact\":{\"WhatsappLid_WZ\":\"231524674846800\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"+905364276925\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Dolinga Svetlana (KOC Halide)\",\"Contact_name\":\"Dolinga Svetlana (KOC Halide)\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"Cezara Cenusa\",\"Responsible\":\"Cezara Cenusa\"},\"\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442\\u044b\":[{\"WhatsappLid_WZ\":\"231524674846800\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"+905364276925\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Dolinga Svetlana (KOC Halide)\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"Cezara Cenusa\"}],\"\\u0434\\u043e\\u043a\\u0443\\u043c\\u0435\\u043d\\u0442\":{\"\\u0414\\u0430\\u0442\\u0430\":\"03.09.2026\",\"\\u041d\\u043e\\u043c\\u0435\\u0440\":\"675\"},\"document\":{\"Date\":\"03.09.2026\",\"Number\":\"675\"}}}","edit":true}} {"uid":"7c5e8b8"}
[2026-09-03 08:08:37] docflow.DEBUG: GAS raw response {"raw":"[object] (stdClass: {\"code\":1,\"url\":\"https://docs.google.com/open?id=13Zi7r_GJVDFkYsE4kmhThxEYmnv5qkpE-ioIwXeQgQ4\",\"file_id\":\"13Zi7r_GJVDFkYsE4kmhThxEYmnv5qkpE-ioIwXeQgQ4\",\"error\":\"\",\"vars\":\"\"})"} {"uid":"7c5e8b8"}
[2026-09-03 08:08:37] docflow.WARNING: AmoDrive generated-file move is not ready. {"fileId":"13Zi7r_GJVDFkYsE4kmhThxEYmnv5qkpE-ioIwXeQgQ4","context":null} {"uid":"7c5e8b8"}
[2026-09-03 08:18:09] docflow.INFO: Apel createDoc {"data":{"amoAccountId":"22699852","amoUserId":null,"amoEntityId":"42563224","amoEntityType":"2","templateId":"11525","corporateEntityId":"","settlementAccountId":"","is_signed":null,"gdi":null,"number":null,"currentAmoUserId":null,"lang":"ru"}} {"uid":"551adad"}
[2026-09-03 08:18:10] docflow.INFO: Token is valid for account 22699852. [] {"uid":"551adad"}
[2026-09-03 08:18:10] docflow.DEBUG: getClientAuth returned {"auth":"[object] (stdClass: {\"domain\":\"emigrare.amocrm.ru\",\"access_token\":\"eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImp0aSI6ImE5MTllMGZkY2ZmNzJiMzM4NDhmNTA3MWVmNzE0YTYxZjUwMjI0ZjdhNGMyMzE0NTg2YzU2YTRlZWRmMWI2ZjAwYzY0NmU1YmExNzQ4MmYwIn0.eyJhdWQiOiIwZDY0ZGZmYi1lNTRiLTQ0OGYtOWZiZi1iYWYyMjUxYTExZGIiLCJqdGkiOiJhOTE5ZTBmZGNmZjcyYjMzODQ4ZjUwNzFlZjcxNGE2MWY1MDIyNGY3YTRjMjMxNDU4NmM1NmE0ZWVkZjFiNmYwMGM2NDZlNWJhMTc0ODJmMCIsImlhdCI6MTc4ODMzNDM4MCwibmJmIjoxNzg4MzM0MzgwLCJleHAiOjE3ODg0MjA3ODAsInN1YiI6IjI5MzAzODAiLCJncmFudF90eXBlIjoiIiwiYWNjb3VudF9pZCI6MjI2OTk4NTIsImJhc2VfZG9tYWluIjoiYW1vY3JtLnJ1IiwidmVyc2lvbiI6Miwic2NvcGVzIjpbInB1c2hfbm90aWZpY2F0aW9ucyIsImNybSIsIm5vdGlmaWNhdGlvbnMiXSwiaGFzaF91dWlkIjoiZDIyNWQ4ZDYtNDczMS00YjUwLThlNTMtNTE2YWI3MzJhNGM1IiwiYXBpX2RvbWFpbiI6ImFwaS1hLmFtb2NybS5ydSJ9.BwwxY_FLIdT97DRJh7LJqJTL-cvnRCGZRRQqcfdf-nf3Cw-dthBeV6nLQCCfUE5gm9hJ8FsDEAJZN5JL7XD4TntqumHBsdS7HenXiTn63vEcfvu3Boq0WZ-0JvUJ2X4mkJy5XwDXTwlAj_epWYHUrfSGJOKDEOrbJZhY1vx-O5UYvT06ZAzDbkPt7OlUN161D8_L45-tt6cd5NNeN1drsair6LAEi8PzjWXPNjTa2ygiHfRxmEo6NgVKNu0H0W1IuREi0tYeN3EBX71-FxtAafLF0wI-WEUSc7Kbs_yF5GEVHAdyBhVGwANPAu5tELuyOfrPE6y565dgI5RnsHzjyA\"})","file":"/home/ytvmclwh/document.amocrm.md/src/Models/Docs.php","line":121} {"uid":"551adad"}
[2026-09-03 08:18:12] docflow.DEBUG: AmoDrive docflow context request {"url":"https://google.emale.uno/api/docflow/google-context","query":{"account_id":"22699852","entity_id":"42563224","entity_type":"leads"}} {"uid":"551adad"}
[2026-09-03 08:18:12] docflow.WARNING: AmoDrive docflow context request failed {"url":"https://google.emale.uno/api/docflow/google-context","http_code":null,"error":"HTTP/2 400 ","response":"<!DOCTYPE HTML PUBLIC \"-//IETF//DTD HTML 2.0//EN\">\r\n<html>\r\n<head><title>400 Bad Request</title></head>\r\n<body>\r\n<center><h1>400 Bad Request</h1></center>\r\n Sorry for the inconvenience.<br/>\r\nPlease report this message and include the following information to us.<br/>\r\nThank you very much!</p>\r\n<table>\r\n<tr>\r\n<td>URL:</td>\r\n<td>https://gd.glucose-dev.online/api/docflow/google-context?account_id=22699852&amp;entity_id=42563224&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/09/03 08:18:12</td>\r\n</tr>\r\n</table>\r\n<hr><center>tengine</center>\r\n</body>\r\n</html>\r\n"} {"uid":"551adad"}
[2026-09-03 08:18:12] docflow.DEBUG: AmoDrive docflow context request {"url":"https://gd.glucose-dev.online/api/docflow/google-context","query":{"account_id":"22699852","entity_id":"42563224","entity_type":"leads"}} {"uid":"551adad"}
[2026-09-03 08:18:12] docflow.WARNING: AmoDrive docflow context response is not ready, trying next backend. {"url":"https://gd.glucose-dev.online/api/docflow/google-context","payload":{"ok":true,"accountId":22699852,"entityId":"42563224","entityType":"leads","amodrive":{"installed":false,"widgetStatus":"uninstalled","amoAccountId":22699852,"accountHost":"emigrare.amocrm.ru","license":{"status":"active","configuredStatus":"active","expiresAt":"2027-08-20T10:16:56.291Z","isExpired":false,"isTrial":false,"isActive":true,"expiredByDate":false,"daysRemaining":352,"isLifetime":false},"licenseActive":false,"googleConnected":false,"googleEmail":null,"googleHasDriveScope":false,"googleHasDriveFileScope":false,"googleHasOwnershipScope":false,"readyForGeneratedFileMove":false,"readyForTransfer":false},"folder":{"id":"1bOuwdqGeidrseMyjaDwDkdsmT_YB3TtU","name":"42563224 - Lead #42563224","webViewLink":"https://drive.google.com/drive/folders/1bOuwdqGeidrseMyjaDwDkdsmT_YB3TtU"}}} {"uid":"551adad"}
[2026-09-03 08:18:12] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://google.emale.uno/api/docflow/prepare-generated-doc","payload":{"account_id":"22699852","entity_id":"42563224","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"551adad"}
[2026-09-03 08:18:12] docflow.WARNING: AmoDrive prepare-generated-doc request failed {"url":"https://google.emale.uno/api/docflow/prepare-generated-doc","http_code":null,"error":"HTTP/2 400 ","response":"<!DOCTYPE HTML PUBLIC \"-//IETF//DTD HTML 2.0//EN\">\r\n<html>\r\n<head><title>400 Bad Request</title></head>\r\n<body>\r\n<center><h1>400 Bad Request</h1></center>\r\n Sorry for the inconvenience.<br/>\r\nPlease report this message and include the following information to us.<br/>\r\nThank you very much!</p>\r\n<table>\r\n<tr>\r\n<td>URL:</td>\r\n<td>https://gd.glucose-dev.online/api/docflow/prepare-generated-doc</td>\r\n</tr>\r\n<tr>\r\n<td>Server:</td>\r\n<td>mail.glucose-dev.online</td>\r\n</tr>\r\n<tr>\r\n<td>Date:</td>\r\n<td>2026/09/03 08:18:12</td>\r\n</tr>\r\n</table>\r\n<hr><center>tengine</center>\r\n</body>\r\n</html>\r\n","payload":{"account_id":"22699852","entity_id":"42563224","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"551adad"}
[2026-09-03 08:18:12] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://gd.glucose-dev.online/api/docflow/prepare-generated-doc","payload":{"account_id":"22699852","entity_id":"42563224","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"551adad"}
[2026-09-03 08:18:12] docflow.WARNING: AmoDrive prepare-generated-doc request failed {"url":"https://gd.glucose-dev.online/api/docflow/prepare-generated-doc","http_code":null,"error":"HTTP/2 404 ","response":"[object] (stdClass: {\"ok\":false,\"error\":\"AmoDrive is not installed for this account.\",\"accountId\":22699852})","payload":{"account_id":"22699852","entity_id":"42563224","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"551adad"}
[2026-09-03 08:18:12] docflow.DEBUG: GAS request {"url":"https://script.google.com/macros/s/AKfycbwrvOJD46zkuoTzdhpc1kulhV8jRfgQBFZfQ121nkIip_k8yKit4xrbWTOzaJ-C-Yed6w/exec","body":{"templateFileId":"1WbsU1KEhQsgulJePwaSJXrk2Enf9WW8h7Hs9uPNHIDU","accountId":"22699852","folderId":"1Us2AfskxgdA729xVr0F2vjZU9y5PlYDe","key":"~VTsK5dcnHc2cSSsjM$LFSjLlgbmJXwrp3R2P5nd","data":"{\"fileName\":\"\\u0421\\u0447\\u0435\\u0442 \\u043d\\u0430 \\u043e\\u043f\\u043b\\u0430\\u0442\\u0443 CNC (EUR\\/USD\\/MDL) 111 20260903081812\",\"leadId\":\"42563224\",\"entities\":{\"\\u0441\\u0434\\u0435\\u043b\\u043a\\u0430\":{\"Suma \\u20ac\":\"0\",\"#Manager Front\":\"Cezara Cenusa\",\"Urm\\u0103torul contact\":\"2026-09-03 16:58:00\",\"Mod achitare\":\"Transfer firm\\u0103\",\"Suma avans\":\"250\",\"Manager Juridic\":\"Dascal Anatolie\",\"#Manager Jurist\":\"Dascal Anatolie\",\"Suma contract\":\"250\",\"Numar de achitari\":\"1\",\"Tentative de apel\":\"0\",\"ID\":\"42563224\",\"\\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\":\"250\",\"Budget\":\"250\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"Cezara Cenusa\",\"Responsible\":\"Cezara Cenusa\"},\"lead\":{\"Suma \\u20ac\":\"0\",\"#Manager Front\":\"Cezara Cenusa\",\"Urm\\u0103torul contact\":\"2026-09-03 16:58:00\",\"Mod achitare\":\"Transfer firm\\u0103\",\"Suma avans\":\"250\",\"Manager Juridic\":\"Dascal Anatolie\",\"#Manager Jurist\":\"Dascal Anatolie\",\"Suma contract\":\"250\",\"Numar de achitari\":\"1\",\"Tentative de apel\":\"0\",\"ID\":\"42563224\",\"\\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\":\"250\",\"Budget\":\"250\",\"\\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\":{\"WhatsappLid_WZ\":\"231524674846800\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"+905364276925\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Dolinga Svetlana (KOC Halide)\",\"Contact_name\":\"Dolinga Svetlana (KOC Halide)\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"Cezara Cenusa\",\"Responsible\":\"Cezara Cenusa\"},\"contact\":{\"WhatsappLid_WZ\":\"231524674846800\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"+905364276925\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Dolinga Svetlana (KOC Halide)\",\"Contact_name\":\"Dolinga Svetlana (KOC Halide)\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"Cezara Cenusa\",\"Responsible\":\"Cezara Cenusa\"},\"\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442\\u044b\":[{\"WhatsappLid_WZ\":\"231524674846800\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"+905364276925\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Dolinga Svetlana (KOC Halide)\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"Cezara Cenusa\"}],\"\\u0434\\u043e\\u043a\\u0443\\u043c\\u0435\\u043d\\u0442\":{\"\\u0414\\u0430\\u0442\\u0430\":\"03.09.2026\",\"\\u041d\\u043e\\u043c\\u0435\\u0440\":\"111\"},\"document\":{\"Date\":\"03.09.2026\",\"Number\":\"111\"}}}","edit":true}} {"uid":"551adad"}
[2026-09-03 08:18:18] docflow.DEBUG: GAS raw response {"raw":"[object] (stdClass: {\"code\":1,\"url\":\"https://docs.google.com/open?id=1xp16P6PslftA-RjG5RaOMpLyH9LeI4ROYDEnxvcFK_I\",\"file_id\":\"1xp16P6PslftA-RjG5RaOMpLyH9LeI4ROYDEnxvcFK_I\",\"error\":\"\",\"vars\":\"\"})"} {"uid":"551adad"}
[2026-09-03 08:18:18] docflow.WARNING: AmoDrive generated-file move is not ready. {"fileId":"1xp16P6PslftA-RjG5RaOMpLyH9LeI4ROYDEnxvcFK_I","context":null} {"uid":"551adad"}
[2026-09-03 08:59:38] docflow.INFO: Apel createDoc {"data":{"amoAccountId":"22699852","amoUserId":null,"amoEntityId":"42548386","amoEntityType":"2","templateId":"11495","corporateEntityId":"","settlementAccountId":"","is_signed":null,"gdi":null,"number":null,"currentAmoUserId":null,"lang":"ru"}} {"uid":"a0582f2"}
[2026-09-03 08:59:39] docflow.INFO: Token is valid for account 22699852. [] {"uid":"a0582f2"}
[2026-09-03 08:59:39] docflow.DEBUG: getClientAuth returned {"auth":"[object] (stdClass: {\"domain\":\"emigrare.amocrm.ru\",\"access_token\":\"eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImp0aSI6ImE5MTllMGZkY2ZmNzJiMzM4NDhmNTA3MWVmNzE0YTYxZjUwMjI0ZjdhNGMyMzE0NTg2YzU2YTRlZWRmMWI2ZjAwYzY0NmU1YmExNzQ4MmYwIn0.eyJhdWQiOiIwZDY0ZGZmYi1lNTRiLTQ0OGYtOWZiZi1iYWYyMjUxYTExZGIiLCJqdGkiOiJhOTE5ZTBmZGNmZjcyYjMzODQ4ZjUwNzFlZjcxNGE2MWY1MDIyNGY3YTRjMjMxNDU4NmM1NmE0ZWVkZjFiNmYwMGM2NDZlNWJhMTc0ODJmMCIsImlhdCI6MTc4ODMzNDM4MCwibmJmIjoxNzg4MzM0MzgwLCJleHAiOjE3ODg0MjA3ODAsInN1YiI6IjI5MzAzODAiLCJncmFudF90eXBlIjoiIiwiYWNjb3VudF9pZCI6MjI2OTk4NTIsImJhc2VfZG9tYWluIjoiYW1vY3JtLnJ1IiwidmVyc2lvbiI6Miwic2NvcGVzIjpbInB1c2hfbm90aWZpY2F0aW9ucyIsImNybSIsIm5vdGlmaWNhdGlvbnMiXSwiaGFzaF91dWlkIjoiZDIyNWQ4ZDYtNDczMS00YjUwLThlNTMtNTE2YWI3MzJhNGM1IiwiYXBpX2RvbWFpbiI6ImFwaS1hLmFtb2NybS5ydSJ9.BwwxY_FLIdT97DRJh7LJqJTL-cvnRCGZRRQqcfdf-nf3Cw-dthBeV6nLQCCfUE5gm9hJ8FsDEAJZN5JL7XD4TntqumHBsdS7HenXiTn63vEcfvu3Boq0WZ-0JvUJ2X4mkJy5XwDXTwlAj_epWYHUrfSGJOKDEOrbJZhY1vx-O5UYvT06ZAzDbkPt7OlUN161D8_L45-tt6cd5NNeN1drsair6LAEi8PzjWXPNjTa2ygiHfRxmEo6NgVKNu0H0W1IuREi0tYeN3EBX71-FxtAafLF0wI-WEUSc7Kbs_yF5GEVHAdyBhVGwANPAu5tELuyOfrPE6y565dgI5RnsHzjyA\"})","file":"/home/ytvmclwh/document.amocrm.md/src/Models/Docs.php","line":121} {"uid":"a0582f2"}
[2026-09-03 08:59:41] docflow.DEBUG: AmoDrive docflow context request {"url":"https://google.emale.uno/api/docflow/google-context","query":{"account_id":"22699852","entity_id":"42548386","entity_type":"leads"}} {"uid":"a0582f2"}
[2026-09-03 08:59: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=42548386&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/09/03 08:59:41</td>\r\n</tr>\r\n</table>\r\n<hr><center>tengine</center>\r\n</body>\r\n</html>\r\n"} {"uid":"a0582f2"}
[2026-09-03 08:59:41] docflow.DEBUG: AmoDrive docflow context request {"url":"https://gd.glucose-dev.online/api/docflow/google-context","query":{"account_id":"22699852","entity_id":"42548386","entity_type":"leads"}} {"uid":"a0582f2"}
[2026-09-03 08:59:41] docflow.WARNING: AmoDrive docflow context response is not ready, trying next backend. {"url":"https://gd.glucose-dev.online/api/docflow/google-context","payload":{"ok":true,"accountId":22699852,"entityId":"42548386","entityType":"leads","amodrive":{"installed":false,"widgetStatus":"uninstalled","amoAccountId":22699852,"accountHost":"emigrare.amocrm.ru","license":{"status":"active","configuredStatus":"active","expiresAt":"2027-08-20T10:16:56.291Z","isExpired":false,"isTrial":false,"isActive":true,"expiredByDate":false,"daysRemaining":352,"isLifetime":false},"licenseActive":false,"googleConnected":false,"googleEmail":null,"googleHasDriveScope":false,"googleHasDriveFileScope":false,"googleHasOwnershipScope":false,"readyForGeneratedFileMove":false,"readyForTransfer":false},"folder":null}} {"uid":"a0582f2"}
[2026-09-03 08:59:41] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://google.emale.uno/api/docflow/prepare-generated-doc","payload":{"account_id":"22699852","entity_id":"42548386","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"a0582f2"}
[2026-09-03 08:59: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/09/03 08:59:41</td>\r\n</tr>\r\n</table>\r\n<hr><center>tengine</center>\r\n</body>\r\n</html>\r\n","payload":{"account_id":"22699852","entity_id":"42548386","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"a0582f2"}
[2026-09-03 08:59: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":"42548386","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"a0582f2"}
[2026-09-03 08:59:41] docflow.WARNING: AmoDrive prepare-generated-doc request failed {"url":"https://gd.glucose-dev.online/api/docflow/prepare-generated-doc","http_code":null,"error":"HTTP/2 404 ","response":"[object] (stdClass: {\"ok\":false,\"error\":\"AmoDrive is not installed for this account.\",\"accountId\":22699852})","payload":{"account_id":"22699852","entity_id":"42548386","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"a0582f2"}
[2026-09-03 08:59:41] docflow.DEBUG: GAS request {"url":"https://script.google.com/macros/s/AKfycbwrvOJD46zkuoTzdhpc1kulhV8jRfgQBFZfQ121nkIip_k8yKit4xrbWTOzaJ-C-Yed6w/exec","body":{"templateFileId":"139A_R9cAqcF0vtMAjkAKEvgO4ur6rSSzFI-AF87BYnQ","accountId":"22699852","folderId":"1Us2AfskxgdA729xVr0F2vjZU9y5PlYDe","key":"~VTsK5dcnHc2cSSsjM$LFSjLlgbmJXwrp3R2P5nd","data":"{\"fileName\":\"Contract (consulta\\u021bie) 392 20260903085941\",\"leadId\":\"42548386\",\"entities\":{\"\\u0441\\u0434\\u0435\\u043b\\u043a\\u0430\":{\"Brand\":\"Emigrare.md\",\"Shema\":\"Emigrare\",\"Suma \\u20ac\":\"0\",\"tree_name\":\"Emigrare\",\"ID\":\"42548386\",\"\\u0421\\u0434\\u0435\\u043b\\u043a\\u0430_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"PS\",\"Lead_name\":\"PS\",\"\\u0411\\u044e\\u0434\\u0436\\u0435\\u0442\":\"0\",\"Budget\":\"0\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"Untila Dorina\",\"Responsible\":\"Untila Dorina\"},\"lead\":{\"Brand\":\"Emigrare.md\",\"Shema\":\"Emigrare\",\"Suma \\u20ac\":\"0\",\"tree_name\":\"Emigrare\",\"ID\":\"42548386\",\"\\u0421\\u0434\\u0435\\u043b\\u043a\\u0430_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"PS\",\"Lead_name\":\"PS\",\"\\u0411\\u044e\\u0434\\u0436\\u0435\\u0442\":\"0\",\"Budget\":\"0\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"Untila Dorina\",\"Responsible\":\"Untila Dorina\"},\"\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442\":{\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"37360288558\",\"TelegramId_WZ\":\"7735499972\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Contact 37360288558\",\"Contact_name\":\"Contact 37360288558\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"Untila Dorina\",\"Responsible\":\"Untila Dorina\"},\"contact\":{\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"37360288558\",\"TelegramId_WZ\":\"7735499972\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Contact 37360288558\",\"Contact_name\":\"Contact 37360288558\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"Untila Dorina\",\"Responsible\":\"Untila Dorina\"},\"\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442\\u044b\":[{\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"37360288558\",\"TelegramId_WZ\":\"7735499972\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Contact 37360288558\",\"\\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\":\"03.09.2026\",\"\\u041d\\u043e\\u043c\\u0435\\u0440\":\"392\"},\"document\":{\"Date\":\"03.09.2026\",\"Number\":\"392\"}}}","edit":true}} {"uid":"a0582f2"}
[2026-09-03 08:59:49] docflow.DEBUG: GAS raw response {"raw":"[object] (stdClass: {\"code\":1,\"url\":\"https://docs.google.com/open?id=18GOZ_1BOybbDa4TH_KX1OSP9wDoMQL-jmKTh2uxAZwo\",\"file_id\":\"18GOZ_1BOybbDa4TH_KX1OSP9wDoMQL-jmKTh2uxAZwo\",\"error\":\"\",\"vars\":\"\"})"} {"uid":"a0582f2"}
[2026-09-03 08:59:49] docflow.WARNING: AmoDrive generated-file move is not ready. {"fileId":"18GOZ_1BOybbDa4TH_KX1OSP9wDoMQL-jmKTh2uxAZwo","context":null} {"uid":"a0582f2"}
[2026-09-03 09:01:53] docflow.INFO: Apel createDoc {"data":{"amoAccountId":"22699852","amoUserId":null,"amoEntityId":"42548386","amoEntityType":"2","templateId":"11526","corporateEntityId":"","settlementAccountId":"","is_signed":null,"gdi":null,"number":null,"currentAmoUserId":null,"lang":"ru"}} {"uid":"3553f9d"}
[2026-09-03 09:01:53] docflow.INFO: Token is valid for account 22699852. [] {"uid":"3553f9d"}
[2026-09-03 09:01:53] docflow.DEBUG: getClientAuth returned {"auth":"[object] (stdClass: {\"domain\":\"emigrare.amocrm.ru\",\"access_token\":\"eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImp0aSI6ImE5MTllMGZkY2ZmNzJiMzM4NDhmNTA3MWVmNzE0YTYxZjUwMjI0ZjdhNGMyMzE0NTg2YzU2YTRlZWRmMWI2ZjAwYzY0NmU1YmExNzQ4MmYwIn0.eyJhdWQiOiIwZDY0ZGZmYi1lNTRiLTQ0OGYtOWZiZi1iYWYyMjUxYTExZGIiLCJqdGkiOiJhOTE5ZTBmZGNmZjcyYjMzODQ4ZjUwNzFlZjcxNGE2MWY1MDIyNGY3YTRjMjMxNDU4NmM1NmE0ZWVkZjFiNmYwMGM2NDZlNWJhMTc0ODJmMCIsImlhdCI6MTc4ODMzNDM4MCwibmJmIjoxNzg4MzM0MzgwLCJleHAiOjE3ODg0MjA3ODAsInN1YiI6IjI5MzAzODAiLCJncmFudF90eXBlIjoiIiwiYWNjb3VudF9pZCI6MjI2OTk4NTIsImJhc2VfZG9tYWluIjoiYW1vY3JtLnJ1IiwidmVyc2lvbiI6Miwic2NvcGVzIjpbInB1c2hfbm90aWZpY2F0aW9ucyIsImNybSIsIm5vdGlmaWNhdGlvbnMiXSwiaGFzaF91dWlkIjoiZDIyNWQ4ZDYtNDczMS00YjUwLThlNTMtNTE2YWI3MzJhNGM1IiwiYXBpX2RvbWFpbiI6ImFwaS1hLmFtb2NybS5ydSJ9.BwwxY_FLIdT97DRJh7LJqJTL-cvnRCGZRRQqcfdf-nf3Cw-dthBeV6nLQCCfUE5gm9hJ8FsDEAJZN5JL7XD4TntqumHBsdS7HenXiTn63vEcfvu3Boq0WZ-0JvUJ2X4mkJy5XwDXTwlAj_epWYHUrfSGJOKDEOrbJZhY1vx-O5UYvT06ZAzDbkPt7OlUN161D8_L45-tt6cd5NNeN1drsair6LAEi8PzjWXPNjTa2ygiHfRxmEo6NgVKNu0H0W1IuREi0tYeN3EBX71-FxtAafLF0wI-WEUSc7Kbs_yF5GEVHAdyBhVGwANPAu5tELuyOfrPE6y565dgI5RnsHzjyA\"})","file":"/home/ytvmclwh/document.amocrm.md/src/Models/Docs.php","line":121} {"uid":"3553f9d"}
[2026-09-03 09:01:56] docflow.DEBUG: AmoDrive docflow context request {"url":"https://google.emale.uno/api/docflow/google-context","query":{"account_id":"22699852","entity_id":"42548386","entity_type":"leads"}} {"uid":"3553f9d"}
[2026-09-03 09:01: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=42548386&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/09/03 09:01:56</td>\r\n</tr>\r\n</table>\r\n<hr><center>tengine</center>\r\n</body>\r\n</html>\r\n"} {"uid":"3553f9d"}
[2026-09-03 09:01:56] docflow.DEBUG: AmoDrive docflow context request {"url":"https://gd.glucose-dev.online/api/docflow/google-context","query":{"account_id":"22699852","entity_id":"42548386","entity_type":"leads"}} {"uid":"3553f9d"}
[2026-09-03 09:01:56] docflow.WARNING: AmoDrive docflow context response is not ready, trying next backend. {"url":"https://gd.glucose-dev.online/api/docflow/google-context","payload":{"ok":true,"accountId":22699852,"entityId":"42548386","entityType":"leads","amodrive":{"installed":false,"widgetStatus":"uninstalled","amoAccountId":22699852,"accountHost":"emigrare.amocrm.ru","license":{"status":"active","configuredStatus":"active","expiresAt":"2027-08-20T10:16:56.291Z","isExpired":false,"isTrial":false,"isActive":true,"expiredByDate":false,"daysRemaining":352,"isLifetime":false},"licenseActive":false,"googleConnected":false,"googleEmail":null,"googleHasDriveScope":false,"googleHasDriveFileScope":false,"googleHasOwnershipScope":false,"readyForGeneratedFileMove":false,"readyForTransfer":false},"folder":null}} {"uid":"3553f9d"}
[2026-09-03 09:01:56] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://google.emale.uno/api/docflow/prepare-generated-doc","payload":{"account_id":"22699852","entity_id":"42548386","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"3553f9d"}
[2026-09-03 09:01: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/09/03 09:01: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":"42548386","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"3553f9d"}
[2026-09-03 09:01: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":"42548386","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"3553f9d"}
[2026-09-03 09:01:56] docflow.WARNING: AmoDrive prepare-generated-doc request failed {"url":"https://gd.glucose-dev.online/api/docflow/prepare-generated-doc","http_code":null,"error":"HTTP/2 404 ","response":"[object] (stdClass: {\"ok\":false,\"error\":\"AmoDrive is not installed for this account.\",\"accountId\":22699852})","payload":{"account_id":"22699852","entity_id":"42548386","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"3553f9d"}
[2026-09-03 09:01:56] docflow.DEBUG: GAS request {"url":"https://script.google.com/macros/s/AKfycbwrvOJD46zkuoTzdhpc1kulhV8jRfgQBFZfQ121nkIip_k8yKit4xrbWTOzaJ-C-Yed6w/exec","body":{"templateFileId":"1snQY4ritjrb76kkRXORjQOdbteGoUc5GjdQR8UlRbIM","accountId":"22699852","folderId":"1Us2AfskxgdA729xVr0F2vjZU9y5PlYDe","key":"~VTsK5dcnHc2cSSsjM$LFSjLlgbmJXwrp3R2P5nd","data":"{\"fileName\":\"\\u0421\\u0447\\u0435\\u0442 \\u043d\\u0430 \\u043e\\u043f\\u043b\\u0430\\u0442\\u0443 DOC PARK (EUR\\/USD\\/MDL) 110 20260903090156\",\"leadId\":\"42548386\",\"entities\":{\"\\u0441\\u0434\\u0435\\u043b\\u043a\\u0430\":{\"Brand\":\"Emigrare.md\",\"Shema\":\"Emigrare\",\"Suma \\u20ac\":\"0\",\"tree_name\":\"Emigrare\",\"ID\":\"42548386\",\"\\u0421\\u0434\\u0435\\u043b\\u043a\\u0430_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"PS\",\"Lead_name\":\"PS\",\"\\u0411\\u044e\\u0434\\u0436\\u0435\\u0442\":\"0\",\"Budget\":\"0\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"Untila Dorina\",\"Responsible\":\"Untila Dorina\"},\"lead\":{\"Brand\":\"Emigrare.md\",\"Shema\":\"Emigrare\",\"Suma \\u20ac\":\"0\",\"tree_name\":\"Emigrare\",\"ID\":\"42548386\",\"\\u0421\\u0434\\u0435\\u043b\\u043a\\u0430_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"PS\",\"Lead_name\":\"PS\",\"\\u0411\\u044e\\u0434\\u0436\\u0435\\u0442\":\"0\",\"Budget\":\"0\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"Untila Dorina\",\"Responsible\":\"Untila Dorina\"},\"\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442\":{\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"37360288558\",\"TelegramId_WZ\":\"7735499972\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Contact 37360288558\",\"Contact_name\":\"Contact 37360288558\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"Untila Dorina\",\"Responsible\":\"Untila Dorina\"},\"contact\":{\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"37360288558\",\"TelegramId_WZ\":\"7735499972\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Contact 37360288558\",\"Contact_name\":\"Contact 37360288558\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"Untila Dorina\",\"Responsible\":\"Untila Dorina\"},\"\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442\\u044b\":[{\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"37360288558\",\"TelegramId_WZ\":\"7735499972\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Contact 37360288558\",\"\\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\":\"03.09.2026\",\"\\u041d\\u043e\\u043c\\u0435\\u0440\":\"110\"},\"document\":{\"Date\":\"03.09.2026\",\"Number\":\"110\"}}}","edit":true}} {"uid":"3553f9d"}
[2026-09-03 09:02:02] docflow.DEBUG: GAS raw response {"raw":"[object] (stdClass: {\"code\":1,\"url\":\"https://docs.google.com/open?id=1hiT1Ro_-uvHCC0_sbOrBGQ8rMmcuaP0i3dmMlTaoEQk\",\"file_id\":\"1hiT1Ro_-uvHCC0_sbOrBGQ8rMmcuaP0i3dmMlTaoEQk\",\"error\":\"\",\"vars\":\"\"})"} {"uid":"3553f9d"}
[2026-09-03 09:02:02] docflow.WARNING: AmoDrive generated-file move is not ready. {"fileId":"1hiT1Ro_-uvHCC0_sbOrBGQ8rMmcuaP0i3dmMlTaoEQk","context":null} {"uid":"3553f9d"}
[2026-09-03 09:15:26] docflow.INFO: Apel createDoc {"data":{"amoAccountId":"22699852","amoUserId":null,"amoEntityId":"42548386","amoEntityType":"2","templateId":"11502","corporateEntityId":"","settlementAccountId":"","is_signed":null,"gdi":null,"number":null,"currentAmoUserId":null,"lang":"ru"}} {"uid":"cf9c925"}
[2026-09-03 09:15:27] docflow.INFO: Token is valid for account 22699852. [] {"uid":"cf9c925"}
[2026-09-03 09:15:27] docflow.DEBUG: getClientAuth returned {"auth":"[object] (stdClass: {\"domain\":\"emigrare.amocrm.ru\",\"access_token\":\"eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImp0aSI6ImE5MTllMGZkY2ZmNzJiMzM4NDhmNTA3MWVmNzE0YTYxZjUwMjI0ZjdhNGMyMzE0NTg2YzU2YTRlZWRmMWI2ZjAwYzY0NmU1YmExNzQ4MmYwIn0.eyJhdWQiOiIwZDY0ZGZmYi1lNTRiLTQ0OGYtOWZiZi1iYWYyMjUxYTExZGIiLCJqdGkiOiJhOTE5ZTBmZGNmZjcyYjMzODQ4ZjUwNzFlZjcxNGE2MWY1MDIyNGY3YTRjMjMxNDU4NmM1NmE0ZWVkZjFiNmYwMGM2NDZlNWJhMTc0ODJmMCIsImlhdCI6MTc4ODMzNDM4MCwibmJmIjoxNzg4MzM0MzgwLCJleHAiOjE3ODg0MjA3ODAsInN1YiI6IjI5MzAzODAiLCJncmFudF90eXBlIjoiIiwiYWNjb3VudF9pZCI6MjI2OTk4NTIsImJhc2VfZG9tYWluIjoiYW1vY3JtLnJ1IiwidmVyc2lvbiI6Miwic2NvcGVzIjpbInB1c2hfbm90aWZpY2F0aW9ucyIsImNybSIsIm5vdGlmaWNhdGlvbnMiXSwiaGFzaF91dWlkIjoiZDIyNWQ4ZDYtNDczMS00YjUwLThlNTMtNTE2YWI3MzJhNGM1IiwiYXBpX2RvbWFpbiI6ImFwaS1hLmFtb2NybS5ydSJ9.BwwxY_FLIdT97DRJh7LJqJTL-cvnRCGZRRQqcfdf-nf3Cw-dthBeV6nLQCCfUE5gm9hJ8FsDEAJZN5JL7XD4TntqumHBsdS7HenXiTn63vEcfvu3Boq0WZ-0JvUJ2X4mkJy5XwDXTwlAj_epWYHUrfSGJOKDEOrbJZhY1vx-O5UYvT06ZAzDbkPt7OlUN161D8_L45-tt6cd5NNeN1drsair6LAEi8PzjWXPNjTa2ygiHfRxmEo6NgVKNu0H0W1IuREi0tYeN3EBX71-FxtAafLF0wI-WEUSc7Kbs_yF5GEVHAdyBhVGwANPAu5tELuyOfrPE6y565dgI5RnsHzjyA\"})","file":"/home/ytvmclwh/document.amocrm.md/src/Models/Docs.php","line":121} {"uid":"cf9c925"}
[2026-09-03 09:15:29] docflow.DEBUG: AmoDrive docflow context request {"url":"https://google.emale.uno/api/docflow/google-context","query":{"account_id":"22699852","entity_id":"42548386","entity_type":"leads"}} {"uid":"cf9c925"}
[2026-09-03 09:15:29] docflow.WARNING: AmoDrive docflow context request failed {"url":"https://google.emale.uno/api/docflow/google-context","http_code":null,"error":"HTTP/2 400 ","response":"<!DOCTYPE HTML PUBLIC \"-//IETF//DTD HTML 2.0//EN\">\r\n<html>\r\n<head><title>400 Bad Request</title></head>\r\n<body>\r\n<center><h1>400 Bad Request</h1></center>\r\n Sorry for the inconvenience.<br/>\r\nPlease report this message and include the following information to us.<br/>\r\nThank you very much!</p>\r\n<table>\r\n<tr>\r\n<td>URL:</td>\r\n<td>https://gd.glucose-dev.online/api/docflow/google-context?account_id=22699852&amp;entity_id=42548386&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/09/03 09:15:29</td>\r\n</tr>\r\n</table>\r\n<hr><center>tengine</center>\r\n</body>\r\n</html>\r\n"} {"uid":"cf9c925"}
[2026-09-03 09:15:29] docflow.DEBUG: AmoDrive docflow context request {"url":"https://gd.glucose-dev.online/api/docflow/google-context","query":{"account_id":"22699852","entity_id":"42548386","entity_type":"leads"}} {"uid":"cf9c925"}
[2026-09-03 09:15:29] docflow.WARNING: AmoDrive docflow context response is not ready, trying next backend. {"url":"https://gd.glucose-dev.online/api/docflow/google-context","payload":{"ok":true,"accountId":22699852,"entityId":"42548386","entityType":"leads","amodrive":{"installed":false,"widgetStatus":"uninstalled","amoAccountId":22699852,"accountHost":"emigrare.amocrm.ru","license":{"status":"active","configuredStatus":"active","expiresAt":"2027-08-20T10:16:56.291Z","isExpired":false,"isTrial":false,"isActive":true,"expiredByDate":false,"daysRemaining":352,"isLifetime":false},"licenseActive":false,"googleConnected":false,"googleEmail":null,"googleHasDriveScope":false,"googleHasDriveFileScope":false,"googleHasOwnershipScope":false,"readyForGeneratedFileMove":false,"readyForTransfer":false},"folder":null}} {"uid":"cf9c925"}
[2026-09-03 09:15:29] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://google.emale.uno/api/docflow/prepare-generated-doc","payload":{"account_id":"22699852","entity_id":"42548386","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"cf9c925"}
[2026-09-03 09:15:29] docflow.WARNING: AmoDrive prepare-generated-doc request failed {"url":"https://google.emale.uno/api/docflow/prepare-generated-doc","http_code":null,"error":"HTTP/2 400 ","response":"<!DOCTYPE HTML PUBLIC \"-//IETF//DTD HTML 2.0//EN\">\r\n<html>\r\n<head><title>400 Bad Request</title></head>\r\n<body>\r\n<center><h1>400 Bad Request</h1></center>\r\n Sorry for the inconvenience.<br/>\r\nPlease report this message and include the following information to us.<br/>\r\nThank you very much!</p>\r\n<table>\r\n<tr>\r\n<td>URL:</td>\r\n<td>https://gd.glucose-dev.online/api/docflow/prepare-generated-doc</td>\r\n</tr>\r\n<tr>\r\n<td>Server:</td>\r\n<td>mail.glucose-dev.online</td>\r\n</tr>\r\n<tr>\r\n<td>Date:</td>\r\n<td>2026/09/03 09:15: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":"42548386","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"cf9c925"}
[2026-09-03 09:15:29] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://gd.glucose-dev.online/api/docflow/prepare-generated-doc","payload":{"account_id":"22699852","entity_id":"42548386","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"cf9c925"}
[2026-09-03 09:15:29] docflow.WARNING: AmoDrive prepare-generated-doc request failed {"url":"https://gd.glucose-dev.online/api/docflow/prepare-generated-doc","http_code":null,"error":"HTTP/2 404 ","response":"[object] (stdClass: {\"ok\":false,\"error\":\"AmoDrive is not installed for this account.\",\"accountId\":22699852})","payload":{"account_id":"22699852","entity_id":"42548386","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"cf9c925"}
[2026-09-03 09:15:29] docflow.DEBUG: GAS request {"url":"https://script.google.com/macros/s/AKfycbwrvOJD46zkuoTzdhpc1kulhV8jRfgQBFZfQ121nkIip_k8yKit4xrbWTOzaJ-C-Yed6w/exec","body":{"templateFileId":"1cmUcOeHAQ_tG9mkDp8xVcdKAxcfnrvlXbbsKpJ-Mq7k","accountId":"22699852","folderId":"1Us2AfskxgdA729xVr0F2vjZU9y5PlYDe","key":"~VTsK5dcnHc2cSSsjM$LFSjLlgbmJXwrp3R2P5nd","data":"{\"fileName\":\"\\u0421\\u043e\\u0433\\u043b\\u0430\\u0441\\u0438\\u0435 (\\u043a\\u043e\\u043d\\u0441\\u0443\\u043b\\u044c\\u0442\\u0430\\u0446\\u0438\\u044f) 68 20260903091529\",\"leadId\":\"42548386\",\"entities\":{\"\\u0441\\u0434\\u0435\\u043b\\u043a\\u0430\":{\"Brand\":\"Emigrare.md\",\"Shema\":\"Emigrare\",\"Suma \\u20ac\":\"0\",\"tree_name\":\"Emigrare\",\"ID\":\"42548386\",\"\\u0421\\u0434\\u0435\\u043b\\u043a\\u0430_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"PS\",\"Lead_name\":\"PS\",\"\\u0411\\u044e\\u0434\\u0436\\u0435\\u0442\":\"0\",\"Budget\":\"0\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"Untila Dorina\",\"Responsible\":\"Untila Dorina\"},\"lead\":{\"Brand\":\"Emigrare.md\",\"Shema\":\"Emigrare\",\"Suma \\u20ac\":\"0\",\"tree_name\":\"Emigrare\",\"ID\":\"42548386\",\"\\u0421\\u0434\\u0435\\u043b\\u043a\\u0430_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"PS\",\"Lead_name\":\"PS\",\"\\u0411\\u044e\\u0434\\u0436\\u0435\\u0442\":\"0\",\"Budget\":\"0\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"Untila Dorina\",\"Responsible\":\"Untila Dorina\"},\"\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442\":{\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"37360288558\",\"TelegramId_WZ\":\"7735499972\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Contact 37360288558\",\"Contact_name\":\"Contact 37360288558\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"Untila Dorina\",\"Responsible\":\"Untila Dorina\"},\"contact\":{\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"37360288558\",\"TelegramId_WZ\":\"7735499972\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Contact 37360288558\",\"Contact_name\":\"Contact 37360288558\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"Untila Dorina\",\"Responsible\":\"Untila Dorina\"},\"\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442\\u044b\":[{\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"37360288558\",\"TelegramId_WZ\":\"7735499972\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Contact 37360288558\",\"\\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\":\"03.09.2026\",\"\\u041d\\u043e\\u043c\\u0435\\u0440\":\"68\"},\"document\":{\"Date\":\"03.09.2026\",\"Number\":\"68\"}}}","edit":true}} {"uid":"cf9c925"}
[2026-09-03 09:15:36] docflow.DEBUG: GAS raw response {"raw":"[object] (stdClass: {\"code\":1,\"url\":\"https://docs.google.com/open?id=1S21J-w7aUHybKA7l1YQLjbu9iprmkcpxM7VBfBWPjtE\",\"file_id\":\"1S21J-w7aUHybKA7l1YQLjbu9iprmkcpxM7VBfBWPjtE\",\"error\":\"\",\"vars\":\"\"})"} {"uid":"cf9c925"}
[2026-09-03 09:15:36] docflow.WARNING: AmoDrive generated-file move is not ready. {"fileId":"1S21J-w7aUHybKA7l1YQLjbu9iprmkcpxM7VBfBWPjtE","context":null} {"uid":"cf9c925"}
[2026-09-03 09:20:10] docflow.INFO: Apel createDoc {"data":{"amoAccountId":"22699852","amoUserId":null,"amoEntityId":"42255038","amoEntityType":"2","templateId":"11501","corporateEntityId":"","settlementAccountId":"","is_signed":null,"gdi":null,"number":null,"currentAmoUserId":null,"lang":"ru"}} {"uid":"197f8b9"}
[2026-09-03 09:20:10] docflow.INFO: Token is valid for account 22699852. [] {"uid":"197f8b9"}
[2026-09-03 09:20:10] docflow.DEBUG: getClientAuth returned {"auth":"[object] (stdClass: {\"domain\":\"emigrare.amocrm.ru\",\"access_token\":\"eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImp0aSI6ImE5MTllMGZkY2ZmNzJiMzM4NDhmNTA3MWVmNzE0YTYxZjUwMjI0ZjdhNGMyMzE0NTg2YzU2YTRlZWRmMWI2ZjAwYzY0NmU1YmExNzQ4MmYwIn0.eyJhdWQiOiIwZDY0ZGZmYi1lNTRiLTQ0OGYtOWZiZi1iYWYyMjUxYTExZGIiLCJqdGkiOiJhOTE5ZTBmZGNmZjcyYjMzODQ4ZjUwNzFlZjcxNGE2MWY1MDIyNGY3YTRjMjMxNDU4NmM1NmE0ZWVkZjFiNmYwMGM2NDZlNWJhMTc0ODJmMCIsImlhdCI6MTc4ODMzNDM4MCwibmJmIjoxNzg4MzM0MzgwLCJleHAiOjE3ODg0MjA3ODAsInN1YiI6IjI5MzAzODAiLCJncmFudF90eXBlIjoiIiwiYWNjb3VudF9pZCI6MjI2OTk4NTIsImJhc2VfZG9tYWluIjoiYW1vY3JtLnJ1IiwidmVyc2lvbiI6Miwic2NvcGVzIjpbInB1c2hfbm90aWZpY2F0aW9ucyIsImNybSIsIm5vdGlmaWNhdGlvbnMiXSwiaGFzaF91dWlkIjoiZDIyNWQ4ZDYtNDczMS00YjUwLThlNTMtNTE2YWI3MzJhNGM1IiwiYXBpX2RvbWFpbiI6ImFwaS1hLmFtb2NybS5ydSJ9.BwwxY_FLIdT97DRJh7LJqJTL-cvnRCGZRRQqcfdf-nf3Cw-dthBeV6nLQCCfUE5gm9hJ8FsDEAJZN5JL7XD4TntqumHBsdS7HenXiTn63vEcfvu3Boq0WZ-0JvUJ2X4mkJy5XwDXTwlAj_epWYHUrfSGJOKDEOrbJZhY1vx-O5UYvT06ZAzDbkPt7OlUN161D8_L45-tt6cd5NNeN1drsair6LAEi8PzjWXPNjTa2ygiHfRxmEo6NgVKNu0H0W1IuREi0tYeN3EBX71-FxtAafLF0wI-WEUSc7Kbs_yF5GEVHAdyBhVGwANPAu5tELuyOfrPE6y565dgI5RnsHzjyA\"})","file":"/home/ytvmclwh/document.amocrm.md/src/Models/Docs.php","line":121} {"uid":"197f8b9"}
[2026-09-03 09:20:13] docflow.DEBUG: AmoDrive docflow context request {"url":"https://google.emale.uno/api/docflow/google-context","query":{"account_id":"22699852","entity_id":"42255038","entity_type":"leads"}} {"uid":"197f8b9"}
[2026-09-03 09:20: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=42255038&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/09/03 09:20:13</td>\r\n</tr>\r\n</table>\r\n<hr><center>tengine</center>\r\n</body>\r\n</html>\r\n"} {"uid":"197f8b9"}
[2026-09-03 09:20:13] docflow.DEBUG: AmoDrive docflow context request {"url":"https://gd.glucose-dev.online/api/docflow/google-context","query":{"account_id":"22699852","entity_id":"42255038","entity_type":"leads"}} {"uid":"197f8b9"}
[2026-09-03 09:20:13] docflow.WARNING: AmoDrive docflow context response is not ready, trying next backend. {"url":"https://gd.glucose-dev.online/api/docflow/google-context","payload":{"ok":true,"accountId":22699852,"entityId":"42255038","entityType":"leads","amodrive":{"installed":false,"widgetStatus":"uninstalled","amoAccountId":22699852,"accountHost":"emigrare.amocrm.ru","license":{"status":"active","configuredStatus":"active","expiresAt":"2027-08-20T10:16:56.291Z","isExpired":false,"isTrial":false,"isActive":true,"expiredByDate":false,"daysRemaining":352,"isLifetime":false},"licenseActive":false,"googleConnected":false,"googleEmail":null,"googleHasDriveScope":false,"googleHasDriveFileScope":false,"googleHasOwnershipScope":false,"readyForGeneratedFileMove":false,"readyForTransfer":false},"folder":{"id":"1CLKinBAKIcNDMv5nD7Vjf_BIQ8qIdTep","name":"42255038 - Lead #42255038","webViewLink":"https://drive.google.com/drive/folders/1CLKinBAKIcNDMv5nD7Vjf_BIQ8qIdTep"}}} {"uid":"197f8b9"}
[2026-09-03 09:20:13] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://google.emale.uno/api/docflow/prepare-generated-doc","payload":{"account_id":"22699852","entity_id":"42255038","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"197f8b9"}
[2026-09-03 09:20: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/09/03 09:20:13</td>\r\n</tr>\r\n</table>\r\n<hr><center>tengine</center>\r\n</body>\r\n</html>\r\n","payload":{"account_id":"22699852","entity_id":"42255038","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"197f8b9"}
[2026-09-03 09:20: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":"42255038","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"197f8b9"}
[2026-09-03 09:20:13] docflow.WARNING: AmoDrive prepare-generated-doc request failed {"url":"https://gd.glucose-dev.online/api/docflow/prepare-generated-doc","http_code":null,"error":"HTTP/2 404 ","response":"[object] (stdClass: {\"ok\":false,\"error\":\"AmoDrive is not installed for this account.\",\"accountId\":22699852})","payload":{"account_id":"22699852","entity_id":"42255038","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"197f8b9"}
[2026-09-03 09:20:13] docflow.DEBUG: GAS request {"url":"https://script.google.com/macros/s/AKfycbwrvOJD46zkuoTzdhpc1kulhV8jRfgQBFZfQ121nkIip_k8yKit4xrbWTOzaJ-C-Yed6w/exec","body":{"templateFileId":"1x1zxaxrp1LDWZEw9UD72HujRNhGaZgwjFm3OngS7l7o","accountId":"22699852","folderId":"1Us2AfskxgdA729xVr0F2vjZU9y5PlYDe","key":"~VTsK5dcnHc2cSSsjM$LFSjLlgbmJXwrp3R2P5nd","data":"{\"fileName\":\"Act de predare (servicii prestate) 128 20260903092013\",\"leadId\":\"42255038\",\"entities\":{\"\\u0441\\u0434\\u0435\\u043b\\u043a\\u0430\":{\"#Manager Front\":\"Cezara Cenusa\",\"Urm\\u0103torul contact\":\"2026-06-29 10:57:00\",\"Mod achitare\":\"Cash\",\"Suma avans\":\"1025\",\"Manager Juridic\":\"Dascal Anatolie\",\"#Manager Jurist\":\"Dascal Anatolie\",\"ID\":\"42255038\",\"\\u0421\\u0434\\u0435\\u043b\\u043a\\u0430_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"PS\\/adeverinta IGM (Mekhed Tatiana)\",\"Lead_name\":\"PS\\/adeverinta IGM (Mekhed Tatiana)\",\"\\u0411\\u044e\\u0434\\u0436\\u0435\\u0442\":\"2050\",\"Budget\":\"2050\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"Cezara Cenusa\",\"Responsible\":\"Cezara Cenusa\"},\"lead\":{\"#Manager Front\":\"Cezara Cenusa\",\"Urm\\u0103torul contact\":\"2026-06-29 10:57:00\",\"Mod achitare\":\"Cash\",\"Suma avans\":\"1025\",\"Manager Juridic\":\"Dascal Anatolie\",\"#Manager Jurist\":\"Dascal Anatolie\",\"ID\":\"42255038\",\"\\u0421\\u0434\\u0435\\u043b\\u043a\\u0430_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"PS\\/adeverinta IGM (Mekhed Tatiana)\",\"Lead_name\":\"PS\\/adeverinta IGM (Mekhed Tatiana)\",\"\\u0411\\u044e\\u0434\\u0436\\u0435\\u0442\":\"2050\",\"Budget\":\"2050\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"Cezara Cenusa\",\"Responsible\":\"Cezara Cenusa\"},\"\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442\":{\"Cet\\u0103\\u021benie de\\u021binut\\u0103\":\"RM\",\"Cum Comunicam\":\"Watsap\",\"Limba vorbita\":\"Rusa\",\"Email\":\"vladimir@myreis.ru\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"+79096834653\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Russ Vladimir (Alexandr)\",\"Contact_name\":\"Russ Vladimir (Alexandr)\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"Capanji Igor\",\"Responsible\":\"Capanji Igor\"},\"contact\":{\"Cet\\u0103\\u021benie de\\u021binut\\u0103\":\"RM\",\"Cum Comunicam\":\"Watsap\",\"Limba vorbita\":\"Rusa\",\"Email\":\"vladimir@myreis.ru\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"+79096834653\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Russ Vladimir (Alexandr)\",\"Contact_name\":\"Russ Vladimir (Alexandr)\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"Capanji Igor\",\"Responsible\":\"Capanji Igor\"},\"\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442\\u044b\":[{\"Cet\\u0103\\u021benie de\\u021binut\\u0103\":\"RM\",\"Cum Comunicam\":\"Watsap\",\"Limba vorbita\":\"Rusa\",\"Email\":\"vladimir@myreis.ru\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"+79096834653\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Russ Vladimir (Alexandr)\",\"\\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\":\"03.09.2026\",\"\\u041d\\u043e\\u043c\\u0435\\u0440\":\"128\"},\"document\":{\"Date\":\"03.09.2026\",\"Number\":\"128\"}}}","edit":true}} {"uid":"197f8b9"}
[2026-09-03 09:20:20] docflow.DEBUG: GAS raw response {"raw":"[object] (stdClass: {\"code\":1,\"url\":\"https://docs.google.com/open?id=19bjf7GnYWVt7XEXRAXwBX71rhAGY3OslzTqyr_Sybqk\",\"file_id\":\"19bjf7GnYWVt7XEXRAXwBX71rhAGY3OslzTqyr_Sybqk\",\"error\":\"\",\"vars\":\"\"})"} {"uid":"197f8b9"}
[2026-09-03 09:20:20] docflow.WARNING: AmoDrive generated-file move is not ready. {"fileId":"19bjf7GnYWVt7XEXRAXwBX71rhAGY3OslzTqyr_Sybqk","context":null} {"uid":"197f8b9"}
[2026-09-03 10:15:24] docflow.INFO: Apel createDoc {"data":{"amoAccountId":"22699852","amoUserId":null,"amoEntityId":"42575804","amoEntityType":"2","templateId":"11487","corporateEntityId":"","settlementAccountId":"","is_signed":null,"gdi":null,"number":null,"currentAmoUserId":null,"lang":"ru"}} {"uid":"1c6b8e7"}
[2026-09-03 10:15:25] docflow.INFO: Token is valid for account 22699852. [] {"uid":"1c6b8e7"}
[2026-09-03 10:15:25] docflow.DEBUG: getClientAuth returned {"auth":"[object] (stdClass: {\"domain\":\"emigrare.amocrm.ru\",\"access_token\":\"eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImp0aSI6ImE5MTllMGZkY2ZmNzJiMzM4NDhmNTA3MWVmNzE0YTYxZjUwMjI0ZjdhNGMyMzE0NTg2YzU2YTRlZWRmMWI2ZjAwYzY0NmU1YmExNzQ4MmYwIn0.eyJhdWQiOiIwZDY0ZGZmYi1lNTRiLTQ0OGYtOWZiZi1iYWYyMjUxYTExZGIiLCJqdGkiOiJhOTE5ZTBmZGNmZjcyYjMzODQ4ZjUwNzFlZjcxNGE2MWY1MDIyNGY3YTRjMjMxNDU4NmM1NmE0ZWVkZjFiNmYwMGM2NDZlNWJhMTc0ODJmMCIsImlhdCI6MTc4ODMzNDM4MCwibmJmIjoxNzg4MzM0MzgwLCJleHAiOjE3ODg0MjA3ODAsInN1YiI6IjI5MzAzODAiLCJncmFudF90eXBlIjoiIiwiYWNjb3VudF9pZCI6MjI2OTk4NTIsImJhc2VfZG9tYWluIjoiYW1vY3JtLnJ1IiwidmVyc2lvbiI6Miwic2NvcGVzIjpbInB1c2hfbm90aWZpY2F0aW9ucyIsImNybSIsIm5vdGlmaWNhdGlvbnMiXSwiaGFzaF91dWlkIjoiZDIyNWQ4ZDYtNDczMS00YjUwLThlNTMtNTE2YWI3MzJhNGM1IiwiYXBpX2RvbWFpbiI6ImFwaS1hLmFtb2NybS5ydSJ9.BwwxY_FLIdT97DRJh7LJqJTL-cvnRCGZRRQqcfdf-nf3Cw-dthBeV6nLQCCfUE5gm9hJ8FsDEAJZN5JL7XD4TntqumHBsdS7HenXiTn63vEcfvu3Boq0WZ-0JvUJ2X4mkJy5XwDXTwlAj_epWYHUrfSGJOKDEOrbJZhY1vx-O5UYvT06ZAzDbkPt7OlUN161D8_L45-tt6cd5NNeN1drsair6LAEi8PzjWXPNjTa2ygiHfRxmEo6NgVKNu0H0W1IuREi0tYeN3EBX71-FxtAafLF0wI-WEUSc7Kbs_yF5GEVHAdyBhVGwANPAu5tELuyOfrPE6y565dgI5RnsHzjyA\"})","file":"/home/ytvmclwh/document.amocrm.md/src/Models/Docs.php","line":121} {"uid":"1c6b8e7"}
[2026-09-03 10:15:27] docflow.DEBUG: AmoDrive docflow context request {"url":"https://google.emale.uno/api/docflow/google-context","query":{"account_id":"22699852","entity_id":"42575804","entity_type":"leads"}} {"uid":"1c6b8e7"}
[2026-09-03 10:15:27] docflow.WARNING: AmoDrive docflow context request failed {"url":"https://google.emale.uno/api/docflow/google-context","http_code":null,"error":"HTTP/2 400 ","response":"<!DOCTYPE HTML PUBLIC \"-//IETF//DTD HTML 2.0//EN\">\r\n<html>\r\n<head><title>400 Bad Request</title></head>\r\n<body>\r\n<center><h1>400 Bad Request</h1></center>\r\n Sorry for the inconvenience.<br/>\r\nPlease report this message and include the following information to us.<br/>\r\nThank you very much!</p>\r\n<table>\r\n<tr>\r\n<td>URL:</td>\r\n<td>https://gd.glucose-dev.online/api/docflow/google-context?account_id=22699852&amp;entity_id=42575804&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/09/03 10:15:27</td>\r\n</tr>\r\n</table>\r\n<hr><center>tengine</center>\r\n</body>\r\n</html>\r\n"} {"uid":"1c6b8e7"}
[2026-09-03 10:15:27] docflow.DEBUG: AmoDrive docflow context request {"url":"https://gd.glucose-dev.online/api/docflow/google-context","query":{"account_id":"22699852","entity_id":"42575804","entity_type":"leads"}} {"uid":"1c6b8e7"}
[2026-09-03 10:15:27] docflow.WARNING: AmoDrive docflow context response is not ready, trying next backend. {"url":"https://gd.glucose-dev.online/api/docflow/google-context","payload":{"ok":true,"accountId":22699852,"entityId":"42575804","entityType":"leads","amodrive":{"installed":false,"widgetStatus":"uninstalled","amoAccountId":22699852,"accountHost":"emigrare.amocrm.ru","license":{"status":"active","configuredStatus":"active","expiresAt":"2027-08-20T10:16:56.291Z","isExpired":false,"isTrial":false,"isActive":true,"expiredByDate":false,"daysRemaining":352,"isLifetime":false},"licenseActive":false,"googleConnected":false,"googleEmail":null,"googleHasDriveScope":false,"googleHasDriveFileScope":false,"googleHasOwnershipScope":false,"readyForGeneratedFileMove":false,"readyForTransfer":false},"folder":{"id":"11fn4aWv2NDAUc_TARki1eaouoWtFpllG","name":"42575804 - Lead #42575804","webViewLink":"https://drive.google.com/drive/folders/11fn4aWv2NDAUc_TARki1eaouoWtFpllG"}}} {"uid":"1c6b8e7"}
[2026-09-03 10:15:27] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://google.emale.uno/api/docflow/prepare-generated-doc","payload":{"account_id":"22699852","entity_id":"42575804","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"1c6b8e7"}
[2026-09-03 10:15:27] docflow.WARNING: AmoDrive prepare-generated-doc request failed {"url":"https://google.emale.uno/api/docflow/prepare-generated-doc","http_code":null,"error":"HTTP/2 400 ","response":"<!DOCTYPE HTML PUBLIC \"-//IETF//DTD HTML 2.0//EN\">\r\n<html>\r\n<head><title>400 Bad Request</title></head>\r\n<body>\r\n<center><h1>400 Bad Request</h1></center>\r\n Sorry for the inconvenience.<br/>\r\nPlease report this message and include the following information to us.<br/>\r\nThank you very much!</p>\r\n<table>\r\n<tr>\r\n<td>URL:</td>\r\n<td>https://gd.glucose-dev.online/api/docflow/prepare-generated-doc</td>\r\n</tr>\r\n<tr>\r\n<td>Server:</td>\r\n<td>mail.glucose-dev.online</td>\r\n</tr>\r\n<tr>\r\n<td>Date:</td>\r\n<td>2026/09/03 10:15:27</td>\r\n</tr>\r\n</table>\r\n<hr><center>tengine</center>\r\n</body>\r\n</html>\r\n","payload":{"account_id":"22699852","entity_id":"42575804","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"1c6b8e7"}
[2026-09-03 10:15:27] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://gd.glucose-dev.online/api/docflow/prepare-generated-doc","payload":{"account_id":"22699852","entity_id":"42575804","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"1c6b8e7"}
[2026-09-03 10:15:27] docflow.WARNING: AmoDrive prepare-generated-doc request failed {"url":"https://gd.glucose-dev.online/api/docflow/prepare-generated-doc","http_code":null,"error":"HTTP/2 404 ","response":"[object] (stdClass: {\"ok\":false,\"error\":\"AmoDrive is not installed for this account.\",\"accountId\":22699852})","payload":{"account_id":"22699852","entity_id":"42575804","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"1c6b8e7"}
[2026-09-03 10:15:27] docflow.DEBUG: GAS request {"url":"https://script.google.com/macros/s/AKfycbwrvOJD46zkuoTzdhpc1kulhV8jRfgQBFZfQ121nkIip_k8yKit4xrbWTOzaJ-C-Yed6w/exec","body":{"templateFileId":"1Qs2KktxXVCWrpdnvN8VsXGZnUkoSyqidawI8Gy962Yg","accountId":"22699852","folderId":"1Us2AfskxgdA729xVr0F2vjZU9y5PlYDe","key":"~VTsK5dcnHc2cSSsjM$LFSjLlgbmJXwrp3R2P5nd","data":"{\"fileName\":\"Diverse 1262 20260903101527\",\"leadId\":\"42575804\",\"entities\":{\"\\u0441\\u0434\\u0435\\u043b\\u043a\\u0430\":{\"Suma \\u20ac\":\"0\",\"#Manager Front\":\"Cezara Cenusa\",\"Urm\\u0103torul contact\":\"2026-08-31 15:47:00\",\"Mod achitare\":\"Transfer card \\u0421\\u0431\\u0435\\u0440\\u0411\\u0430\\u043d\\u043a\",\"Suma avans\":\"750\",\"Manager Juridic\":\"Dascal Anatolie\",\"#Manager Jurist\":\"Dascal Anatolie\",\"ID\":\"42575804\",\"\\u0421\\u0434\\u0435\\u043b\\u043a\\u0430_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"rectificare CN (Bacaseva Lida)\",\"Lead_name\":\"rectificare CN (Bacaseva Lida)\",\"\\u0411\\u044e\\u0434\\u0436\\u0435\\u0442\":\"750\",\"Budget\":\"750\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"Victor Ochinciuc\",\"Responsible\":\"Victor Ochinciuc\"},\"lead\":{\"Suma \\u20ac\":\"0\",\"#Manager Front\":\"Cezara Cenusa\",\"Urm\\u0103torul contact\":\"2026-08-31 15:47:00\",\"Mod achitare\":\"Transfer card \\u0421\\u0431\\u0435\\u0440\\u0411\\u0430\\u043d\\u043a\",\"Suma avans\":\"750\",\"Manager Juridic\":\"Dascal Anatolie\",\"#Manager Jurist\":\"Dascal Anatolie\",\"ID\":\"42575804\",\"\\u0421\\u0434\\u0435\\u043b\\u043a\\u0430_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"rectificare CN (Bacaseva Lida)\",\"Lead_name\":\"rectificare CN (Bacaseva Lida)\",\"\\u0411\\u044e\\u0434\\u0436\\u0435\\u0442\":\"750\",\"Budget\":\"750\",\"\\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\":{\"WhatsappLid_WZ\":\"263767464136722\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"+79859826529\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"\\u041d\\u0430\\u0442\\u0430\\u043b\\u044c\\u044f\",\"Contact_name\":\"\\u041d\\u0430\\u0442\\u0430\\u043b\\u044c\\u044f\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"Victor Ochinciuc\",\"Responsible\":\"Victor Ochinciuc\"},\"contact\":{\"WhatsappLid_WZ\":\"263767464136722\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"+79859826529\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"\\u041d\\u0430\\u0442\\u0430\\u043b\\u044c\\u044f\",\"Contact_name\":\"\\u041d\\u0430\\u0442\\u0430\\u043b\\u044c\\u044f\",\"\\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\":[{\"WhatsappLid_WZ\":\"263767464136722\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"+79859826529\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"\\u041d\\u0430\\u0442\\u0430\\u043b\\u044c\\u044f\",\"\\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\":\"03.09.2026\",\"\\u041d\\u043e\\u043c\\u0435\\u0440\":\"1262\"},\"document\":{\"Date\":\"03.09.2026\",\"Number\":\"1262\"}}}","edit":true}} {"uid":"1c6b8e7"}
[2026-09-03 10:15:34] docflow.DEBUG: GAS raw response {"raw":"[object] (stdClass: {\"code\":1,\"url\":\"https://docs.google.com/open?id=1Br6hVCMHcEZXie-aJqg6M1VJoMt6NcHWkTKVAIyKIxw\",\"file_id\":\"1Br6hVCMHcEZXie-aJqg6M1VJoMt6NcHWkTKVAIyKIxw\",\"error\":\"\",\"vars\":\"\"})"} {"uid":"1c6b8e7"}
[2026-09-03 10:15:34] docflow.WARNING: AmoDrive generated-file move is not ready. {"fileId":"1Br6hVCMHcEZXie-aJqg6M1VJoMt6NcHWkTKVAIyKIxw","context":null} {"uid":"1c6b8e7"}
[2026-09-03 10:16:04] docflow.INFO: Apel createDoc {"data":{"amoAccountId":"22699852","amoUserId":null,"amoEntityId":"42575804","amoEntityType":"2","templateId":"11515","corporateEntityId":"","settlementAccountId":"","is_signed":null,"gdi":null,"number":null,"currentAmoUserId":null,"lang":"ru"}} {"uid":"6f0165a"}
[2026-09-03 10:16:04] docflow.INFO: Token is valid for account 22699852. [] {"uid":"6f0165a"}
[2026-09-03 10:16:04] docflow.DEBUG: getClientAuth returned {"auth":"[object] (stdClass: {\"domain\":\"emigrare.amocrm.ru\",\"access_token\":\"eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImp0aSI6ImE5MTllMGZkY2ZmNzJiMzM4NDhmNTA3MWVmNzE0YTYxZjUwMjI0ZjdhNGMyMzE0NTg2YzU2YTRlZWRmMWI2ZjAwYzY0NmU1YmExNzQ4MmYwIn0.eyJhdWQiOiIwZDY0ZGZmYi1lNTRiLTQ0OGYtOWZiZi1iYWYyMjUxYTExZGIiLCJqdGkiOiJhOTE5ZTBmZGNmZjcyYjMzODQ4ZjUwNzFlZjcxNGE2MWY1MDIyNGY3YTRjMjMxNDU4NmM1NmE0ZWVkZjFiNmYwMGM2NDZlNWJhMTc0ODJmMCIsImlhdCI6MTc4ODMzNDM4MCwibmJmIjoxNzg4MzM0MzgwLCJleHAiOjE3ODg0MjA3ODAsInN1YiI6IjI5MzAzODAiLCJncmFudF90eXBlIjoiIiwiYWNjb3VudF9pZCI6MjI2OTk4NTIsImJhc2VfZG9tYWluIjoiYW1vY3JtLnJ1IiwidmVyc2lvbiI6Miwic2NvcGVzIjpbInB1c2hfbm90aWZpY2F0aW9ucyIsImNybSIsIm5vdGlmaWNhdGlvbnMiXSwiaGFzaF91dWlkIjoiZDIyNWQ4ZDYtNDczMS00YjUwLThlNTMtNTE2YWI3MzJhNGM1IiwiYXBpX2RvbWFpbiI6ImFwaS1hLmFtb2NybS5ydSJ9.BwwxY_FLIdT97DRJh7LJqJTL-cvnRCGZRRQqcfdf-nf3Cw-dthBeV6nLQCCfUE5gm9hJ8FsDEAJZN5JL7XD4TntqumHBsdS7HenXiTn63vEcfvu3Boq0WZ-0JvUJ2X4mkJy5XwDXTwlAj_epWYHUrfSGJOKDEOrbJZhY1vx-O5UYvT06ZAzDbkPt7OlUN161D8_L45-tt6cd5NNeN1drsair6LAEi8PzjWXPNjTa2ygiHfRxmEo6NgVKNu0H0W1IuREi0tYeN3EBX71-FxtAafLF0wI-WEUSc7Kbs_yF5GEVHAdyBhVGwANPAu5tELuyOfrPE6y565dgI5RnsHzjyA\"})","file":"/home/ytvmclwh/document.amocrm.md/src/Models/Docs.php","line":121} {"uid":"6f0165a"}
[2026-09-03 10:16:07] docflow.DEBUG: AmoDrive docflow context request {"url":"https://google.emale.uno/api/docflow/google-context","query":{"account_id":"22699852","entity_id":"42575804","entity_type":"leads"}} {"uid":"6f0165a"}
[2026-09-03 10:16:07] docflow.WARNING: AmoDrive docflow context request failed {"url":"https://google.emale.uno/api/docflow/google-context","http_code":null,"error":"HTTP/2 400 ","response":"<!DOCTYPE HTML PUBLIC \"-//IETF//DTD HTML 2.0//EN\">\r\n<html>\r\n<head><title>400 Bad Request</title></head>\r\n<body>\r\n<center><h1>400 Bad Request</h1></center>\r\n Sorry for the inconvenience.<br/>\r\nPlease report this message and include the following information to us.<br/>\r\nThank you very much!</p>\r\n<table>\r\n<tr>\r\n<td>URL:</td>\r\n<td>https://gd.glucose-dev.online/api/docflow/google-context?account_id=22699852&amp;entity_id=42575804&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/09/03 10:16:07</td>\r\n</tr>\r\n</table>\r\n<hr><center>tengine</center>\r\n</body>\r\n</html>\r\n"} {"uid":"6f0165a"}
[2026-09-03 10:16:07] docflow.DEBUG: AmoDrive docflow context request {"url":"https://gd.glucose-dev.online/api/docflow/google-context","query":{"account_id":"22699852","entity_id":"42575804","entity_type":"leads"}} {"uid":"6f0165a"}
[2026-09-03 10:16:07] docflow.WARNING: AmoDrive docflow context response is not ready, trying next backend. {"url":"https://gd.glucose-dev.online/api/docflow/google-context","payload":{"ok":true,"accountId":22699852,"entityId":"42575804","entityType":"leads","amodrive":{"installed":false,"widgetStatus":"uninstalled","amoAccountId":22699852,"accountHost":"emigrare.amocrm.ru","license":{"status":"active","configuredStatus":"active","expiresAt":"2027-08-20T10:16:56.291Z","isExpired":false,"isTrial":false,"isActive":true,"expiredByDate":false,"daysRemaining":352,"isLifetime":false},"licenseActive":false,"googleConnected":false,"googleEmail":null,"googleHasDriveScope":false,"googleHasDriveFileScope":false,"googleHasOwnershipScope":false,"readyForGeneratedFileMove":false,"readyForTransfer":false},"folder":{"id":"11fn4aWv2NDAUc_TARki1eaouoWtFpllG","name":"42575804 - Lead #42575804","webViewLink":"https://drive.google.com/drive/folders/11fn4aWv2NDAUc_TARki1eaouoWtFpllG"}}} {"uid":"6f0165a"}
[2026-09-03 10:16:07] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://google.emale.uno/api/docflow/prepare-generated-doc","payload":{"account_id":"22699852","entity_id":"42575804","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"6f0165a"}
[2026-09-03 10:16:07] docflow.WARNING: AmoDrive prepare-generated-doc request failed {"url":"https://google.emale.uno/api/docflow/prepare-generated-doc","http_code":null,"error":"HTTP/2 400 ","response":"<!DOCTYPE HTML PUBLIC \"-//IETF//DTD HTML 2.0//EN\">\r\n<html>\r\n<head><title>400 Bad Request</title></head>\r\n<body>\r\n<center><h1>400 Bad Request</h1></center>\r\n Sorry for the inconvenience.<br/>\r\nPlease report this message and include the following information to us.<br/>\r\nThank you very much!</p>\r\n<table>\r\n<tr>\r\n<td>URL:</td>\r\n<td>https://gd.glucose-dev.online/api/docflow/prepare-generated-doc</td>\r\n</tr>\r\n<tr>\r\n<td>Server:</td>\r\n<td>mail.glucose-dev.online</td>\r\n</tr>\r\n<tr>\r\n<td>Date:</td>\r\n<td>2026/09/03 10:16:07</td>\r\n</tr>\r\n</table>\r\n<hr><center>tengine</center>\r\n</body>\r\n</html>\r\n","payload":{"account_id":"22699852","entity_id":"42575804","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"6f0165a"}
[2026-09-03 10:16:07] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://gd.glucose-dev.online/api/docflow/prepare-generated-doc","payload":{"account_id":"22699852","entity_id":"42575804","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"6f0165a"}
[2026-09-03 10:16:07] docflow.WARNING: AmoDrive prepare-generated-doc request failed {"url":"https://gd.glucose-dev.online/api/docflow/prepare-generated-doc","http_code":null,"error":"HTTP/2 404 ","response":"[object] (stdClass: {\"ok\":false,\"error\":\"AmoDrive is not installed for this account.\",\"accountId\":22699852})","payload":{"account_id":"22699852","entity_id":"42575804","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"6f0165a"}
[2026-09-03 10:16:07] docflow.DEBUG: GAS request {"url":"https://script.google.com/macros/s/AKfycbwrvOJD46zkuoTzdhpc1kulhV8jRfgQBFZfQ121nkIip_k8yKit4xrbWTOzaJ-C-Yed6w/exec","body":{"templateFileId":"1SzGXEYI835Reg_M1AEPsRjzZ3ZvcLb1cGlMSjWjG9_s","accountId":"22699852","folderId":"1Us2AfskxgdA729xVr0F2vjZU9y5PlYDe","key":"~VTsK5dcnHc2cSSsjM$LFSjLlgbmJXwrp3R2P5nd","data":"{\"fileName\":\"\\u0421\\u0447\\u0435\\u0442 \\u043d\\u0430 \\u043e\\u043f\\u043b\\u0430\\u0442\\u0443 (Sber) 1658 20260903101607\",\"leadId\":\"42575804\",\"entities\":{\"\\u0441\\u0434\\u0435\\u043b\\u043a\\u0430\":{\"Suma \\u20ac\":\"0\",\"#Manager Front\":\"Cezara Cenusa\",\"Urm\\u0103torul contact\":\"2026-08-31 15:47:00\",\"Mod achitare\":\"Transfer card \\u0421\\u0431\\u0435\\u0440\\u0411\\u0430\\u043d\\u043a\",\"Suma avans\":\"750\",\"Manager Juridic\":\"Dascal Anatolie\",\"#Manager Jurist\":\"Dascal Anatolie\",\"ID\":\"42575804\",\"\\u0421\\u0434\\u0435\\u043b\\u043a\\u0430_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"rectificare CN (Bacaseva Lida)\",\"Lead_name\":\"rectificare CN (Bacaseva Lida)\",\"\\u0411\\u044e\\u0434\\u0436\\u0435\\u0442\":\"750\",\"Budget\":\"750\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"Victor Ochinciuc\",\"Responsible\":\"Victor Ochinciuc\"},\"lead\":{\"Suma \\u20ac\":\"0\",\"#Manager Front\":\"Cezara Cenusa\",\"Urm\\u0103torul contact\":\"2026-08-31 15:47:00\",\"Mod achitare\":\"Transfer card \\u0421\\u0431\\u0435\\u0440\\u0411\\u0430\\u043d\\u043a\",\"Suma avans\":\"750\",\"Manager Juridic\":\"Dascal Anatolie\",\"#Manager Jurist\":\"Dascal Anatolie\",\"ID\":\"42575804\",\"\\u0421\\u0434\\u0435\\u043b\\u043a\\u0430_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"rectificare CN (Bacaseva Lida)\",\"Lead_name\":\"rectificare CN (Bacaseva Lida)\",\"\\u0411\\u044e\\u0434\\u0436\\u0435\\u0442\":\"750\",\"Budget\":\"750\",\"\\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\":{\"WhatsappLid_WZ\":\"263767464136722\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"+79859826529\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"\\u041d\\u0430\\u0442\\u0430\\u043b\\u044c\\u044f\",\"Contact_name\":\"\\u041d\\u0430\\u0442\\u0430\\u043b\\u044c\\u044f\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"Victor Ochinciuc\",\"Responsible\":\"Victor Ochinciuc\"},\"contact\":{\"WhatsappLid_WZ\":\"263767464136722\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"+79859826529\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"\\u041d\\u0430\\u0442\\u0430\\u043b\\u044c\\u044f\",\"Contact_name\":\"\\u041d\\u0430\\u0442\\u0430\\u043b\\u044c\\u044f\",\"\\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\":[{\"WhatsappLid_WZ\":\"263767464136722\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"+79859826529\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"\\u041d\\u0430\\u0442\\u0430\\u043b\\u044c\\u044f\",\"\\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\":\"03.09.2026\",\"\\u041d\\u043e\\u043c\\u0435\\u0440\":\"1658\"},\"document\":{\"Date\":\"03.09.2026\",\"Number\":\"1658\"}}}","edit":true}} {"uid":"6f0165a"}
[2026-09-03 10:16:13] docflow.DEBUG: GAS raw response {"raw":"[object] (stdClass: {\"code\":1,\"url\":\"https://docs.google.com/open?id=1_f7-wMU99GGQhKrEsmKOctg717cYPMnl1_WBp8pKjzg\",\"file_id\":\"1_f7-wMU99GGQhKrEsmKOctg717cYPMnl1_WBp8pKjzg\",\"error\":\"\",\"vars\":\"\"})"} {"uid":"6f0165a"}
[2026-09-03 10:16:13] docflow.WARNING: AmoDrive generated-file move is not ready. {"fileId":"1_f7-wMU99GGQhKrEsmKOctg717cYPMnl1_WBp8pKjzg","context":null} {"uid":"6f0165a"}
[2026-09-03 10:24:24] docflow.INFO: Apel createDoc {"data":{"amoAccountId":"22699852","amoUserId":null,"amoEntityId":"42613994","amoEntityType":"2","templateId":"11523","corporateEntityId":"","settlementAccountId":"","is_signed":null,"gdi":null,"number":null,"currentAmoUserId":null,"lang":"ru"}} {"uid":"1f7f0d6"}
[2026-09-03 10:24:25] docflow.INFO: Token is valid for account 22699852. [] {"uid":"1f7f0d6"}
[2026-09-03 10:24:25] docflow.DEBUG: getClientAuth returned {"auth":"[object] (stdClass: {\"domain\":\"emigrare.amocrm.ru\",\"access_token\":\"eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImp0aSI6ImE5MTllMGZkY2ZmNzJiMzM4NDhmNTA3MWVmNzE0YTYxZjUwMjI0ZjdhNGMyMzE0NTg2YzU2YTRlZWRmMWI2ZjAwYzY0NmU1YmExNzQ4MmYwIn0.eyJhdWQiOiIwZDY0ZGZmYi1lNTRiLTQ0OGYtOWZiZi1iYWYyMjUxYTExZGIiLCJqdGkiOiJhOTE5ZTBmZGNmZjcyYjMzODQ4ZjUwNzFlZjcxNGE2MWY1MDIyNGY3YTRjMjMxNDU4NmM1NmE0ZWVkZjFiNmYwMGM2NDZlNWJhMTc0ODJmMCIsImlhdCI6MTc4ODMzNDM4MCwibmJmIjoxNzg4MzM0MzgwLCJleHAiOjE3ODg0MjA3ODAsInN1YiI6IjI5MzAzODAiLCJncmFudF90eXBlIjoiIiwiYWNjb3VudF9pZCI6MjI2OTk4NTIsImJhc2VfZG9tYWluIjoiYW1vY3JtLnJ1IiwidmVyc2lvbiI6Miwic2NvcGVzIjpbInB1c2hfbm90aWZpY2F0aW9ucyIsImNybSIsIm5vdGlmaWNhdGlvbnMiXSwiaGFzaF91dWlkIjoiZDIyNWQ4ZDYtNDczMS00YjUwLThlNTMtNTE2YWI3MzJhNGM1IiwiYXBpX2RvbWFpbiI6ImFwaS1hLmFtb2NybS5ydSJ9.BwwxY_FLIdT97DRJh7LJqJTL-cvnRCGZRRQqcfdf-nf3Cw-dthBeV6nLQCCfUE5gm9hJ8FsDEAJZN5JL7XD4TntqumHBsdS7HenXiTn63vEcfvu3Boq0WZ-0JvUJ2X4mkJy5XwDXTwlAj_epWYHUrfSGJOKDEOrbJZhY1vx-O5UYvT06ZAzDbkPt7OlUN161D8_L45-tt6cd5NNeN1drsair6LAEi8PzjWXPNjTa2ygiHfRxmEo6NgVKNu0H0W1IuREi0tYeN3EBX71-FxtAafLF0wI-WEUSc7Kbs_yF5GEVHAdyBhVGwANPAu5tELuyOfrPE6y565dgI5RnsHzjyA\"})","file":"/home/ytvmclwh/document.amocrm.md/src/Models/Docs.php","line":121} {"uid":"1f7f0d6"}
[2026-09-03 10:24:26] docflow.DEBUG: AmoDrive docflow context request {"url":"https://google.emale.uno/api/docflow/google-context","query":{"account_id":"22699852","entity_id":"42613994","entity_type":"leads"}} {"uid":"1f7f0d6"}
[2026-09-03 10:24:27] docflow.WARNING: AmoDrive docflow context request failed {"url":"https://google.emale.uno/api/docflow/google-context","http_code":null,"error":"HTTP/2 400 ","response":"<!DOCTYPE HTML PUBLIC \"-//IETF//DTD HTML 2.0//EN\">\r\n<html>\r\n<head><title>400 Bad Request</title></head>\r\n<body>\r\n<center><h1>400 Bad Request</h1></center>\r\n Sorry for the inconvenience.<br/>\r\nPlease report this message and include the following information to us.<br/>\r\nThank you very much!</p>\r\n<table>\r\n<tr>\r\n<td>URL:</td>\r\n<td>https://gd.glucose-dev.online/api/docflow/google-context?account_id=22699852&amp;entity_id=42613994&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/09/03 10:24:27</td>\r\n</tr>\r\n</table>\r\n<hr><center>tengine</center>\r\n</body>\r\n</html>\r\n"} {"uid":"1f7f0d6"}
[2026-09-03 10:24:27] docflow.DEBUG: AmoDrive docflow context request {"url":"https://gd.glucose-dev.online/api/docflow/google-context","query":{"account_id":"22699852","entity_id":"42613994","entity_type":"leads"}} {"uid":"1f7f0d6"}
[2026-09-03 10:24:27] docflow.WARNING: AmoDrive docflow context response is not ready, trying next backend. {"url":"https://gd.glucose-dev.online/api/docflow/google-context","payload":{"ok":true,"accountId":22699852,"entityId":"42613994","entityType":"leads","amodrive":{"installed":false,"widgetStatus":"uninstalled","amoAccountId":22699852,"accountHost":"emigrare.amocrm.ru","license":{"status":"active","configuredStatus":"active","expiresAt":"2027-08-20T10:16:56.291Z","isExpired":false,"isTrial":false,"isActive":true,"expiredByDate":false,"daysRemaining":352,"isLifetime":false},"licenseActive":false,"googleConnected":false,"googleEmail":null,"googleHasDriveScope":false,"googleHasDriveFileScope":false,"googleHasOwnershipScope":false,"readyForGeneratedFileMove":false,"readyForTransfer":false},"folder":{"id":"1Br8K5NgLBIhZG6E0GLFTr39cI6EUavT0","name":"42613994 - Lead #42613994","webViewLink":"https://drive.google.com/drive/folders/1Br8K5NgLBIhZG6E0GLFTr39cI6EUavT0"}}} {"uid":"1f7f0d6"}
[2026-09-03 10:24:27] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://google.emale.uno/api/docflow/prepare-generated-doc","payload":{"account_id":"22699852","entity_id":"42613994","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"1f7f0d6"}
[2026-09-03 10:24:27] docflow.WARNING: AmoDrive prepare-generated-doc request failed {"url":"https://google.emale.uno/api/docflow/prepare-generated-doc","http_code":null,"error":"HTTP/2 400 ","response":"<!DOCTYPE HTML PUBLIC \"-//IETF//DTD HTML 2.0//EN\">\r\n<html>\r\n<head><title>400 Bad Request</title></head>\r\n<body>\r\n<center><h1>400 Bad Request</h1></center>\r\n Sorry for the inconvenience.<br/>\r\nPlease report this message and include the following information to us.<br/>\r\nThank you very much!</p>\r\n<table>\r\n<tr>\r\n<td>URL:</td>\r\n<td>https://gd.glucose-dev.online/api/docflow/prepare-generated-doc</td>\r\n</tr>\r\n<tr>\r\n<td>Server:</td>\r\n<td>mail.glucose-dev.online</td>\r\n</tr>\r\n<tr>\r\n<td>Date:</td>\r\n<td>2026/09/03 10:24:27</td>\r\n</tr>\r\n</table>\r\n<hr><center>tengine</center>\r\n</body>\r\n</html>\r\n","payload":{"account_id":"22699852","entity_id":"42613994","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"1f7f0d6"}
[2026-09-03 10:24:27] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://gd.glucose-dev.online/api/docflow/prepare-generated-doc","payload":{"account_id":"22699852","entity_id":"42613994","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"1f7f0d6"}
[2026-09-03 10:24:27] docflow.WARNING: AmoDrive prepare-generated-doc request failed {"url":"https://gd.glucose-dev.online/api/docflow/prepare-generated-doc","http_code":null,"error":"HTTP/2 404 ","response":"[object] (stdClass: {\"ok\":false,\"error\":\"AmoDrive is not installed for this account.\",\"accountId\":22699852})","payload":{"account_id":"22699852","entity_id":"42613994","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"1f7f0d6"}
[2026-09-03 10:24:27] docflow.DEBUG: GAS request {"url":"https://script.google.com/macros/s/AKfycbwrvOJD46zkuoTzdhpc1kulhV8jRfgQBFZfQ121nkIip_k8yKit4xrbWTOzaJ-C-Yed6w/exec","body":{"templateFileId":"1Qbu4ta1Frv4gpiEJLyFsXs05ThghEcK3KJnIL6KtWLE","accountId":"22699852","folderId":"1Us2AfskxgdA729xVr0F2vjZU9y5PlYDe","key":"~VTsK5dcnHc2cSSsjM$LFSjLlgbmJXwrp3R2P5nd","data":"{\"fileName\":\"Cont de plat\\u0103  116 20260903102426\",\"leadId\":\"42613994\",\"entities\":{\"\\u0441\\u0434\\u0435\\u043b\\u043a\\u0430\":{\"ID\":\"42613994\",\"\\u0421\\u0434\\u0435\\u043b\\u043a\\u0430_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Programare consulat transcriere CN\",\"Lead_name\":\"Programare consulat transcriere CN\",\"\\u0411\\u044e\\u0434\\u0436\\u0435\\u0442\":\"40\",\"Budget\":\"40\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"Cezara Cenusa\",\"Responsible\":\"Cezara Cenusa\"},\"lead\":{\"ID\":\"42613994\",\"\\u0421\\u0434\\u0435\\u043b\\u043a\\u0430_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Programare consulat transcriere CN\",\"Lead_name\":\"Programare consulat transcriere CN\",\"\\u0411\\u044e\\u0434\\u0436\\u0435\\u0442\":\"40\",\"Budget\":\"40\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"Cezara Cenusa\",\"Responsible\":\"Cezara Cenusa\"},\"\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442\":{\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"076002320\",\"Email\":\"andreyturturica@gmail.com\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Diana Turturica\",\"Contact_name\":\"Diana Turturica\",\"\\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\":\"076002320\",\"Email\":\"andreyturturica@gmail.com\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Diana Turturica\",\"Contact_name\":\"Diana Turturica\",\"\\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\":\"076002320\",\"Email\":\"andreyturturica@gmail.com\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Diana Turturica\",\"\\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\":\"03.09.2026\",\"\\u041d\\u043e\\u043c\\u0435\\u0440\":\"116\"},\"document\":{\"Date\":\"03.09.2026\",\"Number\":\"116\"}}}","edit":true}} {"uid":"1f7f0d6"}
[2026-09-03 10:24:33] docflow.DEBUG: GAS raw response {"raw":"[object] (stdClass: {\"code\":1,\"url\":\"https://docs.google.com/open?id=1PYqRZV6Ulx8bclUt6FY4TT5T_R7j0i_1p4MXPPmhnxU\",\"file_id\":\"1PYqRZV6Ulx8bclUt6FY4TT5T_R7j0i_1p4MXPPmhnxU\",\"error\":\"\",\"vars\":\"\"})"} {"uid":"1f7f0d6"}
[2026-09-03 10:24:33] docflow.WARNING: AmoDrive generated-file move is not ready. {"fileId":"1PYqRZV6Ulx8bclUt6FY4TT5T_R7j0i_1p4MXPPmhnxU","context":null} {"uid":"1f7f0d6"}
[2026-09-03 10:35:30] docflow.INFO: Apel createDoc {"data":{"amoAccountId":"22699852","amoUserId":null,"amoEntityId":"42575804","amoEntityType":"2","templateId":"11499","corporateEntityId":"","settlementAccountId":"","is_signed":null,"gdi":null,"number":null,"currentAmoUserId":null,"lang":"ru"}} {"uid":"36dab6f"}
[2026-09-03 10:35:31] docflow.INFO: Token validation failed for account 22699852. Refreshing... {"http_code":null,"error_message":"HTTP/2 401 "} {"uid":"36dab6f"}
[2026-09-03 10:35:31] docflow.INFO: Attempting token refresh with payload: {"client_id":"0d64dffb-e54b-448f-9fbf-baf2251a11db","client_secret":"AXqHrT1J35SilTTtI3yyaHdQKiS5bonhySaPYkLmo7mR6ZZ9zDP24dUjG189VG9G","grant_type":"refresh_token","refresh_token":"def502009479b6e11dc37559c17d850947c5b0d547adf78a9540e58d05abe6548fa733fc13a5b053d1559288489631d3d591d2d49ff47945e1d0b82e464d5e98e466d8c767be75a85b46880b70c8a5fdedb6843fa184511c7361a23766576d82f544f2898feb27ed5cbc3e0e84745dfe9128851cb3e3a8455be12abd569830bdc7753f0654eb39d45c2941c5b891677b188fdf9d0be74278d678fe099e53c96abb3542cca95e2df59325fb71e3046e0a88de7c39b7c9388d800883ecec4474ca744a6fe62b3153d66912c928dadf6205d809f2bc765cee089b66d5145b460db60996bc3883ecfd77135c9b3609a644be81e2e7420ba2e1f51fac26b160accd02abc04b1ac174d6a9efaa7f2abb4ef9c6a7107a527ebc3695b6942c5568a0390de15ccacceec62cd5fd08ded467b1909038d9caefbc765f623a8a2e1b36c2a272abe12daa53774c04bd06e2b0a1e96ae4ce5a35184a65eeab5fd47a27c8f9b14bb20964272c1968017a0e2beef683475fa0c6bd9c931c007ce14ef2fa7ca8d8fee6fb20026aa797196cd778f959597d0b2dc2d52ca889ae621c8e3a6d19d20e4b6eafd7928788545e6bd53cfed2672b793bffd4a95d93adc99773aa00b3e7e8ad0f439a1c743b30d17ecc73faada31fdceaacc34ed36d","redirect_uri":"https://document.amocrm.md/core/manager/install.php"} {"uid":"36dab6f"}
[2026-09-03 10:35:31] docflow.INFO: Token for account 22699852 refreshed successfully. [] {"uid":"36dab6f"}
[2026-09-03 10:35:31] docflow.DEBUG: getClientAuth returned {"auth":"[object] (stdClass: {\"domain\":\"emigrare.amocrm.ru\",\"access_token\":\"eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImp0aSI6Ijc5NmQ0ZGI2YTA3MWNlZDc3ODJlNGQ0YjUwNDg3Y2YzYzc5NzMzMGZmYjRiODY3YmJkOGZlMGM0OTgzMThhOWM2ZWI0OGY0NWEwNjUyNTA2In0.eyJhdWQiOiIwZDY0ZGZmYi1lNTRiLTQ0OGYtOWZiZi1iYWYyMjUxYTExZGIiLCJqdGkiOiI3OTZkNGRiNmEwNzFjZWQ3NzgyZTRkNGI1MDQ4N2NmM2M3OTczMzBmZmI0Yjg2N2JiZDhmZTBjNDk4MzE4YTljNmViNDhmNDVhMDY1MjUwNiIsImlhdCI6MTc4ODQyMDkzMSwibmJmIjoxNzg4NDIwOTMxLCJleHAiOjE3ODg1MDczMzEsInN1YiI6IjI5MzAzODAiLCJncmFudF90eXBlIjoiIiwiYWNjb3VudF9pZCI6MjI2OTk4NTIsImJhc2VfZG9tYWluIjoiYW1vY3JtLnJ1IiwidmVyc2lvbiI6Miwic2NvcGVzIjpbInB1c2hfbm90aWZpY2F0aW9ucyIsImNybSIsIm5vdGlmaWNhdGlvbnMiXSwiaGFzaF91dWlkIjoiZGEyYWE1ZjktZGExOC00MjdlLWE2MWYtNTVmYTc3ODVlZjY2IiwiYXBpX2RvbWFpbiI6ImFwaS1hLmFtb2NybS5ydSJ9.H4kHy9HTAlmOrLwH87KEUkW3m5XrIPQPJ94nBHw7VmgyuPPvGaBKTqjV0ZeDQAB1eCpE6EUB3rzYGayOEE9oAeVFDKK5jTkW4oB5DsBnqMLC0Y0p3r7E0iO_PIE4V_HEI2v_jRgepLdDV85cqYKaSeT1ho90pWjPIZ0rm_9K0_HWXp6oXP5IvTBJbUKDaZ-8GfjtRNe3HeN3_V4AsYnDU5Q6lWeVyKwDd0r2N6Tf2QU5Xvn5DSWODA5r3fmWriH3KKtx4KnIccLHSYV5x46iQ-a7aRY4Zwqr76sVZzk7_98D61OGdafIPJno0g0tKRoASQPcQxT6IGoUSyqxOVFbdA\"})","file":"/home/ytvmclwh/document.amocrm.md/src/Models/Docs.php","line":121} {"uid":"36dab6f"}
[2026-09-03 10:35:34] docflow.DEBUG: AmoDrive docflow context request {"url":"https://google.emale.uno/api/docflow/google-context","query":{"account_id":"22699852","entity_id":"42575804","entity_type":"leads"}} {"uid":"36dab6f"}
[2026-09-03 10:35:34] docflow.WARNING: AmoDrive docflow context request failed {"url":"https://google.emale.uno/api/docflow/google-context","http_code":null,"error":"HTTP/2 400 ","response":"<!DOCTYPE HTML PUBLIC \"-//IETF//DTD HTML 2.0//EN\">\r\n<html>\r\n<head><title>400 Bad Request</title></head>\r\n<body>\r\n<center><h1>400 Bad Request</h1></center>\r\n Sorry for the inconvenience.<br/>\r\nPlease report this message and include the following information to us.<br/>\r\nThank you very much!</p>\r\n<table>\r\n<tr>\r\n<td>URL:</td>\r\n<td>https://gd.glucose-dev.online/api/docflow/google-context?account_id=22699852&amp;entity_id=42575804&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/09/03 10:35:34</td>\r\n</tr>\r\n</table>\r\n<hr><center>tengine</center>\r\n</body>\r\n</html>\r\n"} {"uid":"36dab6f"}
[2026-09-03 10:35:34] docflow.DEBUG: AmoDrive docflow context request {"url":"https://gd.glucose-dev.online/api/docflow/google-context","query":{"account_id":"22699852","entity_id":"42575804","entity_type":"leads"}} {"uid":"36dab6f"}
[2026-09-03 10:35:34] docflow.WARNING: AmoDrive docflow context response is not ready, trying next backend. {"url":"https://gd.glucose-dev.online/api/docflow/google-context","payload":{"ok":true,"accountId":22699852,"entityId":"42575804","entityType":"leads","amodrive":{"installed":false,"widgetStatus":"uninstalled","amoAccountId":22699852,"accountHost":"emigrare.amocrm.ru","license":{"status":"active","configuredStatus":"active","expiresAt":"2027-08-20T10:16:56.291Z","isExpired":false,"isTrial":false,"isActive":true,"expiredByDate":false,"daysRemaining":352,"isLifetime":false},"licenseActive":false,"googleConnected":false,"googleEmail":null,"googleHasDriveScope":false,"googleHasDriveFileScope":false,"googleHasOwnershipScope":false,"readyForGeneratedFileMove":false,"readyForTransfer":false},"folder":{"id":"11fn4aWv2NDAUc_TARki1eaouoWtFpllG","name":"42575804 - Lead #42575804","webViewLink":"https://drive.google.com/drive/folders/11fn4aWv2NDAUc_TARki1eaouoWtFpllG"}}} {"uid":"36dab6f"}
[2026-09-03 10:35:34] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://google.emale.uno/api/docflow/prepare-generated-doc","payload":{"account_id":"22699852","entity_id":"42575804","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"36dab6f"}
[2026-09-03 10:35:34] docflow.WARNING: AmoDrive prepare-generated-doc request failed {"url":"https://google.emale.uno/api/docflow/prepare-generated-doc","http_code":null,"error":"HTTP/2 400 ","response":"<!DOCTYPE HTML PUBLIC \"-//IETF//DTD HTML 2.0//EN\">\r\n<html>\r\n<head><title>400 Bad Request</title></head>\r\n<body>\r\n<center><h1>400 Bad Request</h1></center>\r\n Sorry for the inconvenience.<br/>\r\nPlease report this message and include the following information to us.<br/>\r\nThank you very much!</p>\r\n<table>\r\n<tr>\r\n<td>URL:</td>\r\n<td>https://gd.glucose-dev.online/api/docflow/prepare-generated-doc</td>\r\n</tr>\r\n<tr>\r\n<td>Server:</td>\r\n<td>mail.glucose-dev.online</td>\r\n</tr>\r\n<tr>\r\n<td>Date:</td>\r\n<td>2026/09/03 10:35:34</td>\r\n</tr>\r\n</table>\r\n<hr><center>tengine</center>\r\n</body>\r\n</html>\r\n","payload":{"account_id":"22699852","entity_id":"42575804","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"36dab6f"}
[2026-09-03 10:35:34] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://gd.glucose-dev.online/api/docflow/prepare-generated-doc","payload":{"account_id":"22699852","entity_id":"42575804","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"36dab6f"}
[2026-09-03 10:35:34] docflow.WARNING: AmoDrive prepare-generated-doc request failed {"url":"https://gd.glucose-dev.online/api/docflow/prepare-generated-doc","http_code":null,"error":"HTTP/2 404 ","response":"[object] (stdClass: {\"ok\":false,\"error\":\"AmoDrive is not installed for this account.\",\"accountId\":22699852})","payload":{"account_id":"22699852","entity_id":"42575804","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"36dab6f"}
[2026-09-03 10:35:34] docflow.DEBUG: GAS request {"url":"https://script.google.com/macros/s/AKfycbwrvOJD46zkuoTzdhpc1kulhV8jRfgQBFZfQ121nkIip_k8yKit4xrbWTOzaJ-C-Yed6w/exec","body":{"templateFileId":"1JpcHEV7mllDU316pjkq8wnZ56w5pF-O-EK97xQgfk_U","accountId":"22699852","folderId":"1Us2AfskxgdA729xVr0F2vjZU9y5PlYDe","key":"~VTsK5dcnHc2cSSsjM$LFSjLlgbmJXwrp3R2P5nd","data":"{\"fileName\":\"Acord adi\\u021bional  690 20260903103534\",\"leadId\":\"42575804\",\"entities\":{\"\\u0441\\u0434\\u0435\\u043b\\u043a\\u0430\":{\"Suma \\u20ac\":\"0\",\"#Manager Front\":\"Cezara Cenusa\",\"Urm\\u0103torul contact\":\"2026-08-31 15:47:00\",\"Mod achitare\":\"Transfer card \\u0421\\u0431\\u0435\\u0440\\u0411\\u0430\\u043d\\u043a\",\"Suma avans\":\"750\",\"Manager Juridic\":\"Dascal Anatolie\",\"#Manager Jurist\":\"Dascal Anatolie\",\"ID\":\"42575804\",\"\\u0421\\u0434\\u0435\\u043b\\u043a\\u0430_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"rectificare CN (Bacaseva Lida)\",\"Lead_name\":\"rectificare CN (Bacaseva Lida)\",\"\\u0411\\u044e\\u0434\\u0436\\u0435\\u0442\":\"750\",\"Budget\":\"750\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"Victor Ochinciuc\",\"Responsible\":\"Victor Ochinciuc\"},\"lead\":{\"Suma \\u20ac\":\"0\",\"#Manager Front\":\"Cezara Cenusa\",\"Urm\\u0103torul contact\":\"2026-08-31 15:47:00\",\"Mod achitare\":\"Transfer card \\u0421\\u0431\\u0435\\u0440\\u0411\\u0430\\u043d\\u043a\",\"Suma avans\":\"750\",\"Manager Juridic\":\"Dascal Anatolie\",\"#Manager Jurist\":\"Dascal Anatolie\",\"ID\":\"42575804\",\"\\u0421\\u0434\\u0435\\u043b\\u043a\\u0430_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"rectificare CN (Bacaseva Lida)\",\"Lead_name\":\"rectificare CN (Bacaseva Lida)\",\"\\u0411\\u044e\\u0434\\u0436\\u0435\\u0442\":\"750\",\"Budget\":\"750\",\"\\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\":{\"WhatsappLid_WZ\":\"263767464136722\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"+79859826529\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"\\u041d\\u0430\\u0442\\u0430\\u043b\\u044c\\u044f\",\"Contact_name\":\"\\u041d\\u0430\\u0442\\u0430\\u043b\\u044c\\u044f\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"Victor Ochinciuc\",\"Responsible\":\"Victor Ochinciuc\"},\"contact\":{\"WhatsappLid_WZ\":\"263767464136722\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"+79859826529\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"\\u041d\\u0430\\u0442\\u0430\\u043b\\u044c\\u044f\",\"Contact_name\":\"\\u041d\\u0430\\u0442\\u0430\\u043b\\u044c\\u044f\",\"\\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\":[{\"WhatsappLid_WZ\":\"263767464136722\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"+79859826529\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"\\u041d\\u0430\\u0442\\u0430\\u043b\\u044c\\u044f\",\"\\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\":\"03.09.2026\",\"\\u041d\\u043e\\u043c\\u0435\\u0440\":\"690\"},\"document\":{\"Date\":\"03.09.2026\",\"Number\":\"690\"}}}","edit":true}} {"uid":"36dab6f"}
[2026-09-03 10:35:42] docflow.DEBUG: GAS raw response {"raw":"[object] (stdClass: {\"code\":1,\"url\":\"https://docs.google.com/open?id=1GmfLYf9WuQ8_V60mwgQiyGyn_TpB0oXkTAnZeESqI78\",\"file_id\":\"1GmfLYf9WuQ8_V60mwgQiyGyn_TpB0oXkTAnZeESqI78\",\"error\":\"\",\"vars\":\"\"})"} {"uid":"36dab6f"}
[2026-09-03 10:35:42] docflow.WARNING: AmoDrive generated-file move is not ready. {"fileId":"1GmfLYf9WuQ8_V60mwgQiyGyn_TpB0oXkTAnZeESqI78","context":null} {"uid":"36dab6f"}
[2026-09-03 10:44:45] docflow.INFO: DETAIL LEAD{"order":{"use_nds":"0","items":[{"name":"Servicii fotografice","count":"1","measure":"serv","price":"25000.76","discount":"0","total_discount":"0","total_price":"25000.76"}],"total_price":"25000.76","total_discount":"0.00","total_nds":"0.00"}} [] {"uid":"009b481"}
[2026-09-03 10:44:54] docflow.INFO: Apel createDoc {"data":{"amoAccountId":"29548744","amoUserId":null,"amoEntityId":"32479897","amoEntityType":"2","templateId":"11474","corporateEntityId":"","settlementAccountId":"","is_signed":null,"gdi":null,"number":null,"currentAmoUserId":null,"lang":null}} {"uid":"92dbcb2"}
[2026-09-03 10:44:54] docflow.INFO: Token is valid for account 29548744. [] {"uid":"92dbcb2"}
[2026-09-03 10:44:54] docflow.DEBUG: getClientAuth returned {"auth":"[object] (stdClass: {\"domain\":\"schimbatorstudio.amocrm.ru\",\"access_token\":\"eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImp0aSI6IjYyOWZhMjBiNTYyZjRkYjM3NjQ4MDI1MDZlNWQ5N2NiYmViNmEzM2RjZWI2MmUyMTU2YWQwMTliODQyZTc2Zjg0MmRkOWE0YzZkZTYwMzQ5In0.eyJhdWQiOiJlOWY4NTA4NS05YzE2LTQ4YzktODU4YS0wMjliMmM4OWVlNWYiLCJqdGkiOiI2MjlmYTIwYjU2MmY0ZGIzNzY0ODAyNTA2ZTVkOTdjYmJlYjZhMzNkY2ViNjJlMjE1NmFkMDE5Yjg0MmU3NmY4NDJkZDlhNGM2ZGU2MDM0OSIsImlhdCI6MTc1MTM2OTk1MywibmJmIjoxNzUxMzY5OTUzLCJleHAiOjE4ODAxNTA0MDAsInN1YiI6IjcxNjcwMjgiLCJncmFudF90eXBlIjoiIiwiYWNjb3VudF9pZCI6Mjk1NDg3NDQsImJhc2VfZG9tYWluIjoiYW1vY3JtLnJ1IiwidmVyc2lvbiI6Miwic2NvcGVzIjpbImNybSIsImZpbGVzIiwiZmlsZXNfZGVsZXRlIiwibm90aWZpY2F0aW9ucyIsInB1c2hfbm90aWZpY2F0aW9ucyJdLCJoYXNoX3V1aWQiOiI2ZTY1ZDYzMC1hNmRhLTQ2ZmEtYWZlMy0zNTE0NGU5YzU4ZDIiLCJhcGlfZG9tYWluIjoiYXBpLWIuYW1vY3JtLnJ1In0.AAYuEBV80lIrOkUXCBqwd5bwr31EDN780mA9x8LmJlQR0WVsr_nq0ozYRgUDtCEbc4VMejlFae1b1vddi7tJE2AoB2fGLuGtDbvOhG1BXUeNy6yqZHlM8lBZz7v5yBbjr01BmYzD1uAPUJ29T59mWjuIbYOpJ4Ka6FfCWFh47ECJjbhv8xxfQjDZMagFSUyISsJIL2o_zSFG_uUKcaPnSaQLsEJuwxyolHPxtC5I-mm41iRgl6pjNfZCUS8dwUy5twYIizYnZeCUteBwrcrMwD5Ocgv9Irk0X4jYHlnOP5KWdguew7VbRSMkt_IpckRQRFC3a8OIx1FfyqpoFZ_1Qw\"})","file":"/home/ytvmclwh/document.amocrm.md/src/Models/Docs.php","line":121} {"uid":"92dbcb2"}
[2026-09-03 10:44:57] docflow.DEBUG: AmoDrive docflow context request {"url":"https://google.emale.uno/api/docflow/google-context","query":{"account_id":"29548744","entity_id":"32479897","entity_type":"leads"}} {"uid":"92dbcb2"}
[2026-09-03 10:44:57] docflow.WARNING: AmoDrive docflow context request failed {"url":"https://google.emale.uno/api/docflow/google-context","http_code":null,"error":"HTTP/2 400 ","response":"<!DOCTYPE HTML PUBLIC \"-//IETF//DTD HTML 2.0//EN\">\r\n<html>\r\n<head><title>400 Bad Request</title></head>\r\n<body>\r\n<center><h1>400 Bad Request</h1></center>\r\n Sorry for the inconvenience.<br/>\r\nPlease report this message and include the following information to us.<br/>\r\nThank you very much!</p>\r\n<table>\r\n<tr>\r\n<td>URL:</td>\r\n<td>https://gd.glucose-dev.online/api/docflow/google-context?account_id=29548744&amp;entity_id=32479897&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/09/03 10:44:57</td>\r\n</tr>\r\n</table>\r\n<hr><center>tengine</center>\r\n</body>\r\n</html>\r\n"} {"uid":"92dbcb2"}
[2026-09-03 10:44:57] docflow.DEBUG: AmoDrive docflow context request {"url":"https://gd.glucose-dev.online/api/docflow/google-context","query":{"account_id":"29548744","entity_id":"32479897","entity_type":"leads"}} {"uid":"92dbcb2"}
[2026-09-03 10:44:57] docflow.WARNING: AmoDrive docflow context response is not ready, trying next backend. {"url":"https://gd.glucose-dev.online/api/docflow/google-context","payload":{"ok":true,"accountId":29548744,"entityId":"32479897","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":"92dbcb2"}
[2026-09-03 10:44:57] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://google.emale.uno/api/docflow/prepare-generated-doc","payload":{"account_id":"29548744","entity_id":"32479897","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"92dbcb2"}
[2026-09-03 10:44:57] docflow.WARNING: AmoDrive prepare-generated-doc request failed {"url":"https://google.emale.uno/api/docflow/prepare-generated-doc","http_code":null,"error":"HTTP/2 400 ","response":"<!DOCTYPE HTML PUBLIC \"-//IETF//DTD HTML 2.0//EN\">\r\n<html>\r\n<head><title>400 Bad Request</title></head>\r\n<body>\r\n<center><h1>400 Bad Request</h1></center>\r\n Sorry for the inconvenience.<br/>\r\nPlease report this message and include the following information to us.<br/>\r\nThank you very much!</p>\r\n<table>\r\n<tr>\r\n<td>URL:</td>\r\n<td>https://gd.glucose-dev.online/api/docflow/prepare-generated-doc</td>\r\n</tr>\r\n<tr>\r\n<td>Server:</td>\r\n<td>mail.glucose-dev.online</td>\r\n</tr>\r\n<tr>\r\n<td>Date:</td>\r\n<td>2026/09/03 10:44: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":"29548744","entity_id":"32479897","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"92dbcb2"}
[2026-09-03 10:44:57] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://gd.glucose-dev.online/api/docflow/prepare-generated-doc","payload":{"account_id":"29548744","entity_id":"32479897","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"92dbcb2"}
[2026-09-03 10:44:57] docflow.WARNING: AmoDrive prepare-generated-doc request failed {"url":"https://gd.glucose-dev.online/api/docflow/prepare-generated-doc","http_code":null,"error":"HTTP/2 404 ","response":"[object] (stdClass: {\"ok\":false,\"error\":\"AmoDrive is not installed for this account.\",\"accountId\":29548744})","payload":{"account_id":"29548744","entity_id":"32479897","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"92dbcb2"}
[2026-09-03 10:44:57] docflow.DEBUG: GAS request {"url":"https://script.google.com/macros/s/AKfycbwrvOJD46zkuoTzdhpc1kulhV8jRfgQBFZfQ121nkIip_k8yKit4xrbWTOzaJ-C-Yed6w/exec","body":{"templateFileId":"17jDTUKY-gXqdflPTdMBtCZdzorIsJxJc3Xnrtjc3VIc","accountId":"29548744","folderId":"1Us2AfskxgdA729xVr0F2vjZU9y5PlYDe","key":"~VTsK5dcnHc2cSSsjM$LFSjLlgbmJXwrp3R2P5nd","data":"{\"fileName\":\"Cont spre plat\\u0103 707 20260903104457\",\"leadId\":\"32479897\",\"entities\":{\"\\u0441\\u0434\\u0435\\u043b\\u043a\\u0430\":{\"Sursa\":\"Client existent\",\"Statut achitare\":\"Neachitat\",\"Mod achitare\":\"Transfer bancar\",\"Tip serviciu\":\"Reportaje fotografice\",\"Data \\u0219edin\\u021bei\":\"03.09.2026\",\"Data livr\\u0103rii lucr\\u0103rilor\":\"03.09.2026\",\"TVA\":\"Scutit\",\"ID\":\"32479897\",\"\\u0421\\u0434\\u0435\\u043b\\u043a\\u0430_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"OMS Lucr\\u0103ri 2026\",\"Lead_name\":\"OMS Lucr\\u0103ri 2026\",\"\\u0411\\u044e\\u0434\\u0436\\u0435\\u0442\":\"25000\",\"Budget\":\"25000\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"Marina Balan\",\"Responsible\":\"Marina Balan\"},\"lead\":{\"Sursa\":\"Client existent\",\"Statut achitare\":\"Neachitat\",\"Mod achitare\":\"Transfer bancar\",\"Tip serviciu\":\"Reportaje fotografice\",\"Data \\u0219edin\\u021bei\":\"03.09.2026\",\"Data livr\\u0103rii lucr\\u0103rilor\":\"03.09.2026\",\"TVA\":\"Scutit\",\"ID\":\"32479897\",\"\\u0421\\u0434\\u0435\\u043b\\u043a\\u0430_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"OMS Lucr\\u0103ri 2026\",\"Lead_name\":\"OMS Lucr\\u0103ri 2026\",\"\\u0411\\u044e\\u0434\\u0436\\u0435\\u0442\":\"25000\",\"Budget\":\"25000\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"Marina Balan\",\"Responsible\":\"Marina Balan\"},\"\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442\":{\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"079465959\",\"Email\":\"munteanur@who.int\",\"\\u0414\\u043e\\u043b\\u0436\\u043d\\u043e\\u0441\\u0442\\u044c\":\"Communication Officer\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Rodica Munteanu\",\"Contact_name\":\"Rodica Munteanu\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"Marina Balan\",\"Responsible\":\"Marina Balan\"},\"contact\":{\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"079465959\",\"Email\":\"munteanur@who.int\",\"\\u0414\\u043e\\u043b\\u0436\\u043d\\u043e\\u0441\\u0442\\u044c\":\"Communication Officer\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Rodica Munteanu\",\"Contact_name\":\"Rodica Munteanu\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"Marina Balan\",\"Responsible\":\"Marina Balan\"},\"\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442\\u044b\":[{\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"079465959\",\"Email\":\"munteanur@who.int\",\"\\u0414\\u043e\\u043b\\u0436\\u043d\\u043e\\u0441\\u0442\\u044c\":\"Communication Officer\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Rodica Munteanu\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"Marina Balan\"}],\"\\u043a\\u043e\\u043c\\u043f\\u0430\\u043d\\u0438\\u044f\":{\"Tip Companie\":\"A.O.\",\"\\u0410\\u0434\\u0440\\u0435\\u0441\":\"bd. \\u0218tefan cel Mare \\u0219i Sf\\u00e2nt, 171\\/1, Chi\\u0219in\\u0103u\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"+373 22  83 99 74\",\"Site Companie\":\"http:\\/\\/www.euro.who.int\\/en\\/countries\\/republic-of-moldova\",\"TVA\":\"0\",\"Cod fiscal\":\"41836018\",\"Banca\":\"BC 'Eximbank' S.A. fil.Nr.20 Chi\\u0219in\\u0103u\",\"Cod Bancar\":\"EXMMMD22477\",\"IBAN\":\"MD03EX0000000225140022MD\",\"Tip companie\":\"Cump\\u0103r\\u0103tor\",\"\\u041a\\u043e\\u043c\\u043f\\u0430\\u043d\\u0438\\u044f_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Biroul de Coordonare al Organiza\\u021biei Mondiale a S\\u0103n\\u0103t\\u0103\\u021bii \\u00een Republica Moldova\",\"Company_name\":\"Biroul de Coordonare al Organiza\\u021biei Mondiale a S\\u0103n\\u0103t\\u0103\\u021bii \\u00een Republica Moldova\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"Marina Balan\",\"Responsible\":\"Marina Balan\"},\"company\":{\"Tip Companie\":\"A.O.\",\"\\u0410\\u0434\\u0440\\u0435\\u0441\":\"bd. \\u0218tefan cel Mare \\u0219i Sf\\u00e2nt, 171\\/1, Chi\\u0219in\\u0103u\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"+373 22  83 99 74\",\"Site Companie\":\"http:\\/\\/www.euro.who.int\\/en\\/countries\\/republic-of-moldova\",\"TVA\":\"0\",\"Cod fiscal\":\"41836018\",\"Banca\":\"BC 'Eximbank' S.A. fil.Nr.20 Chi\\u0219in\\u0103u\",\"Cod Bancar\":\"EXMMMD22477\",\"IBAN\":\"MD03EX0000000225140022MD\",\"Tip companie\":\"Cump\\u0103r\\u0103tor\",\"\\u041a\\u043e\\u043c\\u043f\\u0430\\u043d\\u0438\\u044f_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Biroul de Coordonare al Organiza\\u021biei Mondiale a S\\u0103n\\u0103t\\u0103\\u021bii \\u00een Republica Moldova\",\"Company_name\":\"Biroul de Coordonare al Organiza\\u021biei Mondiale a S\\u0103n\\u0103t\\u0103\\u021bii \\u00een Republica Moldova\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"Marina Balan\",\"Responsible\":\"Marina Balan\"},\"\\u0434\\u043e\\u043a\\u0443\\u043c\\u0435\\u043d\\u0442\":{\"\\u0414\\u0430\\u0442\\u0430\":\"03.09.2026\",\"\\u041d\\u043e\\u043c\\u0435\\u0440\":\"707\"},\"document\":{\"Date\":\"03.09.2026\",\"Number\":\"707\"},\"\\u0444\\u0430\\u043a\\u0442\\u0443\\u0440\\u043d\\u0430\\u044f \\u0447\\u0430\\u0441\\u0442\\u044c\":{\"order\":{\"use_nds\":\"0\",\"items\":[{\"name\":\"Servicii fotografice\",\"count\":\"1\",\"measure\":\"serv\",\"price\":\"25000.76\",\"discount\":\"0\",\"total_discount\":\"0\",\"total_price\":\"25000.76\"}],\"total_price\":\"25000.76\",\"total_discount\":\"0.00\",\"total_nds\":\"0.00\"}},\"invoice part\":{\"order\":{\"use_nds\":\"0\",\"items\":[{\"name\":\"Servicii fotografice\",\"count\":\"1\",\"measure\":\"serv\",\"price\":\"25000.76\",\"discount\":\"0\",\"total_discount\":\"0\",\"total_price\":\"25000.76\"}],\"total_price\":\"25000.76\",\"total_discount\":\"0.00\",\"total_nds\":\"0.00\"}}}}","edit":true}} {"uid":"92dbcb2"}
[2026-09-03 10:45:04] docflow.DEBUG: GAS raw response {"raw":"[object] (stdClass: {\"code\":1,\"url\":\"https://docs.google.com/open?id=1IYHNZ8QmzQPg9tdBo9Mw2lW7v0Mv2TpV_EAPmC9hPus\",\"file_id\":\"1IYHNZ8QmzQPg9tdBo9Mw2lW7v0Mv2TpV_EAPmC9hPus\",\"error\":\"\",\"vars\":\"\"})"} {"uid":"92dbcb2"}
[2026-09-03 10:45:04] docflow.WARNING: AmoDrive generated-file move is not ready. {"fileId":"1IYHNZ8QmzQPg9tdBo9Mw2lW7v0Mv2TpV_EAPmC9hPus","context":null} {"uid":"92dbcb2"}
[2026-09-03 11:13:02] docflow.INFO: Apel createDoc {"data":{"amoAccountId":"22699852","amoUserId":null,"amoEntityId":"37462244","amoEntityType":"2","templateId":"11500","corporateEntityId":"","settlementAccountId":"","is_signed":null,"gdi":null,"number":null,"currentAmoUserId":null,"lang":"ru"}} {"uid":"8fa559f"}
[2026-09-03 11:13:02] docflow.INFO: Token is valid for account 22699852. [] {"uid":"8fa559f"}
[2026-09-03 11:13:02] docflow.DEBUG: getClientAuth returned {"auth":"[object] (stdClass: {\"domain\":\"emigrare.amocrm.ru\",\"access_token\":\"eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImp0aSI6Ijc5NmQ0ZGI2YTA3MWNlZDc3ODJlNGQ0YjUwNDg3Y2YzYzc5NzMzMGZmYjRiODY3YmJkOGZlMGM0OTgzMThhOWM2ZWI0OGY0NWEwNjUyNTA2In0.eyJhdWQiOiIwZDY0ZGZmYi1lNTRiLTQ0OGYtOWZiZi1iYWYyMjUxYTExZGIiLCJqdGkiOiI3OTZkNGRiNmEwNzFjZWQ3NzgyZTRkNGI1MDQ4N2NmM2M3OTczMzBmZmI0Yjg2N2JiZDhmZTBjNDk4MzE4YTljNmViNDhmNDVhMDY1MjUwNiIsImlhdCI6MTc4ODQyMDkzMSwibmJmIjoxNzg4NDIwOTMxLCJleHAiOjE3ODg1MDczMzEsInN1YiI6IjI5MzAzODAiLCJncmFudF90eXBlIjoiIiwiYWNjb3VudF9pZCI6MjI2OTk4NTIsImJhc2VfZG9tYWluIjoiYW1vY3JtLnJ1IiwidmVyc2lvbiI6Miwic2NvcGVzIjpbInB1c2hfbm90aWZpY2F0aW9ucyIsImNybSIsIm5vdGlmaWNhdGlvbnMiXSwiaGFzaF91dWlkIjoiZGEyYWE1ZjktZGExOC00MjdlLWE2MWYtNTVmYTc3ODVlZjY2IiwiYXBpX2RvbWFpbiI6ImFwaS1hLmFtb2NybS5ydSJ9.H4kHy9HTAlmOrLwH87KEUkW3m5XrIPQPJ94nBHw7VmgyuPPvGaBKTqjV0ZeDQAB1eCpE6EUB3rzYGayOEE9oAeVFDKK5jTkW4oB5DsBnqMLC0Y0p3r7E0iO_PIE4V_HEI2v_jRgepLdDV85cqYKaSeT1ho90pWjPIZ0rm_9K0_HWXp6oXP5IvTBJbUKDaZ-8GfjtRNe3HeN3_V4AsYnDU5Q6lWeVyKwDd0r2N6Tf2QU5Xvn5DSWODA5r3fmWriH3KKtx4KnIccLHSYV5x46iQ-a7aRY4Zwqr76sVZzk7_98D61OGdafIPJno0g0tKRoASQPcQxT6IGoUSyqxOVFbdA\"})","file":"/home/ytvmclwh/document.amocrm.md/src/Models/Docs.php","line":121} {"uid":"8fa559f"}
[2026-09-03 11:13:06] docflow.DEBUG: AmoDrive docflow context request {"url":"https://google.emale.uno/api/docflow/google-context","query":{"account_id":"22699852","entity_id":"37462244","entity_type":"leads"}} {"uid":"8fa559f"}
[2026-09-03 11:13:06] docflow.WARNING: AmoDrive docflow context request failed {"url":"https://google.emale.uno/api/docflow/google-context","http_code":null,"error":"HTTP/2 400 ","response":"<!DOCTYPE HTML PUBLIC \"-//IETF//DTD HTML 2.0//EN\">\r\n<html>\r\n<head><title>400 Bad Request</title></head>\r\n<body>\r\n<center><h1>400 Bad Request</h1></center>\r\n Sorry for the inconvenience.<br/>\r\nPlease report this message and include the following information to us.<br/>\r\nThank you very much!</p>\r\n<table>\r\n<tr>\r\n<td>URL:</td>\r\n<td>https://gd.glucose-dev.online/api/docflow/google-context?account_id=22699852&amp;entity_id=37462244&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/09/03 11:13:06</td>\r\n</tr>\r\n</table>\r\n<hr><center>tengine</center>\r\n</body>\r\n</html>\r\n"} {"uid":"8fa559f"}
[2026-09-03 11:13:06] docflow.DEBUG: AmoDrive docflow context request {"url":"https://gd.glucose-dev.online/api/docflow/google-context","query":{"account_id":"22699852","entity_id":"37462244","entity_type":"leads"}} {"uid":"8fa559f"}
[2026-09-03 11:13:06] docflow.WARNING: AmoDrive docflow context response is not ready, trying next backend. {"url":"https://gd.glucose-dev.online/api/docflow/google-context","payload":{"ok":true,"accountId":22699852,"entityId":"37462244","entityType":"leads","amodrive":{"installed":false,"widgetStatus":"uninstalled","amoAccountId":22699852,"accountHost":"emigrare.amocrm.ru","license":{"status":"active","configuredStatus":"active","expiresAt":"2027-08-20T10:16:56.291Z","isExpired":false,"isTrial":false,"isActive":true,"expiredByDate":false,"daysRemaining":352,"isLifetime":false},"licenseActive":false,"googleConnected":false,"googleEmail":null,"googleHasDriveScope":false,"googleHasDriveFileScope":false,"googleHasOwnershipScope":false,"readyForGeneratedFileMove":false,"readyForTransfer":false},"folder":{"id":"1PFdmxP9w3Bfkmz0GqtOg--7APD4xYTdh","name":"Cet. MD","webViewLink":"https://drive.google.com/drive/folders/1PFdmxP9w3Bfkmz0GqtOg--7APD4xYTdh"}}} {"uid":"8fa559f"}
[2026-09-03 11:13:06] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://google.emale.uno/api/docflow/prepare-generated-doc","payload":{"account_id":"22699852","entity_id":"37462244","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"8fa559f"}
[2026-09-03 11:13:06] docflow.WARNING: AmoDrive prepare-generated-doc request failed {"url":"https://google.emale.uno/api/docflow/prepare-generated-doc","http_code":null,"error":"HTTP/2 400 ","response":"<!DOCTYPE HTML PUBLIC \"-//IETF//DTD HTML 2.0//EN\">\r\n<html>\r\n<head><title>400 Bad Request</title></head>\r\n<body>\r\n<center><h1>400 Bad Request</h1></center>\r\n Sorry for the inconvenience.<br/>\r\nPlease report this message and include the following information to us.<br/>\r\nThank you very much!</p>\r\n<table>\r\n<tr>\r\n<td>URL:</td>\r\n<td>https://gd.glucose-dev.online/api/docflow/prepare-generated-doc</td>\r\n</tr>\r\n<tr>\r\n<td>Server:</td>\r\n<td>mail.glucose-dev.online</td>\r\n</tr>\r\n<tr>\r\n<td>Date:</td>\r\n<td>2026/09/03 11:13: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":"37462244","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"8fa559f"}
[2026-09-03 11:13:06] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://gd.glucose-dev.online/api/docflow/prepare-generated-doc","payload":{"account_id":"22699852","entity_id":"37462244","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"8fa559f"}
[2026-09-03 11:13:06] docflow.WARNING: AmoDrive prepare-generated-doc request failed {"url":"https://gd.glucose-dev.online/api/docflow/prepare-generated-doc","http_code":null,"error":"HTTP/2 404 ","response":"[object] (stdClass: {\"ok\":false,\"error\":\"AmoDrive is not installed for this account.\",\"accountId\":22699852})","payload":{"account_id":"22699852","entity_id":"37462244","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"8fa559f"}
[2026-09-03 11:13:06] docflow.DEBUG: GAS request {"url":"https://script.google.com/macros/s/AKfycbwrvOJD46zkuoTzdhpc1kulhV8jRfgQBFZfQ121nkIip_k8yKit4xrbWTOzaJ-C-Yed6w/exec","body":{"templateFileId":"18-Wrinvrr35El29pFxxTVtyiAztMcc3cfD-_ziIujqw","accountId":"22699852","folderId":"1Us2AfskxgdA729xVr0F2vjZU9y5PlYDe","key":"~VTsK5dcnHc2cSSsjM$LFSjLlgbmJXwrp3R2P5nd","data":"{\"fileName\":\"SRL 676 20260903111306\",\"leadId\":\"37462244\",\"entities\":{\"\\u0441\\u0434\\u0435\\u043b\\u043a\\u0430\":{\"Brand\":\"Emigrare.md\",\"Categorie Serviciu\":\"Cet.MD\",\"Serviciu solicitat\":\"1520102\",\"Suma Back\":\"0\",\"Data consulta\\u021biei\":\"19.01.2024\",\"Suma contract\":\"2950\",\"#Manager Front\":\"Capanji Igor\",\"google_folder_id_leads_field\":\"1PFdmxP9w3Bfkmz0GqtOg--7APD4xYTdh\",\"google_folder_link_leads_field\":\"https:\\/\\/drive.google.com\\/drive\\/folders\\/1PFdmxP9w3Bfkmz0GqtOg--7APD4xYTdh\",\"Urm\\u0103torul contact\":\"2024-02-13 16:22:00\",\"Compania\":\"EMG Consulting Group SRL\",\"Manager Juridic\":\"Dascal Anatolie\",\"#Manager Jurist\":\"Dascal Anatolie\",\"Tentative de apel\":\"0\",\"#Manager Instiu\\u021bii Publice\":\"Moldovanu Ghenadie\",\"#Manager Documentare\":\"Vitalie\",\"Data primire acte\":\"27.02.2024\",\"Data predare acte\":\"25.08.2024\",\"Suma \\u20ac\":\"0\",\"ID\":\"37462244\",\"\\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\":\"2950\",\"Budget\":\"2950\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"Dascal Anatolie\",\"Responsible\":\"Dascal Anatolie\"},\"lead\":{\"Brand\":\"Emigrare.md\",\"Categorie Serviciu\":\"Cet.MD\",\"Serviciu solicitat\":\"1520102\",\"Suma Back\":\"0\",\"Data consulta\\u021biei\":\"19.01.2024\",\"Suma contract\":\"2950\",\"#Manager Front\":\"Capanji Igor\",\"google_folder_id_leads_field\":\"1PFdmxP9w3Bfkmz0GqtOg--7APD4xYTdh\",\"google_folder_link_leads_field\":\"https:\\/\\/drive.google.com\\/drive\\/folders\\/1PFdmxP9w3Bfkmz0GqtOg--7APD4xYTdh\",\"Urm\\u0103torul contact\":\"2024-02-13 16:22:00\",\"Compania\":\"EMG Consulting Group SRL\",\"Manager Juridic\":\"Dascal Anatolie\",\"#Manager Jurist\":\"Dascal Anatolie\",\"Tentative de apel\":\"0\",\"#Manager Instiu\\u021bii Publice\":\"Moldovanu Ghenadie\",\"#Manager Documentare\":\"Vitalie\",\"Data primire acte\":\"27.02.2024\",\"Data predare acte\":\"25.08.2024\",\"Suma \\u20ac\":\"0\",\"ID\":\"37462244\",\"\\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\":\"2950\",\"Budget\":\"2950\",\"\\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\":\"+375297521812\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Maxim Rabinciuc\",\"Contact_name\":\"Maxim Rabinciuc\",\"\\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\":\"+375297521812\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Maxim Rabinciuc\",\"Contact_name\":\"Maxim Rabinciuc\",\"\\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\":\"+375297521812\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Maxim Rabinciuc\",\"\\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\":\"03.09.2026\",\"\\u041d\\u043e\\u043c\\u0435\\u0440\":\"676\"},\"document\":{\"Date\":\"03.09.2026\",\"Number\":\"676\"}}}","edit":true}} {"uid":"8fa559f"}
[2026-09-03 11:13:11] docflow.DEBUG: GAS raw response {"raw":"[object] (stdClass: {\"code\":1,\"url\":\"https://docs.google.com/open?id=17kDduqNcqRn9Mjvba6x4ohEOdMFQPpvSp8tMKEJUs7o\",\"file_id\":\"17kDduqNcqRn9Mjvba6x4ohEOdMFQPpvSp8tMKEJUs7o\",\"error\":\"\",\"vars\":\"\"})"} {"uid":"8fa559f"}
[2026-09-03 11:13:11] docflow.WARNING: AmoDrive generated-file move is not ready. {"fileId":"17kDduqNcqRn9Mjvba6x4ohEOdMFQPpvSp8tMKEJUs7o","context":null} {"uid":"8fa559f"}
[2026-09-03 11:14:15] docflow.INFO: Apel createDoc {"data":{"amoAccountId":"22699852","amoUserId":null,"amoEntityId":"42613994","amoEntityType":"2","templateId":"11528","corporateEntityId":"","settlementAccountId":"","is_signed":null,"gdi":null,"number":null,"currentAmoUserId":null,"lang":"ru"}} {"uid":"5133e42"}
[2026-09-03 11:14:15] docflow.INFO: Token is valid for account 22699852. [] {"uid":"5133e42"}
[2026-09-03 11:14:15] docflow.DEBUG: getClientAuth returned {"auth":"[object] (stdClass: {\"domain\":\"emigrare.amocrm.ru\",\"access_token\":\"eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImp0aSI6Ijc5NmQ0ZGI2YTA3MWNlZDc3ODJlNGQ0YjUwNDg3Y2YzYzc5NzMzMGZmYjRiODY3YmJkOGZlMGM0OTgzMThhOWM2ZWI0OGY0NWEwNjUyNTA2In0.eyJhdWQiOiIwZDY0ZGZmYi1lNTRiLTQ0OGYtOWZiZi1iYWYyMjUxYTExZGIiLCJqdGkiOiI3OTZkNGRiNmEwNzFjZWQ3NzgyZTRkNGI1MDQ4N2NmM2M3OTczMzBmZmI0Yjg2N2JiZDhmZTBjNDk4MzE4YTljNmViNDhmNDVhMDY1MjUwNiIsImlhdCI6MTc4ODQyMDkzMSwibmJmIjoxNzg4NDIwOTMxLCJleHAiOjE3ODg1MDczMzEsInN1YiI6IjI5MzAzODAiLCJncmFudF90eXBlIjoiIiwiYWNjb3VudF9pZCI6MjI2OTk4NTIsImJhc2VfZG9tYWluIjoiYW1vY3JtLnJ1IiwidmVyc2lvbiI6Miwic2NvcGVzIjpbInB1c2hfbm90aWZpY2F0aW9ucyIsImNybSIsIm5vdGlmaWNhdGlvbnMiXSwiaGFzaF91dWlkIjoiZGEyYWE1ZjktZGExOC00MjdlLWE2MWYtNTVmYTc3ODVlZjY2IiwiYXBpX2RvbWFpbiI6ImFwaS1hLmFtb2NybS5ydSJ9.H4kHy9HTAlmOrLwH87KEUkW3m5XrIPQPJ94nBHw7VmgyuPPvGaBKTqjV0ZeDQAB1eCpE6EUB3rzYGayOEE9oAeVFDKK5jTkW4oB5DsBnqMLC0Y0p3r7E0iO_PIE4V_HEI2v_jRgepLdDV85cqYKaSeT1ho90pWjPIZ0rm_9K0_HWXp6oXP5IvTBJbUKDaZ-8GfjtRNe3HeN3_V4AsYnDU5Q6lWeVyKwDd0r2N6Tf2QU5Xvn5DSWODA5r3fmWriH3KKtx4KnIccLHSYV5x46iQ-a7aRY4Zwqr76sVZzk7_98D61OGdafIPJno0g0tKRoASQPcQxT6IGoUSyqxOVFbdA\"})","file":"/home/ytvmclwh/document.amocrm.md/src/Models/Docs.php","line":121} {"uid":"5133e42"}
[2026-09-03 11:14:18] docflow.DEBUG: AmoDrive docflow context request {"url":"https://google.emale.uno/api/docflow/google-context","query":{"account_id":"22699852","entity_id":"42613994","entity_type":"leads"}} {"uid":"5133e42"}
[2026-09-03 11:14:18] 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=42613994&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/09/03 11:14:18</td>\r\n</tr>\r\n</table>\r\n<hr><center>tengine</center>\r\n</body>\r\n</html>\r\n"} {"uid":"5133e42"}
[2026-09-03 11:14:18] docflow.DEBUG: AmoDrive docflow context request {"url":"https://gd.glucose-dev.online/api/docflow/google-context","query":{"account_id":"22699852","entity_id":"42613994","entity_type":"leads"}} {"uid":"5133e42"}
[2026-09-03 11:14:18] docflow.WARNING: AmoDrive docflow context response is not ready, trying next backend. {"url":"https://gd.glucose-dev.online/api/docflow/google-context","payload":{"ok":true,"accountId":22699852,"entityId":"42613994","entityType":"leads","amodrive":{"installed":false,"widgetStatus":"uninstalled","amoAccountId":22699852,"accountHost":"emigrare.amocrm.ru","license":{"status":"active","configuredStatus":"active","expiresAt":"2027-08-20T10:16:56.291Z","isExpired":false,"isTrial":false,"isActive":true,"expiredByDate":false,"daysRemaining":352,"isLifetime":false},"licenseActive":false,"googleConnected":false,"googleEmail":null,"googleHasDriveScope":false,"googleHasDriveFileScope":false,"googleHasOwnershipScope":false,"readyForGeneratedFileMove":false,"readyForTransfer":false},"folder":{"id":"1Br8K5NgLBIhZG6E0GLFTr39cI6EUavT0","name":"42613994 - Lead #42613994","webViewLink":"https://drive.google.com/drive/folders/1Br8K5NgLBIhZG6E0GLFTr39cI6EUavT0"}}} {"uid":"5133e42"}
[2026-09-03 11:14:18] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://google.emale.uno/api/docflow/prepare-generated-doc","payload":{"account_id":"22699852","entity_id":"42613994","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"5133e42"}
[2026-09-03 11:14:18] 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/09/03 11:14:18</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":"42613994","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"5133e42"}
[2026-09-03 11:14:18] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://gd.glucose-dev.online/api/docflow/prepare-generated-doc","payload":{"account_id":"22699852","entity_id":"42613994","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"5133e42"}
[2026-09-03 11:14:18] docflow.WARNING: AmoDrive prepare-generated-doc request failed {"url":"https://gd.glucose-dev.online/api/docflow/prepare-generated-doc","http_code":null,"error":"HTTP/2 404 ","response":"[object] (stdClass: {\"ok\":false,\"error\":\"AmoDrive is not installed for this account.\",\"accountId\":22699852})","payload":{"account_id":"22699852","entity_id":"42613994","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"5133e42"}
[2026-09-03 11:14:18] docflow.DEBUG: GAS request {"url":"https://script.google.com/macros/s/AKfycbwrvOJD46zkuoTzdhpc1kulhV8jRfgQBFZfQ121nkIip_k8yKit4xrbWTOzaJ-C-Yed6w/exec","body":{"templateFileId":"1t5qR7ljR1POq9sxQLSVsM-X-P6cqy7PNY1dXWqrVcQ8","accountId":"22699852","folderId":"1Us2AfskxgdA729xVr0F2vjZU9y5PlYDe","key":"~VTsK5dcnHc2cSSsjM$LFSjLlgbmJXwrp3R2P5nd","data":"{\"fileName\":\"\\u0421\\u0447\\u0435\\u0442 \\u043d\\u0430 \\u043e\\u043f\\u043b\\u0430\\u0442\\u0443 AR \\/ DA \\/ LG (EUR\\/USD\\/MDL) 177 20260903111418\",\"leadId\":\"42613994\",\"entities\":{\"\\u0441\\u0434\\u0435\\u043b\\u043a\\u0430\":{\"ID\":\"42613994\",\"\\u0421\\u0434\\u0435\\u043b\\u043a\\u0430_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Programare consulat transcriere CN\",\"Lead_name\":\"Programare consulat transcriere CN\",\"\\u0411\\u044e\\u0434\\u0436\\u0435\\u0442\":\"40\",\"Budget\":\"40\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"Cezara Cenusa\",\"Responsible\":\"Cezara Cenusa\"},\"lead\":{\"ID\":\"42613994\",\"\\u0421\\u0434\\u0435\\u043b\\u043a\\u0430_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Programare consulat transcriere CN\",\"Lead_name\":\"Programare consulat transcriere CN\",\"\\u0411\\u044e\\u0434\\u0436\\u0435\\u0442\":\"40\",\"Budget\":\"40\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"Cezara Cenusa\",\"Responsible\":\"Cezara Cenusa\"},\"\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442\":{\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"076002320\",\"Email\":\"andreyturturica@gmail.com\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Diana Turturica\",\"Contact_name\":\"Diana Turturica\",\"\\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\":\"076002320\",\"Email\":\"andreyturturica@gmail.com\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Diana Turturica\",\"Contact_name\":\"Diana Turturica\",\"\\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\":\"076002320\",\"Email\":\"andreyturturica@gmail.com\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Diana Turturica\",\"\\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\":\"03.09.2026\",\"\\u041d\\u043e\\u043c\\u0435\\u0440\":\"177\"},\"document\":{\"Date\":\"03.09.2026\",\"Number\":\"177\"}}}","edit":true}} {"uid":"5133e42"}
[2026-09-03 11:14:24] docflow.DEBUG: GAS raw response {"raw":"[object] (stdClass: {\"code\":1,\"url\":\"https://docs.google.com/open?id=10ilGYZD9J24pCA5pRgABmqT0ID5phiFTVs5Tku49l6I\",\"file_id\":\"10ilGYZD9J24pCA5pRgABmqT0ID5phiFTVs5Tku49l6I\",\"error\":\"\",\"vars\":\"\"})"} {"uid":"5133e42"}
[2026-09-03 11:14:24] docflow.WARNING: AmoDrive generated-file move is not ready. {"fileId":"10ilGYZD9J24pCA5pRgABmqT0ID5phiFTVs5Tku49l6I","context":null} {"uid":"5133e42"}
[2026-09-03 11:14:50] docflow.INFO: Apel createDoc {"data":{"amoAccountId":"22699852","amoUserId":null,"amoEntityId":"42613994","amoEntityType":"2","templateId":"11505","corporateEntityId":"","settlementAccountId":"","is_signed":null,"gdi":null,"number":null,"currentAmoUserId":null,"lang":"ru"}} {"uid":"71069bc"}
[2026-09-03 11:14:51] docflow.INFO: Token is valid for account 22699852. [] {"uid":"71069bc"}
[2026-09-03 11:14:51] docflow.DEBUG: getClientAuth returned {"auth":"[object] (stdClass: {\"domain\":\"emigrare.amocrm.ru\",\"access_token\":\"eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImp0aSI6Ijc5NmQ0ZGI2YTA3MWNlZDc3ODJlNGQ0YjUwNDg3Y2YzYzc5NzMzMGZmYjRiODY3YmJkOGZlMGM0OTgzMThhOWM2ZWI0OGY0NWEwNjUyNTA2In0.eyJhdWQiOiIwZDY0ZGZmYi1lNTRiLTQ0OGYtOWZiZi1iYWYyMjUxYTExZGIiLCJqdGkiOiI3OTZkNGRiNmEwNzFjZWQ3NzgyZTRkNGI1MDQ4N2NmM2M3OTczMzBmZmI0Yjg2N2JiZDhmZTBjNDk4MzE4YTljNmViNDhmNDVhMDY1MjUwNiIsImlhdCI6MTc4ODQyMDkzMSwibmJmIjoxNzg4NDIwOTMxLCJleHAiOjE3ODg1MDczMzEsInN1YiI6IjI5MzAzODAiLCJncmFudF90eXBlIjoiIiwiYWNjb3VudF9pZCI6MjI2OTk4NTIsImJhc2VfZG9tYWluIjoiYW1vY3JtLnJ1IiwidmVyc2lvbiI6Miwic2NvcGVzIjpbInB1c2hfbm90aWZpY2F0aW9ucyIsImNybSIsIm5vdGlmaWNhdGlvbnMiXSwiaGFzaF91dWlkIjoiZGEyYWE1ZjktZGExOC00MjdlLWE2MWYtNTVmYTc3ODVlZjY2IiwiYXBpX2RvbWFpbiI6ImFwaS1hLmFtb2NybS5ydSJ9.H4kHy9HTAlmOrLwH87KEUkW3m5XrIPQPJ94nBHw7VmgyuPPvGaBKTqjV0ZeDQAB1eCpE6EUB3rzYGayOEE9oAeVFDKK5jTkW4oB5DsBnqMLC0Y0p3r7E0iO_PIE4V_HEI2v_jRgepLdDV85cqYKaSeT1ho90pWjPIZ0rm_9K0_HWXp6oXP5IvTBJbUKDaZ-8GfjtRNe3HeN3_V4AsYnDU5Q6lWeVyKwDd0r2N6Tf2QU5Xvn5DSWODA5r3fmWriH3KKtx4KnIccLHSYV5x46iQ-a7aRY4Zwqr76sVZzk7_98D61OGdafIPJno0g0tKRoASQPcQxT6IGoUSyqxOVFbdA\"})","file":"/home/ytvmclwh/document.amocrm.md/src/Models/Docs.php","line":121} {"uid":"71069bc"}
[2026-09-03 11:14:53] docflow.DEBUG: AmoDrive docflow context request {"url":"https://google.emale.uno/api/docflow/google-context","query":{"account_id":"22699852","entity_id":"42613994","entity_type":"leads"}} {"uid":"71069bc"}
[2026-09-03 11:14:53] docflow.WARNING: AmoDrive docflow context request failed {"url":"https://google.emale.uno/api/docflow/google-context","http_code":null,"error":"HTTP/2 400 ","response":"<!DOCTYPE HTML PUBLIC \"-//IETF//DTD HTML 2.0//EN\">\r\n<html>\r\n<head><title>400 Bad Request</title></head>\r\n<body>\r\n<center><h1>400 Bad Request</h1></center>\r\n Sorry for the inconvenience.<br/>\r\nPlease report this message and include the following information to us.<br/>\r\nThank you very much!</p>\r\n<table>\r\n<tr>\r\n<td>URL:</td>\r\n<td>https://gd.glucose-dev.online/api/docflow/google-context?account_id=22699852&amp;entity_id=42613994&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/09/03 11:14:53</td>\r\n</tr>\r\n</table>\r\n<hr><center>tengine</center>\r\n</body>\r\n</html>\r\n"} {"uid":"71069bc"}
[2026-09-03 11:14:53] docflow.DEBUG: AmoDrive docflow context request {"url":"https://gd.glucose-dev.online/api/docflow/google-context","query":{"account_id":"22699852","entity_id":"42613994","entity_type":"leads"}} {"uid":"71069bc"}
[2026-09-03 11:14:53] docflow.WARNING: AmoDrive docflow context response is not ready, trying next backend. {"url":"https://gd.glucose-dev.online/api/docflow/google-context","payload":{"ok":true,"accountId":22699852,"entityId":"42613994","entityType":"leads","amodrive":{"installed":false,"widgetStatus":"uninstalled","amoAccountId":22699852,"accountHost":"emigrare.amocrm.ru","license":{"status":"active","configuredStatus":"active","expiresAt":"2027-08-20T10:16:56.291Z","isExpired":false,"isTrial":false,"isActive":true,"expiredByDate":false,"daysRemaining":352,"isLifetime":false},"licenseActive":false,"googleConnected":false,"googleEmail":null,"googleHasDriveScope":false,"googleHasDriveFileScope":false,"googleHasOwnershipScope":false,"readyForGeneratedFileMove":false,"readyForTransfer":false},"folder":{"id":"1Br8K5NgLBIhZG6E0GLFTr39cI6EUavT0","name":"42613994 - Lead #42613994","webViewLink":"https://drive.google.com/drive/folders/1Br8K5NgLBIhZG6E0GLFTr39cI6EUavT0"}}} {"uid":"71069bc"}
[2026-09-03 11:14:53] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://google.emale.uno/api/docflow/prepare-generated-doc","payload":{"account_id":"22699852","entity_id":"42613994","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"71069bc"}
[2026-09-03 11:14:53] docflow.WARNING: AmoDrive prepare-generated-doc request failed {"url":"https://google.emale.uno/api/docflow/prepare-generated-doc","http_code":null,"error":"HTTP/2 400 ","response":"<!DOCTYPE HTML PUBLIC \"-//IETF//DTD HTML 2.0//EN\">\r\n<html>\r\n<head><title>400 Bad Request</title></head>\r\n<body>\r\n<center><h1>400 Bad Request</h1></center>\r\n Sorry for the inconvenience.<br/>\r\nPlease report this message and include the following information to us.<br/>\r\nThank you very much!</p>\r\n<table>\r\n<tr>\r\n<td>URL:</td>\r\n<td>https://gd.glucose-dev.online/api/docflow/prepare-generated-doc</td>\r\n</tr>\r\n<tr>\r\n<td>Server:</td>\r\n<td>mail.glucose-dev.online</td>\r\n</tr>\r\n<tr>\r\n<td>Date:</td>\r\n<td>2026/09/03 11:14:53</td>\r\n</tr>\r\n</table>\r\n<hr><center>tengine</center>\r\n</body>\r\n</html>\r\n","payload":{"account_id":"22699852","entity_id":"42613994","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"71069bc"}
[2026-09-03 11:14:53] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://gd.glucose-dev.online/api/docflow/prepare-generated-doc","payload":{"account_id":"22699852","entity_id":"42613994","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"71069bc"}
[2026-09-03 11:14:53] docflow.WARNING: AmoDrive prepare-generated-doc request failed {"url":"https://gd.glucose-dev.online/api/docflow/prepare-generated-doc","http_code":null,"error":"HTTP/2 404 ","response":"[object] (stdClass: {\"ok\":false,\"error\":\"AmoDrive is not installed for this account.\",\"accountId\":22699852})","payload":{"account_id":"22699852","entity_id":"42613994","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"71069bc"}
[2026-09-03 11:14:53] docflow.DEBUG: GAS request {"url":"https://script.google.com/macros/s/AKfycbwrvOJD46zkuoTzdhpc1kulhV8jRfgQBFZfQ121nkIip_k8yKit4xrbWTOzaJ-C-Yed6w/exec","body":{"templateFileId":"1hXWulQoQx3ku68_Q-y3zD0b3xoTPzXRiIx-q50uHeqI","accountId":"22699852","folderId":"1Us2AfskxgdA729xVr0F2vjZU9y5PlYDe","key":"~VTsK5dcnHc2cSSsjM$LFSjLlgbmJXwrp3R2P5nd","data":"{\"fileName\":\"Consim\\u021b\\u0103m\\u00eent (contract) 35 20260903111453\",\"leadId\":\"42613994\",\"entities\":{\"\\u0441\\u0434\\u0435\\u043b\\u043a\\u0430\":{\"ID\":\"42613994\",\"\\u0421\\u0434\\u0435\\u043b\\u043a\\u0430_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Programare consulat transcriere CN\",\"Lead_name\":\"Programare consulat transcriere CN\",\"\\u0411\\u044e\\u0434\\u0436\\u0435\\u0442\":\"40\",\"Budget\":\"40\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"Cezara Cenusa\",\"Responsible\":\"Cezara Cenusa\"},\"lead\":{\"ID\":\"42613994\",\"\\u0421\\u0434\\u0435\\u043b\\u043a\\u0430_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Programare consulat transcriere CN\",\"Lead_name\":\"Programare consulat transcriere CN\",\"\\u0411\\u044e\\u0434\\u0436\\u0435\\u0442\":\"40\",\"Budget\":\"40\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"Cezara Cenusa\",\"Responsible\":\"Cezara Cenusa\"},\"\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442\":{\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"076002320\",\"Email\":\"andreyturturica@gmail.com\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Diana Turturica\",\"Contact_name\":\"Diana Turturica\",\"\\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\":\"076002320\",\"Email\":\"andreyturturica@gmail.com\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Diana Turturica\",\"Contact_name\":\"Diana Turturica\",\"\\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\":\"076002320\",\"Email\":\"andreyturturica@gmail.com\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Diana Turturica\",\"\\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\":\"03.09.2026\",\"\\u041d\\u043e\\u043c\\u0435\\u0440\":\"35\"},\"document\":{\"Date\":\"03.09.2026\",\"Number\":\"35\"}}}","edit":true}} {"uid":"71069bc"}
[2026-09-03 11:14:58] docflow.DEBUG: GAS raw response {"raw":"[object] (stdClass: {\"code\":1,\"url\":\"https://docs.google.com/open?id=1U--a763mqw4Nit6tjEZmWmphZO7AqenmTSUbGpVUHs0\",\"file_id\":\"1U--a763mqw4Nit6tjEZmWmphZO7AqenmTSUbGpVUHs0\",\"error\":\"\",\"vars\":\"\"})"} {"uid":"71069bc"}
[2026-09-03 11:14:58] docflow.WARNING: AmoDrive generated-file move is not ready. {"fileId":"1U--a763mqw4Nit6tjEZmWmphZO7AqenmTSUbGpVUHs0","context":null} {"uid":"71069bc"}
[2026-09-03 11:27:46] docflow.INFO: Apel createDoc {"data":{"amoAccountId":"22699852","amoUserId":null,"amoEntityId":"37462244","amoEntityType":"2","templateId":"11526","corporateEntityId":"","settlementAccountId":"","is_signed":null,"gdi":null,"number":null,"currentAmoUserId":null,"lang":"ru"}} {"uid":"21638ef"}
[2026-09-03 11:27:47] docflow.INFO: Token is valid for account 22699852. [] {"uid":"21638ef"}
[2026-09-03 11:27:47] docflow.DEBUG: getClientAuth returned {"auth":"[object] (stdClass: {\"domain\":\"emigrare.amocrm.ru\",\"access_token\":\"eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImp0aSI6Ijc5NmQ0ZGI2YTA3MWNlZDc3ODJlNGQ0YjUwNDg3Y2YzYzc5NzMzMGZmYjRiODY3YmJkOGZlMGM0OTgzMThhOWM2ZWI0OGY0NWEwNjUyNTA2In0.eyJhdWQiOiIwZDY0ZGZmYi1lNTRiLTQ0OGYtOWZiZi1iYWYyMjUxYTExZGIiLCJqdGkiOiI3OTZkNGRiNmEwNzFjZWQ3NzgyZTRkNGI1MDQ4N2NmM2M3OTczMzBmZmI0Yjg2N2JiZDhmZTBjNDk4MzE4YTljNmViNDhmNDVhMDY1MjUwNiIsImlhdCI6MTc4ODQyMDkzMSwibmJmIjoxNzg4NDIwOTMxLCJleHAiOjE3ODg1MDczMzEsInN1YiI6IjI5MzAzODAiLCJncmFudF90eXBlIjoiIiwiYWNjb3VudF9pZCI6MjI2OTk4NTIsImJhc2VfZG9tYWluIjoiYW1vY3JtLnJ1IiwidmVyc2lvbiI6Miwic2NvcGVzIjpbInB1c2hfbm90aWZpY2F0aW9ucyIsImNybSIsIm5vdGlmaWNhdGlvbnMiXSwiaGFzaF91dWlkIjoiZGEyYWE1ZjktZGExOC00MjdlLWE2MWYtNTVmYTc3ODVlZjY2IiwiYXBpX2RvbWFpbiI6ImFwaS1hLmFtb2NybS5ydSJ9.H4kHy9HTAlmOrLwH87KEUkW3m5XrIPQPJ94nBHw7VmgyuPPvGaBKTqjV0ZeDQAB1eCpE6EUB3rzYGayOEE9oAeVFDKK5jTkW4oB5DsBnqMLC0Y0p3r7E0iO_PIE4V_HEI2v_jRgepLdDV85cqYKaSeT1ho90pWjPIZ0rm_9K0_HWXp6oXP5IvTBJbUKDaZ-8GfjtRNe3HeN3_V4AsYnDU5Q6lWeVyKwDd0r2N6Tf2QU5Xvn5DSWODA5r3fmWriH3KKtx4KnIccLHSYV5x46iQ-a7aRY4Zwqr76sVZzk7_98D61OGdafIPJno0g0tKRoASQPcQxT6IGoUSyqxOVFbdA\"})","file":"/home/ytvmclwh/document.amocrm.md/src/Models/Docs.php","line":121} {"uid":"21638ef"}
[2026-09-03 11:27:49] docflow.DEBUG: AmoDrive docflow context request {"url":"https://google.emale.uno/api/docflow/google-context","query":{"account_id":"22699852","entity_id":"37462244","entity_type":"leads"}} {"uid":"21638ef"}
[2026-09-03 11:27:50] docflow.WARNING: AmoDrive docflow context request failed {"url":"https://google.emale.uno/api/docflow/google-context","http_code":null,"error":"HTTP/2 400 ","response":"<!DOCTYPE HTML PUBLIC \"-//IETF//DTD HTML 2.0//EN\">\r\n<html>\r\n<head><title>400 Bad Request</title></head>\r\n<body>\r\n<center><h1>400 Bad Request</h1></center>\r\n Sorry for the inconvenience.<br/>\r\nPlease report this message and include the following information to us.<br/>\r\nThank you very much!</p>\r\n<table>\r\n<tr>\r\n<td>URL:</td>\r\n<td>https://gd.glucose-dev.online/api/docflow/google-context?account_id=22699852&amp;entity_id=37462244&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/09/03 11:27:50</td>\r\n</tr>\r\n</table>\r\n<hr><center>tengine</center>\r\n</body>\r\n</html>\r\n"} {"uid":"21638ef"}
[2026-09-03 11:27:50] docflow.DEBUG: AmoDrive docflow context request {"url":"https://gd.glucose-dev.online/api/docflow/google-context","query":{"account_id":"22699852","entity_id":"37462244","entity_type":"leads"}} {"uid":"21638ef"}
[2026-09-03 11:27:50] docflow.WARNING: AmoDrive docflow context response is not ready, trying next backend. {"url":"https://gd.glucose-dev.online/api/docflow/google-context","payload":{"ok":true,"accountId":22699852,"entityId":"37462244","entityType":"leads","amodrive":{"installed":false,"widgetStatus":"uninstalled","amoAccountId":22699852,"accountHost":"emigrare.amocrm.ru","license":{"status":"active","configuredStatus":"active","expiresAt":"2027-08-20T10:16:56.291Z","isExpired":false,"isTrial":false,"isActive":true,"expiredByDate":false,"daysRemaining":352,"isLifetime":false},"licenseActive":false,"googleConnected":false,"googleEmail":null,"googleHasDriveScope":false,"googleHasDriveFileScope":false,"googleHasOwnershipScope":false,"readyForGeneratedFileMove":false,"readyForTransfer":false},"folder":{"id":"1PFdmxP9w3Bfkmz0GqtOg--7APD4xYTdh","name":"Cet. MD","webViewLink":"https://drive.google.com/drive/folders/1PFdmxP9w3Bfkmz0GqtOg--7APD4xYTdh"}}} {"uid":"21638ef"}
[2026-09-03 11:27:50] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://google.emale.uno/api/docflow/prepare-generated-doc","payload":{"account_id":"22699852","entity_id":"37462244","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"21638ef"}
[2026-09-03 11:27:50] docflow.WARNING: AmoDrive prepare-generated-doc request failed {"url":"https://google.emale.uno/api/docflow/prepare-generated-doc","http_code":null,"error":"HTTP/2 400 ","response":"<!DOCTYPE HTML PUBLIC \"-//IETF//DTD HTML 2.0//EN\">\r\n<html>\r\n<head><title>400 Bad Request</title></head>\r\n<body>\r\n<center><h1>400 Bad Request</h1></center>\r\n Sorry for the inconvenience.<br/>\r\nPlease report this message and include the following information to us.<br/>\r\nThank you very much!</p>\r\n<table>\r\n<tr>\r\n<td>URL:</td>\r\n<td>https://gd.glucose-dev.online/api/docflow/prepare-generated-doc</td>\r\n</tr>\r\n<tr>\r\n<td>Server:</td>\r\n<td>mail.glucose-dev.online</td>\r\n</tr>\r\n<tr>\r\n<td>Date:</td>\r\n<td>2026/09/03 11:27:50</td>\r\n</tr>\r\n</table>\r\n<hr><center>tengine</center>\r\n</body>\r\n</html>\r\n","payload":{"account_id":"22699852","entity_id":"37462244","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"21638ef"}
[2026-09-03 11:27:50] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://gd.glucose-dev.online/api/docflow/prepare-generated-doc","payload":{"account_id":"22699852","entity_id":"37462244","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"21638ef"}
[2026-09-03 11:27:50] docflow.WARNING: AmoDrive prepare-generated-doc request failed {"url":"https://gd.glucose-dev.online/api/docflow/prepare-generated-doc","http_code":null,"error":"HTTP/2 404 ","response":"[object] (stdClass: {\"ok\":false,\"error\":\"AmoDrive is not installed for this account.\",\"accountId\":22699852})","payload":{"account_id":"22699852","entity_id":"37462244","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"21638ef"}
[2026-09-03 11:27:50] docflow.DEBUG: GAS request {"url":"https://script.google.com/macros/s/AKfycbwrvOJD46zkuoTzdhpc1kulhV8jRfgQBFZfQ121nkIip_k8yKit4xrbWTOzaJ-C-Yed6w/exec","body":{"templateFileId":"1snQY4ritjrb76kkRXORjQOdbteGoUc5GjdQR8UlRbIM","accountId":"22699852","folderId":"1Us2AfskxgdA729xVr0F2vjZU9y5PlYDe","key":"~VTsK5dcnHc2cSSsjM$LFSjLlgbmJXwrp3R2P5nd","data":"{\"fileName\":\"\\u0421\\u0447\\u0435\\u0442 \\u043d\\u0430 \\u043e\\u043f\\u043b\\u0430\\u0442\\u0443 DOC PARK (EUR\\/USD\\/MDL) 111 20260903112749\",\"leadId\":\"37462244\",\"entities\":{\"\\u0441\\u0434\\u0435\\u043b\\u043a\\u0430\":{\"Brand\":\"Emigrare.md\",\"Categorie Serviciu\":\"Cet.MD\",\"Serviciu solicitat\":\"1520102\",\"Suma Back\":\"0\",\"Data consulta\\u021biei\":\"19.01.2024\",\"Suma contract\":\"2950\",\"#Manager Front\":\"Capanji Igor\",\"google_folder_id_leads_field\":\"1PFdmxP9w3Bfkmz0GqtOg--7APD4xYTdh\",\"google_folder_link_leads_field\":\"https:\\/\\/drive.google.com\\/drive\\/folders\\/1PFdmxP9w3Bfkmz0GqtOg--7APD4xYTdh\",\"Urm\\u0103torul contact\":\"2024-02-13 16:22:00\",\"Compania\":\"EMG Consulting Group SRL\",\"Manager Juridic\":\"Dascal Anatolie\",\"#Manager Jurist\":\"Dascal Anatolie\",\"Tentative de apel\":\"0\",\"#Manager Instiu\\u021bii Publice\":\"Moldovanu Ghenadie\",\"#Manager Documentare\":\"Vitalie\",\"Data primire acte\":\"27.02.2024\",\"Data predare acte\":\"25.08.2024\",\"Suma \\u20ac\":\"0\",\"ID\":\"37462244\",\"\\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\":\"2950\",\"Budget\":\"2950\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"Dascal Anatolie\",\"Responsible\":\"Dascal Anatolie\"},\"lead\":{\"Brand\":\"Emigrare.md\",\"Categorie Serviciu\":\"Cet.MD\",\"Serviciu solicitat\":\"1520102\",\"Suma Back\":\"0\",\"Data consulta\\u021biei\":\"19.01.2024\",\"Suma contract\":\"2950\",\"#Manager Front\":\"Capanji Igor\",\"google_folder_id_leads_field\":\"1PFdmxP9w3Bfkmz0GqtOg--7APD4xYTdh\",\"google_folder_link_leads_field\":\"https:\\/\\/drive.google.com\\/drive\\/folders\\/1PFdmxP9w3Bfkmz0GqtOg--7APD4xYTdh\",\"Urm\\u0103torul contact\":\"2024-02-13 16:22:00\",\"Compania\":\"EMG Consulting Group SRL\",\"Manager Juridic\":\"Dascal Anatolie\",\"#Manager Jurist\":\"Dascal Anatolie\",\"Tentative de apel\":\"0\",\"#Manager Instiu\\u021bii Publice\":\"Moldovanu Ghenadie\",\"#Manager Documentare\":\"Vitalie\",\"Data primire acte\":\"27.02.2024\",\"Data predare acte\":\"25.08.2024\",\"Suma \\u20ac\":\"0\",\"ID\":\"37462244\",\"\\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\":\"2950\",\"Budget\":\"2950\",\"\\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\":\"+375297521812\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Maxim Rabinciuc\",\"Contact_name\":\"Maxim Rabinciuc\",\"\\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\":\"+375297521812\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Maxim Rabinciuc\",\"Contact_name\":\"Maxim Rabinciuc\",\"\\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\":\"+375297521812\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Maxim Rabinciuc\",\"\\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\":\"03.09.2026\",\"\\u041d\\u043e\\u043c\\u0435\\u0440\":\"111\"},\"document\":{\"Date\":\"03.09.2026\",\"Number\":\"111\"}}}","edit":true}} {"uid":"21638ef"}
[2026-09-03 11:27:55] docflow.DEBUG: GAS raw response {"raw":"[object] (stdClass: {\"code\":1,\"url\":\"https://docs.google.com/open?id=1lEYI2pvQNAUGa0MVANK-rWwz_7Z2gkMNlF-oGVrRLYI\",\"file_id\":\"1lEYI2pvQNAUGa0MVANK-rWwz_7Z2gkMNlF-oGVrRLYI\",\"error\":\"\",\"vars\":\"\"})"} {"uid":"21638ef"}
[2026-09-03 11:27:55] docflow.WARNING: AmoDrive generated-file move is not ready. {"fileId":"1lEYI2pvQNAUGa0MVANK-rWwz_7Z2gkMNlF-oGVrRLYI","context":null} {"uid":"21638ef"}
[2026-09-03 11:29:19] docflow.INFO: Apel createDoc {"data":{"amoAccountId":"22699852","amoUserId":null,"amoEntityId":"42613994","amoEntityType":"2","templateId":"11525","corporateEntityId":"","settlementAccountId":"","is_signed":null,"gdi":null,"number":null,"currentAmoUserId":null,"lang":"ru"}} {"uid":"29dc4e1"}
[2026-09-03 11:29:19] docflow.INFO: Token is valid for account 22699852. [] {"uid":"29dc4e1"}
[2026-09-03 11:29:19] docflow.DEBUG: getClientAuth returned {"auth":"[object] (stdClass: {\"domain\":\"emigrare.amocrm.ru\",\"access_token\":\"eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImp0aSI6Ijc5NmQ0ZGI2YTA3MWNlZDc3ODJlNGQ0YjUwNDg3Y2YzYzc5NzMzMGZmYjRiODY3YmJkOGZlMGM0OTgzMThhOWM2ZWI0OGY0NWEwNjUyNTA2In0.eyJhdWQiOiIwZDY0ZGZmYi1lNTRiLTQ0OGYtOWZiZi1iYWYyMjUxYTExZGIiLCJqdGkiOiI3OTZkNGRiNmEwNzFjZWQ3NzgyZTRkNGI1MDQ4N2NmM2M3OTczMzBmZmI0Yjg2N2JiZDhmZTBjNDk4MzE4YTljNmViNDhmNDVhMDY1MjUwNiIsImlhdCI6MTc4ODQyMDkzMSwibmJmIjoxNzg4NDIwOTMxLCJleHAiOjE3ODg1MDczMzEsInN1YiI6IjI5MzAzODAiLCJncmFudF90eXBlIjoiIiwiYWNjb3VudF9pZCI6MjI2OTk4NTIsImJhc2VfZG9tYWluIjoiYW1vY3JtLnJ1IiwidmVyc2lvbiI6Miwic2NvcGVzIjpbInB1c2hfbm90aWZpY2F0aW9ucyIsImNybSIsIm5vdGlmaWNhdGlvbnMiXSwiaGFzaF91dWlkIjoiZGEyYWE1ZjktZGExOC00MjdlLWE2MWYtNTVmYTc3ODVlZjY2IiwiYXBpX2RvbWFpbiI6ImFwaS1hLmFtb2NybS5ydSJ9.H4kHy9HTAlmOrLwH87KEUkW3m5XrIPQPJ94nBHw7VmgyuPPvGaBKTqjV0ZeDQAB1eCpE6EUB3rzYGayOEE9oAeVFDKK5jTkW4oB5DsBnqMLC0Y0p3r7E0iO_PIE4V_HEI2v_jRgepLdDV85cqYKaSeT1ho90pWjPIZ0rm_9K0_HWXp6oXP5IvTBJbUKDaZ-8GfjtRNe3HeN3_V4AsYnDU5Q6lWeVyKwDd0r2N6Tf2QU5Xvn5DSWODA5r3fmWriH3KKtx4KnIccLHSYV5x46iQ-a7aRY4Zwqr76sVZzk7_98D61OGdafIPJno0g0tKRoASQPcQxT6IGoUSyqxOVFbdA\"})","file":"/home/ytvmclwh/document.amocrm.md/src/Models/Docs.php","line":121} {"uid":"29dc4e1"}
[2026-09-03 11:29:22] docflow.DEBUG: AmoDrive docflow context request {"url":"https://google.emale.uno/api/docflow/google-context","query":{"account_id":"22699852","entity_id":"42613994","entity_type":"leads"}} {"uid":"29dc4e1"}
[2026-09-03 11:29:22] docflow.WARNING: AmoDrive docflow context request failed {"url":"https://google.emale.uno/api/docflow/google-context","http_code":null,"error":"HTTP/2 400 ","response":"<!DOCTYPE HTML PUBLIC \"-//IETF//DTD HTML 2.0//EN\">\r\n<html>\r\n<head><title>400 Bad Request</title></head>\r\n<body>\r\n<center><h1>400 Bad Request</h1></center>\r\n Sorry for the inconvenience.<br/>\r\nPlease report this message and include the following information to us.<br/>\r\nThank you very much!</p>\r\n<table>\r\n<tr>\r\n<td>URL:</td>\r\n<td>https://gd.glucose-dev.online/api/docflow/google-context?account_id=22699852&amp;entity_id=42613994&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/09/03 11:29:22</td>\r\n</tr>\r\n</table>\r\n<hr><center>tengine</center>\r\n</body>\r\n</html>\r\n"} {"uid":"29dc4e1"}
[2026-09-03 11:29:22] docflow.DEBUG: AmoDrive docflow context request {"url":"https://gd.glucose-dev.online/api/docflow/google-context","query":{"account_id":"22699852","entity_id":"42613994","entity_type":"leads"}} {"uid":"29dc4e1"}
[2026-09-03 11:29:22] docflow.WARNING: AmoDrive docflow context response is not ready, trying next backend. {"url":"https://gd.glucose-dev.online/api/docflow/google-context","payload":{"ok":true,"accountId":22699852,"entityId":"42613994","entityType":"leads","amodrive":{"installed":false,"widgetStatus":"uninstalled","amoAccountId":22699852,"accountHost":"emigrare.amocrm.ru","license":{"status":"active","configuredStatus":"active","expiresAt":"2027-08-20T10:16:56.291Z","isExpired":false,"isTrial":false,"isActive":true,"expiredByDate":false,"daysRemaining":352,"isLifetime":false},"licenseActive":false,"googleConnected":false,"googleEmail":null,"googleHasDriveScope":false,"googleHasDriveFileScope":false,"googleHasOwnershipScope":false,"readyForGeneratedFileMove":false,"readyForTransfer":false},"folder":{"id":"1Br8K5NgLBIhZG6E0GLFTr39cI6EUavT0","name":"42613994 - Lead #42613994","webViewLink":"https://drive.google.com/drive/folders/1Br8K5NgLBIhZG6E0GLFTr39cI6EUavT0"}}} {"uid":"29dc4e1"}
[2026-09-03 11:29:22] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://google.emale.uno/api/docflow/prepare-generated-doc","payload":{"account_id":"22699852","entity_id":"42613994","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"29dc4e1"}
[2026-09-03 11:29:22] docflow.WARNING: AmoDrive prepare-generated-doc request failed {"url":"https://google.emale.uno/api/docflow/prepare-generated-doc","http_code":null,"error":"HTTP/2 400 ","response":"<!DOCTYPE HTML PUBLIC \"-//IETF//DTD HTML 2.0//EN\">\r\n<html>\r\n<head><title>400 Bad Request</title></head>\r\n<body>\r\n<center><h1>400 Bad Request</h1></center>\r\n Sorry for the inconvenience.<br/>\r\nPlease report this message and include the following information to us.<br/>\r\nThank you very much!</p>\r\n<table>\r\n<tr>\r\n<td>URL:</td>\r\n<td>https://gd.glucose-dev.online/api/docflow/prepare-generated-doc</td>\r\n</tr>\r\n<tr>\r\n<td>Server:</td>\r\n<td>mail.glucose-dev.online</td>\r\n</tr>\r\n<tr>\r\n<td>Date:</td>\r\n<td>2026/09/03 11:29:22</td>\r\n</tr>\r\n</table>\r\n<hr><center>tengine</center>\r\n</body>\r\n</html>\r\n","payload":{"account_id":"22699852","entity_id":"42613994","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"29dc4e1"}
[2026-09-03 11:29:22] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://gd.glucose-dev.online/api/docflow/prepare-generated-doc","payload":{"account_id":"22699852","entity_id":"42613994","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"29dc4e1"}
[2026-09-03 11:29:22] docflow.WARNING: AmoDrive prepare-generated-doc request failed {"url":"https://gd.glucose-dev.online/api/docflow/prepare-generated-doc","http_code":null,"error":"HTTP/2 404 ","response":"[object] (stdClass: {\"ok\":false,\"error\":\"AmoDrive is not installed for this account.\",\"accountId\":22699852})","payload":{"account_id":"22699852","entity_id":"42613994","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"29dc4e1"}
[2026-09-03 11:29:22] docflow.DEBUG: GAS request {"url":"https://script.google.com/macros/s/AKfycbwrvOJD46zkuoTzdhpc1kulhV8jRfgQBFZfQ121nkIip_k8yKit4xrbWTOzaJ-C-Yed6w/exec","body":{"templateFileId":"1WbsU1KEhQsgulJePwaSJXrk2Enf9WW8h7Hs9uPNHIDU","accountId":"22699852","folderId":"1Us2AfskxgdA729xVr0F2vjZU9y5PlYDe","key":"~VTsK5dcnHc2cSSsjM$LFSjLlgbmJXwrp3R2P5nd","data":"{\"fileName\":\"\\u0421\\u0447\\u0435\\u0442 \\u043d\\u0430 \\u043e\\u043f\\u043b\\u0430\\u0442\\u0443 CNC (EUR\\/USD\\/MDL) 112 20260903112922\",\"leadId\":\"42613994\",\"entities\":{\"\\u0441\\u0434\\u0435\\u043b\\u043a\\u0430\":{\"ID\":\"42613994\",\"\\u0421\\u0434\\u0435\\u043b\\u043a\\u0430_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Programare consulat transcriere CN\",\"Lead_name\":\"Programare consulat transcriere CN\",\"\\u0411\\u044e\\u0434\\u0436\\u0435\\u0442\":\"40\",\"Budget\":\"40\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"Cezara Cenusa\",\"Responsible\":\"Cezara Cenusa\"},\"lead\":{\"ID\":\"42613994\",\"\\u0421\\u0434\\u0435\\u043b\\u043a\\u0430_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Programare consulat transcriere CN\",\"Lead_name\":\"Programare consulat transcriere CN\",\"\\u0411\\u044e\\u0434\\u0436\\u0435\\u0442\":\"40\",\"Budget\":\"40\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"Cezara Cenusa\",\"Responsible\":\"Cezara Cenusa\"},\"\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442\":{\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"076002320\",\"Email\":\"andreyturturica@gmail.com\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Diana Turturica\",\"Contact_name\":\"Diana Turturica\",\"\\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\":\"076002320\",\"Email\":\"andreyturturica@gmail.com\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Diana Turturica\",\"Contact_name\":\"Diana Turturica\",\"\\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\":\"076002320\",\"Email\":\"andreyturturica@gmail.com\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Diana Turturica\",\"\\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\":\"03.09.2026\",\"\\u041d\\u043e\\u043c\\u0435\\u0440\":\"112\"},\"document\":{\"Date\":\"03.09.2026\",\"Number\":\"112\"}}}","edit":true}} {"uid":"29dc4e1"}
[2026-09-03 11:29:28] docflow.DEBUG: GAS raw response {"raw":"[object] (stdClass: {\"code\":1,\"url\":\"https://docs.google.com/open?id=1Gn1SC2ggoM8Y150ix_IhjDi8ZBFi9B6CsmWAlp5Sf_Y\",\"file_id\":\"1Gn1SC2ggoM8Y150ix_IhjDi8ZBFi9B6CsmWAlp5Sf_Y\",\"error\":\"\",\"vars\":\"\"})"} {"uid":"29dc4e1"}
[2026-09-03 11:29:28] docflow.WARNING: AmoDrive generated-file move is not ready. {"fileId":"1Gn1SC2ggoM8Y150ix_IhjDi8ZBFi9B6CsmWAlp5Sf_Y","context":null} {"uid":"29dc4e1"}
[2026-09-03 11:36:05] docflow.INFO: Apel createDoc {"data":{"amoAccountId":"22699852","amoUserId":null,"amoEntityId":"42575804","amoEntityType":"2","templateId":"11525","corporateEntityId":"","settlementAccountId":"","is_signed":null,"gdi":null,"number":null,"currentAmoUserId":null,"lang":"ru"}} {"uid":"673c77f"}
[2026-09-03 11:36:05] docflow.INFO: Token is valid for account 22699852. [] {"uid":"673c77f"}
[2026-09-03 11:36:05] docflow.DEBUG: getClientAuth returned {"auth":"[object] (stdClass: {\"domain\":\"emigrare.amocrm.ru\",\"access_token\":\"eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImp0aSI6Ijc5NmQ0ZGI2YTA3MWNlZDc3ODJlNGQ0YjUwNDg3Y2YzYzc5NzMzMGZmYjRiODY3YmJkOGZlMGM0OTgzMThhOWM2ZWI0OGY0NWEwNjUyNTA2In0.eyJhdWQiOiIwZDY0ZGZmYi1lNTRiLTQ0OGYtOWZiZi1iYWYyMjUxYTExZGIiLCJqdGkiOiI3OTZkNGRiNmEwNzFjZWQ3NzgyZTRkNGI1MDQ4N2NmM2M3OTczMzBmZmI0Yjg2N2JiZDhmZTBjNDk4MzE4YTljNmViNDhmNDVhMDY1MjUwNiIsImlhdCI6MTc4ODQyMDkzMSwibmJmIjoxNzg4NDIwOTMxLCJleHAiOjE3ODg1MDczMzEsInN1YiI6IjI5MzAzODAiLCJncmFudF90eXBlIjoiIiwiYWNjb3VudF9pZCI6MjI2OTk4NTIsImJhc2VfZG9tYWluIjoiYW1vY3JtLnJ1IiwidmVyc2lvbiI6Miwic2NvcGVzIjpbInB1c2hfbm90aWZpY2F0aW9ucyIsImNybSIsIm5vdGlmaWNhdGlvbnMiXSwiaGFzaF91dWlkIjoiZGEyYWE1ZjktZGExOC00MjdlLWE2MWYtNTVmYTc3ODVlZjY2IiwiYXBpX2RvbWFpbiI6ImFwaS1hLmFtb2NybS5ydSJ9.H4kHy9HTAlmOrLwH87KEUkW3m5XrIPQPJ94nBHw7VmgyuPPvGaBKTqjV0ZeDQAB1eCpE6EUB3rzYGayOEE9oAeVFDKK5jTkW4oB5DsBnqMLC0Y0p3r7E0iO_PIE4V_HEI2v_jRgepLdDV85cqYKaSeT1ho90pWjPIZ0rm_9K0_HWXp6oXP5IvTBJbUKDaZ-8GfjtRNe3HeN3_V4AsYnDU5Q6lWeVyKwDd0r2N6Tf2QU5Xvn5DSWODA5r3fmWriH3KKtx4KnIccLHSYV5x46iQ-a7aRY4Zwqr76sVZzk7_98D61OGdafIPJno0g0tKRoASQPcQxT6IGoUSyqxOVFbdA\"})","file":"/home/ytvmclwh/document.amocrm.md/src/Models/Docs.php","line":121} {"uid":"673c77f"}
[2026-09-03 11:36:08] docflow.DEBUG: AmoDrive docflow context request {"url":"https://google.emale.uno/api/docflow/google-context","query":{"account_id":"22699852","entity_id":"42575804","entity_type":"leads"}} {"uid":"673c77f"}
[2026-09-03 11:36:08] docflow.WARNING: AmoDrive docflow context request failed {"url":"https://google.emale.uno/api/docflow/google-context","http_code":null,"error":"HTTP/2 400 ","response":"<!DOCTYPE HTML PUBLIC \"-//IETF//DTD HTML 2.0//EN\">\r\n<html>\r\n<head><title>400 Bad Request</title></head>\r\n<body>\r\n<center><h1>400 Bad Request</h1></center>\r\n Sorry for the inconvenience.<br/>\r\nPlease report this message and include the following information to us.<br/>\r\nThank you very much!</p>\r\n<table>\r\n<tr>\r\n<td>URL:</td>\r\n<td>https://gd.glucose-dev.online/api/docflow/google-context?account_id=22699852&amp;entity_id=42575804&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/09/03 11:36:08</td>\r\n</tr>\r\n</table>\r\n<hr><center>tengine</center>\r\n</body>\r\n</html>\r\n"} {"uid":"673c77f"}
[2026-09-03 11:36:08] docflow.DEBUG: AmoDrive docflow context request {"url":"https://gd.glucose-dev.online/api/docflow/google-context","query":{"account_id":"22699852","entity_id":"42575804","entity_type":"leads"}} {"uid":"673c77f"}
[2026-09-03 11:36:08] docflow.WARNING: AmoDrive docflow context response is not ready, trying next backend. {"url":"https://gd.glucose-dev.online/api/docflow/google-context","payload":{"ok":true,"accountId":22699852,"entityId":"42575804","entityType":"leads","amodrive":{"installed":false,"widgetStatus":"uninstalled","amoAccountId":22699852,"accountHost":"emigrare.amocrm.ru","license":{"status":"active","configuredStatus":"active","expiresAt":"2027-08-20T10:16:56.291Z","isExpired":false,"isTrial":false,"isActive":true,"expiredByDate":false,"daysRemaining":352,"isLifetime":false},"licenseActive":false,"googleConnected":false,"googleEmail":null,"googleHasDriveScope":false,"googleHasDriveFileScope":false,"googleHasOwnershipScope":false,"readyForGeneratedFileMove":false,"readyForTransfer":false},"folder":{"id":"11fn4aWv2NDAUc_TARki1eaouoWtFpllG","name":"42575804 - Lead #42575804","webViewLink":"https://drive.google.com/drive/folders/11fn4aWv2NDAUc_TARki1eaouoWtFpllG"}}} {"uid":"673c77f"}
[2026-09-03 11:36:08] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://google.emale.uno/api/docflow/prepare-generated-doc","payload":{"account_id":"22699852","entity_id":"42575804","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"673c77f"}
[2026-09-03 11:36:08] docflow.WARNING: AmoDrive prepare-generated-doc request failed {"url":"https://google.emale.uno/api/docflow/prepare-generated-doc","http_code":null,"error":"HTTP/2 400 ","response":"<!DOCTYPE HTML PUBLIC \"-//IETF//DTD HTML 2.0//EN\">\r\n<html>\r\n<head><title>400 Bad Request</title></head>\r\n<body>\r\n<center><h1>400 Bad Request</h1></center>\r\n Sorry for the inconvenience.<br/>\r\nPlease report this message and include the following information to us.<br/>\r\nThank you very much!</p>\r\n<table>\r\n<tr>\r\n<td>URL:</td>\r\n<td>https://gd.glucose-dev.online/api/docflow/prepare-generated-doc</td>\r\n</tr>\r\n<tr>\r\n<td>Server:</td>\r\n<td>mail.glucose-dev.online</td>\r\n</tr>\r\n<tr>\r\n<td>Date:</td>\r\n<td>2026/09/03 11:36:08</td>\r\n</tr>\r\n</table>\r\n<hr><center>tengine</center>\r\n</body>\r\n</html>\r\n","payload":{"account_id":"22699852","entity_id":"42575804","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"673c77f"}
[2026-09-03 11:36:08] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://gd.glucose-dev.online/api/docflow/prepare-generated-doc","payload":{"account_id":"22699852","entity_id":"42575804","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"673c77f"}
[2026-09-03 11:36:08] docflow.WARNING: AmoDrive prepare-generated-doc request failed {"url":"https://gd.glucose-dev.online/api/docflow/prepare-generated-doc","http_code":null,"error":"HTTP/2 404 ","response":"[object] (stdClass: {\"ok\":false,\"error\":\"AmoDrive is not installed for this account.\",\"accountId\":22699852})","payload":{"account_id":"22699852","entity_id":"42575804","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"673c77f"}
[2026-09-03 11:36:08] docflow.DEBUG: GAS request {"url":"https://script.google.com/macros/s/AKfycbwrvOJD46zkuoTzdhpc1kulhV8jRfgQBFZfQ121nkIip_k8yKit4xrbWTOzaJ-C-Yed6w/exec","body":{"templateFileId":"1WbsU1KEhQsgulJePwaSJXrk2Enf9WW8h7Hs9uPNHIDU","accountId":"22699852","folderId":"1Us2AfskxgdA729xVr0F2vjZU9y5PlYDe","key":"~VTsK5dcnHc2cSSsjM$LFSjLlgbmJXwrp3R2P5nd","data":"{\"fileName\":\"\\u0421\\u0447\\u0435\\u0442 \\u043d\\u0430 \\u043e\\u043f\\u043b\\u0430\\u0442\\u0443 CNC (EUR\\/USD\\/MDL) 113 20260903113608\",\"leadId\":\"42575804\",\"entities\":{\"\\u0441\\u0434\\u0435\\u043b\\u043a\\u0430\":{\"Suma \\u20ac\":\"0\",\"#Manager Front\":\"Cezara Cenusa\",\"Urm\\u0103torul contact\":\"2026-08-31 15:47:00\",\"Mod achitare\":\"Transfer card \\u0421\\u0431\\u0435\\u0440\\u0411\\u0430\\u043d\\u043a\",\"Suma avans\":\"750\",\"Manager Juridic\":\"Dascal Anatolie\",\"#Manager Jurist\":\"Dascal Anatolie\",\"ID\":\"42575804\",\"\\u0421\\u0434\\u0435\\u043b\\u043a\\u0430_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"rectificare CN (Bakasheva Lida)\",\"Lead_name\":\"rectificare CN (Bakasheva Lida)\",\"\\u0411\\u044e\\u0434\\u0436\\u0435\\u0442\":\"750\",\"Budget\":\"750\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"Victor Ochinciuc\",\"Responsible\":\"Victor Ochinciuc\"},\"lead\":{\"Suma \\u20ac\":\"0\",\"#Manager Front\":\"Cezara Cenusa\",\"Urm\\u0103torul contact\":\"2026-08-31 15:47:00\",\"Mod achitare\":\"Transfer card \\u0421\\u0431\\u0435\\u0440\\u0411\\u0430\\u043d\\u043a\",\"Suma avans\":\"750\",\"Manager Juridic\":\"Dascal Anatolie\",\"#Manager Jurist\":\"Dascal Anatolie\",\"ID\":\"42575804\",\"\\u0421\\u0434\\u0435\\u043b\\u043a\\u0430_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"rectificare CN (Bakasheva Lida)\",\"Lead_name\":\"rectificare CN (Bakasheva Lida)\",\"\\u0411\\u044e\\u0434\\u0436\\u0435\\u0442\":\"750\",\"Budget\":\"750\",\"\\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\":{\"WhatsappLid_WZ\":\"263767464136722\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"+79859826529\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"\\u041d\\u0430\\u0442\\u0430\\u043b\\u044c\\u044f\",\"Contact_name\":\"\\u041d\\u0430\\u0442\\u0430\\u043b\\u044c\\u044f\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"Victor Ochinciuc\",\"Responsible\":\"Victor Ochinciuc\"},\"contact\":{\"WhatsappLid_WZ\":\"263767464136722\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"+79859826529\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"\\u041d\\u0430\\u0442\\u0430\\u043b\\u044c\\u044f\",\"Contact_name\":\"\\u041d\\u0430\\u0442\\u0430\\u043b\\u044c\\u044f\",\"\\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\":[{\"WhatsappLid_WZ\":\"263767464136722\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"+79859826529\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"\\u041d\\u0430\\u0442\\u0430\\u043b\\u044c\\u044f\",\"\\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\":\"03.09.2026\",\"\\u041d\\u043e\\u043c\\u0435\\u0440\":\"113\"},\"document\":{\"Date\":\"03.09.2026\",\"Number\":\"113\"}}}","edit":true}} {"uid":"673c77f"}
[2026-09-03 11:36:14] docflow.DEBUG: GAS raw response {"raw":"[object] (stdClass: {\"code\":1,\"url\":\"https://docs.google.com/open?id=1IwnUXycFc7Y1qq-MEOuGSEbEQnmRl7htYyjBOXi5Hf0\",\"file_id\":\"1IwnUXycFc7Y1qq-MEOuGSEbEQnmRl7htYyjBOXi5Hf0\",\"error\":\"\",\"vars\":\"\"})"} {"uid":"673c77f"}
[2026-09-03 11:36:14] docflow.WARNING: AmoDrive generated-file move is not ready. {"fileId":"1IwnUXycFc7Y1qq-MEOuGSEbEQnmRl7htYyjBOXi5Hf0","context":null} {"uid":"673c77f"}
[2026-09-03 11:43:33] docflow.INFO: Apel createDoc {"data":{"amoAccountId":"22699852","amoUserId":null,"amoEntityId":"42614660","amoEntityType":"2","templateId":"11495","corporateEntityId":"","settlementAccountId":"","is_signed":null,"gdi":null,"number":null,"currentAmoUserId":null,"lang":"ru"}} {"uid":"be28f89"}
[2026-09-03 11:43:34] docflow.INFO: Token is valid for account 22699852. [] {"uid":"be28f89"}
[2026-09-03 11:43:34] docflow.DEBUG: getClientAuth returned {"auth":"[object] (stdClass: {\"domain\":\"emigrare.amocrm.ru\",\"access_token\":\"eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImp0aSI6Ijc5NmQ0ZGI2YTA3MWNlZDc3ODJlNGQ0YjUwNDg3Y2YzYzc5NzMzMGZmYjRiODY3YmJkOGZlMGM0OTgzMThhOWM2ZWI0OGY0NWEwNjUyNTA2In0.eyJhdWQiOiIwZDY0ZGZmYi1lNTRiLTQ0OGYtOWZiZi1iYWYyMjUxYTExZGIiLCJqdGkiOiI3OTZkNGRiNmEwNzFjZWQ3NzgyZTRkNGI1MDQ4N2NmM2M3OTczMzBmZmI0Yjg2N2JiZDhmZTBjNDk4MzE4YTljNmViNDhmNDVhMDY1MjUwNiIsImlhdCI6MTc4ODQyMDkzMSwibmJmIjoxNzg4NDIwOTMxLCJleHAiOjE3ODg1MDczMzEsInN1YiI6IjI5MzAzODAiLCJncmFudF90eXBlIjoiIiwiYWNjb3VudF9pZCI6MjI2OTk4NTIsImJhc2VfZG9tYWluIjoiYW1vY3JtLnJ1IiwidmVyc2lvbiI6Miwic2NvcGVzIjpbInB1c2hfbm90aWZpY2F0aW9ucyIsImNybSIsIm5vdGlmaWNhdGlvbnMiXSwiaGFzaF91dWlkIjoiZGEyYWE1ZjktZGExOC00MjdlLWE2MWYtNTVmYTc3ODVlZjY2IiwiYXBpX2RvbWFpbiI6ImFwaS1hLmFtb2NybS5ydSJ9.H4kHy9HTAlmOrLwH87KEUkW3m5XrIPQPJ94nBHw7VmgyuPPvGaBKTqjV0ZeDQAB1eCpE6EUB3rzYGayOEE9oAeVFDKK5jTkW4oB5DsBnqMLC0Y0p3r7E0iO_PIE4V_HEI2v_jRgepLdDV85cqYKaSeT1ho90pWjPIZ0rm_9K0_HWXp6oXP5IvTBJbUKDaZ-8GfjtRNe3HeN3_V4AsYnDU5Q6lWeVyKwDd0r2N6Tf2QU5Xvn5DSWODA5r3fmWriH3KKtx4KnIccLHSYV5x46iQ-a7aRY4Zwqr76sVZzk7_98D61OGdafIPJno0g0tKRoASQPcQxT6IGoUSyqxOVFbdA\"})","file":"/home/ytvmclwh/document.amocrm.md/src/Models/Docs.php","line":121} {"uid":"be28f89"}
[2026-09-03 11:43:36] docflow.DEBUG: AmoDrive docflow context request {"url":"https://google.emale.uno/api/docflow/google-context","query":{"account_id":"22699852","entity_id":"42614660","entity_type":"leads"}} {"uid":"be28f89"}
[2026-09-03 11:43: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=42614660&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/09/03 11:43:36</td>\r\n</tr>\r\n</table>\r\n<hr><center>tengine</center>\r\n</body>\r\n</html>\r\n"} {"uid":"be28f89"}
[2026-09-03 11:43:36] docflow.DEBUG: AmoDrive docflow context request {"url":"https://gd.glucose-dev.online/api/docflow/google-context","query":{"account_id":"22699852","entity_id":"42614660","entity_type":"leads"}} {"uid":"be28f89"}
[2026-09-03 11:43:36] docflow.WARNING: AmoDrive docflow context response is not ready, trying next backend. {"url":"https://gd.glucose-dev.online/api/docflow/google-context","payload":{"ok":true,"accountId":22699852,"entityId":"42614660","entityType":"leads","amodrive":{"installed":false,"widgetStatus":"uninstalled","amoAccountId":22699852,"accountHost":"emigrare.amocrm.ru","license":{"status":"active","configuredStatus":"active","expiresAt":"2027-08-20T10:16:56.291Z","isExpired":false,"isTrial":false,"isActive":true,"expiredByDate":false,"daysRemaining":352,"isLifetime":false},"licenseActive":false,"googleConnected":false,"googleEmail":null,"googleHasDriveScope":false,"googleHasDriveFileScope":false,"googleHasOwnershipScope":false,"readyForGeneratedFileMove":false,"readyForTransfer":false},"folder":{"id":"10c7NF0RYc6F8xA_StBwrcgfYGGokjamk","name":"42614660 - Lead #42614660","webViewLink":"https://drive.google.com/drive/folders/10c7NF0RYc6F8xA_StBwrcgfYGGokjamk"}}} {"uid":"be28f89"}
[2026-09-03 11:43:36] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://google.emale.uno/api/docflow/prepare-generated-doc","payload":{"account_id":"22699852","entity_id":"42614660","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"be28f89"}
[2026-09-03 11:43: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/09/03 11:43: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":"42614660","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"be28f89"}
[2026-09-03 11:43: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":"42614660","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"be28f89"}
[2026-09-03 11:43:36] docflow.WARNING: AmoDrive prepare-generated-doc request failed {"url":"https://gd.glucose-dev.online/api/docflow/prepare-generated-doc","http_code":null,"error":"HTTP/2 404 ","response":"[object] (stdClass: {\"ok\":false,\"error\":\"AmoDrive is not installed for this account.\",\"accountId\":22699852})","payload":{"account_id":"22699852","entity_id":"42614660","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"be28f89"}
[2026-09-03 11:43:36] docflow.DEBUG: GAS request {"url":"https://script.google.com/macros/s/AKfycbwrvOJD46zkuoTzdhpc1kulhV8jRfgQBFZfQ121nkIip_k8yKit4xrbWTOzaJ-C-Yed6w/exec","body":{"templateFileId":"139A_R9cAqcF0vtMAjkAKEvgO4ur6rSSzFI-AF87BYnQ","accountId":"22699852","folderId":"1Us2AfskxgdA729xVr0F2vjZU9y5PlYDe","key":"~VTsK5dcnHc2cSSsjM$LFSjLlgbmJXwrp3R2P5nd","data":"{\"fileName\":\"Contract (consulta\\u021bie) 393 20260903114336\",\"leadId\":\"42614660\",\"entities\":{\"\\u0441\\u0434\\u0435\\u043b\\u043a\\u0430\":{\"Manager Juridic\":\"Dascal Anatolie\",\"Suma avans\":\"160\",\"Data consulta\\u021biei\":\"03.09.2026\",\"Suma Back\":\"0\",\"#Manager Front\":\"Capanji Igor\",\"Serviciu solicitat\":\"1520102\",\"Loca\\u021bia Curent\\u0103\":\"Ucraina\",\"Canal de comunicare\":\"Viber\",\"Tip proces\":\"Scurt\",\"ID\":\"42614660\",\"\\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\":\"160\",\"Budget\":\"160\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"Capanji Igor\",\"Responsible\":\"Capanji Igor\"},\"lead\":{\"Manager Juridic\":\"Dascal Anatolie\",\"Suma avans\":\"160\",\"Data consulta\\u021biei\":\"03.09.2026\",\"Suma Back\":\"0\",\"#Manager Front\":\"Capanji Igor\",\"Serviciu solicitat\":\"1520102\",\"Loca\\u021bia Curent\\u0103\":\"Ucraina\",\"Canal de comunicare\":\"Viber\",\"Tip proces\":\"Scurt\",\"ID\":\"42614660\",\"\\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\":\"160\",\"Budget\":\"160\",\"\\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\":\"+380639775796\",\"Email\":\"=\",\"Limba vorbita\":\"Rusa\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Valerii Belikov\",\"Contact_name\":\"Valerii Belikov\",\"\\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\":\"+380639775796\",\"Email\":\"=\",\"Limba vorbita\":\"Rusa\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Valerii Belikov\",\"Contact_name\":\"Valerii Belikov\",\"\\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\":\"+380639775796\",\"Email\":\"=\",\"Limba vorbita\":\"Rusa\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Valerii Belikov\",\"\\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\":\"03.09.2026\",\"\\u041d\\u043e\\u043c\\u0435\\u0440\":\"393\"},\"document\":{\"Date\":\"03.09.2026\",\"Number\":\"393\"}}}","edit":true}} {"uid":"be28f89"}
[2026-09-03 11:43:43] docflow.DEBUG: GAS raw response {"raw":"[object] (stdClass: {\"code\":1,\"url\":\"https://docs.google.com/open?id=1ZsKPJYZgpbDAf1_kycBaS5qt8QjFlBrm1mI-86iUtl8\",\"file_id\":\"1ZsKPJYZgpbDAf1_kycBaS5qt8QjFlBrm1mI-86iUtl8\",\"error\":\"\",\"vars\":\"\"})"} {"uid":"be28f89"}
[2026-09-03 11:43:43] docflow.WARNING: AmoDrive generated-file move is not ready. {"fileId":"1ZsKPJYZgpbDAf1_kycBaS5qt8QjFlBrm1mI-86iUtl8","context":null} {"uid":"be28f89"}
[2026-09-03 11:50:19] docflow.INFO: Apel createDoc {"data":{"amoAccountId":"22699852","amoUserId":null,"amoEntityId":"42614660","amoEntityType":"2","templateId":"11512","corporateEntityId":"","settlementAccountId":"","is_signed":null,"gdi":null,"number":null,"currentAmoUserId":null,"lang":"ru"}} {"uid":"d474170"}
[2026-09-03 11:50:20] docflow.INFO: Token is valid for account 22699852. [] {"uid":"d474170"}
[2026-09-03 11:50:20] docflow.DEBUG: getClientAuth returned {"auth":"[object] (stdClass: {\"domain\":\"emigrare.amocrm.ru\",\"access_token\":\"eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImp0aSI6Ijc5NmQ0ZGI2YTA3MWNlZDc3ODJlNGQ0YjUwNDg3Y2YzYzc5NzMzMGZmYjRiODY3YmJkOGZlMGM0OTgzMThhOWM2ZWI0OGY0NWEwNjUyNTA2In0.eyJhdWQiOiIwZDY0ZGZmYi1lNTRiLTQ0OGYtOWZiZi1iYWYyMjUxYTExZGIiLCJqdGkiOiI3OTZkNGRiNmEwNzFjZWQ3NzgyZTRkNGI1MDQ4N2NmM2M3OTczMzBmZmI0Yjg2N2JiZDhmZTBjNDk4MzE4YTljNmViNDhmNDVhMDY1MjUwNiIsImlhdCI6MTc4ODQyMDkzMSwibmJmIjoxNzg4NDIwOTMxLCJleHAiOjE3ODg1MDczMzEsInN1YiI6IjI5MzAzODAiLCJncmFudF90eXBlIjoiIiwiYWNjb3VudF9pZCI6MjI2OTk4NTIsImJhc2VfZG9tYWluIjoiYW1vY3JtLnJ1IiwidmVyc2lvbiI6Miwic2NvcGVzIjpbInB1c2hfbm90aWZpY2F0aW9ucyIsImNybSIsIm5vdGlmaWNhdGlvbnMiXSwiaGFzaF91dWlkIjoiZGEyYWE1ZjktZGExOC00MjdlLWE2MWYtNTVmYTc3ODVlZjY2IiwiYXBpX2RvbWFpbiI6ImFwaS1hLmFtb2NybS5ydSJ9.H4kHy9HTAlmOrLwH87KEUkW3m5XrIPQPJ94nBHw7VmgyuPPvGaBKTqjV0ZeDQAB1eCpE6EUB3rzYGayOEE9oAeVFDKK5jTkW4oB5DsBnqMLC0Y0p3r7E0iO_PIE4V_HEI2v_jRgepLdDV85cqYKaSeT1ho90pWjPIZ0rm_9K0_HWXp6oXP5IvTBJbUKDaZ-8GfjtRNe3HeN3_V4AsYnDU5Q6lWeVyKwDd0r2N6Tf2QU5Xvn5DSWODA5r3fmWriH3KKtx4KnIccLHSYV5x46iQ-a7aRY4Zwqr76sVZzk7_98D61OGdafIPJno0g0tKRoASQPcQxT6IGoUSyqxOVFbdA\"})","file":"/home/ytvmclwh/document.amocrm.md/src/Models/Docs.php","line":121} {"uid":"d474170"}
[2026-09-03 11:50:23] docflow.DEBUG: AmoDrive docflow context request {"url":"https://google.emale.uno/api/docflow/google-context","query":{"account_id":"22699852","entity_id":"42614660","entity_type":"leads"}} {"uid":"d474170"}
[2026-09-03 11:50:23] docflow.WARNING: AmoDrive docflow context request failed {"url":"https://google.emale.uno/api/docflow/google-context","http_code":null,"error":"HTTP/2 400 ","response":"<!DOCTYPE HTML PUBLIC \"-//IETF//DTD HTML 2.0//EN\">\r\n<html>\r\n<head><title>400 Bad Request</title></head>\r\n<body>\r\n<center><h1>400 Bad Request</h1></center>\r\n Sorry for the inconvenience.<br/>\r\nPlease report this message and include the following information to us.<br/>\r\nThank you very much!</p>\r\n<table>\r\n<tr>\r\n<td>URL:</td>\r\n<td>https://gd.glucose-dev.online/api/docflow/google-context?account_id=22699852&amp;entity_id=42614660&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/09/03 11:50:23</td>\r\n</tr>\r\n</table>\r\n<hr><center>tengine</center>\r\n</body>\r\n</html>\r\n"} {"uid":"d474170"}
[2026-09-03 11:50:23] docflow.DEBUG: AmoDrive docflow context request {"url":"https://gd.glucose-dev.online/api/docflow/google-context","query":{"account_id":"22699852","entity_id":"42614660","entity_type":"leads"}} {"uid":"d474170"}
[2026-09-03 11:50:23] docflow.WARNING: AmoDrive docflow context response is not ready, trying next backend. {"url":"https://gd.glucose-dev.online/api/docflow/google-context","payload":{"ok":true,"accountId":22699852,"entityId":"42614660","entityType":"leads","amodrive":{"installed":false,"widgetStatus":"uninstalled","amoAccountId":22699852,"accountHost":"emigrare.amocrm.ru","license":{"status":"active","configuredStatus":"active","expiresAt":"2027-08-20T10:16:56.291Z","isExpired":false,"isTrial":false,"isActive":true,"expiredByDate":false,"daysRemaining":352,"isLifetime":false},"licenseActive":false,"googleConnected":false,"googleEmail":null,"googleHasDriveScope":false,"googleHasDriveFileScope":false,"googleHasOwnershipScope":false,"readyForGeneratedFileMove":false,"readyForTransfer":false},"folder":{"id":"10c7NF0RYc6F8xA_StBwrcgfYGGokjamk","name":"42614660 - Lead #42614660","webViewLink":"https://drive.google.com/drive/folders/10c7NF0RYc6F8xA_StBwrcgfYGGokjamk"}}} {"uid":"d474170"}
[2026-09-03 11:50:23] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://google.emale.uno/api/docflow/prepare-generated-doc","payload":{"account_id":"22699852","entity_id":"42614660","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"d474170"}
[2026-09-03 11:50:23] docflow.WARNING: AmoDrive prepare-generated-doc request failed {"url":"https://google.emale.uno/api/docflow/prepare-generated-doc","http_code":null,"error":"HTTP/2 400 ","response":"<!DOCTYPE HTML PUBLIC \"-//IETF//DTD HTML 2.0//EN\">\r\n<html>\r\n<head><title>400 Bad Request</title></head>\r\n<body>\r\n<center><h1>400 Bad Request</h1></center>\r\n Sorry for the inconvenience.<br/>\r\nPlease report this message and include the following information to us.<br/>\r\nThank you very much!</p>\r\n<table>\r\n<tr>\r\n<td>URL:</td>\r\n<td>https://gd.glucose-dev.online/api/docflow/prepare-generated-doc</td>\r\n</tr>\r\n<tr>\r\n<td>Server:</td>\r\n<td>mail.glucose-dev.online</td>\r\n</tr>\r\n<tr>\r\n<td>Date:</td>\r\n<td>2026/09/03 11:50:23</td>\r\n</tr>\r\n</table>\r\n<hr><center>tengine</center>\r\n</body>\r\n</html>\r\n","payload":{"account_id":"22699852","entity_id":"42614660","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"d474170"}
[2026-09-03 11:50:23] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://gd.glucose-dev.online/api/docflow/prepare-generated-doc","payload":{"account_id":"22699852","entity_id":"42614660","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"d474170"}
[2026-09-03 11:50:23] docflow.WARNING: AmoDrive prepare-generated-doc request failed {"url":"https://gd.glucose-dev.online/api/docflow/prepare-generated-doc","http_code":null,"error":"HTTP/2 404 ","response":"[object] (stdClass: {\"ok\":false,\"error\":\"AmoDrive is not installed for this account.\",\"accountId\":22699852})","payload":{"account_id":"22699852","entity_id":"42614660","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"d474170"}
[2026-09-03 11:50:23] docflow.DEBUG: GAS request {"url":"https://script.google.com/macros/s/AKfycbwrvOJD46zkuoTzdhpc1kulhV8jRfgQBFZfQ121nkIip_k8yKit4xrbWTOzaJ-C-Yed6w/exec","body":{"templateFileId":"1lw0x40QgTScLC9q0Y4Biue0UwWdt_ZAMqJIt_RZ-DQ8","accountId":"22699852","folderId":"1Us2AfskxgdA729xVr0F2vjZU9y5PlYDe","key":"~VTsK5dcnHc2cSSsjM$LFSjLlgbmJXwrp3R2P5nd","data":"{\"fileName\":\"\\u0421\\u0447\\u0435\\u0442 \\u043d\\u0430 \\u043e\\u043f\\u043b\\u0430\\u0442\\u0443 EMG (EUR\\/USD\\/MDL) 236 20260903115023\",\"leadId\":\"42614660\",\"entities\":{\"\\u0441\\u0434\\u0435\\u043b\\u043a\\u0430\":{\"Manager Juridic\":\"Dascal Anatolie\",\"Suma avans\":\"160\",\"Data consulta\\u021biei\":\"03.09.2026\",\"Suma Back\":\"0\",\"#Manager Front\":\"Capanji Igor\",\"Serviciu solicitat\":\"1520102\",\"Loca\\u021bia Curent\\u0103\":\"Ucraina\",\"Canal de comunicare\":\"Viber\",\"Tip proces\":\"Scurt\",\"ID\":\"42614660\",\"\\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\":\"160\",\"Budget\":\"160\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"Capanji Igor\",\"Responsible\":\"Capanji Igor\"},\"lead\":{\"Manager Juridic\":\"Dascal Anatolie\",\"Suma avans\":\"160\",\"Data consulta\\u021biei\":\"03.09.2026\",\"Suma Back\":\"0\",\"#Manager Front\":\"Capanji Igor\",\"Serviciu solicitat\":\"1520102\",\"Loca\\u021bia Curent\\u0103\":\"Ucraina\",\"Canal de comunicare\":\"Viber\",\"Tip proces\":\"Scurt\",\"ID\":\"42614660\",\"\\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\":\"160\",\"Budget\":\"160\",\"\\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\":\"+380639775796\",\"Email\":\"=\",\"Limba vorbita\":\"Rusa\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Valerii Belikov\",\"Contact_name\":\"Valerii Belikov\",\"\\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\":\"+380639775796\",\"Email\":\"=\",\"Limba vorbita\":\"Rusa\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Valerii Belikov\",\"Contact_name\":\"Valerii Belikov\",\"\\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\":\"+380639775796\",\"Email\":\"=\",\"Limba vorbita\":\"Rusa\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Valerii Belikov\",\"\\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\":\"03.09.2026\",\"\\u041d\\u043e\\u043c\\u0435\\u0440\":\"236\"},\"document\":{\"Date\":\"03.09.2026\",\"Number\":\"236\"}}}","edit":true}} {"uid":"d474170"}
[2026-09-03 11:50:30] docflow.DEBUG: GAS raw response {"raw":"[object] (stdClass: {\"code\":1,\"url\":\"https://docs.google.com/open?id=1hH549jQXs-QfeeWOj8DWoZh5h1MaJHcAha07Jv16OpA\",\"file_id\":\"1hH549jQXs-QfeeWOj8DWoZh5h1MaJHcAha07Jv16OpA\",\"error\":\"\",\"vars\":\"\"})"} {"uid":"d474170"}
[2026-09-03 11:50:30] docflow.WARNING: AmoDrive generated-file move is not ready. {"fileId":"1hH549jQXs-QfeeWOj8DWoZh5h1MaJHcAha07Jv16OpA","context":null} {"uid":"d474170"}
[2026-09-03 11:51:12] docflow.INFO: Apel createDoc {"data":{"amoAccountId":"22699852","amoUserId":null,"amoEntityId":"42614660","amoEntityType":"2","templateId":"11502","corporateEntityId":"","settlementAccountId":"","is_signed":null,"gdi":null,"number":null,"currentAmoUserId":null,"lang":"ru"}} {"uid":"13e08fe"}
[2026-09-03 11:51:13] docflow.INFO: Token is valid for account 22699852. [] {"uid":"13e08fe"}
[2026-09-03 11:51:13] docflow.DEBUG: getClientAuth returned {"auth":"[object] (stdClass: {\"domain\":\"emigrare.amocrm.ru\",\"access_token\":\"eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImp0aSI6Ijc5NmQ0ZGI2YTA3MWNlZDc3ODJlNGQ0YjUwNDg3Y2YzYzc5NzMzMGZmYjRiODY3YmJkOGZlMGM0OTgzMThhOWM2ZWI0OGY0NWEwNjUyNTA2In0.eyJhdWQiOiIwZDY0ZGZmYi1lNTRiLTQ0OGYtOWZiZi1iYWYyMjUxYTExZGIiLCJqdGkiOiI3OTZkNGRiNmEwNzFjZWQ3NzgyZTRkNGI1MDQ4N2NmM2M3OTczMzBmZmI0Yjg2N2JiZDhmZTBjNDk4MzE4YTljNmViNDhmNDVhMDY1MjUwNiIsImlhdCI6MTc4ODQyMDkzMSwibmJmIjoxNzg4NDIwOTMxLCJleHAiOjE3ODg1MDczMzEsInN1YiI6IjI5MzAzODAiLCJncmFudF90eXBlIjoiIiwiYWNjb3VudF9pZCI6MjI2OTk4NTIsImJhc2VfZG9tYWluIjoiYW1vY3JtLnJ1IiwidmVyc2lvbiI6Miwic2NvcGVzIjpbInB1c2hfbm90aWZpY2F0aW9ucyIsImNybSIsIm5vdGlmaWNhdGlvbnMiXSwiaGFzaF91dWlkIjoiZGEyYWE1ZjktZGExOC00MjdlLWE2MWYtNTVmYTc3ODVlZjY2IiwiYXBpX2RvbWFpbiI6ImFwaS1hLmFtb2NybS5ydSJ9.H4kHy9HTAlmOrLwH87KEUkW3m5XrIPQPJ94nBHw7VmgyuPPvGaBKTqjV0ZeDQAB1eCpE6EUB3rzYGayOEE9oAeVFDKK5jTkW4oB5DsBnqMLC0Y0p3r7E0iO_PIE4V_HEI2v_jRgepLdDV85cqYKaSeT1ho90pWjPIZ0rm_9K0_HWXp6oXP5IvTBJbUKDaZ-8GfjtRNe3HeN3_V4AsYnDU5Q6lWeVyKwDd0r2N6Tf2QU5Xvn5DSWODA5r3fmWriH3KKtx4KnIccLHSYV5x46iQ-a7aRY4Zwqr76sVZzk7_98D61OGdafIPJno0g0tKRoASQPcQxT6IGoUSyqxOVFbdA\"})","file":"/home/ytvmclwh/document.amocrm.md/src/Models/Docs.php","line":121} {"uid":"13e08fe"}
[2026-09-03 11:51:15] docflow.DEBUG: AmoDrive docflow context request {"url":"https://google.emale.uno/api/docflow/google-context","query":{"account_id":"22699852","entity_id":"42614660","entity_type":"leads"}} {"uid":"13e08fe"}
[2026-09-03 11:51:15] docflow.WARNING: AmoDrive docflow context request failed {"url":"https://google.emale.uno/api/docflow/google-context","http_code":null,"error":"HTTP/2 400 ","response":"<!DOCTYPE HTML PUBLIC \"-//IETF//DTD HTML 2.0//EN\">\r\n<html>\r\n<head><title>400 Bad Request</title></head>\r\n<body>\r\n<center><h1>400 Bad Request</h1></center>\r\n Sorry for the inconvenience.<br/>\r\nPlease report this message and include the following information to us.<br/>\r\nThank you very much!</p>\r\n<table>\r\n<tr>\r\n<td>URL:</td>\r\n<td>https://gd.glucose-dev.online/api/docflow/google-context?account_id=22699852&amp;entity_id=42614660&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/09/03 11:51:15</td>\r\n</tr>\r\n</table>\r\n<hr><center>tengine</center>\r\n</body>\r\n</html>\r\n"} {"uid":"13e08fe"}
[2026-09-03 11:51:15] docflow.DEBUG: AmoDrive docflow context request {"url":"https://gd.glucose-dev.online/api/docflow/google-context","query":{"account_id":"22699852","entity_id":"42614660","entity_type":"leads"}} {"uid":"13e08fe"}
[2026-09-03 11:51:15] docflow.WARNING: AmoDrive docflow context response is not ready, trying next backend. {"url":"https://gd.glucose-dev.online/api/docflow/google-context","payload":{"ok":true,"accountId":22699852,"entityId":"42614660","entityType":"leads","amodrive":{"installed":false,"widgetStatus":"uninstalled","amoAccountId":22699852,"accountHost":"emigrare.amocrm.ru","license":{"status":"active","configuredStatus":"active","expiresAt":"2027-08-20T10:16:56.291Z","isExpired":false,"isTrial":false,"isActive":true,"expiredByDate":false,"daysRemaining":352,"isLifetime":false},"licenseActive":false,"googleConnected":false,"googleEmail":null,"googleHasDriveScope":false,"googleHasDriveFileScope":false,"googleHasOwnershipScope":false,"readyForGeneratedFileMove":false,"readyForTransfer":false},"folder":{"id":"10c7NF0RYc6F8xA_StBwrcgfYGGokjamk","name":"42614660 - Lead #42614660","webViewLink":"https://drive.google.com/drive/folders/10c7NF0RYc6F8xA_StBwrcgfYGGokjamk"}}} {"uid":"13e08fe"}
[2026-09-03 11:51:15] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://google.emale.uno/api/docflow/prepare-generated-doc","payload":{"account_id":"22699852","entity_id":"42614660","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"13e08fe"}
[2026-09-03 11:51: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/09/03 11:51:16</td>\r\n</tr>\r\n</table>\r\n<hr><center>tengine</center>\r\n</body>\r\n</html>\r\n","payload":{"account_id":"22699852","entity_id":"42614660","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"13e08fe"}
[2026-09-03 11:51: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":"42614660","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"13e08fe"}
[2026-09-03 11:51:16] docflow.WARNING: AmoDrive prepare-generated-doc request failed {"url":"https://gd.glucose-dev.online/api/docflow/prepare-generated-doc","http_code":null,"error":"HTTP/2 404 ","response":"[object] (stdClass: {\"ok\":false,\"error\":\"AmoDrive is not installed for this account.\",\"accountId\":22699852})","payload":{"account_id":"22699852","entity_id":"42614660","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"13e08fe"}
[2026-09-03 11:51:16] docflow.DEBUG: GAS request {"url":"https://script.google.com/macros/s/AKfycbwrvOJD46zkuoTzdhpc1kulhV8jRfgQBFZfQ121nkIip_k8yKit4xrbWTOzaJ-C-Yed6w/exec","body":{"templateFileId":"1cmUcOeHAQ_tG9mkDp8xVcdKAxcfnrvlXbbsKpJ-Mq7k","accountId":"22699852","folderId":"1Us2AfskxgdA729xVr0F2vjZU9y5PlYDe","key":"~VTsK5dcnHc2cSSsjM$LFSjLlgbmJXwrp3R2P5nd","data":"{\"fileName\":\"\\u0421\\u043e\\u0433\\u043b\\u0430\\u0441\\u0438\\u0435 (\\u043a\\u043e\\u043d\\u0441\\u0443\\u043b\\u044c\\u0442\\u0430\\u0446\\u0438\\u044f) 69 20260903115115\",\"leadId\":\"42614660\",\"entities\":{\"\\u0441\\u0434\\u0435\\u043b\\u043a\\u0430\":{\"Manager Juridic\":\"Dascal Anatolie\",\"Suma avans\":\"160\",\"Data consulta\\u021biei\":\"03.09.2026\",\"Suma Back\":\"0\",\"#Manager Front\":\"Capanji Igor\",\"Serviciu solicitat\":\"1520102\",\"Loca\\u021bia Curent\\u0103\":\"Ucraina\",\"Canal de comunicare\":\"Viber\",\"Tip proces\":\"Scurt\",\"ID\":\"42614660\",\"\\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\":\"160\",\"Budget\":\"160\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"Capanji Igor\",\"Responsible\":\"Capanji Igor\"},\"lead\":{\"Manager Juridic\":\"Dascal Anatolie\",\"Suma avans\":\"160\",\"Data consulta\\u021biei\":\"03.09.2026\",\"Suma Back\":\"0\",\"#Manager Front\":\"Capanji Igor\",\"Serviciu solicitat\":\"1520102\",\"Loca\\u021bia Curent\\u0103\":\"Ucraina\",\"Canal de comunicare\":\"Viber\",\"Tip proces\":\"Scurt\",\"ID\":\"42614660\",\"\\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\":\"160\",\"Budget\":\"160\",\"\\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\":\"+380639775796\",\"Email\":\"=\",\"Limba vorbita\":\"Rusa\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Valerii Belikov\",\"Contact_name\":\"Valerii Belikov\",\"\\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\":\"+380639775796\",\"Email\":\"=\",\"Limba vorbita\":\"Rusa\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Valerii Belikov\",\"Contact_name\":\"Valerii Belikov\",\"\\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\":\"+380639775796\",\"Email\":\"=\",\"Limba vorbita\":\"Rusa\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Valerii Belikov\",\"\\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\":\"03.09.2026\",\"\\u041d\\u043e\\u043c\\u0435\\u0440\":\"69\"},\"document\":{\"Date\":\"03.09.2026\",\"Number\":\"69\"}}}","edit":true}} {"uid":"13e08fe"}
[2026-09-03 11:51:21] docflow.DEBUG: GAS raw response {"raw":"[object] (stdClass: {\"code\":1,\"url\":\"https://docs.google.com/open?id=1kOlQjZ4RoVE0jRghgdbg_CU7kK9Lm3qZdwDBlqe_rjc\",\"file_id\":\"1kOlQjZ4RoVE0jRghgdbg_CU7kK9Lm3qZdwDBlqe_rjc\",\"error\":\"\",\"vars\":\"\"})"} {"uid":"13e08fe"}
[2026-09-03 11:51:21] docflow.WARNING: AmoDrive generated-file move is not ready. {"fileId":"1kOlQjZ4RoVE0jRghgdbg_CU7kK9Lm3qZdwDBlqe_rjc","context":null} {"uid":"13e08fe"}
[2026-09-03 11:57:33] docflow.INFO: Apel createDoc {"data":{"amoAccountId":"22699852","amoUserId":null,"amoEntityId":"42390746","amoEntityType":"2","templateId":"11504","corporateEntityId":"","settlementAccountId":"","is_signed":null,"gdi":null,"number":null,"currentAmoUserId":null,"lang":"ru"}} {"uid":"dfe79df"}
[2026-09-03 11:57:34] docflow.INFO: Token is valid for account 22699852. [] {"uid":"dfe79df"}
[2026-09-03 11:57:34] docflow.DEBUG: getClientAuth returned {"auth":"[object] (stdClass: {\"domain\":\"emigrare.amocrm.ru\",\"access_token\":\"eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImp0aSI6Ijc5NmQ0ZGI2YTA3MWNlZDc3ODJlNGQ0YjUwNDg3Y2YzYzc5NzMzMGZmYjRiODY3YmJkOGZlMGM0OTgzMThhOWM2ZWI0OGY0NWEwNjUyNTA2In0.eyJhdWQiOiIwZDY0ZGZmYi1lNTRiLTQ0OGYtOWZiZi1iYWYyMjUxYTExZGIiLCJqdGkiOiI3OTZkNGRiNmEwNzFjZWQ3NzgyZTRkNGI1MDQ4N2NmM2M3OTczMzBmZmI0Yjg2N2JiZDhmZTBjNDk4MzE4YTljNmViNDhmNDVhMDY1MjUwNiIsImlhdCI6MTc4ODQyMDkzMSwibmJmIjoxNzg4NDIwOTMxLCJleHAiOjE3ODg1MDczMzEsInN1YiI6IjI5MzAzODAiLCJncmFudF90eXBlIjoiIiwiYWNjb3VudF9pZCI6MjI2OTk4NTIsImJhc2VfZG9tYWluIjoiYW1vY3JtLnJ1IiwidmVyc2lvbiI6Miwic2NvcGVzIjpbInB1c2hfbm90aWZpY2F0aW9ucyIsImNybSIsIm5vdGlmaWNhdGlvbnMiXSwiaGFzaF91dWlkIjoiZGEyYWE1ZjktZGExOC00MjdlLWE2MWYtNTVmYTc3ODVlZjY2IiwiYXBpX2RvbWFpbiI6ImFwaS1hLmFtb2NybS5ydSJ9.H4kHy9HTAlmOrLwH87KEUkW3m5XrIPQPJ94nBHw7VmgyuPPvGaBKTqjV0ZeDQAB1eCpE6EUB3rzYGayOEE9oAeVFDKK5jTkW4oB5DsBnqMLC0Y0p3r7E0iO_PIE4V_HEI2v_jRgepLdDV85cqYKaSeT1ho90pWjPIZ0rm_9K0_HWXp6oXP5IvTBJbUKDaZ-8GfjtRNe3HeN3_V4AsYnDU5Q6lWeVyKwDd0r2N6Tf2QU5Xvn5DSWODA5r3fmWriH3KKtx4KnIccLHSYV5x46iQ-a7aRY4Zwqr76sVZzk7_98D61OGdafIPJno0g0tKRoASQPcQxT6IGoUSyqxOVFbdA\"})","file":"/home/ytvmclwh/document.amocrm.md/src/Models/Docs.php","line":121} {"uid":"dfe79df"}
[2026-09-03 11:57:36] docflow.DEBUG: AmoDrive docflow context request {"url":"https://google.emale.uno/api/docflow/google-context","query":{"account_id":"22699852","entity_id":"42390746","entity_type":"leads"}} {"uid":"dfe79df"}
[2026-09-03 11:57: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=42390746&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/09/03 11:57:36</td>\r\n</tr>\r\n</table>\r\n<hr><center>tengine</center>\r\n</body>\r\n</html>\r\n"} {"uid":"dfe79df"}
[2026-09-03 11:57:36] docflow.DEBUG: AmoDrive docflow context request {"url":"https://gd.glucose-dev.online/api/docflow/google-context","query":{"account_id":"22699852","entity_id":"42390746","entity_type":"leads"}} {"uid":"dfe79df"}
[2026-09-03 11:57:36] docflow.WARNING: AmoDrive docflow context response is not ready, trying next backend. {"url":"https://gd.glucose-dev.online/api/docflow/google-context","payload":{"ok":true,"accountId":22699852,"entityId":"42390746","entityType":"leads","amodrive":{"installed":false,"widgetStatus":"uninstalled","amoAccountId":22699852,"accountHost":"emigrare.amocrm.ru","license":{"status":"active","configuredStatus":"active","expiresAt":"2027-08-20T10:16:56.291Z","isExpired":false,"isTrial":false,"isActive":true,"expiredByDate":false,"daysRemaining":352,"isLifetime":false},"licenseActive":false,"googleConnected":false,"googleEmail":null,"googleHasDriveScope":false,"googleHasDriveFileScope":false,"googleHasOwnershipScope":false,"readyForGeneratedFileMove":false,"readyForTransfer":false},"folder":{"id":"1CdGCOQ5Ebg3JkAMxNxt4l991ifiG45PE","name":"42390746 - Lead #42390746","webViewLink":"https://drive.google.com/drive/folders/1CdGCOQ5Ebg3JkAMxNxt4l991ifiG45PE"}}} {"uid":"dfe79df"}
[2026-09-03 11:57:36] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://google.emale.uno/api/docflow/prepare-generated-doc","payload":{"account_id":"22699852","entity_id":"42390746","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"dfe79df"}
[2026-09-03 11:57: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/09/03 11:57: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":"42390746","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"dfe79df"}
[2026-09-03 11:57: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":"42390746","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"dfe79df"}
[2026-09-03 11:57:36] docflow.WARNING: AmoDrive prepare-generated-doc request failed {"url":"https://gd.glucose-dev.online/api/docflow/prepare-generated-doc","http_code":null,"error":"HTTP/2 404 ","response":"[object] (stdClass: {\"ok\":false,\"error\":\"AmoDrive is not installed for this account.\",\"accountId\":22699852})","payload":{"account_id":"22699852","entity_id":"42390746","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"dfe79df"}
[2026-09-03 11:57:36] docflow.DEBUG: GAS request {"url":"https://script.google.com/macros/s/AKfycbwrvOJD46zkuoTzdhpc1kulhV8jRfgQBFZfQ121nkIip_k8yKit4xrbWTOzaJ-C-Yed6w/exec","body":{"templateFileId":"1fiDEkj3eAI4XA1NOTKy_2IPPsg8jKEFNlm8nKHlFCi4","accountId":"22699852","folderId":"1Us2AfskxgdA729xVr0F2vjZU9y5PlYDe","key":"~VTsK5dcnHc2cSSsjM$LFSjLlgbmJXwrp3R2P5nd","data":"{\"fileName\":\"\\u0421\\u043e\\u0433\\u043b\\u0430\\u0441\\u0438\\u0435 (\\u0434\\u043e\\u0433\\u043e\\u0432\\u043e\\u0440) 48 20260903115736\",\"leadId\":\"42390746\",\"entities\":{\"\\u0441\\u0434\\u0435\\u043b\\u043a\\u0430\":{\"Suma \\u20ac\":\"0\",\"gclientid\":\"72390950.1784618256\",\"_ym_counter\":\"60677638\",\"_ym_uid\":\"1784618256394723176\",\"#Manager Front\":\"Capanji Igor\",\"Serviciu solicitat\":\"1520102\",\"Loca\\u021bia Curent\\u0103\":\"Alte \\u021b\\u0103ri\",\"Canal de comunicare\":\"Whatsapp\",\"Tip proces\":\"Scurt\",\"Suma Back\":\"180\",\"Data consulta\\u021biei\":\"27.07.2026\",\"Suma avans\":\"405\",\"ID\":\"42390746\",\"\\u0421\\u0434\\u0435\\u043b\\u043a\\u0430_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"sub. MD\",\"Lead_name\":\"sub. MD\",\"\\u0411\\u044e\\u0434\\u0436\\u0435\\u0442\":\"0\",\"Budget\":\"0\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"Capanji Igor\",\"Responsible\":\"Capanji Igor\"},\"lead\":{\"Suma \\u20ac\":\"0\",\"gclientid\":\"72390950.1784618256\",\"_ym_counter\":\"60677638\",\"_ym_uid\":\"1784618256394723176\",\"#Manager Front\":\"Capanji Igor\",\"Serviciu solicitat\":\"1520102\",\"Loca\\u021bia Curent\\u0103\":\"Alte \\u021b\\u0103ri\",\"Canal de comunicare\":\"Whatsapp\",\"Tip proces\":\"Scurt\",\"Suma Back\":\"180\",\"Data consulta\\u021biei\":\"27.07.2026\",\"Suma avans\":\"405\",\"ID\":\"42390746\",\"\\u0421\\u0434\\u0435\\u043b\\u043a\\u0430_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"sub. MD\",\"Lead_name\":\"sub. MD\",\"\\u0411\\u044e\\u0434\\u0436\\u0435\\u0442\":\"0\",\"Budget\":\"0\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"Capanji Igor\",\"Responsible\":\"Capanji Igor\"},\"\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442\":{\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"+77051156486\",\"Email\":\"jairossi1882@gmail.com\",\"Limba vorbita\":\"Rusa\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"\\u0418\\u0433\\u043e\\u0440\\u044c (Raisa Nechaeva)\",\"Contact_name\":\"\\u0418\\u0433\\u043e\\u0440\\u044c (Raisa Nechaeva)\",\"\\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\":\"+77051156486\",\"Email\":\"jairossi1882@gmail.com\",\"Limba vorbita\":\"Rusa\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"\\u0418\\u0433\\u043e\\u0440\\u044c (Raisa Nechaeva)\",\"Contact_name\":\"\\u0418\\u0433\\u043e\\u0440\\u044c (Raisa Nechaeva)\",\"\\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\":\"+77051156486\",\"Email\":\"jairossi1882@gmail.com\",\"Limba vorbita\":\"Rusa\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"\\u0418\\u0433\\u043e\\u0440\\u044c (Raisa Nechaeva)\",\"\\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\":\"03.09.2026\",\"\\u041d\\u043e\\u043c\\u0435\\u0440\":\"48\"},\"document\":{\"Date\":\"03.09.2026\",\"Number\":\"48\"}}}","edit":true}} {"uid":"dfe79df"}
[2026-09-03 11:57:43] docflow.DEBUG: GAS raw response {"raw":"[object] (stdClass: {\"code\":1,\"url\":\"https://docs.google.com/open?id=1MgJchQhl45zDSgZWFIoxT67OVygVK83k4z_-3iiNqmk\",\"file_id\":\"1MgJchQhl45zDSgZWFIoxT67OVygVK83k4z_-3iiNqmk\",\"error\":\"\",\"vars\":\"\"})"} {"uid":"dfe79df"}
[2026-09-03 11:57:43] docflow.WARNING: AmoDrive generated-file move is not ready. {"fileId":"1MgJchQhl45zDSgZWFIoxT67OVygVK83k4z_-3iiNqmk","context":null} {"uid":"dfe79df"}
[2026-09-03 15:01:20] docflow.INFO: Apel createDoc {"data":{"amoAccountId":"32990686","amoUserId":null,"amoEntityId":"40280481","amoEntityType":"2","templateId":"11625","corporateEntityId":"","settlementAccountId":"","is_signed":null,"gdi":null,"number":null,"currentAmoUserId":null,"lang":"ru"}} {"uid":"38a14ea"}
[2026-09-03 15:01:21] docflow.INFO: Token validation failed for account 32990686. Refreshing... {"http_code":null,"error_message":"HTTP/2 401 "} {"uid":"38a14ea"}
[2026-09-03 15:01:21] docflow.INFO: Attempting token refresh with payload: {"client_id":"0d64dffb-e54b-448f-9fbf-baf2251a11db","client_secret":"AXqHrT1J35SilTTtI3yyaHdQKiS5bonhySaPYkLmo7mR6ZZ9zDP24dUjG189VG9G","grant_type":"refresh_token","refresh_token":"def502001e2dfbf2f8cd58153c6ed59f9d9692952a12ed61bf8a3c757274fd2759cd788e13f8acde34562af91b2fce26f1a36078c51407790fed60db981124597f835e8bae15558c5f75659ab441efafdbf1ccc9d831afdb0e9064568cb57de781d9a2a5b81b6da90a7807bf08bb9fc1addb2dc9294331e07e806c4534cd01923389ae72fcfae60bcc5254cb4601a5b82e868c5649ef9806282dacc0998325548095c7dd5fc7f05b18518dec773ad471bedb28110e6b0d3c6fac63e1cde7d316146757b527c524b61fa89573482099ea9c9ea26c429ec46c860e4e77c296570f36d7b42bf81e859d28c67178a584e46b5bda5f0337cac2a36d76f40a37e645442ab334ec9d4956330f9e07eac132b10771426c8ae424a7ea914ebc9feef8f86dc361589524b0c7cc8353f4476b67e4b0f00e911fb24912e7a2e1c7ae70e1bc5b836d8f84406d6c58014e3c198ff643ad7d1de81d6c78ffbd853db984c3657755e243080633ced9f3875b99d6016e2fa903449088abfcd74a1dd621707cf6a878283805c355b4fa68dbb53193724c3f76ebb85613f1cd6fca2bfd06c71c2b73f4f1474f39a531cc639a2d2913e2390b2ec7b5ad218ad174963aeca7f781640e17e41d6467670ffc962ef53771f5997973e3a4eaa4edeece","redirect_uri":"https://document.amocrm.md/core/manager/install.php"} {"uid":"38a14ea"}
[2026-09-03 15:01:22] docflow.INFO: Token for account 32990686 refreshed successfully. [] {"uid":"38a14ea"}
[2026-09-03 15:01:22] docflow.DEBUG: getClientAuth returned {"auth":"[object] (stdClass: {\"domain\":\"eurosanteh.amocrm.ru\",\"access_token\":\"eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImp0aSI6IjMxYjNkMGQ2NTQyYmYzOGIyMmExNWY0ZTU0NzkwYmU0MTEzZjEyZmQ5NDc2MmI5ODJjYTc2NTZkNjgyN2U4MmUxMmQwYjRmOWY0ZDBlOGIxIn0.eyJhdWQiOiIwZDY0ZGZmYi1lNTRiLTQ0OGYtOWZiZi1iYWYyMjUxYTExZGIiLCJqdGkiOiIzMWIzZDBkNjU0MmJmMzhiMjJhMTVmNGU1NDc5MGJlNDExM2YxMmZkOTQ3NjJiOTgyY2E3NjU2ZDY4MjdlODJlMTJkMGI0ZjlmNGQwZThiMSIsImlhdCI6MTc4ODQzNjg4MSwibmJmIjoxNzg4NDM2ODgxLCJleHAiOjE3ODg1MjMyODEsInN1YiI6IjEzNjg3MzAyIiwiZ3JhbnRfdHlwZSI6IiIsImFjY291bnRfaWQiOjMyOTkwNjg2LCJiYXNlX2RvbWFpbiI6ImFtb2NybS5ydSIsInZlcnNpb24iOjIsInNjb3BlcyI6WyJwdXNoX25vdGlmaWNhdGlvbnMiLCJjcm0iLCJub3RpZmljYXRpb25zIl0sImhhc2hfdXVpZCI6IjE1NDU2ODFmLWRlOTktNDVhYS04OWQxLWE0NzRlZTE3MDc1NSIsImFwaV9kb21haW4iOiJhcGktYi5hbW9jcm0ucnUifQ.Nq7VbAHPw4_Vz1yk1Jp0Jznk3ZUB2O0x2gM51y01kw5AQ937poKjIuqIc8wlWqgGwq8YHTea6_XHkqlczecLVhsbQl79-j7UCRiTpKN9NnGR6pe6av1odvO4Xs6ORIPgfncfhkgVNPwjovmAJatx7v-tvIW3AWqPG92zCms8cVeWBPCAMWmCPwnxxnQFHNBs1avhpWJSc7dd93WuXvPjK8ThuZijUAyqrSqByOc2lj5H1D15tQpdQItlMQqT40UIfn8QpLk5TOlFdJp7JkNlhjeKTVkW1Zj5zaBC1ldCLHknugquc1i-o895SZt25u1cyjXAEYKvmQO4LWzBMjzhSw\"})","file":"/home/ytvmclwh/document.amocrm.md/src/Models/Docs.php","line":121} {"uid":"38a14ea"}
[2026-09-03 15:01:26] docflow.DEBUG: AmoDrive docflow context request {"url":"https://google.emale.uno/api/docflow/google-context","query":{"account_id":"32990686","entity_id":"40280481","entity_type":"leads"}} {"uid":"38a14ea"}
[2026-09-03 15:01:27] docflow.WARNING: AmoDrive docflow context request failed {"url":"https://google.emale.uno/api/docflow/google-context","http_code":null,"error":"HTTP/2 400 ","response":"<!DOCTYPE HTML PUBLIC \"-//IETF//DTD HTML 2.0//EN\">\r\n<html>\r\n<head><title>400 Bad Request</title></head>\r\n<body>\r\n<center><h1>400 Bad Request</h1></center>\r\n Sorry for the inconvenience.<br/>\r\nPlease report this message and include the following information to us.<br/>\r\nThank you very much!</p>\r\n<table>\r\n<tr>\r\n<td>URL:</td>\r\n<td>https://gd.glucose-dev.online/api/docflow/google-context?account_id=32990686&amp;entity_id=40280481&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/09/03 15:01:27</td>\r\n</tr>\r\n</table>\r\n<hr><center>tengine</center>\r\n</body>\r\n</html>\r\n"} {"uid":"38a14ea"}
[2026-09-03 15:01:27] docflow.DEBUG: AmoDrive docflow context request {"url":"https://gd.glucose-dev.online/api/docflow/google-context","query":{"account_id":"32990686","entity_id":"40280481","entity_type":"leads"}} {"uid":"38a14ea"}
[2026-09-03 15:01: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":"40280481","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":"38a14ea"}
[2026-09-03 15:01:27] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://google.emale.uno/api/docflow/prepare-generated-doc","payload":{"account_id":"32990686","entity_id":"40280481","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"38a14ea"}
[2026-09-03 15:01:27] docflow.WARNING: AmoDrive prepare-generated-doc request failed {"url":"https://google.emale.uno/api/docflow/prepare-generated-doc","http_code":null,"error":"HTTP/2 400 ","response":"<!DOCTYPE HTML PUBLIC \"-//IETF//DTD HTML 2.0//EN\">\r\n<html>\r\n<head><title>400 Bad Request</title></head>\r\n<body>\r\n<center><h1>400 Bad Request</h1></center>\r\n Sorry for the inconvenience.<br/>\r\nPlease report this message and include the following information to us.<br/>\r\nThank you very much!</p>\r\n<table>\r\n<tr>\r\n<td>URL:</td>\r\n<td>https://gd.glucose-dev.online/api/docflow/prepare-generated-doc</td>\r\n</tr>\r\n<tr>\r\n<td>Server:</td>\r\n<td>mail.glucose-dev.online</td>\r\n</tr>\r\n<tr>\r\n<td>Date:</td>\r\n<td>2026/09/03 15:01: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":"40280481","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"38a14ea"}
[2026-09-03 15:01:27] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://gd.glucose-dev.online/api/docflow/prepare-generated-doc","payload":{"account_id":"32990686","entity_id":"40280481","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"38a14ea"}
[2026-09-03 15:01:27] docflow.WARNING: AmoDrive prepare-generated-doc request failed {"url":"https://gd.glucose-dev.online/api/docflow/prepare-generated-doc","http_code":null,"error":"HTTP/2 404 ","response":"[object] (stdClass: {\"ok\":false,\"error\":\"AmoDrive is not installed for this account.\",\"accountId\":32990686})","payload":{"account_id":"32990686","entity_id":"40280481","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"38a14ea"}
[2026-09-03 15:01:27] 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 1050 20260903150126\",\"leadId\":\"40280481\",\"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\":\"15.09.2027\",\"\\u0414\\u0430\\u0442\\u0430 \\u043c\\u043e\\u043d\\u0442\\u0430\\u0436\\u0430 (\\u0411\\u0414)\":\"15.09.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\\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\":\"\\u0427\\u0435\\u0442\\u0432\\u0435\\u0440\\u0433\",\"\\u0414\\u0430\\u0442\\u0430 \\u0438 \\u0432\\u0440\\u0435\\u043c\\u044f \\u0432\\u0438\\u0437\\u0438\\u0442\\u0430\":\"2026-09-03 14:59:00\",\"\\u0414\\u0430\\u0442\\u0430 \\u0432\\u0438\\u0437\\u0438\\u0442\\u0430\":\"03.09.2026\",\"\\u0426\\u0435\\u043b\\u044c \\u0432\\u044b\\u0435\\u0437\\u0434\\u0430\":\"\\u041f\\u0440\\u043e\\u0444\\u0438\\u043b\\u0430\\u043a\\u0442\\u0438\\u043a\\u0430 \\u043f\\u043e \\u0433\\u0430\\u0440\\u0430\\u043d\\u0442\\u0438\\u0438\",\"\\u0412\\u0438\\u0434 \\u0432\\u044b\\u043f\\u043e\\u043b\\u043d\\u0435\\u043d\\u043d\\u044b\\u0445 \\u0440\\u0430\\u0431\\u043e\\u0442\":\"\\u041f\\u0440\\u043e\\u0444\\u0438\\u043b\\u0430\\u043a\\u0442\\u0438\\u043a\\u0430 \\u0441\\u043f\\u043b\\u0438\\u0442-\\u0441\\u0438\\u0441\\u0442\\u0435\\u043c \\u0432\\u0441\\u0435\\u0445 \\u043c\\u043e\\u0449\\u043d\\u043e\\u0441\\u0442\\u0435\\u0439 (\\u043e\\u0447\\u0438\\u0441\\u0442\\u043a\\u0430, \\u043f\\u0440\\u043e\\u0432\\u0435\\u0440\\u043a\\u0430 \\u0440\\u0430\\u0431\\u043e\\u0442\\u044b)\",\"\\u041c\\u043e\\u0434\\u0435\\u043b\\u044c \\u043e\\u0431\\u043e\\u0440\\u0443\\u0434\\u043e\\u0432\\u0430\\u043d\\u0438\\u044f 1\":\"Haier Pearl 50\",\"ID\":\"40280481\",\"\\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\":\"15.09.2027\",\"\\u0414\\u0430\\u0442\\u0430 \\u043c\\u043e\\u043d\\u0442\\u0430\\u0436\\u0430 (\\u0411\\u0414)\":\"15.09.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\\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\":\"\\u0427\\u0435\\u0442\\u0432\\u0435\\u0440\\u0433\",\"\\u0414\\u0430\\u0442\\u0430 \\u0438 \\u0432\\u0440\\u0435\\u043c\\u044f \\u0432\\u0438\\u0437\\u0438\\u0442\\u0430\":\"2026-09-03 14:59:00\",\"\\u0414\\u0430\\u0442\\u0430 \\u0432\\u0438\\u0437\\u0438\\u0442\\u0430\":\"03.09.2026\",\"\\u0426\\u0435\\u043b\\u044c \\u0432\\u044b\\u0435\\u0437\\u0434\\u0430\":\"\\u041f\\u0440\\u043e\\u0444\\u0438\\u043b\\u0430\\u043a\\u0442\\u0438\\u043a\\u0430 \\u043f\\u043e \\u0433\\u0430\\u0440\\u0430\\u043d\\u0442\\u0438\\u0438\",\"\\u0412\\u0438\\u0434 \\u0432\\u044b\\u043f\\u043e\\u043b\\u043d\\u0435\\u043d\\u043d\\u044b\\u0445 \\u0440\\u0430\\u0431\\u043e\\u0442\":\"\\u041f\\u0440\\u043e\\u0444\\u0438\\u043b\\u0430\\u043a\\u0442\\u0438\\u043a\\u0430 \\u0441\\u043f\\u043b\\u0438\\u0442-\\u0441\\u0438\\u0441\\u0442\\u0435\\u043c \\u0432\\u0441\\u0435\\u0445 \\u043c\\u043e\\u0449\\u043d\\u043e\\u0441\\u0442\\u0435\\u0439 (\\u043e\\u0447\\u0438\\u0441\\u0442\\u043a\\u0430, \\u043f\\u0440\\u043e\\u0432\\u0435\\u0440\\u043a\\u0430 \\u0440\\u0430\\u0431\\u043e\\u0442\\u044b)\",\"\\u041c\\u043e\\u0434\\u0435\\u043b\\u044c \\u043e\\u0431\\u043e\\u0440\\u0443\\u0434\\u043e\\u0432\\u0430\\u043d\\u0438\\u044f 1\":\"Haier Pearl 50\",\"ID\":\"40280481\",\"\\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\":\"980909445833\",\"\\u0410\\u0434\\u0440\\u0435\\u0441\":\"Suruceni str.Capriana 8\",\"\\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)\":\"B6281\",\"\\u0422\\u0438\\u043f \\u0438 \\u043c\\u043e\\u0434\\u0435\\u043b\\u044c \\u043e\\u0431\\u043e\\u0440\\u0443\\u0434\\u043e\\u0432\\u0430\\u043d\\u0438\\u044f (\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442)\":\"Haier Pearl 50\",\"\\u0418\\u043c\\u044f \\u043a\\u043b\\u0438\\u0435\\u043d\\u0442\\u0430 (\\u0421\\u041c\\u0421)\":\"Nadejda\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"37368307655\",\"\\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\":\"Nadejda Cioresco\",\"Contact_name\":\"Nadejda Cioresco\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"\\u0410\\u0441\\u0442\\u0430\\u043f\\u0435\\u043d\\u043a\\u043e\\u0432\\u0430 \\u042e\\u043b\\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\":\"980909445833\",\"\\u0410\\u0434\\u0440\\u0435\\u0441\":\"Suruceni str.Capriana 8\",\"\\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)\":\"B6281\",\"\\u0422\\u0438\\u043f \\u0438 \\u043c\\u043e\\u0434\\u0435\\u043b\\u044c \\u043e\\u0431\\u043e\\u0440\\u0443\\u0434\\u043e\\u0432\\u0430\\u043d\\u0438\\u044f (\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442)\":\"Haier Pearl 50\",\"\\u0418\\u043c\\u044f \\u043a\\u043b\\u0438\\u0435\\u043d\\u0442\\u0430 (\\u0421\\u041c\\u0421)\":\"Nadejda\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"37368307655\",\"\\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\":\"Nadejda Cioresco\",\"Contact_name\":\"Nadejda Cioresco\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"\\u0410\\u0441\\u0442\\u0430\\u043f\\u0435\\u043d\\u043a\\u043e\\u0432\\u0430 \\u042e\\u043b\\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\":\"980909445833\",\"\\u0410\\u0434\\u0440\\u0435\\u0441\":\"Suruceni str.Capriana 8\",\"\\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)\":\"B6281\",\"\\u0422\\u0438\\u043f \\u0438 \\u043c\\u043e\\u0434\\u0435\\u043b\\u044c \\u043e\\u0431\\u043e\\u0440\\u0443\\u0434\\u043e\\u0432\\u0430\\u043d\\u0438\\u044f (\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442)\":\"Haier Pearl 50\",\"\\u0418\\u043c\\u044f \\u043a\\u043b\\u0438\\u0435\\u043d\\u0442\\u0430 (\\u0421\\u041c\\u0421)\":\"Nadejda\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"37368307655\",\"\\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\":\"Nadejda Cioresco\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\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\":\"03.09.2026\",\"\\u041d\\u043e\\u043c\\u0435\\u0440\":\"1050\"},\"document\":{\"Date\":\"03.09.2026\",\"Number\":\"1050\"}}}","edit":true}} {"uid":"38a14ea"}
[2026-09-03 15:01:34] docflow.DEBUG: GAS raw response {"raw":"[object] (stdClass: {\"code\":1,\"url\":\"https://docs.google.com/open?id=1y22_lPgPXsc693mSDycpwzgWp0NYhc6ifIOklZgTShQ\",\"file_id\":\"1y22_lPgPXsc693mSDycpwzgWp0NYhc6ifIOklZgTShQ\",\"error\":\"\",\"vars\":\"\"})"} {"uid":"38a14ea"}
[2026-09-03 15:01:34] docflow.WARNING: AmoDrive generated-file move is not ready. {"fileId":"1y22_lPgPXsc693mSDycpwzgWp0NYhc6ifIOklZgTShQ","context":null} {"uid":"38a14ea"}
[2026-09-03 15:02:49] docflow.INFO: Apel createDoc {"data":{"amoAccountId":"32990686","amoUserId":null,"amoEntityId":"40280481","amoEntityType":"2","templateId":"11646","corporateEntityId":"","settlementAccountId":"","is_signed":null,"gdi":null,"number":null,"currentAmoUserId":null,"lang":"ru"}} {"uid":"3ba3ac2"}
[2026-09-03 15:02:50] docflow.INFO: Token is valid for account 32990686. [] {"uid":"3ba3ac2"}
[2026-09-03 15:02:50] docflow.DEBUG: getClientAuth returned {"auth":"[object] (stdClass: {\"domain\":\"eurosanteh.amocrm.ru\",\"access_token\":\"eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImp0aSI6IjMxYjNkMGQ2NTQyYmYzOGIyMmExNWY0ZTU0NzkwYmU0MTEzZjEyZmQ5NDc2MmI5ODJjYTc2NTZkNjgyN2U4MmUxMmQwYjRmOWY0ZDBlOGIxIn0.eyJhdWQiOiIwZDY0ZGZmYi1lNTRiLTQ0OGYtOWZiZi1iYWYyMjUxYTExZGIiLCJqdGkiOiIzMWIzZDBkNjU0MmJmMzhiMjJhMTVmNGU1NDc5MGJlNDExM2YxMmZkOTQ3NjJiOTgyY2E3NjU2ZDY4MjdlODJlMTJkMGI0ZjlmNGQwZThiMSIsImlhdCI6MTc4ODQzNjg4MSwibmJmIjoxNzg4NDM2ODgxLCJleHAiOjE3ODg1MjMyODEsInN1YiI6IjEzNjg3MzAyIiwiZ3JhbnRfdHlwZSI6IiIsImFjY291bnRfaWQiOjMyOTkwNjg2LCJiYXNlX2RvbWFpbiI6ImFtb2NybS5ydSIsInZlcnNpb24iOjIsInNjb3BlcyI6WyJwdXNoX25vdGlmaWNhdGlvbnMiLCJjcm0iLCJub3RpZmljYXRpb25zIl0sImhhc2hfdXVpZCI6IjE1NDU2ODFmLWRlOTktNDVhYS04OWQxLWE0NzRlZTE3MDc1NSIsImFwaV9kb21haW4iOiJhcGktYi5hbW9jcm0ucnUifQ.Nq7VbAHPw4_Vz1yk1Jp0Jznk3ZUB2O0x2gM51y01kw5AQ937poKjIuqIc8wlWqgGwq8YHTea6_XHkqlczecLVhsbQl79-j7UCRiTpKN9NnGR6pe6av1odvO4Xs6ORIPgfncfhkgVNPwjovmAJatx7v-tvIW3AWqPG92zCms8cVeWBPCAMWmCPwnxxnQFHNBs1avhpWJSc7dd93WuXvPjK8ThuZijUAyqrSqByOc2lj5H1D15tQpdQItlMQqT40UIfn8QpLk5TOlFdJp7JkNlhjeKTVkW1Zj5zaBC1ldCLHknugquc1i-o895SZt25u1cyjXAEYKvmQO4LWzBMjzhSw\"})","file":"/home/ytvmclwh/document.amocrm.md/src/Models/Docs.php","line":121} {"uid":"3ba3ac2"}
[2026-09-03 15:02:53] docflow.DEBUG: AmoDrive docflow context request {"url":"https://google.emale.uno/api/docflow/google-context","query":{"account_id":"32990686","entity_id":"40280481","entity_type":"leads"}} {"uid":"3ba3ac2"}
[2026-09-03 15:02:53] docflow.WARNING: AmoDrive docflow context request failed {"url":"https://google.emale.uno/api/docflow/google-context","http_code":null,"error":"HTTP/2 400 ","response":"<!DOCTYPE HTML PUBLIC \"-//IETF//DTD HTML 2.0//EN\">\r\n<html>\r\n<head><title>400 Bad Request</title></head>\r\n<body>\r\n<center><h1>400 Bad Request</h1></center>\r\n Sorry for the inconvenience.<br/>\r\nPlease report this message and include the following information to us.<br/>\r\nThank you very much!</p>\r\n<table>\r\n<tr>\r\n<td>URL:</td>\r\n<td>https://gd.glucose-dev.online/api/docflow/google-context?account_id=32990686&amp;entity_id=40280481&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/09/03 15:02:53</td>\r\n</tr>\r\n</table>\r\n<hr><center>tengine</center>\r\n</body>\r\n</html>\r\n"} {"uid":"3ba3ac2"}
[2026-09-03 15:02:53] docflow.DEBUG: AmoDrive docflow context request {"url":"https://gd.glucose-dev.online/api/docflow/google-context","query":{"account_id":"32990686","entity_id":"40280481","entity_type":"leads"}} {"uid":"3ba3ac2"}
[2026-09-03 15:02:53] docflow.WARNING: AmoDrive docflow context response is not ready, trying next backend. {"url":"https://gd.glucose-dev.online/api/docflow/google-context","payload":{"ok":true,"accountId":32990686,"entityId":"40280481","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":"3ba3ac2"}
[2026-09-03 15:02:53] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://google.emale.uno/api/docflow/prepare-generated-doc","payload":{"account_id":"32990686","entity_id":"40280481","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"3ba3ac2"}
[2026-09-03 15:02:53] docflow.WARNING: AmoDrive prepare-generated-doc request failed {"url":"https://google.emale.uno/api/docflow/prepare-generated-doc","http_code":null,"error":"HTTP/2 400 ","response":"<!DOCTYPE HTML PUBLIC \"-//IETF//DTD HTML 2.0//EN\">\r\n<html>\r\n<head><title>400 Bad Request</title></head>\r\n<body>\r\n<center><h1>400 Bad Request</h1></center>\r\n Sorry for the inconvenience.<br/>\r\nPlease report this message and include the following information to us.<br/>\r\nThank you very much!</p>\r\n<table>\r\n<tr>\r\n<td>URL:</td>\r\n<td>https://gd.glucose-dev.online/api/docflow/prepare-generated-doc</td>\r\n</tr>\r\n<tr>\r\n<td>Server:</td>\r\n<td>mail.glucose-dev.online</td>\r\n</tr>\r\n<tr>\r\n<td>Date:</td>\r\n<td>2026/09/03 15:02:53</td>\r\n</tr>\r\n</table>\r\n<hr><center>tengine</center>\r\n</body>\r\n</html>\r\n","payload":{"account_id":"32990686","entity_id":"40280481","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"3ba3ac2"}
[2026-09-03 15:02:53] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://gd.glucose-dev.online/api/docflow/prepare-generated-doc","payload":{"account_id":"32990686","entity_id":"40280481","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"3ba3ac2"}
[2026-09-03 15:02:53] docflow.WARNING: AmoDrive prepare-generated-doc request failed {"url":"https://gd.glucose-dev.online/api/docflow/prepare-generated-doc","http_code":null,"error":"HTTP/2 404 ","response":"[object] (stdClass: {\"ok\":false,\"error\":\"AmoDrive is not installed for this account.\",\"accountId\":32990686})","payload":{"account_id":"32990686","entity_id":"40280481","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"3ba3ac2"}
[2026-09-03 15:02:53] docflow.DEBUG: GAS request {"url":"https://script.google.com/macros/s/AKfycbwrvOJD46zkuoTzdhpc1kulhV8jRfgQBFZfQ121nkIip_k8yKit4xrbWTOzaJ-C-Yed6w/exec","body":{"templateFileId":"1ISSW7q2any2Qldkh8ZtwiERwaib6ci11XCezBMQIcRU","accountId":"32990686","folderId":"1Us2AfskxgdA729xVr0F2vjZU9y5PlYDe","key":"~VTsK5dcnHc2cSSsjM$LFSjLlgbmJXwrp3R2P5nd","data":"{\"fileName\":\"Act primire predare new All for All 1049 20260903150253\",\"leadId\":\"40280481\",\"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\":\"15.09.2027\",\"\\u0414\\u0430\\u0442\\u0430 \\u043c\\u043e\\u043d\\u0442\\u0430\\u0436\\u0430 (\\u0411\\u0414)\":\"15.09.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\\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\":\"\\u0427\\u0435\\u0442\\u0432\\u0435\\u0440\\u0433\",\"\\u0414\\u0430\\u0442\\u0430 \\u0438 \\u0432\\u0440\\u0435\\u043c\\u044f \\u0432\\u0438\\u0437\\u0438\\u0442\\u0430\":\"2026-09-03 14:59:00\",\"\\u0414\\u0430\\u0442\\u0430 \\u0432\\u0438\\u0437\\u0438\\u0442\\u0430\":\"03.09.2026\",\"\\u0426\\u0435\\u043b\\u044c \\u0432\\u044b\\u0435\\u0437\\u0434\\u0430\":\"\\u041f\\u0440\\u043e\\u0444\\u0438\\u043b\\u0430\\u043a\\u0442\\u0438\\u043a\\u0430 \\u043f\\u043e \\u0433\\u0430\\u0440\\u0430\\u043d\\u0442\\u0438\\u0438\",\"\\u0412\\u0438\\u0434 \\u0432\\u044b\\u043f\\u043e\\u043b\\u043d\\u0435\\u043d\\u043d\\u044b\\u0445 \\u0440\\u0430\\u0431\\u043e\\u0442\":\"\\u041f\\u0440\\u043e\\u0444\\u0438\\u043b\\u0430\\u043a\\u0442\\u0438\\u043a\\u0430 \\u0441\\u043f\\u043b\\u0438\\u0442-\\u0441\\u0438\\u0441\\u0442\\u0435\\u043c \\u0432\\u0441\\u0435\\u0445 \\u043c\\u043e\\u0449\\u043d\\u043e\\u0441\\u0442\\u0435\\u0439 (\\u043e\\u0447\\u0438\\u0441\\u0442\\u043a\\u0430, \\u043f\\u0440\\u043e\\u0432\\u0435\\u0440\\u043a\\u0430 \\u0440\\u0430\\u0431\\u043e\\u0442\\u044b)\",\"\\u041c\\u043e\\u0434\\u0435\\u043b\\u044c \\u043e\\u0431\\u043e\\u0440\\u0443\\u0434\\u043e\\u0432\\u0430\\u043d\\u0438\\u044f 1\":\"Haier Pearl 50\",\"ID\":\"40280481\",\"\\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\":\"15.09.2027\",\"\\u0414\\u0430\\u0442\\u0430 \\u043c\\u043e\\u043d\\u0442\\u0430\\u0436\\u0430 (\\u0411\\u0414)\":\"15.09.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\\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\":\"\\u0427\\u0435\\u0442\\u0432\\u0435\\u0440\\u0433\",\"\\u0414\\u0430\\u0442\\u0430 \\u0438 \\u0432\\u0440\\u0435\\u043c\\u044f \\u0432\\u0438\\u0437\\u0438\\u0442\\u0430\":\"2026-09-03 14:59:00\",\"\\u0414\\u0430\\u0442\\u0430 \\u0432\\u0438\\u0437\\u0438\\u0442\\u0430\":\"03.09.2026\",\"\\u0426\\u0435\\u043b\\u044c \\u0432\\u044b\\u0435\\u0437\\u0434\\u0430\":\"\\u041f\\u0440\\u043e\\u0444\\u0438\\u043b\\u0430\\u043a\\u0442\\u0438\\u043a\\u0430 \\u043f\\u043e \\u0433\\u0430\\u0440\\u0430\\u043d\\u0442\\u0438\\u0438\",\"\\u0412\\u0438\\u0434 \\u0432\\u044b\\u043f\\u043e\\u043b\\u043d\\u0435\\u043d\\u043d\\u044b\\u0445 \\u0440\\u0430\\u0431\\u043e\\u0442\":\"\\u041f\\u0440\\u043e\\u0444\\u0438\\u043b\\u0430\\u043a\\u0442\\u0438\\u043a\\u0430 \\u0441\\u043f\\u043b\\u0438\\u0442-\\u0441\\u0438\\u0441\\u0442\\u0435\\u043c \\u0432\\u0441\\u0435\\u0445 \\u043c\\u043e\\u0449\\u043d\\u043e\\u0441\\u0442\\u0435\\u0439 (\\u043e\\u0447\\u0438\\u0441\\u0442\\u043a\\u0430, \\u043f\\u0440\\u043e\\u0432\\u0435\\u0440\\u043a\\u0430 \\u0440\\u0430\\u0431\\u043e\\u0442\\u044b)\",\"\\u041c\\u043e\\u0434\\u0435\\u043b\\u044c \\u043e\\u0431\\u043e\\u0440\\u0443\\u0434\\u043e\\u0432\\u0430\\u043d\\u0438\\u044f 1\":\"Haier Pearl 50\",\"ID\":\"40280481\",\"\\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\":\"980909445833\",\"\\u0410\\u0434\\u0440\\u0435\\u0441\":\"Suruceni str.Capriana 8\",\"\\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)\":\"B6281\",\"\\u0422\\u0438\\u043f \\u0438 \\u043c\\u043e\\u0434\\u0435\\u043b\\u044c \\u043e\\u0431\\u043e\\u0440\\u0443\\u0434\\u043e\\u0432\\u0430\\u043d\\u0438\\u044f (\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442)\":\"Haier Pearl 50\",\"\\u0418\\u043c\\u044f \\u043a\\u043b\\u0438\\u0435\\u043d\\u0442\\u0430 (\\u0421\\u041c\\u0421)\":\"Nadejda\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"37368307655\",\"\\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\":\"Nadejda Cioresco\",\"Contact_name\":\"Nadejda Cioresco\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"\\u0410\\u0441\\u0442\\u0430\\u043f\\u0435\\u043d\\u043a\\u043e\\u0432\\u0430 \\u042e\\u043b\\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\":\"980909445833\",\"\\u0410\\u0434\\u0440\\u0435\\u0441\":\"Suruceni str.Capriana 8\",\"\\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)\":\"B6281\",\"\\u0422\\u0438\\u043f \\u0438 \\u043c\\u043e\\u0434\\u0435\\u043b\\u044c \\u043e\\u0431\\u043e\\u0440\\u0443\\u0434\\u043e\\u0432\\u0430\\u043d\\u0438\\u044f (\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442)\":\"Haier Pearl 50\",\"\\u0418\\u043c\\u044f \\u043a\\u043b\\u0438\\u0435\\u043d\\u0442\\u0430 (\\u0421\\u041c\\u0421)\":\"Nadejda\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"37368307655\",\"\\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\":\"Nadejda Cioresco\",\"Contact_name\":\"Nadejda Cioresco\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"\\u0410\\u0441\\u0442\\u0430\\u043f\\u0435\\u043d\\u043a\\u043e\\u0432\\u0430 \\u042e\\u043b\\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\":\"980909445833\",\"\\u0410\\u0434\\u0440\\u0435\\u0441\":\"Suruceni str.Capriana 8\",\"\\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)\":\"B6281\",\"\\u0422\\u0438\\u043f \\u0438 \\u043c\\u043e\\u0434\\u0435\\u043b\\u044c \\u043e\\u0431\\u043e\\u0440\\u0443\\u0434\\u043e\\u0432\\u0430\\u043d\\u0438\\u044f (\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442)\":\"Haier Pearl 50\",\"\\u0418\\u043c\\u044f \\u043a\\u043b\\u0438\\u0435\\u043d\\u0442\\u0430 (\\u0421\\u041c\\u0421)\":\"Nadejda\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"37368307655\",\"\\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\":\"Nadejda Cioresco\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\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\":\"03.09.2026\",\"\\u041d\\u043e\\u043c\\u0435\\u0440\":\"1049\"},\"document\":{\"Date\":\"03.09.2026\",\"Number\":\"1049\"}}}","edit":true}} {"uid":"3ba3ac2"}
[2026-09-03 15:03:01] docflow.DEBUG: GAS raw response {"raw":"[object] (stdClass: {\"code\":1,\"url\":\"https://docs.google.com/open?id=1kcnKLiHOHSTSHlbMXgmUB9iz83uDX5p5XeiD3eed1Os\",\"file_id\":\"1kcnKLiHOHSTSHlbMXgmUB9iz83uDX5p5XeiD3eed1Os\",\"error\":\"\",\"vars\":\"\"})"} {"uid":"3ba3ac2"}
[2026-09-03 15:03:01] docflow.WARNING: AmoDrive generated-file move is not ready. {"fileId":"1kcnKLiHOHSTSHlbMXgmUB9iz83uDX5p5XeiD3eed1Os","context":null} {"uid":"3ba3ac2"}
[2026-09-03 15:48:40] docflow.INFO: Apel createDoc {"data":{"amoAccountId":"22699852","amoUserId":null,"amoEntityId":"42613702","amoEntityType":"2","templateId":"11495","corporateEntityId":"","settlementAccountId":"","is_signed":null,"gdi":null,"number":null,"currentAmoUserId":null,"lang":"ru"}} {"uid":"165e19d"}
[2026-09-03 15:48:40] docflow.INFO: Token is valid for account 22699852. [] {"uid":"165e19d"}
[2026-09-03 15:48:40] docflow.DEBUG: getClientAuth returned {"auth":"[object] (stdClass: {\"domain\":\"emigrare.amocrm.ru\",\"access_token\":\"eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImp0aSI6Ijc5NmQ0ZGI2YTA3MWNlZDc3ODJlNGQ0YjUwNDg3Y2YzYzc5NzMzMGZmYjRiODY3YmJkOGZlMGM0OTgzMThhOWM2ZWI0OGY0NWEwNjUyNTA2In0.eyJhdWQiOiIwZDY0ZGZmYi1lNTRiLTQ0OGYtOWZiZi1iYWYyMjUxYTExZGIiLCJqdGkiOiI3OTZkNGRiNmEwNzFjZWQ3NzgyZTRkNGI1MDQ4N2NmM2M3OTczMzBmZmI0Yjg2N2JiZDhmZTBjNDk4MzE4YTljNmViNDhmNDVhMDY1MjUwNiIsImlhdCI6MTc4ODQyMDkzMSwibmJmIjoxNzg4NDIwOTMxLCJleHAiOjE3ODg1MDczMzEsInN1YiI6IjI5MzAzODAiLCJncmFudF90eXBlIjoiIiwiYWNjb3VudF9pZCI6MjI2OTk4NTIsImJhc2VfZG9tYWluIjoiYW1vY3JtLnJ1IiwidmVyc2lvbiI6Miwic2NvcGVzIjpbInB1c2hfbm90aWZpY2F0aW9ucyIsImNybSIsIm5vdGlmaWNhdGlvbnMiXSwiaGFzaF91dWlkIjoiZGEyYWE1ZjktZGExOC00MjdlLWE2MWYtNTVmYTc3ODVlZjY2IiwiYXBpX2RvbWFpbiI6ImFwaS1hLmFtb2NybS5ydSJ9.H4kHy9HTAlmOrLwH87KEUkW3m5XrIPQPJ94nBHw7VmgyuPPvGaBKTqjV0ZeDQAB1eCpE6EUB3rzYGayOEE9oAeVFDKK5jTkW4oB5DsBnqMLC0Y0p3r7E0iO_PIE4V_HEI2v_jRgepLdDV85cqYKaSeT1ho90pWjPIZ0rm_9K0_HWXp6oXP5IvTBJbUKDaZ-8GfjtRNe3HeN3_V4AsYnDU5Q6lWeVyKwDd0r2N6Tf2QU5Xvn5DSWODA5r3fmWriH3KKtx4KnIccLHSYV5x46iQ-a7aRY4Zwqr76sVZzk7_98D61OGdafIPJno0g0tKRoASQPcQxT6IGoUSyqxOVFbdA\"})","file":"/home/ytvmclwh/document.amocrm.md/src/Models/Docs.php","line":121} {"uid":"165e19d"}
[2026-09-03 15:48:42] docflow.DEBUG: AmoDrive docflow context request {"url":"https://google.emale.uno/api/docflow/google-context","query":{"account_id":"22699852","entity_id":"42613702","entity_type":"leads"}} {"uid":"165e19d"}
[2026-09-03 15:48:42] 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=42613702&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/09/03 15:48:42</td>\r\n</tr>\r\n</table>\r\n<hr><center>tengine</center>\r\n</body>\r\n</html>\r\n"} {"uid":"165e19d"}
[2026-09-03 15:48:42] docflow.DEBUG: AmoDrive docflow context request {"url":"https://gd.glucose-dev.online/api/docflow/google-context","query":{"account_id":"22699852","entity_id":"42613702","entity_type":"leads"}} {"uid":"165e19d"}
[2026-09-03 15:48:42] docflow.WARNING: AmoDrive docflow context response is not ready, trying next backend. {"url":"https://gd.glucose-dev.online/api/docflow/google-context","payload":{"ok":true,"accountId":22699852,"entityId":"42613702","entityType":"leads","amodrive":{"installed":false,"widgetStatus":"uninstalled","amoAccountId":22699852,"accountHost":"emigrare.amocrm.ru","license":{"status":"active","configuredStatus":"active","expiresAt":"2027-08-20T10:16:56.291Z","isExpired":false,"isTrial":false,"isActive":true,"expiredByDate":false,"daysRemaining":351,"isLifetime":false},"licenseActive":false,"googleConnected":false,"googleEmail":null,"googleHasDriveScope":false,"googleHasDriveFileScope":false,"googleHasOwnershipScope":false,"readyForGeneratedFileMove":false,"readyForTransfer":false},"folder":{"id":"1Xa-0NfWRjNQ-n63YOQz_zTBvWt76_1xO","name":"42613702 - Lead #42613702","webViewLink":"https://drive.google.com/drive/folders/1Xa-0NfWRjNQ-n63YOQz_zTBvWt76_1xO"}}} {"uid":"165e19d"}
[2026-09-03 15:48:42] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://google.emale.uno/api/docflow/prepare-generated-doc","payload":{"account_id":"22699852","entity_id":"42613702","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"165e19d"}
[2026-09-03 15:48:42] 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/09/03 15:48: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":"42613702","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"165e19d"}
[2026-09-03 15:48:42] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://gd.glucose-dev.online/api/docflow/prepare-generated-doc","payload":{"account_id":"22699852","entity_id":"42613702","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"165e19d"}
[2026-09-03 15:48:43] docflow.WARNING: AmoDrive prepare-generated-doc request failed {"url":"https://gd.glucose-dev.online/api/docflow/prepare-generated-doc","http_code":null,"error":"HTTP/2 404 ","response":"[object] (stdClass: {\"ok\":false,\"error\":\"AmoDrive is not installed for this account.\",\"accountId\":22699852})","payload":{"account_id":"22699852","entity_id":"42613702","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"165e19d"}
[2026-09-03 15:48:43] docflow.DEBUG: GAS request {"url":"https://script.google.com/macros/s/AKfycbwrvOJD46zkuoTzdhpc1kulhV8jRfgQBFZfQ121nkIip_k8yKit4xrbWTOzaJ-C-Yed6w/exec","body":{"templateFileId":"139A_R9cAqcF0vtMAjkAKEvgO4ur6rSSzFI-AF87BYnQ","accountId":"22699852","folderId":"1Us2AfskxgdA729xVr0F2vjZU9y5PlYDe","key":"~VTsK5dcnHc2cSSsjM$LFSjLlgbmJXwrp3R2P5nd","data":"{\"fileName\":\"Contract (consulta\\u021bie) 394 20260903154842\",\"leadId\":\"42613702\",\"entities\":{\"\\u0441\\u0434\\u0435\\u043b\\u043a\\u0430\":{\"tree_name\":\"Emigrare\",\"Manager front office\":\"Capanji Igor\",\"Nota SQL\":\"1\",\"ID\":\"42613702\",\"\\u0421\\u0434\\u0435\\u043b\\u043a\\u0430_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"sub.md\",\"Lead_name\":\"sub.md\",\"\\u0411\\u044e\\u0434\\u0436\\u0435\\u0442\":\"0\",\"Budget\":\"0\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"Capanji Igor\",\"Responsible\":\"Capanji Igor\"},\"lead\":{\"tree_name\":\"Emigrare\",\"Manager front office\":\"Capanji Igor\",\"Nota SQL\":\"1\",\"ID\":\"42613702\",\"\\u0421\\u0434\\u0435\\u043b\\u043a\\u0430_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"sub.md\",\"Lead_name\":\"sub.md\",\"\\u0411\\u044e\\u0434\\u0436\\u0435\\u0442\":\"0\",\"Budget\":\"0\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"Capanji Igor\",\"Responsible\":\"Capanji Igor\"},\"\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442\":{\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"068439170\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Leonid Begli\\u021b\",\"Contact_name\":\"Leonid Begli\\u021b\",\"\\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\":\"068439170\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Leonid Begli\\u021b\",\"Contact_name\":\"Leonid Begli\\u021b\",\"\\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\":\"068439170\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Leonid Begli\\u021b\",\"\\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\":\"03.09.2026\",\"\\u041d\\u043e\\u043c\\u0435\\u0440\":\"394\"},\"document\":{\"Date\":\"03.09.2026\",\"Number\":\"394\"}}}","edit":true}} {"uid":"165e19d"}
[2026-09-03 15:48:50] docflow.DEBUG: GAS raw response {"raw":"[object] (stdClass: {\"code\":1,\"url\":\"https://docs.google.com/open?id=1hdxap7fcLG9uLd6J5rb2RvuhAdDOTAB_k5Mvp2O5MKQ\",\"file_id\":\"1hdxap7fcLG9uLd6J5rb2RvuhAdDOTAB_k5Mvp2O5MKQ\",\"error\":\"\",\"vars\":\"\"})"} {"uid":"165e19d"}
[2026-09-03 15:48:50] docflow.WARNING: AmoDrive generated-file move is not ready. {"fileId":"1hdxap7fcLG9uLd6J5rb2RvuhAdDOTAB_k5Mvp2O5MKQ","context":null} {"uid":"165e19d"}
[2026-09-03 15:49:40] docflow.INFO: Apel createDoc {"data":{"amoAccountId":"22699852","amoUserId":null,"amoEntityId":"42613702","amoEntityType":"2","templateId":"11502","corporateEntityId":"","settlementAccountId":"","is_signed":null,"gdi":null,"number":null,"currentAmoUserId":null,"lang":"ru"}} {"uid":"423b614"}
[2026-09-03 15:49:41] docflow.INFO: Token is valid for account 22699852. [] {"uid":"423b614"}
[2026-09-03 15:49:41] docflow.DEBUG: getClientAuth returned {"auth":"[object] (stdClass: {\"domain\":\"emigrare.amocrm.ru\",\"access_token\":\"eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImp0aSI6Ijc5NmQ0ZGI2YTA3MWNlZDc3ODJlNGQ0YjUwNDg3Y2YzYzc5NzMzMGZmYjRiODY3YmJkOGZlMGM0OTgzMThhOWM2ZWI0OGY0NWEwNjUyNTA2In0.eyJhdWQiOiIwZDY0ZGZmYi1lNTRiLTQ0OGYtOWZiZi1iYWYyMjUxYTExZGIiLCJqdGkiOiI3OTZkNGRiNmEwNzFjZWQ3NzgyZTRkNGI1MDQ4N2NmM2M3OTczMzBmZmI0Yjg2N2JiZDhmZTBjNDk4MzE4YTljNmViNDhmNDVhMDY1MjUwNiIsImlhdCI6MTc4ODQyMDkzMSwibmJmIjoxNzg4NDIwOTMxLCJleHAiOjE3ODg1MDczMzEsInN1YiI6IjI5MzAzODAiLCJncmFudF90eXBlIjoiIiwiYWNjb3VudF9pZCI6MjI2OTk4NTIsImJhc2VfZG9tYWluIjoiYW1vY3JtLnJ1IiwidmVyc2lvbiI6Miwic2NvcGVzIjpbInB1c2hfbm90aWZpY2F0aW9ucyIsImNybSIsIm5vdGlmaWNhdGlvbnMiXSwiaGFzaF91dWlkIjoiZGEyYWE1ZjktZGExOC00MjdlLWE2MWYtNTVmYTc3ODVlZjY2IiwiYXBpX2RvbWFpbiI6ImFwaS1hLmFtb2NybS5ydSJ9.H4kHy9HTAlmOrLwH87KEUkW3m5XrIPQPJ94nBHw7VmgyuPPvGaBKTqjV0ZeDQAB1eCpE6EUB3rzYGayOEE9oAeVFDKK5jTkW4oB5DsBnqMLC0Y0p3r7E0iO_PIE4V_HEI2v_jRgepLdDV85cqYKaSeT1ho90pWjPIZ0rm_9K0_HWXp6oXP5IvTBJbUKDaZ-8GfjtRNe3HeN3_V4AsYnDU5Q6lWeVyKwDd0r2N6Tf2QU5Xvn5DSWODA5r3fmWriH3KKtx4KnIccLHSYV5x46iQ-a7aRY4Zwqr76sVZzk7_98D61OGdafIPJno0g0tKRoASQPcQxT6IGoUSyqxOVFbdA\"})","file":"/home/ytvmclwh/document.amocrm.md/src/Models/Docs.php","line":121} {"uid":"423b614"}
[2026-09-03 15:49:43] docflow.DEBUG: AmoDrive docflow context request {"url":"https://google.emale.uno/api/docflow/google-context","query":{"account_id":"22699852","entity_id":"42613702","entity_type":"leads"}} {"uid":"423b614"}
[2026-09-03 15:49:43] docflow.WARNING: AmoDrive docflow context request failed {"url":"https://google.emale.uno/api/docflow/google-context","http_code":null,"error":"HTTP/2 400 ","response":"<!DOCTYPE HTML PUBLIC \"-//IETF//DTD HTML 2.0//EN\">\r\n<html>\r\n<head><title>400 Bad Request</title></head>\r\n<body>\r\n<center><h1>400 Bad Request</h1></center>\r\n Sorry for the inconvenience.<br/>\r\nPlease report this message and include the following information to us.<br/>\r\nThank you very much!</p>\r\n<table>\r\n<tr>\r\n<td>URL:</td>\r\n<td>https://gd.glucose-dev.online/api/docflow/google-context?account_id=22699852&amp;entity_id=42613702&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/09/03 15:49:43</td>\r\n</tr>\r\n</table>\r\n<hr><center>tengine</center>\r\n</body>\r\n</html>\r\n"} {"uid":"423b614"}
[2026-09-03 15:49:43] docflow.DEBUG: AmoDrive docflow context request {"url":"https://gd.glucose-dev.online/api/docflow/google-context","query":{"account_id":"22699852","entity_id":"42613702","entity_type":"leads"}} {"uid":"423b614"}
[2026-09-03 15:49:43] docflow.WARNING: AmoDrive docflow context response is not ready, trying next backend. {"url":"https://gd.glucose-dev.online/api/docflow/google-context","payload":{"ok":true,"accountId":22699852,"entityId":"42613702","entityType":"leads","amodrive":{"installed":false,"widgetStatus":"uninstalled","amoAccountId":22699852,"accountHost":"emigrare.amocrm.ru","license":{"status":"active","configuredStatus":"active","expiresAt":"2027-08-20T10:16:56.291Z","isExpired":false,"isTrial":false,"isActive":true,"expiredByDate":false,"daysRemaining":351,"isLifetime":false},"licenseActive":false,"googleConnected":false,"googleEmail":null,"googleHasDriveScope":false,"googleHasDriveFileScope":false,"googleHasOwnershipScope":false,"readyForGeneratedFileMove":false,"readyForTransfer":false},"folder":{"id":"1Xa-0NfWRjNQ-n63YOQz_zTBvWt76_1xO","name":"42613702 - Lead #42613702","webViewLink":"https://drive.google.com/drive/folders/1Xa-0NfWRjNQ-n63YOQz_zTBvWt76_1xO"}}} {"uid":"423b614"}
[2026-09-03 15:49:43] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://google.emale.uno/api/docflow/prepare-generated-doc","payload":{"account_id":"22699852","entity_id":"42613702","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"423b614"}
[2026-09-03 15:49:43] docflow.WARNING: AmoDrive prepare-generated-doc request failed {"url":"https://google.emale.uno/api/docflow/prepare-generated-doc","http_code":null,"error":"HTTP/2 400 ","response":"<!DOCTYPE HTML PUBLIC \"-//IETF//DTD HTML 2.0//EN\">\r\n<html>\r\n<head><title>400 Bad Request</title></head>\r\n<body>\r\n<center><h1>400 Bad Request</h1></center>\r\n Sorry for the inconvenience.<br/>\r\nPlease report this message and include the following information to us.<br/>\r\nThank you very much!</p>\r\n<table>\r\n<tr>\r\n<td>URL:</td>\r\n<td>https://gd.glucose-dev.online/api/docflow/prepare-generated-doc</td>\r\n</tr>\r\n<tr>\r\n<td>Server:</td>\r\n<td>mail.glucose-dev.online</td>\r\n</tr>\r\n<tr>\r\n<td>Date:</td>\r\n<td>2026/09/03 15:49:43</td>\r\n</tr>\r\n</table>\r\n<hr><center>tengine</center>\r\n</body>\r\n</html>\r\n","payload":{"account_id":"22699852","entity_id":"42613702","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"423b614"}
[2026-09-03 15:49:43] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://gd.glucose-dev.online/api/docflow/prepare-generated-doc","payload":{"account_id":"22699852","entity_id":"42613702","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"423b614"}
[2026-09-03 15:49:43] docflow.WARNING: AmoDrive prepare-generated-doc request failed {"url":"https://gd.glucose-dev.online/api/docflow/prepare-generated-doc","http_code":null,"error":"HTTP/2 404 ","response":"[object] (stdClass: {\"ok\":false,\"error\":\"AmoDrive is not installed for this account.\",\"accountId\":22699852})","payload":{"account_id":"22699852","entity_id":"42613702","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"423b614"}
[2026-09-03 15:49:43] docflow.DEBUG: GAS request {"url":"https://script.google.com/macros/s/AKfycbwrvOJD46zkuoTzdhpc1kulhV8jRfgQBFZfQ121nkIip_k8yKit4xrbWTOzaJ-C-Yed6w/exec","body":{"templateFileId":"1cmUcOeHAQ_tG9mkDp8xVcdKAxcfnrvlXbbsKpJ-Mq7k","accountId":"22699852","folderId":"1Us2AfskxgdA729xVr0F2vjZU9y5PlYDe","key":"~VTsK5dcnHc2cSSsjM$LFSjLlgbmJXwrp3R2P5nd","data":"{\"fileName\":\"\\u0421\\u043e\\u0433\\u043b\\u0430\\u0441\\u0438\\u0435 (\\u043a\\u043e\\u043d\\u0441\\u0443\\u043b\\u044c\\u0442\\u0430\\u0446\\u0438\\u044f) 70 20260903154943\",\"leadId\":\"42613702\",\"entities\":{\"\\u0441\\u0434\\u0435\\u043b\\u043a\\u0430\":{\"tree_name\":\"Emigrare\",\"Manager front office\":\"Capanji Igor\",\"Nota SQL\":\"1\",\"ID\":\"42613702\",\"\\u0421\\u0434\\u0435\\u043b\\u043a\\u0430_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"sub.md\",\"Lead_name\":\"sub.md\",\"\\u0411\\u044e\\u0434\\u0436\\u0435\\u0442\":\"0\",\"Budget\":\"0\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"Capanji Igor\",\"Responsible\":\"Capanji Igor\"},\"lead\":{\"tree_name\":\"Emigrare\",\"Manager front office\":\"Capanji Igor\",\"Nota SQL\":\"1\",\"ID\":\"42613702\",\"\\u0421\\u0434\\u0435\\u043b\\u043a\\u0430_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"sub.md\",\"Lead_name\":\"sub.md\",\"\\u0411\\u044e\\u0434\\u0436\\u0435\\u0442\":\"0\",\"Budget\":\"0\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"Capanji Igor\",\"Responsible\":\"Capanji Igor\"},\"\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442\":{\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"068439170\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Leonid Begli\\u021b\",\"Contact_name\":\"Leonid Begli\\u021b\",\"\\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\":\"068439170\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Leonid Begli\\u021b\",\"Contact_name\":\"Leonid Begli\\u021b\",\"\\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\":\"068439170\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Leonid Begli\\u021b\",\"\\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\":\"03.09.2026\",\"\\u041d\\u043e\\u043c\\u0435\\u0440\":\"70\"},\"document\":{\"Date\":\"03.09.2026\",\"Number\":\"70\"}}}","edit":true}} {"uid":"423b614"}
[2026-09-03 15:49:48] docflow.INFO: Apel createDoc {"data":{"amoAccountId":"22699852","amoUserId":null,"amoEntityId":"42603134","amoEntityType":"2","templateId":"11487","corporateEntityId":"","settlementAccountId":"","is_signed":null,"gdi":null,"number":null,"currentAmoUserId":null,"lang":"ru"}} {"uid":"810f3bb"}
[2026-09-03 15:49:48] docflow.INFO: Token is valid for account 22699852. [] {"uid":"810f3bb"}
[2026-09-03 15:49:48] docflow.DEBUG: getClientAuth returned {"auth":"[object] (stdClass: {\"domain\":\"emigrare.amocrm.ru\",\"access_token\":\"eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImp0aSI6Ijc5NmQ0ZGI2YTA3MWNlZDc3ODJlNGQ0YjUwNDg3Y2YzYzc5NzMzMGZmYjRiODY3YmJkOGZlMGM0OTgzMThhOWM2ZWI0OGY0NWEwNjUyNTA2In0.eyJhdWQiOiIwZDY0ZGZmYi1lNTRiLTQ0OGYtOWZiZi1iYWYyMjUxYTExZGIiLCJqdGkiOiI3OTZkNGRiNmEwNzFjZWQ3NzgyZTRkNGI1MDQ4N2NmM2M3OTczMzBmZmI0Yjg2N2JiZDhmZTBjNDk4MzE4YTljNmViNDhmNDVhMDY1MjUwNiIsImlhdCI6MTc4ODQyMDkzMSwibmJmIjoxNzg4NDIwOTMxLCJleHAiOjE3ODg1MDczMzEsInN1YiI6IjI5MzAzODAiLCJncmFudF90eXBlIjoiIiwiYWNjb3VudF9pZCI6MjI2OTk4NTIsImJhc2VfZG9tYWluIjoiYW1vY3JtLnJ1IiwidmVyc2lvbiI6Miwic2NvcGVzIjpbInB1c2hfbm90aWZpY2F0aW9ucyIsImNybSIsIm5vdGlmaWNhdGlvbnMiXSwiaGFzaF91dWlkIjoiZGEyYWE1ZjktZGExOC00MjdlLWE2MWYtNTVmYTc3ODVlZjY2IiwiYXBpX2RvbWFpbiI6ImFwaS1hLmFtb2NybS5ydSJ9.H4kHy9HTAlmOrLwH87KEUkW3m5XrIPQPJ94nBHw7VmgyuPPvGaBKTqjV0ZeDQAB1eCpE6EUB3rzYGayOEE9oAeVFDKK5jTkW4oB5DsBnqMLC0Y0p3r7E0iO_PIE4V_HEI2v_jRgepLdDV85cqYKaSeT1ho90pWjPIZ0rm_9K0_HWXp6oXP5IvTBJbUKDaZ-8GfjtRNe3HeN3_V4AsYnDU5Q6lWeVyKwDd0r2N6Tf2QU5Xvn5DSWODA5r3fmWriH3KKtx4KnIccLHSYV5x46iQ-a7aRY4Zwqr76sVZzk7_98D61OGdafIPJno0g0tKRoASQPcQxT6IGoUSyqxOVFbdA\"})","file":"/home/ytvmclwh/document.amocrm.md/src/Models/Docs.php","line":121} {"uid":"810f3bb"}
[2026-09-03 15:49:50] docflow.DEBUG: GAS raw response {"raw":"[object] (stdClass: {\"code\":1,\"url\":\"https://docs.google.com/open?id=14J6ciTEYW1X_BIrXdO1FxUG6Laj2IXZRThWVRkPRLFY\",\"file_id\":\"14J6ciTEYW1X_BIrXdO1FxUG6Laj2IXZRThWVRkPRLFY\",\"error\":\"\",\"vars\":\"\"})"} {"uid":"423b614"}
[2026-09-03 15:49:50] docflow.WARNING: AmoDrive generated-file move is not ready. {"fileId":"14J6ciTEYW1X_BIrXdO1FxUG6Laj2IXZRThWVRkPRLFY","context":null} {"uid":"423b614"}
[2026-09-03 15:49:51] docflow.DEBUG: AmoDrive docflow context request {"url":"https://google.emale.uno/api/docflow/google-context","query":{"account_id":"22699852","entity_id":"42603134","entity_type":"leads"}} {"uid":"810f3bb"}
[2026-09-03 15:49:51] docflow.WARNING: AmoDrive docflow context request failed {"url":"https://google.emale.uno/api/docflow/google-context","http_code":null,"error":"HTTP/2 400 ","response":"<!DOCTYPE HTML PUBLIC \"-//IETF//DTD HTML 2.0//EN\">\r\n<html>\r\n<head><title>400 Bad Request</title></head>\r\n<body>\r\n<center><h1>400 Bad Request</h1></center>\r\n Sorry for the inconvenience.<br/>\r\nPlease report this message and include the following information to us.<br/>\r\nThank you very much!</p>\r\n<table>\r\n<tr>\r\n<td>URL:</td>\r\n<td>https://gd.glucose-dev.online/api/docflow/google-context?account_id=22699852&amp;entity_id=42603134&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/09/03 15:49:51</td>\r\n</tr>\r\n</table>\r\n<hr><center>tengine</center>\r\n</body>\r\n</html>\r\n"} {"uid":"810f3bb"}
[2026-09-03 15:49:51] docflow.DEBUG: AmoDrive docflow context request {"url":"https://gd.glucose-dev.online/api/docflow/google-context","query":{"account_id":"22699852","entity_id":"42603134","entity_type":"leads"}} {"uid":"810f3bb"}
[2026-09-03 15:49:51] docflow.WARNING: AmoDrive docflow context response is not ready, trying next backend. {"url":"https://gd.glucose-dev.online/api/docflow/google-context","payload":{"ok":true,"accountId":22699852,"entityId":"42603134","entityType":"leads","amodrive":{"installed":false,"widgetStatus":"uninstalled","amoAccountId":22699852,"accountHost":"emigrare.amocrm.ru","license":{"status":"active","configuredStatus":"active","expiresAt":"2027-08-20T10:16:56.291Z","isExpired":false,"isTrial":false,"isActive":true,"expiredByDate":false,"daysRemaining":351,"isLifetime":false},"licenseActive":false,"googleConnected":false,"googleEmail":null,"googleHasDriveScope":false,"googleHasDriveFileScope":false,"googleHasOwnershipScope":false,"readyForGeneratedFileMove":false,"readyForTransfer":false},"folder":{"id":"1a9kJb252itdP4OLvCe9qCqqHDaE73TaL","name":"42603134 - Lead #42603134","webViewLink":"https://drive.google.com/drive/folders/1a9kJb252itdP4OLvCe9qCqqHDaE73TaL"}}} {"uid":"810f3bb"}
[2026-09-03 15:49:51] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://google.emale.uno/api/docflow/prepare-generated-doc","payload":{"account_id":"22699852","entity_id":"42603134","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"810f3bb"}
[2026-09-03 15:49: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/09/03 15:49:51</td>\r\n</tr>\r\n</table>\r\n<hr><center>tengine</center>\r\n</body>\r\n</html>\r\n","payload":{"account_id":"22699852","entity_id":"42603134","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"810f3bb"}
[2026-09-03 15:49:51] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://gd.glucose-dev.online/api/docflow/prepare-generated-doc","payload":{"account_id":"22699852","entity_id":"42603134","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"810f3bb"}
[2026-09-03 15:49:51] docflow.WARNING: AmoDrive prepare-generated-doc request failed {"url":"https://gd.glucose-dev.online/api/docflow/prepare-generated-doc","http_code":null,"error":"HTTP/2 404 ","response":"[object] (stdClass: {\"ok\":false,\"error\":\"AmoDrive is not installed for this account.\",\"accountId\":22699852})","payload":{"account_id":"22699852","entity_id":"42603134","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"810f3bb"}
[2026-09-03 15:49:51] docflow.DEBUG: GAS request {"url":"https://script.google.com/macros/s/AKfycbwrvOJD46zkuoTzdhpc1kulhV8jRfgQBFZfQ121nkIip_k8yKit4xrbWTOzaJ-C-Yed6w/exec","body":{"templateFileId":"1Qs2KktxXVCWrpdnvN8VsXGZnUkoSyqidawI8Gy962Yg","accountId":"22699852","folderId":"1Us2AfskxgdA729xVr0F2vjZU9y5PlYDe","key":"~VTsK5dcnHc2cSSsjM$LFSjLlgbmJXwrp3R2P5nd","data":"{\"fileName\":\"Diverse 1263 20260903154951\",\"leadId\":\"42603134\",\"entities\":{\"\\u0441\\u0434\\u0435\\u043b\\u043a\\u0430\":{\"roistat\":\"2021\",\"Suma \\u20ac\":\"0\",\"#Manager Front\":\"Cezara Cenusa\",\"Urm\\u0103torul contact\":\"2026-09-04 15:01:00\",\"Mod achitare\":\"Transfer firm\\u0103\",\"Suma avans\":\"50\",\"Manager Juridic\":\"Dascal Anatolie\",\"#Manager Jurist\":\"Dascal Anatolie\",\"ID\":\"42603134\",\"\\u0421\\u0434\\u0435\\u043b\\u043a\\u0430_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Sub.md\\/apostila\",\"Lead_name\":\"Sub.md\\/apostila\",\"\\u0411\\u044e\\u0434\\u0436\\u0435\\u0442\":\"50\",\"Budget\":\"50\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"Marina Negruta\",\"Responsible\":\"Marina Negruta\"},\"lead\":{\"roistat\":\"2021\",\"Suma \\u20ac\":\"0\",\"#Manager Front\":\"Cezara Cenusa\",\"Urm\\u0103torul contact\":\"2026-09-04 15:01:00\",\"Mod achitare\":\"Transfer firm\\u0103\",\"Suma avans\":\"50\",\"Manager Juridic\":\"Dascal Anatolie\",\"#Manager Jurist\":\"Dascal Anatolie\",\"ID\":\"42603134\",\"\\u0421\\u0434\\u0435\\u043b\\u043a\\u0430_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Sub.md\\/apostila\",\"Lead_name\":\"Sub.md\\/apostila\",\"\\u0411\\u044e\\u0434\\u0436\\u0435\\u0442\":\"50\",\"Budget\":\"50\",\"\\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\":\"29532312608934\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"+79833177346\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Aleksandr Nasaltsev\",\"Contact_name\":\"Aleksandr Nasaltsev\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"Marina Negruta\",\"Responsible\":\"Marina Negruta\"},\"contact\":{\"WhatsappLid_WZ\":\"29532312608934\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"+79833177346\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Aleksandr Nasaltsev\",\"Contact_name\":\"Aleksandr Nasaltsev\",\"\\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\":\"29532312608934\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"+79833177346\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Aleksandr Nasaltsev\",\"\\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\":\"03.09.2026\",\"\\u041d\\u043e\\u043c\\u0435\\u0440\":\"1263\"},\"document\":{\"Date\":\"03.09.2026\",\"Number\":\"1263\"}}}","edit":true}} {"uid":"810f3bb"}
[2026-09-03 15:49:57] docflow.DEBUG: GAS raw response {"raw":"[object] (stdClass: {\"code\":1,\"url\":\"https://docs.google.com/open?id=1v3uWkz-1Dm2rWiZSTSENremTIm97ybuaRntHkkOHbDc\",\"file_id\":\"1v3uWkz-1Dm2rWiZSTSENremTIm97ybuaRntHkkOHbDc\",\"error\":\"\",\"vars\":\"\"})"} {"uid":"810f3bb"}
[2026-09-03 15:49:57] docflow.WARNING: AmoDrive generated-file move is not ready. {"fileId":"1v3uWkz-1Dm2rWiZSTSENremTIm97ybuaRntHkkOHbDc","context":null} {"uid":"810f3bb"}
[2026-09-03 16:12:06] docflow.INFO: Apel createDoc {"data":{"amoAccountId":"22699852","amoUserId":null,"amoEntityId":"42603134","amoEntityType":"2","templateId":"11528","corporateEntityId":"","settlementAccountId":"","is_signed":null,"gdi":null,"number":null,"currentAmoUserId":null,"lang":"ru"}} {"uid":"fe29ec7"}
[2026-09-03 16:12:07] docflow.INFO: Token is valid for account 22699852. [] {"uid":"fe29ec7"}
[2026-09-03 16:12:07] docflow.DEBUG: getClientAuth returned {"auth":"[object] (stdClass: {\"domain\":\"emigrare.amocrm.ru\",\"access_token\":\"eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImp0aSI6Ijc5NmQ0ZGI2YTA3MWNlZDc3ODJlNGQ0YjUwNDg3Y2YzYzc5NzMzMGZmYjRiODY3YmJkOGZlMGM0OTgzMThhOWM2ZWI0OGY0NWEwNjUyNTA2In0.eyJhdWQiOiIwZDY0ZGZmYi1lNTRiLTQ0OGYtOWZiZi1iYWYyMjUxYTExZGIiLCJqdGkiOiI3OTZkNGRiNmEwNzFjZWQ3NzgyZTRkNGI1MDQ4N2NmM2M3OTczMzBmZmI0Yjg2N2JiZDhmZTBjNDk4MzE4YTljNmViNDhmNDVhMDY1MjUwNiIsImlhdCI6MTc4ODQyMDkzMSwibmJmIjoxNzg4NDIwOTMxLCJleHAiOjE3ODg1MDczMzEsInN1YiI6IjI5MzAzODAiLCJncmFudF90eXBlIjoiIiwiYWNjb3VudF9pZCI6MjI2OTk4NTIsImJhc2VfZG9tYWluIjoiYW1vY3JtLnJ1IiwidmVyc2lvbiI6Miwic2NvcGVzIjpbInB1c2hfbm90aWZpY2F0aW9ucyIsImNybSIsIm5vdGlmaWNhdGlvbnMiXSwiaGFzaF91dWlkIjoiZGEyYWE1ZjktZGExOC00MjdlLWE2MWYtNTVmYTc3ODVlZjY2IiwiYXBpX2RvbWFpbiI6ImFwaS1hLmFtb2NybS5ydSJ9.H4kHy9HTAlmOrLwH87KEUkW3m5XrIPQPJ94nBHw7VmgyuPPvGaBKTqjV0ZeDQAB1eCpE6EUB3rzYGayOEE9oAeVFDKK5jTkW4oB5DsBnqMLC0Y0p3r7E0iO_PIE4V_HEI2v_jRgepLdDV85cqYKaSeT1ho90pWjPIZ0rm_9K0_HWXp6oXP5IvTBJbUKDaZ-8GfjtRNe3HeN3_V4AsYnDU5Q6lWeVyKwDd0r2N6Tf2QU5Xvn5DSWODA5r3fmWriH3KKtx4KnIccLHSYV5x46iQ-a7aRY4Zwqr76sVZzk7_98D61OGdafIPJno0g0tKRoASQPcQxT6IGoUSyqxOVFbdA\"})","file":"/home/ytvmclwh/document.amocrm.md/src/Models/Docs.php","line":121} {"uid":"fe29ec7"}
[2026-09-03 16:12:11] docflow.DEBUG: AmoDrive docflow context request {"url":"https://google.emale.uno/api/docflow/google-context","query":{"account_id":"22699852","entity_id":"42603134","entity_type":"leads"}} {"uid":"fe29ec7"}
[2026-09-03 16:12:11] docflow.WARNING: AmoDrive docflow context request failed {"url":"https://google.emale.uno/api/docflow/google-context","http_code":null,"error":"HTTP/2 400 ","response":"<!DOCTYPE HTML PUBLIC \"-//IETF//DTD HTML 2.0//EN\">\r\n<html>\r\n<head><title>400 Bad Request</title></head>\r\n<body>\r\n<center><h1>400 Bad Request</h1></center>\r\n Sorry for the inconvenience.<br/>\r\nPlease report this message and include the following information to us.<br/>\r\nThank you very much!</p>\r\n<table>\r\n<tr>\r\n<td>URL:</td>\r\n<td>https://gd.glucose-dev.online/api/docflow/google-context?account_id=22699852&amp;entity_id=42603134&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/09/03 16:12:11</td>\r\n</tr>\r\n</table>\r\n<hr><center>tengine</center>\r\n</body>\r\n</html>\r\n"} {"uid":"fe29ec7"}
[2026-09-03 16:12:11] docflow.DEBUG: AmoDrive docflow context request {"url":"https://gd.glucose-dev.online/api/docflow/google-context","query":{"account_id":"22699852","entity_id":"42603134","entity_type":"leads"}} {"uid":"fe29ec7"}
[2026-09-03 16:12:11] docflow.WARNING: AmoDrive docflow context response is not ready, trying next backend. {"url":"https://gd.glucose-dev.online/api/docflow/google-context","payload":{"ok":true,"accountId":22699852,"entityId":"42603134","entityType":"leads","amodrive":{"installed":false,"widgetStatus":"uninstalled","amoAccountId":22699852,"accountHost":"emigrare.amocrm.ru","license":{"status":"active","configuredStatus":"active","expiresAt":"2027-08-20T10:16:56.291Z","isExpired":false,"isTrial":false,"isActive":true,"expiredByDate":false,"daysRemaining":351,"isLifetime":false},"licenseActive":false,"googleConnected":false,"googleEmail":null,"googleHasDriveScope":false,"googleHasDriveFileScope":false,"googleHasOwnershipScope":false,"readyForGeneratedFileMove":false,"readyForTransfer":false},"folder":{"id":"1a9kJb252itdP4OLvCe9qCqqHDaE73TaL","name":"42603134 - Lead #42603134","webViewLink":"https://drive.google.com/drive/folders/1a9kJb252itdP4OLvCe9qCqqHDaE73TaL"}}} {"uid":"fe29ec7"}
[2026-09-03 16:12:11] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://google.emale.uno/api/docflow/prepare-generated-doc","payload":{"account_id":"22699852","entity_id":"42603134","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"fe29ec7"}
[2026-09-03 16:12:11] docflow.WARNING: AmoDrive prepare-generated-doc request failed {"url":"https://google.emale.uno/api/docflow/prepare-generated-doc","http_code":null,"error":"HTTP/2 400 ","response":"<!DOCTYPE HTML PUBLIC \"-//IETF//DTD HTML 2.0//EN\">\r\n<html>\r\n<head><title>400 Bad Request</title></head>\r\n<body>\r\n<center><h1>400 Bad Request</h1></center>\r\n Sorry for the inconvenience.<br/>\r\nPlease report this message and include the following information to us.<br/>\r\nThank you very much!</p>\r\n<table>\r\n<tr>\r\n<td>URL:</td>\r\n<td>https://gd.glucose-dev.online/api/docflow/prepare-generated-doc</td>\r\n</tr>\r\n<tr>\r\n<td>Server:</td>\r\n<td>mail.glucose-dev.online</td>\r\n</tr>\r\n<tr>\r\n<td>Date:</td>\r\n<td>2026/09/03 16:12: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":"42603134","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"fe29ec7"}
[2026-09-03 16:12:11] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://gd.glucose-dev.online/api/docflow/prepare-generated-doc","payload":{"account_id":"22699852","entity_id":"42603134","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"fe29ec7"}
[2026-09-03 16:12:11] docflow.WARNING: AmoDrive prepare-generated-doc request failed {"url":"https://gd.glucose-dev.online/api/docflow/prepare-generated-doc","http_code":null,"error":"HTTP/2 404 ","response":"[object] (stdClass: {\"ok\":false,\"error\":\"AmoDrive is not installed for this account.\",\"accountId\":22699852})","payload":{"account_id":"22699852","entity_id":"42603134","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"fe29ec7"}
[2026-09-03 16:12:11] docflow.DEBUG: GAS request {"url":"https://script.google.com/macros/s/AKfycbwrvOJD46zkuoTzdhpc1kulhV8jRfgQBFZfQ121nkIip_k8yKit4xrbWTOzaJ-C-Yed6w/exec","body":{"templateFileId":"1t5qR7ljR1POq9sxQLSVsM-X-P6cqy7PNY1dXWqrVcQ8","accountId":"22699852","folderId":"1Us2AfskxgdA729xVr0F2vjZU9y5PlYDe","key":"~VTsK5dcnHc2cSSsjM$LFSjLlgbmJXwrp3R2P5nd","data":"{\"fileName\":\"\\u0421\\u0447\\u0435\\u0442 \\u043d\\u0430 \\u043e\\u043f\\u043b\\u0430\\u0442\\u0443 AR \\/ DA \\/ LG (EUR\\/USD\\/MDL) 178 20260903161211\",\"leadId\":\"42603134\",\"entities\":{\"\\u0441\\u0434\\u0435\\u043b\\u043a\\u0430\":{\"roistat\":\"2021\",\"Suma \\u20ac\":\"0\",\"#Manager Front\":\"Cezara Cenusa\",\"Urm\\u0103torul contact\":\"2026-09-04 15:01:00\",\"Mod achitare\":\"Transfer firm\\u0103\",\"Suma avans\":\"50\",\"Manager Juridic\":\"Dascal Anatolie\",\"#Manager Jurist\":\"Dascal Anatolie\",\"ID\":\"42603134\",\"\\u0421\\u0434\\u0435\\u043b\\u043a\\u0430_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Sub.md\\/apostila\",\"Lead_name\":\"Sub.md\\/apostila\",\"\\u0411\\u044e\\u0434\\u0436\\u0435\\u0442\":\"50\",\"Budget\":\"50\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"Marina Negruta\",\"Responsible\":\"Marina Negruta\"},\"lead\":{\"roistat\":\"2021\",\"Suma \\u20ac\":\"0\",\"#Manager Front\":\"Cezara Cenusa\",\"Urm\\u0103torul contact\":\"2026-09-04 15:01:00\",\"Mod achitare\":\"Transfer firm\\u0103\",\"Suma avans\":\"50\",\"Manager Juridic\":\"Dascal Anatolie\",\"#Manager Jurist\":\"Dascal Anatolie\",\"ID\":\"42603134\",\"\\u0421\\u0434\\u0435\\u043b\\u043a\\u0430_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Sub.md\\/apostila\",\"Lead_name\":\"Sub.md\\/apostila\",\"\\u0411\\u044e\\u0434\\u0436\\u0435\\u0442\":\"50\",\"Budget\":\"50\",\"\\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\":\"29532312608934\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"+79833177346\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Aleksandr Nasaltsev\",\"Contact_name\":\"Aleksandr Nasaltsev\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"Marina Negruta\",\"Responsible\":\"Marina Negruta\"},\"contact\":{\"WhatsappLid_WZ\":\"29532312608934\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"+79833177346\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Aleksandr Nasaltsev\",\"Contact_name\":\"Aleksandr Nasaltsev\",\"\\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\":\"29532312608934\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"+79833177346\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Aleksandr Nasaltsev\",\"\\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\":\"03.09.2026\",\"\\u041d\\u043e\\u043c\\u0435\\u0440\":\"178\"},\"document\":{\"Date\":\"03.09.2026\",\"Number\":\"178\"}}}","edit":true}} {"uid":"fe29ec7"}
[2026-09-03 16:12:19] docflow.DEBUG: GAS raw response {"raw":"[object] (stdClass: {\"code\":1,\"url\":\"https://docs.google.com/open?id=1vPCi6fHd5pUgkQ68uoWQHttcojsqe5R2tiKwtdiYQFs\",\"file_id\":\"1vPCi6fHd5pUgkQ68uoWQHttcojsqe5R2tiKwtdiYQFs\",\"error\":\"\",\"vars\":\"\"})"} {"uid":"fe29ec7"}
[2026-09-03 16:12:19] docflow.WARNING: AmoDrive generated-file move is not ready. {"fileId":"1vPCi6fHd5pUgkQ68uoWQHttcojsqe5R2tiKwtdiYQFs","context":null} {"uid":"fe29ec7"}
[2026-09-03 16:27:08] docflow.INFO: Apel createDoc {"data":{"amoAccountId":"29548744","amoUserId":null,"amoEntityId":"32475301","amoEntityType":"2","templateId":"11474","corporateEntityId":"","settlementAccountId":"","is_signed":null,"gdi":null,"number":null,"currentAmoUserId":null,"lang":null}} {"uid":"5d0fef3"}
[2026-09-03 16:27:09] docflow.INFO: Token is valid for account 29548744. [] {"uid":"5d0fef3"}
[2026-09-03 16:27:09] docflow.DEBUG: getClientAuth returned {"auth":"[object] (stdClass: {\"domain\":\"schimbatorstudio.amocrm.ru\",\"access_token\":\"eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImp0aSI6IjYyOWZhMjBiNTYyZjRkYjM3NjQ4MDI1MDZlNWQ5N2NiYmViNmEzM2RjZWI2MmUyMTU2YWQwMTliODQyZTc2Zjg0MmRkOWE0YzZkZTYwMzQ5In0.eyJhdWQiOiJlOWY4NTA4NS05YzE2LTQ4YzktODU4YS0wMjliMmM4OWVlNWYiLCJqdGkiOiI2MjlmYTIwYjU2MmY0ZGIzNzY0ODAyNTA2ZTVkOTdjYmJlYjZhMzNkY2ViNjJlMjE1NmFkMDE5Yjg0MmU3NmY4NDJkZDlhNGM2ZGU2MDM0OSIsImlhdCI6MTc1MTM2OTk1MywibmJmIjoxNzUxMzY5OTUzLCJleHAiOjE4ODAxNTA0MDAsInN1YiI6IjcxNjcwMjgiLCJncmFudF90eXBlIjoiIiwiYWNjb3VudF9pZCI6Mjk1NDg3NDQsImJhc2VfZG9tYWluIjoiYW1vY3JtLnJ1IiwidmVyc2lvbiI6Miwic2NvcGVzIjpbImNybSIsImZpbGVzIiwiZmlsZXNfZGVsZXRlIiwibm90aWZpY2F0aW9ucyIsInB1c2hfbm90aWZpY2F0aW9ucyJdLCJoYXNoX3V1aWQiOiI2ZTY1ZDYzMC1hNmRhLTQ2ZmEtYWZlMy0zNTE0NGU5YzU4ZDIiLCJhcGlfZG9tYWluIjoiYXBpLWIuYW1vY3JtLnJ1In0.AAYuEBV80lIrOkUXCBqwd5bwr31EDN780mA9x8LmJlQR0WVsr_nq0ozYRgUDtCEbc4VMejlFae1b1vddi7tJE2AoB2fGLuGtDbvOhG1BXUeNy6yqZHlM8lBZz7v5yBbjr01BmYzD1uAPUJ29T59mWjuIbYOpJ4Ka6FfCWFh47ECJjbhv8xxfQjDZMagFSUyISsJIL2o_zSFG_uUKcaPnSaQLsEJuwxyolHPxtC5I-mm41iRgl6pjNfZCUS8dwUy5twYIizYnZeCUteBwrcrMwD5Ocgv9Irk0X4jYHlnOP5KWdguew7VbRSMkt_IpckRQRFC3a8OIx1FfyqpoFZ_1Qw\"})","file":"/home/ytvmclwh/document.amocrm.md/src/Models/Docs.php","line":121} {"uid":"5d0fef3"}
[2026-09-03 16:27:12] docflow.DEBUG: AmoDrive docflow context request {"url":"https://google.emale.uno/api/docflow/google-context","query":{"account_id":"29548744","entity_id":"32475301","entity_type":"leads"}} {"uid":"5d0fef3"}
[2026-09-03 16:27:12] docflow.WARNING: AmoDrive docflow context request failed {"url":"https://google.emale.uno/api/docflow/google-context","http_code":null,"error":"HTTP/2 400 ","response":"<!DOCTYPE HTML PUBLIC \"-//IETF//DTD HTML 2.0//EN\">\r\n<html>\r\n<head><title>400 Bad Request</title></head>\r\n<body>\r\n<center><h1>400 Bad Request</h1></center>\r\n Sorry for the inconvenience.<br/>\r\nPlease report this message and include the following information to us.<br/>\r\nThank you very much!</p>\r\n<table>\r\n<tr>\r\n<td>URL:</td>\r\n<td>https://gd.glucose-dev.online/api/docflow/google-context?account_id=29548744&amp;entity_id=32475301&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/09/03 16:27:12</td>\r\n</tr>\r\n</table>\r\n<hr><center>tengine</center>\r\n</body>\r\n</html>\r\n"} {"uid":"5d0fef3"}
[2026-09-03 16:27:12] docflow.DEBUG: AmoDrive docflow context request {"url":"https://gd.glucose-dev.online/api/docflow/google-context","query":{"account_id":"29548744","entity_id":"32475301","entity_type":"leads"}} {"uid":"5d0fef3"}
[2026-09-03 16:27:12] docflow.WARNING: AmoDrive docflow context response is not ready, trying next backend. {"url":"https://gd.glucose-dev.online/api/docflow/google-context","payload":{"ok":true,"accountId":29548744,"entityId":"32475301","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":"5d0fef3"}
[2026-09-03 16:27:12] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://google.emale.uno/api/docflow/prepare-generated-doc","payload":{"account_id":"29548744","entity_id":"32475301","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"5d0fef3"}
[2026-09-03 16:27: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/09/03 16:27:13</td>\r\n</tr>\r\n</table>\r\n<hr><center>tengine</center>\r\n</body>\r\n</html>\r\n","payload":{"account_id":"29548744","entity_id":"32475301","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"5d0fef3"}
[2026-09-03 16:27:13] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://gd.glucose-dev.online/api/docflow/prepare-generated-doc","payload":{"account_id":"29548744","entity_id":"32475301","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"5d0fef3"}
[2026-09-03 16:27:13] docflow.WARNING: AmoDrive prepare-generated-doc request failed {"url":"https://gd.glucose-dev.online/api/docflow/prepare-generated-doc","http_code":null,"error":"HTTP/2 404 ","response":"[object] (stdClass: {\"ok\":false,\"error\":\"AmoDrive is not installed for this account.\",\"accountId\":29548744})","payload":{"account_id":"29548744","entity_id":"32475301","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"5d0fef3"}
[2026-09-03 16:27:13] docflow.DEBUG: GAS request {"url":"https://script.google.com/macros/s/AKfycbwrvOJD46zkuoTzdhpc1kulhV8jRfgQBFZfQ121nkIip_k8yKit4xrbWTOzaJ-C-Yed6w/exec","body":{"templateFileId":"17jDTUKY-gXqdflPTdMBtCZdzorIsJxJc3Xnrtjc3VIc","accountId":"29548744","folderId":"1Us2AfskxgdA729xVr0F2vjZU9y5PlYDe","key":"~VTsK5dcnHc2cSSsjM$LFSjLlgbmJXwrp3R2P5nd","data":"{\"fileName\":\"Cont spre plat\\u0103 708 20260903162712\",\"leadId\":\"32475301\",\"entities\":{\"\\u0441\\u0434\\u0435\\u043b\\u043a\\u0430\":{\"Sursa\":\"Client existent\",\"Statut achitare\":\"Neachitat\",\"Mod achitare\":\"Transfer bancar\",\"Tip serviciu\":\"Reportaje fotografice\",\"Data \\u0219edin\\u021bei\":\"26.09.2026\",\"Data livr\\u0103rii lucr\\u0103rilor\":\"02.10.2026\",\"ID\":\"32475301\",\"\\u0421\\u0434\\u0435\\u043b\\u043a\\u0430_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"UNDP Report 26\\/08\\/2026 Lozova, Geam\\u0103n\\u0103\",\"Lead_name\":\"UNDP Report 26\\/08\\/2026 Lozova, Geam\\u0103n\\u0103\",\"\\u0411\\u044e\\u0434\\u0436\\u0435\\u0442\":\"9465\",\"Budget\":\"9465\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"Marina Balan\",\"Responsible\":\"Marina Balan\"},\"lead\":{\"Sursa\":\"Client existent\",\"Statut achitare\":\"Neachitat\",\"Mod achitare\":\"Transfer bancar\",\"Tip serviciu\":\"Reportaje fotografice\",\"Data \\u0219edin\\u021bei\":\"26.09.2026\",\"Data livr\\u0103rii lucr\\u0103rilor\":\"02.10.2026\",\"ID\":\"32475301\",\"\\u0421\\u0434\\u0435\\u043b\\u043a\\u0430_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"UNDP Report 26\\/08\\/2026 Lozova, Geam\\u0103n\\u0103\",\"Lead_name\":\"UNDP Report 26\\/08\\/2026 Lozova, Geam\\u0103n\\u0103\",\"\\u0411\\u044e\\u0434\\u0436\\u0435\\u0442\":\"9465\",\"Budget\":\"9465\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"Marina Balan\",\"Responsible\":\"Marina Balan\"},\"\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442\":{\"Email\":\"laura.bohantova@undp.org\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"0685 11 883\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Laura Bohan\\u021bova\",\"Contact_name\":\"Laura Bohan\\u021bova\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"Marina Balan\",\"Responsible\":\"Marina Balan\"},\"contact\":{\"Email\":\"laura.bohantova@undp.org\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"0685 11 883\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Laura Bohan\\u021bova\",\"Contact_name\":\"Laura Bohan\\u021bova\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"Marina Balan\",\"Responsible\":\"Marina Balan\"},\"\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442\\u044b\":[{\"Email\":\"laura.bohantova@undp.org\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"0685 11 883\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Laura Bohan\\u021bova\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"Marina Balan\"}],\"\\u043a\\u043e\\u043c\\u043f\\u0430\\u043d\\u0438\\u044f\":{\"Cod fiscal\":\"12626016\",\"Banca\":\"JSCB EXIMBANK-Gruppo Veneto Banca Chi\\u0219in\\u0103u, Moldova, Branch 20\",\"Tip Companie\":\"A.O.\",\"\\u0410\\u0434\\u0440\\u0435\\u0441\":\"str. 31 august 1989 nr. 131, Chi\\u0219in\\u0103u, Republica Moldova\",\"Cod Bancar\":\"EXMMMD22477\",\"IBAN\":\"MD24EX0000002251440007MD\",\"TVA\":\"0\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"000\",\"Tip companie\":\"Cump\\u0103r\\u0103tor\",\"\\u041a\\u043e\\u043c\\u043f\\u0430\\u043d\\u0438\\u044f_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"United Nations Development Program (UNDP Moldova\\/ PNUD Moldova)\",\"Company_name\":\"United Nations Development Program (UNDP Moldova\\/ PNUD Moldova)\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"Marina Balan\",\"Responsible\":\"Marina Balan\"},\"company\":{\"Cod fiscal\":\"12626016\",\"Banca\":\"JSCB EXIMBANK-Gruppo Veneto Banca Chi\\u0219in\\u0103u, Moldova, Branch 20\",\"Tip Companie\":\"A.O.\",\"\\u0410\\u0434\\u0440\\u0435\\u0441\":\"str. 31 august 1989 nr. 131, Chi\\u0219in\\u0103u, Republica Moldova\",\"Cod Bancar\":\"EXMMMD22477\",\"IBAN\":\"MD24EX0000002251440007MD\",\"TVA\":\"0\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"000\",\"Tip companie\":\"Cump\\u0103r\\u0103tor\",\"\\u041a\\u043e\\u043c\\u043f\\u0430\\u043d\\u0438\\u044f_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"United Nations Development Program (UNDP Moldova\\/ PNUD Moldova)\",\"Company_name\":\"United Nations Development Program (UNDP Moldova\\/ PNUD Moldova)\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"Marina Balan\",\"Responsible\":\"Marina Balan\"},\"\\u0434\\u043e\\u043a\\u0443\\u043c\\u0435\\u043d\\u0442\":{\"\\u0414\\u0430\\u0442\\u0430\":\"03.09.2026\",\"\\u041d\\u043e\\u043c\\u0435\\u0440\":\"708\"},\"document\":{\"Date\":\"03.09.2026\",\"Number\":\"708\"},\"\\u0444\\u0430\\u043a\\u0442\\u0443\\u0440\\u043d\\u0430\\u044f \\u0447\\u0430\\u0441\\u0442\\u044c\":{\"order\":{\"use_nds\":\"0\",\"items\":[{\"name\":\"Reportaj fotografic 26\\/08\\/2026 la Lozova \\u0219i Geam\\u0103n\\u0103 \",\"count\":\"1\",\"measure\":\"serv\",\"price\":\"7800\",\"discount\":\"0\",\"total_discount\":\"0\",\"total_price\":\"7800.00\"},{\"name\":\"Transport Chi\\u0219in\\u0103u-Lozova-Geamana-Chisinau\",\"count\":\"185\",\"measure\":\"km\",\"price\":\"9\",\"discount\":\"0\",\"total_discount\":\"0\",\"total_price\":\"1665.00\"}],\"total_price\":\"9465.00\",\"total_discount\":\"0.00\",\"total_nds\":\"0.00\"}},\"invoice part\":{\"order\":{\"use_nds\":\"0\",\"items\":[{\"name\":\"Reportaj fotografic 26\\/08\\/2026 la Lozova \\u0219i Geam\\u0103n\\u0103 \",\"count\":\"1\",\"measure\":\"serv\",\"price\":\"7800\",\"discount\":\"0\",\"total_discount\":\"0\",\"total_price\":\"7800.00\"},{\"name\":\"Transport Chi\\u0219in\\u0103u-Lozova-Geamana-Chisinau\",\"count\":\"185\",\"measure\":\"km\",\"price\":\"9\",\"discount\":\"0\",\"total_discount\":\"0\",\"total_price\":\"1665.00\"}],\"total_price\":\"9465.00\",\"total_discount\":\"0.00\",\"total_nds\":\"0.00\"}}}}","edit":true}} {"uid":"5d0fef3"}
[2026-09-03 16:27:21] docflow.DEBUG: GAS raw response {"raw":"[object] (stdClass: {\"code\":1,\"url\":\"https://docs.google.com/open?id=1ek70BrZeFtNLGnJkn4-oR7JVCe07V3fwI1gB00qhJdE\",\"file_id\":\"1ek70BrZeFtNLGnJkn4-oR7JVCe07V3fwI1gB00qhJdE\",\"error\":\"\",\"vars\":\"\"})"} {"uid":"5d0fef3"}
[2026-09-03 16:27:21] docflow.WARNING: AmoDrive generated-file move is not ready. {"fileId":"1ek70BrZeFtNLGnJkn4-oR7JVCe07V3fwI1gB00qhJdE","context":null} {"uid":"5d0fef3"}
[2026-09-03 16:31:24] docflow.INFO: Apel createDoc {"data":{"amoAccountId":"32990686","amoUserId":null,"amoEntityId":"49130867","amoEntityType":"2","templateId":"11621","corporateEntityId":"","settlementAccountId":"","is_signed":null,"gdi":null,"number":null,"currentAmoUserId":null,"lang":"ru"}} {"uid":"0f9f683"}
[2026-09-03 16:31:24] docflow.INFO: Token is valid for account 32990686. [] {"uid":"0f9f683"}
[2026-09-03 16:31:24] docflow.DEBUG: getClientAuth returned {"auth":"[object] (stdClass: {\"domain\":\"eurosanteh.amocrm.ru\",\"access_token\":\"eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImp0aSI6IjMxYjNkMGQ2NTQyYmYzOGIyMmExNWY0ZTU0NzkwYmU0MTEzZjEyZmQ5NDc2MmI5ODJjYTc2NTZkNjgyN2U4MmUxMmQwYjRmOWY0ZDBlOGIxIn0.eyJhdWQiOiIwZDY0ZGZmYi1lNTRiLTQ0OGYtOWZiZi1iYWYyMjUxYTExZGIiLCJqdGkiOiIzMWIzZDBkNjU0MmJmMzhiMjJhMTVmNGU1NDc5MGJlNDExM2YxMmZkOTQ3NjJiOTgyY2E3NjU2ZDY4MjdlODJlMTJkMGI0ZjlmNGQwZThiMSIsImlhdCI6MTc4ODQzNjg4MSwibmJmIjoxNzg4NDM2ODgxLCJleHAiOjE3ODg1MjMyODEsInN1YiI6IjEzNjg3MzAyIiwiZ3JhbnRfdHlwZSI6IiIsImFjY291bnRfaWQiOjMyOTkwNjg2LCJiYXNlX2RvbWFpbiI6ImFtb2NybS5ydSIsInZlcnNpb24iOjIsInNjb3BlcyI6WyJwdXNoX25vdGlmaWNhdGlvbnMiLCJjcm0iLCJub3RpZmljYXRpb25zIl0sImhhc2hfdXVpZCI6IjE1NDU2ODFmLWRlOTktNDVhYS04OWQxLWE0NzRlZTE3MDc1NSIsImFwaV9kb21haW4iOiJhcGktYi5hbW9jcm0ucnUifQ.Nq7VbAHPw4_Vz1yk1Jp0Jznk3ZUB2O0x2gM51y01kw5AQ937poKjIuqIc8wlWqgGwq8YHTea6_XHkqlczecLVhsbQl79-j7UCRiTpKN9NnGR6pe6av1odvO4Xs6ORIPgfncfhkgVNPwjovmAJatx7v-tvIW3AWqPG92zCms8cVeWBPCAMWmCPwnxxnQFHNBs1avhpWJSc7dd93WuXvPjK8ThuZijUAyqrSqByOc2lj5H1D15tQpdQItlMQqT40UIfn8QpLk5TOlFdJp7JkNlhjeKTVkW1Zj5zaBC1ldCLHknugquc1i-o895SZt25u1cyjXAEYKvmQO4LWzBMjzhSw\"})","file":"/home/ytvmclwh/document.amocrm.md/src/Models/Docs.php","line":121} {"uid":"0f9f683"}
[2026-09-03 16:31:27] docflow.DEBUG: AmoDrive docflow context request {"url":"https://google.emale.uno/api/docflow/google-context","query":{"account_id":"32990686","entity_id":"49130867","entity_type":"leads"}} {"uid":"0f9f683"}
[2026-09-03 16:31:27] docflow.WARNING: AmoDrive docflow context request failed {"url":"https://google.emale.uno/api/docflow/google-context","http_code":null,"error":"HTTP/2 400 ","response":"<!DOCTYPE HTML PUBLIC \"-//IETF//DTD HTML 2.0//EN\">\r\n<html>\r\n<head><title>400 Bad Request</title></head>\r\n<body>\r\n<center><h1>400 Bad Request</h1></center>\r\n Sorry for the inconvenience.<br/>\r\nPlease report this message and include the following information to us.<br/>\r\nThank you very much!</p>\r\n<table>\r\n<tr>\r\n<td>URL:</td>\r\n<td>https://gd.glucose-dev.online/api/docflow/google-context?account_id=32990686&amp;entity_id=49130867&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/09/03 16:31:27</td>\r\n</tr>\r\n</table>\r\n<hr><center>tengine</center>\r\n</body>\r\n</html>\r\n"} {"uid":"0f9f683"}
[2026-09-03 16:31:27] docflow.DEBUG: AmoDrive docflow context request {"url":"https://gd.glucose-dev.online/api/docflow/google-context","query":{"account_id":"32990686","entity_id":"49130867","entity_type":"leads"}} {"uid":"0f9f683"}
[2026-09-03 16:31: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":"49130867","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":"0f9f683"}
[2026-09-03 16:31:27] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://google.emale.uno/api/docflow/prepare-generated-doc","payload":{"account_id":"32990686","entity_id":"49130867","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"0f9f683"}
[2026-09-03 16:31:27] docflow.WARNING: AmoDrive prepare-generated-doc request failed {"url":"https://google.emale.uno/api/docflow/prepare-generated-doc","http_code":null,"error":"HTTP/2 400 ","response":"<!DOCTYPE HTML PUBLIC \"-//IETF//DTD HTML 2.0//EN\">\r\n<html>\r\n<head><title>400 Bad Request</title></head>\r\n<body>\r\n<center><h1>400 Bad Request</h1></center>\r\n Sorry for the inconvenience.<br/>\r\nPlease report this message and include the following information to us.<br/>\r\nThank you very much!</p>\r\n<table>\r\n<tr>\r\n<td>URL:</td>\r\n<td>https://gd.glucose-dev.online/api/docflow/prepare-generated-doc</td>\r\n</tr>\r\n<tr>\r\n<td>Server:</td>\r\n<td>mail.glucose-dev.online</td>\r\n</tr>\r\n<tr>\r\n<td>Date:</td>\r\n<td>2026/09/03 16:31: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":"49130867","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"0f9f683"}
[2026-09-03 16:31:27] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://gd.glucose-dev.online/api/docflow/prepare-generated-doc","payload":{"account_id":"32990686","entity_id":"49130867","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"0f9f683"}
[2026-09-03 16:31:27] docflow.WARNING: AmoDrive prepare-generated-doc request failed {"url":"https://gd.glucose-dev.online/api/docflow/prepare-generated-doc","http_code":null,"error":"HTTP/2 404 ","response":"[object] (stdClass: {\"ok\":false,\"error\":\"AmoDrive is not installed for this account.\",\"accountId\":32990686})","payload":{"account_id":"32990686","entity_id":"49130867","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"0f9f683"}
[2026-09-03 16:31:27] docflow.DEBUG: GAS request {"url":"https://script.google.com/macros/s/AKfycbwrvOJD46zkuoTzdhpc1kulhV8jRfgQBFZfQ121nkIip_k8yKit4xrbWTOzaJ-C-Yed6w/exec","body":{"templateFileId":"1b97Jhg4uV7sj9SAQbadp1ZcoOpVU7tk8FlKiYi3Wd88","accountId":"32990686","folderId":"1Us2AfskxgdA729xVr0F2vjZU9y5PlYDe","key":"~VTsK5dcnHc2cSSsjM$LFSjLlgbmJXwrp3R2P5nd","data":"{\"fileName\":\"Edenvor \\u041d\\u0430\\u0440\\u044f\\u0434 \\u043d\\u0430 \\u0432\\u044b\\u043f\\u043e\\u043b\\u043d\\u0435\\u043d\\u0438\\u0435 \\u0440\\u0430\\u0431\\u043e\\u0442 148 20260903163127\",\"leadId\":\"49130867\",\"entities\":{\"\\u0441\\u0434\\u0435\\u043b\\u043a\\u0430\":{\"ID\":\"49130867\",\"\\u0421\\u0434\\u0435\\u043b\\u043a\\u0430_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"\\u0421\\u0434\\u0435\\u043b\\u043a\\u0430 37368777446\",\"Lead_name\":\"\\u0421\\u0434\\u0435\\u043b\\u043a\\u0430 37368777446\",\"\\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\":\"49130867\",\"\\u0421\\u0434\\u0435\\u043b\\u043a\\u0430_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"\\u0421\\u0434\\u0435\\u043b\\u043a\\u0430 37368777446\",\"Lead_name\":\"\\u0421\\u0434\\u0435\\u043b\\u043a\\u0430 37368777446\",\"\\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\":\"37368777446\",\"\\u0418\\u043c\\u044f \\u043a\\u043b\\u0438\\u0435\\u043d\\u0442\\u0430 (\\u0421\\u041c\\u0421)\":\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442 37368777446\",\"\\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 37368777446\",\"Contact_name\":\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442 37368777446\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"\\u0410\\u0441\\u0442\\u0430\\u043f\\u0435\\u043d\\u043a\\u043e\\u0432\\u0430 \\u042e\\u043b\\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\":\"37368777446\",\"\\u0418\\u043c\\u044f \\u043a\\u043b\\u0438\\u0435\\u043d\\u0442\\u0430 (\\u0421\\u041c\\u0421)\":\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442 37368777446\",\"\\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 37368777446\",\"Contact_name\":\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442 37368777446\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"\\u0410\\u0441\\u0442\\u0430\\u043f\\u0435\\u043d\\u043a\\u043e\\u0432\\u0430 \\u042e\\u043b\\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\":\"37368777446\",\"\\u0418\\u043c\\u044f \\u043a\\u043b\\u0438\\u0435\\u043d\\u0442\\u0430 (\\u0421\\u041c\\u0421)\":\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442 37368777446\",\"\\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 37368777446\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\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\":\"03.09.2026\",\"\\u041d\\u043e\\u043c\\u0435\\u0440\":\"148\"},\"document\":{\"Date\":\"03.09.2026\",\"Number\":\"148\"}}}","edit":true}} {"uid":"0f9f683"}
[2026-09-03 16:31:39] docflow.DEBUG: GAS raw response {"raw":"[object] (stdClass: {\"code\":1,\"url\":\"https://docs.google.com/open?id=1kZMJtlu1hHSrZfJCv3WDTdIs1NYncuLos6prCGl1hio\",\"file_id\":\"1kZMJtlu1hHSrZfJCv3WDTdIs1NYncuLos6prCGl1hio\",\"error\":\"\",\"vars\":\"\"})"} {"uid":"0f9f683"}
[2026-09-03 16:31:39] docflow.WARNING: AmoDrive generated-file move is not ready. {"fileId":"1kZMJtlu1hHSrZfJCv3WDTdIs1NYncuLos6prCGl1hio","context":null} {"uid":"0f9f683"}
[2026-09-03 16:36:51] docflow.INFO: Apel createDoc {"data":{"amoAccountId":"32990686","amoUserId":null,"amoEntityId":"40277509","amoEntityType":"2","templateId":"11625","corporateEntityId":"","settlementAccountId":"","is_signed":null,"gdi":null,"number":null,"currentAmoUserId":null,"lang":"ru"}} {"uid":"29bfa96"}
[2026-09-03 16:36:51] docflow.INFO: Token is valid for account 32990686. [] {"uid":"29bfa96"}
[2026-09-03 16:36:51] docflow.DEBUG: getClientAuth returned {"auth":"[object] (stdClass: {\"domain\":\"eurosanteh.amocrm.ru\",\"access_token\":\"eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImp0aSI6IjMxYjNkMGQ2NTQyYmYzOGIyMmExNWY0ZTU0NzkwYmU0MTEzZjEyZmQ5NDc2MmI5ODJjYTc2NTZkNjgyN2U4MmUxMmQwYjRmOWY0ZDBlOGIxIn0.eyJhdWQiOiIwZDY0ZGZmYi1lNTRiLTQ0OGYtOWZiZi1iYWYyMjUxYTExZGIiLCJqdGkiOiIzMWIzZDBkNjU0MmJmMzhiMjJhMTVmNGU1NDc5MGJlNDExM2YxMmZkOTQ3NjJiOTgyY2E3NjU2ZDY4MjdlODJlMTJkMGI0ZjlmNGQwZThiMSIsImlhdCI6MTc4ODQzNjg4MSwibmJmIjoxNzg4NDM2ODgxLCJleHAiOjE3ODg1MjMyODEsInN1YiI6IjEzNjg3MzAyIiwiZ3JhbnRfdHlwZSI6IiIsImFjY291bnRfaWQiOjMyOTkwNjg2LCJiYXNlX2RvbWFpbiI6ImFtb2NybS5ydSIsInZlcnNpb24iOjIsInNjb3BlcyI6WyJwdXNoX25vdGlmaWNhdGlvbnMiLCJjcm0iLCJub3RpZmljYXRpb25zIl0sImhhc2hfdXVpZCI6IjE1NDU2ODFmLWRlOTktNDVhYS04OWQxLWE0NzRlZTE3MDc1NSIsImFwaV9kb21haW4iOiJhcGktYi5hbW9jcm0ucnUifQ.Nq7VbAHPw4_Vz1yk1Jp0Jznk3ZUB2O0x2gM51y01kw5AQ937poKjIuqIc8wlWqgGwq8YHTea6_XHkqlczecLVhsbQl79-j7UCRiTpKN9NnGR6pe6av1odvO4Xs6ORIPgfncfhkgVNPwjovmAJatx7v-tvIW3AWqPG92zCms8cVeWBPCAMWmCPwnxxnQFHNBs1avhpWJSc7dd93WuXvPjK8ThuZijUAyqrSqByOc2lj5H1D15tQpdQItlMQqT40UIfn8QpLk5TOlFdJp7JkNlhjeKTVkW1Zj5zaBC1ldCLHknugquc1i-o895SZt25u1cyjXAEYKvmQO4LWzBMjzhSw\"})","file":"/home/ytvmclwh/document.amocrm.md/src/Models/Docs.php","line":121} {"uid":"29bfa96"}
[2026-09-03 16:36:53] docflow.DEBUG: AmoDrive docflow context request {"url":"https://google.emale.uno/api/docflow/google-context","query":{"account_id":"32990686","entity_id":"40277509","entity_type":"leads"}} {"uid":"29bfa96"}
[2026-09-03 16:36:53] docflow.WARNING: AmoDrive docflow context request failed {"url":"https://google.emale.uno/api/docflow/google-context","http_code":null,"error":"HTTP/2 400 ","response":"<!DOCTYPE HTML PUBLIC \"-//IETF//DTD HTML 2.0//EN\">\r\n<html>\r\n<head><title>400 Bad Request</title></head>\r\n<body>\r\n<center><h1>400 Bad Request</h1></center>\r\n Sorry for the inconvenience.<br/>\r\nPlease report this message and include the following information to us.<br/>\r\nThank you very much!</p>\r\n<table>\r\n<tr>\r\n<td>URL:</td>\r\n<td>https://gd.glucose-dev.online/api/docflow/google-context?account_id=32990686&amp;entity_id=40277509&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/09/03 16:36:53</td>\r\n</tr>\r\n</table>\r\n<hr><center>tengine</center>\r\n</body>\r\n</html>\r\n"} {"uid":"29bfa96"}
[2026-09-03 16:36:53] docflow.DEBUG: AmoDrive docflow context request {"url":"https://gd.glucose-dev.online/api/docflow/google-context","query":{"account_id":"32990686","entity_id":"40277509","entity_type":"leads"}} {"uid":"29bfa96"}
[2026-09-03 16:36:54] docflow.WARNING: AmoDrive docflow context response is not ready, trying next backend. {"url":"https://gd.glucose-dev.online/api/docflow/google-context","payload":{"ok":true,"accountId":32990686,"entityId":"40277509","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":"29bfa96"}
[2026-09-03 16:36:54] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://google.emale.uno/api/docflow/prepare-generated-doc","payload":{"account_id":"32990686","entity_id":"40277509","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"29bfa96"}
[2026-09-03 16:36:54] docflow.WARNING: AmoDrive prepare-generated-doc request failed {"url":"https://google.emale.uno/api/docflow/prepare-generated-doc","http_code":null,"error":"HTTP/2 400 ","response":"<!DOCTYPE HTML PUBLIC \"-//IETF//DTD HTML 2.0//EN\">\r\n<html>\r\n<head><title>400 Bad Request</title></head>\r\n<body>\r\n<center><h1>400 Bad Request</h1></center>\r\n Sorry for the inconvenience.<br/>\r\nPlease report this message and include the following information to us.<br/>\r\nThank you very much!</p>\r\n<table>\r\n<tr>\r\n<td>URL:</td>\r\n<td>https://gd.glucose-dev.online/api/docflow/prepare-generated-doc</td>\r\n</tr>\r\n<tr>\r\n<td>Server:</td>\r\n<td>mail.glucose-dev.online</td>\r\n</tr>\r\n<tr>\r\n<td>Date:</td>\r\n<td>2026/09/03 16:36:54</td>\r\n</tr>\r\n</table>\r\n<hr><center>tengine</center>\r\n</body>\r\n</html>\r\n","payload":{"account_id":"32990686","entity_id":"40277509","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"29bfa96"}
[2026-09-03 16:36:54] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://gd.glucose-dev.online/api/docflow/prepare-generated-doc","payload":{"account_id":"32990686","entity_id":"40277509","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"29bfa96"}
[2026-09-03 16:36:54] docflow.WARNING: AmoDrive prepare-generated-doc request failed {"url":"https://gd.glucose-dev.online/api/docflow/prepare-generated-doc","http_code":null,"error":"HTTP/2 404 ","response":"[object] (stdClass: {\"ok\":false,\"error\":\"AmoDrive is not installed for this account.\",\"accountId\":32990686})","payload":{"account_id":"32990686","entity_id":"40277509","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"29bfa96"}
[2026-09-03 16:36:54] 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 1051 20260903163653\",\"leadId\":\"40277509\",\"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\":\"27.05.2026\",\"\\u0414\\u0430\\u0442\\u0430 \\u043c\\u043e\\u043d\\u0442\\u0430\\u0436\\u0430 (\\u0411\\u0414)\":\"27.05.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\\u0430\\u043d\\u043e\\u0432\\u043a\\u0430 \\u043a\\u043e\\u043d\\u0434\\u0438\\u0446\\u0438\\u043e\\u043d\\u0435\\u0440\\u0430\",\"\\u0424\\u0418\\u041e \\u043c\\u043e\\u043d\\u0442\\u0430\\u0436\\u043d\\u0438\\u043a\\u0430 (\\u0411\\u0414)\":\"\\u041c\\u0438\\u0440\\u043e\\u043d \\u0420.\",\"\\u0414\\u0435\\u043d\\u044c \\u043d\\u0435\\u0434\\u0435\\u043b\\u0438\":\"\\u0427\\u0435\\u0442\\u0432\\u0435\\u0440\\u0433\",\"\\u0414\\u0430\\u0442\\u0430 \\u0438 \\u0432\\u0440\\u0435\\u043c\\u044f \\u0432\\u0438\\u0437\\u0438\\u0442\\u0430\":\"2026-09-04 16:35:00\",\"\\u0414\\u0430\\u0442\\u0430 \\u0432\\u0438\\u0437\\u0438\\u0442\\u0430\":\"04.09.2026\",\"\\u0426\\u0435\\u043b\\u044c \\u0432\\u044b\\u0435\\u0437\\u0434\\u0430\":\"\\u041f\\u0440\\u043e\\u0444\\u0438\\u043b\\u0430\\u043a\\u0442\\u0438\\u043a\\u0430 \\u043f\\u043e \\u0433\\u0430\\u0440\\u0430\\u043d\\u0442\\u0438\\u0438\",\"\\u0412\\u0438\\u0434 \\u0432\\u044b\\u043f\\u043e\\u043b\\u043d\\u0435\\u043d\\u043d\\u044b\\u0445 \\u0440\\u0430\\u0431\\u043e\\u0442\":\"\\u041f\\u0440\\u043e\\u0444\\u0438\\u043b\\u0430\\u043a\\u0442\\u0438\\u043a\\u0430 \\u0441\\u043f\\u043b\\u0438\\u0442-\\u0441\\u0438\\u0441\\u0442\\u0435\\u043c \\u0432\\u0441\\u0435\\u0445 \\u043c\\u043e\\u0449\\u043d\\u043e\\u0441\\u0442\\u0435\\u0439 (\\u043e\\u0447\\u0438\\u0441\\u0442\\u043a\\u0430, \\u043f\\u0440\\u043e\\u0432\\u0435\\u0440\\u043a\\u0430 \\u0440\\u0430\\u0431\\u043e\\u0442\\u044b)\",\"\\u041c\\u043e\\u0434\\u0435\\u043b\\u044c \\u043e\\u0431\\u043e\\u0440\\u0443\\u0434\\u043e\\u0432\\u0430\\u043d\\u0438\\u044f 1\":\"Haier revive 35\",\"ID\":\"40277509\",\"\\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\":\"27.05.2026\",\"\\u0414\\u0430\\u0442\\u0430 \\u043c\\u043e\\u043d\\u0442\\u0430\\u0436\\u0430 (\\u0411\\u0414)\":\"27.05.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\\u0430\\u043d\\u043e\\u0432\\u043a\\u0430 \\u043a\\u043e\\u043d\\u0434\\u0438\\u0446\\u0438\\u043e\\u043d\\u0435\\u0440\\u0430\",\"\\u0424\\u0418\\u041e \\u043c\\u043e\\u043d\\u0442\\u0430\\u0436\\u043d\\u0438\\u043a\\u0430 (\\u0411\\u0414)\":\"\\u041c\\u0438\\u0440\\u043e\\u043d \\u0420.\",\"\\u0414\\u0435\\u043d\\u044c \\u043d\\u0435\\u0434\\u0435\\u043b\\u0438\":\"\\u0427\\u0435\\u0442\\u0432\\u0435\\u0440\\u0433\",\"\\u0414\\u0430\\u0442\\u0430 \\u0438 \\u0432\\u0440\\u0435\\u043c\\u044f \\u0432\\u0438\\u0437\\u0438\\u0442\\u0430\":\"2026-09-04 16:35:00\",\"\\u0414\\u0430\\u0442\\u0430 \\u0432\\u0438\\u0437\\u0438\\u0442\\u0430\":\"04.09.2026\",\"\\u0426\\u0435\\u043b\\u044c \\u0432\\u044b\\u0435\\u0437\\u0434\\u0430\":\"\\u041f\\u0440\\u043e\\u0444\\u0438\\u043b\\u0430\\u043a\\u0442\\u0438\\u043a\\u0430 \\u043f\\u043e \\u0433\\u0430\\u0440\\u0430\\u043d\\u0442\\u0438\\u0438\",\"\\u0412\\u0438\\u0434 \\u0432\\u044b\\u043f\\u043e\\u043b\\u043d\\u0435\\u043d\\u043d\\u044b\\u0445 \\u0440\\u0430\\u0431\\u043e\\u0442\":\"\\u041f\\u0440\\u043e\\u0444\\u0438\\u043b\\u0430\\u043a\\u0442\\u0438\\u043a\\u0430 \\u0441\\u043f\\u043b\\u0438\\u0442-\\u0441\\u0438\\u0441\\u0442\\u0435\\u043c \\u0432\\u0441\\u0435\\u0445 \\u043c\\u043e\\u0449\\u043d\\u043e\\u0441\\u0442\\u0435\\u0439 (\\u043e\\u0447\\u0438\\u0441\\u0442\\u043a\\u0430, \\u043f\\u0440\\u043e\\u0432\\u0435\\u0440\\u043a\\u0430 \\u0440\\u0430\\u0431\\u043e\\u0442\\u044b)\",\"\\u041c\\u043e\\u0434\\u0435\\u043b\\u044c \\u043e\\u0431\\u043e\\u0440\\u0443\\u0434\\u043e\\u0432\\u0430\\u043d\\u0438\\u044f 1\":\"Haier revive 35\",\"ID\":\"40277509\",\"\\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\":\"200004030321\",\"\\u0410\\u0434\\u0440\\u0435\\u0441\":\"str.Zelinski 5\\/8 ap44\",\"\\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)\":\"C2337\",\"\\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\",\"\\u0418\\u043c\\u044f \\u043a\\u043b\\u0438\\u0435\\u043d\\u0442\\u0430 (\\u0421\\u041c\\u0421)\":\"Maria\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"37376054673\",\"\\u0422\\u0438\\u043f \\u043a\\u043b\\u0438\\u0435\\u043d\\u0442\\u0430\":\"\\u0424\\u0438\\u0437.\\u043b\\u0438\\u0446\",\"\\u0420\\u0430\\u0439\\u043e\\u043d\":\"\\u0411\\u043e\\u0442\\u0430\\u043d\\u0438\\u043a\\u0430\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Maria Ciuciuleanu\",\"Contact_name\":\"Maria Ciuciuleanu\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"\\u0410\\u0441\\u0442\\u0430\\u043f\\u0435\\u043d\\u043a\\u043e\\u0432\\u0430 \\u042e\\u043b\\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\":\"200004030321\",\"\\u0410\\u0434\\u0440\\u0435\\u0441\":\"str.Zelinski 5\\/8 ap44\",\"\\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)\":\"C2337\",\"\\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\",\"\\u0418\\u043c\\u044f \\u043a\\u043b\\u0438\\u0435\\u043d\\u0442\\u0430 (\\u0421\\u041c\\u0421)\":\"Maria\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"37376054673\",\"\\u0422\\u0438\\u043f \\u043a\\u043b\\u0438\\u0435\\u043d\\u0442\\u0430\":\"\\u0424\\u0438\\u0437.\\u043b\\u0438\\u0446\",\"\\u0420\\u0430\\u0439\\u043e\\u043d\":\"\\u0411\\u043e\\u0442\\u0430\\u043d\\u0438\\u043a\\u0430\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Maria Ciuciuleanu\",\"Contact_name\":\"Maria Ciuciuleanu\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"\\u0410\\u0441\\u0442\\u0430\\u043f\\u0435\\u043d\\u043a\\u043e\\u0432\\u0430 \\u042e\\u043b\\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\":\"200004030321\",\"\\u0410\\u0434\\u0440\\u0435\\u0441\":\"str.Zelinski 5\\/8 ap44\",\"\\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)\":\"C2337\",\"\\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\",\"\\u0418\\u043c\\u044f \\u043a\\u043b\\u0438\\u0435\\u043d\\u0442\\u0430 (\\u0421\\u041c\\u0421)\":\"Maria\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"37376054673\",\"\\u0422\\u0438\\u043f \\u043a\\u043b\\u0438\\u0435\\u043d\\u0442\\u0430\":\"\\u0424\\u0438\\u0437.\\u043b\\u0438\\u0446\",\"\\u0420\\u0430\\u0439\\u043e\\u043d\":\"\\u0411\\u043e\\u0442\\u0430\\u043d\\u0438\\u043a\\u0430\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Maria Ciuciuleanu\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\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\":\"03.09.2026\",\"\\u041d\\u043e\\u043c\\u0435\\u0440\":\"1051\"},\"document\":{\"Date\":\"03.09.2026\",\"Number\":\"1051\"}}}","edit":true}} {"uid":"29bfa96"}
[2026-09-03 16:37:02] docflow.DEBUG: GAS raw response {"raw":"[object] (stdClass: {\"code\":1,\"url\":\"https://docs.google.com/open?id=1r8ooM58WsQWZTW1B2qNBjgrNUbkjoaKbn8NrD_9it9U\",\"file_id\":\"1r8ooM58WsQWZTW1B2qNBjgrNUbkjoaKbn8NrD_9it9U\",\"error\":\"\",\"vars\":\"\"})"} {"uid":"29bfa96"}
[2026-09-03 16:37:02] docflow.WARNING: AmoDrive generated-file move is not ready. {"fileId":"1r8ooM58WsQWZTW1B2qNBjgrNUbkjoaKbn8NrD_9it9U","context":null} {"uid":"29bfa96"}
[2026-09-03 16:37:43] docflow.INFO: Apel createDoc {"data":{"amoAccountId":"32990686","amoUserId":null,"amoEntityId":"40277509","amoEntityType":"2","templateId":"11646","corporateEntityId":"","settlementAccountId":"","is_signed":null,"gdi":null,"number":null,"currentAmoUserId":null,"lang":"ru"}} {"uid":"a5bf6b6"}
[2026-09-03 16:37:43] docflow.INFO: Token is valid for account 32990686. [] {"uid":"a5bf6b6"}
[2026-09-03 16:37:43] docflow.DEBUG: getClientAuth returned {"auth":"[object] (stdClass: {\"domain\":\"eurosanteh.amocrm.ru\",\"access_token\":\"eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImp0aSI6IjMxYjNkMGQ2NTQyYmYzOGIyMmExNWY0ZTU0NzkwYmU0MTEzZjEyZmQ5NDc2MmI5ODJjYTc2NTZkNjgyN2U4MmUxMmQwYjRmOWY0ZDBlOGIxIn0.eyJhdWQiOiIwZDY0ZGZmYi1lNTRiLTQ0OGYtOWZiZi1iYWYyMjUxYTExZGIiLCJqdGkiOiIzMWIzZDBkNjU0MmJmMzhiMjJhMTVmNGU1NDc5MGJlNDExM2YxMmZkOTQ3NjJiOTgyY2E3NjU2ZDY4MjdlODJlMTJkMGI0ZjlmNGQwZThiMSIsImlhdCI6MTc4ODQzNjg4MSwibmJmIjoxNzg4NDM2ODgxLCJleHAiOjE3ODg1MjMyODEsInN1YiI6IjEzNjg3MzAyIiwiZ3JhbnRfdHlwZSI6IiIsImFjY291bnRfaWQiOjMyOTkwNjg2LCJiYXNlX2RvbWFpbiI6ImFtb2NybS5ydSIsInZlcnNpb24iOjIsInNjb3BlcyI6WyJwdXNoX25vdGlmaWNhdGlvbnMiLCJjcm0iLCJub3RpZmljYXRpb25zIl0sImhhc2hfdXVpZCI6IjE1NDU2ODFmLWRlOTktNDVhYS04OWQxLWE0NzRlZTE3MDc1NSIsImFwaV9kb21haW4iOiJhcGktYi5hbW9jcm0ucnUifQ.Nq7VbAHPw4_Vz1yk1Jp0Jznk3ZUB2O0x2gM51y01kw5AQ937poKjIuqIc8wlWqgGwq8YHTea6_XHkqlczecLVhsbQl79-j7UCRiTpKN9NnGR6pe6av1odvO4Xs6ORIPgfncfhkgVNPwjovmAJatx7v-tvIW3AWqPG92zCms8cVeWBPCAMWmCPwnxxnQFHNBs1avhpWJSc7dd93WuXvPjK8ThuZijUAyqrSqByOc2lj5H1D15tQpdQItlMQqT40UIfn8QpLk5TOlFdJp7JkNlhjeKTVkW1Zj5zaBC1ldCLHknugquc1i-o895SZt25u1cyjXAEYKvmQO4LWzBMjzhSw\"})","file":"/home/ytvmclwh/document.amocrm.md/src/Models/Docs.php","line":121} {"uid":"a5bf6b6"}
[2026-09-03 16:37:45] docflow.DEBUG: AmoDrive docflow context request {"url":"https://google.emale.uno/api/docflow/google-context","query":{"account_id":"32990686","entity_id":"40277509","entity_type":"leads"}} {"uid":"a5bf6b6"}
[2026-09-03 16:37:45] docflow.WARNING: AmoDrive docflow context request failed {"url":"https://google.emale.uno/api/docflow/google-context","http_code":null,"error":"HTTP/2 400 ","response":"<!DOCTYPE HTML PUBLIC \"-//IETF//DTD HTML 2.0//EN\">\r\n<html>\r\n<head><title>400 Bad Request</title></head>\r\n<body>\r\n<center><h1>400 Bad Request</h1></center>\r\n Sorry for the inconvenience.<br/>\r\nPlease report this message and include the following information to us.<br/>\r\nThank you very much!</p>\r\n<table>\r\n<tr>\r\n<td>URL:</td>\r\n<td>https://gd.glucose-dev.online/api/docflow/google-context?account_id=32990686&amp;entity_id=40277509&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/09/03 16:37:45</td>\r\n</tr>\r\n</table>\r\n<hr><center>tengine</center>\r\n</body>\r\n</html>\r\n"} {"uid":"a5bf6b6"}
[2026-09-03 16:37:45] docflow.DEBUG: AmoDrive docflow context request {"url":"https://gd.glucose-dev.online/api/docflow/google-context","query":{"account_id":"32990686","entity_id":"40277509","entity_type":"leads"}} {"uid":"a5bf6b6"}
[2026-09-03 16:37:45] docflow.WARNING: AmoDrive docflow context response is not ready, trying next backend. {"url":"https://gd.glucose-dev.online/api/docflow/google-context","payload":{"ok":true,"accountId":32990686,"entityId":"40277509","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":"a5bf6b6"}
[2026-09-03 16:37:45] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://google.emale.uno/api/docflow/prepare-generated-doc","payload":{"account_id":"32990686","entity_id":"40277509","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"a5bf6b6"}
[2026-09-03 16:37:45] docflow.WARNING: AmoDrive prepare-generated-doc request failed {"url":"https://google.emale.uno/api/docflow/prepare-generated-doc","http_code":null,"error":"HTTP/2 400 ","response":"<!DOCTYPE HTML PUBLIC \"-//IETF//DTD HTML 2.0//EN\">\r\n<html>\r\n<head><title>400 Bad Request</title></head>\r\n<body>\r\n<center><h1>400 Bad Request</h1></center>\r\n Sorry for the inconvenience.<br/>\r\nPlease report this message and include the following information to us.<br/>\r\nThank you very much!</p>\r\n<table>\r\n<tr>\r\n<td>URL:</td>\r\n<td>https://gd.glucose-dev.online/api/docflow/prepare-generated-doc</td>\r\n</tr>\r\n<tr>\r\n<td>Server:</td>\r\n<td>mail.glucose-dev.online</td>\r\n</tr>\r\n<tr>\r\n<td>Date:</td>\r\n<td>2026/09/03 16:37:45</td>\r\n</tr>\r\n</table>\r\n<hr><center>tengine</center>\r\n</body>\r\n</html>\r\n","payload":{"account_id":"32990686","entity_id":"40277509","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"a5bf6b6"}
[2026-09-03 16:37: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":"40277509","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"a5bf6b6"}
[2026-09-03 16:37:46] docflow.WARNING: AmoDrive prepare-generated-doc request failed {"url":"https://gd.glucose-dev.online/api/docflow/prepare-generated-doc","http_code":null,"error":"HTTP/2 404 ","response":"[object] (stdClass: {\"ok\":false,\"error\":\"AmoDrive is not installed for this account.\",\"accountId\":32990686})","payload":{"account_id":"32990686","entity_id":"40277509","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"a5bf6b6"}
[2026-09-03 16:37:46] docflow.DEBUG: GAS request {"url":"https://script.google.com/macros/s/AKfycbwrvOJD46zkuoTzdhpc1kulhV8jRfgQBFZfQ121nkIip_k8yKit4xrbWTOzaJ-C-Yed6w/exec","body":{"templateFileId":"1ISSW7q2any2Qldkh8ZtwiERwaib6ci11XCezBMQIcRU","accountId":"32990686","folderId":"1Us2AfskxgdA729xVr0F2vjZU9y5PlYDe","key":"~VTsK5dcnHc2cSSsjM$LFSjLlgbmJXwrp3R2P5nd","data":"{\"fileName\":\"Act primire predare new All for All 1050 20260903163745\",\"leadId\":\"40277509\",\"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\":\"27.05.2026\",\"\\u0414\\u0430\\u0442\\u0430 \\u043c\\u043e\\u043d\\u0442\\u0430\\u0436\\u0430 (\\u0411\\u0414)\":\"27.05.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\\u0430\\u043d\\u043e\\u0432\\u043a\\u0430 \\u043a\\u043e\\u043d\\u0434\\u0438\\u0446\\u0438\\u043e\\u043d\\u0435\\u0440\\u0430\",\"\\u0424\\u0418\\u041e \\u043c\\u043e\\u043d\\u0442\\u0430\\u0436\\u043d\\u0438\\u043a\\u0430 (\\u0411\\u0414)\":\"\\u041c\\u0438\\u0440\\u043e\\u043d \\u0420.\",\"\\u0414\\u0435\\u043d\\u044c \\u043d\\u0435\\u0434\\u0435\\u043b\\u0438\":\"\\u0427\\u0435\\u0442\\u0432\\u0435\\u0440\\u0433\",\"\\u0414\\u0430\\u0442\\u0430 \\u0438 \\u0432\\u0440\\u0435\\u043c\\u044f \\u0432\\u0438\\u0437\\u0438\\u0442\\u0430\":\"2026-09-04 16:35:00\",\"\\u0414\\u0430\\u0442\\u0430 \\u0432\\u0438\\u0437\\u0438\\u0442\\u0430\":\"04.09.2026\",\"\\u0426\\u0435\\u043b\\u044c \\u0432\\u044b\\u0435\\u0437\\u0434\\u0430\":\"\\u041f\\u0440\\u043e\\u0444\\u0438\\u043b\\u0430\\u043a\\u0442\\u0438\\u043a\\u0430 \\u043f\\u043e \\u0433\\u0430\\u0440\\u0430\\u043d\\u0442\\u0438\\u0438\",\"\\u0412\\u0438\\u0434 \\u0432\\u044b\\u043f\\u043e\\u043b\\u043d\\u0435\\u043d\\u043d\\u044b\\u0445 \\u0440\\u0430\\u0431\\u043e\\u0442\":\"\\u041f\\u0440\\u043e\\u0444\\u0438\\u043b\\u0430\\u043a\\u0442\\u0438\\u043a\\u0430 \\u0441\\u043f\\u043b\\u0438\\u0442-\\u0441\\u0438\\u0441\\u0442\\u0435\\u043c \\u0432\\u0441\\u0435\\u0445 \\u043c\\u043e\\u0449\\u043d\\u043e\\u0441\\u0442\\u0435\\u0439 (\\u043e\\u0447\\u0438\\u0441\\u0442\\u043a\\u0430, \\u043f\\u0440\\u043e\\u0432\\u0435\\u0440\\u043a\\u0430 \\u0440\\u0430\\u0431\\u043e\\u0442\\u044b)\",\"\\u041c\\u043e\\u0434\\u0435\\u043b\\u044c \\u043e\\u0431\\u043e\\u0440\\u0443\\u0434\\u043e\\u0432\\u0430\\u043d\\u0438\\u044f 1\":\"Haier revive 35\",\"ID\":\"40277509\",\"\\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\":\"27.05.2026\",\"\\u0414\\u0430\\u0442\\u0430 \\u043c\\u043e\\u043d\\u0442\\u0430\\u0436\\u0430 (\\u0411\\u0414)\":\"27.05.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\\u0430\\u043d\\u043e\\u0432\\u043a\\u0430 \\u043a\\u043e\\u043d\\u0434\\u0438\\u0446\\u0438\\u043e\\u043d\\u0435\\u0440\\u0430\",\"\\u0424\\u0418\\u041e \\u043c\\u043e\\u043d\\u0442\\u0430\\u0436\\u043d\\u0438\\u043a\\u0430 (\\u0411\\u0414)\":\"\\u041c\\u0438\\u0440\\u043e\\u043d \\u0420.\",\"\\u0414\\u0435\\u043d\\u044c \\u043d\\u0435\\u0434\\u0435\\u043b\\u0438\":\"\\u0427\\u0435\\u0442\\u0432\\u0435\\u0440\\u0433\",\"\\u0414\\u0430\\u0442\\u0430 \\u0438 \\u0432\\u0440\\u0435\\u043c\\u044f \\u0432\\u0438\\u0437\\u0438\\u0442\\u0430\":\"2026-09-04 16:35:00\",\"\\u0414\\u0430\\u0442\\u0430 \\u0432\\u0438\\u0437\\u0438\\u0442\\u0430\":\"04.09.2026\",\"\\u0426\\u0435\\u043b\\u044c \\u0432\\u044b\\u0435\\u0437\\u0434\\u0430\":\"\\u041f\\u0440\\u043e\\u0444\\u0438\\u043b\\u0430\\u043a\\u0442\\u0438\\u043a\\u0430 \\u043f\\u043e \\u0433\\u0430\\u0440\\u0430\\u043d\\u0442\\u0438\\u0438\",\"\\u0412\\u0438\\u0434 \\u0432\\u044b\\u043f\\u043e\\u043b\\u043d\\u0435\\u043d\\u043d\\u044b\\u0445 \\u0440\\u0430\\u0431\\u043e\\u0442\":\"\\u041f\\u0440\\u043e\\u0444\\u0438\\u043b\\u0430\\u043a\\u0442\\u0438\\u043a\\u0430 \\u0441\\u043f\\u043b\\u0438\\u0442-\\u0441\\u0438\\u0441\\u0442\\u0435\\u043c \\u0432\\u0441\\u0435\\u0445 \\u043c\\u043e\\u0449\\u043d\\u043e\\u0441\\u0442\\u0435\\u0439 (\\u043e\\u0447\\u0438\\u0441\\u0442\\u043a\\u0430, \\u043f\\u0440\\u043e\\u0432\\u0435\\u0440\\u043a\\u0430 \\u0440\\u0430\\u0431\\u043e\\u0442\\u044b)\",\"\\u041c\\u043e\\u0434\\u0435\\u043b\\u044c \\u043e\\u0431\\u043e\\u0440\\u0443\\u0434\\u043e\\u0432\\u0430\\u043d\\u0438\\u044f 1\":\"Haier revive 35\",\"ID\":\"40277509\",\"\\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\":\"200004030321\",\"\\u0410\\u0434\\u0440\\u0435\\u0441\":\"str.Zelinski 5\\/8 ap44\",\"\\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)\":\"C2337\",\"\\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\",\"\\u0418\\u043c\\u044f \\u043a\\u043b\\u0438\\u0435\\u043d\\u0442\\u0430 (\\u0421\\u041c\\u0421)\":\"Maria\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"37376054673\",\"\\u0422\\u0438\\u043f \\u043a\\u043b\\u0438\\u0435\\u043d\\u0442\\u0430\":\"\\u0424\\u0438\\u0437.\\u043b\\u0438\\u0446\",\"\\u0420\\u0430\\u0439\\u043e\\u043d\":\"\\u0411\\u043e\\u0442\\u0430\\u043d\\u0438\\u043a\\u0430\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Maria Ciuciuleanu\",\"Contact_name\":\"Maria Ciuciuleanu\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"\\u0410\\u0441\\u0442\\u0430\\u043f\\u0435\\u043d\\u043a\\u043e\\u0432\\u0430 \\u042e\\u043b\\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\":\"200004030321\",\"\\u0410\\u0434\\u0440\\u0435\\u0441\":\"str.Zelinski 5\\/8 ap44\",\"\\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)\":\"C2337\",\"\\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\",\"\\u0418\\u043c\\u044f \\u043a\\u043b\\u0438\\u0435\\u043d\\u0442\\u0430 (\\u0421\\u041c\\u0421)\":\"Maria\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"37376054673\",\"\\u0422\\u0438\\u043f \\u043a\\u043b\\u0438\\u0435\\u043d\\u0442\\u0430\":\"\\u0424\\u0438\\u0437.\\u043b\\u0438\\u0446\",\"\\u0420\\u0430\\u0439\\u043e\\u043d\":\"\\u0411\\u043e\\u0442\\u0430\\u043d\\u0438\\u043a\\u0430\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Maria Ciuciuleanu\",\"Contact_name\":\"Maria Ciuciuleanu\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"\\u0410\\u0441\\u0442\\u0430\\u043f\\u0435\\u043d\\u043a\\u043e\\u0432\\u0430 \\u042e\\u043b\\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\":\"200004030321\",\"\\u0410\\u0434\\u0440\\u0435\\u0441\":\"str.Zelinski 5\\/8 ap44\",\"\\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)\":\"C2337\",\"\\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\",\"\\u0418\\u043c\\u044f \\u043a\\u043b\\u0438\\u0435\\u043d\\u0442\\u0430 (\\u0421\\u041c\\u0421)\":\"Maria\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"37376054673\",\"\\u0422\\u0438\\u043f \\u043a\\u043b\\u0438\\u0435\\u043d\\u0442\\u0430\":\"\\u0424\\u0438\\u0437.\\u043b\\u0438\\u0446\",\"\\u0420\\u0430\\u0439\\u043e\\u043d\":\"\\u0411\\u043e\\u0442\\u0430\\u043d\\u0438\\u043a\\u0430\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Maria Ciuciuleanu\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\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\":\"03.09.2026\",\"\\u041d\\u043e\\u043c\\u0435\\u0440\":\"1050\"},\"document\":{\"Date\":\"03.09.2026\",\"Number\":\"1050\"}}}","edit":true}} {"uid":"a5bf6b6"}
[2026-09-03 16:37:53] docflow.DEBUG: GAS raw response {"raw":"[object] (stdClass: {\"code\":1,\"url\":\"https://docs.google.com/open?id=1T1OmAr8o4zIin2v11fVnEvt7re1Y87OKJHrwjnM_Wys\",\"file_id\":\"1T1OmAr8o4zIin2v11fVnEvt7re1Y87OKJHrwjnM_Wys\",\"error\":\"\",\"vars\":\"\"})"} {"uid":"a5bf6b6"}
[2026-09-03 16:37:53] docflow.WARNING: AmoDrive generated-file move is not ready. {"fileId":"1T1OmAr8o4zIin2v11fVnEvt7re1Y87OKJHrwjnM_Wys","context":null} {"uid":"a5bf6b6"}
[2026-09-03 16:40:19] docflow.INFO: Apel createDoc {"data":{"amoAccountId":"32990686","amoUserId":null,"amoEntityId":"40277509","amoEntityType":"2","templateId":"11646","corporateEntityId":"","settlementAccountId":"","is_signed":null,"gdi":null,"number":null,"currentAmoUserId":null,"lang":"ru"}} {"uid":"651786d"}
[2026-09-03 16:40:20] docflow.INFO: Token is valid for account 32990686. [] {"uid":"651786d"}
[2026-09-03 16:40:20] docflow.DEBUG: getClientAuth returned {"auth":"[object] (stdClass: {\"domain\":\"eurosanteh.amocrm.ru\",\"access_token\":\"eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImp0aSI6IjMxYjNkMGQ2NTQyYmYzOGIyMmExNWY0ZTU0NzkwYmU0MTEzZjEyZmQ5NDc2MmI5ODJjYTc2NTZkNjgyN2U4MmUxMmQwYjRmOWY0ZDBlOGIxIn0.eyJhdWQiOiIwZDY0ZGZmYi1lNTRiLTQ0OGYtOWZiZi1iYWYyMjUxYTExZGIiLCJqdGkiOiIzMWIzZDBkNjU0MmJmMzhiMjJhMTVmNGU1NDc5MGJlNDExM2YxMmZkOTQ3NjJiOTgyY2E3NjU2ZDY4MjdlODJlMTJkMGI0ZjlmNGQwZThiMSIsImlhdCI6MTc4ODQzNjg4MSwibmJmIjoxNzg4NDM2ODgxLCJleHAiOjE3ODg1MjMyODEsInN1YiI6IjEzNjg3MzAyIiwiZ3JhbnRfdHlwZSI6IiIsImFjY291bnRfaWQiOjMyOTkwNjg2LCJiYXNlX2RvbWFpbiI6ImFtb2NybS5ydSIsInZlcnNpb24iOjIsInNjb3BlcyI6WyJwdXNoX25vdGlmaWNhdGlvbnMiLCJjcm0iLCJub3RpZmljYXRpb25zIl0sImhhc2hfdXVpZCI6IjE1NDU2ODFmLWRlOTktNDVhYS04OWQxLWE0NzRlZTE3MDc1NSIsImFwaV9kb21haW4iOiJhcGktYi5hbW9jcm0ucnUifQ.Nq7VbAHPw4_Vz1yk1Jp0Jznk3ZUB2O0x2gM51y01kw5AQ937poKjIuqIc8wlWqgGwq8YHTea6_XHkqlczecLVhsbQl79-j7UCRiTpKN9NnGR6pe6av1odvO4Xs6ORIPgfncfhkgVNPwjovmAJatx7v-tvIW3AWqPG92zCms8cVeWBPCAMWmCPwnxxnQFHNBs1avhpWJSc7dd93WuXvPjK8ThuZijUAyqrSqByOc2lj5H1D15tQpdQItlMQqT40UIfn8QpLk5TOlFdJp7JkNlhjeKTVkW1Zj5zaBC1ldCLHknugquc1i-o895SZt25u1cyjXAEYKvmQO4LWzBMjzhSw\"})","file":"/home/ytvmclwh/document.amocrm.md/src/Models/Docs.php","line":121} {"uid":"651786d"}
[2026-09-03 16:40:24] docflow.DEBUG: AmoDrive docflow context request {"url":"https://google.emale.uno/api/docflow/google-context","query":{"account_id":"32990686","entity_id":"40277509","entity_type":"leads"}} {"uid":"651786d"}
[2026-09-03 16:40: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=32990686&amp;entity_id=40277509&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/09/03 16:40:24</td>\r\n</tr>\r\n</table>\r\n<hr><center>tengine</center>\r\n</body>\r\n</html>\r\n"} {"uid":"651786d"}
[2026-09-03 16:40:24] docflow.DEBUG: AmoDrive docflow context request {"url":"https://gd.glucose-dev.online/api/docflow/google-context","query":{"account_id":"32990686","entity_id":"40277509","entity_type":"leads"}} {"uid":"651786d"}
[2026-09-03 16:40:24] docflow.WARNING: AmoDrive docflow context response is not ready, trying next backend. {"url":"https://gd.glucose-dev.online/api/docflow/google-context","payload":{"ok":true,"accountId":32990686,"entityId":"40277509","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":"651786d"}
[2026-09-03 16:40:24] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://google.emale.uno/api/docflow/prepare-generated-doc","payload":{"account_id":"32990686","entity_id":"40277509","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"651786d"}
[2026-09-03 16:40:24] docflow.WARNING: AmoDrive prepare-generated-doc request failed {"url":"https://google.emale.uno/api/docflow/prepare-generated-doc","http_code":null,"error":"HTTP/2 400 ","response":"<!DOCTYPE HTML PUBLIC \"-//IETF//DTD HTML 2.0//EN\">\r\n<html>\r\n<head><title>400 Bad Request</title></head>\r\n<body>\r\n<center><h1>400 Bad Request</h1></center>\r\n Sorry for the inconvenience.<br/>\r\nPlease report this message and include the following information to us.<br/>\r\nThank you very much!</p>\r\n<table>\r\n<tr>\r\n<td>URL:</td>\r\n<td>https://gd.glucose-dev.online/api/docflow/prepare-generated-doc</td>\r\n</tr>\r\n<tr>\r\n<td>Server:</td>\r\n<td>mail.glucose-dev.online</td>\r\n</tr>\r\n<tr>\r\n<td>Date:</td>\r\n<td>2026/09/03 16:40:24</td>\r\n</tr>\r\n</table>\r\n<hr><center>tengine</center>\r\n</body>\r\n</html>\r\n","payload":{"account_id":"32990686","entity_id":"40277509","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"651786d"}
[2026-09-03 16:40:24] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://gd.glucose-dev.online/api/docflow/prepare-generated-doc","payload":{"account_id":"32990686","entity_id":"40277509","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"651786d"}
[2026-09-03 16:40:24] docflow.WARNING: AmoDrive prepare-generated-doc request failed {"url":"https://gd.glucose-dev.online/api/docflow/prepare-generated-doc","http_code":null,"error":"HTTP/2 404 ","response":"[object] (stdClass: {\"ok\":false,\"error\":\"AmoDrive is not installed for this account.\",\"accountId\":32990686})","payload":{"account_id":"32990686","entity_id":"40277509","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"651786d"}
[2026-09-03 16:40:24] docflow.DEBUG: GAS request {"url":"https://script.google.com/macros/s/AKfycbwrvOJD46zkuoTzdhpc1kulhV8jRfgQBFZfQ121nkIip_k8yKit4xrbWTOzaJ-C-Yed6w/exec","body":{"templateFileId":"1ISSW7q2any2Qldkh8ZtwiERwaib6ci11XCezBMQIcRU","accountId":"32990686","folderId":"1Us2AfskxgdA729xVr0F2vjZU9y5PlYDe","key":"~VTsK5dcnHc2cSSsjM$LFSjLlgbmJXwrp3R2P5nd","data":"{\"fileName\":\"Act primire predare new All for All 1051 20260903164024\",\"leadId\":\"40277509\",\"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\":\"27.05.2026\",\"\\u0414\\u0430\\u0442\\u0430 \\u043c\\u043e\\u043d\\u0442\\u0430\\u0436\\u0430 (\\u0411\\u0414)\":\"27.05.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\\u0430\\u043d\\u043e\\u0432\\u043a\\u0430 \\u043a\\u043e\\u043d\\u0434\\u0438\\u0446\\u0438\\u043e\\u043d\\u0435\\u0440\\u0430\",\"\\u0424\\u0418\\u041e \\u043c\\u043e\\u043d\\u0442\\u0430\\u0436\\u043d\\u0438\\u043a\\u0430 (\\u0411\\u0414)\":\"\\u041c\\u0438\\u0440\\u043e\\u043d \\u0420.\",\"\\u0414\\u0435\\u043d\\u044c \\u043d\\u0435\\u0434\\u0435\\u043b\\u0438\":\"\\u0427\\u0435\\u0442\\u0432\\u0435\\u0440\\u0433\",\"\\u0414\\u0430\\u0442\\u0430 \\u0438 \\u0432\\u0440\\u0435\\u043c\\u044f \\u0432\\u0438\\u0437\\u0438\\u0442\\u0430\":\"2026-09-04 16:35:00\",\"\\u0414\\u0430\\u0442\\u0430 \\u0432\\u0438\\u0437\\u0438\\u0442\\u0430\":\"04.09.2026\",\"\\u0426\\u0435\\u043b\\u044c \\u0432\\u044b\\u0435\\u0437\\u0434\\u0430\":\"\\u041f\\u0440\\u043e\\u0444\\u0438\\u043b\\u0430\\u043a\\u0442\\u0438\\u043a\\u0430 \\u043f\\u043e \\u0433\\u0430\\u0440\\u0430\\u043d\\u0442\\u0438\\u0438\",\"\\u0412\\u0438\\u0434 \\u0432\\u044b\\u043f\\u043e\\u043b\\u043d\\u0435\\u043d\\u043d\\u044b\\u0445 \\u0440\\u0430\\u0431\\u043e\\u0442\":\"\\u041f\\u0440\\u043e\\u0444\\u0438\\u043b\\u0430\\u043a\\u0442\\u0438\\u043a\\u0430 \\u0441\\u043f\\u043b\\u0438\\u0442-\\u0441\\u0438\\u0441\\u0442\\u0435\\u043c \\u0432\\u0441\\u0435\\u0445 \\u043c\\u043e\\u0449\\u043d\\u043e\\u0441\\u0442\\u0435\\u0439 (\\u043e\\u0447\\u0438\\u0441\\u0442\\u043a\\u0430, \\u043f\\u0440\\u043e\\u0432\\u0435\\u0440\\u043a\\u0430 \\u0440\\u0430\\u0431\\u043e\\u0442\\u044b)\",\"\\u041c\\u043e\\u0434\\u0435\\u043b\\u044c \\u043e\\u0431\\u043e\\u0440\\u0443\\u0434\\u043e\\u0432\\u0430\\u043d\\u0438\\u044f 1\":\"Haier revive 35\",\"ID\":\"40277509\",\"\\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\":\"27.05.2026\",\"\\u0414\\u0430\\u0442\\u0430 \\u043c\\u043e\\u043d\\u0442\\u0430\\u0436\\u0430 (\\u0411\\u0414)\":\"27.05.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\\u0430\\u043d\\u043e\\u0432\\u043a\\u0430 \\u043a\\u043e\\u043d\\u0434\\u0438\\u0446\\u0438\\u043e\\u043d\\u0435\\u0440\\u0430\",\"\\u0424\\u0418\\u041e \\u043c\\u043e\\u043d\\u0442\\u0430\\u0436\\u043d\\u0438\\u043a\\u0430 (\\u0411\\u0414)\":\"\\u041c\\u0438\\u0440\\u043e\\u043d \\u0420.\",\"\\u0414\\u0435\\u043d\\u044c \\u043d\\u0435\\u0434\\u0435\\u043b\\u0438\":\"\\u0427\\u0435\\u0442\\u0432\\u0435\\u0440\\u0433\",\"\\u0414\\u0430\\u0442\\u0430 \\u0438 \\u0432\\u0440\\u0435\\u043c\\u044f \\u0432\\u0438\\u0437\\u0438\\u0442\\u0430\":\"2026-09-04 16:35:00\",\"\\u0414\\u0430\\u0442\\u0430 \\u0432\\u0438\\u0437\\u0438\\u0442\\u0430\":\"04.09.2026\",\"\\u0426\\u0435\\u043b\\u044c \\u0432\\u044b\\u0435\\u0437\\u0434\\u0430\":\"\\u041f\\u0440\\u043e\\u0444\\u0438\\u043b\\u0430\\u043a\\u0442\\u0438\\u043a\\u0430 \\u043f\\u043e \\u0433\\u0430\\u0440\\u0430\\u043d\\u0442\\u0438\\u0438\",\"\\u0412\\u0438\\u0434 \\u0432\\u044b\\u043f\\u043e\\u043b\\u043d\\u0435\\u043d\\u043d\\u044b\\u0445 \\u0440\\u0430\\u0431\\u043e\\u0442\":\"\\u041f\\u0440\\u043e\\u0444\\u0438\\u043b\\u0430\\u043a\\u0442\\u0438\\u043a\\u0430 \\u0441\\u043f\\u043b\\u0438\\u0442-\\u0441\\u0438\\u0441\\u0442\\u0435\\u043c \\u0432\\u0441\\u0435\\u0445 \\u043c\\u043e\\u0449\\u043d\\u043e\\u0441\\u0442\\u0435\\u0439 (\\u043e\\u0447\\u0438\\u0441\\u0442\\u043a\\u0430, \\u043f\\u0440\\u043e\\u0432\\u0435\\u0440\\u043a\\u0430 \\u0440\\u0430\\u0431\\u043e\\u0442\\u044b)\",\"\\u041c\\u043e\\u0434\\u0435\\u043b\\u044c \\u043e\\u0431\\u043e\\u0440\\u0443\\u0434\\u043e\\u0432\\u0430\\u043d\\u0438\\u044f 1\":\"Haier revive 35\",\"ID\":\"40277509\",\"\\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\":\"200004030321\",\"\\u0410\\u0434\\u0440\\u0435\\u0441\":\"str.Zelinski 5\\/8 ap44\",\"\\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)\":\"C2337\",\"\\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\",\"\\u0418\\u043c\\u044f \\u043a\\u043b\\u0438\\u0435\\u043d\\u0442\\u0430 (\\u0421\\u041c\\u0421)\":\"Maria\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"37376054673\",\"\\u0422\\u0438\\u043f \\u043a\\u043b\\u0438\\u0435\\u043d\\u0442\\u0430\":\"\\u0424\\u0438\\u0437.\\u043b\\u0438\\u0446\",\"\\u0420\\u0430\\u0439\\u043e\\u043d\":\"\\u0411\\u043e\\u0442\\u0430\\u043d\\u0438\\u043a\\u0430\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Maria Ciuciuleanu\",\"Contact_name\":\"Maria Ciuciuleanu\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"\\u0410\\u0441\\u0442\\u0430\\u043f\\u0435\\u043d\\u043a\\u043e\\u0432\\u0430 \\u042e\\u043b\\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\":\"200004030321\",\"\\u0410\\u0434\\u0440\\u0435\\u0441\":\"str.Zelinski 5\\/8 ap44\",\"\\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)\":\"C2337\",\"\\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\",\"\\u0418\\u043c\\u044f \\u043a\\u043b\\u0438\\u0435\\u043d\\u0442\\u0430 (\\u0421\\u041c\\u0421)\":\"Maria\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"37376054673\",\"\\u0422\\u0438\\u043f \\u043a\\u043b\\u0438\\u0435\\u043d\\u0442\\u0430\":\"\\u0424\\u0438\\u0437.\\u043b\\u0438\\u0446\",\"\\u0420\\u0430\\u0439\\u043e\\u043d\":\"\\u0411\\u043e\\u0442\\u0430\\u043d\\u0438\\u043a\\u0430\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Maria Ciuciuleanu\",\"Contact_name\":\"Maria Ciuciuleanu\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"\\u0410\\u0441\\u0442\\u0430\\u043f\\u0435\\u043d\\u043a\\u043e\\u0432\\u0430 \\u042e\\u043b\\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\":\"200004030321\",\"\\u0410\\u0434\\u0440\\u0435\\u0441\":\"str.Zelinski 5\\/8 ap44\",\"\\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)\":\"C2337\",\"\\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\",\"\\u0418\\u043c\\u044f \\u043a\\u043b\\u0438\\u0435\\u043d\\u0442\\u0430 (\\u0421\\u041c\\u0421)\":\"Maria\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"37376054673\",\"\\u0422\\u0438\\u043f \\u043a\\u043b\\u0438\\u0435\\u043d\\u0442\\u0430\":\"\\u0424\\u0438\\u0437.\\u043b\\u0438\\u0446\",\"\\u0420\\u0430\\u0439\\u043e\\u043d\":\"\\u0411\\u043e\\u0442\\u0430\\u043d\\u0438\\u043a\\u0430\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Maria Ciuciuleanu\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\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\":\"03.09.2026\",\"\\u041d\\u043e\\u043c\\u0435\\u0440\":\"1051\"},\"document\":{\"Date\":\"03.09.2026\",\"Number\":\"1051\"}}}","edit":true}} {"uid":"651786d"}
[2026-09-03 16:40:34] docflow.DEBUG: GAS raw response {"raw":"[object] (stdClass: {\"code\":1,\"url\":\"https://docs.google.com/open?id=1rbq-dHieNqVUAUQOee2P4kvRl-A85c00BHD3dq0Ixsk\",\"file_id\":\"1rbq-dHieNqVUAUQOee2P4kvRl-A85c00BHD3dq0Ixsk\",\"error\":\"\",\"vars\":\"\"})"} {"uid":"651786d"}
[2026-09-03 16:40:34] docflow.WARNING: AmoDrive generated-file move is not ready. {"fileId":"1rbq-dHieNqVUAUQOee2P4kvRl-A85c00BHD3dq0Ixsk","context":null} {"uid":"651786d"}
[2026-09-03 16:43:39] docflow.INFO: Apel createDoc {"data":{"amoAccountId":"32990686","amoUserId":null,"amoEntityId":"40277971","amoEntityType":"2","templateId":"11625","corporateEntityId":"","settlementAccountId":"","is_signed":null,"gdi":null,"number":null,"currentAmoUserId":null,"lang":"ru"}} {"uid":"6e8952e"}
[2026-09-03 16:43:39] docflow.INFO: Token is valid for account 32990686. [] {"uid":"6e8952e"}
[2026-09-03 16:43:39] docflow.DEBUG: getClientAuth returned {"auth":"[object] (stdClass: {\"domain\":\"eurosanteh.amocrm.ru\",\"access_token\":\"eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImp0aSI6IjMxYjNkMGQ2NTQyYmYzOGIyMmExNWY0ZTU0NzkwYmU0MTEzZjEyZmQ5NDc2MmI5ODJjYTc2NTZkNjgyN2U4MmUxMmQwYjRmOWY0ZDBlOGIxIn0.eyJhdWQiOiIwZDY0ZGZmYi1lNTRiLTQ0OGYtOWZiZi1iYWYyMjUxYTExZGIiLCJqdGkiOiIzMWIzZDBkNjU0MmJmMzhiMjJhMTVmNGU1NDc5MGJlNDExM2YxMmZkOTQ3NjJiOTgyY2E3NjU2ZDY4MjdlODJlMTJkMGI0ZjlmNGQwZThiMSIsImlhdCI6MTc4ODQzNjg4MSwibmJmIjoxNzg4NDM2ODgxLCJleHAiOjE3ODg1MjMyODEsInN1YiI6IjEzNjg3MzAyIiwiZ3JhbnRfdHlwZSI6IiIsImFjY291bnRfaWQiOjMyOTkwNjg2LCJiYXNlX2RvbWFpbiI6ImFtb2NybS5ydSIsInZlcnNpb24iOjIsInNjb3BlcyI6WyJwdXNoX25vdGlmaWNhdGlvbnMiLCJjcm0iLCJub3RpZmljYXRpb25zIl0sImhhc2hfdXVpZCI6IjE1NDU2ODFmLWRlOTktNDVhYS04OWQxLWE0NzRlZTE3MDc1NSIsImFwaV9kb21haW4iOiJhcGktYi5hbW9jcm0ucnUifQ.Nq7VbAHPw4_Vz1yk1Jp0Jznk3ZUB2O0x2gM51y01kw5AQ937poKjIuqIc8wlWqgGwq8YHTea6_XHkqlczecLVhsbQl79-j7UCRiTpKN9NnGR6pe6av1odvO4Xs6ORIPgfncfhkgVNPwjovmAJatx7v-tvIW3AWqPG92zCms8cVeWBPCAMWmCPwnxxnQFHNBs1avhpWJSc7dd93WuXvPjK8ThuZijUAyqrSqByOc2lj5H1D15tQpdQItlMQqT40UIfn8QpLk5TOlFdJp7JkNlhjeKTVkW1Zj5zaBC1ldCLHknugquc1i-o895SZt25u1cyjXAEYKvmQO4LWzBMjzhSw\"})","file":"/home/ytvmclwh/document.amocrm.md/src/Models/Docs.php","line":121} {"uid":"6e8952e"}
[2026-09-03 16:43:41] docflow.DEBUG: AmoDrive docflow context request {"url":"https://google.emale.uno/api/docflow/google-context","query":{"account_id":"32990686","entity_id":"40277971","entity_type":"leads"}} {"uid":"6e8952e"}
[2026-09-03 16:43:41] docflow.WARNING: AmoDrive docflow context request failed {"url":"https://google.emale.uno/api/docflow/google-context","http_code":null,"error":"HTTP/2 400 ","response":"<!DOCTYPE HTML PUBLIC \"-//IETF//DTD HTML 2.0//EN\">\r\n<html>\r\n<head><title>400 Bad Request</title></head>\r\n<body>\r\n<center><h1>400 Bad Request</h1></center>\r\n Sorry for the inconvenience.<br/>\r\nPlease report this message and include the following information to us.<br/>\r\nThank you very much!</p>\r\n<table>\r\n<tr>\r\n<td>URL:</td>\r\n<td>https://gd.glucose-dev.online/api/docflow/google-context?account_id=32990686&amp;entity_id=40277971&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/09/03 16:43:41</td>\r\n</tr>\r\n</table>\r\n<hr><center>tengine</center>\r\n</body>\r\n</html>\r\n"} {"uid":"6e8952e"}
[2026-09-03 16:43:41] docflow.DEBUG: AmoDrive docflow context request {"url":"https://gd.glucose-dev.online/api/docflow/google-context","query":{"account_id":"32990686","entity_id":"40277971","entity_type":"leads"}} {"uid":"6e8952e"}
[2026-09-03 16:43:41] docflow.WARNING: AmoDrive docflow context response is not ready, trying next backend. {"url":"https://gd.glucose-dev.online/api/docflow/google-context","payload":{"ok":true,"accountId":32990686,"entityId":"40277971","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":"6e8952e"}
[2026-09-03 16:43:41] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://google.emale.uno/api/docflow/prepare-generated-doc","payload":{"account_id":"32990686","entity_id":"40277971","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"6e8952e"}
[2026-09-03 16:43: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/09/03 16:43:41</td>\r\n</tr>\r\n</table>\r\n<hr><center>tengine</center>\r\n</body>\r\n</html>\r\n","payload":{"account_id":"32990686","entity_id":"40277971","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"6e8952e"}
[2026-09-03 16:43:41] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://gd.glucose-dev.online/api/docflow/prepare-generated-doc","payload":{"account_id":"32990686","entity_id":"40277971","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"6e8952e"}
[2026-09-03 16:43:41] docflow.WARNING: AmoDrive prepare-generated-doc request failed {"url":"https://gd.glucose-dev.online/api/docflow/prepare-generated-doc","http_code":null,"error":"HTTP/2 404 ","response":"[object] (stdClass: {\"ok\":false,\"error\":\"AmoDrive is not installed for this account.\",\"accountId\":32990686})","payload":{"account_id":"32990686","entity_id":"40277971","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"6e8952e"}
[2026-09-03 16:43:41] docflow.DEBUG: GAS request {"url":"https://script.google.com/macros/s/AKfycbwrvOJD46zkuoTzdhpc1kulhV8jRfgQBFZfQ121nkIip_k8yKit4xrbWTOzaJ-C-Yed6w/exec","body":{"templateFileId":"1AjK4khA9mRlFDVy4RXRqHAg2GTFWJYC-Gac1Mx3OLnA","accountId":"32990686","folderId":"1Us2AfskxgdA729xVr0F2vjZU9y5PlYDe","key":"~VTsK5dcnHc2cSSsjM$LFSjLlgbmJXwrp3R2P5nd","data":"{\"fileName\":\"ALL FOR ALL \\u041d\\u0430\\u0440\\u044f\\u0434 \\u043d\\u0430 \\u0432\\u044b\\u043f\\u043e\\u043b\\u043d\\u0435\\u043d\\u0438\\u0435 \\u0440\\u0430\\u0431\\u043e\\u0442 1052 20260903164341\",\"leadId\":\"40277971\",\"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.2026\",\"\\u041d\\u043e\\u043c\\u0435\\u0440 \\u043a\\u043e\\u043d\\u0442\\u0440\\u0430\\u043a\\u0442\\u0430\":\"B1899\",\"\\u0414\\u0430\\u0442\\u0430 \\u043c\\u043e\\u043d\\u0442\\u0430\\u0436\\u0430 (\\u0411\\u0414)\":\"11.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)\":\"\\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\",\"\\u041c\\u043e\\u0434\\u0435\\u043b\\u044c \\u043e\\u0431\\u043e\\u0440\\u0443\\u0434\\u043e\\u0432\\u0430\\u043d\\u0438\\u044f 1\":\"Haier revive 25\",\"\\u0414\\u0430\\u0442\\u0430 \\u0438 \\u0432\\u0440\\u0435\\u043c\\u044f \\u0432\\u0438\\u0437\\u0438\\u0442\\u0430\":\"2026-09-04 16:42:00\",\"\\u0414\\u0430\\u0442\\u0430 \\u0432\\u0438\\u0437\\u0438\\u0442\\u0430\":\"04.09.2026\",\"\\u0426\\u0435\\u043b\\u044c \\u0432\\u044b\\u0435\\u0437\\u0434\\u0430\":\"\\u041f\\u0440\\u043e\\u0444\\u0438\\u043b\\u0430\\u043a\\u0442\\u0438\\u043a\\u0430 \\u043f\\u043e \\u0433\\u0430\\u0440\\u0430\\u043d\\u0442\\u0438\\u0438\",\"\\u0412\\u0438\\u0434 \\u0432\\u044b\\u043f\\u043e\\u043b\\u043d\\u0435\\u043d\\u043d\\u044b\\u0445 \\u0440\\u0430\\u0431\\u043e\\u0442\":\"\\u041f\\u0440\\u043e\\u0444\\u0438\\u043b\\u0430\\u043a\\u0442\\u0438\\u043a\\u0430 \\u0441\\u043f\\u043b\\u0438\\u0442-\\u0441\\u0438\\u0441\\u0442\\u0435\\u043c \\u0432\\u0441\\u0435\\u0445 \\u043c\\u043e\\u0449\\u043d\\u043e\\u0441\\u0442\\u0435\\u0439 (\\u043e\\u0447\\u0438\\u0441\\u0442\\u043a\\u0430, \\u043f\\u0440\\u043e\\u0432\\u0435\\u0440\\u043a\\u0430 \\u0440\\u0430\\u0431\\u043e\\u0442\\u044b)\",\"ID\":\"40277971\",\"\\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.2026\",\"\\u041d\\u043e\\u043c\\u0435\\u0440 \\u043a\\u043e\\u043d\\u0442\\u0440\\u0430\\u043a\\u0442\\u0430\":\"B1899\",\"\\u0414\\u0430\\u0442\\u0430 \\u043c\\u043e\\u043d\\u0442\\u0430\\u0436\\u0430 (\\u0411\\u0414)\":\"11.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)\":\"\\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\",\"\\u041c\\u043e\\u0434\\u0435\\u043b\\u044c \\u043e\\u0431\\u043e\\u0440\\u0443\\u0434\\u043e\\u0432\\u0430\\u043d\\u0438\\u044f 1\":\"Haier revive 25\",\"\\u0414\\u0430\\u0442\\u0430 \\u0438 \\u0432\\u0440\\u0435\\u043c\\u044f \\u0432\\u0438\\u0437\\u0438\\u0442\\u0430\":\"2026-09-04 16:42:00\",\"\\u0414\\u0430\\u0442\\u0430 \\u0432\\u0438\\u0437\\u0438\\u0442\\u0430\":\"04.09.2026\",\"\\u0426\\u0435\\u043b\\u044c \\u0432\\u044b\\u0435\\u0437\\u0434\\u0430\":\"\\u041f\\u0440\\u043e\\u0444\\u0438\\u043b\\u0430\\u043a\\u0442\\u0438\\u043a\\u0430 \\u043f\\u043e \\u0433\\u0430\\u0440\\u0430\\u043d\\u0442\\u0438\\u0438\",\"\\u0412\\u0438\\u0434 \\u0432\\u044b\\u043f\\u043e\\u043b\\u043d\\u0435\\u043d\\u043d\\u044b\\u0445 \\u0440\\u0430\\u0431\\u043e\\u0442\":\"\\u041f\\u0440\\u043e\\u0444\\u0438\\u043b\\u0430\\u043a\\u0442\\u0438\\u043a\\u0430 \\u0441\\u043f\\u043b\\u0438\\u0442-\\u0441\\u0438\\u0441\\u0442\\u0435\\u043c \\u0432\\u0441\\u0435\\u0445 \\u043c\\u043e\\u0449\\u043d\\u043e\\u0441\\u0442\\u0435\\u0439 (\\u043e\\u0447\\u0438\\u0441\\u0442\\u043a\\u0430, \\u043f\\u0440\\u043e\\u0432\\u0435\\u0440\\u043a\\u0430 \\u0440\\u0430\\u0431\\u043e\\u0442\\u044b)\",\"ID\":\"40277971\",\"\\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\":\"2010003008770\",\"\\u0410\\u0434\\u0440\\u0435\\u0441\":\"str.Deleanu 3 ap58 sc2 et8\",\"\\u041f\\u043e\\u0432\\u0442\\u043e\\u0440\\u043d\\u044b\\u0439 \\u043a\\u043b\\u0438\\u0435\\u043d\\u0442?\":\"\\u0414\\u0430\",\"\\u0414\\u0430\\u0442\\u0430 \\u043c\\u043e\\u043d\\u0442\\u0430\\u0436\\u0430 (\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442)\":\"11.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)\":\"B1899\",\"\\u0418\\u043c\\u044f \\u043a\\u043b\\u0438\\u0435\\u043d\\u0442\\u0430 (\\u0421\\u041c\\u0421)\":\"Vlada-Valeria\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"37369276618\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Vlada-Valeria Nitruta\",\"Contact_name\":\"Vlada-Valeria Nitruta\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"\\u0410\\u0441\\u0442\\u0430\\u043f\\u0435\\u043d\\u043a\\u043e\\u0432\\u0430 \\u042e\\u043b\\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\":\"2010003008770\",\"\\u0410\\u0434\\u0440\\u0435\\u0441\":\"str.Deleanu 3 ap58 sc2 et8\",\"\\u041f\\u043e\\u0432\\u0442\\u043e\\u0440\\u043d\\u044b\\u0439 \\u043a\\u043b\\u0438\\u0435\\u043d\\u0442?\":\"\\u0414\\u0430\",\"\\u0414\\u0430\\u0442\\u0430 \\u043c\\u043e\\u043d\\u0442\\u0430\\u0436\\u0430 (\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442)\":\"11.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)\":\"B1899\",\"\\u0418\\u043c\\u044f \\u043a\\u043b\\u0438\\u0435\\u043d\\u0442\\u0430 (\\u0421\\u041c\\u0421)\":\"Vlada-Valeria\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"37369276618\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Vlada-Valeria Nitruta\",\"Contact_name\":\"Vlada-Valeria Nitruta\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"\\u0410\\u0441\\u0442\\u0430\\u043f\\u0435\\u043d\\u043a\\u043e\\u0432\\u0430 \\u042e\\u043b\\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\":\"2010003008770\",\"\\u0410\\u0434\\u0440\\u0435\\u0441\":\"str.Deleanu 3 ap58 sc2 et8\",\"\\u041f\\u043e\\u0432\\u0442\\u043e\\u0440\\u043d\\u044b\\u0439 \\u043a\\u043b\\u0438\\u0435\\u043d\\u0442?\":\"\\u0414\\u0430\",\"\\u0414\\u0430\\u0442\\u0430 \\u043c\\u043e\\u043d\\u0442\\u0430\\u0436\\u0430 (\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442)\":\"11.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)\":\"B1899\",\"\\u0418\\u043c\\u044f \\u043a\\u043b\\u0438\\u0435\\u043d\\u0442\\u0430 (\\u0421\\u041c\\u0421)\":\"Vlada-Valeria\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"37369276618\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Vlada-Valeria Nitruta\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\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\":\"03.09.2026\",\"\\u041d\\u043e\\u043c\\u0435\\u0440\":\"1052\"},\"document\":{\"Date\":\"03.09.2026\",\"Number\":\"1052\"}}}","edit":true}} {"uid":"6e8952e"}
[2026-09-03 16:43:49] docflow.DEBUG: GAS raw response {"raw":"[object] (stdClass: {\"code\":1,\"url\":\"https://docs.google.com/open?id=1aWSTI7vUrcXvOcc6ubuxIXKAHDbuMJdBOBc88hcvxx4\",\"file_id\":\"1aWSTI7vUrcXvOcc6ubuxIXKAHDbuMJdBOBc88hcvxx4\",\"error\":\"\",\"vars\":\"\"})"} {"uid":"6e8952e"}
[2026-09-03 16:43:49] docflow.WARNING: AmoDrive generated-file move is not ready. {"fileId":"1aWSTI7vUrcXvOcc6ubuxIXKAHDbuMJdBOBc88hcvxx4","context":null} {"uid":"6e8952e"}
[2026-09-03 16:45:23] docflow.INFO: Apel createDoc {"data":{"amoAccountId":"32990686","amoUserId":null,"amoEntityId":"40277971","amoEntityType":"2","templateId":"11646","corporateEntityId":"","settlementAccountId":"","is_signed":null,"gdi":null,"number":null,"currentAmoUserId":null,"lang":"ru"}} {"uid":"1b7f58b"}
[2026-09-03 16:45:23] docflow.INFO: Token is valid for account 32990686. [] {"uid":"1b7f58b"}
[2026-09-03 16:45:23] docflow.DEBUG: getClientAuth returned {"auth":"[object] (stdClass: {\"domain\":\"eurosanteh.amocrm.ru\",\"access_token\":\"eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImp0aSI6IjMxYjNkMGQ2NTQyYmYzOGIyMmExNWY0ZTU0NzkwYmU0MTEzZjEyZmQ5NDc2MmI5ODJjYTc2NTZkNjgyN2U4MmUxMmQwYjRmOWY0ZDBlOGIxIn0.eyJhdWQiOiIwZDY0ZGZmYi1lNTRiLTQ0OGYtOWZiZi1iYWYyMjUxYTExZGIiLCJqdGkiOiIzMWIzZDBkNjU0MmJmMzhiMjJhMTVmNGU1NDc5MGJlNDExM2YxMmZkOTQ3NjJiOTgyY2E3NjU2ZDY4MjdlODJlMTJkMGI0ZjlmNGQwZThiMSIsImlhdCI6MTc4ODQzNjg4MSwibmJmIjoxNzg4NDM2ODgxLCJleHAiOjE3ODg1MjMyODEsInN1YiI6IjEzNjg3MzAyIiwiZ3JhbnRfdHlwZSI6IiIsImFjY291bnRfaWQiOjMyOTkwNjg2LCJiYXNlX2RvbWFpbiI6ImFtb2NybS5ydSIsInZlcnNpb24iOjIsInNjb3BlcyI6WyJwdXNoX25vdGlmaWNhdGlvbnMiLCJjcm0iLCJub3RpZmljYXRpb25zIl0sImhhc2hfdXVpZCI6IjE1NDU2ODFmLWRlOTktNDVhYS04OWQxLWE0NzRlZTE3MDc1NSIsImFwaV9kb21haW4iOiJhcGktYi5hbW9jcm0ucnUifQ.Nq7VbAHPw4_Vz1yk1Jp0Jznk3ZUB2O0x2gM51y01kw5AQ937poKjIuqIc8wlWqgGwq8YHTea6_XHkqlczecLVhsbQl79-j7UCRiTpKN9NnGR6pe6av1odvO4Xs6ORIPgfncfhkgVNPwjovmAJatx7v-tvIW3AWqPG92zCms8cVeWBPCAMWmCPwnxxnQFHNBs1avhpWJSc7dd93WuXvPjK8ThuZijUAyqrSqByOc2lj5H1D15tQpdQItlMQqT40UIfn8QpLk5TOlFdJp7JkNlhjeKTVkW1Zj5zaBC1ldCLHknugquc1i-o895SZt25u1cyjXAEYKvmQO4LWzBMjzhSw\"})","file":"/home/ytvmclwh/document.amocrm.md/src/Models/Docs.php","line":121} {"uid":"1b7f58b"}
[2026-09-03 16:45:26] docflow.DEBUG: AmoDrive docflow context request {"url":"https://google.emale.uno/api/docflow/google-context","query":{"account_id":"32990686","entity_id":"40277971","entity_type":"leads"}} {"uid":"1b7f58b"}
[2026-09-03 16:45: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=40277971&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/09/03 16:45:26</td>\r\n</tr>\r\n</table>\r\n<hr><center>tengine</center>\r\n</body>\r\n</html>\r\n"} {"uid":"1b7f58b"}
[2026-09-03 16:45:26] docflow.DEBUG: AmoDrive docflow context request {"url":"https://gd.glucose-dev.online/api/docflow/google-context","query":{"account_id":"32990686","entity_id":"40277971","entity_type":"leads"}} {"uid":"1b7f58b"}
[2026-09-03 16:45: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":"40277971","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":"1b7f58b"}
[2026-09-03 16:45:26] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://google.emale.uno/api/docflow/prepare-generated-doc","payload":{"account_id":"32990686","entity_id":"40277971","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"1b7f58b"}
[2026-09-03 16:45: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/09/03 16:45:26</td>\r\n</tr>\r\n</table>\r\n<hr><center>tengine</center>\r\n</body>\r\n</html>\r\n","payload":{"account_id":"32990686","entity_id":"40277971","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"1b7f58b"}
[2026-09-03 16:45: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":"40277971","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"1b7f58b"}
[2026-09-03 16:45: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":"40277971","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"1b7f58b"}
[2026-09-03 16:45:26] docflow.DEBUG: GAS request {"url":"https://script.google.com/macros/s/AKfycbwrvOJD46zkuoTzdhpc1kulhV8jRfgQBFZfQ121nkIip_k8yKit4xrbWTOzaJ-C-Yed6w/exec","body":{"templateFileId":"1ISSW7q2any2Qldkh8ZtwiERwaib6ci11XCezBMQIcRU","accountId":"32990686","folderId":"1Us2AfskxgdA729xVr0F2vjZU9y5PlYDe","key":"~VTsK5dcnHc2cSSsjM$LFSjLlgbmJXwrp3R2P5nd","data":"{\"fileName\":\"Act primire predare new All for All 1052 20260903164526\",\"leadId\":\"40277971\",\"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.2026\",\"\\u041d\\u043e\\u043c\\u0435\\u0440 \\u043a\\u043e\\u043d\\u0442\\u0440\\u0430\\u043a\\u0442\\u0430\":\"B1899\",\"\\u0414\\u0430\\u0442\\u0430 \\u043c\\u043e\\u043d\\u0442\\u0430\\u0436\\u0430 (\\u0411\\u0414)\":\"11.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)\":\"\\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\",\"\\u041c\\u043e\\u0434\\u0435\\u043b\\u044c \\u043e\\u0431\\u043e\\u0440\\u0443\\u0434\\u043e\\u0432\\u0430\\u043d\\u0438\\u044f 1\":\"Haier revive 25\",\"\\u0414\\u0430\\u0442\\u0430 \\u0438 \\u0432\\u0440\\u0435\\u043c\\u044f \\u0432\\u0438\\u0437\\u0438\\u0442\\u0430\":\"2026-09-04 16:42:00\",\"\\u0414\\u0430\\u0442\\u0430 \\u0432\\u0438\\u0437\\u0438\\u0442\\u0430\":\"04.09.2026\",\"\\u0426\\u0435\\u043b\\u044c \\u0432\\u044b\\u0435\\u0437\\u0434\\u0430\":\"\\u041f\\u0440\\u043e\\u0444\\u0438\\u043b\\u0430\\u043a\\u0442\\u0438\\u043a\\u0430 \\u043f\\u043e \\u0433\\u0430\\u0440\\u0430\\u043d\\u0442\\u0438\\u0438\",\"\\u0412\\u0438\\u0434 \\u0432\\u044b\\u043f\\u043e\\u043b\\u043d\\u0435\\u043d\\u043d\\u044b\\u0445 \\u0440\\u0430\\u0431\\u043e\\u0442\":\"\\u041f\\u0440\\u043e\\u0444\\u0438\\u043b\\u0430\\u043a\\u0442\\u0438\\u043a\\u0430 \\u0441\\u043f\\u043b\\u0438\\u0442-\\u0441\\u0438\\u0441\\u0442\\u0435\\u043c \\u0432\\u0441\\u0435\\u0445 \\u043c\\u043e\\u0449\\u043d\\u043e\\u0441\\u0442\\u0435\\u0439 (\\u043e\\u0447\\u0438\\u0441\\u0442\\u043a\\u0430, \\u043f\\u0440\\u043e\\u0432\\u0435\\u0440\\u043a\\u0430 \\u0440\\u0430\\u0431\\u043e\\u0442\\u044b)\",\"ID\":\"40277971\",\"\\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.2026\",\"\\u041d\\u043e\\u043c\\u0435\\u0440 \\u043a\\u043e\\u043d\\u0442\\u0440\\u0430\\u043a\\u0442\\u0430\":\"B1899\",\"\\u0414\\u0430\\u0442\\u0430 \\u043c\\u043e\\u043d\\u0442\\u0430\\u0436\\u0430 (\\u0411\\u0414)\":\"11.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)\":\"\\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\",\"\\u041c\\u043e\\u0434\\u0435\\u043b\\u044c \\u043e\\u0431\\u043e\\u0440\\u0443\\u0434\\u043e\\u0432\\u0430\\u043d\\u0438\\u044f 1\":\"Haier revive 25\",\"\\u0414\\u0430\\u0442\\u0430 \\u0438 \\u0432\\u0440\\u0435\\u043c\\u044f \\u0432\\u0438\\u0437\\u0438\\u0442\\u0430\":\"2026-09-04 16:42:00\",\"\\u0414\\u0430\\u0442\\u0430 \\u0432\\u0438\\u0437\\u0438\\u0442\\u0430\":\"04.09.2026\",\"\\u0426\\u0435\\u043b\\u044c \\u0432\\u044b\\u0435\\u0437\\u0434\\u0430\":\"\\u041f\\u0440\\u043e\\u0444\\u0438\\u043b\\u0430\\u043a\\u0442\\u0438\\u043a\\u0430 \\u043f\\u043e \\u0433\\u0430\\u0440\\u0430\\u043d\\u0442\\u0438\\u0438\",\"\\u0412\\u0438\\u0434 \\u0432\\u044b\\u043f\\u043e\\u043b\\u043d\\u0435\\u043d\\u043d\\u044b\\u0445 \\u0440\\u0430\\u0431\\u043e\\u0442\":\"\\u041f\\u0440\\u043e\\u0444\\u0438\\u043b\\u0430\\u043a\\u0442\\u0438\\u043a\\u0430 \\u0441\\u043f\\u043b\\u0438\\u0442-\\u0441\\u0438\\u0441\\u0442\\u0435\\u043c \\u0432\\u0441\\u0435\\u0445 \\u043c\\u043e\\u0449\\u043d\\u043e\\u0441\\u0442\\u0435\\u0439 (\\u043e\\u0447\\u0438\\u0441\\u0442\\u043a\\u0430, \\u043f\\u0440\\u043e\\u0432\\u0435\\u0440\\u043a\\u0430 \\u0440\\u0430\\u0431\\u043e\\u0442\\u044b)\",\"ID\":\"40277971\",\"\\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\":\"2010003008770\",\"\\u0410\\u0434\\u0440\\u0435\\u0441\":\"str.Deleanu 3 ap58 sc2 et8\",\"\\u041f\\u043e\\u0432\\u0442\\u043e\\u0440\\u043d\\u044b\\u0439 \\u043a\\u043b\\u0438\\u0435\\u043d\\u0442?\":\"\\u0414\\u0430\",\"\\u0414\\u0430\\u0442\\u0430 \\u043c\\u043e\\u043d\\u0442\\u0430\\u0436\\u0430 (\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442)\":\"11.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)\":\"B1899\",\"\\u0418\\u043c\\u044f \\u043a\\u043b\\u0438\\u0435\\u043d\\u0442\\u0430 (\\u0421\\u041c\\u0421)\":\"Vlada-Valeria\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"37369276618\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Vlada-Valeria Nitruta\",\"Contact_name\":\"Vlada-Valeria Nitruta\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"\\u0410\\u0441\\u0442\\u0430\\u043f\\u0435\\u043d\\u043a\\u043e\\u0432\\u0430 \\u042e\\u043b\\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\":\"2010003008770\",\"\\u0410\\u0434\\u0440\\u0435\\u0441\":\"str.Deleanu 3 ap58 sc2 et8\",\"\\u041f\\u043e\\u0432\\u0442\\u043e\\u0440\\u043d\\u044b\\u0439 \\u043a\\u043b\\u0438\\u0435\\u043d\\u0442?\":\"\\u0414\\u0430\",\"\\u0414\\u0430\\u0442\\u0430 \\u043c\\u043e\\u043d\\u0442\\u0430\\u0436\\u0430 (\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442)\":\"11.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)\":\"B1899\",\"\\u0418\\u043c\\u044f \\u043a\\u043b\\u0438\\u0435\\u043d\\u0442\\u0430 (\\u0421\\u041c\\u0421)\":\"Vlada-Valeria\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"37369276618\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Vlada-Valeria Nitruta\",\"Contact_name\":\"Vlada-Valeria Nitruta\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"\\u0410\\u0441\\u0442\\u0430\\u043f\\u0435\\u043d\\u043a\\u043e\\u0432\\u0430 \\u042e\\u043b\\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\":\"2010003008770\",\"\\u0410\\u0434\\u0440\\u0435\\u0441\":\"str.Deleanu 3 ap58 sc2 et8\",\"\\u041f\\u043e\\u0432\\u0442\\u043e\\u0440\\u043d\\u044b\\u0439 \\u043a\\u043b\\u0438\\u0435\\u043d\\u0442?\":\"\\u0414\\u0430\",\"\\u0414\\u0430\\u0442\\u0430 \\u043c\\u043e\\u043d\\u0442\\u0430\\u0436\\u0430 (\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442)\":\"11.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)\":\"B1899\",\"\\u0418\\u043c\\u044f \\u043a\\u043b\\u0438\\u0435\\u043d\\u0442\\u0430 (\\u0421\\u041c\\u0421)\":\"Vlada-Valeria\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"37369276618\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Vlada-Valeria Nitruta\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\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\":\"03.09.2026\",\"\\u041d\\u043e\\u043c\\u0435\\u0440\":\"1052\"},\"document\":{\"Date\":\"03.09.2026\",\"Number\":\"1052\"}}}","edit":true}} {"uid":"1b7f58b"}
[2026-09-03 16:45:35] docflow.DEBUG: GAS raw response {"raw":"[object] (stdClass: {\"code\":1,\"url\":\"https://docs.google.com/open?id=1d5M-vD7K8WhN6yqCrErG74iiqbfUgF2Oo4mJ1x-BR7w\",\"file_id\":\"1d5M-vD7K8WhN6yqCrErG74iiqbfUgF2Oo4mJ1x-BR7w\",\"error\":\"\",\"vars\":\"\"})"} {"uid":"1b7f58b"}
[2026-09-03 16:45:35] docflow.WARNING: AmoDrive generated-file move is not ready. {"fileId":"1d5M-vD7K8WhN6yqCrErG74iiqbfUgF2Oo4mJ1x-BR7w","context":null} {"uid":"1b7f58b"}
[2026-09-03 16:47:17] docflow.INFO: Apel createDoc {"data":{"amoAccountId":"32990686","amoUserId":null,"amoEntityId":"40276471","amoEntityType":"2","templateId":"11625","corporateEntityId":"","settlementAccountId":"","is_signed":null,"gdi":null,"number":null,"currentAmoUserId":null,"lang":"ru"}} {"uid":"a94a821"}
[2026-09-03 16:47:17] docflow.INFO: Token is valid for account 32990686. [] {"uid":"a94a821"}
[2026-09-03 16:47:17] docflow.DEBUG: getClientAuth returned {"auth":"[object] (stdClass: {\"domain\":\"eurosanteh.amocrm.ru\",\"access_token\":\"eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImp0aSI6IjMxYjNkMGQ2NTQyYmYzOGIyMmExNWY0ZTU0NzkwYmU0MTEzZjEyZmQ5NDc2MmI5ODJjYTc2NTZkNjgyN2U4MmUxMmQwYjRmOWY0ZDBlOGIxIn0.eyJhdWQiOiIwZDY0ZGZmYi1lNTRiLTQ0OGYtOWZiZi1iYWYyMjUxYTExZGIiLCJqdGkiOiIzMWIzZDBkNjU0MmJmMzhiMjJhMTVmNGU1NDc5MGJlNDExM2YxMmZkOTQ3NjJiOTgyY2E3NjU2ZDY4MjdlODJlMTJkMGI0ZjlmNGQwZThiMSIsImlhdCI6MTc4ODQzNjg4MSwibmJmIjoxNzg4NDM2ODgxLCJleHAiOjE3ODg1MjMyODEsInN1YiI6IjEzNjg3MzAyIiwiZ3JhbnRfdHlwZSI6IiIsImFjY291bnRfaWQiOjMyOTkwNjg2LCJiYXNlX2RvbWFpbiI6ImFtb2NybS5ydSIsInZlcnNpb24iOjIsInNjb3BlcyI6WyJwdXNoX25vdGlmaWNhdGlvbnMiLCJjcm0iLCJub3RpZmljYXRpb25zIl0sImhhc2hfdXVpZCI6IjE1NDU2ODFmLWRlOTktNDVhYS04OWQxLWE0NzRlZTE3MDc1NSIsImFwaV9kb21haW4iOiJhcGktYi5hbW9jcm0ucnUifQ.Nq7VbAHPw4_Vz1yk1Jp0Jznk3ZUB2O0x2gM51y01kw5AQ937poKjIuqIc8wlWqgGwq8YHTea6_XHkqlczecLVhsbQl79-j7UCRiTpKN9NnGR6pe6av1odvO4Xs6ORIPgfncfhkgVNPwjovmAJatx7v-tvIW3AWqPG92zCms8cVeWBPCAMWmCPwnxxnQFHNBs1avhpWJSc7dd93WuXvPjK8ThuZijUAyqrSqByOc2lj5H1D15tQpdQItlMQqT40UIfn8QpLk5TOlFdJp7JkNlhjeKTVkW1Zj5zaBC1ldCLHknugquc1i-o895SZt25u1cyjXAEYKvmQO4LWzBMjzhSw\"})","file":"/home/ytvmclwh/document.amocrm.md/src/Models/Docs.php","line":121} {"uid":"a94a821"}
[2026-09-03 16:47:20] docflow.DEBUG: AmoDrive docflow context request {"url":"https://google.emale.uno/api/docflow/google-context","query":{"account_id":"32990686","entity_id":"40276471","entity_type":"leads"}} {"uid":"a94a821"}
[2026-09-03 16:47:20] docflow.WARNING: AmoDrive docflow context request failed {"url":"https://google.emale.uno/api/docflow/google-context","http_code":null,"error":"HTTP/2 400 ","response":"<!DOCTYPE HTML PUBLIC \"-//IETF//DTD HTML 2.0//EN\">\r\n<html>\r\n<head><title>400 Bad Request</title></head>\r\n<body>\r\n<center><h1>400 Bad Request</h1></center>\r\n Sorry for the inconvenience.<br/>\r\nPlease report this message and include the following information to us.<br/>\r\nThank you very much!</p>\r\n<table>\r\n<tr>\r\n<td>URL:</td>\r\n<td>https://gd.glucose-dev.online/api/docflow/google-context?account_id=32990686&amp;entity_id=40276471&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/09/03 16:47:20</td>\r\n</tr>\r\n</table>\r\n<hr><center>tengine</center>\r\n</body>\r\n</html>\r\n"} {"uid":"a94a821"}
[2026-09-03 16:47:20] docflow.DEBUG: AmoDrive docflow context request {"url":"https://gd.glucose-dev.online/api/docflow/google-context","query":{"account_id":"32990686","entity_id":"40276471","entity_type":"leads"}} {"uid":"a94a821"}
[2026-09-03 16:47:20] docflow.WARNING: AmoDrive docflow context response is not ready, trying next backend. {"url":"https://gd.glucose-dev.online/api/docflow/google-context","payload":{"ok":true,"accountId":32990686,"entityId":"40276471","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":"a94a821"}
[2026-09-03 16:47:20] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://google.emale.uno/api/docflow/prepare-generated-doc","payload":{"account_id":"32990686","entity_id":"40276471","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"a94a821"}
[2026-09-03 16:47:20] docflow.WARNING: AmoDrive prepare-generated-doc request failed {"url":"https://google.emale.uno/api/docflow/prepare-generated-doc","http_code":null,"error":"HTTP/2 400 ","response":"<!DOCTYPE HTML PUBLIC \"-//IETF//DTD HTML 2.0//EN\">\r\n<html>\r\n<head><title>400 Bad Request</title></head>\r\n<body>\r\n<center><h1>400 Bad Request</h1></center>\r\n Sorry for the inconvenience.<br/>\r\nPlease report this message and include the following information to us.<br/>\r\nThank you very much!</p>\r\n<table>\r\n<tr>\r\n<td>URL:</td>\r\n<td>https://gd.glucose-dev.online/api/docflow/prepare-generated-doc</td>\r\n</tr>\r\n<tr>\r\n<td>Server:</td>\r\n<td>mail.glucose-dev.online</td>\r\n</tr>\r\n<tr>\r\n<td>Date:</td>\r\n<td>2026/09/03 16:47:20</td>\r\n</tr>\r\n</table>\r\n<hr><center>tengine</center>\r\n</body>\r\n</html>\r\n","payload":{"account_id":"32990686","entity_id":"40276471","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"a94a821"}
[2026-09-03 16:47:20] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://gd.glucose-dev.online/api/docflow/prepare-generated-doc","payload":{"account_id":"32990686","entity_id":"40276471","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"a94a821"}
[2026-09-03 16:47:20] docflow.WARNING: AmoDrive prepare-generated-doc request failed {"url":"https://gd.glucose-dev.online/api/docflow/prepare-generated-doc","http_code":null,"error":"HTTP/2 404 ","response":"[object] (stdClass: {\"ok\":false,\"error\":\"AmoDrive is not installed for this account.\",\"accountId\":32990686})","payload":{"account_id":"32990686","entity_id":"40276471","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"a94a821"}
[2026-09-03 16:47:20] docflow.DEBUG: GAS request {"url":"https://script.google.com/macros/s/AKfycbwrvOJD46zkuoTzdhpc1kulhV8jRfgQBFZfQ121nkIip_k8yKit4xrbWTOzaJ-C-Yed6w/exec","body":{"templateFileId":"1AjK4khA9mRlFDVy4RXRqHAg2GTFWJYC-Gac1Mx3OLnA","accountId":"32990686","folderId":"1Us2AfskxgdA729xVr0F2vjZU9y5PlYDe","key":"~VTsK5dcnHc2cSSsjM$LFSjLlgbmJXwrp3R2P5nd","data":"{\"fileName\":\"ALL FOR ALL \\u041d\\u0430\\u0440\\u044f\\u0434 \\u043d\\u0430 \\u0432\\u044b\\u043f\\u043e\\u043b\\u043d\\u0435\\u043d\\u0438\\u0435 \\u0440\\u0430\\u0431\\u043e\\u0442 1053 20260903164720\",\"leadId\":\"40276471\",\"entities\":{\"\\u0441\\u0434\\u0435\\u043b\\u043a\\u0430\":{\"\\u0421\\u043b\\u0435\\u0434\\u0443\\u044e\\u0449\\u0430\\u044f \\u0434\\u0430\\u0442\\u0430 \\u0441\\u0435\\u0440\\u0432\\u0438\\u0441\\u0430\":\"16.04.2027\",\"\\u0414\\u0430\\u0442\\u0430 \\u043c\\u043e\\u043d\\u0442\\u0430\\u0436\\u0430 (\\u0411\\u0414)\":\"16.04.2025\",\"\\u041d\\u0430\\u0437\\u0432\\u0430\\u043d\\u0438\\u0435 \\u0442\\u043e\\u0432\\u0430\\u0440\\u0430 (\\u0411\\u0414)\":\"Gree Cosmo 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)\":\"\\u041d\\u0430\\u0433\\u0440\\u0438\\u043d\\u044f\\u043a \\u0418.\",\"\\u0414\\u0430\\u0442\\u0430 \\u0438 \\u0432\\u0440\\u0435\\u043c\\u044f \\u0432\\u0438\\u0437\\u0438\\u0442\\u0430\":\"2026-09-04 16:46:00\",\"\\u0414\\u0430\\u0442\\u0430 \\u0432\\u0438\\u0437\\u0438\\u0442\\u0430\":\"04.09.2026\",\"\\u041c\\u043e\\u0434\\u0435\\u043b\\u044c \\u043e\\u0431\\u043e\\u0440\\u0443\\u0434\\u043e\\u0432\\u0430\\u043d\\u0438\\u044f 1\":\"Gree Cosmo 35\",\"\\u0426\\u0435\\u043b\\u044c \\u0432\\u044b\\u0435\\u0437\\u0434\\u0430\":\"\\u041f\\u0440\\u043e\\u0444\\u0438\\u043b\\u0430\\u043a\\u0442\\u0438\\u043a\\u0430 \\u043f\\u043e \\u0433\\u0430\\u0440\\u0430\\u043d\\u0442\\u0438\\u0438\",\"\\u0412\\u0438\\u0434 \\u0432\\u044b\\u043f\\u043e\\u043b\\u043d\\u0435\\u043d\\u043d\\u044b\\u0445 \\u0440\\u0430\\u0431\\u043e\\u0442\":\"\\u041f\\u0440\\u043e\\u0444\\u0438\\u043b\\u0430\\u043a\\u0442\\u0438\\u043a\\u0430 \\u0441\\u043f\\u043b\\u0438\\u0442-\\u0441\\u0438\\u0441\\u0442\\u0435\\u043c \\u0432\\u0441\\u0435\\u0445 \\u043c\\u043e\\u0449\\u043d\\u043e\\u0441\\u0442\\u0435\\u0439 (\\u043e\\u0447\\u0438\\u0441\\u0442\\u043a\\u0430, \\u043f\\u0440\\u043e\\u0432\\u0435\\u0440\\u043a\\u0430 \\u0440\\u0430\\u0431\\u043e\\u0442\\u044b)\",\"ID\":\"40276471\",\"\\u0421\\u0434\\u0435\\u043b\\u043a\\u0430_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"\\u041f\\u0422\\u041e\",\"Lead_name\":\"\\u041f\\u0422\\u041e\",\"\\u0411\\u044e\\u0434\\u0436\\u0435\\u0442\":\"0\",\"Budget\":\"0\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"\\u0410\\u0441\\u0442\\u0430\\u043f\\u0435\\u043d\\u043a\\u043e\\u0432\\u0430 \\u042e\\u043b\\u0438\\u0430\\u043d\\u043d\\u0430\",\"Responsible\":\"\\u0410\\u0441\\u0442\\u0430\\u043f\\u0435\\u043d\\u043a\\u043e\\u0432\\u0430 \\u042e\\u043b\\u0438\\u0430\\u043d\\u043d\\u0430\"},\"lead\":{\"\\u0421\\u043b\\u0435\\u0434\\u0443\\u044e\\u0449\\u0430\\u044f \\u0434\\u0430\\u0442\\u0430 \\u0441\\u0435\\u0440\\u0432\\u0438\\u0441\\u0430\":\"16.04.2027\",\"\\u0414\\u0430\\u0442\\u0430 \\u043c\\u043e\\u043d\\u0442\\u0430\\u0436\\u0430 (\\u0411\\u0414)\":\"16.04.2025\",\"\\u041d\\u0430\\u0437\\u0432\\u0430\\u043d\\u0438\\u0435 \\u0442\\u043e\\u0432\\u0430\\u0440\\u0430 (\\u0411\\u0414)\":\"Gree Cosmo 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)\":\"\\u041d\\u0430\\u0433\\u0440\\u0438\\u043d\\u044f\\u043a \\u0418.\",\"\\u0414\\u0430\\u0442\\u0430 \\u0438 \\u0432\\u0440\\u0435\\u043c\\u044f \\u0432\\u0438\\u0437\\u0438\\u0442\\u0430\":\"2026-09-04 16:46:00\",\"\\u0414\\u0430\\u0442\\u0430 \\u0432\\u0438\\u0437\\u0438\\u0442\\u0430\":\"04.09.2026\",\"\\u041c\\u043e\\u0434\\u0435\\u043b\\u044c \\u043e\\u0431\\u043e\\u0440\\u0443\\u0434\\u043e\\u0432\\u0430\\u043d\\u0438\\u044f 1\":\"Gree Cosmo 35\",\"\\u0426\\u0435\\u043b\\u044c \\u0432\\u044b\\u0435\\u0437\\u0434\\u0430\":\"\\u041f\\u0440\\u043e\\u0444\\u0438\\u043b\\u0430\\u043a\\u0442\\u0438\\u043a\\u0430 \\u043f\\u043e \\u0433\\u0430\\u0440\\u0430\\u043d\\u0442\\u0438\\u0438\",\"\\u0412\\u0438\\u0434 \\u0432\\u044b\\u043f\\u043e\\u043b\\u043d\\u0435\\u043d\\u043d\\u044b\\u0445 \\u0440\\u0430\\u0431\\u043e\\u0442\":\"\\u041f\\u0440\\u043e\\u0444\\u0438\\u043b\\u0430\\u043a\\u0442\\u0438\\u043a\\u0430 \\u0441\\u043f\\u043b\\u0438\\u0442-\\u0441\\u0438\\u0441\\u0442\\u0435\\u043c \\u0432\\u0441\\u0435\\u0445 \\u043c\\u043e\\u0449\\u043d\\u043e\\u0441\\u0442\\u0435\\u0439 (\\u043e\\u0447\\u0438\\u0441\\u0442\\u043a\\u0430, \\u043f\\u0440\\u043e\\u0432\\u0435\\u0440\\u043a\\u0430 \\u0440\\u0430\\u0431\\u043e\\u0442\\u044b)\",\"ID\":\"40276471\",\"\\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\":\"2004003078958\",\"\\u0410\\u0434\\u0440\\u0435\\u0441\":\"str.Stefan cel Mare 123 ap7\",\"\\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.04.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)\":\"Gree Cosmo 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)\":\"K994\",\"\\u0418\\u043c\\u044f \\u043a\\u043b\\u0438\\u0435\\u043d\\u0442\\u0430 (\\u0421\\u041c\\u0421)\":\"Eugeniu\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"37379953599\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Eugeniu Rata\",\"Contact_name\":\"Eugeniu Rata\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"\\u0410\\u0441\\u0442\\u0430\\u043f\\u0435\\u043d\\u043a\\u043e\\u0432\\u0430 \\u042e\\u043b\\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\":\"2004003078958\",\"\\u0410\\u0434\\u0440\\u0435\\u0441\":\"str.Stefan cel Mare 123 ap7\",\"\\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.04.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)\":\"Gree Cosmo 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)\":\"K994\",\"\\u0418\\u043c\\u044f \\u043a\\u043b\\u0438\\u0435\\u043d\\u0442\\u0430 (\\u0421\\u041c\\u0421)\":\"Eugeniu\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"37379953599\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Eugeniu Rata\",\"Contact_name\":\"Eugeniu Rata\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"\\u0410\\u0441\\u0442\\u0430\\u043f\\u0435\\u043d\\u043a\\u043e\\u0432\\u0430 \\u042e\\u043b\\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\":\"2004003078958\",\"\\u0410\\u0434\\u0440\\u0435\\u0441\":\"str.Stefan cel Mare 123 ap7\",\"\\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.04.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)\":\"Gree Cosmo 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)\":\"K994\",\"\\u0418\\u043c\\u044f \\u043a\\u043b\\u0438\\u0435\\u043d\\u0442\\u0430 (\\u0421\\u041c\\u0421)\":\"Eugeniu\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"37379953599\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Eugeniu Rata\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\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\":\"03.09.2026\",\"\\u041d\\u043e\\u043c\\u0435\\u0440\":\"1053\"},\"document\":{\"Date\":\"03.09.2026\",\"Number\":\"1053\"}}}","edit":true}} {"uid":"a94a821"}
[2026-09-03 16:47:28] docflow.DEBUG: GAS raw response {"raw":"[object] (stdClass: {\"code\":1,\"url\":\"https://docs.google.com/open?id=1Dp0yEMlVG2GVvE01toiI8H_-H9WUWO3rbVcN1K1b8gI\",\"file_id\":\"1Dp0yEMlVG2GVvE01toiI8H_-H9WUWO3rbVcN1K1b8gI\",\"error\":\"\",\"vars\":\"\"})"} {"uid":"a94a821"}
[2026-09-03 16:47:28] docflow.WARNING: AmoDrive generated-file move is not ready. {"fileId":"1Dp0yEMlVG2GVvE01toiI8H_-H9WUWO3rbVcN1K1b8gI","context":null} {"uid":"a94a821"}
[2026-09-03 16:47:39] docflow.INFO: Apel createDoc {"data":{"amoAccountId":"32990686","amoUserId":null,"amoEntityId":"40276471","amoEntityType":"2","templateId":"11646","corporateEntityId":"","settlementAccountId":"","is_signed":null,"gdi":null,"number":null,"currentAmoUserId":null,"lang":"ru"}} {"uid":"6462b3b"}
[2026-09-03 16:47:40] docflow.INFO: Token is valid for account 32990686. [] {"uid":"6462b3b"}
[2026-09-03 16:47:40] docflow.DEBUG: getClientAuth returned {"auth":"[object] (stdClass: {\"domain\":\"eurosanteh.amocrm.ru\",\"access_token\":\"eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImp0aSI6IjMxYjNkMGQ2NTQyYmYzOGIyMmExNWY0ZTU0NzkwYmU0MTEzZjEyZmQ5NDc2MmI5ODJjYTc2NTZkNjgyN2U4MmUxMmQwYjRmOWY0ZDBlOGIxIn0.eyJhdWQiOiIwZDY0ZGZmYi1lNTRiLTQ0OGYtOWZiZi1iYWYyMjUxYTExZGIiLCJqdGkiOiIzMWIzZDBkNjU0MmJmMzhiMjJhMTVmNGU1NDc5MGJlNDExM2YxMmZkOTQ3NjJiOTgyY2E3NjU2ZDY4MjdlODJlMTJkMGI0ZjlmNGQwZThiMSIsImlhdCI6MTc4ODQzNjg4MSwibmJmIjoxNzg4NDM2ODgxLCJleHAiOjE3ODg1MjMyODEsInN1YiI6IjEzNjg3MzAyIiwiZ3JhbnRfdHlwZSI6IiIsImFjY291bnRfaWQiOjMyOTkwNjg2LCJiYXNlX2RvbWFpbiI6ImFtb2NybS5ydSIsInZlcnNpb24iOjIsInNjb3BlcyI6WyJwdXNoX25vdGlmaWNhdGlvbnMiLCJjcm0iLCJub3RpZmljYXRpb25zIl0sImhhc2hfdXVpZCI6IjE1NDU2ODFmLWRlOTktNDVhYS04OWQxLWE0NzRlZTE3MDc1NSIsImFwaV9kb21haW4iOiJhcGktYi5hbW9jcm0ucnUifQ.Nq7VbAHPw4_Vz1yk1Jp0Jznk3ZUB2O0x2gM51y01kw5AQ937poKjIuqIc8wlWqgGwq8YHTea6_XHkqlczecLVhsbQl79-j7UCRiTpKN9NnGR6pe6av1odvO4Xs6ORIPgfncfhkgVNPwjovmAJatx7v-tvIW3AWqPG92zCms8cVeWBPCAMWmCPwnxxnQFHNBs1avhpWJSc7dd93WuXvPjK8ThuZijUAyqrSqByOc2lj5H1D15tQpdQItlMQqT40UIfn8QpLk5TOlFdJp7JkNlhjeKTVkW1Zj5zaBC1ldCLHknugquc1i-o895SZt25u1cyjXAEYKvmQO4LWzBMjzhSw\"})","file":"/home/ytvmclwh/document.amocrm.md/src/Models/Docs.php","line":121} {"uid":"6462b3b"}
[2026-09-03 16:47:42] docflow.DEBUG: AmoDrive docflow context request {"url":"https://google.emale.uno/api/docflow/google-context","query":{"account_id":"32990686","entity_id":"40276471","entity_type":"leads"}} {"uid":"6462b3b"}
[2026-09-03 16:47:42] 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=40276471&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/09/03 16:47:42</td>\r\n</tr>\r\n</table>\r\n<hr><center>tengine</center>\r\n</body>\r\n</html>\r\n"} {"uid":"6462b3b"}
[2026-09-03 16:47:42] docflow.DEBUG: AmoDrive docflow context request {"url":"https://gd.glucose-dev.online/api/docflow/google-context","query":{"account_id":"32990686","entity_id":"40276471","entity_type":"leads"}} {"uid":"6462b3b"}
[2026-09-03 16:47:42] 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":"40276471","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":"6462b3b"}
[2026-09-03 16:47:42] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://google.emale.uno/api/docflow/prepare-generated-doc","payload":{"account_id":"32990686","entity_id":"40276471","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"6462b3b"}
[2026-09-03 16:47:42] 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/09/03 16:47: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":"32990686","entity_id":"40276471","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"6462b3b"}
[2026-09-03 16:47:42] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://gd.glucose-dev.online/api/docflow/prepare-generated-doc","payload":{"account_id":"32990686","entity_id":"40276471","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"6462b3b"}
[2026-09-03 16:47:42] 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":"40276471","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"6462b3b"}
[2026-09-03 16:47:42] docflow.DEBUG: GAS request {"url":"https://script.google.com/macros/s/AKfycbwrvOJD46zkuoTzdhpc1kulhV8jRfgQBFZfQ121nkIip_k8yKit4xrbWTOzaJ-C-Yed6w/exec","body":{"templateFileId":"1ISSW7q2any2Qldkh8ZtwiERwaib6ci11XCezBMQIcRU","accountId":"32990686","folderId":"1Us2AfskxgdA729xVr0F2vjZU9y5PlYDe","key":"~VTsK5dcnHc2cSSsjM$LFSjLlgbmJXwrp3R2P5nd","data":"{\"fileName\":\"Act primire predare new All for All 1053 20260903164742\",\"leadId\":\"40276471\",\"entities\":{\"\\u0441\\u0434\\u0435\\u043b\\u043a\\u0430\":{\"\\u0421\\u043b\\u0435\\u0434\\u0443\\u044e\\u0449\\u0430\\u044f \\u0434\\u0430\\u0442\\u0430 \\u0441\\u0435\\u0440\\u0432\\u0438\\u0441\\u0430\":\"16.04.2027\",\"\\u0414\\u0430\\u0442\\u0430 \\u043c\\u043e\\u043d\\u0442\\u0430\\u0436\\u0430 (\\u0411\\u0414)\":\"16.04.2025\",\"\\u041d\\u0430\\u0437\\u0432\\u0430\\u043d\\u0438\\u0435 \\u0442\\u043e\\u0432\\u0430\\u0440\\u0430 (\\u0411\\u0414)\":\"Gree Cosmo 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)\":\"\\u041d\\u0430\\u0433\\u0440\\u0438\\u043d\\u044f\\u043a \\u0418.\",\"\\u0414\\u0430\\u0442\\u0430 \\u0438 \\u0432\\u0440\\u0435\\u043c\\u044f \\u0432\\u0438\\u0437\\u0438\\u0442\\u0430\":\"2026-09-04 16:46:00\",\"\\u0414\\u0430\\u0442\\u0430 \\u0432\\u0438\\u0437\\u0438\\u0442\\u0430\":\"04.09.2026\",\"\\u041c\\u043e\\u0434\\u0435\\u043b\\u044c \\u043e\\u0431\\u043e\\u0440\\u0443\\u0434\\u043e\\u0432\\u0430\\u043d\\u0438\\u044f 1\":\"Gree Cosmo 35\",\"\\u0426\\u0435\\u043b\\u044c \\u0432\\u044b\\u0435\\u0437\\u0434\\u0430\":\"\\u041f\\u0440\\u043e\\u0444\\u0438\\u043b\\u0430\\u043a\\u0442\\u0438\\u043a\\u0430 \\u043f\\u043e \\u0433\\u0430\\u0440\\u0430\\u043d\\u0442\\u0438\\u0438\",\"\\u0412\\u0438\\u0434 \\u0432\\u044b\\u043f\\u043e\\u043b\\u043d\\u0435\\u043d\\u043d\\u044b\\u0445 \\u0440\\u0430\\u0431\\u043e\\u0442\":\"\\u041f\\u0440\\u043e\\u0444\\u0438\\u043b\\u0430\\u043a\\u0442\\u0438\\u043a\\u0430 \\u0441\\u043f\\u043b\\u0438\\u0442-\\u0441\\u0438\\u0441\\u0442\\u0435\\u043c \\u0432\\u0441\\u0435\\u0445 \\u043c\\u043e\\u0449\\u043d\\u043e\\u0441\\u0442\\u0435\\u0439 (\\u043e\\u0447\\u0438\\u0441\\u0442\\u043a\\u0430, \\u043f\\u0440\\u043e\\u0432\\u0435\\u0440\\u043a\\u0430 \\u0440\\u0430\\u0431\\u043e\\u0442\\u044b)\",\"ID\":\"40276471\",\"\\u0421\\u0434\\u0435\\u043b\\u043a\\u0430_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"\\u041f\\u0422\\u041e\",\"Lead_name\":\"\\u041f\\u0422\\u041e\",\"\\u0411\\u044e\\u0434\\u0436\\u0435\\u0442\":\"0\",\"Budget\":\"0\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"\\u0410\\u0441\\u0442\\u0430\\u043f\\u0435\\u043d\\u043a\\u043e\\u0432\\u0430 \\u042e\\u043b\\u0438\\u0430\\u043d\\u043d\\u0430\",\"Responsible\":\"\\u0410\\u0441\\u0442\\u0430\\u043f\\u0435\\u043d\\u043a\\u043e\\u0432\\u0430 \\u042e\\u043b\\u0438\\u0430\\u043d\\u043d\\u0430\"},\"lead\":{\"\\u0421\\u043b\\u0435\\u0434\\u0443\\u044e\\u0449\\u0430\\u044f \\u0434\\u0430\\u0442\\u0430 \\u0441\\u0435\\u0440\\u0432\\u0438\\u0441\\u0430\":\"16.04.2027\",\"\\u0414\\u0430\\u0442\\u0430 \\u043c\\u043e\\u043d\\u0442\\u0430\\u0436\\u0430 (\\u0411\\u0414)\":\"16.04.2025\",\"\\u041d\\u0430\\u0437\\u0432\\u0430\\u043d\\u0438\\u0435 \\u0442\\u043e\\u0432\\u0430\\u0440\\u0430 (\\u0411\\u0414)\":\"Gree Cosmo 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)\":\"\\u041d\\u0430\\u0433\\u0440\\u0438\\u043d\\u044f\\u043a \\u0418.\",\"\\u0414\\u0430\\u0442\\u0430 \\u0438 \\u0432\\u0440\\u0435\\u043c\\u044f \\u0432\\u0438\\u0437\\u0438\\u0442\\u0430\":\"2026-09-04 16:46:00\",\"\\u0414\\u0430\\u0442\\u0430 \\u0432\\u0438\\u0437\\u0438\\u0442\\u0430\":\"04.09.2026\",\"\\u041c\\u043e\\u0434\\u0435\\u043b\\u044c \\u043e\\u0431\\u043e\\u0440\\u0443\\u0434\\u043e\\u0432\\u0430\\u043d\\u0438\\u044f 1\":\"Gree Cosmo 35\",\"\\u0426\\u0435\\u043b\\u044c \\u0432\\u044b\\u0435\\u0437\\u0434\\u0430\":\"\\u041f\\u0440\\u043e\\u0444\\u0438\\u043b\\u0430\\u043a\\u0442\\u0438\\u043a\\u0430 \\u043f\\u043e \\u0433\\u0430\\u0440\\u0430\\u043d\\u0442\\u0438\\u0438\",\"\\u0412\\u0438\\u0434 \\u0432\\u044b\\u043f\\u043e\\u043b\\u043d\\u0435\\u043d\\u043d\\u044b\\u0445 \\u0440\\u0430\\u0431\\u043e\\u0442\":\"\\u041f\\u0440\\u043e\\u0444\\u0438\\u043b\\u0430\\u043a\\u0442\\u0438\\u043a\\u0430 \\u0441\\u043f\\u043b\\u0438\\u0442-\\u0441\\u0438\\u0441\\u0442\\u0435\\u043c \\u0432\\u0441\\u0435\\u0445 \\u043c\\u043e\\u0449\\u043d\\u043e\\u0441\\u0442\\u0435\\u0439 (\\u043e\\u0447\\u0438\\u0441\\u0442\\u043a\\u0430, \\u043f\\u0440\\u043e\\u0432\\u0435\\u0440\\u043a\\u0430 \\u0440\\u0430\\u0431\\u043e\\u0442\\u044b)\",\"ID\":\"40276471\",\"\\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\":\"2004003078958\",\"\\u0410\\u0434\\u0440\\u0435\\u0441\":\"str.Stefan cel Mare 123 ap7\",\"\\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.04.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)\":\"Gree Cosmo 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)\":\"K994\",\"\\u0418\\u043c\\u044f \\u043a\\u043b\\u0438\\u0435\\u043d\\u0442\\u0430 (\\u0421\\u041c\\u0421)\":\"Eugeniu\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"37379953599\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Eugeniu Rata\",\"Contact_name\":\"Eugeniu Rata\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"\\u0410\\u0441\\u0442\\u0430\\u043f\\u0435\\u043d\\u043a\\u043e\\u0432\\u0430 \\u042e\\u043b\\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\":\"2004003078958\",\"\\u0410\\u0434\\u0440\\u0435\\u0441\":\"str.Stefan cel Mare 123 ap7\",\"\\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.04.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)\":\"Gree Cosmo 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)\":\"K994\",\"\\u0418\\u043c\\u044f \\u043a\\u043b\\u0438\\u0435\\u043d\\u0442\\u0430 (\\u0421\\u041c\\u0421)\":\"Eugeniu\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"37379953599\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Eugeniu Rata\",\"Contact_name\":\"Eugeniu Rata\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"\\u0410\\u0441\\u0442\\u0430\\u043f\\u0435\\u043d\\u043a\\u043e\\u0432\\u0430 \\u042e\\u043b\\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\":\"2004003078958\",\"\\u0410\\u0434\\u0440\\u0435\\u0441\":\"str.Stefan cel Mare 123 ap7\",\"\\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.04.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)\":\"Gree Cosmo 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)\":\"K994\",\"\\u0418\\u043c\\u044f \\u043a\\u043b\\u0438\\u0435\\u043d\\u0442\\u0430 (\\u0421\\u041c\\u0421)\":\"Eugeniu\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"37379953599\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Eugeniu Rata\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\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\":\"03.09.2026\",\"\\u041d\\u043e\\u043c\\u0435\\u0440\":\"1053\"},\"document\":{\"Date\":\"03.09.2026\",\"Number\":\"1053\"}}}","edit":true}} {"uid":"6462b3b"}
[2026-09-03 16:47:51] docflow.DEBUG: GAS raw response {"raw":"[object] (stdClass: {\"code\":1,\"url\":\"https://docs.google.com/open?id=1HpeofnhL9de4H5b-5Ewdm-A97XYCA9JrkvsHX5WjpX0\",\"file_id\":\"1HpeofnhL9de4H5b-5Ewdm-A97XYCA9JrkvsHX5WjpX0\",\"error\":\"\",\"vars\":\"\"})"} {"uid":"6462b3b"}
[2026-09-03 16:47:51] docflow.WARNING: AmoDrive generated-file move is not ready. {"fileId":"1HpeofnhL9de4H5b-5Ewdm-A97XYCA9JrkvsHX5WjpX0","context":null} {"uid":"6462b3b"}
[2026-09-03 16:49:43] docflow.INFO: Apel createDoc {"data":{"amoAccountId":"32990686","amoUserId":null,"amoEntityId":"40280317","amoEntityType":"2","templateId":"11625","corporateEntityId":"","settlementAccountId":"","is_signed":null,"gdi":null,"number":null,"currentAmoUserId":null,"lang":"ru"}} {"uid":"b90f19a"}
[2026-09-03 16:49:43] docflow.INFO: Token is valid for account 32990686. [] {"uid":"b90f19a"}
[2026-09-03 16:49:43] docflow.DEBUG: getClientAuth returned {"auth":"[object] (stdClass: {\"domain\":\"eurosanteh.amocrm.ru\",\"access_token\":\"eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImp0aSI6IjMxYjNkMGQ2NTQyYmYzOGIyMmExNWY0ZTU0NzkwYmU0MTEzZjEyZmQ5NDc2MmI5ODJjYTc2NTZkNjgyN2U4MmUxMmQwYjRmOWY0ZDBlOGIxIn0.eyJhdWQiOiIwZDY0ZGZmYi1lNTRiLTQ0OGYtOWZiZi1iYWYyMjUxYTExZGIiLCJqdGkiOiIzMWIzZDBkNjU0MmJmMzhiMjJhMTVmNGU1NDc5MGJlNDExM2YxMmZkOTQ3NjJiOTgyY2E3NjU2ZDY4MjdlODJlMTJkMGI0ZjlmNGQwZThiMSIsImlhdCI6MTc4ODQzNjg4MSwibmJmIjoxNzg4NDM2ODgxLCJleHAiOjE3ODg1MjMyODEsInN1YiI6IjEzNjg3MzAyIiwiZ3JhbnRfdHlwZSI6IiIsImFjY291bnRfaWQiOjMyOTkwNjg2LCJiYXNlX2RvbWFpbiI6ImFtb2NybS5ydSIsInZlcnNpb24iOjIsInNjb3BlcyI6WyJwdXNoX25vdGlmaWNhdGlvbnMiLCJjcm0iLCJub3RpZmljYXRpb25zIl0sImhhc2hfdXVpZCI6IjE1NDU2ODFmLWRlOTktNDVhYS04OWQxLWE0NzRlZTE3MDc1NSIsImFwaV9kb21haW4iOiJhcGktYi5hbW9jcm0ucnUifQ.Nq7VbAHPw4_Vz1yk1Jp0Jznk3ZUB2O0x2gM51y01kw5AQ937poKjIuqIc8wlWqgGwq8YHTea6_XHkqlczecLVhsbQl79-j7UCRiTpKN9NnGR6pe6av1odvO4Xs6ORIPgfncfhkgVNPwjovmAJatx7v-tvIW3AWqPG92zCms8cVeWBPCAMWmCPwnxxnQFHNBs1avhpWJSc7dd93WuXvPjK8ThuZijUAyqrSqByOc2lj5H1D15tQpdQItlMQqT40UIfn8QpLk5TOlFdJp7JkNlhjeKTVkW1Zj5zaBC1ldCLHknugquc1i-o895SZt25u1cyjXAEYKvmQO4LWzBMjzhSw\"})","file":"/home/ytvmclwh/document.amocrm.md/src/Models/Docs.php","line":121} {"uid":"b90f19a"}
[2026-09-03 16:49:45] docflow.DEBUG: AmoDrive docflow context request {"url":"https://google.emale.uno/api/docflow/google-context","query":{"account_id":"32990686","entity_id":"40280317","entity_type":"leads"}} {"uid":"b90f19a"}
[2026-09-03 16:49: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=40280317&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/09/03 16:49:45</td>\r\n</tr>\r\n</table>\r\n<hr><center>tengine</center>\r\n</body>\r\n</html>\r\n"} {"uid":"b90f19a"}
[2026-09-03 16:49:45] docflow.DEBUG: AmoDrive docflow context request {"url":"https://gd.glucose-dev.online/api/docflow/google-context","query":{"account_id":"32990686","entity_id":"40280317","entity_type":"leads"}} {"uid":"b90f19a"}
[2026-09-03 16:49: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":"40280317","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":"b90f19a"}
[2026-09-03 16:49:45] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://google.emale.uno/api/docflow/prepare-generated-doc","payload":{"account_id":"32990686","entity_id":"40280317","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"b90f19a"}
[2026-09-03 16:49: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/09/03 16:49:45</td>\r\n</tr>\r\n</table>\r\n<hr><center>tengine</center>\r\n</body>\r\n</html>\r\n","payload":{"account_id":"32990686","entity_id":"40280317","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"b90f19a"}
[2026-09-03 16:49: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":"40280317","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"b90f19a"}
[2026-09-03 16:49: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":"40280317","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"b90f19a"}
[2026-09-03 16:49: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 1054 20260903164945\",\"leadId\":\"40280317\",\"entities\":{\"\\u0441\\u0434\\u0435\\u043b\\u043a\\u0430\":{\"\\u0421\\u043b\\u0435\\u0434\\u0443\\u044e\\u0449\\u0430\\u044f \\u0434\\u0430\\u0442\\u0430 \\u0441\\u0435\\u0440\\u0432\\u0438\\u0441\\u0430\":\"04.09.2026\",\"\\u041d\\u043e\\u043c\\u0435\\u0440 \\u043a\\u043e\\u043d\\u0442\\u0440\\u0430\\u043a\\u0442\\u0430\":\"T6083\",\"\\u0414\\u0430\\u0442\\u0430 \\u043c\\u043e\\u043d\\u0442\\u0430\\u0436\\u0430 (\\u0411\\u0414)\":\"04.09.2025\",\"\\u041d\\u0430\\u0437\\u0432\\u0430\\u043d\\u0438\\u0435 \\u0442\\u043e\\u0432\\u0430\\u0440\\u0430 (\\u0411\\u0414)\":\"0\",\"\\u0412\\u0438\\u0434 \\u0440\\u0430\\u0431\\u043e\\u0442\\u044b (\\u0411\\u0414)\":\"\\u041f\\u0422\\u041e\",\"\\u0424\\u0418\\u041e \\u043c\\u043e\\u043d\\u0442\\u0430\\u0436\\u043d\\u0438\\u043a\\u0430 (\\u0411\\u0414)\":\"\\u0422\\u044e\\u0445\\u0442\\u0438\\u0439 \\u0413\",\"\\u0414\\u0435\\u043d\\u044c \\u043d\\u0435\\u0434\\u0435\\u043b\\u0438\":\"\\u0427\\u0435\\u0442\\u0432\\u0435\\u0440\\u0433\",\"\\u0414\\u0430\\u0442\\u0430 \\u0438 \\u0432\\u0440\\u0435\\u043c\\u044f \\u0432\\u0438\\u0437\\u0438\\u0442\\u0430\":\"2026-09-04 14:26:00\",\"\\u0414\\u0430\\u0442\\u0430 \\u0432\\u0438\\u0437\\u0438\\u0442\\u0430\":\"04.09.2026\",\"\\u0426\\u0435\\u043b\\u044c \\u0432\\u044b\\u0435\\u0437\\u0434\\u0430\":\"\\u041f\\u0440\\u043e\\u0444\\u0438\\u043b\\u0430\\u043a\\u0442\\u0438\\u043a\\u0430 \\u043f\\u043e \\u0433\\u0430\\u0440\\u0430\\u043d\\u0442\\u0438\\u0438\",\"\\u0412\\u0438\\u0434 \\u0432\\u044b\\u043f\\u043e\\u043b\\u043d\\u0435\\u043d\\u043d\\u044b\\u0445 \\u0440\\u0430\\u0431\\u043e\\u0442\":\"\\u041f\\u0440\\u043e\\u0444\\u0438\\u043b\\u0430\\u043a\\u0442\\u0438\\u043a\\u0430 \\u0441\\u043f\\u043b\\u0438\\u0442-\\u0441\\u0438\\u0441\\u0442\\u0435\\u043c \\u0432\\u0441\\u0435\\u0445 \\u043c\\u043e\\u0449\\u043d\\u043e\\u0441\\u0442\\u0435\\u0439 (\\u043e\\u0447\\u0438\\u0441\\u0442\\u043a\\u0430, \\u043f\\u0440\\u043e\\u0432\\u0435\\u0440\\u043a\\u0430 \\u0440\\u0430\\u0431\\u043e\\u0442\\u044b)\",\"ID\":\"40280317\",\"\\u0421\\u0434\\u0435\\u043b\\u043a\\u0430_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"\\u041f\\u0422\\u041e\",\"Lead_name\":\"\\u041f\\u0422\\u041e\",\"\\u0411\\u044e\\u0434\\u0436\\u0435\\u0442\":\"0\",\"Budget\":\"0\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"\\u0410\\u0441\\u0442\\u0430\\u043f\\u0435\\u043d\\u043a\\u043e\\u0432\\u0430 \\u042e\\u043b\\u0438\\u0430\\u043d\\u043d\\u0430\",\"Responsible\":\"\\u0410\\u0441\\u0442\\u0430\\u043f\\u0435\\u043d\\u043a\\u043e\\u0432\\u0430 \\u042e\\u043b\\u0438\\u0430\\u043d\\u043d\\u0430\"},\"lead\":{\"\\u0421\\u043b\\u0435\\u0434\\u0443\\u044e\\u0449\\u0430\\u044f \\u0434\\u0430\\u0442\\u0430 \\u0441\\u0435\\u0440\\u0432\\u0438\\u0441\\u0430\":\"04.09.2026\",\"\\u041d\\u043e\\u043c\\u0435\\u0440 \\u043a\\u043e\\u043d\\u0442\\u0440\\u0430\\u043a\\u0442\\u0430\":\"T6083\",\"\\u0414\\u0430\\u0442\\u0430 \\u043c\\u043e\\u043d\\u0442\\u0430\\u0436\\u0430 (\\u0411\\u0414)\":\"04.09.2025\",\"\\u041d\\u0430\\u0437\\u0432\\u0430\\u043d\\u0438\\u0435 \\u0442\\u043e\\u0432\\u0430\\u0440\\u0430 (\\u0411\\u0414)\":\"0\",\"\\u0412\\u0438\\u0434 \\u0440\\u0430\\u0431\\u043e\\u0442\\u044b (\\u0411\\u0414)\":\"\\u041f\\u0422\\u041e\",\"\\u0424\\u0418\\u041e \\u043c\\u043e\\u043d\\u0442\\u0430\\u0436\\u043d\\u0438\\u043a\\u0430 (\\u0411\\u0414)\":\"\\u0422\\u044e\\u0445\\u0442\\u0438\\u0439 \\u0413\",\"\\u0414\\u0435\\u043d\\u044c \\u043d\\u0435\\u0434\\u0435\\u043b\\u0438\":\"\\u0427\\u0435\\u0442\\u0432\\u0435\\u0440\\u0433\",\"\\u0414\\u0430\\u0442\\u0430 \\u0438 \\u0432\\u0440\\u0435\\u043c\\u044f \\u0432\\u0438\\u0437\\u0438\\u0442\\u0430\":\"2026-09-04 14:26:00\",\"\\u0414\\u0430\\u0442\\u0430 \\u0432\\u0438\\u0437\\u0438\\u0442\\u0430\":\"04.09.2026\",\"\\u0426\\u0435\\u043b\\u044c \\u0432\\u044b\\u0435\\u0437\\u0434\\u0430\":\"\\u041f\\u0440\\u043e\\u0444\\u0438\\u043b\\u0430\\u043a\\u0442\\u0438\\u043a\\u0430 \\u043f\\u043e \\u0433\\u0430\\u0440\\u0430\\u043d\\u0442\\u0438\\u0438\",\"\\u0412\\u0438\\u0434 \\u0432\\u044b\\u043f\\u043e\\u043b\\u043d\\u0435\\u043d\\u043d\\u044b\\u0445 \\u0440\\u0430\\u0431\\u043e\\u0442\":\"\\u041f\\u0440\\u043e\\u0444\\u0438\\u043b\\u0430\\u043a\\u0442\\u0438\\u043a\\u0430 \\u0441\\u043f\\u043b\\u0438\\u0442-\\u0441\\u0438\\u0441\\u0442\\u0435\\u043c \\u0432\\u0441\\u0435\\u0445 \\u043c\\u043e\\u0449\\u043d\\u043e\\u0441\\u0442\\u0435\\u0439 (\\u043e\\u0447\\u0438\\u0441\\u0442\\u043a\\u0430, \\u043f\\u0440\\u043e\\u0432\\u0435\\u0440\\u043a\\u0430 \\u0440\\u0430\\u0431\\u043e\\u0442\\u044b)\",\"ID\":\"40280317\",\"\\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\":\"2003001000932\",\"\\u0410\\u0434\\u0440\\u0435\\u0441\":\"str. Sf Nicolai 84\",\"\\u041f\\u043e\\u0432\\u0442\\u043e\\u0440\\u043d\\u044b\\u0439 \\u043a\\u043b\\u0438\\u0435\\u043d\\u0442?\":\"\\u0414\\u0430\",\"\\u0414\\u0430\\u0442\\u0430 \\u043c\\u043e\\u043d\\u0442\\u0430\\u0436\\u0430 (\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442)\":\"04.09.2025\",\"\\u041a\\u0442\\u043e \\u043c\\u043e\\u043d\\u0442\\u0438\\u0440\\u043e\\u0432\\u0430\\u043b (\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442)\":\"\\u041c\\u0430\\u0441\\u0442\\u0435\\u0440 \\u043a\\u043e\\u043c\\u043f\\u0430\\u043d\\u0438\\u0438 Edenvor SRL\",\"\\u041d\\u043e\\u043c\\u0435\\u0440 \\u043a\\u043e\\u043d\\u0442\\u0440\\u0430\\u043a\\u0442\\u0430 (\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442)\":\"T6083\",\"\\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)\":\"0\",\"\\u0418\\u043c\\u044f \\u043a\\u043b\\u0438\\u0435\\u043d\\u0442\\u0430 (\\u0421\\u041c\\u0421)\":\"Cristina\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"37379271876\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Cristina Trofim\",\"Contact_name\":\"Cristina Trofim\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"\\u0410\\u0441\\u0442\\u0430\\u043f\\u0435\\u043d\\u043a\\u043e\\u0432\\u0430 \\u042e\\u043b\\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\":\"2003001000932\",\"\\u0410\\u0434\\u0440\\u0435\\u0441\":\"str. Sf Nicolai 84\",\"\\u041f\\u043e\\u0432\\u0442\\u043e\\u0440\\u043d\\u044b\\u0439 \\u043a\\u043b\\u0438\\u0435\\u043d\\u0442?\":\"\\u0414\\u0430\",\"\\u0414\\u0430\\u0442\\u0430 \\u043c\\u043e\\u043d\\u0442\\u0430\\u0436\\u0430 (\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442)\":\"04.09.2025\",\"\\u041a\\u0442\\u043e \\u043c\\u043e\\u043d\\u0442\\u0438\\u0440\\u043e\\u0432\\u0430\\u043b (\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442)\":\"\\u041c\\u0430\\u0441\\u0442\\u0435\\u0440 \\u043a\\u043e\\u043c\\u043f\\u0430\\u043d\\u0438\\u0438 Edenvor SRL\",\"\\u041d\\u043e\\u043c\\u0435\\u0440 \\u043a\\u043e\\u043d\\u0442\\u0440\\u0430\\u043a\\u0442\\u0430 (\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442)\":\"T6083\",\"\\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)\":\"0\",\"\\u0418\\u043c\\u044f \\u043a\\u043b\\u0438\\u0435\\u043d\\u0442\\u0430 (\\u0421\\u041c\\u0421)\":\"Cristina\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"37379271876\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Cristina Trofim\",\"Contact_name\":\"Cristina Trofim\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"\\u0410\\u0441\\u0442\\u0430\\u043f\\u0435\\u043d\\u043a\\u043e\\u0432\\u0430 \\u042e\\u043b\\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\":\"2003001000932\",\"\\u0410\\u0434\\u0440\\u0435\\u0441\":\"str. Sf Nicolai 84\",\"\\u041f\\u043e\\u0432\\u0442\\u043e\\u0440\\u043d\\u044b\\u0439 \\u043a\\u043b\\u0438\\u0435\\u043d\\u0442?\":\"\\u0414\\u0430\",\"\\u0414\\u0430\\u0442\\u0430 \\u043c\\u043e\\u043d\\u0442\\u0430\\u0436\\u0430 (\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442)\":\"04.09.2025\",\"\\u041a\\u0442\\u043e \\u043c\\u043e\\u043d\\u0442\\u0438\\u0440\\u043e\\u0432\\u0430\\u043b (\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442)\":\"\\u041c\\u0430\\u0441\\u0442\\u0435\\u0440 \\u043a\\u043e\\u043c\\u043f\\u0430\\u043d\\u0438\\u0438 Edenvor SRL\",\"\\u041d\\u043e\\u043c\\u0435\\u0440 \\u043a\\u043e\\u043d\\u0442\\u0440\\u0430\\u043a\\u0442\\u0430 (\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442)\":\"T6083\",\"\\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)\":\"0\",\"\\u0418\\u043c\\u044f \\u043a\\u043b\\u0438\\u0435\\u043d\\u0442\\u0430 (\\u0421\\u041c\\u0421)\":\"Cristina\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"37379271876\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Cristina Trofim\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\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\":\"03.09.2026\",\"\\u041d\\u043e\\u043c\\u0435\\u0440\":\"1054\"},\"document\":{\"Date\":\"03.09.2026\",\"Number\":\"1054\"}}}","edit":true}} {"uid":"b90f19a"}
[2026-09-03 16:49:49] docflow.DEBUG: GAS raw response {"raw":"[object] (stdClass: {\"code\":1,\"url\":\"https://docs.google.com/open?id=1HZxjIRHCfyOJYMax6a4Ew9WWwJkcNoio7eYkW1IkS28\",\"file_id\":\"1HZxjIRHCfyOJYMax6a4Ew9WWwJkcNoio7eYkW1IkS28\",\"error\":\"\",\"vars\":\"\"})"} {"uid":"b90f19a"}
[2026-09-03 16:49:49] docflow.WARNING: AmoDrive generated-file move is not ready. {"fileId":"1HZxjIRHCfyOJYMax6a4Ew9WWwJkcNoio7eYkW1IkS28","context":null} {"uid":"b90f19a"}
[2026-09-03 16:50:02] docflow.INFO: Apel createDoc {"data":{"amoAccountId":"32990686","amoUserId":null,"amoEntityId":"40280317","amoEntityType":"2","templateId":"11646","corporateEntityId":"","settlementAccountId":"","is_signed":null,"gdi":null,"number":null,"currentAmoUserId":null,"lang":"ru"}} {"uid":"d457736"}
[2026-09-03 16:50:03] docflow.INFO: Token is valid for account 32990686. [] {"uid":"d457736"}
[2026-09-03 16:50:03] docflow.DEBUG: getClientAuth returned {"auth":"[object] (stdClass: {\"domain\":\"eurosanteh.amocrm.ru\",\"access_token\":\"eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImp0aSI6IjMxYjNkMGQ2NTQyYmYzOGIyMmExNWY0ZTU0NzkwYmU0MTEzZjEyZmQ5NDc2MmI5ODJjYTc2NTZkNjgyN2U4MmUxMmQwYjRmOWY0ZDBlOGIxIn0.eyJhdWQiOiIwZDY0ZGZmYi1lNTRiLTQ0OGYtOWZiZi1iYWYyMjUxYTExZGIiLCJqdGkiOiIzMWIzZDBkNjU0MmJmMzhiMjJhMTVmNGU1NDc5MGJlNDExM2YxMmZkOTQ3NjJiOTgyY2E3NjU2ZDY4MjdlODJlMTJkMGI0ZjlmNGQwZThiMSIsImlhdCI6MTc4ODQzNjg4MSwibmJmIjoxNzg4NDM2ODgxLCJleHAiOjE3ODg1MjMyODEsInN1YiI6IjEzNjg3MzAyIiwiZ3JhbnRfdHlwZSI6IiIsImFjY291bnRfaWQiOjMyOTkwNjg2LCJiYXNlX2RvbWFpbiI6ImFtb2NybS5ydSIsInZlcnNpb24iOjIsInNjb3BlcyI6WyJwdXNoX25vdGlmaWNhdGlvbnMiLCJjcm0iLCJub3RpZmljYXRpb25zIl0sImhhc2hfdXVpZCI6IjE1NDU2ODFmLWRlOTktNDVhYS04OWQxLWE0NzRlZTE3MDc1NSIsImFwaV9kb21haW4iOiJhcGktYi5hbW9jcm0ucnUifQ.Nq7VbAHPw4_Vz1yk1Jp0Jznk3ZUB2O0x2gM51y01kw5AQ937poKjIuqIc8wlWqgGwq8YHTea6_XHkqlczecLVhsbQl79-j7UCRiTpKN9NnGR6pe6av1odvO4Xs6ORIPgfncfhkgVNPwjovmAJatx7v-tvIW3AWqPG92zCms8cVeWBPCAMWmCPwnxxnQFHNBs1avhpWJSc7dd93WuXvPjK8ThuZijUAyqrSqByOc2lj5H1D15tQpdQItlMQqT40UIfn8QpLk5TOlFdJp7JkNlhjeKTVkW1Zj5zaBC1ldCLHknugquc1i-o895SZt25u1cyjXAEYKvmQO4LWzBMjzhSw\"})","file":"/home/ytvmclwh/document.amocrm.md/src/Models/Docs.php","line":121} {"uid":"d457736"}
[2026-09-03 16:50:07] docflow.DEBUG: AmoDrive docflow context request {"url":"https://google.emale.uno/api/docflow/google-context","query":{"account_id":"32990686","entity_id":"40280317","entity_type":"leads"}} {"uid":"d457736"}
[2026-09-03 16:50:07] docflow.WARNING: AmoDrive docflow context request failed {"url":"https://google.emale.uno/api/docflow/google-context","http_code":null,"error":"HTTP/2 400 ","response":"<!DOCTYPE HTML PUBLIC \"-//IETF//DTD HTML 2.0//EN\">\r\n<html>\r\n<head><title>400 Bad Request</title></head>\r\n<body>\r\n<center><h1>400 Bad Request</h1></center>\r\n Sorry for the inconvenience.<br/>\r\nPlease report this message and include the following information to us.<br/>\r\nThank you very much!</p>\r\n<table>\r\n<tr>\r\n<td>URL:</td>\r\n<td>https://gd.glucose-dev.online/api/docflow/google-context?account_id=32990686&amp;entity_id=40280317&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/09/03 16:50:07</td>\r\n</tr>\r\n</table>\r\n<hr><center>tengine</center>\r\n</body>\r\n</html>\r\n"} {"uid":"d457736"}
[2026-09-03 16:50:07] docflow.DEBUG: AmoDrive docflow context request {"url":"https://gd.glucose-dev.online/api/docflow/google-context","query":{"account_id":"32990686","entity_id":"40280317","entity_type":"leads"}} {"uid":"d457736"}
[2026-09-03 16:50:07] docflow.WARNING: AmoDrive docflow context response is not ready, trying next backend. {"url":"https://gd.glucose-dev.online/api/docflow/google-context","payload":{"ok":true,"accountId":32990686,"entityId":"40280317","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":"d457736"}
[2026-09-03 16:50:07] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://google.emale.uno/api/docflow/prepare-generated-doc","payload":{"account_id":"32990686","entity_id":"40280317","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"d457736"}
[2026-09-03 16:50:07] docflow.WARNING: AmoDrive prepare-generated-doc request failed {"url":"https://google.emale.uno/api/docflow/prepare-generated-doc","http_code":null,"error":"HTTP/2 400 ","response":"<!DOCTYPE HTML PUBLIC \"-//IETF//DTD HTML 2.0//EN\">\r\n<html>\r\n<head><title>400 Bad Request</title></head>\r\n<body>\r\n<center><h1>400 Bad Request</h1></center>\r\n Sorry for the inconvenience.<br/>\r\nPlease report this message and include the following information to us.<br/>\r\nThank you very much!</p>\r\n<table>\r\n<tr>\r\n<td>URL:</td>\r\n<td>https://gd.glucose-dev.online/api/docflow/prepare-generated-doc</td>\r\n</tr>\r\n<tr>\r\n<td>Server:</td>\r\n<td>mail.glucose-dev.online</td>\r\n</tr>\r\n<tr>\r\n<td>Date:</td>\r\n<td>2026/09/03 16:50:07</td>\r\n</tr>\r\n</table>\r\n<hr><center>tengine</center>\r\n</body>\r\n</html>\r\n","payload":{"account_id":"32990686","entity_id":"40280317","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"d457736"}
[2026-09-03 16:50:07] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://gd.glucose-dev.online/api/docflow/prepare-generated-doc","payload":{"account_id":"32990686","entity_id":"40280317","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"d457736"}
[2026-09-03 16:50:07] docflow.WARNING: AmoDrive prepare-generated-doc request failed {"url":"https://gd.glucose-dev.online/api/docflow/prepare-generated-doc","http_code":null,"error":"HTTP/2 404 ","response":"[object] (stdClass: {\"ok\":false,\"error\":\"AmoDrive is not installed for this account.\",\"accountId\":32990686})","payload":{"account_id":"32990686","entity_id":"40280317","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"d457736"}
[2026-09-03 16:50:07] docflow.DEBUG: GAS request {"url":"https://script.google.com/macros/s/AKfycbwrvOJD46zkuoTzdhpc1kulhV8jRfgQBFZfQ121nkIip_k8yKit4xrbWTOzaJ-C-Yed6w/exec","body":{"templateFileId":"1ISSW7q2any2Qldkh8ZtwiERwaib6ci11XCezBMQIcRU","accountId":"32990686","folderId":"1Us2AfskxgdA729xVr0F2vjZU9y5PlYDe","key":"~VTsK5dcnHc2cSSsjM$LFSjLlgbmJXwrp3R2P5nd","data":"{\"fileName\":\"Act primire predare new All for All 1054 20260903165007\",\"leadId\":\"40280317\",\"entities\":{\"\\u0441\\u0434\\u0435\\u043b\\u043a\\u0430\":{\"\\u0421\\u043b\\u0435\\u0434\\u0443\\u044e\\u0449\\u0430\\u044f \\u0434\\u0430\\u0442\\u0430 \\u0441\\u0435\\u0440\\u0432\\u0438\\u0441\\u0430\":\"04.09.2026\",\"\\u041d\\u043e\\u043c\\u0435\\u0440 \\u043a\\u043e\\u043d\\u0442\\u0440\\u0430\\u043a\\u0442\\u0430\":\"T6083\",\"\\u0414\\u0430\\u0442\\u0430 \\u043c\\u043e\\u043d\\u0442\\u0430\\u0436\\u0430 (\\u0411\\u0414)\":\"04.09.2025\",\"\\u041d\\u0430\\u0437\\u0432\\u0430\\u043d\\u0438\\u0435 \\u0442\\u043e\\u0432\\u0430\\u0440\\u0430 (\\u0411\\u0414)\":\"0\",\"\\u0412\\u0438\\u0434 \\u0440\\u0430\\u0431\\u043e\\u0442\\u044b (\\u0411\\u0414)\":\"\\u041f\\u0422\\u041e\",\"\\u0424\\u0418\\u041e \\u043c\\u043e\\u043d\\u0442\\u0430\\u0436\\u043d\\u0438\\u043a\\u0430 (\\u0411\\u0414)\":\"\\u0422\\u044e\\u0445\\u0442\\u0438\\u0439 \\u0413\",\"\\u0414\\u0435\\u043d\\u044c \\u043d\\u0435\\u0434\\u0435\\u043b\\u0438\":\"\\u0427\\u0435\\u0442\\u0432\\u0435\\u0440\\u0433\",\"\\u0414\\u0430\\u0442\\u0430 \\u0438 \\u0432\\u0440\\u0435\\u043c\\u044f \\u0432\\u0438\\u0437\\u0438\\u0442\\u0430\":\"2026-09-04 14:26:00\",\"\\u0414\\u0430\\u0442\\u0430 \\u0432\\u0438\\u0437\\u0438\\u0442\\u0430\":\"04.09.2026\",\"\\u0426\\u0435\\u043b\\u044c \\u0432\\u044b\\u0435\\u0437\\u0434\\u0430\":\"\\u041f\\u0440\\u043e\\u0444\\u0438\\u043b\\u0430\\u043a\\u0442\\u0438\\u043a\\u0430 \\u043f\\u043e \\u0433\\u0430\\u0440\\u0430\\u043d\\u0442\\u0438\\u0438\",\"\\u0412\\u0438\\u0434 \\u0432\\u044b\\u043f\\u043e\\u043b\\u043d\\u0435\\u043d\\u043d\\u044b\\u0445 \\u0440\\u0430\\u0431\\u043e\\u0442\":\"\\u041f\\u0440\\u043e\\u0444\\u0438\\u043b\\u0430\\u043a\\u0442\\u0438\\u043a\\u0430 \\u0441\\u043f\\u043b\\u0438\\u0442-\\u0441\\u0438\\u0441\\u0442\\u0435\\u043c \\u0432\\u0441\\u0435\\u0445 \\u043c\\u043e\\u0449\\u043d\\u043e\\u0441\\u0442\\u0435\\u0439 (\\u043e\\u0447\\u0438\\u0441\\u0442\\u043a\\u0430, \\u043f\\u0440\\u043e\\u0432\\u0435\\u0440\\u043a\\u0430 \\u0440\\u0430\\u0431\\u043e\\u0442\\u044b)\",\"ID\":\"40280317\",\"\\u0421\\u0434\\u0435\\u043b\\u043a\\u0430_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"\\u041f\\u0422\\u041e\",\"Lead_name\":\"\\u041f\\u0422\\u041e\",\"\\u0411\\u044e\\u0434\\u0436\\u0435\\u0442\":\"0\",\"Budget\":\"0\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"\\u0410\\u0441\\u0442\\u0430\\u043f\\u0435\\u043d\\u043a\\u043e\\u0432\\u0430 \\u042e\\u043b\\u0438\\u0430\\u043d\\u043d\\u0430\",\"Responsible\":\"\\u0410\\u0441\\u0442\\u0430\\u043f\\u0435\\u043d\\u043a\\u043e\\u0432\\u0430 \\u042e\\u043b\\u0438\\u0430\\u043d\\u043d\\u0430\"},\"lead\":{\"\\u0421\\u043b\\u0435\\u0434\\u0443\\u044e\\u0449\\u0430\\u044f \\u0434\\u0430\\u0442\\u0430 \\u0441\\u0435\\u0440\\u0432\\u0438\\u0441\\u0430\":\"04.09.2026\",\"\\u041d\\u043e\\u043c\\u0435\\u0440 \\u043a\\u043e\\u043d\\u0442\\u0440\\u0430\\u043a\\u0442\\u0430\":\"T6083\",\"\\u0414\\u0430\\u0442\\u0430 \\u043c\\u043e\\u043d\\u0442\\u0430\\u0436\\u0430 (\\u0411\\u0414)\":\"04.09.2025\",\"\\u041d\\u0430\\u0437\\u0432\\u0430\\u043d\\u0438\\u0435 \\u0442\\u043e\\u0432\\u0430\\u0440\\u0430 (\\u0411\\u0414)\":\"0\",\"\\u0412\\u0438\\u0434 \\u0440\\u0430\\u0431\\u043e\\u0442\\u044b (\\u0411\\u0414)\":\"\\u041f\\u0422\\u041e\",\"\\u0424\\u0418\\u041e \\u043c\\u043e\\u043d\\u0442\\u0430\\u0436\\u043d\\u0438\\u043a\\u0430 (\\u0411\\u0414)\":\"\\u0422\\u044e\\u0445\\u0442\\u0438\\u0439 \\u0413\",\"\\u0414\\u0435\\u043d\\u044c \\u043d\\u0435\\u0434\\u0435\\u043b\\u0438\":\"\\u0427\\u0435\\u0442\\u0432\\u0435\\u0440\\u0433\",\"\\u0414\\u0430\\u0442\\u0430 \\u0438 \\u0432\\u0440\\u0435\\u043c\\u044f \\u0432\\u0438\\u0437\\u0438\\u0442\\u0430\":\"2026-09-04 14:26:00\",\"\\u0414\\u0430\\u0442\\u0430 \\u0432\\u0438\\u0437\\u0438\\u0442\\u0430\":\"04.09.2026\",\"\\u0426\\u0435\\u043b\\u044c \\u0432\\u044b\\u0435\\u0437\\u0434\\u0430\":\"\\u041f\\u0440\\u043e\\u0444\\u0438\\u043b\\u0430\\u043a\\u0442\\u0438\\u043a\\u0430 \\u043f\\u043e \\u0433\\u0430\\u0440\\u0430\\u043d\\u0442\\u0438\\u0438\",\"\\u0412\\u0438\\u0434 \\u0432\\u044b\\u043f\\u043e\\u043b\\u043d\\u0435\\u043d\\u043d\\u044b\\u0445 \\u0440\\u0430\\u0431\\u043e\\u0442\":\"\\u041f\\u0440\\u043e\\u0444\\u0438\\u043b\\u0430\\u043a\\u0442\\u0438\\u043a\\u0430 \\u0441\\u043f\\u043b\\u0438\\u0442-\\u0441\\u0438\\u0441\\u0442\\u0435\\u043c \\u0432\\u0441\\u0435\\u0445 \\u043c\\u043e\\u0449\\u043d\\u043e\\u0441\\u0442\\u0435\\u0439 (\\u043e\\u0447\\u0438\\u0441\\u0442\\u043a\\u0430, \\u043f\\u0440\\u043e\\u0432\\u0435\\u0440\\u043a\\u0430 \\u0440\\u0430\\u0431\\u043e\\u0442\\u044b)\",\"ID\":\"40280317\",\"\\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\":\"2003001000932\",\"\\u0410\\u0434\\u0440\\u0435\\u0441\":\"str. Sf Nicolai 84\",\"\\u041f\\u043e\\u0432\\u0442\\u043e\\u0440\\u043d\\u044b\\u0439 \\u043a\\u043b\\u0438\\u0435\\u043d\\u0442?\":\"\\u0414\\u0430\",\"\\u0414\\u0430\\u0442\\u0430 \\u043c\\u043e\\u043d\\u0442\\u0430\\u0436\\u0430 (\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442)\":\"04.09.2025\",\"\\u041a\\u0442\\u043e \\u043c\\u043e\\u043d\\u0442\\u0438\\u0440\\u043e\\u0432\\u0430\\u043b (\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442)\":\"\\u041c\\u0430\\u0441\\u0442\\u0435\\u0440 \\u043a\\u043e\\u043c\\u043f\\u0430\\u043d\\u0438\\u0438 Edenvor SRL\",\"\\u041d\\u043e\\u043c\\u0435\\u0440 \\u043a\\u043e\\u043d\\u0442\\u0440\\u0430\\u043a\\u0442\\u0430 (\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442)\":\"T6083\",\"\\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)\":\"0\",\"\\u0418\\u043c\\u044f \\u043a\\u043b\\u0438\\u0435\\u043d\\u0442\\u0430 (\\u0421\\u041c\\u0421)\":\"Cristina\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"37379271876\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Cristina Trofim\",\"Contact_name\":\"Cristina Trofim\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"\\u0410\\u0441\\u0442\\u0430\\u043f\\u0435\\u043d\\u043a\\u043e\\u0432\\u0430 \\u042e\\u043b\\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\":\"2003001000932\",\"\\u0410\\u0434\\u0440\\u0435\\u0441\":\"str. Sf Nicolai 84\",\"\\u041f\\u043e\\u0432\\u0442\\u043e\\u0440\\u043d\\u044b\\u0439 \\u043a\\u043b\\u0438\\u0435\\u043d\\u0442?\":\"\\u0414\\u0430\",\"\\u0414\\u0430\\u0442\\u0430 \\u043c\\u043e\\u043d\\u0442\\u0430\\u0436\\u0430 (\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442)\":\"04.09.2025\",\"\\u041a\\u0442\\u043e \\u043c\\u043e\\u043d\\u0442\\u0438\\u0440\\u043e\\u0432\\u0430\\u043b (\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442)\":\"\\u041c\\u0430\\u0441\\u0442\\u0435\\u0440 \\u043a\\u043e\\u043c\\u043f\\u0430\\u043d\\u0438\\u0438 Edenvor SRL\",\"\\u041d\\u043e\\u043c\\u0435\\u0440 \\u043a\\u043e\\u043d\\u0442\\u0440\\u0430\\u043a\\u0442\\u0430 (\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442)\":\"T6083\",\"\\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)\":\"0\",\"\\u0418\\u043c\\u044f \\u043a\\u043b\\u0438\\u0435\\u043d\\u0442\\u0430 (\\u0421\\u041c\\u0421)\":\"Cristina\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"37379271876\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Cristina Trofim\",\"Contact_name\":\"Cristina Trofim\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"\\u0410\\u0441\\u0442\\u0430\\u043f\\u0435\\u043d\\u043a\\u043e\\u0432\\u0430 \\u042e\\u043b\\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\":\"2003001000932\",\"\\u0410\\u0434\\u0440\\u0435\\u0441\":\"str. Sf Nicolai 84\",\"\\u041f\\u043e\\u0432\\u0442\\u043e\\u0440\\u043d\\u044b\\u0439 \\u043a\\u043b\\u0438\\u0435\\u043d\\u0442?\":\"\\u0414\\u0430\",\"\\u0414\\u0430\\u0442\\u0430 \\u043c\\u043e\\u043d\\u0442\\u0430\\u0436\\u0430 (\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442)\":\"04.09.2025\",\"\\u041a\\u0442\\u043e \\u043c\\u043e\\u043d\\u0442\\u0438\\u0440\\u043e\\u0432\\u0430\\u043b (\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442)\":\"\\u041c\\u0430\\u0441\\u0442\\u0435\\u0440 \\u043a\\u043e\\u043c\\u043f\\u0430\\u043d\\u0438\\u0438 Edenvor SRL\",\"\\u041d\\u043e\\u043c\\u0435\\u0440 \\u043a\\u043e\\u043d\\u0442\\u0440\\u0430\\u043a\\u0442\\u0430 (\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442)\":\"T6083\",\"\\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)\":\"0\",\"\\u0418\\u043c\\u044f \\u043a\\u043b\\u0438\\u0435\\u043d\\u0442\\u0430 (\\u0421\\u041c\\u0421)\":\"Cristina\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"37379271876\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Cristina Trofim\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\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\":\"03.09.2026\",\"\\u041d\\u043e\\u043c\\u0435\\u0440\":\"1054\"},\"document\":{\"Date\":\"03.09.2026\",\"Number\":\"1054\"}}}","edit":true}} {"uid":"d457736"}
[2026-09-03 16:50:13] docflow.DEBUG: GAS raw response {"raw":"[object] (stdClass: {\"code\":1,\"url\":\"https://docs.google.com/open?id=1aarTtrgQbga5SKTXsjKCjsYIM8evGST4BBvSALw29Ws\",\"file_id\":\"1aarTtrgQbga5SKTXsjKCjsYIM8evGST4BBvSALw29Ws\",\"error\":\"\",\"vars\":\"\"})"} {"uid":"d457736"}
[2026-09-03 16:50:13] docflow.WARNING: AmoDrive generated-file move is not ready. {"fileId":"1aarTtrgQbga5SKTXsjKCjsYIM8evGST4BBvSALw29Ws","context":null} {"uid":"d457736"}
[2026-09-03 16:56:33] docflow.INFO: Apel createDoc {"data":{"amoAccountId":"32990686","amoUserId":null,"amoEntityId":"40280459","amoEntityType":"2","templateId":"11625","corporateEntityId":"","settlementAccountId":"","is_signed":null,"gdi":null,"number":null,"currentAmoUserId":null,"lang":"ru"}} {"uid":"d705f0d"}
[2026-09-03 16:56:33] docflow.INFO: Token is valid for account 32990686. [] {"uid":"d705f0d"}
[2026-09-03 16:56:33] docflow.DEBUG: getClientAuth returned {"auth":"[object] (stdClass: {\"domain\":\"eurosanteh.amocrm.ru\",\"access_token\":\"eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImp0aSI6IjMxYjNkMGQ2NTQyYmYzOGIyMmExNWY0ZTU0NzkwYmU0MTEzZjEyZmQ5NDc2MmI5ODJjYTc2NTZkNjgyN2U4MmUxMmQwYjRmOWY0ZDBlOGIxIn0.eyJhdWQiOiIwZDY0ZGZmYi1lNTRiLTQ0OGYtOWZiZi1iYWYyMjUxYTExZGIiLCJqdGkiOiIzMWIzZDBkNjU0MmJmMzhiMjJhMTVmNGU1NDc5MGJlNDExM2YxMmZkOTQ3NjJiOTgyY2E3NjU2ZDY4MjdlODJlMTJkMGI0ZjlmNGQwZThiMSIsImlhdCI6MTc4ODQzNjg4MSwibmJmIjoxNzg4NDM2ODgxLCJleHAiOjE3ODg1MjMyODEsInN1YiI6IjEzNjg3MzAyIiwiZ3JhbnRfdHlwZSI6IiIsImFjY291bnRfaWQiOjMyOTkwNjg2LCJiYXNlX2RvbWFpbiI6ImFtb2NybS5ydSIsInZlcnNpb24iOjIsInNjb3BlcyI6WyJwdXNoX25vdGlmaWNhdGlvbnMiLCJjcm0iLCJub3RpZmljYXRpb25zIl0sImhhc2hfdXVpZCI6IjE1NDU2ODFmLWRlOTktNDVhYS04OWQxLWE0NzRlZTE3MDc1NSIsImFwaV9kb21haW4iOiJhcGktYi5hbW9jcm0ucnUifQ.Nq7VbAHPw4_Vz1yk1Jp0Jznk3ZUB2O0x2gM51y01kw5AQ937poKjIuqIc8wlWqgGwq8YHTea6_XHkqlczecLVhsbQl79-j7UCRiTpKN9NnGR6pe6av1odvO4Xs6ORIPgfncfhkgVNPwjovmAJatx7v-tvIW3AWqPG92zCms8cVeWBPCAMWmCPwnxxnQFHNBs1avhpWJSc7dd93WuXvPjK8ThuZijUAyqrSqByOc2lj5H1D15tQpdQItlMQqT40UIfn8QpLk5TOlFdJp7JkNlhjeKTVkW1Zj5zaBC1ldCLHknugquc1i-o895SZt25u1cyjXAEYKvmQO4LWzBMjzhSw\"})","file":"/home/ytvmclwh/document.amocrm.md/src/Models/Docs.php","line":121} {"uid":"d705f0d"}
[2026-09-03 16:56:35] docflow.DEBUG: AmoDrive docflow context request {"url":"https://google.emale.uno/api/docflow/google-context","query":{"account_id":"32990686","entity_id":"40280459","entity_type":"leads"}} {"uid":"d705f0d"}
[2026-09-03 16:56: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=40280459&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/09/03 16:56:35</td>\r\n</tr>\r\n</table>\r\n<hr><center>tengine</center>\r\n</body>\r\n</html>\r\n"} {"uid":"d705f0d"}
[2026-09-03 16:56:35] docflow.DEBUG: AmoDrive docflow context request {"url":"https://gd.glucose-dev.online/api/docflow/google-context","query":{"account_id":"32990686","entity_id":"40280459","entity_type":"leads"}} {"uid":"d705f0d"}
[2026-09-03 16:56: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":"40280459","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":"d705f0d"}
[2026-09-03 16:56:35] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://google.emale.uno/api/docflow/prepare-generated-doc","payload":{"account_id":"32990686","entity_id":"40280459","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"d705f0d"}
[2026-09-03 16:56: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/09/03 16:56:35</td>\r\n</tr>\r\n</table>\r\n<hr><center>tengine</center>\r\n</body>\r\n</html>\r\n","payload":{"account_id":"32990686","entity_id":"40280459","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"d705f0d"}
[2026-09-03 16:56: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":"40280459","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"d705f0d"}
[2026-09-03 16:56: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":"40280459","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"d705f0d"}
[2026-09-03 16:56: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 1055 20260903165635\",\"leadId\":\"40280459\",\"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.09.2026\",\"\\u041d\\u043e\\u043c\\u0435\\u0440 \\u043a\\u043e\\u043d\\u0442\\u0440\\u0430\\u043a\\u0442\\u0430\":\"B6291\",\"\\u0414\\u0430\\u0442\\u0430 \\u043c\\u043e\\u043d\\u0442\\u0430\\u0436\\u0430 (\\u0411\\u0414)\":\"12.09.2025\",\"\\u041d\\u0430\\u0437\\u0432\\u0430\\u043d\\u0438\\u0435 \\u0442\\u043e\\u0432\\u0430\\u0440\\u0430 (\\u0411\\u0414)\":\"0\",\"\\u0412\\u0438\\u0434 \\u0440\\u0430\\u0431\\u043e\\u0442\\u044b (\\u0411\\u0414)\":\"\\u0423\\u0441\\u0442\\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\":\"\\u0427\\u0435\\u0442\\u0432\\u0435\\u0440\\u0433\",\"\\u0414\\u0430\\u0442\\u0430 \\u0438 \\u0432\\u0440\\u0435\\u043c\\u044f \\u0432\\u0438\\u0437\\u0438\\u0442\\u0430\":\"2026-09-04 16:56:00\",\"\\u0414\\u0430\\u0442\\u0430 \\u0432\\u0438\\u0437\\u0438\\u0442\\u0430\":\"04.09.2026\",\"\\u0426\\u0435\\u043b\\u044c \\u0432\\u044b\\u0435\\u0437\\u0434\\u0430\":\"\\u041f\\u0440\\u043e\\u0444\\u0438\\u043b\\u0430\\u043a\\u0442\\u0438\\u043a\\u0430 \\u043f\\u043e \\u0433\\u0430\\u0440\\u0430\\u043d\\u0442\\u0438\\u0438\",\"\\u0412\\u0438\\u0434 \\u0432\\u044b\\u043f\\u043e\\u043b\\u043d\\u0435\\u043d\\u043d\\u044b\\u0445 \\u0440\\u0430\\u0431\\u043e\\u0442\":\"\\u041f\\u0440\\u043e\\u0444\\u0438\\u043b\\u0430\\u043a\\u0442\\u0438\\u043a\\u0430 \\u0441\\u043f\\u043b\\u0438\\u0442-\\u0441\\u0438\\u0441\\u0442\\u0435\\u043c \\u0432\\u0441\\u0435\\u0445 \\u043c\\u043e\\u0449\\u043d\\u043e\\u0441\\u0442\\u0435\\u0439 (\\u043e\\u0447\\u0438\\u0441\\u0442\\u043a\\u0430, \\u043f\\u0440\\u043e\\u0432\\u0435\\u0440\\u043a\\u0430 \\u0440\\u0430\\u0431\\u043e\\u0442\\u044b)\",\"\\u041c\\u043e\\u0434\\u0435\\u043b\\u044c \\u043e\\u0431\\u043e\\u0440\\u0443\\u0434\\u043e\\u0432\\u0430\\u043d\\u0438\\u044f 1\":\"Gree Borra\",\"ID\":\"40280459\",\"\\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.09.2026\",\"\\u041d\\u043e\\u043c\\u0435\\u0440 \\u043a\\u043e\\u043d\\u0442\\u0440\\u0430\\u043a\\u0442\\u0430\":\"B6291\",\"\\u0414\\u0430\\u0442\\u0430 \\u043c\\u043e\\u043d\\u0442\\u0430\\u0436\\u0430 (\\u0411\\u0414)\":\"12.09.2025\",\"\\u041d\\u0430\\u0437\\u0432\\u0430\\u043d\\u0438\\u0435 \\u0442\\u043e\\u0432\\u0430\\u0440\\u0430 (\\u0411\\u0414)\":\"0\",\"\\u0412\\u0438\\u0434 \\u0440\\u0430\\u0431\\u043e\\u0442\\u044b (\\u0411\\u0414)\":\"\\u0423\\u0441\\u0442\\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\":\"\\u0427\\u0435\\u0442\\u0432\\u0435\\u0440\\u0433\",\"\\u0414\\u0430\\u0442\\u0430 \\u0438 \\u0432\\u0440\\u0435\\u043c\\u044f \\u0432\\u0438\\u0437\\u0438\\u0442\\u0430\":\"2026-09-04 16:56:00\",\"\\u0414\\u0430\\u0442\\u0430 \\u0432\\u0438\\u0437\\u0438\\u0442\\u0430\":\"04.09.2026\",\"\\u0426\\u0435\\u043b\\u044c \\u0432\\u044b\\u0435\\u0437\\u0434\\u0430\":\"\\u041f\\u0440\\u043e\\u0444\\u0438\\u043b\\u0430\\u043a\\u0442\\u0438\\u043a\\u0430 \\u043f\\u043e \\u0433\\u0430\\u0440\\u0430\\u043d\\u0442\\u0438\\u0438\",\"\\u0412\\u0438\\u0434 \\u0432\\u044b\\u043f\\u043e\\u043b\\u043d\\u0435\\u043d\\u043d\\u044b\\u0445 \\u0440\\u0430\\u0431\\u043e\\u0442\":\"\\u041f\\u0440\\u043e\\u0444\\u0438\\u043b\\u0430\\u043a\\u0442\\u0438\\u043a\\u0430 \\u0441\\u043f\\u043b\\u0438\\u0442-\\u0441\\u0438\\u0441\\u0442\\u0435\\u043c \\u0432\\u0441\\u0435\\u0445 \\u043c\\u043e\\u0449\\u043d\\u043e\\u0441\\u0442\\u0435\\u0439 (\\u043e\\u0447\\u0438\\u0441\\u0442\\u043a\\u0430, \\u043f\\u0440\\u043e\\u0432\\u0435\\u0440\\u043a\\u0430 \\u0440\\u0430\\u0431\\u043e\\u0442\\u044b)\",\"\\u041c\\u043e\\u0434\\u0435\\u043b\\u044c \\u043e\\u0431\\u043e\\u0440\\u0443\\u0434\\u043e\\u0432\\u0430\\u043d\\u0438\\u044f 1\":\"Gree Borra\",\"ID\":\"40280459\",\"\\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\":\"983101215499\",\"\\u0410\\u0434\\u0440\\u0435\\u0441\":\"str.Alba Iulia 77\\/2 ap88\",\"\\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)\":\"B6291\",\"\\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 50+  Gree Borra *2\",\"\\u0418\\u043c\\u044f \\u043a\\u043b\\u0438\\u0435\\u043d\\u0442\\u0430 (\\u0421\\u041c\\u0421)\":\"Ana\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"37379812625\",\"\\u0410\\u0434\\u0440\\u0435\\u0441 2\":\"str.Alba Iulia 77\\/2 a 69\",\"\\u0414\\u0430\\u0442\\u0430 \\u0440\\u043e\\u0436\\u0434\\u0435\\u043d\\u0438\\u044f\":\"24.07.2001\",\"\\u041a\\u043e\\u043b - \\u0432\\u043e \\u043e\\u0431\\u043e\\u0440\\u0443\\u0434\\u043e\\u0432\\u0430\\u043d\\u0438\\u044f (\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442)\":\"3\",\"\\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\\u0438\\u043f \\u043a\\u043b\\u0438\\u0435\\u043d\\u0442\\u0430\":\"\\u0424\\u0438\\u0437.\\u043b\\u0438\\u0446\",\"\\u0420\\u0430\\u0439\\u043e\\u043d\":\"\\u0411\\u0443\\u044e\\u043a\\u0430\\u043d\\u044b\",\"\\u0414\\u0430\\u0442\\u0430 \\u043c\\u043e\\u043d\\u0442\\u0430\\u0436\\u0430 (\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442)\":\"08.05.2025\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Ana Coretchi\",\"Contact_name\":\"Ana Coretchi\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"\\u0410\\u0441\\u0442\\u0430\\u043f\\u0435\\u043d\\u043a\\u043e\\u0432\\u0430 \\u042e\\u043b\\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\":\"983101215499\",\"\\u0410\\u0434\\u0440\\u0435\\u0441\":\"str.Alba Iulia 77\\/2 ap88\",\"\\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)\":\"B6291\",\"\\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 50+  Gree Borra *2\",\"\\u0418\\u043c\\u044f \\u043a\\u043b\\u0438\\u0435\\u043d\\u0442\\u0430 (\\u0421\\u041c\\u0421)\":\"Ana\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"37379812625\",\"\\u0410\\u0434\\u0440\\u0435\\u0441 2\":\"str.Alba Iulia 77\\/2 a 69\",\"\\u0414\\u0430\\u0442\\u0430 \\u0440\\u043e\\u0436\\u0434\\u0435\\u043d\\u0438\\u044f\":\"24.07.2001\",\"\\u041a\\u043e\\u043b - \\u0432\\u043e \\u043e\\u0431\\u043e\\u0440\\u0443\\u0434\\u043e\\u0432\\u0430\\u043d\\u0438\\u044f (\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442)\":\"3\",\"\\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\\u0438\\u043f \\u043a\\u043b\\u0438\\u0435\\u043d\\u0442\\u0430\":\"\\u0424\\u0438\\u0437.\\u043b\\u0438\\u0446\",\"\\u0420\\u0430\\u0439\\u043e\\u043d\":\"\\u0411\\u0443\\u044e\\u043a\\u0430\\u043d\\u044b\",\"\\u0414\\u0430\\u0442\\u0430 \\u043c\\u043e\\u043d\\u0442\\u0430\\u0436\\u0430 (\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442)\":\"08.05.2025\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Ana Coretchi\",\"Contact_name\":\"Ana Coretchi\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"\\u0410\\u0441\\u0442\\u0430\\u043f\\u0435\\u043d\\u043a\\u043e\\u0432\\u0430 \\u042e\\u043b\\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\":\"983101215499\",\"\\u0410\\u0434\\u0440\\u0435\\u0441\":\"str.Alba Iulia 77\\/2 ap88\",\"\\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)\":\"B6291\",\"\\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 50+  Gree Borra *2\",\"\\u0418\\u043c\\u044f \\u043a\\u043b\\u0438\\u0435\\u043d\\u0442\\u0430 (\\u0421\\u041c\\u0421)\":\"Ana\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"37379812625\",\"\\u0410\\u0434\\u0440\\u0435\\u0441 2\":\"str.Alba Iulia 77\\/2 a 69\",\"\\u0414\\u0430\\u0442\\u0430 \\u0440\\u043e\\u0436\\u0434\\u0435\\u043d\\u0438\\u044f\":\"24.07.2001\",\"\\u041a\\u043e\\u043b - \\u0432\\u043e \\u043e\\u0431\\u043e\\u0440\\u0443\\u0434\\u043e\\u0432\\u0430\\u043d\\u0438\\u044f (\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442)\":\"3\",\"\\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\\u0438\\u043f \\u043a\\u043b\\u0438\\u0435\\u043d\\u0442\\u0430\":\"\\u0424\\u0438\\u0437.\\u043b\\u0438\\u0446\",\"\\u0420\\u0430\\u0439\\u043e\\u043d\":\"\\u0411\\u0443\\u044e\\u043a\\u0430\\u043d\\u044b\",\"\\u0414\\u0430\\u0442\\u0430 \\u043c\\u043e\\u043d\\u0442\\u0430\\u0436\\u0430 (\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442)\":\"08.05.2025\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Ana Coretchi\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\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\":\"03.09.2026\",\"\\u041d\\u043e\\u043c\\u0435\\u0440\":\"1055\"},\"document\":{\"Date\":\"03.09.2026\",\"Number\":\"1055\"}}}","edit":true}} {"uid":"d705f0d"}
[2026-09-03 16:56:42] docflow.DEBUG: GAS raw response {"raw":"[object] (stdClass: {\"code\":1,\"url\":\"https://docs.google.com/open?id=19kjgRhOFD5G36GdHLR3Jd12NVmXP5sOctE6Ai3IMUIs\",\"file_id\":\"19kjgRhOFD5G36GdHLR3Jd12NVmXP5sOctE6Ai3IMUIs\",\"error\":\"\",\"vars\":\"\"})"} {"uid":"d705f0d"}
[2026-09-03 16:56:42] docflow.WARNING: AmoDrive generated-file move is not ready. {"fileId":"19kjgRhOFD5G36GdHLR3Jd12NVmXP5sOctE6Ai3IMUIs","context":null} {"uid":"d705f0d"}
[2026-09-03 16:56:47] docflow.INFO: Apel createDoc {"data":{"amoAccountId":"32990686","amoUserId":null,"amoEntityId":"40280459","amoEntityType":"2","templateId":"11646","corporateEntityId":"","settlementAccountId":"","is_signed":null,"gdi":null,"number":null,"currentAmoUserId":null,"lang":"ru"}} {"uid":"a87693e"}
[2026-09-03 16:56:48] docflow.INFO: Token is valid for account 32990686. [] {"uid":"a87693e"}
[2026-09-03 16:56:48] docflow.DEBUG: getClientAuth returned {"auth":"[object] (stdClass: {\"domain\":\"eurosanteh.amocrm.ru\",\"access_token\":\"eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImp0aSI6IjMxYjNkMGQ2NTQyYmYzOGIyMmExNWY0ZTU0NzkwYmU0MTEzZjEyZmQ5NDc2MmI5ODJjYTc2NTZkNjgyN2U4MmUxMmQwYjRmOWY0ZDBlOGIxIn0.eyJhdWQiOiIwZDY0ZGZmYi1lNTRiLTQ0OGYtOWZiZi1iYWYyMjUxYTExZGIiLCJqdGkiOiIzMWIzZDBkNjU0MmJmMzhiMjJhMTVmNGU1NDc5MGJlNDExM2YxMmZkOTQ3NjJiOTgyY2E3NjU2ZDY4MjdlODJlMTJkMGI0ZjlmNGQwZThiMSIsImlhdCI6MTc4ODQzNjg4MSwibmJmIjoxNzg4NDM2ODgxLCJleHAiOjE3ODg1MjMyODEsInN1YiI6IjEzNjg3MzAyIiwiZ3JhbnRfdHlwZSI6IiIsImFjY291bnRfaWQiOjMyOTkwNjg2LCJiYXNlX2RvbWFpbiI6ImFtb2NybS5ydSIsInZlcnNpb24iOjIsInNjb3BlcyI6WyJwdXNoX25vdGlmaWNhdGlvbnMiLCJjcm0iLCJub3RpZmljYXRpb25zIl0sImhhc2hfdXVpZCI6IjE1NDU2ODFmLWRlOTktNDVhYS04OWQxLWE0NzRlZTE3MDc1NSIsImFwaV9kb21haW4iOiJhcGktYi5hbW9jcm0ucnUifQ.Nq7VbAHPw4_Vz1yk1Jp0Jznk3ZUB2O0x2gM51y01kw5AQ937poKjIuqIc8wlWqgGwq8YHTea6_XHkqlczecLVhsbQl79-j7UCRiTpKN9NnGR6pe6av1odvO4Xs6ORIPgfncfhkgVNPwjovmAJatx7v-tvIW3AWqPG92zCms8cVeWBPCAMWmCPwnxxnQFHNBs1avhpWJSc7dd93WuXvPjK8ThuZijUAyqrSqByOc2lj5H1D15tQpdQItlMQqT40UIfn8QpLk5TOlFdJp7JkNlhjeKTVkW1Zj5zaBC1ldCLHknugquc1i-o895SZt25u1cyjXAEYKvmQO4LWzBMjzhSw\"})","file":"/home/ytvmclwh/document.amocrm.md/src/Models/Docs.php","line":121} {"uid":"a87693e"}
[2026-09-03 16:56:50] docflow.DEBUG: AmoDrive docflow context request {"url":"https://google.emale.uno/api/docflow/google-context","query":{"account_id":"32990686","entity_id":"40280459","entity_type":"leads"}} {"uid":"a87693e"}
[2026-09-03 16:56:50] docflow.WARNING: AmoDrive docflow context request failed {"url":"https://google.emale.uno/api/docflow/google-context","http_code":null,"error":"HTTP/2 400 ","response":"<!DOCTYPE HTML PUBLIC \"-//IETF//DTD HTML 2.0//EN\">\r\n<html>\r\n<head><title>400 Bad Request</title></head>\r\n<body>\r\n<center><h1>400 Bad Request</h1></center>\r\n Sorry for the inconvenience.<br/>\r\nPlease report this message and include the following information to us.<br/>\r\nThank you very much!</p>\r\n<table>\r\n<tr>\r\n<td>URL:</td>\r\n<td>https://gd.glucose-dev.online/api/docflow/google-context?account_id=32990686&amp;entity_id=40280459&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/09/03 16:56:50</td>\r\n</tr>\r\n</table>\r\n<hr><center>tengine</center>\r\n</body>\r\n</html>\r\n"} {"uid":"a87693e"}
[2026-09-03 16:56:50] docflow.DEBUG: AmoDrive docflow context request {"url":"https://gd.glucose-dev.online/api/docflow/google-context","query":{"account_id":"32990686","entity_id":"40280459","entity_type":"leads"}} {"uid":"a87693e"}
[2026-09-03 16:56:50] docflow.WARNING: AmoDrive docflow context response is not ready, trying next backend. {"url":"https://gd.glucose-dev.online/api/docflow/google-context","payload":{"ok":true,"accountId":32990686,"entityId":"40280459","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":"a87693e"}
[2026-09-03 16:56:50] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://google.emale.uno/api/docflow/prepare-generated-doc","payload":{"account_id":"32990686","entity_id":"40280459","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"a87693e"}
[2026-09-03 16:56:50] docflow.WARNING: AmoDrive prepare-generated-doc request failed {"url":"https://google.emale.uno/api/docflow/prepare-generated-doc","http_code":null,"error":"HTTP/2 400 ","response":"<!DOCTYPE HTML PUBLIC \"-//IETF//DTD HTML 2.0//EN\">\r\n<html>\r\n<head><title>400 Bad Request</title></head>\r\n<body>\r\n<center><h1>400 Bad Request</h1></center>\r\n Sorry for the inconvenience.<br/>\r\nPlease report this message and include the following information to us.<br/>\r\nThank you very much!</p>\r\n<table>\r\n<tr>\r\n<td>URL:</td>\r\n<td>https://gd.glucose-dev.online/api/docflow/prepare-generated-doc</td>\r\n</tr>\r\n<tr>\r\n<td>Server:</td>\r\n<td>mail.glucose-dev.online</td>\r\n</tr>\r\n<tr>\r\n<td>Date:</td>\r\n<td>2026/09/03 16:56:50</td>\r\n</tr>\r\n</table>\r\n<hr><center>tengine</center>\r\n</body>\r\n</html>\r\n","payload":{"account_id":"32990686","entity_id":"40280459","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"a87693e"}
[2026-09-03 16:56:50] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://gd.glucose-dev.online/api/docflow/prepare-generated-doc","payload":{"account_id":"32990686","entity_id":"40280459","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"a87693e"}
[2026-09-03 16:56: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":"40280459","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"a87693e"}
[2026-09-03 16:56:51] docflow.DEBUG: GAS request {"url":"https://script.google.com/macros/s/AKfycbwrvOJD46zkuoTzdhpc1kulhV8jRfgQBFZfQ121nkIip_k8yKit4xrbWTOzaJ-C-Yed6w/exec","body":{"templateFileId":"1ISSW7q2any2Qldkh8ZtwiERwaib6ci11XCezBMQIcRU","accountId":"32990686","folderId":"1Us2AfskxgdA729xVr0F2vjZU9y5PlYDe","key":"~VTsK5dcnHc2cSSsjM$LFSjLlgbmJXwrp3R2P5nd","data":"{\"fileName\":\"Act primire predare new All for All 1055 20260903165650\",\"leadId\":\"40280459\",\"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.09.2026\",\"\\u041d\\u043e\\u043c\\u0435\\u0440 \\u043a\\u043e\\u043d\\u0442\\u0440\\u0430\\u043a\\u0442\\u0430\":\"B6291\",\"\\u0414\\u0430\\u0442\\u0430 \\u043c\\u043e\\u043d\\u0442\\u0430\\u0436\\u0430 (\\u0411\\u0414)\":\"12.09.2025\",\"\\u041d\\u0430\\u0437\\u0432\\u0430\\u043d\\u0438\\u0435 \\u0442\\u043e\\u0432\\u0430\\u0440\\u0430 (\\u0411\\u0414)\":\"0\",\"\\u0412\\u0438\\u0434 \\u0440\\u0430\\u0431\\u043e\\u0442\\u044b (\\u0411\\u0414)\":\"\\u0423\\u0441\\u0442\\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\":\"\\u0427\\u0435\\u0442\\u0432\\u0435\\u0440\\u0433\",\"\\u0414\\u0430\\u0442\\u0430 \\u0438 \\u0432\\u0440\\u0435\\u043c\\u044f \\u0432\\u0438\\u0437\\u0438\\u0442\\u0430\":\"2026-09-04 16:56:00\",\"\\u0414\\u0430\\u0442\\u0430 \\u0432\\u0438\\u0437\\u0438\\u0442\\u0430\":\"04.09.2026\",\"\\u0426\\u0435\\u043b\\u044c \\u0432\\u044b\\u0435\\u0437\\u0434\\u0430\":\"\\u041f\\u0440\\u043e\\u0444\\u0438\\u043b\\u0430\\u043a\\u0442\\u0438\\u043a\\u0430 \\u043f\\u043e \\u0433\\u0430\\u0440\\u0430\\u043d\\u0442\\u0438\\u0438\",\"\\u0412\\u0438\\u0434 \\u0432\\u044b\\u043f\\u043e\\u043b\\u043d\\u0435\\u043d\\u043d\\u044b\\u0445 \\u0440\\u0430\\u0431\\u043e\\u0442\":\"\\u041f\\u0440\\u043e\\u0444\\u0438\\u043b\\u0430\\u043a\\u0442\\u0438\\u043a\\u0430 \\u0441\\u043f\\u043b\\u0438\\u0442-\\u0441\\u0438\\u0441\\u0442\\u0435\\u043c \\u0432\\u0441\\u0435\\u0445 \\u043c\\u043e\\u0449\\u043d\\u043e\\u0441\\u0442\\u0435\\u0439 (\\u043e\\u0447\\u0438\\u0441\\u0442\\u043a\\u0430, \\u043f\\u0440\\u043e\\u0432\\u0435\\u0440\\u043a\\u0430 \\u0440\\u0430\\u0431\\u043e\\u0442\\u044b)\",\"\\u041c\\u043e\\u0434\\u0435\\u043b\\u044c \\u043e\\u0431\\u043e\\u0440\\u0443\\u0434\\u043e\\u0432\\u0430\\u043d\\u0438\\u044f 1\":\"Gree Borra\",\"ID\":\"40280459\",\"\\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.09.2026\",\"\\u041d\\u043e\\u043c\\u0435\\u0440 \\u043a\\u043e\\u043d\\u0442\\u0440\\u0430\\u043a\\u0442\\u0430\":\"B6291\",\"\\u0414\\u0430\\u0442\\u0430 \\u043c\\u043e\\u043d\\u0442\\u0430\\u0436\\u0430 (\\u0411\\u0414)\":\"12.09.2025\",\"\\u041d\\u0430\\u0437\\u0432\\u0430\\u043d\\u0438\\u0435 \\u0442\\u043e\\u0432\\u0430\\u0440\\u0430 (\\u0411\\u0414)\":\"0\",\"\\u0412\\u0438\\u0434 \\u0440\\u0430\\u0431\\u043e\\u0442\\u044b (\\u0411\\u0414)\":\"\\u0423\\u0441\\u0442\\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\":\"\\u0427\\u0435\\u0442\\u0432\\u0435\\u0440\\u0433\",\"\\u0414\\u0430\\u0442\\u0430 \\u0438 \\u0432\\u0440\\u0435\\u043c\\u044f \\u0432\\u0438\\u0437\\u0438\\u0442\\u0430\":\"2026-09-04 16:56:00\",\"\\u0414\\u0430\\u0442\\u0430 \\u0432\\u0438\\u0437\\u0438\\u0442\\u0430\":\"04.09.2026\",\"\\u0426\\u0435\\u043b\\u044c \\u0432\\u044b\\u0435\\u0437\\u0434\\u0430\":\"\\u041f\\u0440\\u043e\\u0444\\u0438\\u043b\\u0430\\u043a\\u0442\\u0438\\u043a\\u0430 \\u043f\\u043e \\u0433\\u0430\\u0440\\u0430\\u043d\\u0442\\u0438\\u0438\",\"\\u0412\\u0438\\u0434 \\u0432\\u044b\\u043f\\u043e\\u043b\\u043d\\u0435\\u043d\\u043d\\u044b\\u0445 \\u0440\\u0430\\u0431\\u043e\\u0442\":\"\\u041f\\u0440\\u043e\\u0444\\u0438\\u043b\\u0430\\u043a\\u0442\\u0438\\u043a\\u0430 \\u0441\\u043f\\u043b\\u0438\\u0442-\\u0441\\u0438\\u0441\\u0442\\u0435\\u043c \\u0432\\u0441\\u0435\\u0445 \\u043c\\u043e\\u0449\\u043d\\u043e\\u0441\\u0442\\u0435\\u0439 (\\u043e\\u0447\\u0438\\u0441\\u0442\\u043a\\u0430, \\u043f\\u0440\\u043e\\u0432\\u0435\\u0440\\u043a\\u0430 \\u0440\\u0430\\u0431\\u043e\\u0442\\u044b)\",\"\\u041c\\u043e\\u0434\\u0435\\u043b\\u044c \\u043e\\u0431\\u043e\\u0440\\u0443\\u0434\\u043e\\u0432\\u0430\\u043d\\u0438\\u044f 1\":\"Gree Borra\",\"ID\":\"40280459\",\"\\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\":\"983101215499\",\"\\u0410\\u0434\\u0440\\u0435\\u0441\":\"str.Alba Iulia 77\\/2 ap88\",\"\\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)\":\"B6291\",\"\\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 50+  Gree Borra *2\",\"\\u0418\\u043c\\u044f \\u043a\\u043b\\u0438\\u0435\\u043d\\u0442\\u0430 (\\u0421\\u041c\\u0421)\":\"Ana\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"37379812625\",\"\\u0410\\u0434\\u0440\\u0435\\u0441 2\":\"str.Alba Iulia 77\\/2 a 69\",\"\\u0414\\u0430\\u0442\\u0430 \\u0440\\u043e\\u0436\\u0434\\u0435\\u043d\\u0438\\u044f\":\"24.07.2001\",\"\\u041a\\u043e\\u043b - \\u0432\\u043e \\u043e\\u0431\\u043e\\u0440\\u0443\\u0434\\u043e\\u0432\\u0430\\u043d\\u0438\\u044f (\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442)\":\"3\",\"\\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\\u0438\\u043f \\u043a\\u043b\\u0438\\u0435\\u043d\\u0442\\u0430\":\"\\u0424\\u0438\\u0437.\\u043b\\u0438\\u0446\",\"\\u0420\\u0430\\u0439\\u043e\\u043d\":\"\\u0411\\u0443\\u044e\\u043a\\u0430\\u043d\\u044b\",\"\\u0414\\u0430\\u0442\\u0430 \\u043c\\u043e\\u043d\\u0442\\u0430\\u0436\\u0430 (\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442)\":\"08.05.2025\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Ana Coretchi\",\"Contact_name\":\"Ana Coretchi\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"\\u0410\\u0441\\u0442\\u0430\\u043f\\u0435\\u043d\\u043a\\u043e\\u0432\\u0430 \\u042e\\u043b\\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\":\"983101215499\",\"\\u0410\\u0434\\u0440\\u0435\\u0441\":\"str.Alba Iulia 77\\/2 ap88\",\"\\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)\":\"B6291\",\"\\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 50+  Gree Borra *2\",\"\\u0418\\u043c\\u044f \\u043a\\u043b\\u0438\\u0435\\u043d\\u0442\\u0430 (\\u0421\\u041c\\u0421)\":\"Ana\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"37379812625\",\"\\u0410\\u0434\\u0440\\u0435\\u0441 2\":\"str.Alba Iulia 77\\/2 a 69\",\"\\u0414\\u0430\\u0442\\u0430 \\u0440\\u043e\\u0436\\u0434\\u0435\\u043d\\u0438\\u044f\":\"24.07.2001\",\"\\u041a\\u043e\\u043b - \\u0432\\u043e \\u043e\\u0431\\u043e\\u0440\\u0443\\u0434\\u043e\\u0432\\u0430\\u043d\\u0438\\u044f (\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442)\":\"3\",\"\\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\\u0438\\u043f \\u043a\\u043b\\u0438\\u0435\\u043d\\u0442\\u0430\":\"\\u0424\\u0438\\u0437.\\u043b\\u0438\\u0446\",\"\\u0420\\u0430\\u0439\\u043e\\u043d\":\"\\u0411\\u0443\\u044e\\u043a\\u0430\\u043d\\u044b\",\"\\u0414\\u0430\\u0442\\u0430 \\u043c\\u043e\\u043d\\u0442\\u0430\\u0436\\u0430 (\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442)\":\"08.05.2025\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Ana Coretchi\",\"Contact_name\":\"Ana Coretchi\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"\\u0410\\u0441\\u0442\\u0430\\u043f\\u0435\\u043d\\u043a\\u043e\\u0432\\u0430 \\u042e\\u043b\\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\":\"983101215499\",\"\\u0410\\u0434\\u0440\\u0435\\u0441\":\"str.Alba Iulia 77\\/2 ap88\",\"\\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)\":\"B6291\",\"\\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 50+  Gree Borra *2\",\"\\u0418\\u043c\\u044f \\u043a\\u043b\\u0438\\u0435\\u043d\\u0442\\u0430 (\\u0421\\u041c\\u0421)\":\"Ana\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"37379812625\",\"\\u0410\\u0434\\u0440\\u0435\\u0441 2\":\"str.Alba Iulia 77\\/2 a 69\",\"\\u0414\\u0430\\u0442\\u0430 \\u0440\\u043e\\u0436\\u0434\\u0435\\u043d\\u0438\\u044f\":\"24.07.2001\",\"\\u041a\\u043e\\u043b - \\u0432\\u043e \\u043e\\u0431\\u043e\\u0440\\u0443\\u0434\\u043e\\u0432\\u0430\\u043d\\u0438\\u044f (\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442)\":\"3\",\"\\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\\u0438\\u043f \\u043a\\u043b\\u0438\\u0435\\u043d\\u0442\\u0430\":\"\\u0424\\u0438\\u0437.\\u043b\\u0438\\u0446\",\"\\u0420\\u0430\\u0439\\u043e\\u043d\":\"\\u0411\\u0443\\u044e\\u043a\\u0430\\u043d\\u044b\",\"\\u0414\\u0430\\u0442\\u0430 \\u043c\\u043e\\u043d\\u0442\\u0430\\u0436\\u0430 (\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442)\":\"08.05.2025\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Ana Coretchi\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\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\":\"03.09.2026\",\"\\u041d\\u043e\\u043c\\u0435\\u0440\":\"1055\"},\"document\":{\"Date\":\"03.09.2026\",\"Number\":\"1055\"}}}","edit":true}} {"uid":"a87693e"}
[2026-09-03 16:57:05] docflow.DEBUG: GAS raw response {"raw":"[object] (stdClass: {\"code\":1,\"url\":\"https://docs.google.com/open?id=1uQsF8WeIaHcCbEpHXfTAtf9eBtUM9OCpv_WdW-Z1n8k\",\"file_id\":\"1uQsF8WeIaHcCbEpHXfTAtf9eBtUM9OCpv_WdW-Z1n8k\",\"error\":\"\",\"vars\":\"\"})"} {"uid":"a87693e"}
[2026-09-03 16:57:05] docflow.WARNING: AmoDrive generated-file move is not ready. {"fileId":"1uQsF8WeIaHcCbEpHXfTAtf9eBtUM9OCpv_WdW-Z1n8k","context":null} {"uid":"a87693e"}
[2026-09-03 16:59:57] docflow.INFO: Apel createDoc {"data":{"amoAccountId":"32990686","amoUserId":null,"amoEntityId":"40279859","amoEntityType":"2","templateId":"11625","corporateEntityId":"","settlementAccountId":"","is_signed":null,"gdi":null,"number":null,"currentAmoUserId":null,"lang":"ru"}} {"uid":"519247a"}
[2026-09-03 16:59:57] docflow.INFO: Token is valid for account 32990686. [] {"uid":"519247a"}
[2026-09-03 16:59:57] docflow.DEBUG: getClientAuth returned {"auth":"[object] (stdClass: {\"domain\":\"eurosanteh.amocrm.ru\",\"access_token\":\"eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImp0aSI6IjMxYjNkMGQ2NTQyYmYzOGIyMmExNWY0ZTU0NzkwYmU0MTEzZjEyZmQ5NDc2MmI5ODJjYTc2NTZkNjgyN2U4MmUxMmQwYjRmOWY0ZDBlOGIxIn0.eyJhdWQiOiIwZDY0ZGZmYi1lNTRiLTQ0OGYtOWZiZi1iYWYyMjUxYTExZGIiLCJqdGkiOiIzMWIzZDBkNjU0MmJmMzhiMjJhMTVmNGU1NDc5MGJlNDExM2YxMmZkOTQ3NjJiOTgyY2E3NjU2ZDY4MjdlODJlMTJkMGI0ZjlmNGQwZThiMSIsImlhdCI6MTc4ODQzNjg4MSwibmJmIjoxNzg4NDM2ODgxLCJleHAiOjE3ODg1MjMyODEsInN1YiI6IjEzNjg3MzAyIiwiZ3JhbnRfdHlwZSI6IiIsImFjY291bnRfaWQiOjMyOTkwNjg2LCJiYXNlX2RvbWFpbiI6ImFtb2NybS5ydSIsInZlcnNpb24iOjIsInNjb3BlcyI6WyJwdXNoX25vdGlmaWNhdGlvbnMiLCJjcm0iLCJub3RpZmljYXRpb25zIl0sImhhc2hfdXVpZCI6IjE1NDU2ODFmLWRlOTktNDVhYS04OWQxLWE0NzRlZTE3MDc1NSIsImFwaV9kb21haW4iOiJhcGktYi5hbW9jcm0ucnUifQ.Nq7VbAHPw4_Vz1yk1Jp0Jznk3ZUB2O0x2gM51y01kw5AQ937poKjIuqIc8wlWqgGwq8YHTea6_XHkqlczecLVhsbQl79-j7UCRiTpKN9NnGR6pe6av1odvO4Xs6ORIPgfncfhkgVNPwjovmAJatx7v-tvIW3AWqPG92zCms8cVeWBPCAMWmCPwnxxnQFHNBs1avhpWJSc7dd93WuXvPjK8ThuZijUAyqrSqByOc2lj5H1D15tQpdQItlMQqT40UIfn8QpLk5TOlFdJp7JkNlhjeKTVkW1Zj5zaBC1ldCLHknugquc1i-o895SZt25u1cyjXAEYKvmQO4LWzBMjzhSw\"})","file":"/home/ytvmclwh/document.amocrm.md/src/Models/Docs.php","line":121} {"uid":"519247a"}
[2026-09-03 16:59:59] docflow.DEBUG: AmoDrive docflow context request {"url":"https://google.emale.uno/api/docflow/google-context","query":{"account_id":"32990686","entity_id":"40279859","entity_type":"leads"}} {"uid":"519247a"}
[2026-09-03 16:59:59] docflow.WARNING: AmoDrive docflow context request failed {"url":"https://google.emale.uno/api/docflow/google-context","http_code":null,"error":"HTTP/2 400 ","response":"<!DOCTYPE HTML PUBLIC \"-//IETF//DTD HTML 2.0//EN\">\r\n<html>\r\n<head><title>400 Bad Request</title></head>\r\n<body>\r\n<center><h1>400 Bad Request</h1></center>\r\n Sorry for the inconvenience.<br/>\r\nPlease report this message and include the following information to us.<br/>\r\nThank you very much!</p>\r\n<table>\r\n<tr>\r\n<td>URL:</td>\r\n<td>https://gd.glucose-dev.online/api/docflow/google-context?account_id=32990686&amp;entity_id=40279859&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/09/03 16:59:59</td>\r\n</tr>\r\n</table>\r\n<hr><center>tengine</center>\r\n</body>\r\n</html>\r\n"} {"uid":"519247a"}
[2026-09-03 16:59:59] docflow.DEBUG: AmoDrive docflow context request {"url":"https://gd.glucose-dev.online/api/docflow/google-context","query":{"account_id":"32990686","entity_id":"40279859","entity_type":"leads"}} {"uid":"519247a"}
[2026-09-03 16:59:59] docflow.WARNING: AmoDrive docflow context response is not ready, trying next backend. {"url":"https://gd.glucose-dev.online/api/docflow/google-context","payload":{"ok":true,"accountId":32990686,"entityId":"40279859","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":"519247a"}
[2026-09-03 16:59:59] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://google.emale.uno/api/docflow/prepare-generated-doc","payload":{"account_id":"32990686","entity_id":"40279859","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"519247a"}
[2026-09-03 17:00:00] docflow.WARNING: AmoDrive prepare-generated-doc request failed {"url":"https://google.emale.uno/api/docflow/prepare-generated-doc","http_code":null,"error":"HTTP/2 400 ","response":"<!DOCTYPE HTML PUBLIC \"-//IETF//DTD HTML 2.0//EN\">\r\n<html>\r\n<head><title>400 Bad Request</title></head>\r\n<body>\r\n<center><h1>400 Bad Request</h1></center>\r\n Sorry for the inconvenience.<br/>\r\nPlease report this message and include the following information to us.<br/>\r\nThank you very much!</p>\r\n<table>\r\n<tr>\r\n<td>URL:</td>\r\n<td>https://gd.glucose-dev.online/api/docflow/prepare-generated-doc</td>\r\n</tr>\r\n<tr>\r\n<td>Server:</td>\r\n<td>mail.glucose-dev.online</td>\r\n</tr>\r\n<tr>\r\n<td>Date:</td>\r\n<td>2026/09/03 17:00:00</td>\r\n</tr>\r\n</table>\r\n<hr><center>tengine</center>\r\n</body>\r\n</html>\r\n","payload":{"account_id":"32990686","entity_id":"40279859","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"519247a"}
[2026-09-03 17:00:00] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://gd.glucose-dev.online/api/docflow/prepare-generated-doc","payload":{"account_id":"32990686","entity_id":"40279859","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"519247a"}
[2026-09-03 17:00:00] docflow.WARNING: AmoDrive prepare-generated-doc request failed {"url":"https://gd.glucose-dev.online/api/docflow/prepare-generated-doc","http_code":null,"error":"HTTP/2 404 ","response":"[object] (stdClass: {\"ok\":false,\"error\":\"AmoDrive is not installed for this account.\",\"accountId\":32990686})","payload":{"account_id":"32990686","entity_id":"40279859","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"519247a"}
[2026-09-03 17:00:00] docflow.DEBUG: GAS request {"url":"https://script.google.com/macros/s/AKfycbwrvOJD46zkuoTzdhpc1kulhV8jRfgQBFZfQ121nkIip_k8yKit4xrbWTOzaJ-C-Yed6w/exec","body":{"templateFileId":"1AjK4khA9mRlFDVy4RXRqHAg2GTFWJYC-Gac1Mx3OLnA","accountId":"32990686","folderId":"1Us2AfskxgdA729xVr0F2vjZU9y5PlYDe","key":"~VTsK5dcnHc2cSSsjM$LFSjLlgbmJXwrp3R2P5nd","data":"{\"fileName\":\"ALL FOR ALL \\u041d\\u0430\\u0440\\u044f\\u0434 \\u043d\\u0430 \\u0432\\u044b\\u043f\\u043e\\u043b\\u043d\\u0435\\u043d\\u0438\\u0435 \\u0440\\u0430\\u0431\\u043e\\u0442 1056 20260903165959\",\"leadId\":\"40279859\",\"entities\":{\"\\u0441\\u0434\\u0435\\u043b\\u043a\\u0430\":{\"\\u0421\\u043b\\u0435\\u0434\\u0443\\u044e\\u0449\\u0430\\u044f \\u0434\\u0430\\u0442\\u0430 \\u0441\\u0435\\u0440\\u0432\\u0438\\u0441\\u0430\":\"08.08.2027\",\"\\u0414\\u0430\\u0442\\u0430 \\u043c\\u043e\\u043d\\u0442\\u0430\\u0436\\u0430 (\\u0411\\u0414)\":\"08.08.2025\",\"\\u041d\\u0430\\u0437\\u0432\\u0430\\u043d\\u0438\\u0435 \\u0442\\u043e\\u0432\\u0430\\u0440\\u0430 (\\u0411\\u0414)\":\"Haier Pearl 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)\":\"\\u041f\\u0430\\u0441\\u043a\\u0430\\u043b \\u042d.\",\"\\u0414\\u0435\\u043d\\u044c \\u043d\\u0435\\u0434\\u0435\\u043b\\u0438\":\"\\u0427\\u0435\\u0442\\u0432\\u0435\\u0440\\u0433\",\"\\u0414\\u0430\\u0442\\u0430 \\u0438 \\u0432\\u0440\\u0435\\u043c\\u044f \\u0432\\u0438\\u0437\\u0438\\u0442\\u0430\":\"2026-09-04 09:45:00\",\"\\u0414\\u0430\\u0442\\u0430 \\u0432\\u0438\\u0437\\u0438\\u0442\\u0430\":\"04.09.2026\",\"\\u0426\\u0435\\u043b\\u044c \\u0432\\u044b\\u0435\\u0437\\u0434\\u0430\":\"\\u041f\\u0440\\u043e\\u0444\\u0438\\u043b\\u0430\\u043a\\u0442\\u0438\\u043a\\u0430 \\u043f\\u043e \\u0433\\u0430\\u0440\\u0430\\u043d\\u0442\\u0438\\u0438\",\"\\u0412\\u0438\\u0434 \\u0432\\u044b\\u043f\\u043e\\u043b\\u043d\\u0435\\u043d\\u043d\\u044b\\u0445 \\u0440\\u0430\\u0431\\u043e\\u0442\":\"\\u041f\\u0440\\u043e\\u0444\\u0438\\u043b\\u0430\\u043a\\u0442\\u0438\\u043a\\u0430 \\u0441\\u043f\\u043b\\u0438\\u0442-\\u0441\\u0438\\u0441\\u0442\\u0435\\u043c \\u0432\\u0441\\u0435\\u0445 \\u043c\\u043e\\u0449\\u043d\\u043e\\u0441\\u0442\\u0435\\u0439 (\\u043e\\u0447\\u0438\\u0441\\u0442\\u043a\\u0430, \\u043f\\u0440\\u043e\\u0432\\u0435\\u0440\\u043a\\u0430 \\u0440\\u0430\\u0431\\u043e\\u0442\\u044b)\",\"\\u041c\\u043e\\u0434\\u0435\\u043b\\u044c \\u043e\\u0431\\u043e\\u0440\\u0443\\u0434\\u043e\\u0432\\u0430\\u043d\\u0438\\u044f 1\":\"Haier Pearl 35\",\"ID\":\"40279859\",\"\\u0421\\u0434\\u0435\\u043b\\u043a\\u0430_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"\\u041f\\u0422\\u041e\",\"Lead_name\":\"\\u041f\\u0422\\u041e\",\"\\u0411\\u044e\\u0434\\u0436\\u0435\\u0442\":\"0\",\"Budget\":\"0\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"\\u0410\\u0441\\u0442\\u0430\\u043f\\u0435\\u043d\\u043a\\u043e\\u0432\\u0430 \\u042e\\u043b\\u0438\\u0430\\u043d\\u043d\\u0430\",\"Responsible\":\"\\u0410\\u0441\\u0442\\u0430\\u043f\\u0435\\u043d\\u043a\\u043e\\u0432\\u0430 \\u042e\\u043b\\u0438\\u0430\\u043d\\u043d\\u0430\"},\"lead\":{\"\\u0421\\u043b\\u0435\\u0434\\u0443\\u044e\\u0449\\u0430\\u044f \\u0434\\u0430\\u0442\\u0430 \\u0441\\u0435\\u0440\\u0432\\u0438\\u0441\\u0430\":\"08.08.2027\",\"\\u0414\\u0430\\u0442\\u0430 \\u043c\\u043e\\u043d\\u0442\\u0430\\u0436\\u0430 (\\u0411\\u0414)\":\"08.08.2025\",\"\\u041d\\u0430\\u0437\\u0432\\u0430\\u043d\\u0438\\u0435 \\u0442\\u043e\\u0432\\u0430\\u0440\\u0430 (\\u0411\\u0414)\":\"Haier Pearl 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)\":\"\\u041f\\u0430\\u0441\\u043a\\u0430\\u043b \\u042d.\",\"\\u0414\\u0435\\u043d\\u044c \\u043d\\u0435\\u0434\\u0435\\u043b\\u0438\":\"\\u0427\\u0435\\u0442\\u0432\\u0435\\u0440\\u0433\",\"\\u0414\\u0430\\u0442\\u0430 \\u0438 \\u0432\\u0440\\u0435\\u043c\\u044f \\u0432\\u0438\\u0437\\u0438\\u0442\\u0430\":\"2026-09-04 09:45:00\",\"\\u0414\\u0430\\u0442\\u0430 \\u0432\\u0438\\u0437\\u0438\\u0442\\u0430\":\"04.09.2026\",\"\\u0426\\u0435\\u043b\\u044c \\u0432\\u044b\\u0435\\u0437\\u0434\\u0430\":\"\\u041f\\u0440\\u043e\\u0444\\u0438\\u043b\\u0430\\u043a\\u0442\\u0438\\u043a\\u0430 \\u043f\\u043e \\u0433\\u0430\\u0440\\u0430\\u043d\\u0442\\u0438\\u0438\",\"\\u0412\\u0438\\u0434 \\u0432\\u044b\\u043f\\u043e\\u043b\\u043d\\u0435\\u043d\\u043d\\u044b\\u0445 \\u0440\\u0430\\u0431\\u043e\\u0442\":\"\\u041f\\u0440\\u043e\\u0444\\u0438\\u043b\\u0430\\u043a\\u0442\\u0438\\u043a\\u0430 \\u0441\\u043f\\u043b\\u0438\\u0442-\\u0441\\u0438\\u0441\\u0442\\u0435\\u043c \\u0432\\u0441\\u0435\\u0445 \\u043c\\u043e\\u0449\\u043d\\u043e\\u0441\\u0442\\u0435\\u0439 (\\u043e\\u0447\\u0438\\u0441\\u0442\\u043a\\u0430, \\u043f\\u0440\\u043e\\u0432\\u0435\\u0440\\u043a\\u0430 \\u0440\\u0430\\u0431\\u043e\\u0442\\u044b)\",\"\\u041c\\u043e\\u0434\\u0435\\u043b\\u044c \\u043e\\u0431\\u043e\\u0440\\u0443\\u0434\\u043e\\u0432\\u0430\\u043d\\u0438\\u044f 1\":\"Haier Pearl 35\",\"ID\":\"40279859\",\"\\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\":\"2002003045134\",\"\\u0410\\u0434\\u0440\\u0435\\u0441\":\"str.Florilor 8\\/3 ap42\",\"\\u041f\\u043e\\u0432\\u0442\\u043e\\u0440\\u043d\\u044b\\u0439 \\u043a\\u043b\\u0438\\u0435\\u043d\\u0442?\":\"\\u0414\\u0430\",\"\\u0414\\u0430\\u0442\\u0430 \\u043c\\u043e\\u043d\\u0442\\u0430\\u0436\\u0430 (\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442)\":\"08.08.2025\",\"\\u0422\\u0438\\u043f \\u0438 \\u043c\\u043e\\u0434\\u0435\\u043b\\u044c \\u043e\\u0431\\u043e\\u0440\\u0443\\u0434\\u043e\\u0432\\u0430\\u043d\\u0438\\u044f (\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442)\":\"Haier Pearl 35\",\"\\u041a\\u043e\\u043b - \\u0432\\u043e \\u043e\\u0431\\u043e\\u0440\\u0443\\u0434\\u043e\\u0432\\u0430\\u043d\\u0438\\u044f (\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442)\":\"1\",\"\\u041a\\u0442\\u043e \\u043c\\u043e\\u043d\\u0442\\u0438\\u0440\\u043e\\u0432\\u0430\\u043b (\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442)\":\"\\u041c\\u0430\\u0441\\u0442\\u0435\\u0440 \\u043a\\u043e\\u043c\\u043f\\u0430\\u043d\\u0438\\u0438 Edenvor SRL\",\"\\u041d\\u043e\\u043c\\u0435\\u0440 \\u043a\\u043e\\u043d\\u0442\\u0440\\u0430\\u043a\\u0442\\u0430 (\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442)\":\"A5386\",\"\\u0418\\u043c\\u044f \\u043a\\u043b\\u0438\\u0435\\u043d\\u0442\\u0430 (\\u0421\\u041c\\u0421)\":\"Andrei\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"37379936937\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Andrei Cataev\",\"Contact_name\":\"Andrei Cataev\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"\\u0410\\u0441\\u0442\\u0430\\u043f\\u0435\\u043d\\u043a\\u043e\\u0432\\u0430 \\u042e\\u043b\\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\":\"2002003045134\",\"\\u0410\\u0434\\u0440\\u0435\\u0441\":\"str.Florilor 8\\/3 ap42\",\"\\u041f\\u043e\\u0432\\u0442\\u043e\\u0440\\u043d\\u044b\\u0439 \\u043a\\u043b\\u0438\\u0435\\u043d\\u0442?\":\"\\u0414\\u0430\",\"\\u0414\\u0430\\u0442\\u0430 \\u043c\\u043e\\u043d\\u0442\\u0430\\u0436\\u0430 (\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442)\":\"08.08.2025\",\"\\u0422\\u0438\\u043f \\u0438 \\u043c\\u043e\\u0434\\u0435\\u043b\\u044c \\u043e\\u0431\\u043e\\u0440\\u0443\\u0434\\u043e\\u0432\\u0430\\u043d\\u0438\\u044f (\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442)\":\"Haier Pearl 35\",\"\\u041a\\u043e\\u043b - \\u0432\\u043e \\u043e\\u0431\\u043e\\u0440\\u0443\\u0434\\u043e\\u0432\\u0430\\u043d\\u0438\\u044f (\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442)\":\"1\",\"\\u041a\\u0442\\u043e \\u043c\\u043e\\u043d\\u0442\\u0438\\u0440\\u043e\\u0432\\u0430\\u043b (\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442)\":\"\\u041c\\u0430\\u0441\\u0442\\u0435\\u0440 \\u043a\\u043e\\u043c\\u043f\\u0430\\u043d\\u0438\\u0438 Edenvor SRL\",\"\\u041d\\u043e\\u043c\\u0435\\u0440 \\u043a\\u043e\\u043d\\u0442\\u0440\\u0430\\u043a\\u0442\\u0430 (\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442)\":\"A5386\",\"\\u0418\\u043c\\u044f \\u043a\\u043b\\u0438\\u0435\\u043d\\u0442\\u0430 (\\u0421\\u041c\\u0421)\":\"Andrei\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"37379936937\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Andrei Cataev\",\"Contact_name\":\"Andrei Cataev\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"\\u0410\\u0441\\u0442\\u0430\\u043f\\u0435\\u043d\\u043a\\u043e\\u0432\\u0430 \\u042e\\u043b\\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\":\"2002003045134\",\"\\u0410\\u0434\\u0440\\u0435\\u0441\":\"str.Florilor 8\\/3 ap42\",\"\\u041f\\u043e\\u0432\\u0442\\u043e\\u0440\\u043d\\u044b\\u0439 \\u043a\\u043b\\u0438\\u0435\\u043d\\u0442?\":\"\\u0414\\u0430\",\"\\u0414\\u0430\\u0442\\u0430 \\u043c\\u043e\\u043d\\u0442\\u0430\\u0436\\u0430 (\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442)\":\"08.08.2025\",\"\\u0422\\u0438\\u043f \\u0438 \\u043c\\u043e\\u0434\\u0435\\u043b\\u044c \\u043e\\u0431\\u043e\\u0440\\u0443\\u0434\\u043e\\u0432\\u0430\\u043d\\u0438\\u044f (\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442)\":\"Haier Pearl 35\",\"\\u041a\\u043e\\u043b - \\u0432\\u043e \\u043e\\u0431\\u043e\\u0440\\u0443\\u0434\\u043e\\u0432\\u0430\\u043d\\u0438\\u044f (\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442)\":\"1\",\"\\u041a\\u0442\\u043e \\u043c\\u043e\\u043d\\u0442\\u0438\\u0440\\u043e\\u0432\\u0430\\u043b (\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442)\":\"\\u041c\\u0430\\u0441\\u0442\\u0435\\u0440 \\u043a\\u043e\\u043c\\u043f\\u0430\\u043d\\u0438\\u0438 Edenvor SRL\",\"\\u041d\\u043e\\u043c\\u0435\\u0440 \\u043a\\u043e\\u043d\\u0442\\u0440\\u0430\\u043a\\u0442\\u0430 (\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442)\":\"A5386\",\"\\u0418\\u043c\\u044f \\u043a\\u043b\\u0438\\u0435\\u043d\\u0442\\u0430 (\\u0421\\u041c\\u0421)\":\"Andrei\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"37379936937\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Andrei Cataev\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\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\":\"03.09.2026\",\"\\u041d\\u043e\\u043c\\u0435\\u0440\":\"1056\"},\"document\":{\"Date\":\"03.09.2026\",\"Number\":\"1056\"}}}","edit":true}} {"uid":"519247a"}
[2026-09-03 17:00:07] docflow.DEBUG: GAS raw response {"raw":"[object] (stdClass: {\"code\":1,\"url\":\"https://docs.google.com/open?id=1Ml77FEHz1Cw_qscwnYSuRdM3m4zgNRRb7TurO8O8d-0\",\"file_id\":\"1Ml77FEHz1Cw_qscwnYSuRdM3m4zgNRRb7TurO8O8d-0\",\"error\":\"\",\"vars\":\"\"})"} {"uid":"519247a"}
[2026-09-03 17:00:07] docflow.WARNING: AmoDrive generated-file move is not ready. {"fileId":"1Ml77FEHz1Cw_qscwnYSuRdM3m4zgNRRb7TurO8O8d-0","context":null} {"uid":"519247a"}
[2026-09-03 17:00:16] docflow.INFO: Apel createDoc {"data":{"amoAccountId":"32990686","amoUserId":null,"amoEntityId":"40279859","amoEntityType":"2","templateId":"11646","corporateEntityId":"","settlementAccountId":"","is_signed":null,"gdi":null,"number":null,"currentAmoUserId":null,"lang":"ru"}} {"uid":"82a133b"}
[2026-09-03 17:00:18] docflow.INFO: Token is valid for account 32990686. [] {"uid":"82a133b"}
[2026-09-03 17:00:18] docflow.DEBUG: getClientAuth returned {"auth":"[object] (stdClass: {\"domain\":\"eurosanteh.amocrm.ru\",\"access_token\":\"eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImp0aSI6IjMxYjNkMGQ2NTQyYmYzOGIyMmExNWY0ZTU0NzkwYmU0MTEzZjEyZmQ5NDc2MmI5ODJjYTc2NTZkNjgyN2U4MmUxMmQwYjRmOWY0ZDBlOGIxIn0.eyJhdWQiOiIwZDY0ZGZmYi1lNTRiLTQ0OGYtOWZiZi1iYWYyMjUxYTExZGIiLCJqdGkiOiIzMWIzZDBkNjU0MmJmMzhiMjJhMTVmNGU1NDc5MGJlNDExM2YxMmZkOTQ3NjJiOTgyY2E3NjU2ZDY4MjdlODJlMTJkMGI0ZjlmNGQwZThiMSIsImlhdCI6MTc4ODQzNjg4MSwibmJmIjoxNzg4NDM2ODgxLCJleHAiOjE3ODg1MjMyODEsInN1YiI6IjEzNjg3MzAyIiwiZ3JhbnRfdHlwZSI6IiIsImFjY291bnRfaWQiOjMyOTkwNjg2LCJiYXNlX2RvbWFpbiI6ImFtb2NybS5ydSIsInZlcnNpb24iOjIsInNjb3BlcyI6WyJwdXNoX25vdGlmaWNhdGlvbnMiLCJjcm0iLCJub3RpZmljYXRpb25zIl0sImhhc2hfdXVpZCI6IjE1NDU2ODFmLWRlOTktNDVhYS04OWQxLWE0NzRlZTE3MDc1NSIsImFwaV9kb21haW4iOiJhcGktYi5hbW9jcm0ucnUifQ.Nq7VbAHPw4_Vz1yk1Jp0Jznk3ZUB2O0x2gM51y01kw5AQ937poKjIuqIc8wlWqgGwq8YHTea6_XHkqlczecLVhsbQl79-j7UCRiTpKN9NnGR6pe6av1odvO4Xs6ORIPgfncfhkgVNPwjovmAJatx7v-tvIW3AWqPG92zCms8cVeWBPCAMWmCPwnxxnQFHNBs1avhpWJSc7dd93WuXvPjK8ThuZijUAyqrSqByOc2lj5H1D15tQpdQItlMQqT40UIfn8QpLk5TOlFdJp7JkNlhjeKTVkW1Zj5zaBC1ldCLHknugquc1i-o895SZt25u1cyjXAEYKvmQO4LWzBMjzhSw\"})","file":"/home/ytvmclwh/document.amocrm.md/src/Models/Docs.php","line":121} {"uid":"82a133b"}
[2026-09-03 17:00:23] docflow.DEBUG: AmoDrive docflow context request {"url":"https://google.emale.uno/api/docflow/google-context","query":{"account_id":"32990686","entity_id":"40279859","entity_type":"leads"}} {"uid":"82a133b"}
[2026-09-03 17:00:23] docflow.WARNING: AmoDrive docflow context request failed {"url":"https://google.emale.uno/api/docflow/google-context","http_code":null,"error":"HTTP/2 400 ","response":"<!DOCTYPE HTML PUBLIC \"-//IETF//DTD HTML 2.0//EN\">\r\n<html>\r\n<head><title>400 Bad Request</title></head>\r\n<body>\r\n<center><h1>400 Bad Request</h1></center>\r\n Sorry for the inconvenience.<br/>\r\nPlease report this message and include the following information to us.<br/>\r\nThank you very much!</p>\r\n<table>\r\n<tr>\r\n<td>URL:</td>\r\n<td>https://gd.glucose-dev.online/api/docflow/google-context?account_id=32990686&amp;entity_id=40279859&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/09/03 17:00:23</td>\r\n</tr>\r\n</table>\r\n<hr><center>tengine</center>\r\n</body>\r\n</html>\r\n"} {"uid":"82a133b"}
[2026-09-03 17:00:23] docflow.DEBUG: AmoDrive docflow context request {"url":"https://gd.glucose-dev.online/api/docflow/google-context","query":{"account_id":"32990686","entity_id":"40279859","entity_type":"leads"}} {"uid":"82a133b"}
[2026-09-03 17:00:24] docflow.WARNING: AmoDrive docflow context response is not ready, trying next backend. {"url":"https://gd.glucose-dev.online/api/docflow/google-context","payload":{"ok":true,"accountId":32990686,"entityId":"40279859","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":"82a133b"}
[2026-09-03 17:00:24] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://google.emale.uno/api/docflow/prepare-generated-doc","payload":{"account_id":"32990686","entity_id":"40279859","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"82a133b"}
[2026-09-03 17:00:24] docflow.WARNING: AmoDrive prepare-generated-doc request failed {"url":"https://google.emale.uno/api/docflow/prepare-generated-doc","http_code":null,"error":"HTTP/2 400 ","response":"<!DOCTYPE HTML PUBLIC \"-//IETF//DTD HTML 2.0//EN\">\r\n<html>\r\n<head><title>400 Bad Request</title></head>\r\n<body>\r\n<center><h1>400 Bad Request</h1></center>\r\n Sorry for the inconvenience.<br/>\r\nPlease report this message and include the following information to us.<br/>\r\nThank you very much!</p>\r\n<table>\r\n<tr>\r\n<td>URL:</td>\r\n<td>https://gd.glucose-dev.online/api/docflow/prepare-generated-doc</td>\r\n</tr>\r\n<tr>\r\n<td>Server:</td>\r\n<td>mail.glucose-dev.online</td>\r\n</tr>\r\n<tr>\r\n<td>Date:</td>\r\n<td>2026/09/03 17:00:24</td>\r\n</tr>\r\n</table>\r\n<hr><center>tengine</center>\r\n</body>\r\n</html>\r\n","payload":{"account_id":"32990686","entity_id":"40279859","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"82a133b"}
[2026-09-03 17:00:24] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://gd.glucose-dev.online/api/docflow/prepare-generated-doc","payload":{"account_id":"32990686","entity_id":"40279859","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"82a133b"}
[2026-09-03 17:00:24] docflow.WARNING: AmoDrive prepare-generated-doc request failed {"url":"https://gd.glucose-dev.online/api/docflow/prepare-generated-doc","http_code":null,"error":"HTTP/2 404 ","response":"[object] (stdClass: {\"ok\":false,\"error\":\"AmoDrive is not installed for this account.\",\"accountId\":32990686})","payload":{"account_id":"32990686","entity_id":"40279859","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"82a133b"}
[2026-09-03 17:00:24] docflow.DEBUG: GAS request {"url":"https://script.google.com/macros/s/AKfycbwrvOJD46zkuoTzdhpc1kulhV8jRfgQBFZfQ121nkIip_k8yKit4xrbWTOzaJ-C-Yed6w/exec","body":{"templateFileId":"1ISSW7q2any2Qldkh8ZtwiERwaib6ci11XCezBMQIcRU","accountId":"32990686","folderId":"1Us2AfskxgdA729xVr0F2vjZU9y5PlYDe","key":"~VTsK5dcnHc2cSSsjM$LFSjLlgbmJXwrp3R2P5nd","data":"{\"fileName\":\"Act primire predare new All for All 1056 20260903170023\",\"leadId\":\"40279859\",\"entities\":{\"\\u0441\\u0434\\u0435\\u043b\\u043a\\u0430\":{\"\\u0421\\u043b\\u0435\\u0434\\u0443\\u044e\\u0449\\u0430\\u044f \\u0434\\u0430\\u0442\\u0430 \\u0441\\u0435\\u0440\\u0432\\u0438\\u0441\\u0430\":\"08.08.2027\",\"\\u0414\\u0430\\u0442\\u0430 \\u043c\\u043e\\u043d\\u0442\\u0430\\u0436\\u0430 (\\u0411\\u0414)\":\"08.08.2025\",\"\\u041d\\u0430\\u0437\\u0432\\u0430\\u043d\\u0438\\u0435 \\u0442\\u043e\\u0432\\u0430\\u0440\\u0430 (\\u0411\\u0414)\":\"Haier Pearl 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)\":\"\\u041f\\u0430\\u0441\\u043a\\u0430\\u043b \\u042d.\",\"\\u0414\\u0435\\u043d\\u044c \\u043d\\u0435\\u0434\\u0435\\u043b\\u0438\":\"\\u0427\\u0435\\u0442\\u0432\\u0435\\u0440\\u0433\",\"\\u0414\\u0430\\u0442\\u0430 \\u0438 \\u0432\\u0440\\u0435\\u043c\\u044f \\u0432\\u0438\\u0437\\u0438\\u0442\\u0430\":\"2026-09-04 09:45:00\",\"\\u0414\\u0430\\u0442\\u0430 \\u0432\\u0438\\u0437\\u0438\\u0442\\u0430\":\"04.09.2026\",\"\\u0426\\u0435\\u043b\\u044c \\u0432\\u044b\\u0435\\u0437\\u0434\\u0430\":\"\\u041f\\u0440\\u043e\\u0444\\u0438\\u043b\\u0430\\u043a\\u0442\\u0438\\u043a\\u0430 \\u043f\\u043e \\u0433\\u0430\\u0440\\u0430\\u043d\\u0442\\u0438\\u0438\",\"\\u0412\\u0438\\u0434 \\u0432\\u044b\\u043f\\u043e\\u043b\\u043d\\u0435\\u043d\\u043d\\u044b\\u0445 \\u0440\\u0430\\u0431\\u043e\\u0442\":\"\\u041f\\u0440\\u043e\\u0444\\u0438\\u043b\\u0430\\u043a\\u0442\\u0438\\u043a\\u0430 \\u0441\\u043f\\u043b\\u0438\\u0442-\\u0441\\u0438\\u0441\\u0442\\u0435\\u043c \\u0432\\u0441\\u0435\\u0445 \\u043c\\u043e\\u0449\\u043d\\u043e\\u0441\\u0442\\u0435\\u0439 (\\u043e\\u0447\\u0438\\u0441\\u0442\\u043a\\u0430, \\u043f\\u0440\\u043e\\u0432\\u0435\\u0440\\u043a\\u0430 \\u0440\\u0430\\u0431\\u043e\\u0442\\u044b)\",\"\\u041c\\u043e\\u0434\\u0435\\u043b\\u044c \\u043e\\u0431\\u043e\\u0440\\u0443\\u0434\\u043e\\u0432\\u0430\\u043d\\u0438\\u044f 1\":\"Haier Pearl 35\",\"ID\":\"40279859\",\"\\u0421\\u0434\\u0435\\u043b\\u043a\\u0430_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"\\u041f\\u0422\\u041e\",\"Lead_name\":\"\\u041f\\u0422\\u041e\",\"\\u0411\\u044e\\u0434\\u0436\\u0435\\u0442\":\"0\",\"Budget\":\"0\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"\\u0410\\u0441\\u0442\\u0430\\u043f\\u0435\\u043d\\u043a\\u043e\\u0432\\u0430 \\u042e\\u043b\\u0438\\u0430\\u043d\\u043d\\u0430\",\"Responsible\":\"\\u0410\\u0441\\u0442\\u0430\\u043f\\u0435\\u043d\\u043a\\u043e\\u0432\\u0430 \\u042e\\u043b\\u0438\\u0430\\u043d\\u043d\\u0430\"},\"lead\":{\"\\u0421\\u043b\\u0435\\u0434\\u0443\\u044e\\u0449\\u0430\\u044f \\u0434\\u0430\\u0442\\u0430 \\u0441\\u0435\\u0440\\u0432\\u0438\\u0441\\u0430\":\"08.08.2027\",\"\\u0414\\u0430\\u0442\\u0430 \\u043c\\u043e\\u043d\\u0442\\u0430\\u0436\\u0430 (\\u0411\\u0414)\":\"08.08.2025\",\"\\u041d\\u0430\\u0437\\u0432\\u0430\\u043d\\u0438\\u0435 \\u0442\\u043e\\u0432\\u0430\\u0440\\u0430 (\\u0411\\u0414)\":\"Haier Pearl 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)\":\"\\u041f\\u0430\\u0441\\u043a\\u0430\\u043b \\u042d.\",\"\\u0414\\u0435\\u043d\\u044c \\u043d\\u0435\\u0434\\u0435\\u043b\\u0438\":\"\\u0427\\u0435\\u0442\\u0432\\u0435\\u0440\\u0433\",\"\\u0414\\u0430\\u0442\\u0430 \\u0438 \\u0432\\u0440\\u0435\\u043c\\u044f \\u0432\\u0438\\u0437\\u0438\\u0442\\u0430\":\"2026-09-04 09:45:00\",\"\\u0414\\u0430\\u0442\\u0430 \\u0432\\u0438\\u0437\\u0438\\u0442\\u0430\":\"04.09.2026\",\"\\u0426\\u0435\\u043b\\u044c \\u0432\\u044b\\u0435\\u0437\\u0434\\u0430\":\"\\u041f\\u0440\\u043e\\u0444\\u0438\\u043b\\u0430\\u043a\\u0442\\u0438\\u043a\\u0430 \\u043f\\u043e \\u0433\\u0430\\u0440\\u0430\\u043d\\u0442\\u0438\\u0438\",\"\\u0412\\u0438\\u0434 \\u0432\\u044b\\u043f\\u043e\\u043b\\u043d\\u0435\\u043d\\u043d\\u044b\\u0445 \\u0440\\u0430\\u0431\\u043e\\u0442\":\"\\u041f\\u0440\\u043e\\u0444\\u0438\\u043b\\u0430\\u043a\\u0442\\u0438\\u043a\\u0430 \\u0441\\u043f\\u043b\\u0438\\u0442-\\u0441\\u0438\\u0441\\u0442\\u0435\\u043c \\u0432\\u0441\\u0435\\u0445 \\u043c\\u043e\\u0449\\u043d\\u043e\\u0441\\u0442\\u0435\\u0439 (\\u043e\\u0447\\u0438\\u0441\\u0442\\u043a\\u0430, \\u043f\\u0440\\u043e\\u0432\\u0435\\u0440\\u043a\\u0430 \\u0440\\u0430\\u0431\\u043e\\u0442\\u044b)\",\"\\u041c\\u043e\\u0434\\u0435\\u043b\\u044c \\u043e\\u0431\\u043e\\u0440\\u0443\\u0434\\u043e\\u0432\\u0430\\u043d\\u0438\\u044f 1\":\"Haier Pearl 35\",\"ID\":\"40279859\",\"\\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\":\"2002003045134\",\"\\u0410\\u0434\\u0440\\u0435\\u0441\":\"str.Florilor 8\\/3 ap42\",\"\\u041f\\u043e\\u0432\\u0442\\u043e\\u0440\\u043d\\u044b\\u0439 \\u043a\\u043b\\u0438\\u0435\\u043d\\u0442?\":\"\\u0414\\u0430\",\"\\u0414\\u0430\\u0442\\u0430 \\u043c\\u043e\\u043d\\u0442\\u0430\\u0436\\u0430 (\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442)\":\"08.08.2025\",\"\\u0422\\u0438\\u043f \\u0438 \\u043c\\u043e\\u0434\\u0435\\u043b\\u044c \\u043e\\u0431\\u043e\\u0440\\u0443\\u0434\\u043e\\u0432\\u0430\\u043d\\u0438\\u044f (\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442)\":\"Haier Pearl 35\",\"\\u041a\\u043e\\u043b - \\u0432\\u043e \\u043e\\u0431\\u043e\\u0440\\u0443\\u0434\\u043e\\u0432\\u0430\\u043d\\u0438\\u044f (\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442)\":\"1\",\"\\u041a\\u0442\\u043e \\u043c\\u043e\\u043d\\u0442\\u0438\\u0440\\u043e\\u0432\\u0430\\u043b (\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442)\":\"\\u041c\\u0430\\u0441\\u0442\\u0435\\u0440 \\u043a\\u043e\\u043c\\u043f\\u0430\\u043d\\u0438\\u0438 Edenvor SRL\",\"\\u041d\\u043e\\u043c\\u0435\\u0440 \\u043a\\u043e\\u043d\\u0442\\u0440\\u0430\\u043a\\u0442\\u0430 (\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442)\":\"A5386\",\"\\u0418\\u043c\\u044f \\u043a\\u043b\\u0438\\u0435\\u043d\\u0442\\u0430 (\\u0421\\u041c\\u0421)\":\"Andrei\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"37379936937\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Andrei Cataev\",\"Contact_name\":\"Andrei Cataev\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"\\u0410\\u0441\\u0442\\u0430\\u043f\\u0435\\u043d\\u043a\\u043e\\u0432\\u0430 \\u042e\\u043b\\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\":\"2002003045134\",\"\\u0410\\u0434\\u0440\\u0435\\u0441\":\"str.Florilor 8\\/3 ap42\",\"\\u041f\\u043e\\u0432\\u0442\\u043e\\u0440\\u043d\\u044b\\u0439 \\u043a\\u043b\\u0438\\u0435\\u043d\\u0442?\":\"\\u0414\\u0430\",\"\\u0414\\u0430\\u0442\\u0430 \\u043c\\u043e\\u043d\\u0442\\u0430\\u0436\\u0430 (\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442)\":\"08.08.2025\",\"\\u0422\\u0438\\u043f \\u0438 \\u043c\\u043e\\u0434\\u0435\\u043b\\u044c \\u043e\\u0431\\u043e\\u0440\\u0443\\u0434\\u043e\\u0432\\u0430\\u043d\\u0438\\u044f (\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442)\":\"Haier Pearl 35\",\"\\u041a\\u043e\\u043b - \\u0432\\u043e \\u043e\\u0431\\u043e\\u0440\\u0443\\u0434\\u043e\\u0432\\u0430\\u043d\\u0438\\u044f (\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442)\":\"1\",\"\\u041a\\u0442\\u043e \\u043c\\u043e\\u043d\\u0442\\u0438\\u0440\\u043e\\u0432\\u0430\\u043b (\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442)\":\"\\u041c\\u0430\\u0441\\u0442\\u0435\\u0440 \\u043a\\u043e\\u043c\\u043f\\u0430\\u043d\\u0438\\u0438 Edenvor SRL\",\"\\u041d\\u043e\\u043c\\u0435\\u0440 \\u043a\\u043e\\u043d\\u0442\\u0440\\u0430\\u043a\\u0442\\u0430 (\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442)\":\"A5386\",\"\\u0418\\u043c\\u044f \\u043a\\u043b\\u0438\\u0435\\u043d\\u0442\\u0430 (\\u0421\\u041c\\u0421)\":\"Andrei\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"37379936937\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Andrei Cataev\",\"Contact_name\":\"Andrei Cataev\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"\\u0410\\u0441\\u0442\\u0430\\u043f\\u0435\\u043d\\u043a\\u043e\\u0432\\u0430 \\u042e\\u043b\\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\":\"2002003045134\",\"\\u0410\\u0434\\u0440\\u0435\\u0441\":\"str.Florilor 8\\/3 ap42\",\"\\u041f\\u043e\\u0432\\u0442\\u043e\\u0440\\u043d\\u044b\\u0439 \\u043a\\u043b\\u0438\\u0435\\u043d\\u0442?\":\"\\u0414\\u0430\",\"\\u0414\\u0430\\u0442\\u0430 \\u043c\\u043e\\u043d\\u0442\\u0430\\u0436\\u0430 (\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442)\":\"08.08.2025\",\"\\u0422\\u0438\\u043f \\u0438 \\u043c\\u043e\\u0434\\u0435\\u043b\\u044c \\u043e\\u0431\\u043e\\u0440\\u0443\\u0434\\u043e\\u0432\\u0430\\u043d\\u0438\\u044f (\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442)\":\"Haier Pearl 35\",\"\\u041a\\u043e\\u043b - \\u0432\\u043e \\u043e\\u0431\\u043e\\u0440\\u0443\\u0434\\u043e\\u0432\\u0430\\u043d\\u0438\\u044f (\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442)\":\"1\",\"\\u041a\\u0442\\u043e \\u043c\\u043e\\u043d\\u0442\\u0438\\u0440\\u043e\\u0432\\u0430\\u043b (\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442)\":\"\\u041c\\u0430\\u0441\\u0442\\u0435\\u0440 \\u043a\\u043e\\u043c\\u043f\\u0430\\u043d\\u0438\\u0438 Edenvor SRL\",\"\\u041d\\u043e\\u043c\\u0435\\u0440 \\u043a\\u043e\\u043d\\u0442\\u0440\\u0430\\u043a\\u0442\\u0430 (\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442)\":\"A5386\",\"\\u0418\\u043c\\u044f \\u043a\\u043b\\u0438\\u0435\\u043d\\u0442\\u0430 (\\u0421\\u041c\\u0421)\":\"Andrei\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"37379936937\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Andrei Cataev\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\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\":\"03.09.2026\",\"\\u041d\\u043e\\u043c\\u0435\\u0440\":\"1056\"},\"document\":{\"Date\":\"03.09.2026\",\"Number\":\"1056\"}}}","edit":true}} {"uid":"82a133b"}
[2026-09-03 17:00:29] docflow.DEBUG: GAS raw response {"raw":"[object] (stdClass: {\"code\":1,\"url\":\"https://docs.google.com/open?id=1JEJdxkbqD_nLx6-lDm9sqn97FRP9H1TzaiS6Tp1nJTk\",\"file_id\":\"1JEJdxkbqD_nLx6-lDm9sqn97FRP9H1TzaiS6Tp1nJTk\",\"error\":\"\",\"vars\":\"\"})"} {"uid":"82a133b"}
[2026-09-03 17:00:29] docflow.WARNING: AmoDrive generated-file move is not ready. {"fileId":"1JEJdxkbqD_nLx6-lDm9sqn97FRP9H1TzaiS6Tp1nJTk","context":null} {"uid":"82a133b"}
[2026-09-03 17:26:00] docflow.INFO: Apel createDoc {"data":{"amoAccountId":"32990686","amoUserId":null,"amoEntityId":"40280751","amoEntityType":"2","templateId":"11625","corporateEntityId":"","settlementAccountId":"","is_signed":null,"gdi":null,"number":null,"currentAmoUserId":null,"lang":"ru"}} {"uid":"23965af"}
[2026-09-03 17:26:01] docflow.INFO: Token is valid for account 32990686. [] {"uid":"23965af"}
[2026-09-03 17:26:01] docflow.DEBUG: getClientAuth returned {"auth":"[object] (stdClass: {\"domain\":\"eurosanteh.amocrm.ru\",\"access_token\":\"eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImp0aSI6IjMxYjNkMGQ2NTQyYmYzOGIyMmExNWY0ZTU0NzkwYmU0MTEzZjEyZmQ5NDc2MmI5ODJjYTc2NTZkNjgyN2U4MmUxMmQwYjRmOWY0ZDBlOGIxIn0.eyJhdWQiOiIwZDY0ZGZmYi1lNTRiLTQ0OGYtOWZiZi1iYWYyMjUxYTExZGIiLCJqdGkiOiIzMWIzZDBkNjU0MmJmMzhiMjJhMTVmNGU1NDc5MGJlNDExM2YxMmZkOTQ3NjJiOTgyY2E3NjU2ZDY4MjdlODJlMTJkMGI0ZjlmNGQwZThiMSIsImlhdCI6MTc4ODQzNjg4MSwibmJmIjoxNzg4NDM2ODgxLCJleHAiOjE3ODg1MjMyODEsInN1YiI6IjEzNjg3MzAyIiwiZ3JhbnRfdHlwZSI6IiIsImFjY291bnRfaWQiOjMyOTkwNjg2LCJiYXNlX2RvbWFpbiI6ImFtb2NybS5ydSIsInZlcnNpb24iOjIsInNjb3BlcyI6WyJwdXNoX25vdGlmaWNhdGlvbnMiLCJjcm0iLCJub3RpZmljYXRpb25zIl0sImhhc2hfdXVpZCI6IjE1NDU2ODFmLWRlOTktNDVhYS04OWQxLWE0NzRlZTE3MDc1NSIsImFwaV9kb21haW4iOiJhcGktYi5hbW9jcm0ucnUifQ.Nq7VbAHPw4_Vz1yk1Jp0Jznk3ZUB2O0x2gM51y01kw5AQ937poKjIuqIc8wlWqgGwq8YHTea6_XHkqlczecLVhsbQl79-j7UCRiTpKN9NnGR6pe6av1odvO4Xs6ORIPgfncfhkgVNPwjovmAJatx7v-tvIW3AWqPG92zCms8cVeWBPCAMWmCPwnxxnQFHNBs1avhpWJSc7dd93WuXvPjK8ThuZijUAyqrSqByOc2lj5H1D15tQpdQItlMQqT40UIfn8QpLk5TOlFdJp7JkNlhjeKTVkW1Zj5zaBC1ldCLHknugquc1i-o895SZt25u1cyjXAEYKvmQO4LWzBMjzhSw\"})","file":"/home/ytvmclwh/document.amocrm.md/src/Models/Docs.php","line":121} {"uid":"23965af"}
[2026-09-03 17:26:04] docflow.DEBUG: AmoDrive docflow context request {"url":"https://google.emale.uno/api/docflow/google-context","query":{"account_id":"32990686","entity_id":"40280751","entity_type":"leads"}} {"uid":"23965af"}
[2026-09-03 17:26:04] docflow.WARNING: AmoDrive docflow context request failed {"url":"https://google.emale.uno/api/docflow/google-context","http_code":null,"error":"HTTP/2 400 ","response":"<!DOCTYPE HTML PUBLIC \"-//IETF//DTD HTML 2.0//EN\">\r\n<html>\r\n<head><title>400 Bad Request</title></head>\r\n<body>\r\n<center><h1>400 Bad Request</h1></center>\r\n Sorry for the inconvenience.<br/>\r\nPlease report this message and include the following information to us.<br/>\r\nThank you very much!</p>\r\n<table>\r\n<tr>\r\n<td>URL:</td>\r\n<td>https://gd.glucose-dev.online/api/docflow/google-context?account_id=32990686&amp;entity_id=40280751&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/09/03 17:26:04</td>\r\n</tr>\r\n</table>\r\n<hr><center>tengine</center>\r\n</body>\r\n</html>\r\n"} {"uid":"23965af"}
[2026-09-03 17:26:04] docflow.DEBUG: AmoDrive docflow context request {"url":"https://gd.glucose-dev.online/api/docflow/google-context","query":{"account_id":"32990686","entity_id":"40280751","entity_type":"leads"}} {"uid":"23965af"}
[2026-09-03 17:26:04] docflow.WARNING: AmoDrive docflow context response is not ready, trying next backend. {"url":"https://gd.glucose-dev.online/api/docflow/google-context","payload":{"ok":true,"accountId":32990686,"entityId":"40280751","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":"23965af"}
[2026-09-03 17:26:04] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://google.emale.uno/api/docflow/prepare-generated-doc","payload":{"account_id":"32990686","entity_id":"40280751","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"23965af"}
[2026-09-03 17:26:04] docflow.WARNING: AmoDrive prepare-generated-doc request failed {"url":"https://google.emale.uno/api/docflow/prepare-generated-doc","http_code":null,"error":"HTTP/2 400 ","response":"<!DOCTYPE HTML PUBLIC \"-//IETF//DTD HTML 2.0//EN\">\r\n<html>\r\n<head><title>400 Bad Request</title></head>\r\n<body>\r\n<center><h1>400 Bad Request</h1></center>\r\n Sorry for the inconvenience.<br/>\r\nPlease report this message and include the following information to us.<br/>\r\nThank you very much!</p>\r\n<table>\r\n<tr>\r\n<td>URL:</td>\r\n<td>https://gd.glucose-dev.online/api/docflow/prepare-generated-doc</td>\r\n</tr>\r\n<tr>\r\n<td>Server:</td>\r\n<td>mail.glucose-dev.online</td>\r\n</tr>\r\n<tr>\r\n<td>Date:</td>\r\n<td>2026/09/03 17:26:04</td>\r\n</tr>\r\n</table>\r\n<hr><center>tengine</center>\r\n</body>\r\n</html>\r\n","payload":{"account_id":"32990686","entity_id":"40280751","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"23965af"}
[2026-09-03 17:26:04] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://gd.glucose-dev.online/api/docflow/prepare-generated-doc","payload":{"account_id":"32990686","entity_id":"40280751","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"23965af"}
[2026-09-03 17:26:04] docflow.WARNING: AmoDrive prepare-generated-doc request failed {"url":"https://gd.glucose-dev.online/api/docflow/prepare-generated-doc","http_code":null,"error":"HTTP/2 404 ","response":"[object] (stdClass: {\"ok\":false,\"error\":\"AmoDrive is not installed for this account.\",\"accountId\":32990686})","payload":{"account_id":"32990686","entity_id":"40280751","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"23965af"}
[2026-09-03 17:26:04] 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 1057 20260903172604\",\"leadId\":\"40280751\",\"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\":\"02.09.2027\",\"\\u0414\\u0430\\u0442\\u0430 \\u043c\\u043e\\u043d\\u0442\\u0430\\u0436\\u0430 (\\u0411\\u0414)\":\"02.10.2025\",\"\\u041d\\u0430\\u0437\\u0432\\u0430\\u043d\\u0438\\u0435 \\u0442\\u043e\\u0432\\u0430\\u0440\\u0430 (\\u0411\\u0414)\":\"Gree Amber 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)\":\"\\u041c\\u0438\\u0440\\u043e\\u043d \\u0420.\",\"\\u0414\\u0435\\u043d\\u044c \\u043d\\u0435\\u0434\\u0435\\u043b\\u0438\":\"\\u0427\\u0435\\u0442\\u0432\\u0435\\u0440\\u0433\",\"\\u0414\\u0430\\u0442\\u0430 \\u0438 \\u0432\\u0440\\u0435\\u043c\\u044f \\u0432\\u0438\\u0437\\u0438\\u0442\\u0430\":\"2026-09-04 17:25:00\",\"\\u0414\\u0430\\u0442\\u0430 \\u0432\\u0438\\u0437\\u0438\\u0442\\u0430\":\"04.09.2026\",\"\\u0426\\u0435\\u043b\\u044c \\u0432\\u044b\\u0435\\u0437\\u0434\\u0430\":\"\\u041f\\u0440\\u043e\\u0444\\u0438\\u043b\\u0430\\u043a\\u0442\\u0438\\u043a\\u0430 \\u043f\\u043e \\u0433\\u0430\\u0440\\u0430\\u043d\\u0442\\u0438\\u0438\",\"\\u0412\\u0438\\u0434 \\u0432\\u044b\\u043f\\u043e\\u043b\\u043d\\u0435\\u043d\\u043d\\u044b\\u0445 \\u0440\\u0430\\u0431\\u043e\\u0442\":\"\\u041f\\u0440\\u043e\\u0444\\u0438\\u043b\\u0430\\u043a\\u0442\\u0438\\u043a\\u0430 \\u0441\\u043f\\u043b\\u0438\\u0442-\\u0441\\u0438\\u0441\\u0442\\u0435\\u043c \\u0432\\u0441\\u0435\\u0445 \\u043c\\u043e\\u0449\\u043d\\u043e\\u0441\\u0442\\u0435\\u0439 (\\u043e\\u0447\\u0438\\u0441\\u0442\\u043a\\u0430, \\u043f\\u0440\\u043e\\u0432\\u0435\\u0440\\u043a\\u0430 \\u0440\\u0430\\u0431\\u043e\\u0442\\u044b)\",\"\\u041c\\u043e\\u0434\\u0435\\u043b\\u044c \\u043e\\u0431\\u043e\\u0440\\u0443\\u0434\\u043e\\u0432\\u0430\\u043d\\u0438\\u044f 1\":\"!\",\"ID\":\"40280751\",\"\\u0421\\u0434\\u0435\\u043b\\u043a\\u0430_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"\\u041f\\u0422\\u043e\",\"Lead_name\":\"\\u041f\\u0422\\u043e\",\"\\u0411\\u044e\\u0434\\u0436\\u0435\\u0442\":\"0\",\"Budget\":\"0\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"\\u0410\\u0441\\u0442\\u0430\\u043f\\u0435\\u043d\\u043a\\u043e\\u0432\\u0430 \\u042e\\u043b\\u0438\\u0430\\u043d\\u043d\\u0430\",\"Responsible\":\"\\u0410\\u0441\\u0442\\u0430\\u043f\\u0435\\u043d\\u043a\\u043e\\u0432\\u0430 \\u042e\\u043b\\u0438\\u0430\\u043d\\u043d\\u0430\"},\"lead\":{\"\\u0421\\u043b\\u0435\\u0434\\u0443\\u044e\\u0449\\u0430\\u044f \\u0434\\u0430\\u0442\\u0430 \\u0441\\u0435\\u0440\\u0432\\u0438\\u0441\\u0430\":\"02.09.2027\",\"\\u0414\\u0430\\u0442\\u0430 \\u043c\\u043e\\u043d\\u0442\\u0430\\u0436\\u0430 (\\u0411\\u0414)\":\"02.10.2025\",\"\\u041d\\u0430\\u0437\\u0432\\u0430\\u043d\\u0438\\u0435 \\u0442\\u043e\\u0432\\u0430\\u0440\\u0430 (\\u0411\\u0414)\":\"Gree Amber 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)\":\"\\u041c\\u0438\\u0440\\u043e\\u043d \\u0420.\",\"\\u0414\\u0435\\u043d\\u044c \\u043d\\u0435\\u0434\\u0435\\u043b\\u0438\":\"\\u0427\\u0435\\u0442\\u0432\\u0435\\u0440\\u0433\",\"\\u0414\\u0430\\u0442\\u0430 \\u0438 \\u0432\\u0440\\u0435\\u043c\\u044f \\u0432\\u0438\\u0437\\u0438\\u0442\\u0430\":\"2026-09-04 17:25:00\",\"\\u0414\\u0430\\u0442\\u0430 \\u0432\\u0438\\u0437\\u0438\\u0442\\u0430\":\"04.09.2026\",\"\\u0426\\u0435\\u043b\\u044c \\u0432\\u044b\\u0435\\u0437\\u0434\\u0430\":\"\\u041f\\u0440\\u043e\\u0444\\u0438\\u043b\\u0430\\u043a\\u0442\\u0438\\u043a\\u0430 \\u043f\\u043e \\u0433\\u0430\\u0440\\u0430\\u043d\\u0442\\u0438\\u0438\",\"\\u0412\\u0438\\u0434 \\u0432\\u044b\\u043f\\u043e\\u043b\\u043d\\u0435\\u043d\\u043d\\u044b\\u0445 \\u0440\\u0430\\u0431\\u043e\\u0442\":\"\\u041f\\u0440\\u043e\\u0444\\u0438\\u043b\\u0430\\u043a\\u0442\\u0438\\u043a\\u0430 \\u0441\\u043f\\u043b\\u0438\\u0442-\\u0441\\u0438\\u0441\\u0442\\u0435\\u043c \\u0432\\u0441\\u0435\\u0445 \\u043c\\u043e\\u0449\\u043d\\u043e\\u0441\\u0442\\u0435\\u0439 (\\u043e\\u0447\\u0438\\u0441\\u0442\\u043a\\u0430, \\u043f\\u0440\\u043e\\u0432\\u0435\\u0440\\u043a\\u0430 \\u0440\\u0430\\u0431\\u043e\\u0442\\u044b)\",\"\\u041c\\u043e\\u0434\\u0435\\u043b\\u044c \\u043e\\u0431\\u043e\\u0440\\u0443\\u0434\\u043e\\u0432\\u0430\\u043d\\u0438\\u044f 1\":\"!\",\"ID\":\"40280751\",\"\\u0421\\u0434\\u0435\\u043b\\u043a\\u0430_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"\\u041f\\u0422\\u043e\",\"Lead_name\":\"\\u041f\\u0422\\u043e\",\"\\u0411\\u044e\\u0434\\u0436\\u0435\\u0442\":\"0\",\"Budget\":\"0\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"\\u0410\\u0441\\u0442\\u0430\\u043f\\u0435\\u043d\\u043a\\u043e\\u0432\\u0430 \\u042e\\u043b\\u0438\\u0430\\u043d\\u043d\\u0430\",\"Responsible\":\"\\u0410\\u0441\\u0442\\u0430\\u043f\\u0435\\u043d\\u043a\\u043e\\u0432\\u0430 \\u042e\\u043b\\u0438\\u0430\\u043d\\u043d\\u0430\"},\"\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442\":{\"\\u0418\\u0414\\u041d\\u041e\":\"2000088091923\",\"\\u0410\\u0434\\u0440\\u0435\\u0441\":\"Durlesti str.Racii 103\",\"\\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)\":\"07.08.2025\",\"\\u0422\\u0438\\u043f \\u0438 \\u043c\\u043e\\u0434\\u0435\\u043b\\u044c \\u043e\\u0431\\u043e\\u0440\\u0443\\u0434\\u043e\\u0432\\u0430\\u043d\\u0438\\u044f (\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442)\":\"MZS LN 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)\":\"4\",\"\\u041a\\u0442\\u043e \\u043c\\u043e\\u043d\\u0442\\u0438\\u0440\\u043e\\u0432\\u0430\\u043b (\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442)\":\"\\u041c\\u0430\\u0441\\u0442\\u0435\\u0440 \\u043a\\u043e\\u043c\\u043f\\u0430\\u043d\\u0438\\u0438 Edenvor SRL\",\"\\u041d\\u043e\\u043c\\u0435\\u0440 \\u043a\\u043e\\u043d\\u0442\\u0440\\u0430\\u043a\\u0442\\u0430 (\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442)\":\"C5371\",\"\\u0418\\u043c\\u044f \\u043a\\u043b\\u0438\\u0435\\u043d\\u0442\\u0430 (\\u0421\\u041c\\u0421)\":\"Vasile\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"37378466196\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Vasile Pelin\",\"Contact_name\":\"Vasile Pelin\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"\\u0410\\u0441\\u0442\\u0430\\u043f\\u0435\\u043d\\u043a\\u043e\\u0432\\u0430 \\u042e\\u043b\\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\":\"2000088091923\",\"\\u0410\\u0434\\u0440\\u0435\\u0441\":\"Durlesti str.Racii 103\",\"\\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)\":\"07.08.2025\",\"\\u0422\\u0438\\u043f \\u0438 \\u043c\\u043e\\u0434\\u0435\\u043b\\u044c \\u043e\\u0431\\u043e\\u0440\\u0443\\u0434\\u043e\\u0432\\u0430\\u043d\\u0438\\u044f (\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442)\":\"MZS LN 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)\":\"4\",\"\\u041a\\u0442\\u043e \\u043c\\u043e\\u043d\\u0442\\u0438\\u0440\\u043e\\u0432\\u0430\\u043b (\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442)\":\"\\u041c\\u0430\\u0441\\u0442\\u0435\\u0440 \\u043a\\u043e\\u043c\\u043f\\u0430\\u043d\\u0438\\u0438 Edenvor SRL\",\"\\u041d\\u043e\\u043c\\u0435\\u0440 \\u043a\\u043e\\u043d\\u0442\\u0440\\u0430\\u043a\\u0442\\u0430 (\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442)\":\"C5371\",\"\\u0418\\u043c\\u044f \\u043a\\u043b\\u0438\\u0435\\u043d\\u0442\\u0430 (\\u0421\\u041c\\u0421)\":\"Vasile\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"37378466196\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Vasile Pelin\",\"Contact_name\":\"Vasile Pelin\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"\\u0410\\u0441\\u0442\\u0430\\u043f\\u0435\\u043d\\u043a\\u043e\\u0432\\u0430 \\u042e\\u043b\\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\":\"2000088091923\",\"\\u0410\\u0434\\u0440\\u0435\\u0441\":\"Durlesti str.Racii 103\",\"\\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)\":\"07.08.2025\",\"\\u0422\\u0438\\u043f \\u0438 \\u043c\\u043e\\u0434\\u0435\\u043b\\u044c \\u043e\\u0431\\u043e\\u0440\\u0443\\u0434\\u043e\\u0432\\u0430\\u043d\\u0438\\u044f (\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442)\":\"MZS LN 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)\":\"4\",\"\\u041a\\u0442\\u043e \\u043c\\u043e\\u043d\\u0442\\u0438\\u0440\\u043e\\u0432\\u0430\\u043b (\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442)\":\"\\u041c\\u0430\\u0441\\u0442\\u0435\\u0440 \\u043a\\u043e\\u043c\\u043f\\u0430\\u043d\\u0438\\u0438 Edenvor SRL\",\"\\u041d\\u043e\\u043c\\u0435\\u0440 \\u043a\\u043e\\u043d\\u0442\\u0440\\u0430\\u043a\\u0442\\u0430 (\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442)\":\"C5371\",\"\\u0418\\u043c\\u044f \\u043a\\u043b\\u0438\\u0435\\u043d\\u0442\\u0430 (\\u0421\\u041c\\u0421)\":\"Vasile\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"37378466196\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Vasile Pelin\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\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\":\"03.09.2026\",\"\\u041d\\u043e\\u043c\\u0435\\u0440\":\"1057\"},\"document\":{\"Date\":\"03.09.2026\",\"Number\":\"1057\"}}}","edit":true}} {"uid":"23965af"}
[2026-09-03 17:26:16] docflow.DEBUG: GAS raw response {"raw":"[object] (stdClass: {\"code\":1,\"url\":\"https://docs.google.com/open?id=1iDGYZ-nbevWD_ljSAC8R5dZtz6SUlDXaz8BVUnBQeCY\",\"file_id\":\"1iDGYZ-nbevWD_ljSAC8R5dZtz6SUlDXaz8BVUnBQeCY\",\"error\":\"\",\"vars\":\"\"})"} {"uid":"23965af"}
[2026-09-03 17:26:16] docflow.WARNING: AmoDrive generated-file move is not ready. {"fileId":"1iDGYZ-nbevWD_ljSAC8R5dZtz6SUlDXaz8BVUnBQeCY","context":null} {"uid":"23965af"}
[2026-09-03 17:28:15] docflow.INFO: Apel createDoc {"data":{"amoAccountId":"32990686","amoUserId":null,"amoEntityId":"40280751","amoEntityType":"2","templateId":"11625","corporateEntityId":"","settlementAccountId":"","is_signed":null,"gdi":null,"number":null,"currentAmoUserId":null,"lang":"ru"}} {"uid":"85513c1"}
[2026-09-03 17:28:16] docflow.INFO: Token is valid for account 32990686. [] {"uid":"85513c1"}
[2026-09-03 17:28:16] docflow.DEBUG: getClientAuth returned {"auth":"[object] (stdClass: {\"domain\":\"eurosanteh.amocrm.ru\",\"access_token\":\"eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImp0aSI6IjMxYjNkMGQ2NTQyYmYzOGIyMmExNWY0ZTU0NzkwYmU0MTEzZjEyZmQ5NDc2MmI5ODJjYTc2NTZkNjgyN2U4MmUxMmQwYjRmOWY0ZDBlOGIxIn0.eyJhdWQiOiIwZDY0ZGZmYi1lNTRiLTQ0OGYtOWZiZi1iYWYyMjUxYTExZGIiLCJqdGkiOiIzMWIzZDBkNjU0MmJmMzhiMjJhMTVmNGU1NDc5MGJlNDExM2YxMmZkOTQ3NjJiOTgyY2E3NjU2ZDY4MjdlODJlMTJkMGI0ZjlmNGQwZThiMSIsImlhdCI6MTc4ODQzNjg4MSwibmJmIjoxNzg4NDM2ODgxLCJleHAiOjE3ODg1MjMyODEsInN1YiI6IjEzNjg3MzAyIiwiZ3JhbnRfdHlwZSI6IiIsImFjY291bnRfaWQiOjMyOTkwNjg2LCJiYXNlX2RvbWFpbiI6ImFtb2NybS5ydSIsInZlcnNpb24iOjIsInNjb3BlcyI6WyJwdXNoX25vdGlmaWNhdGlvbnMiLCJjcm0iLCJub3RpZmljYXRpb25zIl0sImhhc2hfdXVpZCI6IjE1NDU2ODFmLWRlOTktNDVhYS04OWQxLWE0NzRlZTE3MDc1NSIsImFwaV9kb21haW4iOiJhcGktYi5hbW9jcm0ucnUifQ.Nq7VbAHPw4_Vz1yk1Jp0Jznk3ZUB2O0x2gM51y01kw5AQ937poKjIuqIc8wlWqgGwq8YHTea6_XHkqlczecLVhsbQl79-j7UCRiTpKN9NnGR6pe6av1odvO4Xs6ORIPgfncfhkgVNPwjovmAJatx7v-tvIW3AWqPG92zCms8cVeWBPCAMWmCPwnxxnQFHNBs1avhpWJSc7dd93WuXvPjK8ThuZijUAyqrSqByOc2lj5H1D15tQpdQItlMQqT40UIfn8QpLk5TOlFdJp7JkNlhjeKTVkW1Zj5zaBC1ldCLHknugquc1i-o895SZt25u1cyjXAEYKvmQO4LWzBMjzhSw\"})","file":"/home/ytvmclwh/document.amocrm.md/src/Models/Docs.php","line":121} {"uid":"85513c1"}
[2026-09-03 17:28:18] docflow.DEBUG: AmoDrive docflow context request {"url":"https://google.emale.uno/api/docflow/google-context","query":{"account_id":"32990686","entity_id":"40280751","entity_type":"leads"}} {"uid":"85513c1"}
[2026-09-03 17:28:18] 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=40280751&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/09/03 17:28:18</td>\r\n</tr>\r\n</table>\r\n<hr><center>tengine</center>\r\n</body>\r\n</html>\r\n"} {"uid":"85513c1"}
[2026-09-03 17:28:18] docflow.DEBUG: AmoDrive docflow context request {"url":"https://gd.glucose-dev.online/api/docflow/google-context","query":{"account_id":"32990686","entity_id":"40280751","entity_type":"leads"}} {"uid":"85513c1"}
[2026-09-03 17:28:18] 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":"40280751","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":"85513c1"}
[2026-09-03 17:28:18] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://google.emale.uno/api/docflow/prepare-generated-doc","payload":{"account_id":"32990686","entity_id":"40280751","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"85513c1"}
[2026-09-03 17:28:18] 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/09/03 17:28:18</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":"40280751","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"85513c1"}
[2026-09-03 17:28:18] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://gd.glucose-dev.online/api/docflow/prepare-generated-doc","payload":{"account_id":"32990686","entity_id":"40280751","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"85513c1"}
[2026-09-03 17:28:18] 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":"40280751","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"85513c1"}
[2026-09-03 17:28:18] 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 1058 20260903172818\",\"leadId\":\"40280751\",\"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\":\"02.09.2027\",\"\\u0414\\u0430\\u0442\\u0430 \\u043c\\u043e\\u043d\\u0442\\u0430\\u0436\\u0430 (\\u0411\\u0414)\":\"02.10.2025\",\"\\u041d\\u0430\\u0437\\u0432\\u0430\\u043d\\u0438\\u0435 \\u0442\\u043e\\u0432\\u0430\\u0440\\u0430 (\\u0411\\u0414)\":\"Gree Amber 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)\":\"\\u041c\\u0438\\u0440\\u043e\\u043d \\u0420.\",\"\\u0414\\u0435\\u043d\\u044c \\u043d\\u0435\\u0434\\u0435\\u043b\\u0438\":\"\\u0427\\u0435\\u0442\\u0432\\u0435\\u0440\\u0433\",\"\\u0414\\u0430\\u0442\\u0430 \\u0438 \\u0432\\u0440\\u0435\\u043c\\u044f \\u0432\\u0438\\u0437\\u0438\\u0442\\u0430\":\"2026-09-04 17:25:00\",\"\\u0414\\u0430\\u0442\\u0430 \\u0432\\u0438\\u0437\\u0438\\u0442\\u0430\":\"04.09.2026\",\"\\u0426\\u0435\\u043b\\u044c \\u0432\\u044b\\u0435\\u0437\\u0434\\u0430\":\"\\u041f\\u0440\\u043e\\u0444\\u0438\\u043b\\u0430\\u043a\\u0442\\u0438\\u043a\\u0430 \\u043f\\u043e \\u0433\\u0430\\u0440\\u0430\\u043d\\u0442\\u0438\\u0438\",\"\\u0412\\u0438\\u0434 \\u0432\\u044b\\u043f\\u043e\\u043b\\u043d\\u0435\\u043d\\u043d\\u044b\\u0445 \\u0440\\u0430\\u0431\\u043e\\u0442\":\"\\u041f\\u0440\\u043e\\u0444\\u0438\\u043b\\u0430\\u043a\\u0442\\u0438\\u043a\\u0430 \\u0441\\u043f\\u043b\\u0438\\u0442-\\u0441\\u0438\\u0441\\u0442\\u0435\\u043c \\u0432\\u0441\\u0435\\u0445 \\u043c\\u043e\\u0449\\u043d\\u043e\\u0441\\u0442\\u0435\\u0439 (\\u043e\\u0447\\u0438\\u0441\\u0442\\u043a\\u0430, \\u043f\\u0440\\u043e\\u0432\\u0435\\u0440\\u043a\\u0430 \\u0440\\u0430\\u0431\\u043e\\u0442\\u044b)\",\"\\u041c\\u043e\\u0434\\u0435\\u043b\\u044c \\u043e\\u0431\\u043e\\u0440\\u0443\\u0434\\u043e\\u0432\\u0430\\u043d\\u0438\\u044f 1\":\"!\",\"ID\":\"40280751\",\"\\u0421\\u0434\\u0435\\u043b\\u043a\\u0430_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"\\u041f\\u0422\\u043e\",\"Lead_name\":\"\\u041f\\u0422\\u043e\",\"\\u0411\\u044e\\u0434\\u0436\\u0435\\u0442\":\"0\",\"Budget\":\"0\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"\\u0410\\u0441\\u0442\\u0430\\u043f\\u0435\\u043d\\u043a\\u043e\\u0432\\u0430 \\u042e\\u043b\\u0438\\u0430\\u043d\\u043d\\u0430\",\"Responsible\":\"\\u0410\\u0441\\u0442\\u0430\\u043f\\u0435\\u043d\\u043a\\u043e\\u0432\\u0430 \\u042e\\u043b\\u0438\\u0430\\u043d\\u043d\\u0430\"},\"lead\":{\"\\u0421\\u043b\\u0435\\u0434\\u0443\\u044e\\u0449\\u0430\\u044f \\u0434\\u0430\\u0442\\u0430 \\u0441\\u0435\\u0440\\u0432\\u0438\\u0441\\u0430\":\"02.09.2027\",\"\\u0414\\u0430\\u0442\\u0430 \\u043c\\u043e\\u043d\\u0442\\u0430\\u0436\\u0430 (\\u0411\\u0414)\":\"02.10.2025\",\"\\u041d\\u0430\\u0437\\u0432\\u0430\\u043d\\u0438\\u0435 \\u0442\\u043e\\u0432\\u0430\\u0440\\u0430 (\\u0411\\u0414)\":\"Gree Amber 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)\":\"\\u041c\\u0438\\u0440\\u043e\\u043d \\u0420.\",\"\\u0414\\u0435\\u043d\\u044c \\u043d\\u0435\\u0434\\u0435\\u043b\\u0438\":\"\\u0427\\u0435\\u0442\\u0432\\u0435\\u0440\\u0433\",\"\\u0414\\u0430\\u0442\\u0430 \\u0438 \\u0432\\u0440\\u0435\\u043c\\u044f \\u0432\\u0438\\u0437\\u0438\\u0442\\u0430\":\"2026-09-04 17:25:00\",\"\\u0414\\u0430\\u0442\\u0430 \\u0432\\u0438\\u0437\\u0438\\u0442\\u0430\":\"04.09.2026\",\"\\u0426\\u0435\\u043b\\u044c \\u0432\\u044b\\u0435\\u0437\\u0434\\u0430\":\"\\u041f\\u0440\\u043e\\u0444\\u0438\\u043b\\u0430\\u043a\\u0442\\u0438\\u043a\\u0430 \\u043f\\u043e \\u0433\\u0430\\u0440\\u0430\\u043d\\u0442\\u0438\\u0438\",\"\\u0412\\u0438\\u0434 \\u0432\\u044b\\u043f\\u043e\\u043b\\u043d\\u0435\\u043d\\u043d\\u044b\\u0445 \\u0440\\u0430\\u0431\\u043e\\u0442\":\"\\u041f\\u0440\\u043e\\u0444\\u0438\\u043b\\u0430\\u043a\\u0442\\u0438\\u043a\\u0430 \\u0441\\u043f\\u043b\\u0438\\u0442-\\u0441\\u0438\\u0441\\u0442\\u0435\\u043c \\u0432\\u0441\\u0435\\u0445 \\u043c\\u043e\\u0449\\u043d\\u043e\\u0441\\u0442\\u0435\\u0439 (\\u043e\\u0447\\u0438\\u0441\\u0442\\u043a\\u0430, \\u043f\\u0440\\u043e\\u0432\\u0435\\u0440\\u043a\\u0430 \\u0440\\u0430\\u0431\\u043e\\u0442\\u044b)\",\"\\u041c\\u043e\\u0434\\u0435\\u043b\\u044c \\u043e\\u0431\\u043e\\u0440\\u0443\\u0434\\u043e\\u0432\\u0430\\u043d\\u0438\\u044f 1\":\"!\",\"ID\":\"40280751\",\"\\u0421\\u0434\\u0435\\u043b\\u043a\\u0430_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"\\u041f\\u0422\\u043e\",\"Lead_name\":\"\\u041f\\u0422\\u043e\",\"\\u0411\\u044e\\u0434\\u0436\\u0435\\u0442\":\"0\",\"Budget\":\"0\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"\\u0410\\u0441\\u0442\\u0430\\u043f\\u0435\\u043d\\u043a\\u043e\\u0432\\u0430 \\u042e\\u043b\\u0438\\u0430\\u043d\\u043d\\u0430\",\"Responsible\":\"\\u0410\\u0441\\u0442\\u0430\\u043f\\u0435\\u043d\\u043a\\u043e\\u0432\\u0430 \\u042e\\u043b\\u0438\\u0430\\u043d\\u043d\\u0430\"},\"\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442\":{\"\\u0418\\u0414\\u041d\\u041e\":\"2000088091923\",\"\\u0410\\u0434\\u0440\\u0435\\u0441\":\"Durlesti str.Racii 103\",\"\\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)\":\"07.08.2025\",\"\\u0422\\u0438\\u043f \\u0438 \\u043c\\u043e\\u0434\\u0435\\u043b\\u044c \\u043e\\u0431\\u043e\\u0440\\u0443\\u0434\\u043e\\u0432\\u0430\\u043d\\u0438\\u044f (\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442)\":\"MZS LN 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)\":\"4\",\"\\u041a\\u0442\\u043e \\u043c\\u043e\\u043d\\u0442\\u0438\\u0440\\u043e\\u0432\\u0430\\u043b (\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442)\":\"\\u041c\\u0430\\u0441\\u0442\\u0435\\u0440 \\u043a\\u043e\\u043c\\u043f\\u0430\\u043d\\u0438\\u0438 Edenvor SRL\",\"\\u041d\\u043e\\u043c\\u0435\\u0440 \\u043a\\u043e\\u043d\\u0442\\u0440\\u0430\\u043a\\u0442\\u0430 (\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442)\":\"C5371\",\"\\u0418\\u043c\\u044f \\u043a\\u043b\\u0438\\u0435\\u043d\\u0442\\u0430 (\\u0421\\u041c\\u0421)\":\"Vasile\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"37378466196\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Vasile Pelin\",\"Contact_name\":\"Vasile Pelin\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"\\u0410\\u0441\\u0442\\u0430\\u043f\\u0435\\u043d\\u043a\\u043e\\u0432\\u0430 \\u042e\\u043b\\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\":\"2000088091923\",\"\\u0410\\u0434\\u0440\\u0435\\u0441\":\"Durlesti str.Racii 103\",\"\\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)\":\"07.08.2025\",\"\\u0422\\u0438\\u043f \\u0438 \\u043c\\u043e\\u0434\\u0435\\u043b\\u044c \\u043e\\u0431\\u043e\\u0440\\u0443\\u0434\\u043e\\u0432\\u0430\\u043d\\u0438\\u044f (\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442)\":\"MZS LN 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)\":\"4\",\"\\u041a\\u0442\\u043e \\u043c\\u043e\\u043d\\u0442\\u0438\\u0440\\u043e\\u0432\\u0430\\u043b (\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442)\":\"\\u041c\\u0430\\u0441\\u0442\\u0435\\u0440 \\u043a\\u043e\\u043c\\u043f\\u0430\\u043d\\u0438\\u0438 Edenvor SRL\",\"\\u041d\\u043e\\u043c\\u0435\\u0440 \\u043a\\u043e\\u043d\\u0442\\u0440\\u0430\\u043a\\u0442\\u0430 (\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442)\":\"C5371\",\"\\u0418\\u043c\\u044f \\u043a\\u043b\\u0438\\u0435\\u043d\\u0442\\u0430 (\\u0421\\u041c\\u0421)\":\"Vasile\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"37378466196\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Vasile Pelin\",\"Contact_name\":\"Vasile Pelin\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"\\u0410\\u0441\\u0442\\u0430\\u043f\\u0435\\u043d\\u043a\\u043e\\u0432\\u0430 \\u042e\\u043b\\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\":\"2000088091923\",\"\\u0410\\u0434\\u0440\\u0435\\u0441\":\"Durlesti str.Racii 103\",\"\\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)\":\"07.08.2025\",\"\\u0422\\u0438\\u043f \\u0438 \\u043c\\u043e\\u0434\\u0435\\u043b\\u044c \\u043e\\u0431\\u043e\\u0440\\u0443\\u0434\\u043e\\u0432\\u0430\\u043d\\u0438\\u044f (\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442)\":\"MZS LN 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)\":\"4\",\"\\u041a\\u0442\\u043e \\u043c\\u043e\\u043d\\u0442\\u0438\\u0440\\u043e\\u0432\\u0430\\u043b (\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442)\":\"\\u041c\\u0430\\u0441\\u0442\\u0435\\u0440 \\u043a\\u043e\\u043c\\u043f\\u0430\\u043d\\u0438\\u0438 Edenvor SRL\",\"\\u041d\\u043e\\u043c\\u0435\\u0440 \\u043a\\u043e\\u043d\\u0442\\u0440\\u0430\\u043a\\u0442\\u0430 (\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442)\":\"C5371\",\"\\u0418\\u043c\\u044f \\u043a\\u043b\\u0438\\u0435\\u043d\\u0442\\u0430 (\\u0421\\u041c\\u0421)\":\"Vasile\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"37378466196\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Vasile Pelin\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\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\":\"03.09.2026\",\"\\u041d\\u043e\\u043c\\u0435\\u0440\":\"1058\"},\"document\":{\"Date\":\"03.09.2026\",\"Number\":\"1058\"}}}","edit":true}} {"uid":"85513c1"}
[2026-09-03 17:28:24] docflow.DEBUG: GAS raw response {"raw":"[object] (stdClass: {\"code\":1,\"url\":\"https://docs.google.com/open?id=1HwhERksod2gTK0V7ufYxPad9jYOlSZ--T1A_gak1wiY\",\"file_id\":\"1HwhERksod2gTK0V7ufYxPad9jYOlSZ--T1A_gak1wiY\",\"error\":\"\",\"vars\":\"\"})"} {"uid":"85513c1"}
[2026-09-03 17:28:24] docflow.WARNING: AmoDrive generated-file move is not ready. {"fileId":"1HwhERksod2gTK0V7ufYxPad9jYOlSZ--T1A_gak1wiY","context":null} {"uid":"85513c1"}
[2026-09-03 17:28:31] docflow.INFO: Apel createDoc {"data":{"amoAccountId":"32990686","amoUserId":null,"amoEntityId":"40280751","amoEntityType":"2","templateId":"11646","corporateEntityId":"","settlementAccountId":"","is_signed":null,"gdi":null,"number":null,"currentAmoUserId":null,"lang":"ru"}} {"uid":"63beb08"}
[2026-09-03 17:28:32] docflow.INFO: Token is valid for account 32990686. [] {"uid":"63beb08"}
[2026-09-03 17:28:32] docflow.DEBUG: getClientAuth returned {"auth":"[object] (stdClass: {\"domain\":\"eurosanteh.amocrm.ru\",\"access_token\":\"eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImp0aSI6IjMxYjNkMGQ2NTQyYmYzOGIyMmExNWY0ZTU0NzkwYmU0MTEzZjEyZmQ5NDc2MmI5ODJjYTc2NTZkNjgyN2U4MmUxMmQwYjRmOWY0ZDBlOGIxIn0.eyJhdWQiOiIwZDY0ZGZmYi1lNTRiLTQ0OGYtOWZiZi1iYWYyMjUxYTExZGIiLCJqdGkiOiIzMWIzZDBkNjU0MmJmMzhiMjJhMTVmNGU1NDc5MGJlNDExM2YxMmZkOTQ3NjJiOTgyY2E3NjU2ZDY4MjdlODJlMTJkMGI0ZjlmNGQwZThiMSIsImlhdCI6MTc4ODQzNjg4MSwibmJmIjoxNzg4NDM2ODgxLCJleHAiOjE3ODg1MjMyODEsInN1YiI6IjEzNjg3MzAyIiwiZ3JhbnRfdHlwZSI6IiIsImFjY291bnRfaWQiOjMyOTkwNjg2LCJiYXNlX2RvbWFpbiI6ImFtb2NybS5ydSIsInZlcnNpb24iOjIsInNjb3BlcyI6WyJwdXNoX25vdGlmaWNhdGlvbnMiLCJjcm0iLCJub3RpZmljYXRpb25zIl0sImhhc2hfdXVpZCI6IjE1NDU2ODFmLWRlOTktNDVhYS04OWQxLWE0NzRlZTE3MDc1NSIsImFwaV9kb21haW4iOiJhcGktYi5hbW9jcm0ucnUifQ.Nq7VbAHPw4_Vz1yk1Jp0Jznk3ZUB2O0x2gM51y01kw5AQ937poKjIuqIc8wlWqgGwq8YHTea6_XHkqlczecLVhsbQl79-j7UCRiTpKN9NnGR6pe6av1odvO4Xs6ORIPgfncfhkgVNPwjovmAJatx7v-tvIW3AWqPG92zCms8cVeWBPCAMWmCPwnxxnQFHNBs1avhpWJSc7dd93WuXvPjK8ThuZijUAyqrSqByOc2lj5H1D15tQpdQItlMQqT40UIfn8QpLk5TOlFdJp7JkNlhjeKTVkW1Zj5zaBC1ldCLHknugquc1i-o895SZt25u1cyjXAEYKvmQO4LWzBMjzhSw\"})","file":"/home/ytvmclwh/document.amocrm.md/src/Models/Docs.php","line":121} {"uid":"63beb08"}
[2026-09-03 17:28:34] docflow.DEBUG: AmoDrive docflow context request {"url":"https://google.emale.uno/api/docflow/google-context","query":{"account_id":"32990686","entity_id":"40280751","entity_type":"leads"}} {"uid":"63beb08"}
[2026-09-03 17:28:34] docflow.WARNING: AmoDrive docflow context request failed {"url":"https://google.emale.uno/api/docflow/google-context","http_code":null,"error":"HTTP/2 400 ","response":"<!DOCTYPE HTML PUBLIC \"-//IETF//DTD HTML 2.0//EN\">\r\n<html>\r\n<head><title>400 Bad Request</title></head>\r\n<body>\r\n<center><h1>400 Bad Request</h1></center>\r\n Sorry for the inconvenience.<br/>\r\nPlease report this message and include the following information to us.<br/>\r\nThank you very much!</p>\r\n<table>\r\n<tr>\r\n<td>URL:</td>\r\n<td>https://gd.glucose-dev.online/api/docflow/google-context?account_id=32990686&amp;entity_id=40280751&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/09/03 17:28:34</td>\r\n</tr>\r\n</table>\r\n<hr><center>tengine</center>\r\n</body>\r\n</html>\r\n"} {"uid":"63beb08"}
[2026-09-03 17:28:34] docflow.DEBUG: AmoDrive docflow context request {"url":"https://gd.glucose-dev.online/api/docflow/google-context","query":{"account_id":"32990686","entity_id":"40280751","entity_type":"leads"}} {"uid":"63beb08"}
[2026-09-03 17:28:34] docflow.WARNING: AmoDrive docflow context response is not ready, trying next backend. {"url":"https://gd.glucose-dev.online/api/docflow/google-context","payload":{"ok":true,"accountId":32990686,"entityId":"40280751","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":"63beb08"}
[2026-09-03 17:28:34] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://google.emale.uno/api/docflow/prepare-generated-doc","payload":{"account_id":"32990686","entity_id":"40280751","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"63beb08"}
[2026-09-03 17:28:34] docflow.WARNING: AmoDrive prepare-generated-doc request failed {"url":"https://google.emale.uno/api/docflow/prepare-generated-doc","http_code":null,"error":"HTTP/2 400 ","response":"<!DOCTYPE HTML PUBLIC \"-//IETF//DTD HTML 2.0//EN\">\r\n<html>\r\n<head><title>400 Bad Request</title></head>\r\n<body>\r\n<center><h1>400 Bad Request</h1></center>\r\n Sorry for the inconvenience.<br/>\r\nPlease report this message and include the following information to us.<br/>\r\nThank you very much!</p>\r\n<table>\r\n<tr>\r\n<td>URL:</td>\r\n<td>https://gd.glucose-dev.online/api/docflow/prepare-generated-doc</td>\r\n</tr>\r\n<tr>\r\n<td>Server:</td>\r\n<td>mail.glucose-dev.online</td>\r\n</tr>\r\n<tr>\r\n<td>Date:</td>\r\n<td>2026/09/03 17:28:34</td>\r\n</tr>\r\n</table>\r\n<hr><center>tengine</center>\r\n</body>\r\n</html>\r\n","payload":{"account_id":"32990686","entity_id":"40280751","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"63beb08"}
[2026-09-03 17:28:34] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://gd.glucose-dev.online/api/docflow/prepare-generated-doc","payload":{"account_id":"32990686","entity_id":"40280751","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"63beb08"}
[2026-09-03 17:28:34] docflow.WARNING: AmoDrive prepare-generated-doc request failed {"url":"https://gd.glucose-dev.online/api/docflow/prepare-generated-doc","http_code":null,"error":"HTTP/2 404 ","response":"[object] (stdClass: {\"ok\":false,\"error\":\"AmoDrive is not installed for this account.\",\"accountId\":32990686})","payload":{"account_id":"32990686","entity_id":"40280751","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"63beb08"}
[2026-09-03 17:28:34] docflow.DEBUG: GAS request {"url":"https://script.google.com/macros/s/AKfycbwrvOJD46zkuoTzdhpc1kulhV8jRfgQBFZfQ121nkIip_k8yKit4xrbWTOzaJ-C-Yed6w/exec","body":{"templateFileId":"1ISSW7q2any2Qldkh8ZtwiERwaib6ci11XCezBMQIcRU","accountId":"32990686","folderId":"1Us2AfskxgdA729xVr0F2vjZU9y5PlYDe","key":"~VTsK5dcnHc2cSSsjM$LFSjLlgbmJXwrp3R2P5nd","data":"{\"fileName\":\"Act primire predare new All for All 1057 20260903172834\",\"leadId\":\"40280751\",\"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\":\"02.09.2027\",\"\\u0414\\u0430\\u0442\\u0430 \\u043c\\u043e\\u043d\\u0442\\u0430\\u0436\\u0430 (\\u0411\\u0414)\":\"02.10.2025\",\"\\u041d\\u0430\\u0437\\u0432\\u0430\\u043d\\u0438\\u0435 \\u0442\\u043e\\u0432\\u0430\\u0440\\u0430 (\\u0411\\u0414)\":\"Gree Amber 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)\":\"\\u041c\\u0438\\u0440\\u043e\\u043d \\u0420.\",\"\\u0414\\u0435\\u043d\\u044c \\u043d\\u0435\\u0434\\u0435\\u043b\\u0438\":\"\\u0427\\u0435\\u0442\\u0432\\u0435\\u0440\\u0433\",\"\\u0414\\u0430\\u0442\\u0430 \\u0438 \\u0432\\u0440\\u0435\\u043c\\u044f \\u0432\\u0438\\u0437\\u0438\\u0442\\u0430\":\"2026-09-04 17:25:00\",\"\\u0414\\u0430\\u0442\\u0430 \\u0432\\u0438\\u0437\\u0438\\u0442\\u0430\":\"04.09.2026\",\"\\u0426\\u0435\\u043b\\u044c \\u0432\\u044b\\u0435\\u0437\\u0434\\u0430\":\"\\u041f\\u0440\\u043e\\u0444\\u0438\\u043b\\u0430\\u043a\\u0442\\u0438\\u043a\\u0430 \\u043f\\u043e \\u0433\\u0430\\u0440\\u0430\\u043d\\u0442\\u0438\\u0438\",\"\\u0412\\u0438\\u0434 \\u0432\\u044b\\u043f\\u043e\\u043b\\u043d\\u0435\\u043d\\u043d\\u044b\\u0445 \\u0440\\u0430\\u0431\\u043e\\u0442\":\"\\u041f\\u0440\\u043e\\u0444\\u0438\\u043b\\u0430\\u043a\\u0442\\u0438\\u043a\\u0430 \\u0441\\u043f\\u043b\\u0438\\u0442-\\u0441\\u0438\\u0441\\u0442\\u0435\\u043c \\u0432\\u0441\\u0435\\u0445 \\u043c\\u043e\\u0449\\u043d\\u043e\\u0441\\u0442\\u0435\\u0439 (\\u043e\\u0447\\u0438\\u0441\\u0442\\u043a\\u0430, \\u043f\\u0440\\u043e\\u0432\\u0435\\u0440\\u043a\\u0430 \\u0440\\u0430\\u0431\\u043e\\u0442\\u044b)\",\"\\u041c\\u043e\\u0434\\u0435\\u043b\\u044c \\u043e\\u0431\\u043e\\u0440\\u0443\\u0434\\u043e\\u0432\\u0430\\u043d\\u0438\\u044f 1\":\"!\",\"ID\":\"40280751\",\"\\u0421\\u0434\\u0435\\u043b\\u043a\\u0430_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"\\u041f\\u0422\\u043e\",\"Lead_name\":\"\\u041f\\u0422\\u043e\",\"\\u0411\\u044e\\u0434\\u0436\\u0435\\u0442\":\"0\",\"Budget\":\"0\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"\\u0410\\u0441\\u0442\\u0430\\u043f\\u0435\\u043d\\u043a\\u043e\\u0432\\u0430 \\u042e\\u043b\\u0438\\u0430\\u043d\\u043d\\u0430\",\"Responsible\":\"\\u0410\\u0441\\u0442\\u0430\\u043f\\u0435\\u043d\\u043a\\u043e\\u0432\\u0430 \\u042e\\u043b\\u0438\\u0430\\u043d\\u043d\\u0430\"},\"lead\":{\"\\u0421\\u043b\\u0435\\u0434\\u0443\\u044e\\u0449\\u0430\\u044f \\u0434\\u0430\\u0442\\u0430 \\u0441\\u0435\\u0440\\u0432\\u0438\\u0441\\u0430\":\"02.09.2027\",\"\\u0414\\u0430\\u0442\\u0430 \\u043c\\u043e\\u043d\\u0442\\u0430\\u0436\\u0430 (\\u0411\\u0414)\":\"02.10.2025\",\"\\u041d\\u0430\\u0437\\u0432\\u0430\\u043d\\u0438\\u0435 \\u0442\\u043e\\u0432\\u0430\\u0440\\u0430 (\\u0411\\u0414)\":\"Gree Amber 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)\":\"\\u041c\\u0438\\u0440\\u043e\\u043d \\u0420.\",\"\\u0414\\u0435\\u043d\\u044c \\u043d\\u0435\\u0434\\u0435\\u043b\\u0438\":\"\\u0427\\u0435\\u0442\\u0432\\u0435\\u0440\\u0433\",\"\\u0414\\u0430\\u0442\\u0430 \\u0438 \\u0432\\u0440\\u0435\\u043c\\u044f \\u0432\\u0438\\u0437\\u0438\\u0442\\u0430\":\"2026-09-04 17:25:00\",\"\\u0414\\u0430\\u0442\\u0430 \\u0432\\u0438\\u0437\\u0438\\u0442\\u0430\":\"04.09.2026\",\"\\u0426\\u0435\\u043b\\u044c \\u0432\\u044b\\u0435\\u0437\\u0434\\u0430\":\"\\u041f\\u0440\\u043e\\u0444\\u0438\\u043b\\u0430\\u043a\\u0442\\u0438\\u043a\\u0430 \\u043f\\u043e \\u0433\\u0430\\u0440\\u0430\\u043d\\u0442\\u0438\\u0438\",\"\\u0412\\u0438\\u0434 \\u0432\\u044b\\u043f\\u043e\\u043b\\u043d\\u0435\\u043d\\u043d\\u044b\\u0445 \\u0440\\u0430\\u0431\\u043e\\u0442\":\"\\u041f\\u0440\\u043e\\u0444\\u0438\\u043b\\u0430\\u043a\\u0442\\u0438\\u043a\\u0430 \\u0441\\u043f\\u043b\\u0438\\u0442-\\u0441\\u0438\\u0441\\u0442\\u0435\\u043c \\u0432\\u0441\\u0435\\u0445 \\u043c\\u043e\\u0449\\u043d\\u043e\\u0441\\u0442\\u0435\\u0439 (\\u043e\\u0447\\u0438\\u0441\\u0442\\u043a\\u0430, \\u043f\\u0440\\u043e\\u0432\\u0435\\u0440\\u043a\\u0430 \\u0440\\u0430\\u0431\\u043e\\u0442\\u044b)\",\"\\u041c\\u043e\\u0434\\u0435\\u043b\\u044c \\u043e\\u0431\\u043e\\u0440\\u0443\\u0434\\u043e\\u0432\\u0430\\u043d\\u0438\\u044f 1\":\"!\",\"ID\":\"40280751\",\"\\u0421\\u0434\\u0435\\u043b\\u043a\\u0430_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"\\u041f\\u0422\\u043e\",\"Lead_name\":\"\\u041f\\u0422\\u043e\",\"\\u0411\\u044e\\u0434\\u0436\\u0435\\u0442\":\"0\",\"Budget\":\"0\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"\\u0410\\u0441\\u0442\\u0430\\u043f\\u0435\\u043d\\u043a\\u043e\\u0432\\u0430 \\u042e\\u043b\\u0438\\u0430\\u043d\\u043d\\u0430\",\"Responsible\":\"\\u0410\\u0441\\u0442\\u0430\\u043f\\u0435\\u043d\\u043a\\u043e\\u0432\\u0430 \\u042e\\u043b\\u0438\\u0430\\u043d\\u043d\\u0430\"},\"\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442\":{\"\\u0418\\u0414\\u041d\\u041e\":\"2000088091923\",\"\\u0410\\u0434\\u0440\\u0435\\u0441\":\"Durlesti str.Racii 103\",\"\\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)\":\"07.08.2025\",\"\\u0422\\u0438\\u043f \\u0438 \\u043c\\u043e\\u0434\\u0435\\u043b\\u044c \\u043e\\u0431\\u043e\\u0440\\u0443\\u0434\\u043e\\u0432\\u0430\\u043d\\u0438\\u044f (\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442)\":\"MZS LN 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)\":\"4\",\"\\u041a\\u0442\\u043e \\u043c\\u043e\\u043d\\u0442\\u0438\\u0440\\u043e\\u0432\\u0430\\u043b (\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442)\":\"\\u041c\\u0430\\u0441\\u0442\\u0435\\u0440 \\u043a\\u043e\\u043c\\u043f\\u0430\\u043d\\u0438\\u0438 Edenvor SRL\",\"\\u041d\\u043e\\u043c\\u0435\\u0440 \\u043a\\u043e\\u043d\\u0442\\u0440\\u0430\\u043a\\u0442\\u0430 (\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442)\":\"C5371\",\"\\u0418\\u043c\\u044f \\u043a\\u043b\\u0438\\u0435\\u043d\\u0442\\u0430 (\\u0421\\u041c\\u0421)\":\"Vasile\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"37378466196\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Vasile Pelin\",\"Contact_name\":\"Vasile Pelin\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"\\u0410\\u0441\\u0442\\u0430\\u043f\\u0435\\u043d\\u043a\\u043e\\u0432\\u0430 \\u042e\\u043b\\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\":\"2000088091923\",\"\\u0410\\u0434\\u0440\\u0435\\u0441\":\"Durlesti str.Racii 103\",\"\\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)\":\"07.08.2025\",\"\\u0422\\u0438\\u043f \\u0438 \\u043c\\u043e\\u0434\\u0435\\u043b\\u044c \\u043e\\u0431\\u043e\\u0440\\u0443\\u0434\\u043e\\u0432\\u0430\\u043d\\u0438\\u044f (\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442)\":\"MZS LN 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)\":\"4\",\"\\u041a\\u0442\\u043e \\u043c\\u043e\\u043d\\u0442\\u0438\\u0440\\u043e\\u0432\\u0430\\u043b (\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442)\":\"\\u041c\\u0430\\u0441\\u0442\\u0435\\u0440 \\u043a\\u043e\\u043c\\u043f\\u0430\\u043d\\u0438\\u0438 Edenvor SRL\",\"\\u041d\\u043e\\u043c\\u0435\\u0440 \\u043a\\u043e\\u043d\\u0442\\u0440\\u0430\\u043a\\u0442\\u0430 (\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442)\":\"C5371\",\"\\u0418\\u043c\\u044f \\u043a\\u043b\\u0438\\u0435\\u043d\\u0442\\u0430 (\\u0421\\u041c\\u0421)\":\"Vasile\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"37378466196\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Vasile Pelin\",\"Contact_name\":\"Vasile Pelin\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"\\u0410\\u0441\\u0442\\u0430\\u043f\\u0435\\u043d\\u043a\\u043e\\u0432\\u0430 \\u042e\\u043b\\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\":\"2000088091923\",\"\\u0410\\u0434\\u0440\\u0435\\u0441\":\"Durlesti str.Racii 103\",\"\\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)\":\"07.08.2025\",\"\\u0422\\u0438\\u043f \\u0438 \\u043c\\u043e\\u0434\\u0435\\u043b\\u044c \\u043e\\u0431\\u043e\\u0440\\u0443\\u0434\\u043e\\u0432\\u0430\\u043d\\u0438\\u044f (\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442)\":\"MZS LN 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)\":\"4\",\"\\u041a\\u0442\\u043e \\u043c\\u043e\\u043d\\u0442\\u0438\\u0440\\u043e\\u0432\\u0430\\u043b (\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442)\":\"\\u041c\\u0430\\u0441\\u0442\\u0435\\u0440 \\u043a\\u043e\\u043c\\u043f\\u0430\\u043d\\u0438\\u0438 Edenvor SRL\",\"\\u041d\\u043e\\u043c\\u0435\\u0440 \\u043a\\u043e\\u043d\\u0442\\u0440\\u0430\\u043a\\u0442\\u0430 (\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442)\":\"C5371\",\"\\u0418\\u043c\\u044f \\u043a\\u043b\\u0438\\u0435\\u043d\\u0442\\u0430 (\\u0421\\u041c\\u0421)\":\"Vasile\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"37378466196\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Vasile Pelin\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\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\":\"03.09.2026\",\"\\u041d\\u043e\\u043c\\u0435\\u0440\":\"1057\"},\"document\":{\"Date\":\"03.09.2026\",\"Number\":\"1057\"}}}","edit":true}} {"uid":"63beb08"}
[2026-09-03 17:28:42] docflow.DEBUG: GAS raw response {"raw":"[object] (stdClass: {\"code\":1,\"url\":\"https://docs.google.com/open?id=154ibolqOga8sA9G7-ANnbYmcNomv5VKOQrQgDZ0FOCE\",\"file_id\":\"154ibolqOga8sA9G7-ANnbYmcNomv5VKOQrQgDZ0FOCE\",\"error\":\"\",\"vars\":\"\"})"} {"uid":"63beb08"}
[2026-09-03 17:28:42] docflow.WARNING: AmoDrive generated-file move is not ready. {"fileId":"154ibolqOga8sA9G7-ANnbYmcNomv5VKOQrQgDZ0FOCE","context":null} {"uid":"63beb08"}
[2026-09-03 17:30:49] docflow.INFO: Apel createDoc {"data":{"amoAccountId":"32990686","amoUserId":null,"amoEntityId":"49111881","amoEntityType":"2","templateId":"11625","corporateEntityId":"","settlementAccountId":"","is_signed":null,"gdi":null,"number":null,"currentAmoUserId":null,"lang":"ru"}} {"uid":"1791c64"}
[2026-09-03 17:30:49] docflow.INFO: Token is valid for account 32990686. [] {"uid":"1791c64"}
[2026-09-03 17:30:49] docflow.DEBUG: getClientAuth returned {"auth":"[object] (stdClass: {\"domain\":\"eurosanteh.amocrm.ru\",\"access_token\":\"eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImp0aSI6IjMxYjNkMGQ2NTQyYmYzOGIyMmExNWY0ZTU0NzkwYmU0MTEzZjEyZmQ5NDc2MmI5ODJjYTc2NTZkNjgyN2U4MmUxMmQwYjRmOWY0ZDBlOGIxIn0.eyJhdWQiOiIwZDY0ZGZmYi1lNTRiLTQ0OGYtOWZiZi1iYWYyMjUxYTExZGIiLCJqdGkiOiIzMWIzZDBkNjU0MmJmMzhiMjJhMTVmNGU1NDc5MGJlNDExM2YxMmZkOTQ3NjJiOTgyY2E3NjU2ZDY4MjdlODJlMTJkMGI0ZjlmNGQwZThiMSIsImlhdCI6MTc4ODQzNjg4MSwibmJmIjoxNzg4NDM2ODgxLCJleHAiOjE3ODg1MjMyODEsInN1YiI6IjEzNjg3MzAyIiwiZ3JhbnRfdHlwZSI6IiIsImFjY291bnRfaWQiOjMyOTkwNjg2LCJiYXNlX2RvbWFpbiI6ImFtb2NybS5ydSIsInZlcnNpb24iOjIsInNjb3BlcyI6WyJwdXNoX25vdGlmaWNhdGlvbnMiLCJjcm0iLCJub3RpZmljYXRpb25zIl0sImhhc2hfdXVpZCI6IjE1NDU2ODFmLWRlOTktNDVhYS04OWQxLWE0NzRlZTE3MDc1NSIsImFwaV9kb21haW4iOiJhcGktYi5hbW9jcm0ucnUifQ.Nq7VbAHPw4_Vz1yk1Jp0Jznk3ZUB2O0x2gM51y01kw5AQ937poKjIuqIc8wlWqgGwq8YHTea6_XHkqlczecLVhsbQl79-j7UCRiTpKN9NnGR6pe6av1odvO4Xs6ORIPgfncfhkgVNPwjovmAJatx7v-tvIW3AWqPG92zCms8cVeWBPCAMWmCPwnxxnQFHNBs1avhpWJSc7dd93WuXvPjK8ThuZijUAyqrSqByOc2lj5H1D15tQpdQItlMQqT40UIfn8QpLk5TOlFdJp7JkNlhjeKTVkW1Zj5zaBC1ldCLHknugquc1i-o895SZt25u1cyjXAEYKvmQO4LWzBMjzhSw\"})","file":"/home/ytvmclwh/document.amocrm.md/src/Models/Docs.php","line":121} {"uid":"1791c64"}
[2026-09-03 17:30:51] docflow.DEBUG: AmoDrive docflow context request {"url":"https://google.emale.uno/api/docflow/google-context","query":{"account_id":"32990686","entity_id":"49111881","entity_type":"leads"}} {"uid":"1791c64"}
[2026-09-03 17:30: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=49111881&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/09/03 17:30:51</td>\r\n</tr>\r\n</table>\r\n<hr><center>tengine</center>\r\n</body>\r\n</html>\r\n"} {"uid":"1791c64"}
[2026-09-03 17:30:51] docflow.DEBUG: AmoDrive docflow context request {"url":"https://gd.glucose-dev.online/api/docflow/google-context","query":{"account_id":"32990686","entity_id":"49111881","entity_type":"leads"}} {"uid":"1791c64"}
[2026-09-03 17:30: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":"49111881","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":"1791c64"}
[2026-09-03 17:30:51] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://google.emale.uno/api/docflow/prepare-generated-doc","payload":{"account_id":"32990686","entity_id":"49111881","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"1791c64"}
[2026-09-03 17:30:52] docflow.WARNING: AmoDrive prepare-generated-doc request failed {"url":"https://google.emale.uno/api/docflow/prepare-generated-doc","http_code":null,"error":"HTTP/2 400 ","response":"<!DOCTYPE HTML PUBLIC \"-//IETF//DTD HTML 2.0//EN\">\r\n<html>\r\n<head><title>400 Bad Request</title></head>\r\n<body>\r\n<center><h1>400 Bad Request</h1></center>\r\n Sorry for the inconvenience.<br/>\r\nPlease report this message and include the following information to us.<br/>\r\nThank you very much!</p>\r\n<table>\r\n<tr>\r\n<td>URL:</td>\r\n<td>https://gd.glucose-dev.online/api/docflow/prepare-generated-doc</td>\r\n</tr>\r\n<tr>\r\n<td>Server:</td>\r\n<td>mail.glucose-dev.online</td>\r\n</tr>\r\n<tr>\r\n<td>Date:</td>\r\n<td>2026/09/03 17:30: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":"49111881","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"1791c64"}
[2026-09-03 17:30:52] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://gd.glucose-dev.online/api/docflow/prepare-generated-doc","payload":{"account_id":"32990686","entity_id":"49111881","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"1791c64"}
[2026-09-03 17:30:52] docflow.WARNING: AmoDrive prepare-generated-doc request failed {"url":"https://gd.glucose-dev.online/api/docflow/prepare-generated-doc","http_code":null,"error":"HTTP/2 404 ","response":"[object] (stdClass: {\"ok\":false,\"error\":\"AmoDrive is not installed for this account.\",\"accountId\":32990686})","payload":{"account_id":"32990686","entity_id":"49111881","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"1791c64"}
[2026-09-03 17:30:52] docflow.DEBUG: GAS request {"url":"https://script.google.com/macros/s/AKfycbwrvOJD46zkuoTzdhpc1kulhV8jRfgQBFZfQ121nkIip_k8yKit4xrbWTOzaJ-C-Yed6w/exec","body":{"templateFileId":"1AjK4khA9mRlFDVy4RXRqHAg2GTFWJYC-Gac1Mx3OLnA","accountId":"32990686","folderId":"1Us2AfskxgdA729xVr0F2vjZU9y5PlYDe","key":"~VTsK5dcnHc2cSSsjM$LFSjLlgbmJXwrp3R2P5nd","data":"{\"fileName\":\"ALL FOR ALL \\u041d\\u0430\\u0440\\u044f\\u0434 \\u043d\\u0430 \\u0432\\u044b\\u043f\\u043e\\u043b\\u043d\\u0435\\u043d\\u0438\\u0435 \\u0440\\u0430\\u0431\\u043e\\u0442 1059 20260903173051\",\"leadId\":\"49111881\",\"entities\":{\"\\u0441\\u0434\\u0435\\u043b\\u043a\\u0430\":{\"\\u0414\\u0430\\u0442\\u0430 \\u0438 \\u0432\\u0440\\u0435\\u043c\\u044f \\u0432\\u0438\\u0437\\u0438\\u0442\\u0430\":\"2026-09-04 10:44:00\",\"\\u0414\\u0430\\u0442\\u0430 \\u0432\\u0438\\u0437\\u0438\\u0442\\u0430\":\"04.09.2026\",\"\\u0426\\u0435\\u043b\\u044c \\u0432\\u044b\\u0435\\u0437\\u0434\\u0430\":\"\\u041f\\u0440\\u043e\\u0444\\u0438\\u043b\\u0430\\u043a\\u0442\\u0438\\u043a\\u0430 \\u043d\\u0435 \\u043f\\u043e \\u0433\\u0430\\u0440\\u0430\\u043d\\u0442\\u0438\\u0438\",\"\\u0412\\u0438\\u0434 \\u0432\\u044b\\u043f\\u043e\\u043b\\u043d\\u0435\\u043d\\u043d\\u044b\\u0445 \\u0440\\u0430\\u0431\\u043e\\u0442\":\"\\u041f\\u0440\\u043e\\u0444\\u0438\\u043b\\u0430\\u043a\\u0442\\u0438\\u043a\\u0430 \\u0441\\u043f\\u043b\\u0438\\u0442-\\u0441\\u0438\\u0441\\u0442\\u0435\\u043c \\u0432\\u0441\\u0435\\u0445 \\u043c\\u043e\\u0449\\u043d\\u043e\\u0441\\u0442\\u0435\\u0439 (\\u043e\\u0447\\u0438\\u0441\\u0442\\u043a\\u0430, \\u043f\\u0440\\u043e\\u0432\\u0435\\u0440\\u043a\\u0430 \\u0440\\u0430\\u0431\\u043e\\u0442\\u044b)\",\"ID\":\"49111881\",\"\\u0421\\u0434\\u0435\\u043b\\u043a\\u0430_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"\\u041f\\u0422\\u041e \\u043d\\u0435 \\u043f\\u043e \\u0433\\u0430\\u0440\\u0430\\u043d\\u0442\\u0438\\u0438\",\"Lead_name\":\"\\u041f\\u0422\\u041e \\u043d\\u0435 \\u043f\\u043e \\u0433\\u0430\\u0440\\u0430\\u043d\\u0442\\u0438\\u0438\",\"\\u0411\\u044e\\u0434\\u0436\\u0435\\u0442\":\"0\",\"Budget\":\"0\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"\\u0410\\u0441\\u0442\\u0430\\u043f\\u0435\\u043d\\u043a\\u043e\\u0432\\u0430 \\u042e\\u043b\\u0438\\u0430\\u043d\\u043d\\u0430\",\"Responsible\":\"\\u0410\\u0441\\u0442\\u0430\\u043f\\u0435\\u043d\\u043a\\u043e\\u0432\\u0430 \\u042e\\u043b\\u0438\\u0430\\u043d\\u043d\\u0430\"},\"lead\":{\"\\u0414\\u0430\\u0442\\u0430 \\u0438 \\u0432\\u0440\\u0435\\u043c\\u044f \\u0432\\u0438\\u0437\\u0438\\u0442\\u0430\":\"2026-09-04 10:44:00\",\"\\u0414\\u0430\\u0442\\u0430 \\u0432\\u0438\\u0437\\u0438\\u0442\\u0430\":\"04.09.2026\",\"\\u0426\\u0435\\u043b\\u044c \\u0432\\u044b\\u0435\\u0437\\u0434\\u0430\":\"\\u041f\\u0440\\u043e\\u0444\\u0438\\u043b\\u0430\\u043a\\u0442\\u0438\\u043a\\u0430 \\u043d\\u0435 \\u043f\\u043e \\u0433\\u0430\\u0440\\u0430\\u043d\\u0442\\u0438\\u0438\",\"\\u0412\\u0438\\u0434 \\u0432\\u044b\\u043f\\u043e\\u043b\\u043d\\u0435\\u043d\\u043d\\u044b\\u0445 \\u0440\\u0430\\u0431\\u043e\\u0442\":\"\\u041f\\u0440\\u043e\\u0444\\u0438\\u043b\\u0430\\u043a\\u0442\\u0438\\u043a\\u0430 \\u0441\\u043f\\u043b\\u0438\\u0442-\\u0441\\u0438\\u0441\\u0442\\u0435\\u043c \\u0432\\u0441\\u0435\\u0445 \\u043c\\u043e\\u0449\\u043d\\u043e\\u0441\\u0442\\u0435\\u0439 (\\u043e\\u0447\\u0438\\u0441\\u0442\\u043a\\u0430, \\u043f\\u0440\\u043e\\u0432\\u0435\\u0440\\u043a\\u0430 \\u0440\\u0430\\u0431\\u043e\\u0442\\u044b)\",\"ID\":\"49111881\",\"\\u0421\\u0434\\u0435\\u043b\\u043a\\u0430_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"\\u041f\\u0422\\u041e \\u043d\\u0435 \\u043f\\u043e \\u0433\\u0430\\u0440\\u0430\\u043d\\u0442\\u0438\\u0438\",\"Lead_name\":\"\\u041f\\u0422\\u041e \\u043d\\u0435 \\u043f\\u043e \\u0433\\u0430\\u0440\\u0430\\u043d\\u0442\\u0438\\u0438\",\"\\u0411\\u044e\\u0434\\u0436\\u0435\\u0442\":\"0\",\"Budget\":\"0\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"\\u0410\\u0441\\u0442\\u0430\\u043f\\u0435\\u043d\\u043a\\u043e\\u0432\\u0430 \\u042e\\u043b\\u0438\\u0430\\u043d\\u043d\\u0430\",\"Responsible\":\"\\u0410\\u0441\\u0442\\u0430\\u043f\\u0435\\u043d\\u043a\\u043e\\u0432\\u0430 \\u042e\\u043b\\u0438\\u0430\\u043d\\u043d\\u0430\"},\"\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442\":{\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"373078014183\",\"\\u0418\\u043c\\u044f \\u043a\\u043b\\u0438\\u0435\\u043d\\u0442\\u0430 (\\u0421\\u041c\\u0421)\":\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442 078014183\",\"\\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 078014183\",\"Contact_name\":\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442 078014183\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"\\u0410\\u0441\\u0442\\u0430\\u043f\\u0435\\u043d\\u043a\\u043e\\u0432\\u0430 \\u042e\\u043b\\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\":\"373078014183\",\"\\u0418\\u043c\\u044f \\u043a\\u043b\\u0438\\u0435\\u043d\\u0442\\u0430 (\\u0421\\u041c\\u0421)\":\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442 078014183\",\"\\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 078014183\",\"Contact_name\":\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442 078014183\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"\\u0410\\u0441\\u0442\\u0430\\u043f\\u0435\\u043d\\u043a\\u043e\\u0432\\u0430 \\u042e\\u043b\\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\":\"373078014183\",\"\\u0418\\u043c\\u044f \\u043a\\u043b\\u0438\\u0435\\u043d\\u0442\\u0430 (\\u0421\\u041c\\u0421)\":\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442 078014183\",\"\\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 078014183\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\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\":\"03.09.2026\",\"\\u041d\\u043e\\u043c\\u0435\\u0440\":\"1059\"},\"document\":{\"Date\":\"03.09.2026\",\"Number\":\"1059\"}}}","edit":true}} {"uid":"1791c64"}
[2026-09-03 17:31:05] docflow.DEBUG: GAS raw response {"raw":"[object] (stdClass: {\"code\":1,\"url\":\"https://docs.google.com/open?id=1QM_EpnpqQNQv63upfWqUeUw6yZGEmI_nFwKwO4Ue3TU\",\"file_id\":\"1QM_EpnpqQNQv63upfWqUeUw6yZGEmI_nFwKwO4Ue3TU\",\"error\":\"\",\"vars\":\"\"})"} {"uid":"1791c64"}
[2026-09-03 17:31:05] docflow.WARNING: AmoDrive generated-file move is not ready. {"fileId":"1QM_EpnpqQNQv63upfWqUeUw6yZGEmI_nFwKwO4Ue3TU","context":null} {"uid":"1791c64"}
[2026-09-03 17:31:15] docflow.INFO: Apel createDoc {"data":{"amoAccountId":"32990686","amoUserId":null,"amoEntityId":"49111881","amoEntityType":"2","templateId":"11646","corporateEntityId":"","settlementAccountId":"","is_signed":null,"gdi":null,"number":null,"currentAmoUserId":null,"lang":"ru"}} {"uid":"c6f4ffe"}
[2026-09-03 17:31:16] docflow.INFO: Token is valid for account 32990686. [] {"uid":"c6f4ffe"}
[2026-09-03 17:31:16] docflow.DEBUG: getClientAuth returned {"auth":"[object] (stdClass: {\"domain\":\"eurosanteh.amocrm.ru\",\"access_token\":\"eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImp0aSI6IjMxYjNkMGQ2NTQyYmYzOGIyMmExNWY0ZTU0NzkwYmU0MTEzZjEyZmQ5NDc2MmI5ODJjYTc2NTZkNjgyN2U4MmUxMmQwYjRmOWY0ZDBlOGIxIn0.eyJhdWQiOiIwZDY0ZGZmYi1lNTRiLTQ0OGYtOWZiZi1iYWYyMjUxYTExZGIiLCJqdGkiOiIzMWIzZDBkNjU0MmJmMzhiMjJhMTVmNGU1NDc5MGJlNDExM2YxMmZkOTQ3NjJiOTgyY2E3NjU2ZDY4MjdlODJlMTJkMGI0ZjlmNGQwZThiMSIsImlhdCI6MTc4ODQzNjg4MSwibmJmIjoxNzg4NDM2ODgxLCJleHAiOjE3ODg1MjMyODEsInN1YiI6IjEzNjg3MzAyIiwiZ3JhbnRfdHlwZSI6IiIsImFjY291bnRfaWQiOjMyOTkwNjg2LCJiYXNlX2RvbWFpbiI6ImFtb2NybS5ydSIsInZlcnNpb24iOjIsInNjb3BlcyI6WyJwdXNoX25vdGlmaWNhdGlvbnMiLCJjcm0iLCJub3RpZmljYXRpb25zIl0sImhhc2hfdXVpZCI6IjE1NDU2ODFmLWRlOTktNDVhYS04OWQxLWE0NzRlZTE3MDc1NSIsImFwaV9kb21haW4iOiJhcGktYi5hbW9jcm0ucnUifQ.Nq7VbAHPw4_Vz1yk1Jp0Jznk3ZUB2O0x2gM51y01kw5AQ937poKjIuqIc8wlWqgGwq8YHTea6_XHkqlczecLVhsbQl79-j7UCRiTpKN9NnGR6pe6av1odvO4Xs6ORIPgfncfhkgVNPwjovmAJatx7v-tvIW3AWqPG92zCms8cVeWBPCAMWmCPwnxxnQFHNBs1avhpWJSc7dd93WuXvPjK8ThuZijUAyqrSqByOc2lj5H1D15tQpdQItlMQqT40UIfn8QpLk5TOlFdJp7JkNlhjeKTVkW1Zj5zaBC1ldCLHknugquc1i-o895SZt25u1cyjXAEYKvmQO4LWzBMjzhSw\"})","file":"/home/ytvmclwh/document.amocrm.md/src/Models/Docs.php","line":121} {"uid":"c6f4ffe"}
[2026-09-03 17:31:18] docflow.DEBUG: AmoDrive docflow context request {"url":"https://google.emale.uno/api/docflow/google-context","query":{"account_id":"32990686","entity_id":"49111881","entity_type":"leads"}} {"uid":"c6f4ffe"}
[2026-09-03 17:31:18] 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=49111881&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/09/03 17:31:18</td>\r\n</tr>\r\n</table>\r\n<hr><center>tengine</center>\r\n</body>\r\n</html>\r\n"} {"uid":"c6f4ffe"}
[2026-09-03 17:31:18] docflow.DEBUG: AmoDrive docflow context request {"url":"https://gd.glucose-dev.online/api/docflow/google-context","query":{"account_id":"32990686","entity_id":"49111881","entity_type":"leads"}} {"uid":"c6f4ffe"}
[2026-09-03 17:31:18] 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":"49111881","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":"c6f4ffe"}
[2026-09-03 17:31:18] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://google.emale.uno/api/docflow/prepare-generated-doc","payload":{"account_id":"32990686","entity_id":"49111881","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"c6f4ffe"}
[2026-09-03 17:31:18] 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/09/03 17:31:18</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":"49111881","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"c6f4ffe"}
[2026-09-03 17:31:18] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://gd.glucose-dev.online/api/docflow/prepare-generated-doc","payload":{"account_id":"32990686","entity_id":"49111881","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"c6f4ffe"}
[2026-09-03 17:31:18] 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":"49111881","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"c6f4ffe"}
[2026-09-03 17:31:18] docflow.DEBUG: GAS request {"url":"https://script.google.com/macros/s/AKfycbwrvOJD46zkuoTzdhpc1kulhV8jRfgQBFZfQ121nkIip_k8yKit4xrbWTOzaJ-C-Yed6w/exec","body":{"templateFileId":"1ISSW7q2any2Qldkh8ZtwiERwaib6ci11XCezBMQIcRU","accountId":"32990686","folderId":"1Us2AfskxgdA729xVr0F2vjZU9y5PlYDe","key":"~VTsK5dcnHc2cSSsjM$LFSjLlgbmJXwrp3R2P5nd","data":"{\"fileName\":\"Act primire predare new All for All 1058 20260903173118\",\"leadId\":\"49111881\",\"entities\":{\"\\u0441\\u0434\\u0435\\u043b\\u043a\\u0430\":{\"\\u0414\\u0430\\u0442\\u0430 \\u0438 \\u0432\\u0440\\u0435\\u043c\\u044f \\u0432\\u0438\\u0437\\u0438\\u0442\\u0430\":\"2026-09-04 10:44:00\",\"\\u0414\\u0430\\u0442\\u0430 \\u0432\\u0438\\u0437\\u0438\\u0442\\u0430\":\"04.09.2026\",\"\\u0426\\u0435\\u043b\\u044c \\u0432\\u044b\\u0435\\u0437\\u0434\\u0430\":\"\\u041f\\u0440\\u043e\\u0444\\u0438\\u043b\\u0430\\u043a\\u0442\\u0438\\u043a\\u0430 \\u043d\\u0435 \\u043f\\u043e \\u0433\\u0430\\u0440\\u0430\\u043d\\u0442\\u0438\\u0438\",\"\\u0412\\u0438\\u0434 \\u0432\\u044b\\u043f\\u043e\\u043b\\u043d\\u0435\\u043d\\u043d\\u044b\\u0445 \\u0440\\u0430\\u0431\\u043e\\u0442\":\"\\u041f\\u0440\\u043e\\u0444\\u0438\\u043b\\u0430\\u043a\\u0442\\u0438\\u043a\\u0430 \\u0441\\u043f\\u043b\\u0438\\u0442-\\u0441\\u0438\\u0441\\u0442\\u0435\\u043c \\u0432\\u0441\\u0435\\u0445 \\u043c\\u043e\\u0449\\u043d\\u043e\\u0441\\u0442\\u0435\\u0439 (\\u043e\\u0447\\u0438\\u0441\\u0442\\u043a\\u0430, \\u043f\\u0440\\u043e\\u0432\\u0435\\u0440\\u043a\\u0430 \\u0440\\u0430\\u0431\\u043e\\u0442\\u044b)\",\"ID\":\"49111881\",\"\\u0421\\u0434\\u0435\\u043b\\u043a\\u0430_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"\\u041f\\u0422\\u041e \\u043d\\u0435 \\u043f\\u043e \\u0433\\u0430\\u0440\\u0430\\u043d\\u0442\\u0438\\u0438\",\"Lead_name\":\"\\u041f\\u0422\\u041e \\u043d\\u0435 \\u043f\\u043e \\u0433\\u0430\\u0440\\u0430\\u043d\\u0442\\u0438\\u0438\",\"\\u0411\\u044e\\u0434\\u0436\\u0435\\u0442\":\"0\",\"Budget\":\"0\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"\\u0410\\u0441\\u0442\\u0430\\u043f\\u0435\\u043d\\u043a\\u043e\\u0432\\u0430 \\u042e\\u043b\\u0438\\u0430\\u043d\\u043d\\u0430\",\"Responsible\":\"\\u0410\\u0441\\u0442\\u0430\\u043f\\u0435\\u043d\\u043a\\u043e\\u0432\\u0430 \\u042e\\u043b\\u0438\\u0430\\u043d\\u043d\\u0430\"},\"lead\":{\"\\u0414\\u0430\\u0442\\u0430 \\u0438 \\u0432\\u0440\\u0435\\u043c\\u044f \\u0432\\u0438\\u0437\\u0438\\u0442\\u0430\":\"2026-09-04 10:44:00\",\"\\u0414\\u0430\\u0442\\u0430 \\u0432\\u0438\\u0437\\u0438\\u0442\\u0430\":\"04.09.2026\",\"\\u0426\\u0435\\u043b\\u044c \\u0432\\u044b\\u0435\\u0437\\u0434\\u0430\":\"\\u041f\\u0440\\u043e\\u0444\\u0438\\u043b\\u0430\\u043a\\u0442\\u0438\\u043a\\u0430 \\u043d\\u0435 \\u043f\\u043e \\u0433\\u0430\\u0440\\u0430\\u043d\\u0442\\u0438\\u0438\",\"\\u0412\\u0438\\u0434 \\u0432\\u044b\\u043f\\u043e\\u043b\\u043d\\u0435\\u043d\\u043d\\u044b\\u0445 \\u0440\\u0430\\u0431\\u043e\\u0442\":\"\\u041f\\u0440\\u043e\\u0444\\u0438\\u043b\\u0430\\u043a\\u0442\\u0438\\u043a\\u0430 \\u0441\\u043f\\u043b\\u0438\\u0442-\\u0441\\u0438\\u0441\\u0442\\u0435\\u043c \\u0432\\u0441\\u0435\\u0445 \\u043c\\u043e\\u0449\\u043d\\u043e\\u0441\\u0442\\u0435\\u0439 (\\u043e\\u0447\\u0438\\u0441\\u0442\\u043a\\u0430, \\u043f\\u0440\\u043e\\u0432\\u0435\\u0440\\u043a\\u0430 \\u0440\\u0430\\u0431\\u043e\\u0442\\u044b)\",\"ID\":\"49111881\",\"\\u0421\\u0434\\u0435\\u043b\\u043a\\u0430_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"\\u041f\\u0422\\u041e \\u043d\\u0435 \\u043f\\u043e \\u0433\\u0430\\u0440\\u0430\\u043d\\u0442\\u0438\\u0438\",\"Lead_name\":\"\\u041f\\u0422\\u041e \\u043d\\u0435 \\u043f\\u043e \\u0433\\u0430\\u0440\\u0430\\u043d\\u0442\\u0438\\u0438\",\"\\u0411\\u044e\\u0434\\u0436\\u0435\\u0442\":\"0\",\"Budget\":\"0\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"\\u0410\\u0441\\u0442\\u0430\\u043f\\u0435\\u043d\\u043a\\u043e\\u0432\\u0430 \\u042e\\u043b\\u0438\\u0430\\u043d\\u043d\\u0430\",\"Responsible\":\"\\u0410\\u0441\\u0442\\u0430\\u043f\\u0435\\u043d\\u043a\\u043e\\u0432\\u0430 \\u042e\\u043b\\u0438\\u0430\\u043d\\u043d\\u0430\"},\"\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442\":{\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"373078014183\",\"\\u0418\\u043c\\u044f \\u043a\\u043b\\u0438\\u0435\\u043d\\u0442\\u0430 (\\u0421\\u041c\\u0421)\":\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442 078014183\",\"\\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 078014183\",\"Contact_name\":\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442 078014183\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"\\u0410\\u0441\\u0442\\u0430\\u043f\\u0435\\u043d\\u043a\\u043e\\u0432\\u0430 \\u042e\\u043b\\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\":\"373078014183\",\"\\u0418\\u043c\\u044f \\u043a\\u043b\\u0438\\u0435\\u043d\\u0442\\u0430 (\\u0421\\u041c\\u0421)\":\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442 078014183\",\"\\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 078014183\",\"Contact_name\":\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442 078014183\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"\\u0410\\u0441\\u0442\\u0430\\u043f\\u0435\\u043d\\u043a\\u043e\\u0432\\u0430 \\u042e\\u043b\\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\":\"373078014183\",\"\\u0418\\u043c\\u044f \\u043a\\u043b\\u0438\\u0435\\u043d\\u0442\\u0430 (\\u0421\\u041c\\u0421)\":\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442 078014183\",\"\\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 078014183\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\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\":\"03.09.2026\",\"\\u041d\\u043e\\u043c\\u0435\\u0440\":\"1058\"},\"document\":{\"Date\":\"03.09.2026\",\"Number\":\"1058\"}}}","edit":true}} {"uid":"c6f4ffe"}
[2026-09-03 17:31:23] docflow.DEBUG: GAS raw response {"raw":"[object] (stdClass: {\"code\":1,\"url\":\"https://docs.google.com/open?id=1VkCqe0_rJJYWbrVDULzk5xe-d8A9tNEYGEhqolC-3S0\",\"file_id\":\"1VkCqe0_rJJYWbrVDULzk5xe-d8A9tNEYGEhqolC-3S0\",\"error\":\"\",\"vars\":\"\"})"} {"uid":"c6f4ffe"}
[2026-09-03 17:31:23] docflow.WARNING: AmoDrive generated-file move is not ready. {"fileId":"1VkCqe0_rJJYWbrVDULzk5xe-d8A9tNEYGEhqolC-3S0","context":null} {"uid":"c6f4ffe"}
[2026-09-03 17:32:49] docflow.INFO: Apel createDoc {"data":{"amoAccountId":"32990686","amoUserId":null,"amoEntityId":"49111881","amoEntityType":"2","templateId":"11646","corporateEntityId":"","settlementAccountId":"","is_signed":null,"gdi":null,"number":null,"currentAmoUserId":null,"lang":"ru"}} {"uid":"3265e2c"}
[2026-09-03 17:32:50] docflow.INFO: Token is valid for account 32990686. [] {"uid":"3265e2c"}
[2026-09-03 17:32:50] docflow.DEBUG: getClientAuth returned {"auth":"[object] (stdClass: {\"domain\":\"eurosanteh.amocrm.ru\",\"access_token\":\"eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImp0aSI6IjMxYjNkMGQ2NTQyYmYzOGIyMmExNWY0ZTU0NzkwYmU0MTEzZjEyZmQ5NDc2MmI5ODJjYTc2NTZkNjgyN2U4MmUxMmQwYjRmOWY0ZDBlOGIxIn0.eyJhdWQiOiIwZDY0ZGZmYi1lNTRiLTQ0OGYtOWZiZi1iYWYyMjUxYTExZGIiLCJqdGkiOiIzMWIzZDBkNjU0MmJmMzhiMjJhMTVmNGU1NDc5MGJlNDExM2YxMmZkOTQ3NjJiOTgyY2E3NjU2ZDY4MjdlODJlMTJkMGI0ZjlmNGQwZThiMSIsImlhdCI6MTc4ODQzNjg4MSwibmJmIjoxNzg4NDM2ODgxLCJleHAiOjE3ODg1MjMyODEsInN1YiI6IjEzNjg3MzAyIiwiZ3JhbnRfdHlwZSI6IiIsImFjY291bnRfaWQiOjMyOTkwNjg2LCJiYXNlX2RvbWFpbiI6ImFtb2NybS5ydSIsInZlcnNpb24iOjIsInNjb3BlcyI6WyJwdXNoX25vdGlmaWNhdGlvbnMiLCJjcm0iLCJub3RpZmljYXRpb25zIl0sImhhc2hfdXVpZCI6IjE1NDU2ODFmLWRlOTktNDVhYS04OWQxLWE0NzRlZTE3MDc1NSIsImFwaV9kb21haW4iOiJhcGktYi5hbW9jcm0ucnUifQ.Nq7VbAHPw4_Vz1yk1Jp0Jznk3ZUB2O0x2gM51y01kw5AQ937poKjIuqIc8wlWqgGwq8YHTea6_XHkqlczecLVhsbQl79-j7UCRiTpKN9NnGR6pe6av1odvO4Xs6ORIPgfncfhkgVNPwjovmAJatx7v-tvIW3AWqPG92zCms8cVeWBPCAMWmCPwnxxnQFHNBs1avhpWJSc7dd93WuXvPjK8ThuZijUAyqrSqByOc2lj5H1D15tQpdQItlMQqT40UIfn8QpLk5TOlFdJp7JkNlhjeKTVkW1Zj5zaBC1ldCLHknugquc1i-o895SZt25u1cyjXAEYKvmQO4LWzBMjzhSw\"})","file":"/home/ytvmclwh/document.amocrm.md/src/Models/Docs.php","line":121} {"uid":"3265e2c"}
[2026-09-03 17:32:52] docflow.DEBUG: AmoDrive docflow context request {"url":"https://google.emale.uno/api/docflow/google-context","query":{"account_id":"32990686","entity_id":"49111881","entity_type":"leads"}} {"uid":"3265e2c"}
[2026-09-03 17:32:52] docflow.WARNING: AmoDrive docflow context request failed {"url":"https://google.emale.uno/api/docflow/google-context","http_code":null,"error":"HTTP/2 400 ","response":"<!DOCTYPE HTML PUBLIC \"-//IETF//DTD HTML 2.0//EN\">\r\n<html>\r\n<head><title>400 Bad Request</title></head>\r\n<body>\r\n<center><h1>400 Bad Request</h1></center>\r\n Sorry for the inconvenience.<br/>\r\nPlease report this message and include the following information to us.<br/>\r\nThank you very much!</p>\r\n<table>\r\n<tr>\r\n<td>URL:</td>\r\n<td>https://gd.glucose-dev.online/api/docflow/google-context?account_id=32990686&amp;entity_id=49111881&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/09/03 17:32:52</td>\r\n</tr>\r\n</table>\r\n<hr><center>tengine</center>\r\n</body>\r\n</html>\r\n"} {"uid":"3265e2c"}
[2026-09-03 17:32:52] docflow.DEBUG: AmoDrive docflow context request {"url":"https://gd.glucose-dev.online/api/docflow/google-context","query":{"account_id":"32990686","entity_id":"49111881","entity_type":"leads"}} {"uid":"3265e2c"}
[2026-09-03 17:32:52] docflow.WARNING: AmoDrive docflow context response is not ready, trying next backend. {"url":"https://gd.glucose-dev.online/api/docflow/google-context","payload":{"ok":true,"accountId":32990686,"entityId":"49111881","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":"3265e2c"}
[2026-09-03 17:32:52] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://google.emale.uno/api/docflow/prepare-generated-doc","payload":{"account_id":"32990686","entity_id":"49111881","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"3265e2c"}
[2026-09-03 17:32:52] docflow.WARNING: AmoDrive prepare-generated-doc request failed {"url":"https://google.emale.uno/api/docflow/prepare-generated-doc","http_code":null,"error":"HTTP/2 400 ","response":"<!DOCTYPE HTML PUBLIC \"-//IETF//DTD HTML 2.0//EN\">\r\n<html>\r\n<head><title>400 Bad Request</title></head>\r\n<body>\r\n<center><h1>400 Bad Request</h1></center>\r\n Sorry for the inconvenience.<br/>\r\nPlease report this message and include the following information to us.<br/>\r\nThank you very much!</p>\r\n<table>\r\n<tr>\r\n<td>URL:</td>\r\n<td>https://gd.glucose-dev.online/api/docflow/prepare-generated-doc</td>\r\n</tr>\r\n<tr>\r\n<td>Server:</td>\r\n<td>mail.glucose-dev.online</td>\r\n</tr>\r\n<tr>\r\n<td>Date:</td>\r\n<td>2026/09/03 17:32: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":"49111881","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"3265e2c"}
[2026-09-03 17:32:52] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://gd.glucose-dev.online/api/docflow/prepare-generated-doc","payload":{"account_id":"32990686","entity_id":"49111881","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"3265e2c"}
[2026-09-03 17:32:52] docflow.WARNING: AmoDrive prepare-generated-doc request failed {"url":"https://gd.glucose-dev.online/api/docflow/prepare-generated-doc","http_code":null,"error":"HTTP/2 404 ","response":"[object] (stdClass: {\"ok\":false,\"error\":\"AmoDrive is not installed for this account.\",\"accountId\":32990686})","payload":{"account_id":"32990686","entity_id":"49111881","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"3265e2c"}
[2026-09-03 17:32:52] docflow.DEBUG: GAS request {"url":"https://script.google.com/macros/s/AKfycbwrvOJD46zkuoTzdhpc1kulhV8jRfgQBFZfQ121nkIip_k8yKit4xrbWTOzaJ-C-Yed6w/exec","body":{"templateFileId":"1ISSW7q2any2Qldkh8ZtwiERwaib6ci11XCezBMQIcRU","accountId":"32990686","folderId":"1Us2AfskxgdA729xVr0F2vjZU9y5PlYDe","key":"~VTsK5dcnHc2cSSsjM$LFSjLlgbmJXwrp3R2P5nd","data":"{\"fileName\":\"Act primire predare new All for All 1059 20260903173252\",\"leadId\":\"49111881\",\"entities\":{\"\\u0441\\u0434\\u0435\\u043b\\u043a\\u0430\":{\"\\u0414\\u0430\\u0442\\u0430 \\u0438 \\u0432\\u0440\\u0435\\u043c\\u044f \\u0432\\u0438\\u0437\\u0438\\u0442\\u0430\":\"2026-09-04 10:44:00\",\"\\u0414\\u0430\\u0442\\u0430 \\u0432\\u0438\\u0437\\u0438\\u0442\\u0430\":\"04.09.2026\",\"\\u0426\\u0435\\u043b\\u044c \\u0432\\u044b\\u0435\\u0437\\u0434\\u0430\":\"\\u041f\\u0440\\u043e\\u0444\\u0438\\u043b\\u0430\\u043a\\u0442\\u0438\\u043a\\u0430 \\u043d\\u0435 \\u043f\\u043e \\u0433\\u0430\\u0440\\u0430\\u043d\\u0442\\u0438\\u0438\",\"\\u0412\\u0438\\u0434 \\u0432\\u044b\\u043f\\u043e\\u043b\\u043d\\u0435\\u043d\\u043d\\u044b\\u0445 \\u0440\\u0430\\u0431\\u043e\\u0442\":\"\\u041f\\u0440\\u043e\\u0444\\u0438\\u043b\\u0430\\u043a\\u0442\\u0438\\u043a\\u0430 \\u0441\\u043f\\u043b\\u0438\\u0442-\\u0441\\u0438\\u0441\\u0442\\u0435\\u043c \\u0432\\u0441\\u0435\\u0445 \\u043c\\u043e\\u0449\\u043d\\u043e\\u0441\\u0442\\u0435\\u0439 (\\u043e\\u0447\\u0438\\u0441\\u0442\\u043a\\u0430, \\u043f\\u0440\\u043e\\u0432\\u0435\\u0440\\u043a\\u0430 \\u0440\\u0430\\u0431\\u043e\\u0442\\u044b)\",\"ID\":\"49111881\",\"\\u0421\\u0434\\u0435\\u043b\\u043a\\u0430_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"\\u041f\\u0422\\u041e \\u043d\\u0435 \\u043f\\u043e \\u0433\\u0430\\u0440\\u0430\\u043d\\u0442\\u0438\\u0438\",\"Lead_name\":\"\\u041f\\u0422\\u041e \\u043d\\u0435 \\u043f\\u043e \\u0433\\u0430\\u0440\\u0430\\u043d\\u0442\\u0438\\u0438\",\"\\u0411\\u044e\\u0434\\u0436\\u0435\\u0442\":\"0\",\"Budget\":\"0\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"\\u0410\\u0441\\u0442\\u0430\\u043f\\u0435\\u043d\\u043a\\u043e\\u0432\\u0430 \\u042e\\u043b\\u0438\\u0430\\u043d\\u043d\\u0430\",\"Responsible\":\"\\u0410\\u0441\\u0442\\u0430\\u043f\\u0435\\u043d\\u043a\\u043e\\u0432\\u0430 \\u042e\\u043b\\u0438\\u0430\\u043d\\u043d\\u0430\"},\"lead\":{\"\\u0414\\u0430\\u0442\\u0430 \\u0438 \\u0432\\u0440\\u0435\\u043c\\u044f \\u0432\\u0438\\u0437\\u0438\\u0442\\u0430\":\"2026-09-04 10:44:00\",\"\\u0414\\u0430\\u0442\\u0430 \\u0432\\u0438\\u0437\\u0438\\u0442\\u0430\":\"04.09.2026\",\"\\u0426\\u0435\\u043b\\u044c \\u0432\\u044b\\u0435\\u0437\\u0434\\u0430\":\"\\u041f\\u0440\\u043e\\u0444\\u0438\\u043b\\u0430\\u043a\\u0442\\u0438\\u043a\\u0430 \\u043d\\u0435 \\u043f\\u043e \\u0433\\u0430\\u0440\\u0430\\u043d\\u0442\\u0438\\u0438\",\"\\u0412\\u0438\\u0434 \\u0432\\u044b\\u043f\\u043e\\u043b\\u043d\\u0435\\u043d\\u043d\\u044b\\u0445 \\u0440\\u0430\\u0431\\u043e\\u0442\":\"\\u041f\\u0440\\u043e\\u0444\\u0438\\u043b\\u0430\\u043a\\u0442\\u0438\\u043a\\u0430 \\u0441\\u043f\\u043b\\u0438\\u0442-\\u0441\\u0438\\u0441\\u0442\\u0435\\u043c \\u0432\\u0441\\u0435\\u0445 \\u043c\\u043e\\u0449\\u043d\\u043e\\u0441\\u0442\\u0435\\u0439 (\\u043e\\u0447\\u0438\\u0441\\u0442\\u043a\\u0430, \\u043f\\u0440\\u043e\\u0432\\u0435\\u0440\\u043a\\u0430 \\u0440\\u0430\\u0431\\u043e\\u0442\\u044b)\",\"ID\":\"49111881\",\"\\u0421\\u0434\\u0435\\u043b\\u043a\\u0430_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"\\u041f\\u0422\\u041e \\u043d\\u0435 \\u043f\\u043e \\u0433\\u0430\\u0440\\u0430\\u043d\\u0442\\u0438\\u0438\",\"Lead_name\":\"\\u041f\\u0422\\u041e \\u043d\\u0435 \\u043f\\u043e \\u0433\\u0430\\u0440\\u0430\\u043d\\u0442\\u0438\\u0438\",\"\\u0411\\u044e\\u0434\\u0436\\u0435\\u0442\":\"0\",\"Budget\":\"0\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"\\u0410\\u0441\\u0442\\u0430\\u043f\\u0435\\u043d\\u043a\\u043e\\u0432\\u0430 \\u042e\\u043b\\u0438\\u0430\\u043d\\u043d\\u0430\",\"Responsible\":\"\\u0410\\u0441\\u0442\\u0430\\u043f\\u0435\\u043d\\u043a\\u043e\\u0432\\u0430 \\u042e\\u043b\\u0438\\u0430\\u043d\\u043d\\u0430\"},\"\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442\":{\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"373078014183\",\"\\u0418\\u043c\\u044f \\u043a\\u043b\\u0438\\u0435\\u043d\\u0442\\u0430 (\\u0421\\u041c\\u0421)\":\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442 078014183\",\"\\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 078014183\",\"Contact_name\":\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442 078014183\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"\\u0410\\u0441\\u0442\\u0430\\u043f\\u0435\\u043d\\u043a\\u043e\\u0432\\u0430 \\u042e\\u043b\\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\":\"373078014183\",\"\\u0418\\u043c\\u044f \\u043a\\u043b\\u0438\\u0435\\u043d\\u0442\\u0430 (\\u0421\\u041c\\u0421)\":\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442 078014183\",\"\\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 078014183\",\"Contact_name\":\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442 078014183\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"\\u0410\\u0441\\u0442\\u0430\\u043f\\u0435\\u043d\\u043a\\u043e\\u0432\\u0430 \\u042e\\u043b\\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\":\"373078014183\",\"\\u0418\\u043c\\u044f \\u043a\\u043b\\u0438\\u0435\\u043d\\u0442\\u0430 (\\u0421\\u041c\\u0421)\":\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442 078014183\",\"\\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 078014183\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\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\":\"03.09.2026\",\"\\u041d\\u043e\\u043c\\u0435\\u0440\":\"1059\"},\"document\":{\"Date\":\"03.09.2026\",\"Number\":\"1059\"}}}","edit":true}} {"uid":"3265e2c"}
[2026-09-03 17:32:58] docflow.DEBUG: GAS raw response {"raw":"[object] (stdClass: {\"code\":1,\"url\":\"https://docs.google.com/open?id=1l8aO3Y8H_KN_1OOQZXAFUoC25wARD4m5WYqFIHN8gYk\",\"file_id\":\"1l8aO3Y8H_KN_1OOQZXAFUoC25wARD4m5WYqFIHN8gYk\",\"error\":\"\",\"vars\":\"\"})"} {"uid":"3265e2c"}
[2026-09-03 17:32:58] docflow.WARNING: AmoDrive generated-file move is not ready. {"fileId":"1l8aO3Y8H_KN_1OOQZXAFUoC25wARD4m5WYqFIHN8gYk","context":null} {"uid":"3265e2c"}
[2026-09-03 17:35:06] docflow.INFO: Apel createDoc {"data":{"amoAccountId":"32990686","amoUserId":null,"amoEntityId":"40277321","amoEntityType":"2","templateId":"11625","corporateEntityId":"","settlementAccountId":"","is_signed":null,"gdi":null,"number":null,"currentAmoUserId":null,"lang":"ru"}} {"uid":"6db5bd6"}
[2026-09-03 17:35:07] docflow.INFO: Token is valid for account 32990686. [] {"uid":"6db5bd6"}
[2026-09-03 17:35:07] docflow.DEBUG: getClientAuth returned {"auth":"[object] (stdClass: {\"domain\":\"eurosanteh.amocrm.ru\",\"access_token\":\"eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImp0aSI6IjMxYjNkMGQ2NTQyYmYzOGIyMmExNWY0ZTU0NzkwYmU0MTEzZjEyZmQ5NDc2MmI5ODJjYTc2NTZkNjgyN2U4MmUxMmQwYjRmOWY0ZDBlOGIxIn0.eyJhdWQiOiIwZDY0ZGZmYi1lNTRiLTQ0OGYtOWZiZi1iYWYyMjUxYTExZGIiLCJqdGkiOiIzMWIzZDBkNjU0MmJmMzhiMjJhMTVmNGU1NDc5MGJlNDExM2YxMmZkOTQ3NjJiOTgyY2E3NjU2ZDY4MjdlODJlMTJkMGI0ZjlmNGQwZThiMSIsImlhdCI6MTc4ODQzNjg4MSwibmJmIjoxNzg4NDM2ODgxLCJleHAiOjE3ODg1MjMyODEsInN1YiI6IjEzNjg3MzAyIiwiZ3JhbnRfdHlwZSI6IiIsImFjY291bnRfaWQiOjMyOTkwNjg2LCJiYXNlX2RvbWFpbiI6ImFtb2NybS5ydSIsInZlcnNpb24iOjIsInNjb3BlcyI6WyJwdXNoX25vdGlmaWNhdGlvbnMiLCJjcm0iLCJub3RpZmljYXRpb25zIl0sImhhc2hfdXVpZCI6IjE1NDU2ODFmLWRlOTktNDVhYS04OWQxLWE0NzRlZTE3MDc1NSIsImFwaV9kb21haW4iOiJhcGktYi5hbW9jcm0ucnUifQ.Nq7VbAHPw4_Vz1yk1Jp0Jznk3ZUB2O0x2gM51y01kw5AQ937poKjIuqIc8wlWqgGwq8YHTea6_XHkqlczecLVhsbQl79-j7UCRiTpKN9NnGR6pe6av1odvO4Xs6ORIPgfncfhkgVNPwjovmAJatx7v-tvIW3AWqPG92zCms8cVeWBPCAMWmCPwnxxnQFHNBs1avhpWJSc7dd93WuXvPjK8ThuZijUAyqrSqByOc2lj5H1D15tQpdQItlMQqT40UIfn8QpLk5TOlFdJp7JkNlhjeKTVkW1Zj5zaBC1ldCLHknugquc1i-o895SZt25u1cyjXAEYKvmQO4LWzBMjzhSw\"})","file":"/home/ytvmclwh/document.amocrm.md/src/Models/Docs.php","line":121} {"uid":"6db5bd6"}
[2026-09-03 17:35:10] docflow.DEBUG: AmoDrive docflow context request {"url":"https://google.emale.uno/api/docflow/google-context","query":{"account_id":"32990686","entity_id":"40277321","entity_type":"leads"}} {"uid":"6db5bd6"}
[2026-09-03 17:35:10] docflow.WARNING: AmoDrive docflow context request failed {"url":"https://google.emale.uno/api/docflow/google-context","http_code":null,"error":"HTTP/2 400 ","response":"<!DOCTYPE HTML PUBLIC \"-//IETF//DTD HTML 2.0//EN\">\r\n<html>\r\n<head><title>400 Bad Request</title></head>\r\n<body>\r\n<center><h1>400 Bad Request</h1></center>\r\n Sorry for the inconvenience.<br/>\r\nPlease report this message and include the following information to us.<br/>\r\nThank you very much!</p>\r\n<table>\r\n<tr>\r\n<td>URL:</td>\r\n<td>https://gd.glucose-dev.online/api/docflow/google-context?account_id=32990686&amp;entity_id=40277321&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/09/03 17:35:10</td>\r\n</tr>\r\n</table>\r\n<hr><center>tengine</center>\r\n</body>\r\n</html>\r\n"} {"uid":"6db5bd6"}
[2026-09-03 17:35:10] docflow.DEBUG: AmoDrive docflow context request {"url":"https://gd.glucose-dev.online/api/docflow/google-context","query":{"account_id":"32990686","entity_id":"40277321","entity_type":"leads"}} {"uid":"6db5bd6"}
[2026-09-03 17:35:10] docflow.WARNING: AmoDrive docflow context response is not ready, trying next backend. {"url":"https://gd.glucose-dev.online/api/docflow/google-context","payload":{"ok":true,"accountId":32990686,"entityId":"40277321","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":"6db5bd6"}
[2026-09-03 17:35:10] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://google.emale.uno/api/docflow/prepare-generated-doc","payload":{"account_id":"32990686","entity_id":"40277321","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"6db5bd6"}
[2026-09-03 17:35: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/09/03 17:35:10</td>\r\n</tr>\r\n</table>\r\n<hr><center>tengine</center>\r\n</body>\r\n</html>\r\n","payload":{"account_id":"32990686","entity_id":"40277321","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"6db5bd6"}
[2026-09-03 17:35:10] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://gd.glucose-dev.online/api/docflow/prepare-generated-doc","payload":{"account_id":"32990686","entity_id":"40277321","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"6db5bd6"}
[2026-09-03 17:35:10] docflow.WARNING: AmoDrive prepare-generated-doc request failed {"url":"https://gd.glucose-dev.online/api/docflow/prepare-generated-doc","http_code":null,"error":"HTTP/2 404 ","response":"[object] (stdClass: {\"ok\":false,\"error\":\"AmoDrive is not installed for this account.\",\"accountId\":32990686})","payload":{"account_id":"32990686","entity_id":"40277321","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"6db5bd6"}
[2026-09-03 17:35:10] 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 1060 20260903173510\",\"leadId\":\"40277321\",\"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\":\"20.05.2026\",\"\\u041d\\u043e\\u043c\\u0435\\u0440 \\u043a\\u043e\\u043d\\u0442\\u0440\\u0430\\u043a\\u0442\\u0430\":\"A1977\",\"\\u0414\\u0430\\u0442\\u0430 \\u043c\\u043e\\u043d\\u0442\\u0430\\u0436\\u0430 (\\u0411\\u0414)\":\"20.05.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\\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)\":\"\\u041f\\u0430\\u0441\\u043a\\u0430\\u043b \\u042d.\",\"\\u0414\\u0435\\u043d\\u044c \\u043d\\u0435\\u0434\\u0435\\u043b\\u0438\":\"\\u0427\\u0435\\u0442\\u0432\\u0435\\u0440\\u0433\",\"\\u0414\\u0430\\u0442\\u0430 \\u0438 \\u0432\\u0440\\u0435\\u043c\\u044f \\u0432\\u0438\\u0437\\u0438\\u0442\\u0430\":\"2026-09-04 17:34:00\",\"\\u0414\\u0430\\u0442\\u0430 \\u0432\\u0438\\u0437\\u0438\\u0442\\u0430\":\"04.09.2026\",\"\\u0426\\u0435\\u043b\\u044c \\u0432\\u044b\\u0435\\u0437\\u0434\\u0430\":\"\\u041f\\u0440\\u043e\\u0444\\u0438\\u043b\\u0430\\u043a\\u0442\\u0438\\u043a\\u0430 \\u043f\\u043e \\u0433\\u0430\\u0440\\u0430\\u043d\\u0442\\u0438\\u0438\",\"\\u0412\\u0438\\u0434 \\u0432\\u044b\\u043f\\u043e\\u043b\\u043d\\u0435\\u043d\\u043d\\u044b\\u0445 \\u0440\\u0430\\u0431\\u043e\\u0442\":\"\\u041f\\u0440\\u043e\\u0444\\u0438\\u043b\\u0430\\u043a\\u0442\\u0438\\u043a\\u0430 \\u0441\\u043f\\u043b\\u0438\\u0442-\\u0441\\u0438\\u0441\\u0442\\u0435\\u043c \\u0432\\u0441\\u0435\\u0445 \\u043c\\u043e\\u0449\\u043d\\u043e\\u0441\\u0442\\u0435\\u0439 (\\u043e\\u0447\\u0438\\u0441\\u0442\\u043a\\u0430, \\u043f\\u0440\\u043e\\u0432\\u0435\\u0440\\u043a\\u0430 \\u0440\\u0430\\u0431\\u043e\\u0442\\u044b)\",\"ID\":\"40277321\",\"\\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\":\"20.05.2026\",\"\\u041d\\u043e\\u043c\\u0435\\u0440 \\u043a\\u043e\\u043d\\u0442\\u0440\\u0430\\u043a\\u0442\\u0430\":\"A1977\",\"\\u0414\\u0430\\u0442\\u0430 \\u043c\\u043e\\u043d\\u0442\\u0430\\u0436\\u0430 (\\u0411\\u0414)\":\"20.05.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\\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)\":\"\\u041f\\u0430\\u0441\\u043a\\u0430\\u043b \\u042d.\",\"\\u0414\\u0435\\u043d\\u044c \\u043d\\u0435\\u0434\\u0435\\u043b\\u0438\":\"\\u0427\\u0435\\u0442\\u0432\\u0435\\u0440\\u0433\",\"\\u0414\\u0430\\u0442\\u0430 \\u0438 \\u0432\\u0440\\u0435\\u043c\\u044f \\u0432\\u0438\\u0437\\u0438\\u0442\\u0430\":\"2026-09-04 17:34:00\",\"\\u0414\\u0430\\u0442\\u0430 \\u0432\\u0438\\u0437\\u0438\\u0442\\u0430\":\"04.09.2026\",\"\\u0426\\u0435\\u043b\\u044c \\u0432\\u044b\\u0435\\u0437\\u0434\\u0430\":\"\\u041f\\u0440\\u043e\\u0444\\u0438\\u043b\\u0430\\u043a\\u0442\\u0438\\u043a\\u0430 \\u043f\\u043e \\u0433\\u0430\\u0440\\u0430\\u043d\\u0442\\u0438\\u0438\",\"\\u0412\\u0438\\u0434 \\u0432\\u044b\\u043f\\u043e\\u043b\\u043d\\u0435\\u043d\\u043d\\u044b\\u0445 \\u0440\\u0430\\u0431\\u043e\\u0442\":\"\\u041f\\u0440\\u043e\\u0444\\u0438\\u043b\\u0430\\u043a\\u0442\\u0438\\u043a\\u0430 \\u0441\\u043f\\u043b\\u0438\\u0442-\\u0441\\u0438\\u0441\\u0442\\u0435\\u043c \\u0432\\u0441\\u0435\\u0445 \\u043c\\u043e\\u0449\\u043d\\u043e\\u0441\\u0442\\u0435\\u0439 (\\u043e\\u0447\\u0438\\u0441\\u0442\\u043a\\u0430, \\u043f\\u0440\\u043e\\u0432\\u0435\\u0440\\u043a\\u0430 \\u0440\\u0430\\u0431\\u043e\\u0442\\u044b)\",\"ID\":\"40277321\",\"\\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\":\"2005020069387\",\"\\u0410\\u0434\\u0440\\u0435\\u0441\":\"str.Vasile Lupu 81 ap92\",\"\\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)\":\"20.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 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)\":\"A1977\",\"\\u0418\\u043c\\u044f \\u043a\\u043b\\u0438\\u0435\\u043d\\u0442\\u0430 (\\u0421\\u041c\\u0421)\":\"Cristina\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"37369279278\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Cristina Orciulenco\",\"Contact_name\":\"Cristina Orciulenco\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"\\u0410\\u0441\\u0442\\u0430\\u043f\\u0435\\u043d\\u043a\\u043e\\u0432\\u0430 \\u042e\\u043b\\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\":\"2005020069387\",\"\\u0410\\u0434\\u0440\\u0435\\u0441\":\"str.Vasile Lupu 81 ap92\",\"\\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)\":\"20.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 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)\":\"A1977\",\"\\u0418\\u043c\\u044f \\u043a\\u043b\\u0438\\u0435\\u043d\\u0442\\u0430 (\\u0421\\u041c\\u0421)\":\"Cristina\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"37369279278\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Cristina Orciulenco\",\"Contact_name\":\"Cristina Orciulenco\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"\\u0410\\u0441\\u0442\\u0430\\u043f\\u0435\\u043d\\u043a\\u043e\\u0432\\u0430 \\u042e\\u043b\\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\":\"2005020069387\",\"\\u0410\\u0434\\u0440\\u0435\\u0441\":\"str.Vasile Lupu 81 ap92\",\"\\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)\":\"20.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 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)\":\"A1977\",\"\\u0418\\u043c\\u044f \\u043a\\u043b\\u0438\\u0435\\u043d\\u0442\\u0430 (\\u0421\\u041c\\u0421)\":\"Cristina\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"37369279278\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Cristina Orciulenco\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\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\":\"03.09.2026\",\"\\u041d\\u043e\\u043c\\u0435\\u0440\":\"1060\"},\"document\":{\"Date\":\"03.09.2026\",\"Number\":\"1060\"}}}","edit":true}} {"uid":"6db5bd6"}
[2026-09-03 17:35:17] docflow.DEBUG: GAS raw response {"raw":"[object] (stdClass: {\"code\":1,\"url\":\"https://docs.google.com/open?id=1tKNUshlqAOXYaZRBkBKytvmOg5O2iXYfLmtV21N3uGI\",\"file_id\":\"1tKNUshlqAOXYaZRBkBKytvmOg5O2iXYfLmtV21N3uGI\",\"error\":\"\",\"vars\":\"\"})"} {"uid":"6db5bd6"}
[2026-09-03 17:35:17] docflow.WARNING: AmoDrive generated-file move is not ready. {"fileId":"1tKNUshlqAOXYaZRBkBKytvmOg5O2iXYfLmtV21N3uGI","context":null} {"uid":"6db5bd6"}
[2026-09-03 17:35:40] docflow.INFO: Apel createDoc {"data":{"amoAccountId":"32990686","amoUserId":null,"amoEntityId":"40277321","amoEntityType":"2","templateId":"11646","corporateEntityId":"","settlementAccountId":"","is_signed":null,"gdi":null,"number":null,"currentAmoUserId":null,"lang":"ru"}} {"uid":"173026f"}
[2026-09-03 17:35:40] docflow.INFO: Token is valid for account 32990686. [] {"uid":"173026f"}
[2026-09-03 17:35:40] docflow.DEBUG: getClientAuth returned {"auth":"[object] (stdClass: {\"domain\":\"eurosanteh.amocrm.ru\",\"access_token\":\"eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImp0aSI6IjMxYjNkMGQ2NTQyYmYzOGIyMmExNWY0ZTU0NzkwYmU0MTEzZjEyZmQ5NDc2MmI5ODJjYTc2NTZkNjgyN2U4MmUxMmQwYjRmOWY0ZDBlOGIxIn0.eyJhdWQiOiIwZDY0ZGZmYi1lNTRiLTQ0OGYtOWZiZi1iYWYyMjUxYTExZGIiLCJqdGkiOiIzMWIzZDBkNjU0MmJmMzhiMjJhMTVmNGU1NDc5MGJlNDExM2YxMmZkOTQ3NjJiOTgyY2E3NjU2ZDY4MjdlODJlMTJkMGI0ZjlmNGQwZThiMSIsImlhdCI6MTc4ODQzNjg4MSwibmJmIjoxNzg4NDM2ODgxLCJleHAiOjE3ODg1MjMyODEsInN1YiI6IjEzNjg3MzAyIiwiZ3JhbnRfdHlwZSI6IiIsImFjY291bnRfaWQiOjMyOTkwNjg2LCJiYXNlX2RvbWFpbiI6ImFtb2NybS5ydSIsInZlcnNpb24iOjIsInNjb3BlcyI6WyJwdXNoX25vdGlmaWNhdGlvbnMiLCJjcm0iLCJub3RpZmljYXRpb25zIl0sImhhc2hfdXVpZCI6IjE1NDU2ODFmLWRlOTktNDVhYS04OWQxLWE0NzRlZTE3MDc1NSIsImFwaV9kb21haW4iOiJhcGktYi5hbW9jcm0ucnUifQ.Nq7VbAHPw4_Vz1yk1Jp0Jznk3ZUB2O0x2gM51y01kw5AQ937poKjIuqIc8wlWqgGwq8YHTea6_XHkqlczecLVhsbQl79-j7UCRiTpKN9NnGR6pe6av1odvO4Xs6ORIPgfncfhkgVNPwjovmAJatx7v-tvIW3AWqPG92zCms8cVeWBPCAMWmCPwnxxnQFHNBs1avhpWJSc7dd93WuXvPjK8ThuZijUAyqrSqByOc2lj5H1D15tQpdQItlMQqT40UIfn8QpLk5TOlFdJp7JkNlhjeKTVkW1Zj5zaBC1ldCLHknugquc1i-o895SZt25u1cyjXAEYKvmQO4LWzBMjzhSw\"})","file":"/home/ytvmclwh/document.amocrm.md/src/Models/Docs.php","line":121} {"uid":"173026f"}
[2026-09-03 17:35:42] docflow.DEBUG: AmoDrive docflow context request {"url":"https://google.emale.uno/api/docflow/google-context","query":{"account_id":"32990686","entity_id":"40277321","entity_type":"leads"}} {"uid":"173026f"}
[2026-09-03 17:35:42] 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=40277321&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/09/03 17:35:42</td>\r\n</tr>\r\n</table>\r\n<hr><center>tengine</center>\r\n</body>\r\n</html>\r\n"} {"uid":"173026f"}
[2026-09-03 17:35:42] docflow.DEBUG: AmoDrive docflow context request {"url":"https://gd.glucose-dev.online/api/docflow/google-context","query":{"account_id":"32990686","entity_id":"40277321","entity_type":"leads"}} {"uid":"173026f"}
[2026-09-03 17:35:42] 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":"40277321","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":"173026f"}
[2026-09-03 17:35:42] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://google.emale.uno/api/docflow/prepare-generated-doc","payload":{"account_id":"32990686","entity_id":"40277321","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"173026f"}
[2026-09-03 17:35:42] 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/09/03 17:35: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":"32990686","entity_id":"40277321","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"173026f"}
[2026-09-03 17:35:42] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://gd.glucose-dev.online/api/docflow/prepare-generated-doc","payload":{"account_id":"32990686","entity_id":"40277321","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"173026f"}
[2026-09-03 17:35:42] 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":"40277321","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"173026f"}
[2026-09-03 17:35:42] docflow.DEBUG: GAS request {"url":"https://script.google.com/macros/s/AKfycbwrvOJD46zkuoTzdhpc1kulhV8jRfgQBFZfQ121nkIip_k8yKit4xrbWTOzaJ-C-Yed6w/exec","body":{"templateFileId":"1ISSW7q2any2Qldkh8ZtwiERwaib6ci11XCezBMQIcRU","accountId":"32990686","folderId":"1Us2AfskxgdA729xVr0F2vjZU9y5PlYDe","key":"~VTsK5dcnHc2cSSsjM$LFSjLlgbmJXwrp3R2P5nd","data":"{\"fileName\":\"Act primire predare new All for All 1060 20260903173542\",\"leadId\":\"40277321\",\"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\":\"20.05.2026\",\"\\u041d\\u043e\\u043c\\u0435\\u0440 \\u043a\\u043e\\u043d\\u0442\\u0440\\u0430\\u043a\\u0442\\u0430\":\"A1977\",\"\\u0414\\u0430\\u0442\\u0430 \\u043c\\u043e\\u043d\\u0442\\u0430\\u0436\\u0430 (\\u0411\\u0414)\":\"20.05.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\\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)\":\"\\u041f\\u0430\\u0441\\u043a\\u0430\\u043b \\u042d.\",\"\\u0414\\u0435\\u043d\\u044c \\u043d\\u0435\\u0434\\u0435\\u043b\\u0438\":\"\\u0427\\u0435\\u0442\\u0432\\u0435\\u0440\\u0433\",\"\\u0414\\u0430\\u0442\\u0430 \\u0438 \\u0432\\u0440\\u0435\\u043c\\u044f \\u0432\\u0438\\u0437\\u0438\\u0442\\u0430\":\"2026-09-04 17:34:00\",\"\\u0414\\u0430\\u0442\\u0430 \\u0432\\u0438\\u0437\\u0438\\u0442\\u0430\":\"04.09.2026\",\"\\u0426\\u0435\\u043b\\u044c \\u0432\\u044b\\u0435\\u0437\\u0434\\u0430\":\"\\u041f\\u0440\\u043e\\u0444\\u0438\\u043b\\u0430\\u043a\\u0442\\u0438\\u043a\\u0430 \\u043f\\u043e \\u0433\\u0430\\u0440\\u0430\\u043d\\u0442\\u0438\\u0438\",\"\\u0412\\u0438\\u0434 \\u0432\\u044b\\u043f\\u043e\\u043b\\u043d\\u0435\\u043d\\u043d\\u044b\\u0445 \\u0440\\u0430\\u0431\\u043e\\u0442\":\"\\u041f\\u0440\\u043e\\u0444\\u0438\\u043b\\u0430\\u043a\\u0442\\u0438\\u043a\\u0430 \\u0441\\u043f\\u043b\\u0438\\u0442-\\u0441\\u0438\\u0441\\u0442\\u0435\\u043c \\u0432\\u0441\\u0435\\u0445 \\u043c\\u043e\\u0449\\u043d\\u043e\\u0441\\u0442\\u0435\\u0439 (\\u043e\\u0447\\u0438\\u0441\\u0442\\u043a\\u0430, \\u043f\\u0440\\u043e\\u0432\\u0435\\u0440\\u043a\\u0430 \\u0440\\u0430\\u0431\\u043e\\u0442\\u044b)\",\"ID\":\"40277321\",\"\\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\":\"20.05.2026\",\"\\u041d\\u043e\\u043c\\u0435\\u0440 \\u043a\\u043e\\u043d\\u0442\\u0440\\u0430\\u043a\\u0442\\u0430\":\"A1977\",\"\\u0414\\u0430\\u0442\\u0430 \\u043c\\u043e\\u043d\\u0442\\u0430\\u0436\\u0430 (\\u0411\\u0414)\":\"20.05.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\\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)\":\"\\u041f\\u0430\\u0441\\u043a\\u0430\\u043b \\u042d.\",\"\\u0414\\u0435\\u043d\\u044c \\u043d\\u0435\\u0434\\u0435\\u043b\\u0438\":\"\\u0427\\u0435\\u0442\\u0432\\u0435\\u0440\\u0433\",\"\\u0414\\u0430\\u0442\\u0430 \\u0438 \\u0432\\u0440\\u0435\\u043c\\u044f \\u0432\\u0438\\u0437\\u0438\\u0442\\u0430\":\"2026-09-04 17:34:00\",\"\\u0414\\u0430\\u0442\\u0430 \\u0432\\u0438\\u0437\\u0438\\u0442\\u0430\":\"04.09.2026\",\"\\u0426\\u0435\\u043b\\u044c \\u0432\\u044b\\u0435\\u0437\\u0434\\u0430\":\"\\u041f\\u0440\\u043e\\u0444\\u0438\\u043b\\u0430\\u043a\\u0442\\u0438\\u043a\\u0430 \\u043f\\u043e \\u0433\\u0430\\u0440\\u0430\\u043d\\u0442\\u0438\\u0438\",\"\\u0412\\u0438\\u0434 \\u0432\\u044b\\u043f\\u043e\\u043b\\u043d\\u0435\\u043d\\u043d\\u044b\\u0445 \\u0440\\u0430\\u0431\\u043e\\u0442\":\"\\u041f\\u0440\\u043e\\u0444\\u0438\\u043b\\u0430\\u043a\\u0442\\u0438\\u043a\\u0430 \\u0441\\u043f\\u043b\\u0438\\u0442-\\u0441\\u0438\\u0441\\u0442\\u0435\\u043c \\u0432\\u0441\\u0435\\u0445 \\u043c\\u043e\\u0449\\u043d\\u043e\\u0441\\u0442\\u0435\\u0439 (\\u043e\\u0447\\u0438\\u0441\\u0442\\u043a\\u0430, \\u043f\\u0440\\u043e\\u0432\\u0435\\u0440\\u043a\\u0430 \\u0440\\u0430\\u0431\\u043e\\u0442\\u044b)\",\"ID\":\"40277321\",\"\\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\":\"2005020069387\",\"\\u0410\\u0434\\u0440\\u0435\\u0441\":\"str.Vasile Lupu 81 ap92\",\"\\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)\":\"20.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 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)\":\"A1977\",\"\\u0418\\u043c\\u044f \\u043a\\u043b\\u0438\\u0435\\u043d\\u0442\\u0430 (\\u0421\\u041c\\u0421)\":\"Cristina\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"37369279278\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Cristina Orciulenco\",\"Contact_name\":\"Cristina Orciulenco\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"\\u0410\\u0441\\u0442\\u0430\\u043f\\u0435\\u043d\\u043a\\u043e\\u0432\\u0430 \\u042e\\u043b\\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\":\"2005020069387\",\"\\u0410\\u0434\\u0440\\u0435\\u0441\":\"str.Vasile Lupu 81 ap92\",\"\\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)\":\"20.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 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)\":\"A1977\",\"\\u0418\\u043c\\u044f \\u043a\\u043b\\u0438\\u0435\\u043d\\u0442\\u0430 (\\u0421\\u041c\\u0421)\":\"Cristina\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"37369279278\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Cristina Orciulenco\",\"Contact_name\":\"Cristina Orciulenco\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"\\u0410\\u0441\\u0442\\u0430\\u043f\\u0435\\u043d\\u043a\\u043e\\u0432\\u0430 \\u042e\\u043b\\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\":\"2005020069387\",\"\\u0410\\u0434\\u0440\\u0435\\u0441\":\"str.Vasile Lupu 81 ap92\",\"\\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)\":\"20.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 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)\":\"A1977\",\"\\u0418\\u043c\\u044f \\u043a\\u043b\\u0438\\u0435\\u043d\\u0442\\u0430 (\\u0421\\u041c\\u0421)\":\"Cristina\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"37369279278\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Cristina Orciulenco\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\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\":\"03.09.2026\",\"\\u041d\\u043e\\u043c\\u0435\\u0440\":\"1060\"},\"document\":{\"Date\":\"03.09.2026\",\"Number\":\"1060\"}}}","edit":true}} {"uid":"173026f"}
[2026-09-03 17:35:48] docflow.DEBUG: GAS raw response {"raw":"[object] (stdClass: {\"code\":1,\"url\":\"https://docs.google.com/open?id=1d0xQoKaAxwiAVeS7l3Xwpfewv_0x3gGUB1HjvTiRBjo\",\"file_id\":\"1d0xQoKaAxwiAVeS7l3Xwpfewv_0x3gGUB1HjvTiRBjo\",\"error\":\"\",\"vars\":\"\"})"} {"uid":"173026f"}
[2026-09-03 17:35:48] docflow.WARNING: AmoDrive generated-file move is not ready. {"fileId":"1d0xQoKaAxwiAVeS7l3Xwpfewv_0x3gGUB1HjvTiRBjo","context":null} {"uid":"173026f"}
[2026-09-03 17:53:08] docflow.INFO: Apel createDoc {"data":{"amoAccountId":"22699852","amoUserId":null,"amoEntityId":"42616528","amoEntityType":"2","templateId":"11495","corporateEntityId":"","settlementAccountId":"","is_signed":null,"gdi":null,"number":null,"currentAmoUserId":null,"lang":"ru"}} {"uid":"f61680d"}
[2026-09-03 17:53:08] docflow.INFO: Token is valid for account 22699852. [] {"uid":"f61680d"}
[2026-09-03 17:53:08] docflow.DEBUG: getClientAuth returned {"auth":"[object] (stdClass: {\"domain\":\"emigrare.amocrm.ru\",\"access_token\":\"eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImp0aSI6Ijc5NmQ0ZGI2YTA3MWNlZDc3ODJlNGQ0YjUwNDg3Y2YzYzc5NzMzMGZmYjRiODY3YmJkOGZlMGM0OTgzMThhOWM2ZWI0OGY0NWEwNjUyNTA2In0.eyJhdWQiOiIwZDY0ZGZmYi1lNTRiLTQ0OGYtOWZiZi1iYWYyMjUxYTExZGIiLCJqdGkiOiI3OTZkNGRiNmEwNzFjZWQ3NzgyZTRkNGI1MDQ4N2NmM2M3OTczMzBmZmI0Yjg2N2JiZDhmZTBjNDk4MzE4YTljNmViNDhmNDVhMDY1MjUwNiIsImlhdCI6MTc4ODQyMDkzMSwibmJmIjoxNzg4NDIwOTMxLCJleHAiOjE3ODg1MDczMzEsInN1YiI6IjI5MzAzODAiLCJncmFudF90eXBlIjoiIiwiYWNjb3VudF9pZCI6MjI2OTk4NTIsImJhc2VfZG9tYWluIjoiYW1vY3JtLnJ1IiwidmVyc2lvbiI6Miwic2NvcGVzIjpbInB1c2hfbm90aWZpY2F0aW9ucyIsImNybSIsIm5vdGlmaWNhdGlvbnMiXSwiaGFzaF91dWlkIjoiZGEyYWE1ZjktZGExOC00MjdlLWE2MWYtNTVmYTc3ODVlZjY2IiwiYXBpX2RvbWFpbiI6ImFwaS1hLmFtb2NybS5ydSJ9.H4kHy9HTAlmOrLwH87KEUkW3m5XrIPQPJ94nBHw7VmgyuPPvGaBKTqjV0ZeDQAB1eCpE6EUB3rzYGayOEE9oAeVFDKK5jTkW4oB5DsBnqMLC0Y0p3r7E0iO_PIE4V_HEI2v_jRgepLdDV85cqYKaSeT1ho90pWjPIZ0rm_9K0_HWXp6oXP5IvTBJbUKDaZ-8GfjtRNe3HeN3_V4AsYnDU5Q6lWeVyKwDd0r2N6Tf2QU5Xvn5DSWODA5r3fmWriH3KKtx4KnIccLHSYV5x46iQ-a7aRY4Zwqr76sVZzk7_98D61OGdafIPJno0g0tKRoASQPcQxT6IGoUSyqxOVFbdA\"})","file":"/home/ytvmclwh/document.amocrm.md/src/Models/Docs.php","line":121} {"uid":"f61680d"}
[2026-09-03 17:53:11] docflow.DEBUG: AmoDrive docflow context request {"url":"https://google.emale.uno/api/docflow/google-context","query":{"account_id":"22699852","entity_id":"42616528","entity_type":"leads"}} {"uid":"f61680d"}
[2026-09-03 17:53:11] docflow.WARNING: AmoDrive docflow context request failed {"url":"https://google.emale.uno/api/docflow/google-context","http_code":null,"error":"HTTP/2 400 ","response":"<!DOCTYPE HTML PUBLIC \"-//IETF//DTD HTML 2.0//EN\">\r\n<html>\r\n<head><title>400 Bad Request</title></head>\r\n<body>\r\n<center><h1>400 Bad Request</h1></center>\r\n Sorry for the inconvenience.<br/>\r\nPlease report this message and include the following information to us.<br/>\r\nThank you very much!</p>\r\n<table>\r\n<tr>\r\n<td>URL:</td>\r\n<td>https://gd.glucose-dev.online/api/docflow/google-context?account_id=22699852&amp;entity_id=42616528&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/09/03 17:53:11</td>\r\n</tr>\r\n</table>\r\n<hr><center>tengine</center>\r\n</body>\r\n</html>\r\n"} {"uid":"f61680d"}
[2026-09-03 17:53:11] docflow.DEBUG: AmoDrive docflow context request {"url":"https://gd.glucose-dev.online/api/docflow/google-context","query":{"account_id":"22699852","entity_id":"42616528","entity_type":"leads"}} {"uid":"f61680d"}
[2026-09-03 17:53:11] docflow.WARNING: AmoDrive docflow context response is not ready, trying next backend. {"url":"https://gd.glucose-dev.online/api/docflow/google-context","payload":{"ok":true,"accountId":22699852,"entityId":"42616528","entityType":"leads","amodrive":{"installed":false,"widgetStatus":"uninstalled","amoAccountId":22699852,"accountHost":"emigrare.amocrm.ru","license":{"status":"active","configuredStatus":"active","expiresAt":"2027-08-20T10:16:56.291Z","isExpired":false,"isTrial":false,"isActive":true,"expiredByDate":false,"daysRemaining":351,"isLifetime":false},"licenseActive":false,"googleConnected":false,"googleEmail":null,"googleHasDriveScope":false,"googleHasDriveFileScope":false,"googleHasOwnershipScope":false,"readyForGeneratedFileMove":false,"readyForTransfer":false},"folder":null}} {"uid":"f61680d"}
[2026-09-03 17:53:11] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://google.emale.uno/api/docflow/prepare-generated-doc","payload":{"account_id":"22699852","entity_id":"42616528","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"f61680d"}
[2026-09-03 17:53:11] docflow.WARNING: AmoDrive prepare-generated-doc request failed {"url":"https://google.emale.uno/api/docflow/prepare-generated-doc","http_code":null,"error":"HTTP/2 400 ","response":"<!DOCTYPE HTML PUBLIC \"-//IETF//DTD HTML 2.0//EN\">\r\n<html>\r\n<head><title>400 Bad Request</title></head>\r\n<body>\r\n<center><h1>400 Bad Request</h1></center>\r\n Sorry for the inconvenience.<br/>\r\nPlease report this message and include the following information to us.<br/>\r\nThank you very much!</p>\r\n<table>\r\n<tr>\r\n<td>URL:</td>\r\n<td>https://gd.glucose-dev.online/api/docflow/prepare-generated-doc</td>\r\n</tr>\r\n<tr>\r\n<td>Server:</td>\r\n<td>mail.glucose-dev.online</td>\r\n</tr>\r\n<tr>\r\n<td>Date:</td>\r\n<td>2026/09/03 17:53: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":"42616528","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"f61680d"}
[2026-09-03 17:53:11] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://gd.glucose-dev.online/api/docflow/prepare-generated-doc","payload":{"account_id":"22699852","entity_id":"42616528","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"f61680d"}
[2026-09-03 17:53:11] docflow.WARNING: AmoDrive prepare-generated-doc request failed {"url":"https://gd.glucose-dev.online/api/docflow/prepare-generated-doc","http_code":null,"error":"HTTP/2 404 ","response":"[object] (stdClass: {\"ok\":false,\"error\":\"AmoDrive is not installed for this account.\",\"accountId\":22699852})","payload":{"account_id":"22699852","entity_id":"42616528","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"f61680d"}
[2026-09-03 17:53:11] docflow.DEBUG: GAS request {"url":"https://script.google.com/macros/s/AKfycbwrvOJD46zkuoTzdhpc1kulhV8jRfgQBFZfQ121nkIip_k8yKit4xrbWTOzaJ-C-Yed6w/exec","body":{"templateFileId":"139A_R9cAqcF0vtMAjkAKEvgO4ur6rSSzFI-AF87BYnQ","accountId":"22699852","folderId":"1Us2AfskxgdA729xVr0F2vjZU9y5PlYDe","key":"~VTsK5dcnHc2cSSsjM$LFSjLlgbmJXwrp3R2P5nd","data":"{\"fileName\":\"Contract (consulta\\u021bie) 395 20260903175311\",\"leadId\":\"42616528\",\"entities\":{\"\\u0441\\u0434\\u0435\\u043b\\u043a\\u0430\":{\"Suma \\u20ac\":\"0\",\"ID\":\"42616528\",\"\\u0421\\u0434\\u0435\\u043b\\u043a\\u0430_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"cet.md\",\"Lead_name\":\"cet.md\",\"\\u0411\\u044e\\u0434\\u0436\\u0435\\u0442\":\"0\",\"Budget\":\"0\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"Untila Dorina\",\"Responsible\":\"Untila Dorina\"},\"lead\":{\"Suma \\u20ac\":\"0\",\"ID\":\"42616528\",\"\\u0421\\u0434\\u0435\\u043b\\u043a\\u0430_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"cet.md\",\"Lead_name\":\"cet.md\",\"\\u0411\\u044e\\u0434\\u0436\\u0435\\u0442\":\"0\",\"Budget\":\"0\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"Untila Dorina\",\"Responsible\":\"Untila Dorina\"},\"\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442\":{\"TelegramId_WZ\":\"320676661\",\"TelegramUsername_WZ\":\"@ntyurin\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"+79645901694\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"\\u041d\\u0438\\u043a\\u043e\\u043b\\u0430\\u0439 \\u0422\\u044e\\u0440\\u0438\\u043d\",\"Contact_name\":\"\\u041d\\u0438\\u043a\\u043e\\u043b\\u0430\\u0439 \\u0422\\u044e\\u0440\\u0438\\u043d\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"Untila Dorina\",\"Responsible\":\"Untila Dorina\"},\"contact\":{\"TelegramId_WZ\":\"320676661\",\"TelegramUsername_WZ\":\"@ntyurin\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"+79645901694\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"\\u041d\\u0438\\u043a\\u043e\\u043b\\u0430\\u0439 \\u0422\\u044e\\u0440\\u0438\\u043d\",\"Contact_name\":\"\\u041d\\u0438\\u043a\\u043e\\u043b\\u0430\\u0439 \\u0422\\u044e\\u0440\\u0438\\u043d\",\"\\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\":\"320676661\",\"TelegramUsername_WZ\":\"@ntyurin\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"+79645901694\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"\\u041d\\u0438\\u043a\\u043e\\u043b\\u0430\\u0439 \\u0422\\u044e\\u0440\\u0438\\u043d\",\"\\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\":\"03.09.2026\",\"\\u041d\\u043e\\u043c\\u0435\\u0440\":\"395\"},\"document\":{\"Date\":\"03.09.2026\",\"Number\":\"395\"}}}","edit":true}} {"uid":"f61680d"}
[2026-09-03 17:53:19] docflow.DEBUG: GAS raw response {"raw":"[object] (stdClass: {\"code\":1,\"url\":\"https://docs.google.com/open?id=1rpWU5QD7kGPwsi4ZVed1OhjCTKk5BHeqoFtpCjcL0Dg\",\"file_id\":\"1rpWU5QD7kGPwsi4ZVed1OhjCTKk5BHeqoFtpCjcL0Dg\",\"error\":\"\",\"vars\":\"\"})"} {"uid":"f61680d"}
[2026-09-03 17:53:19] docflow.WARNING: AmoDrive generated-file move is not ready. {"fileId":"1rpWU5QD7kGPwsi4ZVed1OhjCTKk5BHeqoFtpCjcL0Dg","context":null} {"uid":"f61680d"}
[2026-09-03 17:53:30] docflow.INFO: Apel createDoc {"data":{"amoAccountId":"22699852","amoUserId":null,"amoEntityId":"42616528","amoEntityType":"2","templateId":"11515","corporateEntityId":"","settlementAccountId":"","is_signed":null,"gdi":null,"number":null,"currentAmoUserId":null,"lang":"ru"}} {"uid":"5ca2460"}
[2026-09-03 17:53:30] docflow.INFO: Token is valid for account 22699852. [] {"uid":"5ca2460"}
[2026-09-03 17:53:30] docflow.DEBUG: getClientAuth returned {"auth":"[object] (stdClass: {\"domain\":\"emigrare.amocrm.ru\",\"access_token\":\"eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImp0aSI6Ijc5NmQ0ZGI2YTA3MWNlZDc3ODJlNGQ0YjUwNDg3Y2YzYzc5NzMzMGZmYjRiODY3YmJkOGZlMGM0OTgzMThhOWM2ZWI0OGY0NWEwNjUyNTA2In0.eyJhdWQiOiIwZDY0ZGZmYi1lNTRiLTQ0OGYtOWZiZi1iYWYyMjUxYTExZGIiLCJqdGkiOiI3OTZkNGRiNmEwNzFjZWQ3NzgyZTRkNGI1MDQ4N2NmM2M3OTczMzBmZmI0Yjg2N2JiZDhmZTBjNDk4MzE4YTljNmViNDhmNDVhMDY1MjUwNiIsImlhdCI6MTc4ODQyMDkzMSwibmJmIjoxNzg4NDIwOTMxLCJleHAiOjE3ODg1MDczMzEsInN1YiI6IjI5MzAzODAiLCJncmFudF90eXBlIjoiIiwiYWNjb3VudF9pZCI6MjI2OTk4NTIsImJhc2VfZG9tYWluIjoiYW1vY3JtLnJ1IiwidmVyc2lvbiI6Miwic2NvcGVzIjpbInB1c2hfbm90aWZpY2F0aW9ucyIsImNybSIsIm5vdGlmaWNhdGlvbnMiXSwiaGFzaF91dWlkIjoiZGEyYWE1ZjktZGExOC00MjdlLWE2MWYtNTVmYTc3ODVlZjY2IiwiYXBpX2RvbWFpbiI6ImFwaS1hLmFtb2NybS5ydSJ9.H4kHy9HTAlmOrLwH87KEUkW3m5XrIPQPJ94nBHw7VmgyuPPvGaBKTqjV0ZeDQAB1eCpE6EUB3rzYGayOEE9oAeVFDKK5jTkW4oB5DsBnqMLC0Y0p3r7E0iO_PIE4V_HEI2v_jRgepLdDV85cqYKaSeT1ho90pWjPIZ0rm_9K0_HWXp6oXP5IvTBJbUKDaZ-8GfjtRNe3HeN3_V4AsYnDU5Q6lWeVyKwDd0r2N6Tf2QU5Xvn5DSWODA5r3fmWriH3KKtx4KnIccLHSYV5x46iQ-a7aRY4Zwqr76sVZzk7_98D61OGdafIPJno0g0tKRoASQPcQxT6IGoUSyqxOVFbdA\"})","file":"/home/ytvmclwh/document.amocrm.md/src/Models/Docs.php","line":121} {"uid":"5ca2460"}
[2026-09-03 17:53:32] docflow.DEBUG: AmoDrive docflow context request {"url":"https://google.emale.uno/api/docflow/google-context","query":{"account_id":"22699852","entity_id":"42616528","entity_type":"leads"}} {"uid":"5ca2460"}
[2026-09-03 17:53: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=42616528&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/09/03 17:53:32</td>\r\n</tr>\r\n</table>\r\n<hr><center>tengine</center>\r\n</body>\r\n</html>\r\n"} {"uid":"5ca2460"}
[2026-09-03 17:53:32] docflow.DEBUG: AmoDrive docflow context request {"url":"https://gd.glucose-dev.online/api/docflow/google-context","query":{"account_id":"22699852","entity_id":"42616528","entity_type":"leads"}} {"uid":"5ca2460"}
[2026-09-03 17:53:32] docflow.WARNING: AmoDrive docflow context response is not ready, trying next backend. {"url":"https://gd.glucose-dev.online/api/docflow/google-context","payload":{"ok":true,"accountId":22699852,"entityId":"42616528","entityType":"leads","amodrive":{"installed":false,"widgetStatus":"uninstalled","amoAccountId":22699852,"accountHost":"emigrare.amocrm.ru","license":{"status":"active","configuredStatus":"active","expiresAt":"2027-08-20T10:16:56.291Z","isExpired":false,"isTrial":false,"isActive":true,"expiredByDate":false,"daysRemaining":351,"isLifetime":false},"licenseActive":false,"googleConnected":false,"googleEmail":null,"googleHasDriveScope":false,"googleHasDriveFileScope":false,"googleHasOwnershipScope":false,"readyForGeneratedFileMove":false,"readyForTransfer":false},"folder":{"id":"1SRblnTAezPa2RrMbB-ofeB9JGFjGwTCz","name":"42616528 - Lead #42616528","webViewLink":"https://drive.google.com/drive/folders/1SRblnTAezPa2RrMbB-ofeB9JGFjGwTCz"}}} {"uid":"5ca2460"}
[2026-09-03 17:53:32] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://google.emale.uno/api/docflow/prepare-generated-doc","payload":{"account_id":"22699852","entity_id":"42616528","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"5ca2460"}
[2026-09-03 17:53: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/09/03 17:53: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":"42616528","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"5ca2460"}
[2026-09-03 17:53: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":"42616528","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"5ca2460"}
[2026-09-03 17:53:33] docflow.WARNING: AmoDrive prepare-generated-doc request failed {"url":"https://gd.glucose-dev.online/api/docflow/prepare-generated-doc","http_code":null,"error":"HTTP/2 404 ","response":"[object] (stdClass: {\"ok\":false,\"error\":\"AmoDrive is not installed for this account.\",\"accountId\":22699852})","payload":{"account_id":"22699852","entity_id":"42616528","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"5ca2460"}
[2026-09-03 17:53:33] docflow.DEBUG: GAS request {"url":"https://script.google.com/macros/s/AKfycbwrvOJD46zkuoTzdhpc1kulhV8jRfgQBFZfQ121nkIip_k8yKit4xrbWTOzaJ-C-Yed6w/exec","body":{"templateFileId":"1SzGXEYI835Reg_M1AEPsRjzZ3ZvcLb1cGlMSjWjG9_s","accountId":"22699852","folderId":"1Us2AfskxgdA729xVr0F2vjZU9y5PlYDe","key":"~VTsK5dcnHc2cSSsjM$LFSjLlgbmJXwrp3R2P5nd","data":"{\"fileName\":\"\\u0421\\u0447\\u0435\\u0442 \\u043d\\u0430 \\u043e\\u043f\\u043b\\u0430\\u0442\\u0443 (Sber) 1659 20260903175332\",\"leadId\":\"42616528\",\"entities\":{\"\\u0441\\u0434\\u0435\\u043b\\u043a\\u0430\":{\"Suma \\u20ac\":\"0\",\"ID\":\"42616528\",\"\\u0421\\u0434\\u0435\\u043b\\u043a\\u0430_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Cet. MD\",\"Lead_name\":\"Cet. MD\",\"\\u0411\\u044e\\u0434\\u0436\\u0435\\u0442\":\"0\",\"Budget\":\"0\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"Untila Dorina\",\"Responsible\":\"Untila Dorina\"},\"lead\":{\"Suma \\u20ac\":\"0\",\"ID\":\"42616528\",\"\\u0421\\u0434\\u0435\\u043b\\u043a\\u0430_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Cet. MD\",\"Lead_name\":\"Cet. MD\",\"\\u0411\\u044e\\u0434\\u0436\\u0435\\u0442\":\"0\",\"Budget\":\"0\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"Untila Dorina\",\"Responsible\":\"Untila Dorina\"},\"\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442\":{\"TelegramId_WZ\":\"320676661\",\"TelegramUsername_WZ\":\"@ntyurin\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"+79645901694\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"\\u041d\\u0438\\u043a\\u043e\\u043b\\u0430\\u0439 \\u0422\\u044e\\u0440\\u0438\\u043d\",\"Contact_name\":\"\\u041d\\u0438\\u043a\\u043e\\u043b\\u0430\\u0439 \\u0422\\u044e\\u0440\\u0438\\u043d\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"Untila Dorina\",\"Responsible\":\"Untila Dorina\"},\"contact\":{\"TelegramId_WZ\":\"320676661\",\"TelegramUsername_WZ\":\"@ntyurin\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"+79645901694\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"\\u041d\\u0438\\u043a\\u043e\\u043b\\u0430\\u0439 \\u0422\\u044e\\u0440\\u0438\\u043d\",\"Contact_name\":\"\\u041d\\u0438\\u043a\\u043e\\u043b\\u0430\\u0439 \\u0422\\u044e\\u0440\\u0438\\u043d\",\"\\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\":\"320676661\",\"TelegramUsername_WZ\":\"@ntyurin\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"+79645901694\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"\\u041d\\u0438\\u043a\\u043e\\u043b\\u0430\\u0439 \\u0422\\u044e\\u0440\\u0438\\u043d\",\"\\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\":\"03.09.2026\",\"\\u041d\\u043e\\u043c\\u0435\\u0440\":\"1659\"},\"document\":{\"Date\":\"03.09.2026\",\"Number\":\"1659\"}}}","edit":true}} {"uid":"5ca2460"}
[2026-09-03 17:53:39] docflow.DEBUG: GAS raw response {"raw":"[object] (stdClass: {\"code\":1,\"url\":\"https://docs.google.com/open?id=1QmwSII0-J39fygyWI4oex8m7dLfXVLHepAmjlOpjqUg\",\"file_id\":\"1QmwSII0-J39fygyWI4oex8m7dLfXVLHepAmjlOpjqUg\",\"error\":\"\",\"vars\":\"\"})"} {"uid":"5ca2460"}
[2026-09-03 17:53:39] docflow.WARNING: AmoDrive generated-file move is not ready. {"fileId":"1QmwSII0-J39fygyWI4oex8m7dLfXVLHepAmjlOpjqUg","context":null} {"uid":"5ca2460"}
[2026-09-03 17:53:47] docflow.INFO: Apel createDoc {"data":{"amoAccountId":"22699852","amoUserId":null,"amoEntityId":"42616528","amoEntityType":"2","templateId":"11502","corporateEntityId":"","settlementAccountId":"","is_signed":null,"gdi":null,"number":null,"currentAmoUserId":null,"lang":"ru"}} {"uid":"6d3cd8d"}
[2026-09-03 17:53:47] docflow.INFO: Token is valid for account 22699852. [] {"uid":"6d3cd8d"}
[2026-09-03 17:53:47] docflow.DEBUG: getClientAuth returned {"auth":"[object] (stdClass: {\"domain\":\"emigrare.amocrm.ru\",\"access_token\":\"eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImp0aSI6Ijc5NmQ0ZGI2YTA3MWNlZDc3ODJlNGQ0YjUwNDg3Y2YzYzc5NzMzMGZmYjRiODY3YmJkOGZlMGM0OTgzMThhOWM2ZWI0OGY0NWEwNjUyNTA2In0.eyJhdWQiOiIwZDY0ZGZmYi1lNTRiLTQ0OGYtOWZiZi1iYWYyMjUxYTExZGIiLCJqdGkiOiI3OTZkNGRiNmEwNzFjZWQ3NzgyZTRkNGI1MDQ4N2NmM2M3OTczMzBmZmI0Yjg2N2JiZDhmZTBjNDk4MzE4YTljNmViNDhmNDVhMDY1MjUwNiIsImlhdCI6MTc4ODQyMDkzMSwibmJmIjoxNzg4NDIwOTMxLCJleHAiOjE3ODg1MDczMzEsInN1YiI6IjI5MzAzODAiLCJncmFudF90eXBlIjoiIiwiYWNjb3VudF9pZCI6MjI2OTk4NTIsImJhc2VfZG9tYWluIjoiYW1vY3JtLnJ1IiwidmVyc2lvbiI6Miwic2NvcGVzIjpbInB1c2hfbm90aWZpY2F0aW9ucyIsImNybSIsIm5vdGlmaWNhdGlvbnMiXSwiaGFzaF91dWlkIjoiZGEyYWE1ZjktZGExOC00MjdlLWE2MWYtNTVmYTc3ODVlZjY2IiwiYXBpX2RvbWFpbiI6ImFwaS1hLmFtb2NybS5ydSJ9.H4kHy9HTAlmOrLwH87KEUkW3m5XrIPQPJ94nBHw7VmgyuPPvGaBKTqjV0ZeDQAB1eCpE6EUB3rzYGayOEE9oAeVFDKK5jTkW4oB5DsBnqMLC0Y0p3r7E0iO_PIE4V_HEI2v_jRgepLdDV85cqYKaSeT1ho90pWjPIZ0rm_9K0_HWXp6oXP5IvTBJbUKDaZ-8GfjtRNe3HeN3_V4AsYnDU5Q6lWeVyKwDd0r2N6Tf2QU5Xvn5DSWODA5r3fmWriH3KKtx4KnIccLHSYV5x46iQ-a7aRY4Zwqr76sVZzk7_98D61OGdafIPJno0g0tKRoASQPcQxT6IGoUSyqxOVFbdA\"})","file":"/home/ytvmclwh/document.amocrm.md/src/Models/Docs.php","line":121} {"uid":"6d3cd8d"}
[2026-09-03 17:53:49] docflow.DEBUG: AmoDrive docflow context request {"url":"https://google.emale.uno/api/docflow/google-context","query":{"account_id":"22699852","entity_id":"42616528","entity_type":"leads"}} {"uid":"6d3cd8d"}
[2026-09-03 17:53:50] docflow.WARNING: AmoDrive docflow context request failed {"url":"https://google.emale.uno/api/docflow/google-context","http_code":null,"error":"HTTP/2 400 ","response":"<!DOCTYPE HTML PUBLIC \"-//IETF//DTD HTML 2.0//EN\">\r\n<html>\r\n<head><title>400 Bad Request</title></head>\r\n<body>\r\n<center><h1>400 Bad Request</h1></center>\r\n Sorry for the inconvenience.<br/>\r\nPlease report this message and include the following information to us.<br/>\r\nThank you very much!</p>\r\n<table>\r\n<tr>\r\n<td>URL:</td>\r\n<td>https://gd.glucose-dev.online/api/docflow/google-context?account_id=22699852&amp;entity_id=42616528&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/09/03 17:53:50</td>\r\n</tr>\r\n</table>\r\n<hr><center>tengine</center>\r\n</body>\r\n</html>\r\n"} {"uid":"6d3cd8d"}
[2026-09-03 17:53:50] docflow.DEBUG: AmoDrive docflow context request {"url":"https://gd.glucose-dev.online/api/docflow/google-context","query":{"account_id":"22699852","entity_id":"42616528","entity_type":"leads"}} {"uid":"6d3cd8d"}
[2026-09-03 17:53:50] docflow.WARNING: AmoDrive docflow context response is not ready, trying next backend. {"url":"https://gd.glucose-dev.online/api/docflow/google-context","payload":{"ok":true,"accountId":22699852,"entityId":"42616528","entityType":"leads","amodrive":{"installed":false,"widgetStatus":"uninstalled","amoAccountId":22699852,"accountHost":"emigrare.amocrm.ru","license":{"status":"active","configuredStatus":"active","expiresAt":"2027-08-20T10:16:56.291Z","isExpired":false,"isTrial":false,"isActive":true,"expiredByDate":false,"daysRemaining":351,"isLifetime":false},"licenseActive":false,"googleConnected":false,"googleEmail":null,"googleHasDriveScope":false,"googleHasDriveFileScope":false,"googleHasOwnershipScope":false,"readyForGeneratedFileMove":false,"readyForTransfer":false},"folder":{"id":"1SRblnTAezPa2RrMbB-ofeB9JGFjGwTCz","name":"42616528 - Lead #42616528","webViewLink":"https://drive.google.com/drive/folders/1SRblnTAezPa2RrMbB-ofeB9JGFjGwTCz"}}} {"uid":"6d3cd8d"}
[2026-09-03 17:53:50] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://google.emale.uno/api/docflow/prepare-generated-doc","payload":{"account_id":"22699852","entity_id":"42616528","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"6d3cd8d"}
[2026-09-03 17:53:50] docflow.WARNING: AmoDrive prepare-generated-doc request failed {"url":"https://google.emale.uno/api/docflow/prepare-generated-doc","http_code":null,"error":"HTTP/2 400 ","response":"<!DOCTYPE HTML PUBLIC \"-//IETF//DTD HTML 2.0//EN\">\r\n<html>\r\n<head><title>400 Bad Request</title></head>\r\n<body>\r\n<center><h1>400 Bad Request</h1></center>\r\n Sorry for the inconvenience.<br/>\r\nPlease report this message and include the following information to us.<br/>\r\nThank you very much!</p>\r\n<table>\r\n<tr>\r\n<td>URL:</td>\r\n<td>https://gd.glucose-dev.online/api/docflow/prepare-generated-doc</td>\r\n</tr>\r\n<tr>\r\n<td>Server:</td>\r\n<td>mail.glucose-dev.online</td>\r\n</tr>\r\n<tr>\r\n<td>Date:</td>\r\n<td>2026/09/03 17:53:50</td>\r\n</tr>\r\n</table>\r\n<hr><center>tengine</center>\r\n</body>\r\n</html>\r\n","payload":{"account_id":"22699852","entity_id":"42616528","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"6d3cd8d"}
[2026-09-03 17:53:50] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://gd.glucose-dev.online/api/docflow/prepare-generated-doc","payload":{"account_id":"22699852","entity_id":"42616528","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"6d3cd8d"}
[2026-09-03 17:53:50] docflow.WARNING: AmoDrive prepare-generated-doc request failed {"url":"https://gd.glucose-dev.online/api/docflow/prepare-generated-doc","http_code":null,"error":"HTTP/2 404 ","response":"[object] (stdClass: {\"ok\":false,\"error\":\"AmoDrive is not installed for this account.\",\"accountId\":22699852})","payload":{"account_id":"22699852","entity_id":"42616528","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"6d3cd8d"}
[2026-09-03 17:53:50] docflow.DEBUG: GAS request {"url":"https://script.google.com/macros/s/AKfycbwrvOJD46zkuoTzdhpc1kulhV8jRfgQBFZfQ121nkIip_k8yKit4xrbWTOzaJ-C-Yed6w/exec","body":{"templateFileId":"1cmUcOeHAQ_tG9mkDp8xVcdKAxcfnrvlXbbsKpJ-Mq7k","accountId":"22699852","folderId":"1Us2AfskxgdA729xVr0F2vjZU9y5PlYDe","key":"~VTsK5dcnHc2cSSsjM$LFSjLlgbmJXwrp3R2P5nd","data":"{\"fileName\":\"\\u0421\\u043e\\u0433\\u043b\\u0430\\u0441\\u0438\\u0435 (\\u043a\\u043e\\u043d\\u0441\\u0443\\u043b\\u044c\\u0442\\u0430\\u0446\\u0438\\u044f) 71 20260903175349\",\"leadId\":\"42616528\",\"entities\":{\"\\u0441\\u0434\\u0435\\u043b\\u043a\\u0430\":{\"Suma \\u20ac\":\"0\",\"ID\":\"42616528\",\"\\u0421\\u0434\\u0435\\u043b\\u043a\\u0430_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Cet. MD\",\"Lead_name\":\"Cet. MD\",\"\\u0411\\u044e\\u0434\\u0436\\u0435\\u0442\":\"0\",\"Budget\":\"0\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"Untila Dorina\",\"Responsible\":\"Untila Dorina\"},\"lead\":{\"Suma \\u20ac\":\"0\",\"ID\":\"42616528\",\"\\u0421\\u0434\\u0435\\u043b\\u043a\\u0430_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Cet. MD\",\"Lead_name\":\"Cet. MD\",\"\\u0411\\u044e\\u0434\\u0436\\u0435\\u0442\":\"0\",\"Budget\":\"0\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"Untila Dorina\",\"Responsible\":\"Untila Dorina\"},\"\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442\":{\"TelegramId_WZ\":\"320676661\",\"TelegramUsername_WZ\":\"@ntyurin\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"+79645901694\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"\\u041d\\u0438\\u043a\\u043e\\u043b\\u0430\\u0439 \\u0422\\u044e\\u0440\\u0438\\u043d\",\"Contact_name\":\"\\u041d\\u0438\\u043a\\u043e\\u043b\\u0430\\u0439 \\u0422\\u044e\\u0440\\u0438\\u043d\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"Untila Dorina\",\"Responsible\":\"Untila Dorina\"},\"contact\":{\"TelegramId_WZ\":\"320676661\",\"TelegramUsername_WZ\":\"@ntyurin\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"+79645901694\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"\\u041d\\u0438\\u043a\\u043e\\u043b\\u0430\\u0439 \\u0422\\u044e\\u0440\\u0438\\u043d\",\"Contact_name\":\"\\u041d\\u0438\\u043a\\u043e\\u043b\\u0430\\u0439 \\u0422\\u044e\\u0440\\u0438\\u043d\",\"\\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\":\"320676661\",\"TelegramUsername_WZ\":\"@ntyurin\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"+79645901694\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"\\u041d\\u0438\\u043a\\u043e\\u043b\\u0430\\u0439 \\u0422\\u044e\\u0440\\u0438\\u043d\",\"\\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\":\"03.09.2026\",\"\\u041d\\u043e\\u043c\\u0435\\u0440\":\"71\"},\"document\":{\"Date\":\"03.09.2026\",\"Number\":\"71\"}}}","edit":true}} {"uid":"6d3cd8d"}
[2026-09-03 17:53:59] docflow.DEBUG: GAS raw response {"raw":"[object] (stdClass: {\"code\":1,\"url\":\"https://docs.google.com/open?id=1XbaI9bE5SMnMmsrLDL4E-nTe47djU50ukDdMmMjP0E0\",\"file_id\":\"1XbaI9bE5SMnMmsrLDL4E-nTe47djU50ukDdMmMjP0E0\",\"error\":\"\",\"vars\":\"\"})"} {"uid":"6d3cd8d"}
[2026-09-03 17:53:59] docflow.WARNING: AmoDrive generated-file move is not ready. {"fileId":"1XbaI9bE5SMnMmsrLDL4E-nTe47djU50ukDdMmMjP0E0","context":null} {"uid":"6d3cd8d"}
[2026-09-03 18:02:02] docflow.INFO: Apel createDoc {"data":{"amoAccountId":"32990686","amoUserId":null,"amoEntityId":"40283479","amoEntityType":"2","templateId":"11625","corporateEntityId":"","settlementAccountId":"","is_signed":null,"gdi":null,"number":null,"currentAmoUserId":null,"lang":"ru"}} {"uid":"fe79157"}
[2026-09-03 18:02:03] docflow.INFO: Token is valid for account 32990686. [] {"uid":"fe79157"}
[2026-09-03 18:02:03] docflow.DEBUG: getClientAuth returned {"auth":"[object] (stdClass: {\"domain\":\"eurosanteh.amocrm.ru\",\"access_token\":\"eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImp0aSI6IjMxYjNkMGQ2NTQyYmYzOGIyMmExNWY0ZTU0NzkwYmU0MTEzZjEyZmQ5NDc2MmI5ODJjYTc2NTZkNjgyN2U4MmUxMmQwYjRmOWY0ZDBlOGIxIn0.eyJhdWQiOiIwZDY0ZGZmYi1lNTRiLTQ0OGYtOWZiZi1iYWYyMjUxYTExZGIiLCJqdGkiOiIzMWIzZDBkNjU0MmJmMzhiMjJhMTVmNGU1NDc5MGJlNDExM2YxMmZkOTQ3NjJiOTgyY2E3NjU2ZDY4MjdlODJlMTJkMGI0ZjlmNGQwZThiMSIsImlhdCI6MTc4ODQzNjg4MSwibmJmIjoxNzg4NDM2ODgxLCJleHAiOjE3ODg1MjMyODEsInN1YiI6IjEzNjg3MzAyIiwiZ3JhbnRfdHlwZSI6IiIsImFjY291bnRfaWQiOjMyOTkwNjg2LCJiYXNlX2RvbWFpbiI6ImFtb2NybS5ydSIsInZlcnNpb24iOjIsInNjb3BlcyI6WyJwdXNoX25vdGlmaWNhdGlvbnMiLCJjcm0iLCJub3RpZmljYXRpb25zIl0sImhhc2hfdXVpZCI6IjE1NDU2ODFmLWRlOTktNDVhYS04OWQxLWE0NzRlZTE3MDc1NSIsImFwaV9kb21haW4iOiJhcGktYi5hbW9jcm0ucnUifQ.Nq7VbAHPw4_Vz1yk1Jp0Jznk3ZUB2O0x2gM51y01kw5AQ937poKjIuqIc8wlWqgGwq8YHTea6_XHkqlczecLVhsbQl79-j7UCRiTpKN9NnGR6pe6av1odvO4Xs6ORIPgfncfhkgVNPwjovmAJatx7v-tvIW3AWqPG92zCms8cVeWBPCAMWmCPwnxxnQFHNBs1avhpWJSc7dd93WuXvPjK8ThuZijUAyqrSqByOc2lj5H1D15tQpdQItlMQqT40UIfn8QpLk5TOlFdJp7JkNlhjeKTVkW1Zj5zaBC1ldCLHknugquc1i-o895SZt25u1cyjXAEYKvmQO4LWzBMjzhSw\"})","file":"/home/ytvmclwh/document.amocrm.md/src/Models/Docs.php","line":121} {"uid":"fe79157"}
[2026-09-03 18:02:06] docflow.DEBUG: AmoDrive docflow context request {"url":"https://google.emale.uno/api/docflow/google-context","query":{"account_id":"32990686","entity_id":"40283479","entity_type":"leads"}} {"uid":"fe79157"}
[2026-09-03 18:02:06] docflow.WARNING: AmoDrive docflow context request failed {"url":"https://google.emale.uno/api/docflow/google-context","http_code":null,"error":"HTTP/2 400 ","response":"<!DOCTYPE HTML PUBLIC \"-//IETF//DTD HTML 2.0//EN\">\r\n<html>\r\n<head><title>400 Bad Request</title></head>\r\n<body>\r\n<center><h1>400 Bad Request</h1></center>\r\n Sorry for the inconvenience.<br/>\r\nPlease report this message and include the following information to us.<br/>\r\nThank you very much!</p>\r\n<table>\r\n<tr>\r\n<td>URL:</td>\r\n<td>https://gd.glucose-dev.online/api/docflow/google-context?account_id=32990686&amp;entity_id=40283479&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/09/03 18:02:06</td>\r\n</tr>\r\n</table>\r\n<hr><center>tengine</center>\r\n</body>\r\n</html>\r\n"} {"uid":"fe79157"}
[2026-09-03 18:02:06] docflow.DEBUG: AmoDrive docflow context request {"url":"https://gd.glucose-dev.online/api/docflow/google-context","query":{"account_id":"32990686","entity_id":"40283479","entity_type":"leads"}} {"uid":"fe79157"}
[2026-09-03 18:02:06] docflow.WARNING: AmoDrive docflow context response is not ready, trying next backend. {"url":"https://gd.glucose-dev.online/api/docflow/google-context","payload":{"ok":true,"accountId":32990686,"entityId":"40283479","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":"fe79157"}
[2026-09-03 18:02:06] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://google.emale.uno/api/docflow/prepare-generated-doc","payload":{"account_id":"32990686","entity_id":"40283479","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"fe79157"}
[2026-09-03 18:02:06] docflow.WARNING: AmoDrive prepare-generated-doc request failed {"url":"https://google.emale.uno/api/docflow/prepare-generated-doc","http_code":null,"error":"HTTP/2 400 ","response":"<!DOCTYPE HTML PUBLIC \"-//IETF//DTD HTML 2.0//EN\">\r\n<html>\r\n<head><title>400 Bad Request</title></head>\r\n<body>\r\n<center><h1>400 Bad Request</h1></center>\r\n Sorry for the inconvenience.<br/>\r\nPlease report this message and include the following information to us.<br/>\r\nThank you very much!</p>\r\n<table>\r\n<tr>\r\n<td>URL:</td>\r\n<td>https://gd.glucose-dev.online/api/docflow/prepare-generated-doc</td>\r\n</tr>\r\n<tr>\r\n<td>Server:</td>\r\n<td>mail.glucose-dev.online</td>\r\n</tr>\r\n<tr>\r\n<td>Date:</td>\r\n<td>2026/09/03 18:02:06</td>\r\n</tr>\r\n</table>\r\n<hr><center>tengine</center>\r\n</body>\r\n</html>\r\n","payload":{"account_id":"32990686","entity_id":"40283479","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"fe79157"}
[2026-09-03 18:02:06] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://gd.glucose-dev.online/api/docflow/prepare-generated-doc","payload":{"account_id":"32990686","entity_id":"40283479","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"fe79157"}
[2026-09-03 18:02:06] docflow.WARNING: AmoDrive prepare-generated-doc request failed {"url":"https://gd.glucose-dev.online/api/docflow/prepare-generated-doc","http_code":null,"error":"HTTP/2 404 ","response":"[object] (stdClass: {\"ok\":false,\"error\":\"AmoDrive is not installed for this account.\",\"accountId\":32990686})","payload":{"account_id":"32990686","entity_id":"40283479","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"fe79157"}
[2026-09-03 18:02:06] 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 1061 20260903180206\",\"leadId\":\"40283479\",\"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\":\"01.04.2027\",\"\\u041d\\u043e\\u043c\\u0435\\u0440 \\u043a\\u043e\\u043d\\u0442\\u0440\\u0430\\u043a\\u0442\\u0430\":\"A1351\",\"\\u0414\\u0430\\u0442\\u0430 \\u043c\\u043e\\u043d\\u0442\\u0430\\u0436\\u0430 (\\u0411\\u0414)\":\"01.04.2026\",\"\\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\\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)\":\"0\",\"\\u0414\\u0430\\u0442\\u0430 \\u0438 \\u0432\\u0440\\u0435\\u043c\\u044f \\u0432\\u0438\\u0437\\u0438\\u0442\\u0430\":\"2026-09-04 17:36:00\",\"\\u0414\\u0430\\u0442\\u0430 \\u0432\\u0438\\u0437\\u0438\\u0442\\u0430\":\"04.09.2026\",\"\\u0418\\u0441\\u043f\\u043e\\u043b\\u043d\\u0438\\u0442\\u0435\\u043b\\u044c\":\"Ghenadie Tiuhtii\",\"\\u0426\\u0435\\u043b\\u044c \\u0432\\u044b\\u0435\\u0437\\u0434\\u0430\":\"\\u0414\\u0438\\u0430\\u0433\\u043d\\u043e\\u0441\\u0442\\u0438\\u043a\\u0430\",\"\\u0412\\u0438\\u0434 \\u0432\\u044b\\u043f\\u043e\\u043b\\u043d\\u0435\\u043d\\u043d\\u044b\\u0445 \\u0440\\u0430\\u0431\\u043e\\u0442\":\"\\u0414\\u0438\\u0430\\u0433\\u043d\\u043e\\u0441\\u0442\\u0438\\u043a\\u0430 \\u0441\\u043f\\u043b\\u0438\\u0442-\\u0441\\u0438\\u0441\\u0442\\u0435\\u043c \\u0438 \\u0434\\u0440\\u0443\\u0433\\u0438\\u0445 \\u0442\\u0438\\u043f\\u043e\\u0432 \\u043a\\u043e\\u043d\\u0434\\u0438\\u0446\\u0438\\u043e\\u043d\\u0435\\u0440\\u043e\\u0432\",\"ID\":\"40283479\",\"\\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\":\"01.04.2027\",\"\\u041d\\u043e\\u043c\\u0435\\u0440 \\u043a\\u043e\\u043d\\u0442\\u0440\\u0430\\u043a\\u0442\\u0430\":\"A1351\",\"\\u0414\\u0430\\u0442\\u0430 \\u043c\\u043e\\u043d\\u0442\\u0430\\u0436\\u0430 (\\u0411\\u0414)\":\"01.04.2026\",\"\\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\\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)\":\"0\",\"\\u0414\\u0430\\u0442\\u0430 \\u0438 \\u0432\\u0440\\u0435\\u043c\\u044f \\u0432\\u0438\\u0437\\u0438\\u0442\\u0430\":\"2026-09-04 17:36:00\",\"\\u0414\\u0430\\u0442\\u0430 \\u0432\\u0438\\u0437\\u0438\\u0442\\u0430\":\"04.09.2026\",\"\\u0418\\u0441\\u043f\\u043e\\u043b\\u043d\\u0438\\u0442\\u0435\\u043b\\u044c\":\"Ghenadie Tiuhtii\",\"\\u0426\\u0435\\u043b\\u044c \\u0432\\u044b\\u0435\\u0437\\u0434\\u0430\":\"\\u0414\\u0438\\u0430\\u0433\\u043d\\u043e\\u0441\\u0442\\u0438\\u043a\\u0430\",\"\\u0412\\u0438\\u0434 \\u0432\\u044b\\u043f\\u043e\\u043b\\u043d\\u0435\\u043d\\u043d\\u044b\\u0445 \\u0440\\u0430\\u0431\\u043e\\u0442\":\"\\u0414\\u0438\\u0430\\u0433\\u043d\\u043e\\u0441\\u0442\\u0438\\u043a\\u0430 \\u0441\\u043f\\u043b\\u0438\\u0442-\\u0441\\u0438\\u0441\\u0442\\u0435\\u043c \\u0438 \\u0434\\u0440\\u0443\\u0433\\u0438\\u0445 \\u0442\\u0438\\u043f\\u043e\\u0432 \\u043a\\u043e\\u043d\\u0434\\u0438\\u0446\\u0438\\u043e\\u043d\\u0435\\u0440\\u043e\\u0432\",\"ID\":\"40283479\",\"\\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\":\"2000044035060\",\"\\u0410\\u0434\\u0440\\u0435\\u0441\":\"str Burebista 114\\/2 ap218\",\"\\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)\":\"01.04.2026\",\"\\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\",\"\\u041d\\u043e\\u043c\\u0435\\u0440 \\u043a\\u043e\\u043d\\u0442\\u0440\\u0430\\u043a\\u0442\\u0430 (\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442)\":\"A1351\",\"\\u0418\\u043c\\u044f \\u043a\\u043b\\u0438\\u0435\\u043d\\u0442\\u0430 (\\u0421\\u041c\\u0421)\":\"ion\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"37369502642\",\"\\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\":\"ion Dogot\",\"Contact_name\":\"ion Dogot\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"\\u0410\\u0441\\u0442\\u0430\\u043f\\u0435\\u043d\\u043a\\u043e\\u0432\\u0430 \\u042e\\u043b\\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\":\"2000044035060\",\"\\u0410\\u0434\\u0440\\u0435\\u0441\":\"str Burebista 114\\/2 ap218\",\"\\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)\":\"01.04.2026\",\"\\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\",\"\\u041d\\u043e\\u043c\\u0435\\u0440 \\u043a\\u043e\\u043d\\u0442\\u0440\\u0430\\u043a\\u0442\\u0430 (\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442)\":\"A1351\",\"\\u0418\\u043c\\u044f \\u043a\\u043b\\u0438\\u0435\\u043d\\u0442\\u0430 (\\u0421\\u041c\\u0421)\":\"ion\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"37369502642\",\"\\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\":\"ion Dogot\",\"Contact_name\":\"ion Dogot\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"\\u0410\\u0441\\u0442\\u0430\\u043f\\u0435\\u043d\\u043a\\u043e\\u0432\\u0430 \\u042e\\u043b\\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\":\"2000044035060\",\"\\u0410\\u0434\\u0440\\u0435\\u0441\":\"str Burebista 114\\/2 ap218\",\"\\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)\":\"01.04.2026\",\"\\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\",\"\\u041d\\u043e\\u043c\\u0435\\u0440 \\u043a\\u043e\\u043d\\u0442\\u0440\\u0430\\u043a\\u0442\\u0430 (\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442)\":\"A1351\",\"\\u0418\\u043c\\u044f \\u043a\\u043b\\u0438\\u0435\\u043d\\u0442\\u0430 (\\u0421\\u041c\\u0421)\":\"ion\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"37369502642\",\"\\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\":\"ion Dogot\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\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\":\"03.09.2026\",\"\\u041d\\u043e\\u043c\\u0435\\u0440\":\"1061\"},\"document\":{\"Date\":\"03.09.2026\",\"Number\":\"1061\"}}}","edit":true}} {"uid":"fe79157"}
[2026-09-03 18:02:13] docflow.DEBUG: GAS raw response {"raw":"[object] (stdClass: {\"code\":1,\"url\":\"https://docs.google.com/open?id=1ydsGZ3PB4RBk1VNb3kIwneHZ8pY4b-w3Tg56GvvEUOI\",\"file_id\":\"1ydsGZ3PB4RBk1VNb3kIwneHZ8pY4b-w3Tg56GvvEUOI\",\"error\":\"\",\"vars\":\"\"})"} {"uid":"fe79157"}
[2026-09-03 18:02:13] docflow.WARNING: AmoDrive generated-file move is not ready. {"fileId":"1ydsGZ3PB4RBk1VNb3kIwneHZ8pY4b-w3Tg56GvvEUOI","context":null} {"uid":"fe79157"}
[2026-09-03 18:02:16] docflow.INFO: Apel createDoc {"data":{"amoAccountId":"32990686","amoUserId":null,"amoEntityId":"40283479","amoEntityType":"2","templateId":"11646","corporateEntityId":"","settlementAccountId":"","is_signed":null,"gdi":null,"number":null,"currentAmoUserId":null,"lang":"ru"}} {"uid":"f8c16f8"}
[2026-09-03 18:02:17] docflow.INFO: Token is valid for account 32990686. [] {"uid":"f8c16f8"}
[2026-09-03 18:02:17] docflow.DEBUG: getClientAuth returned {"auth":"[object] (stdClass: {\"domain\":\"eurosanteh.amocrm.ru\",\"access_token\":\"eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImp0aSI6IjMxYjNkMGQ2NTQyYmYzOGIyMmExNWY0ZTU0NzkwYmU0MTEzZjEyZmQ5NDc2MmI5ODJjYTc2NTZkNjgyN2U4MmUxMmQwYjRmOWY0ZDBlOGIxIn0.eyJhdWQiOiIwZDY0ZGZmYi1lNTRiLTQ0OGYtOWZiZi1iYWYyMjUxYTExZGIiLCJqdGkiOiIzMWIzZDBkNjU0MmJmMzhiMjJhMTVmNGU1NDc5MGJlNDExM2YxMmZkOTQ3NjJiOTgyY2E3NjU2ZDY4MjdlODJlMTJkMGI0ZjlmNGQwZThiMSIsImlhdCI6MTc4ODQzNjg4MSwibmJmIjoxNzg4NDM2ODgxLCJleHAiOjE3ODg1MjMyODEsInN1YiI6IjEzNjg3MzAyIiwiZ3JhbnRfdHlwZSI6IiIsImFjY291bnRfaWQiOjMyOTkwNjg2LCJiYXNlX2RvbWFpbiI6ImFtb2NybS5ydSIsInZlcnNpb24iOjIsInNjb3BlcyI6WyJwdXNoX25vdGlmaWNhdGlvbnMiLCJjcm0iLCJub3RpZmljYXRpb25zIl0sImhhc2hfdXVpZCI6IjE1NDU2ODFmLWRlOTktNDVhYS04OWQxLWE0NzRlZTE3MDc1NSIsImFwaV9kb21haW4iOiJhcGktYi5hbW9jcm0ucnUifQ.Nq7VbAHPw4_Vz1yk1Jp0Jznk3ZUB2O0x2gM51y01kw5AQ937poKjIuqIc8wlWqgGwq8YHTea6_XHkqlczecLVhsbQl79-j7UCRiTpKN9NnGR6pe6av1odvO4Xs6ORIPgfncfhkgVNPwjovmAJatx7v-tvIW3AWqPG92zCms8cVeWBPCAMWmCPwnxxnQFHNBs1avhpWJSc7dd93WuXvPjK8ThuZijUAyqrSqByOc2lj5H1D15tQpdQItlMQqT40UIfn8QpLk5TOlFdJp7JkNlhjeKTVkW1Zj5zaBC1ldCLHknugquc1i-o895SZt25u1cyjXAEYKvmQO4LWzBMjzhSw\"})","file":"/home/ytvmclwh/document.amocrm.md/src/Models/Docs.php","line":121} {"uid":"f8c16f8"}
[2026-09-03 18:02:20] docflow.DEBUG: AmoDrive docflow context request {"url":"https://google.emale.uno/api/docflow/google-context","query":{"account_id":"32990686","entity_id":"40283479","entity_type":"leads"}} {"uid":"f8c16f8"}
[2026-09-03 18:02:20] docflow.WARNING: AmoDrive docflow context request failed {"url":"https://google.emale.uno/api/docflow/google-context","http_code":null,"error":"HTTP/2 400 ","response":"<!DOCTYPE HTML PUBLIC \"-//IETF//DTD HTML 2.0//EN\">\r\n<html>\r\n<head><title>400 Bad Request</title></head>\r\n<body>\r\n<center><h1>400 Bad Request</h1></center>\r\n Sorry for the inconvenience.<br/>\r\nPlease report this message and include the following information to us.<br/>\r\nThank you very much!</p>\r\n<table>\r\n<tr>\r\n<td>URL:</td>\r\n<td>https://gd.glucose-dev.online/api/docflow/google-context?account_id=32990686&amp;entity_id=40283479&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/09/03 18:02:20</td>\r\n</tr>\r\n</table>\r\n<hr><center>tengine</center>\r\n</body>\r\n</html>\r\n"} {"uid":"f8c16f8"}
[2026-09-03 18:02:20] docflow.DEBUG: AmoDrive docflow context request {"url":"https://gd.glucose-dev.online/api/docflow/google-context","query":{"account_id":"32990686","entity_id":"40283479","entity_type":"leads"}} {"uid":"f8c16f8"}
[2026-09-03 18:02:20] docflow.WARNING: AmoDrive docflow context response is not ready, trying next backend. {"url":"https://gd.glucose-dev.online/api/docflow/google-context","payload":{"ok":true,"accountId":32990686,"entityId":"40283479","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":"f8c16f8"}
[2026-09-03 18:02:20] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://google.emale.uno/api/docflow/prepare-generated-doc","payload":{"account_id":"32990686","entity_id":"40283479","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"f8c16f8"}
[2026-09-03 18:02:20] docflow.WARNING: AmoDrive prepare-generated-doc request failed {"url":"https://google.emale.uno/api/docflow/prepare-generated-doc","http_code":null,"error":"HTTP/2 400 ","response":"<!DOCTYPE HTML PUBLIC \"-//IETF//DTD HTML 2.0//EN\">\r\n<html>\r\n<head><title>400 Bad Request</title></head>\r\n<body>\r\n<center><h1>400 Bad Request</h1></center>\r\n Sorry for the inconvenience.<br/>\r\nPlease report this message and include the following information to us.<br/>\r\nThank you very much!</p>\r\n<table>\r\n<tr>\r\n<td>URL:</td>\r\n<td>https://gd.glucose-dev.online/api/docflow/prepare-generated-doc</td>\r\n</tr>\r\n<tr>\r\n<td>Server:</td>\r\n<td>mail.glucose-dev.online</td>\r\n</tr>\r\n<tr>\r\n<td>Date:</td>\r\n<td>2026/09/03 18:02:20</td>\r\n</tr>\r\n</table>\r\n<hr><center>tengine</center>\r\n</body>\r\n</html>\r\n","payload":{"account_id":"32990686","entity_id":"40283479","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"f8c16f8"}
[2026-09-03 18:02:20] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://gd.glucose-dev.online/api/docflow/prepare-generated-doc","payload":{"account_id":"32990686","entity_id":"40283479","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"f8c16f8"}
[2026-09-03 18:02:20] docflow.WARNING: AmoDrive prepare-generated-doc request failed {"url":"https://gd.glucose-dev.online/api/docflow/prepare-generated-doc","http_code":null,"error":"HTTP/2 404 ","response":"[object] (stdClass: {\"ok\":false,\"error\":\"AmoDrive is not installed for this account.\",\"accountId\":32990686})","payload":{"account_id":"32990686","entity_id":"40283479","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"f8c16f8"}
[2026-09-03 18:02:20] docflow.DEBUG: GAS request {"url":"https://script.google.com/macros/s/AKfycbwrvOJD46zkuoTzdhpc1kulhV8jRfgQBFZfQ121nkIip_k8yKit4xrbWTOzaJ-C-Yed6w/exec","body":{"templateFileId":"1ISSW7q2any2Qldkh8ZtwiERwaib6ci11XCezBMQIcRU","accountId":"32990686","folderId":"1Us2AfskxgdA729xVr0F2vjZU9y5PlYDe","key":"~VTsK5dcnHc2cSSsjM$LFSjLlgbmJXwrp3R2P5nd","data":"{\"fileName\":\"Act primire predare new All for All 1061 20260903180220\",\"leadId\":\"40283479\",\"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\":\"01.04.2027\",\"\\u041d\\u043e\\u043c\\u0435\\u0440 \\u043a\\u043e\\u043d\\u0442\\u0440\\u0430\\u043a\\u0442\\u0430\":\"A1351\",\"\\u0414\\u0430\\u0442\\u0430 \\u043c\\u043e\\u043d\\u0442\\u0430\\u0436\\u0430 (\\u0411\\u0414)\":\"01.04.2026\",\"\\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\\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)\":\"0\",\"\\u0414\\u0430\\u0442\\u0430 \\u0438 \\u0432\\u0440\\u0435\\u043c\\u044f \\u0432\\u0438\\u0437\\u0438\\u0442\\u0430\":\"2026-09-04 17:36:00\",\"\\u0414\\u0430\\u0442\\u0430 \\u0432\\u0438\\u0437\\u0438\\u0442\\u0430\":\"04.09.2026\",\"\\u0418\\u0441\\u043f\\u043e\\u043b\\u043d\\u0438\\u0442\\u0435\\u043b\\u044c\":\"Ghenadie Tiuhtii\",\"\\u0426\\u0435\\u043b\\u044c \\u0432\\u044b\\u0435\\u0437\\u0434\\u0430\":\"\\u0414\\u0438\\u0430\\u0433\\u043d\\u043e\\u0441\\u0442\\u0438\\u043a\\u0430\",\"\\u0412\\u0438\\u0434 \\u0432\\u044b\\u043f\\u043e\\u043b\\u043d\\u0435\\u043d\\u043d\\u044b\\u0445 \\u0440\\u0430\\u0431\\u043e\\u0442\":\"\\u0414\\u0438\\u0430\\u0433\\u043d\\u043e\\u0441\\u0442\\u0438\\u043a\\u0430 \\u0441\\u043f\\u043b\\u0438\\u0442-\\u0441\\u0438\\u0441\\u0442\\u0435\\u043c \\u0438 \\u0434\\u0440\\u0443\\u0433\\u0438\\u0445 \\u0442\\u0438\\u043f\\u043e\\u0432 \\u043a\\u043e\\u043d\\u0434\\u0438\\u0446\\u0438\\u043e\\u043d\\u0435\\u0440\\u043e\\u0432\",\"ID\":\"40283479\",\"\\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\":\"01.04.2027\",\"\\u041d\\u043e\\u043c\\u0435\\u0440 \\u043a\\u043e\\u043d\\u0442\\u0440\\u0430\\u043a\\u0442\\u0430\":\"A1351\",\"\\u0414\\u0430\\u0442\\u0430 \\u043c\\u043e\\u043d\\u0442\\u0430\\u0436\\u0430 (\\u0411\\u0414)\":\"01.04.2026\",\"\\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\\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)\":\"0\",\"\\u0414\\u0430\\u0442\\u0430 \\u0438 \\u0432\\u0440\\u0435\\u043c\\u044f \\u0432\\u0438\\u0437\\u0438\\u0442\\u0430\":\"2026-09-04 17:36:00\",\"\\u0414\\u0430\\u0442\\u0430 \\u0432\\u0438\\u0437\\u0438\\u0442\\u0430\":\"04.09.2026\",\"\\u0418\\u0441\\u043f\\u043e\\u043b\\u043d\\u0438\\u0442\\u0435\\u043b\\u044c\":\"Ghenadie Tiuhtii\",\"\\u0426\\u0435\\u043b\\u044c \\u0432\\u044b\\u0435\\u0437\\u0434\\u0430\":\"\\u0414\\u0438\\u0430\\u0433\\u043d\\u043e\\u0441\\u0442\\u0438\\u043a\\u0430\",\"\\u0412\\u0438\\u0434 \\u0432\\u044b\\u043f\\u043e\\u043b\\u043d\\u0435\\u043d\\u043d\\u044b\\u0445 \\u0440\\u0430\\u0431\\u043e\\u0442\":\"\\u0414\\u0438\\u0430\\u0433\\u043d\\u043e\\u0441\\u0442\\u0438\\u043a\\u0430 \\u0441\\u043f\\u043b\\u0438\\u0442-\\u0441\\u0438\\u0441\\u0442\\u0435\\u043c \\u0438 \\u0434\\u0440\\u0443\\u0433\\u0438\\u0445 \\u0442\\u0438\\u043f\\u043e\\u0432 \\u043a\\u043e\\u043d\\u0434\\u0438\\u0446\\u0438\\u043e\\u043d\\u0435\\u0440\\u043e\\u0432\",\"ID\":\"40283479\",\"\\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\":\"2000044035060\",\"\\u0410\\u0434\\u0440\\u0435\\u0441\":\"str Burebista 114\\/2 ap218\",\"\\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)\":\"01.04.2026\",\"\\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\",\"\\u041d\\u043e\\u043c\\u0435\\u0440 \\u043a\\u043e\\u043d\\u0442\\u0440\\u0430\\u043a\\u0442\\u0430 (\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442)\":\"A1351\",\"\\u0418\\u043c\\u044f \\u043a\\u043b\\u0438\\u0435\\u043d\\u0442\\u0430 (\\u0421\\u041c\\u0421)\":\"ion\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"37369502642\",\"\\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\":\"ion Dogot\",\"Contact_name\":\"ion Dogot\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"\\u0410\\u0441\\u0442\\u0430\\u043f\\u0435\\u043d\\u043a\\u043e\\u0432\\u0430 \\u042e\\u043b\\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\":\"2000044035060\",\"\\u0410\\u0434\\u0440\\u0435\\u0441\":\"str Burebista 114\\/2 ap218\",\"\\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)\":\"01.04.2026\",\"\\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\",\"\\u041d\\u043e\\u043c\\u0435\\u0440 \\u043a\\u043e\\u043d\\u0442\\u0440\\u0430\\u043a\\u0442\\u0430 (\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442)\":\"A1351\",\"\\u0418\\u043c\\u044f \\u043a\\u043b\\u0438\\u0435\\u043d\\u0442\\u0430 (\\u0421\\u041c\\u0421)\":\"ion\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"37369502642\",\"\\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\":\"ion Dogot\",\"Contact_name\":\"ion Dogot\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"\\u0410\\u0441\\u0442\\u0430\\u043f\\u0435\\u043d\\u043a\\u043e\\u0432\\u0430 \\u042e\\u043b\\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\":\"2000044035060\",\"\\u0410\\u0434\\u0440\\u0435\\u0441\":\"str Burebista 114\\/2 ap218\",\"\\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)\":\"01.04.2026\",\"\\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\",\"\\u041d\\u043e\\u043c\\u0435\\u0440 \\u043a\\u043e\\u043d\\u0442\\u0440\\u0430\\u043a\\u0442\\u0430 (\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442)\":\"A1351\",\"\\u0418\\u043c\\u044f \\u043a\\u043b\\u0438\\u0435\\u043d\\u0442\\u0430 (\\u0421\\u041c\\u0421)\":\"ion\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"37369502642\",\"\\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\":\"ion Dogot\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\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\":\"03.09.2026\",\"\\u041d\\u043e\\u043c\\u0435\\u0440\":\"1061\"},\"document\":{\"Date\":\"03.09.2026\",\"Number\":\"1061\"}}}","edit":true}} {"uid":"f8c16f8"}
[2026-09-03 18:02:29] docflow.DEBUG: GAS raw response {"raw":"[object] (stdClass: {\"code\":1,\"url\":\"https://docs.google.com/open?id=10T8byJ8wFGglN8aaUolOzneKLzIgAOPtTSuvMzZnR28\",\"file_id\":\"10T8byJ8wFGglN8aaUolOzneKLzIgAOPtTSuvMzZnR28\",\"error\":\"\",\"vars\":\"\"})"} {"uid":"f8c16f8"}
[2026-09-03 18:02:29] docflow.WARNING: AmoDrive generated-file move is not ready. {"fileId":"10T8byJ8wFGglN8aaUolOzneKLzIgAOPtTSuvMzZnR28","context":null} {"uid":"f8c16f8"}
[2026-09-03 18:16:39] docflow.INFO: Apel createDoc {"data":{"amoAccountId":"22699852","amoUserId":null,"amoEntityId":"42616880","amoEntityType":"2","templateId":"11495","corporateEntityId":"","settlementAccountId":"","is_signed":null,"gdi":null,"number":null,"currentAmoUserId":null,"lang":"ru"}} {"uid":"edd0769"}
[2026-09-03 18:16:40] docflow.INFO: Token is valid for account 22699852. [] {"uid":"edd0769"}
[2026-09-03 18:16:40] docflow.DEBUG: getClientAuth returned {"auth":"[object] (stdClass: {\"domain\":\"emigrare.amocrm.ru\",\"access_token\":\"eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImp0aSI6Ijc5NmQ0ZGI2YTA3MWNlZDc3ODJlNGQ0YjUwNDg3Y2YzYzc5NzMzMGZmYjRiODY3YmJkOGZlMGM0OTgzMThhOWM2ZWI0OGY0NWEwNjUyNTA2In0.eyJhdWQiOiIwZDY0ZGZmYi1lNTRiLTQ0OGYtOWZiZi1iYWYyMjUxYTExZGIiLCJqdGkiOiI3OTZkNGRiNmEwNzFjZWQ3NzgyZTRkNGI1MDQ4N2NmM2M3OTczMzBmZmI0Yjg2N2JiZDhmZTBjNDk4MzE4YTljNmViNDhmNDVhMDY1MjUwNiIsImlhdCI6MTc4ODQyMDkzMSwibmJmIjoxNzg4NDIwOTMxLCJleHAiOjE3ODg1MDczMzEsInN1YiI6IjI5MzAzODAiLCJncmFudF90eXBlIjoiIiwiYWNjb3VudF9pZCI6MjI2OTk4NTIsImJhc2VfZG9tYWluIjoiYW1vY3JtLnJ1IiwidmVyc2lvbiI6Miwic2NvcGVzIjpbInB1c2hfbm90aWZpY2F0aW9ucyIsImNybSIsIm5vdGlmaWNhdGlvbnMiXSwiaGFzaF91dWlkIjoiZGEyYWE1ZjktZGExOC00MjdlLWE2MWYtNTVmYTc3ODVlZjY2IiwiYXBpX2RvbWFpbiI6ImFwaS1hLmFtb2NybS5ydSJ9.H4kHy9HTAlmOrLwH87KEUkW3m5XrIPQPJ94nBHw7VmgyuPPvGaBKTqjV0ZeDQAB1eCpE6EUB3rzYGayOEE9oAeVFDKK5jTkW4oB5DsBnqMLC0Y0p3r7E0iO_PIE4V_HEI2v_jRgepLdDV85cqYKaSeT1ho90pWjPIZ0rm_9K0_HWXp6oXP5IvTBJbUKDaZ-8GfjtRNe3HeN3_V4AsYnDU5Q6lWeVyKwDd0r2N6Tf2QU5Xvn5DSWODA5r3fmWriH3KKtx4KnIccLHSYV5x46iQ-a7aRY4Zwqr76sVZzk7_98D61OGdafIPJno0g0tKRoASQPcQxT6IGoUSyqxOVFbdA\"})","file":"/home/ytvmclwh/document.amocrm.md/src/Models/Docs.php","line":121} {"uid":"edd0769"}
[2026-09-03 18:16:42] docflow.DEBUG: AmoDrive docflow context request {"url":"https://google.emale.uno/api/docflow/google-context","query":{"account_id":"22699852","entity_id":"42616880","entity_type":"leads"}} {"uid":"edd0769"}
[2026-09-03 18:16:42] 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=42616880&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/09/03 18:16:42</td>\r\n</tr>\r\n</table>\r\n<hr><center>tengine</center>\r\n</body>\r\n</html>\r\n"} {"uid":"edd0769"}
[2026-09-03 18:16:42] docflow.DEBUG: AmoDrive docflow context request {"url":"https://gd.glucose-dev.online/api/docflow/google-context","query":{"account_id":"22699852","entity_id":"42616880","entity_type":"leads"}} {"uid":"edd0769"}
[2026-09-03 18:16:42] docflow.WARNING: AmoDrive docflow context response is not ready, trying next backend. {"url":"https://gd.glucose-dev.online/api/docflow/google-context","payload":{"ok":true,"accountId":22699852,"entityId":"42616880","entityType":"leads","amodrive":{"installed":false,"widgetStatus":"uninstalled","amoAccountId":22699852,"accountHost":"emigrare.amocrm.ru","license":{"status":"active","configuredStatus":"active","expiresAt":"2027-08-20T10:16:56.291Z","isExpired":false,"isTrial":false,"isActive":true,"expiredByDate":false,"daysRemaining":351,"isLifetime":false},"licenseActive":false,"googleConnected":false,"googleEmail":null,"googleHasDriveScope":false,"googleHasDriveFileScope":false,"googleHasOwnershipScope":false,"readyForGeneratedFileMove":false,"readyForTransfer":false},"folder":null}} {"uid":"edd0769"}
[2026-09-03 18:16:42] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://google.emale.uno/api/docflow/prepare-generated-doc","payload":{"account_id":"22699852","entity_id":"42616880","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"edd0769"}
[2026-09-03 18:16:42] 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/09/03 18:16: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":"42616880","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"edd0769"}
[2026-09-03 18:16:42] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://gd.glucose-dev.online/api/docflow/prepare-generated-doc","payload":{"account_id":"22699852","entity_id":"42616880","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"edd0769"}
[2026-09-03 18:16:42] docflow.WARNING: AmoDrive prepare-generated-doc request failed {"url":"https://gd.glucose-dev.online/api/docflow/prepare-generated-doc","http_code":null,"error":"HTTP/2 404 ","response":"[object] (stdClass: {\"ok\":false,\"error\":\"AmoDrive is not installed for this account.\",\"accountId\":22699852})","payload":{"account_id":"22699852","entity_id":"42616880","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"edd0769"}
[2026-09-03 18:16: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":"1Us2AfskxgdA729xVr0F2vjZU9y5PlYDe","key":"~VTsK5dcnHc2cSSsjM$LFSjLlgbmJXwrp3R2P5nd","data":"{\"fileName\":\"Contract (consulta\\u021bie) 396 20260903181642\",\"leadId\":\"42616880\",\"entities\":{\"\\u0441\\u0434\\u0435\\u043b\\u043a\\u0430\":{\"ID\":\"42616880\",\"\\u0421\\u0434\\u0435\\u043b\\u043a\\u0430_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"PS\",\"Lead_name\":\"PS\",\"\\u0411\\u044e\\u0434\\u0436\\u0435\\u0442\":\"0\",\"Budget\":\"0\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"Untila Dorina\",\"Responsible\":\"Untila Dorina\"},\"lead\":{\"ID\":\"42616880\",\"\\u0421\\u0434\\u0435\\u043b\\u043a\\u0430_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"PS\",\"Lead_name\":\"PS\",\"\\u0411\\u044e\\u0434\\u0436\\u0435\\u0442\":\"0\",\"Budget\":\"0\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"Untila Dorina\",\"Responsible\":\"Untila Dorina\"},\"\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442\":{\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"380973464192\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"\\u041a\\u043e\\u043d\\u0441\\u0442\\u0430\\u043d\\u0442\\u0438\\u043d \\u0425\\u0430\\u0438\\u0442\",\"Contact_name\":\"\\u041a\\u043e\\u043d\\u0441\\u0442\\u0430\\u043d\\u0442\\u0438\\u043d \\u0425\\u0430\\u0438\\u0442\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"Untila Dorina\",\"Responsible\":\"Untila Dorina\"},\"contact\":{\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"380973464192\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"\\u041a\\u043e\\u043d\\u0441\\u0442\\u0430\\u043d\\u0442\\u0438\\u043d \\u0425\\u0430\\u0438\\u0442\",\"Contact_name\":\"\\u041a\\u043e\\u043d\\u0441\\u0442\\u0430\\u043d\\u0442\\u0438\\u043d \\u0425\\u0430\\u0438\\u0442\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"Untila Dorina\",\"Responsible\":\"Untila Dorina\"},\"\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442\\u044b\":[{\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"380973464192\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"\\u041a\\u043e\\u043d\\u0441\\u0442\\u0430\\u043d\\u0442\\u0438\\u043d \\u0425\\u0430\\u0438\\u0442\",\"\\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\":\"03.09.2026\",\"\\u041d\\u043e\\u043c\\u0435\\u0440\":\"396\"},\"document\":{\"Date\":\"03.09.2026\",\"Number\":\"396\"}}}","edit":true}} {"uid":"edd0769"}
[2026-09-03 18:16:49] docflow.DEBUG: GAS raw response {"raw":"[object] (stdClass: {\"code\":1,\"url\":\"https://docs.google.com/open?id=1AigAC_1VUfnNfoodhwvqGLFIRgiOfy21P5tRXh_zg14\",\"file_id\":\"1AigAC_1VUfnNfoodhwvqGLFIRgiOfy21P5tRXh_zg14\",\"error\":\"\",\"vars\":\"\"})"} {"uid":"edd0769"}
[2026-09-03 18:16:49] docflow.WARNING: AmoDrive generated-file move is not ready. {"fileId":"1AigAC_1VUfnNfoodhwvqGLFIRgiOfy21P5tRXh_zg14","context":null} {"uid":"edd0769"}
[2026-09-03 18:19:54] docflow.INFO: Apel createDoc {"data":{"amoAccountId":"22699852","amoUserId":null,"amoEntityId":"42616880","amoEntityType":"2","templateId":"11512","corporateEntityId":"","settlementAccountId":"","is_signed":null,"gdi":null,"number":null,"currentAmoUserId":null,"lang":"ru"}} {"uid":"445678b"}
[2026-09-03 18:19:55] docflow.INFO: Token is valid for account 22699852. [] {"uid":"445678b"}
[2026-09-03 18:19:55] docflow.DEBUG: getClientAuth returned {"auth":"[object] (stdClass: {\"domain\":\"emigrare.amocrm.ru\",\"access_token\":\"eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImp0aSI6Ijc5NmQ0ZGI2YTA3MWNlZDc3ODJlNGQ0YjUwNDg3Y2YzYzc5NzMzMGZmYjRiODY3YmJkOGZlMGM0OTgzMThhOWM2ZWI0OGY0NWEwNjUyNTA2In0.eyJhdWQiOiIwZDY0ZGZmYi1lNTRiLTQ0OGYtOWZiZi1iYWYyMjUxYTExZGIiLCJqdGkiOiI3OTZkNGRiNmEwNzFjZWQ3NzgyZTRkNGI1MDQ4N2NmM2M3OTczMzBmZmI0Yjg2N2JiZDhmZTBjNDk4MzE4YTljNmViNDhmNDVhMDY1MjUwNiIsImlhdCI6MTc4ODQyMDkzMSwibmJmIjoxNzg4NDIwOTMxLCJleHAiOjE3ODg1MDczMzEsInN1YiI6IjI5MzAzODAiLCJncmFudF90eXBlIjoiIiwiYWNjb3VudF9pZCI6MjI2OTk4NTIsImJhc2VfZG9tYWluIjoiYW1vY3JtLnJ1IiwidmVyc2lvbiI6Miwic2NvcGVzIjpbInB1c2hfbm90aWZpY2F0aW9ucyIsImNybSIsIm5vdGlmaWNhdGlvbnMiXSwiaGFzaF91dWlkIjoiZGEyYWE1ZjktZGExOC00MjdlLWE2MWYtNTVmYTc3ODVlZjY2IiwiYXBpX2RvbWFpbiI6ImFwaS1hLmFtb2NybS5ydSJ9.H4kHy9HTAlmOrLwH87KEUkW3m5XrIPQPJ94nBHw7VmgyuPPvGaBKTqjV0ZeDQAB1eCpE6EUB3rzYGayOEE9oAeVFDKK5jTkW4oB5DsBnqMLC0Y0p3r7E0iO_PIE4V_HEI2v_jRgepLdDV85cqYKaSeT1ho90pWjPIZ0rm_9K0_HWXp6oXP5IvTBJbUKDaZ-8GfjtRNe3HeN3_V4AsYnDU5Q6lWeVyKwDd0r2N6Tf2QU5Xvn5DSWODA5r3fmWriH3KKtx4KnIccLHSYV5x46iQ-a7aRY4Zwqr76sVZzk7_98D61OGdafIPJno0g0tKRoASQPcQxT6IGoUSyqxOVFbdA\"})","file":"/home/ytvmclwh/document.amocrm.md/src/Models/Docs.php","line":121} {"uid":"445678b"}
[2026-09-03 18:19:56] docflow.DEBUG: AmoDrive docflow context request {"url":"https://google.emale.uno/api/docflow/google-context","query":{"account_id":"22699852","entity_id":"42616880","entity_type":"leads"}} {"uid":"445678b"}
[2026-09-03 18:19:57] docflow.WARNING: AmoDrive docflow context request failed {"url":"https://google.emale.uno/api/docflow/google-context","http_code":null,"error":"HTTP/2 400 ","response":"<!DOCTYPE HTML PUBLIC \"-//IETF//DTD HTML 2.0//EN\">\r\n<html>\r\n<head><title>400 Bad Request</title></head>\r\n<body>\r\n<center><h1>400 Bad Request</h1></center>\r\n Sorry for the inconvenience.<br/>\r\nPlease report this message and include the following information to us.<br/>\r\nThank you very much!</p>\r\n<table>\r\n<tr>\r\n<td>URL:</td>\r\n<td>https://gd.glucose-dev.online/api/docflow/google-context?account_id=22699852&amp;entity_id=42616880&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/09/03 18:19:57</td>\r\n</tr>\r\n</table>\r\n<hr><center>tengine</center>\r\n</body>\r\n</html>\r\n"} {"uid":"445678b"}
[2026-09-03 18:19:57] docflow.DEBUG: AmoDrive docflow context request {"url":"https://gd.glucose-dev.online/api/docflow/google-context","query":{"account_id":"22699852","entity_id":"42616880","entity_type":"leads"}} {"uid":"445678b"}
[2026-09-03 18:19:57] docflow.WARNING: AmoDrive docflow context response is not ready, trying next backend. {"url":"https://gd.glucose-dev.online/api/docflow/google-context","payload":{"ok":true,"accountId":22699852,"entityId":"42616880","entityType":"leads","amodrive":{"installed":false,"widgetStatus":"uninstalled","amoAccountId":22699852,"accountHost":"emigrare.amocrm.ru","license":{"status":"active","configuredStatus":"active","expiresAt":"2027-08-20T10:16:56.291Z","isExpired":false,"isTrial":false,"isActive":true,"expiredByDate":false,"daysRemaining":351,"isLifetime":false},"licenseActive":false,"googleConnected":false,"googleEmail":null,"googleHasDriveScope":false,"googleHasDriveFileScope":false,"googleHasOwnershipScope":false,"readyForGeneratedFileMove":false,"readyForTransfer":false},"folder":null}} {"uid":"445678b"}
[2026-09-03 18:19:57] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://google.emale.uno/api/docflow/prepare-generated-doc","payload":{"account_id":"22699852","entity_id":"42616880","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"445678b"}
[2026-09-03 18:19:57] docflow.WARNING: AmoDrive prepare-generated-doc request failed {"url":"https://google.emale.uno/api/docflow/prepare-generated-doc","http_code":null,"error":"HTTP/2 400 ","response":"<!DOCTYPE HTML PUBLIC \"-//IETF//DTD HTML 2.0//EN\">\r\n<html>\r\n<head><title>400 Bad Request</title></head>\r\n<body>\r\n<center><h1>400 Bad Request</h1></center>\r\n Sorry for the inconvenience.<br/>\r\nPlease report this message and include the following information to us.<br/>\r\nThank you very much!</p>\r\n<table>\r\n<tr>\r\n<td>URL:</td>\r\n<td>https://gd.glucose-dev.online/api/docflow/prepare-generated-doc</td>\r\n</tr>\r\n<tr>\r\n<td>Server:</td>\r\n<td>mail.glucose-dev.online</td>\r\n</tr>\r\n<tr>\r\n<td>Date:</td>\r\n<td>2026/09/03 18: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":"22699852","entity_id":"42616880","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"445678b"}
[2026-09-03 18:19:57] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://gd.glucose-dev.online/api/docflow/prepare-generated-doc","payload":{"account_id":"22699852","entity_id":"42616880","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"445678b"}
[2026-09-03 18:19:57] docflow.WARNING: AmoDrive prepare-generated-doc request failed {"url":"https://gd.glucose-dev.online/api/docflow/prepare-generated-doc","http_code":null,"error":"HTTP/2 404 ","response":"[object] (stdClass: {\"ok\":false,\"error\":\"AmoDrive is not installed for this account.\",\"accountId\":22699852})","payload":{"account_id":"22699852","entity_id":"42616880","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"445678b"}
[2026-09-03 18:19:57] docflow.DEBUG: GAS request {"url":"https://script.google.com/macros/s/AKfycbwrvOJD46zkuoTzdhpc1kulhV8jRfgQBFZfQ121nkIip_k8yKit4xrbWTOzaJ-C-Yed6w/exec","body":{"templateFileId":"1lw0x40QgTScLC9q0Y4Biue0UwWdt_ZAMqJIt_RZ-DQ8","accountId":"22699852","folderId":"1Us2AfskxgdA729xVr0F2vjZU9y5PlYDe","key":"~VTsK5dcnHc2cSSsjM$LFSjLlgbmJXwrp3R2P5nd","data":"{\"fileName\":\"\\u0421\\u0447\\u0435\\u0442 \\u043d\\u0430 \\u043e\\u043f\\u043b\\u0430\\u0442\\u0443 EMG (EUR\\/USD\\/MDL) 237 20260903181956\",\"leadId\":\"42616880\",\"entities\":{\"\\u0441\\u0434\\u0435\\u043b\\u043a\\u0430\":{\"ID\":\"42616880\",\"\\u0421\\u0434\\u0435\\u043b\\u043a\\u0430_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"PS\",\"Lead_name\":\"PS\",\"\\u0411\\u044e\\u0434\\u0436\\u0435\\u0442\":\"0\",\"Budget\":\"0\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"Untila Dorina\",\"Responsible\":\"Untila Dorina\"},\"lead\":{\"ID\":\"42616880\",\"\\u0421\\u0434\\u0435\\u043b\\u043a\\u0430_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"PS\",\"Lead_name\":\"PS\",\"\\u0411\\u044e\\u0434\\u0436\\u0435\\u0442\":\"0\",\"Budget\":\"0\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"Untila Dorina\",\"Responsible\":\"Untila Dorina\"},\"\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442\":{\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"380973464192\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"\\u041a\\u043e\\u043d\\u0441\\u0442\\u0430\\u043d\\u0442\\u0438\\u043d \\u0425\\u0430\\u0438\\u0442\",\"Contact_name\":\"\\u041a\\u043e\\u043d\\u0441\\u0442\\u0430\\u043d\\u0442\\u0438\\u043d \\u0425\\u0430\\u0438\\u0442\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"Untila Dorina\",\"Responsible\":\"Untila Dorina\"},\"contact\":{\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"380973464192\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"\\u041a\\u043e\\u043d\\u0441\\u0442\\u0430\\u043d\\u0442\\u0438\\u043d \\u0425\\u0430\\u0438\\u0442\",\"Contact_name\":\"\\u041a\\u043e\\u043d\\u0441\\u0442\\u0430\\u043d\\u0442\\u0438\\u043d \\u0425\\u0430\\u0438\\u0442\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"Untila Dorina\",\"Responsible\":\"Untila Dorina\"},\"\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442\\u044b\":[{\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"380973464192\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"\\u041a\\u043e\\u043d\\u0441\\u0442\\u0430\\u043d\\u0442\\u0438\\u043d \\u0425\\u0430\\u0438\\u0442\",\"\\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\":\"03.09.2026\",\"\\u041d\\u043e\\u043c\\u0435\\u0440\":\"237\"},\"document\":{\"Date\":\"03.09.2026\",\"Number\":\"237\"}}}","edit":true}} {"uid":"445678b"}
[2026-09-03 18:20:04] docflow.DEBUG: GAS raw response {"raw":"[object] (stdClass: {\"code\":1,\"url\":\"https://docs.google.com/open?id=167QIhoAscOgwR0rKukLmlEKzLboho2J8qsz0IZg7Zbk\",\"file_id\":\"167QIhoAscOgwR0rKukLmlEKzLboho2J8qsz0IZg7Zbk\",\"error\":\"\",\"vars\":\"\"})"} {"uid":"445678b"}
[2026-09-03 18:20:04] docflow.WARNING: AmoDrive generated-file move is not ready. {"fileId":"167QIhoAscOgwR0rKukLmlEKzLboho2J8qsz0IZg7Zbk","context":null} {"uid":"445678b"}
[2026-09-03 18:20:59] docflow.INFO: Apel createDoc {"data":{"amoAccountId":"22699852","amoUserId":null,"amoEntityId":"42616880","amoEntityType":"2","templateId":"11502","corporateEntityId":"","settlementAccountId":"","is_signed":null,"gdi":null,"number":null,"currentAmoUserId":null,"lang":"ru"}} {"uid":"a895862"}
[2026-09-03 18:20:59] docflow.INFO: Token is valid for account 22699852. [] {"uid":"a895862"}
[2026-09-03 18:20:59] docflow.DEBUG: getClientAuth returned {"auth":"[object] (stdClass: {\"domain\":\"emigrare.amocrm.ru\",\"access_token\":\"eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImp0aSI6Ijc5NmQ0ZGI2YTA3MWNlZDc3ODJlNGQ0YjUwNDg3Y2YzYzc5NzMzMGZmYjRiODY3YmJkOGZlMGM0OTgzMThhOWM2ZWI0OGY0NWEwNjUyNTA2In0.eyJhdWQiOiIwZDY0ZGZmYi1lNTRiLTQ0OGYtOWZiZi1iYWYyMjUxYTExZGIiLCJqdGkiOiI3OTZkNGRiNmEwNzFjZWQ3NzgyZTRkNGI1MDQ4N2NmM2M3OTczMzBmZmI0Yjg2N2JiZDhmZTBjNDk4MzE4YTljNmViNDhmNDVhMDY1MjUwNiIsImlhdCI6MTc4ODQyMDkzMSwibmJmIjoxNzg4NDIwOTMxLCJleHAiOjE3ODg1MDczMzEsInN1YiI6IjI5MzAzODAiLCJncmFudF90eXBlIjoiIiwiYWNjb3VudF9pZCI6MjI2OTk4NTIsImJhc2VfZG9tYWluIjoiYW1vY3JtLnJ1IiwidmVyc2lvbiI6Miwic2NvcGVzIjpbInB1c2hfbm90aWZpY2F0aW9ucyIsImNybSIsIm5vdGlmaWNhdGlvbnMiXSwiaGFzaF91dWlkIjoiZGEyYWE1ZjktZGExOC00MjdlLWE2MWYtNTVmYTc3ODVlZjY2IiwiYXBpX2RvbWFpbiI6ImFwaS1hLmFtb2NybS5ydSJ9.H4kHy9HTAlmOrLwH87KEUkW3m5XrIPQPJ94nBHw7VmgyuPPvGaBKTqjV0ZeDQAB1eCpE6EUB3rzYGayOEE9oAeVFDKK5jTkW4oB5DsBnqMLC0Y0p3r7E0iO_PIE4V_HEI2v_jRgepLdDV85cqYKaSeT1ho90pWjPIZ0rm_9K0_HWXp6oXP5IvTBJbUKDaZ-8GfjtRNe3HeN3_V4AsYnDU5Q6lWeVyKwDd0r2N6Tf2QU5Xvn5DSWODA5r3fmWriH3KKtx4KnIccLHSYV5x46iQ-a7aRY4Zwqr76sVZzk7_98D61OGdafIPJno0g0tKRoASQPcQxT6IGoUSyqxOVFbdA\"})","file":"/home/ytvmclwh/document.amocrm.md/src/Models/Docs.php","line":121} {"uid":"a895862"}
[2026-09-03 18:21:02] docflow.DEBUG: AmoDrive docflow context request {"url":"https://google.emale.uno/api/docflow/google-context","query":{"account_id":"22699852","entity_id":"42616880","entity_type":"leads"}} {"uid":"a895862"}
[2026-09-03 18:21: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=42616880&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/09/03 18:21:02</td>\r\n</tr>\r\n</table>\r\n<hr><center>tengine</center>\r\n</body>\r\n</html>\r\n"} {"uid":"a895862"}
[2026-09-03 18:21:02] docflow.DEBUG: AmoDrive docflow context request {"url":"https://gd.glucose-dev.online/api/docflow/google-context","query":{"account_id":"22699852","entity_id":"42616880","entity_type":"leads"}} {"uid":"a895862"}
[2026-09-03 18:21:02] docflow.WARNING: AmoDrive docflow context response is not ready, trying next backend. {"url":"https://gd.glucose-dev.online/api/docflow/google-context","payload":{"ok":true,"accountId":22699852,"entityId":"42616880","entityType":"leads","amodrive":{"installed":false,"widgetStatus":"uninstalled","amoAccountId":22699852,"accountHost":"emigrare.amocrm.ru","license":{"status":"active","configuredStatus":"active","expiresAt":"2027-08-20T10:16:56.291Z","isExpired":false,"isTrial":false,"isActive":true,"expiredByDate":false,"daysRemaining":351,"isLifetime":false},"licenseActive":false,"googleConnected":false,"googleEmail":null,"googleHasDriveScope":false,"googleHasDriveFileScope":false,"googleHasOwnershipScope":false,"readyForGeneratedFileMove":false,"readyForTransfer":false},"folder":null}} {"uid":"a895862"}
[2026-09-03 18:21:02] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://google.emale.uno/api/docflow/prepare-generated-doc","payload":{"account_id":"22699852","entity_id":"42616880","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"a895862"}
[2026-09-03 18:21: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/09/03 18:21:02</td>\r\n</tr>\r\n</table>\r\n<hr><center>tengine</center>\r\n</body>\r\n</html>\r\n","payload":{"account_id":"22699852","entity_id":"42616880","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"a895862"}
[2026-09-03 18:21: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":"42616880","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"a895862"}
[2026-09-03 18:21:02] docflow.WARNING: AmoDrive prepare-generated-doc request failed {"url":"https://gd.glucose-dev.online/api/docflow/prepare-generated-doc","http_code":null,"error":"HTTP/2 404 ","response":"[object] (stdClass: {\"ok\":false,\"error\":\"AmoDrive is not installed for this account.\",\"accountId\":22699852})","payload":{"account_id":"22699852","entity_id":"42616880","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"a895862"}
[2026-09-03 18:21:02] docflow.DEBUG: GAS request {"url":"https://script.google.com/macros/s/AKfycbwrvOJD46zkuoTzdhpc1kulhV8jRfgQBFZfQ121nkIip_k8yKit4xrbWTOzaJ-C-Yed6w/exec","body":{"templateFileId":"1cmUcOeHAQ_tG9mkDp8xVcdKAxcfnrvlXbbsKpJ-Mq7k","accountId":"22699852","folderId":"1Us2AfskxgdA729xVr0F2vjZU9y5PlYDe","key":"~VTsK5dcnHc2cSSsjM$LFSjLlgbmJXwrp3R2P5nd","data":"{\"fileName\":\"\\u0421\\u043e\\u0433\\u043b\\u0430\\u0441\\u0438\\u0435 (\\u043a\\u043e\\u043d\\u0441\\u0443\\u043b\\u044c\\u0442\\u0430\\u0446\\u0438\\u044f) 72 20260903182102\",\"leadId\":\"42616880\",\"entities\":{\"\\u0441\\u0434\\u0435\\u043b\\u043a\\u0430\":{\"ID\":\"42616880\",\"\\u0421\\u0434\\u0435\\u043b\\u043a\\u0430_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"PS\",\"Lead_name\":\"PS\",\"\\u0411\\u044e\\u0434\\u0436\\u0435\\u0442\":\"0\",\"Budget\":\"0\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"Untila Dorina\",\"Responsible\":\"Untila Dorina\"},\"lead\":{\"ID\":\"42616880\",\"\\u0421\\u0434\\u0435\\u043b\\u043a\\u0430_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"PS\",\"Lead_name\":\"PS\",\"\\u0411\\u044e\\u0434\\u0436\\u0435\\u0442\":\"0\",\"Budget\":\"0\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"Untila Dorina\",\"Responsible\":\"Untila Dorina\"},\"\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442\":{\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"380973464192\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"\\u041a\\u043e\\u043d\\u0441\\u0442\\u0430\\u043d\\u0442\\u0438\\u043d \\u0425\\u0430\\u0438\\u0442\",\"Contact_name\":\"\\u041a\\u043e\\u043d\\u0441\\u0442\\u0430\\u043d\\u0442\\u0438\\u043d \\u0425\\u0430\\u0438\\u0442\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"Untila Dorina\",\"Responsible\":\"Untila Dorina\"},\"contact\":{\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"380973464192\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"\\u041a\\u043e\\u043d\\u0441\\u0442\\u0430\\u043d\\u0442\\u0438\\u043d \\u0425\\u0430\\u0438\\u0442\",\"Contact_name\":\"\\u041a\\u043e\\u043d\\u0441\\u0442\\u0430\\u043d\\u0442\\u0438\\u043d \\u0425\\u0430\\u0438\\u0442\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"Untila Dorina\",\"Responsible\":\"Untila Dorina\"},\"\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442\\u044b\":[{\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"380973464192\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"\\u041a\\u043e\\u043d\\u0441\\u0442\\u0430\\u043d\\u0442\\u0438\\u043d \\u0425\\u0430\\u0438\\u0442\",\"\\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\":\"03.09.2026\",\"\\u041d\\u043e\\u043c\\u0435\\u0440\":\"72\"},\"document\":{\"Date\":\"03.09.2026\",\"Number\":\"72\"}}}","edit":true}} {"uid":"a895862"}
[2026-09-03 18:21:13] docflow.DEBUG: GAS raw response {"raw":"[object] (stdClass: {\"code\":1,\"url\":\"https://docs.google.com/open?id=170Fzr7_sRFL0TzNXfoq9FKY-nitrugk2pJN0tTo6sQ8\",\"file_id\":\"170Fzr7_sRFL0TzNXfoq9FKY-nitrugk2pJN0tTo6sQ8\",\"error\":\"\",\"vars\":\"\"})"} {"uid":"a895862"}
[2026-09-03 18:21:13] docflow.WARNING: AmoDrive generated-file move is not ready. {"fileId":"170Fzr7_sRFL0TzNXfoq9FKY-nitrugk2pJN0tTo6sQ8","context":null} {"uid":"a895862"}
[2026-09-03 18:34:35] docflow.INFO: Apel createDoc {"data":{"amoAccountId":"22699852","amoUserId":null,"amoEntityId":"42616880","amoEntityType":"2","templateId":"11519","corporateEntityId":"","settlementAccountId":"","is_signed":null,"gdi":null,"number":null,"currentAmoUserId":null,"lang":"ru"}} {"uid":"97f7c5b"}
[2026-09-03 18:34:35] docflow.INFO: Token is valid for account 22699852. [] {"uid":"97f7c5b"}
[2026-09-03 18:34:35] docflow.DEBUG: getClientAuth returned {"auth":"[object] (stdClass: {\"domain\":\"emigrare.amocrm.ru\",\"access_token\":\"eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImp0aSI6Ijc5NmQ0ZGI2YTA3MWNlZDc3ODJlNGQ0YjUwNDg3Y2YzYzc5NzMzMGZmYjRiODY3YmJkOGZlMGM0OTgzMThhOWM2ZWI0OGY0NWEwNjUyNTA2In0.eyJhdWQiOiIwZDY0ZGZmYi1lNTRiLTQ0OGYtOWZiZi1iYWYyMjUxYTExZGIiLCJqdGkiOiI3OTZkNGRiNmEwNzFjZWQ3NzgyZTRkNGI1MDQ4N2NmM2M3OTczMzBmZmI0Yjg2N2JiZDhmZTBjNDk4MzE4YTljNmViNDhmNDVhMDY1MjUwNiIsImlhdCI6MTc4ODQyMDkzMSwibmJmIjoxNzg4NDIwOTMxLCJleHAiOjE3ODg1MDczMzEsInN1YiI6IjI5MzAzODAiLCJncmFudF90eXBlIjoiIiwiYWNjb3VudF9pZCI6MjI2OTk4NTIsImJhc2VfZG9tYWluIjoiYW1vY3JtLnJ1IiwidmVyc2lvbiI6Miwic2NvcGVzIjpbInB1c2hfbm90aWZpY2F0aW9ucyIsImNybSIsIm5vdGlmaWNhdGlvbnMiXSwiaGFzaF91dWlkIjoiZGEyYWE1ZjktZGExOC00MjdlLWE2MWYtNTVmYTc3ODVlZjY2IiwiYXBpX2RvbWFpbiI6ImFwaS1hLmFtb2NybS5ydSJ9.H4kHy9HTAlmOrLwH87KEUkW3m5XrIPQPJ94nBHw7VmgyuPPvGaBKTqjV0ZeDQAB1eCpE6EUB3rzYGayOEE9oAeVFDKK5jTkW4oB5DsBnqMLC0Y0p3r7E0iO_PIE4V_HEI2v_jRgepLdDV85cqYKaSeT1ho90pWjPIZ0rm_9K0_HWXp6oXP5IvTBJbUKDaZ-8GfjtRNe3HeN3_V4AsYnDU5Q6lWeVyKwDd0r2N6Tf2QU5Xvn5DSWODA5r3fmWriH3KKtx4KnIccLHSYV5x46iQ-a7aRY4Zwqr76sVZzk7_98D61OGdafIPJno0g0tKRoASQPcQxT6IGoUSyqxOVFbdA\"})","file":"/home/ytvmclwh/document.amocrm.md/src/Models/Docs.php","line":121} {"uid":"97f7c5b"}
[2026-09-03 18:34:37] docflow.DEBUG: AmoDrive docflow context request {"url":"https://google.emale.uno/api/docflow/google-context","query":{"account_id":"22699852","entity_id":"42616880","entity_type":"leads"}} {"uid":"97f7c5b"}
[2026-09-03 18:34: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=42616880&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/09/03 18:34:37</td>\r\n</tr>\r\n</table>\r\n<hr><center>tengine</center>\r\n</body>\r\n</html>\r\n"} {"uid":"97f7c5b"}
[2026-09-03 18:34:37] docflow.DEBUG: AmoDrive docflow context request {"url":"https://gd.glucose-dev.online/api/docflow/google-context","query":{"account_id":"22699852","entity_id":"42616880","entity_type":"leads"}} {"uid":"97f7c5b"}
[2026-09-03 18:34:37] docflow.WARNING: AmoDrive docflow context response is not ready, trying next backend. {"url":"https://gd.glucose-dev.online/api/docflow/google-context","payload":{"ok":true,"accountId":22699852,"entityId":"42616880","entityType":"leads","amodrive":{"installed":false,"widgetStatus":"uninstalled","amoAccountId":22699852,"accountHost":"emigrare.amocrm.ru","license":{"status":"active","configuredStatus":"active","expiresAt":"2027-08-20T10:16:56.291Z","isExpired":false,"isTrial":false,"isActive":true,"expiredByDate":false,"daysRemaining":351,"isLifetime":false},"licenseActive":false,"googleConnected":false,"googleEmail":null,"googleHasDriveScope":false,"googleHasDriveFileScope":false,"googleHasOwnershipScope":false,"readyForGeneratedFileMove":false,"readyForTransfer":false},"folder":null}} {"uid":"97f7c5b"}
[2026-09-03 18:34:37] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://google.emale.uno/api/docflow/prepare-generated-doc","payload":{"account_id":"22699852","entity_id":"42616880","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"97f7c5b"}
[2026-09-03 18:34:37] docflow.WARNING: AmoDrive prepare-generated-doc request failed {"url":"https://google.emale.uno/api/docflow/prepare-generated-doc","http_code":null,"error":"HTTP/2 400 ","response":"<!DOCTYPE HTML PUBLIC \"-//IETF//DTD HTML 2.0//EN\">\r\n<html>\r\n<head><title>400 Bad Request</title></head>\r\n<body>\r\n<center><h1>400 Bad Request</h1></center>\r\n Sorry for the inconvenience.<br/>\r\nPlease report this message and include the following information to us.<br/>\r\nThank you very much!</p>\r\n<table>\r\n<tr>\r\n<td>URL:</td>\r\n<td>https://gd.glucose-dev.online/api/docflow/prepare-generated-doc</td>\r\n</tr>\r\n<tr>\r\n<td>Server:</td>\r\n<td>mail.glucose-dev.online</td>\r\n</tr>\r\n<tr>\r\n<td>Date:</td>\r\n<td>2026/09/03 18:34:37</td>\r\n</tr>\r\n</table>\r\n<hr><center>tengine</center>\r\n</body>\r\n</html>\r\n","payload":{"account_id":"22699852","entity_id":"42616880","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"97f7c5b"}
[2026-09-03 18:34:37] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://gd.glucose-dev.online/api/docflow/prepare-generated-doc","payload":{"account_id":"22699852","entity_id":"42616880","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"97f7c5b"}
[2026-09-03 18:34:37] docflow.WARNING: AmoDrive prepare-generated-doc request failed {"url":"https://gd.glucose-dev.online/api/docflow/prepare-generated-doc","http_code":null,"error":"HTTP/2 404 ","response":"[object] (stdClass: {\"ok\":false,\"error\":\"AmoDrive is not installed for this account.\",\"accountId\":22699852})","payload":{"account_id":"22699852","entity_id":"42616880","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"97f7c5b"}
[2026-09-03 18:34:37] docflow.DEBUG: GAS request {"url":"https://script.google.com/macros/s/AKfycbwrvOJD46zkuoTzdhpc1kulhV8jRfgQBFZfQ121nkIip_k8yKit4xrbWTOzaJ-C-Yed6w/exec","body":{"templateFileId":"1ekgk00tIKeutOhblnl7sN9HG0r93Kn4o1ZQXR51tFww","accountId":"22699852","folderId":"1Us2AfskxgdA729xVr0F2vjZU9y5PlYDe","key":"~VTsK5dcnHc2cSSsjM$LFSjLlgbmJXwrp3R2P5nd","data":"{\"fileName\":\"\\u0421\\u0447\\u0435\\u0442 \\u043d\\u0430 \\u043e\\u043f\\u043b\\u0430\\u0442\\u0443 (PayPal) 187 20260903183437\",\"leadId\":\"42616880\",\"entities\":{\"\\u0441\\u0434\\u0435\\u043b\\u043a\\u0430\":{\"ID\":\"42616880\",\"\\u0421\\u0434\\u0435\\u043b\\u043a\\u0430_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"PS\",\"Lead_name\":\"PS\",\"\\u0411\\u044e\\u0434\\u0436\\u0435\\u0442\":\"0\",\"Budget\":\"0\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"Untila Dorina\",\"Responsible\":\"Untila Dorina\"},\"lead\":{\"ID\":\"42616880\",\"\\u0421\\u0434\\u0435\\u043b\\u043a\\u0430_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"PS\",\"Lead_name\":\"PS\",\"\\u0411\\u044e\\u0434\\u0436\\u0435\\u0442\":\"0\",\"Budget\":\"0\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"Untila Dorina\",\"Responsible\":\"Untila Dorina\"},\"\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442\":{\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"380973464192\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"\\u041a\\u043e\\u043d\\u0441\\u0442\\u0430\\u043d\\u0442\\u0438\\u043d \\u0425\\u0430\\u0438\\u0442\",\"Contact_name\":\"\\u041a\\u043e\\u043d\\u0441\\u0442\\u0430\\u043d\\u0442\\u0438\\u043d \\u0425\\u0430\\u0438\\u0442\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"Untila Dorina\",\"Responsible\":\"Untila Dorina\"},\"contact\":{\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"380973464192\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"\\u041a\\u043e\\u043d\\u0441\\u0442\\u0430\\u043d\\u0442\\u0438\\u043d \\u0425\\u0430\\u0438\\u0442\",\"Contact_name\":\"\\u041a\\u043e\\u043d\\u0441\\u0442\\u0430\\u043d\\u0442\\u0438\\u043d \\u0425\\u0430\\u0438\\u0442\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"Untila Dorina\",\"Responsible\":\"Untila Dorina\"},\"\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442\\u044b\":[{\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"380973464192\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"\\u041a\\u043e\\u043d\\u0441\\u0442\\u0430\\u043d\\u0442\\u0438\\u043d \\u0425\\u0430\\u0438\\u0442\",\"\\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\":\"03.09.2026\",\"\\u041d\\u043e\\u043c\\u0435\\u0440\":\"187\"},\"document\":{\"Date\":\"03.09.2026\",\"Number\":\"187\"}}}","edit":true}} {"uid":"97f7c5b"}
[2026-09-03 18:34:56] docflow.DEBUG: GAS raw response {"raw":"[object] (stdClass: {\"code\":1,\"url\":\"https://docs.google.com/open?id=11l_L8a6TeYfWQcnyj2sRx5e51MbHHZAU89t8-qTbuEQ\",\"file_id\":\"11l_L8a6TeYfWQcnyj2sRx5e51MbHHZAU89t8-qTbuEQ\",\"error\":\"\",\"vars\":\"\"})"} {"uid":"97f7c5b"}
[2026-09-03 18:34:56] docflow.WARNING: AmoDrive generated-file move is not ready. {"fileId":"11l_L8a6TeYfWQcnyj2sRx5e51MbHHZAU89t8-qTbuEQ","context":null} {"uid":"97f7c5b"}
