[2026-07-02 08:02:42] docflow.INFO: Apel createDoc {"data":{"amoAccountId":"32990686","amoUserId":null,"amoEntityId":"40278807","amoEntityType":"2","templateId":"11625","corporateEntityId":"","settlementAccountId":"","is_signed":null,"gdi":null,"number":null,"currentAmoUserId":null,"lang":"ru"}} {"uid":"f9b3969"}
[2026-07-02 08:02:43] docflow.INFO: Token validation failed for account 32990686. Refreshing... {"http_code":null,"error_message":"HTTP/2 401 "} {"uid":"f9b3969"}
[2026-07-02 08:02:43] docflow.INFO: Attempting token refresh with payload: {"client_id":"0d64dffb-e54b-448f-9fbf-baf2251a11db","client_secret":"AXqHrT1J35SilTTtI3yyaHdQKiS5bonhySaPYkLmo7mR6ZZ9zDP24dUjG189VG9G","grant_type":"refresh_token","refresh_token":"def50200e2737af574ccda29edb341639568dcf20e4d39fd6eabd5c1707ff3065e48e96d1e6ea90229fa3778eb02e114bff8b1afe3a4db6d5adb535d2a1b623f329441d82119b722385b2f864aeed97b1662e5f599b3194d0980c6e5e0375d13de0aa46fc1bb104b01eb9b4657de46784300b0034e54e5a3d5f111f9dfd5e9c48d4df5e0fa114fe5037275942e7d71293525f8829220008ed640413176b39e5a18b55102515179d2b3fb4ba59f8b34afc958365744bb2d26d644d8c4f96dfc60e78137d01fa4fc80b8647caf2fc56b0816d3f21bcd8b3bb37eed991234904ac504c57680bd3da3d00fcf5552cc0d335c2cbf95306cdd9d59d146e56a8bd099021ffa99e1d5e9e61d7010c8e9c82b7b541874286655cee9e8d7566bd3cb194bc567fae2fadc59a896f249ce1084bd79ca2a65d42a4e8ba6ab2bd0036f11263bcd4ab5c2a489aa10aff93947437ea734364a91607e7530eeb7e48fffd237cbc1253863680af5955898a0927b8ea7a00d2961346de5eb226681ddeb94e997ba3f3446e103db2d9b33e6b0c4085468dc57fb2eaa75dec70e675e06b8412fc79e00e6c61a37f4595f124266f0da155bc7bfb48c8c3b53e1b55f0280b6312a2349537aeba7714f778fa6a7a68511f97e52e948545913aa5ba8b3","redirect_uri":"https://document.amocrm.md/core/manager/install.php"} {"uid":"f9b3969"}
[2026-07-02 08:02:43] docflow.INFO: Token for account 32990686 refreshed successfully. [] {"uid":"f9b3969"}
[2026-07-02 08:02:43] docflow.DEBUG: getClientAuth returned {"auth":"[object] (stdClass: {\"domain\":\"eurosanteh.amocrm.ru\",\"access_token\":\"eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImp0aSI6ImRjZGY4YWJiMzM0MzdiZjRjNzBjMDRlOTFlNDU1YjhmYjkwNmYzOTYwMzk4NGNjMWQ0MDI1ODUzYjA2ZjNiMDkzZGNjMDFlNDQyNTg0Njk5In0.eyJhdWQiOiIwZDY0ZGZmYi1lNTRiLTQ0OGYtOWZiZi1iYWYyMjUxYTExZGIiLCJqdGkiOiJkY2RmOGFiYjMzNDM3YmY0YzcwYzA0ZTkxZTQ1NWI4ZmI5MDZmMzk2MDM5ODRjYzFkNDAyNTg1M2IwNmYzYjA5M2RjYzAxZTQ0MjU4NDY5OSIsImlhdCI6MTc4Mjk2ODU2MywibmJmIjoxNzgyOTY4NTYzLCJleHAiOjE3ODMwNTQ5NjMsInN1YiI6IjEzNjg3MzAyIiwiZ3JhbnRfdHlwZSI6IiIsImFjY291bnRfaWQiOjMyOTkwNjg2LCJiYXNlX2RvbWFpbiI6ImFtb2NybS5ydSIsInZlcnNpb24iOjIsInNjb3BlcyI6WyJwdXNoX25vdGlmaWNhdGlvbnMiLCJjcm0iLCJub3RpZmljYXRpb25zIl0sImhhc2hfdXVpZCI6IjdiNTI2ZDM3LWU5YTUtNGY1MC04NjU5LWFlZjI0ZWMwN2I2MSIsImFwaV9kb21haW4iOiJhcGktYi5hbW9jcm0ucnUifQ.TUP7Bi9R1Z5_ifh6PBDea_wrLQhhuCDBfhbmV-UeB8v1A_eof6DM3ni90PqyHwjy-_bogoujgXVHGFtlHknt3UAHPf6orhat2LJuNkb1ZzlvwNfKzfOLlCslLtvwCmvId5Cp6PjIEgZpsSZPb6j1XFwBF8mUsYJAs6DQafAhxJbwwdtepg3Rn7z1bok0wAy62df4psIRq7Bi9WiSVCb7CyeiZj8UiZxEFNIbusJI6k3zpKBXtykwNv4c2JwIgpQjuwAfKUvcfKgTUV6ZCXuj_wbQnkvtSXt1yjhO82intYpA8QkC7YC1Z2KUwCu90CACwX4piq8dxBla--hEqiVNGg\"})","file":"/home/ytvmclwh/document.amocrm.md/src/Models/Docs.php","line":121} {"uid":"f9b3969"}
[2026-07-02 08:02:45] docflow.DEBUG: AmoDrive docflow context request {"url":"https://google.emale.uno/api/docflow/google-context","query":{"account_id":"32990686","entity_id":"40278807","entity_type":"leads"}} {"uid":"f9b3969"}
[2026-07-02 08:02: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=40278807&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/07/02 08:02:45</td>\r\n</tr>\r\n</table>\r\n<hr><center>tengine</center>\r\n</body>\r\n</html>\r\n"} {"uid":"f9b3969"}
[2026-07-02 08:02:45] docflow.DEBUG: AmoDrive docflow context request {"url":"https://gd.glucose-dev.online/api/docflow/google-context","query":{"account_id":"32990686","entity_id":"40278807","entity_type":"leads"}} {"uid":"f9b3969"}
[2026-07-02 08:02: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":"40278807","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":"f9b3969"}
[2026-07-02 08:02:45] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://google.emale.uno/api/docflow/prepare-generated-doc","payload":{"account_id":"32990686","entity_id":"40278807","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"f9b3969"}
[2026-07-02 08:02: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/07/02 08:02:46</td>\r\n</tr>\r\n</table>\r\n<hr><center>tengine</center>\r\n</body>\r\n</html>\r\n","payload":{"account_id":"32990686","entity_id":"40278807","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"f9b3969"}
[2026-07-02 08:02: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":"40278807","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"f9b3969"}
[2026-07-02 08:02: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":"40278807","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"f9b3969"}
[2026-07-02 08:02:46] docflow.DEBUG: GAS request {"url":"https://script.google.com/macros/s/AKfycbwrvOJD46zkuoTzdhpc1kulhV8jRfgQBFZfQ121nkIip_k8yKit4xrbWTOzaJ-C-Yed6w/exec","body":{"templateFileId":"1AjK4khA9mRlFDVy4RXRqHAg2GTFWJYC-Gac1Mx3OLnA","accountId":"32990686","folderId":"1Us2AfskxgdA729xVr0F2vjZU9y5PlYDe","key":"~VTsK5dcnHc2cSSsjM$LFSjLlgbmJXwrp3R2P5nd","data":"{\"fileName\":\"ALL FOR ALL \\u041d\\u0430\\u0440\\u044f\\u0434 \\u043d\\u0430 \\u0432\\u044b\\u043f\\u043e\\u043b\\u043d\\u0435\\u043d\\u0438\\u0435 \\u0440\\u0430\\u0431\\u043e\\u0442 438 20260702080245\",\"leadId\":\"40278807\",\"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\":\"07.07.2026\",\"\\u041d\\u043e\\u043c\\u0435\\u0440 \\u043a\\u043e\\u043d\\u0442\\u0440\\u0430\\u043a\\u0442\\u0430\":\"T4083\",\"\\u0414\\u0430\\u0442\\u0430 \\u043c\\u043e\\u043d\\u0442\\u0430\\u0436\\u0430 (\\u0411\\u0414)\":\"07.07.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 \\u043f\\u043e \\u0433\\u0430\\u0440\\u0430\\u043d\\u0442\\u0438\\u0438\",\"\\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-07-01 15:46:00\",\"\\u0414\\u0430\\u0442\\u0430 \\u0432\\u0438\\u0437\\u0438\\u0442\\u0430\":\"01.07.2026\",\"ID\":\"40278807\",\"\\u0421\\u0434\\u0435\\u043b\\u043a\\u0430_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"\\u041f\\u0422\\u041e \\u043f\\u043e \\u0433\\u0430\\u0440\\u0430\\u043d\\u0442\\u0438\\u0438\",\"Lead_name\":\"\\u041f\\u0422\\u041e \\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\":{\"\\u0421\\u043b\\u0435\\u0434\\u0443\\u044e\\u0449\\u0430\\u044f \\u0434\\u0430\\u0442\\u0430 \\u0441\\u0435\\u0440\\u0432\\u0438\\u0441\\u0430\":\"07.07.2026\",\"\\u041d\\u043e\\u043c\\u0435\\u0440 \\u043a\\u043e\\u043d\\u0442\\u0440\\u0430\\u043a\\u0442\\u0430\":\"T4083\",\"\\u0414\\u0430\\u0442\\u0430 \\u043c\\u043e\\u043d\\u0442\\u0430\\u0436\\u0430 (\\u0411\\u0414)\":\"07.07.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 \\u043f\\u043e \\u0433\\u0430\\u0440\\u0430\\u043d\\u0442\\u0438\\u0438\",\"\\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-07-01 15:46:00\",\"\\u0414\\u0430\\u0442\\u0430 \\u0432\\u0438\\u0437\\u0438\\u0442\\u0430\":\"01.07.2026\",\"ID\":\"40278807\",\"\\u0421\\u0434\\u0435\\u043b\\u043a\\u0430_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"\\u041f\\u0422\\u041e \\u043f\\u043e \\u0433\\u0430\\u0440\\u0430\\u043d\\u0442\\u0438\\u0438\",\"Lead_name\":\"\\u041f\\u0422\\u041e \\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\":{\"\\u0418\\u0414\\u041d\\u041e\":\"2007042036327\",\"\\u0410\\u0434\\u0440\\u0435\\u0441\":\"sat Dobruja\",\"\\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.07.2024\",\"\\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)\":\"T4083\",\"\\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)\":\"Alina\",\"\\u041a\\u043e\\u043b - \\u0432\\u043e \\u043e\\u0431\\u043e\\u0440\\u0443\\u0434\\u043e\\u0432\\u0430\\u043d\\u0438\\u044f (\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442)\":\"1\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"37369120684\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Alina Racovuta\",\"Contact_name\":\"Alina Racovuta\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"\\u0410\\u0441\\u0442\\u0430\\u043f\\u0435\\u043d\\u043a\\u043e\\u0432\\u0430 \\u042e\\u043b\\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\":\"2007042036327\",\"\\u0410\\u0434\\u0440\\u0435\\u0441\":\"sat Dobruja\",\"\\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.07.2024\",\"\\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)\":\"T4083\",\"\\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)\":\"Alina\",\"\\u041a\\u043e\\u043b - \\u0432\\u043e \\u043e\\u0431\\u043e\\u0440\\u0443\\u0434\\u043e\\u0432\\u0430\\u043d\\u0438\\u044f (\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442)\":\"1\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"37369120684\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Alina Racovuta\",\"Contact_name\":\"Alina Racovuta\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"\\u0410\\u0441\\u0442\\u0430\\u043f\\u0435\\u043d\\u043a\\u043e\\u0432\\u0430 \\u042e\\u043b\\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\":\"2007042036327\",\"\\u0410\\u0434\\u0440\\u0435\\u0441\":\"sat Dobruja\",\"\\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.07.2024\",\"\\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)\":\"T4083\",\"\\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)\":\"Alina\",\"\\u041a\\u043e\\u043b - \\u0432\\u043e \\u043e\\u0431\\u043e\\u0440\\u0443\\u0434\\u043e\\u0432\\u0430\\u043d\\u0438\\u044f (\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442)\":\"1\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"37369120684\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Alina Racovuta\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\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\":\"02.07.2026\",\"\\u041d\\u043e\\u043c\\u0435\\u0440\":\"438\"},\"document\":{\"Date\":\"02.07.2026\",\"Number\":\"438\"}}}","edit":true}} {"uid":"f9b3969"}
[2026-07-02 08:02:47] docflow.DEBUG: GAS raw response {"raw":"<!DOCTYPE html><html><head><link rel=\"shortcut icon\" href=\"//ssl.gstatic.com/docs/script/images/favicon.ico\"><title>Błąd</title><style type=\"text/css\" nonce=\"OOkcEY-yDzu3ej2G_FqIXQ\">body {background-color: #fff; margin: 0; padding: 0;}.errorMessage {font-family: Arial,sans-serif; font-size: 12pt; font-weight: bold; line-height: 150%; padding-top: 25px;}</style></head><body style=\"margin:20px\"><div><img alt=\"Google Apps Script\" src=\"//ssl.gstatic.com/docs/script/images/logo.png\"></div><div style=\"text-align:center;font-family:monospace;margin:50px auto 0;max-width:600px\">Exception: Do wykonania tej czynności wymagana jest autoryzacja. (wiersz 59, plik „gscript”)</div></body></html>"} {"uid":"f9b3969"}
[2026-07-02 08:02:47] docflow.ERROR: Google Apps Script error: Exception: Do wykonania tej czynności wymagana jest autoryzacja. (wiersz 59, plik „gscript”) {"trace":"#0 /home/ytvmclwh/document.amocrm.md/src/Controllers/Docs.php(94): Genezis\\Docflow\\Models\\Docs->createDoc(Array)\n#1 [internal function]: Genezis\\Docflow\\Controllers\\Docs->create(Object(Slim\\Http\\Request), Object(Slim\\Http\\Response), Array)\n#2 /home/ytvmclwh/document.amocrm.md/vendor/slim/slim/Slim/Handlers/Strategies/RequestResponse.php(41): call_user_func(Array, Object(Slim\\Http\\Request), Object(Slim\\Http\\Response), Array)\n#3 /home/ytvmclwh/document.amocrm.md/vendor/slim/slim/Slim/Route.php(335): Slim\\Handlers\\Strategies\\RequestResponse->__invoke(Array, Object(Slim\\Http\\Request), Object(Slim\\Http\\Response), Array)\n#4 /home/ytvmclwh/document.amocrm.md/vendor/slim/slim/Slim/MiddlewareAwareTrait.php(117): Slim\\Route->__invoke(Object(Slim\\Http\\Request), Object(Slim\\Http\\Response))\n#5 /home/ytvmclwh/document.amocrm.md/vendor/slim/slim/Slim/Route.php(313): Slim\\Route->callMiddlewareStack(Object(Slim\\Http\\Request), Object(Slim\\Http\\Response))\n#6 /home/ytvmclwh/document.amocrm.md/vendor/slim/slim/Slim/App.php(495): Slim\\Route->run(Object(Slim\\Http\\Request), Object(Slim\\Http\\Response))\n#7 /home/ytvmclwh/document.amocrm.md/vendor/genezis/amocrm-cors/src/AmoCors.php(54): Slim\\App->__invoke(Object(Slim\\Http\\Request), Object(Slim\\Http\\Response))\n#8 [internal function]: Genezis\\Middlewares\\AmoCors->__invoke(Object(Slim\\Http\\Request), Object(Slim\\Http\\Response), Object(Slim\\App))\n#9 /home/ytvmclwh/document.amocrm.md/vendor/slim/slim/Slim/DeferredCallable.php(43): call_user_func_array(Object(Genezis\\Middlewares\\AmoCors), Array)\n#10 [internal function]: Slim\\DeferredCallable->__invoke(Object(Slim\\Http\\Request), Object(Slim\\Http\\Response), Object(Slim\\App))\n#11 /home/ytvmclwh/document.amocrm.md/vendor/slim/slim/Slim/MiddlewareAwareTrait.php(70): call_user_func(Object(Slim\\DeferredCallable), Object(Slim\\Http\\Request), Object(Slim\\Http\\Response), Object(Slim\\App))\n#12 /home/ytvmclwh/document.amocrm.md/vendor/slim/slim/Slim/MiddlewareAwareTrait.php(117): Slim\\App->Slim\\{closure}(Object(Slim\\Http\\Request), Object(Slim\\Http\\Response))\n#13 /home/ytvmclwh/document.amocrm.md/vendor/slim/slim/Slim/App.php(388): Slim\\App->callMiddlewareStack(Object(Slim\\Http\\Request), Object(Slim\\Http\\Response))\n#14 /home/ytvmclwh/document.amocrm.md/vendor/slim/slim/Slim/App.php(296): Slim\\App->process(Object(Slim\\Http\\Request), Object(Slim\\Http\\Response))\n#15 /home/ytvmclwh/document.amocrm.md/public/index.php(37): Slim\\App->run()\n#16 {main}"} {"uid":"f9b3969"}
[2026-07-02 08:03:07] docflow.INFO: Apel createDoc {"data":{"amoAccountId":"32990686","amoUserId":null,"amoEntityId":"40278807","amoEntityType":"2","templateId":"11625","corporateEntityId":"","settlementAccountId":"","is_signed":null,"gdi":null,"number":null,"currentAmoUserId":null,"lang":"ru"}} {"uid":"31c00d3"}
[2026-07-02 08:03:07] docflow.INFO: Token is valid for account 32990686. [] {"uid":"31c00d3"}
[2026-07-02 08:03:07] docflow.DEBUG: getClientAuth returned {"auth":"[object] (stdClass: {\"domain\":\"eurosanteh.amocrm.ru\",\"access_token\":\"eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImp0aSI6ImRjZGY4YWJiMzM0MzdiZjRjNzBjMDRlOTFlNDU1YjhmYjkwNmYzOTYwMzk4NGNjMWQ0MDI1ODUzYjA2ZjNiMDkzZGNjMDFlNDQyNTg0Njk5In0.eyJhdWQiOiIwZDY0ZGZmYi1lNTRiLTQ0OGYtOWZiZi1iYWYyMjUxYTExZGIiLCJqdGkiOiJkY2RmOGFiYjMzNDM3YmY0YzcwYzA0ZTkxZTQ1NWI4ZmI5MDZmMzk2MDM5ODRjYzFkNDAyNTg1M2IwNmYzYjA5M2RjYzAxZTQ0MjU4NDY5OSIsImlhdCI6MTc4Mjk2ODU2MywibmJmIjoxNzgyOTY4NTYzLCJleHAiOjE3ODMwNTQ5NjMsInN1YiI6IjEzNjg3MzAyIiwiZ3JhbnRfdHlwZSI6IiIsImFjY291bnRfaWQiOjMyOTkwNjg2LCJiYXNlX2RvbWFpbiI6ImFtb2NybS5ydSIsInZlcnNpb24iOjIsInNjb3BlcyI6WyJwdXNoX25vdGlmaWNhdGlvbnMiLCJjcm0iLCJub3RpZmljYXRpb25zIl0sImhhc2hfdXVpZCI6IjdiNTI2ZDM3LWU5YTUtNGY1MC04NjU5LWFlZjI0ZWMwN2I2MSIsImFwaV9kb21haW4iOiJhcGktYi5hbW9jcm0ucnUifQ.TUP7Bi9R1Z5_ifh6PBDea_wrLQhhuCDBfhbmV-UeB8v1A_eof6DM3ni90PqyHwjy-_bogoujgXVHGFtlHknt3UAHPf6orhat2LJuNkb1ZzlvwNfKzfOLlCslLtvwCmvId5Cp6PjIEgZpsSZPb6j1XFwBF8mUsYJAs6DQafAhxJbwwdtepg3Rn7z1bok0wAy62df4psIRq7Bi9WiSVCb7CyeiZj8UiZxEFNIbusJI6k3zpKBXtykwNv4c2JwIgpQjuwAfKUvcfKgTUV6ZCXuj_wbQnkvtSXt1yjhO82intYpA8QkC7YC1Z2KUwCu90CACwX4piq8dxBla--hEqiVNGg\"})","file":"/home/ytvmclwh/document.amocrm.md/src/Models/Docs.php","line":121} {"uid":"31c00d3"}
[2026-07-02 08:03:09] docflow.DEBUG: AmoDrive docflow context request {"url":"https://google.emale.uno/api/docflow/google-context","query":{"account_id":"32990686","entity_id":"40278807","entity_type":"leads"}} {"uid":"31c00d3"}
[2026-07-02 08:03:09] docflow.WARNING: AmoDrive docflow context request failed {"url":"https://google.emale.uno/api/docflow/google-context","http_code":null,"error":"HTTP/2 400 ","response":"<!DOCTYPE HTML PUBLIC \"-//IETF//DTD HTML 2.0//EN\">\r\n<html>\r\n<head><title>400 Bad Request</title></head>\r\n<body>\r\n<center><h1>400 Bad Request</h1></center>\r\n Sorry for the inconvenience.<br/>\r\nPlease report this message and include the following information to us.<br/>\r\nThank you very much!</p>\r\n<table>\r\n<tr>\r\n<td>URL:</td>\r\n<td>https://gd.glucose-dev.online/api/docflow/google-context?account_id=32990686&amp;entity_id=40278807&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/07/02 08:03:09</td>\r\n</tr>\r\n</table>\r\n<hr><center>tengine</center>\r\n</body>\r\n</html>\r\n"} {"uid":"31c00d3"}
[2026-07-02 08:03:09] docflow.DEBUG: AmoDrive docflow context request {"url":"https://gd.glucose-dev.online/api/docflow/google-context","query":{"account_id":"32990686","entity_id":"40278807","entity_type":"leads"}} {"uid":"31c00d3"}
[2026-07-02 08:03:09] docflow.WARNING: AmoDrive docflow context response is not ready, trying next backend. {"url":"https://gd.glucose-dev.online/api/docflow/google-context","payload":{"ok":true,"accountId":32990686,"entityId":"40278807","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":"31c00d3"}
[2026-07-02 08:03:09] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://google.emale.uno/api/docflow/prepare-generated-doc","payload":{"account_id":"32990686","entity_id":"40278807","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"31c00d3"}
[2026-07-02 08:03:09] docflow.WARNING: AmoDrive prepare-generated-doc request failed {"url":"https://google.emale.uno/api/docflow/prepare-generated-doc","http_code":null,"error":"HTTP/2 400 ","response":"<!DOCTYPE HTML PUBLIC \"-//IETF//DTD HTML 2.0//EN\">\r\n<html>\r\n<head><title>400 Bad Request</title></head>\r\n<body>\r\n<center><h1>400 Bad Request</h1></center>\r\n Sorry for the inconvenience.<br/>\r\nPlease report this message and include the following information to us.<br/>\r\nThank you very much!</p>\r\n<table>\r\n<tr>\r\n<td>URL:</td>\r\n<td>https://gd.glucose-dev.online/api/docflow/prepare-generated-doc</td>\r\n</tr>\r\n<tr>\r\n<td>Server:</td>\r\n<td>mail.glucose-dev.online</td>\r\n</tr>\r\n<tr>\r\n<td>Date:</td>\r\n<td>2026/07/02 08:03:09</td>\r\n</tr>\r\n</table>\r\n<hr><center>tengine</center>\r\n</body>\r\n</html>\r\n","payload":{"account_id":"32990686","entity_id":"40278807","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"31c00d3"}
[2026-07-02 08:03:09] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://gd.glucose-dev.online/api/docflow/prepare-generated-doc","payload":{"account_id":"32990686","entity_id":"40278807","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"31c00d3"}
[2026-07-02 08:03:09] docflow.WARNING: AmoDrive prepare-generated-doc request failed {"url":"https://gd.glucose-dev.online/api/docflow/prepare-generated-doc","http_code":null,"error":"HTTP/2 404 ","response":"[object] (stdClass: {\"ok\":false,\"error\":\"AmoDrive is not installed for this account.\",\"accountId\":32990686})","payload":{"account_id":"32990686","entity_id":"40278807","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"31c00d3"}
[2026-07-02 08:03:09] 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 438 20260702080309\",\"leadId\":\"40278807\",\"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\":\"07.07.2026\",\"\\u041d\\u043e\\u043c\\u0435\\u0440 \\u043a\\u043e\\u043d\\u0442\\u0440\\u0430\\u043a\\u0442\\u0430\":\"T4083\",\"\\u0414\\u0430\\u0442\\u0430 \\u043c\\u043e\\u043d\\u0442\\u0430\\u0436\\u0430 (\\u0411\\u0414)\":\"07.07.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 \\u043f\\u043e \\u0433\\u0430\\u0440\\u0430\\u043d\\u0442\\u0438\\u0438\",\"\\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-07-01 15:46:00\",\"\\u0414\\u0430\\u0442\\u0430 \\u0432\\u0438\\u0437\\u0438\\u0442\\u0430\":\"01.07.2026\",\"ID\":\"40278807\",\"\\u0421\\u0434\\u0435\\u043b\\u043a\\u0430_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"\\u041f\\u0422\\u041e \\u043f\\u043e \\u0433\\u0430\\u0440\\u0430\\u043d\\u0442\\u0438\\u0438\",\"Lead_name\":\"\\u041f\\u0422\\u041e \\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\":{\"\\u0421\\u043b\\u0435\\u0434\\u0443\\u044e\\u0449\\u0430\\u044f \\u0434\\u0430\\u0442\\u0430 \\u0441\\u0435\\u0440\\u0432\\u0438\\u0441\\u0430\":\"07.07.2026\",\"\\u041d\\u043e\\u043c\\u0435\\u0440 \\u043a\\u043e\\u043d\\u0442\\u0440\\u0430\\u043a\\u0442\\u0430\":\"T4083\",\"\\u0414\\u0430\\u0442\\u0430 \\u043c\\u043e\\u043d\\u0442\\u0430\\u0436\\u0430 (\\u0411\\u0414)\":\"07.07.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 \\u043f\\u043e \\u0433\\u0430\\u0440\\u0430\\u043d\\u0442\\u0438\\u0438\",\"\\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-07-01 15:46:00\",\"\\u0414\\u0430\\u0442\\u0430 \\u0432\\u0438\\u0437\\u0438\\u0442\\u0430\":\"01.07.2026\",\"ID\":\"40278807\",\"\\u0421\\u0434\\u0435\\u043b\\u043a\\u0430_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"\\u041f\\u0422\\u041e \\u043f\\u043e \\u0433\\u0430\\u0440\\u0430\\u043d\\u0442\\u0438\\u0438\",\"Lead_name\":\"\\u041f\\u0422\\u041e \\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\":{\"\\u0418\\u0414\\u041d\\u041e\":\"2007042036327\",\"\\u0410\\u0434\\u0440\\u0435\\u0441\":\"sat Dobruja\",\"\\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.07.2024\",\"\\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)\":\"T4083\",\"\\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)\":\"Alina\",\"\\u041a\\u043e\\u043b - \\u0432\\u043e \\u043e\\u0431\\u043e\\u0440\\u0443\\u0434\\u043e\\u0432\\u0430\\u043d\\u0438\\u044f (\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442)\":\"1\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"37369120684\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Alina Racovuta\",\"Contact_name\":\"Alina Racovuta\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"\\u0410\\u0441\\u0442\\u0430\\u043f\\u0435\\u043d\\u043a\\u043e\\u0432\\u0430 \\u042e\\u043b\\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\":\"2007042036327\",\"\\u0410\\u0434\\u0440\\u0435\\u0441\":\"sat Dobruja\",\"\\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.07.2024\",\"\\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)\":\"T4083\",\"\\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)\":\"Alina\",\"\\u041a\\u043e\\u043b - \\u0432\\u043e \\u043e\\u0431\\u043e\\u0440\\u0443\\u0434\\u043e\\u0432\\u0430\\u043d\\u0438\\u044f (\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442)\":\"1\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"37369120684\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Alina Racovuta\",\"Contact_name\":\"Alina Racovuta\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"\\u0410\\u0441\\u0442\\u0430\\u043f\\u0435\\u043d\\u043a\\u043e\\u0432\\u0430 \\u042e\\u043b\\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\":\"2007042036327\",\"\\u0410\\u0434\\u0440\\u0435\\u0441\":\"sat Dobruja\",\"\\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.07.2024\",\"\\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)\":\"T4083\",\"\\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)\":\"Alina\",\"\\u041a\\u043e\\u043b - \\u0432\\u043e \\u043e\\u0431\\u043e\\u0440\\u0443\\u0434\\u043e\\u0432\\u0430\\u043d\\u0438\\u044f (\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442)\":\"1\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"37369120684\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Alina Racovuta\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\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\":\"02.07.2026\",\"\\u041d\\u043e\\u043c\\u0435\\u0440\":\"438\"},\"document\":{\"Date\":\"02.07.2026\",\"Number\":\"438\"}}}","edit":true}} {"uid":"31c00d3"}
[2026-07-02 08:03:11] docflow.DEBUG: GAS raw response {"raw":"<!DOCTYPE html><html><head><link rel=\"shortcut icon\" href=\"//ssl.gstatic.com/docs/script/images/favicon.ico\"><title>Błąd</title><style type=\"text/css\" nonce=\"b0-fH7o4U4O-IGrkybqs_g\">body {background-color: #fff; margin: 0; padding: 0;}.errorMessage {font-family: Arial,sans-serif; font-size: 12pt; font-weight: bold; line-height: 150%; padding-top: 25px;}</style></head><body style=\"margin:20px\"><div><img alt=\"Google Apps Script\" src=\"//ssl.gstatic.com/docs/script/images/logo.png\"></div><div style=\"text-align:center;font-family:monospace;margin:50px auto 0;max-width:600px\">Exception: Do wykonania tej czynności wymagana jest autoryzacja. (wiersz 59, plik „gscript”)</div></body></html>"} {"uid":"31c00d3"}
[2026-07-02 08:03:11] docflow.ERROR: Google Apps Script error: Exception: Do wykonania tej czynności wymagana jest autoryzacja. (wiersz 59, plik „gscript”) {"trace":"#0 /home/ytvmclwh/document.amocrm.md/src/Controllers/Docs.php(94): Genezis\\Docflow\\Models\\Docs->createDoc(Array)\n#1 [internal function]: Genezis\\Docflow\\Controllers\\Docs->create(Object(Slim\\Http\\Request), Object(Slim\\Http\\Response), Array)\n#2 /home/ytvmclwh/document.amocrm.md/vendor/slim/slim/Slim/Handlers/Strategies/RequestResponse.php(41): call_user_func(Array, Object(Slim\\Http\\Request), Object(Slim\\Http\\Response), Array)\n#3 /home/ytvmclwh/document.amocrm.md/vendor/slim/slim/Slim/Route.php(335): Slim\\Handlers\\Strategies\\RequestResponse->__invoke(Array, Object(Slim\\Http\\Request), Object(Slim\\Http\\Response), Array)\n#4 /home/ytvmclwh/document.amocrm.md/vendor/slim/slim/Slim/MiddlewareAwareTrait.php(117): Slim\\Route->__invoke(Object(Slim\\Http\\Request), Object(Slim\\Http\\Response))\n#5 /home/ytvmclwh/document.amocrm.md/vendor/slim/slim/Slim/Route.php(313): Slim\\Route->callMiddlewareStack(Object(Slim\\Http\\Request), Object(Slim\\Http\\Response))\n#6 /home/ytvmclwh/document.amocrm.md/vendor/slim/slim/Slim/App.php(495): Slim\\Route->run(Object(Slim\\Http\\Request), Object(Slim\\Http\\Response))\n#7 /home/ytvmclwh/document.amocrm.md/vendor/genezis/amocrm-cors/src/AmoCors.php(54): Slim\\App->__invoke(Object(Slim\\Http\\Request), Object(Slim\\Http\\Response))\n#8 [internal function]: Genezis\\Middlewares\\AmoCors->__invoke(Object(Slim\\Http\\Request), Object(Slim\\Http\\Response), Object(Slim\\App))\n#9 /home/ytvmclwh/document.amocrm.md/vendor/slim/slim/Slim/DeferredCallable.php(43): call_user_func_array(Object(Genezis\\Middlewares\\AmoCors), Array)\n#10 [internal function]: Slim\\DeferredCallable->__invoke(Object(Slim\\Http\\Request), Object(Slim\\Http\\Response), Object(Slim\\App))\n#11 /home/ytvmclwh/document.amocrm.md/vendor/slim/slim/Slim/MiddlewareAwareTrait.php(70): call_user_func(Object(Slim\\DeferredCallable), Object(Slim\\Http\\Request), Object(Slim\\Http\\Response), Object(Slim\\App))\n#12 /home/ytvmclwh/document.amocrm.md/vendor/slim/slim/Slim/MiddlewareAwareTrait.php(117): Slim\\App->Slim\\{closure}(Object(Slim\\Http\\Request), Object(Slim\\Http\\Response))\n#13 /home/ytvmclwh/document.amocrm.md/vendor/slim/slim/Slim/App.php(388): Slim\\App->callMiddlewareStack(Object(Slim\\Http\\Request), Object(Slim\\Http\\Response))\n#14 /home/ytvmclwh/document.amocrm.md/vendor/slim/slim/Slim/App.php(296): Slim\\App->process(Object(Slim\\Http\\Request), Object(Slim\\Http\\Response))\n#15 /home/ytvmclwh/document.amocrm.md/public/index.php(37): Slim\\App->run()\n#16 {main}"} {"uid":"31c00d3"}
[2026-07-02 08:03:20] docflow.INFO: Apel createDoc {"data":{"amoAccountId":"32990686","amoUserId":null,"amoEntityId":"40278807","amoEntityType":"2","templateId":"11625","corporateEntityId":"","settlementAccountId":"","is_signed":null,"gdi":null,"number":null,"currentAmoUserId":null,"lang":"ru"}} {"uid":"3377ab5"}
[2026-07-02 08:03:21] docflow.INFO: Token is valid for account 32990686. [] {"uid":"3377ab5"}
[2026-07-02 08:03:21] docflow.DEBUG: getClientAuth returned {"auth":"[object] (stdClass: {\"domain\":\"eurosanteh.amocrm.ru\",\"access_token\":\"eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImp0aSI6ImRjZGY4YWJiMzM0MzdiZjRjNzBjMDRlOTFlNDU1YjhmYjkwNmYzOTYwMzk4NGNjMWQ0MDI1ODUzYjA2ZjNiMDkzZGNjMDFlNDQyNTg0Njk5In0.eyJhdWQiOiIwZDY0ZGZmYi1lNTRiLTQ0OGYtOWZiZi1iYWYyMjUxYTExZGIiLCJqdGkiOiJkY2RmOGFiYjMzNDM3YmY0YzcwYzA0ZTkxZTQ1NWI4ZmI5MDZmMzk2MDM5ODRjYzFkNDAyNTg1M2IwNmYzYjA5M2RjYzAxZTQ0MjU4NDY5OSIsImlhdCI6MTc4Mjk2ODU2MywibmJmIjoxNzgyOTY4NTYzLCJleHAiOjE3ODMwNTQ5NjMsInN1YiI6IjEzNjg3MzAyIiwiZ3JhbnRfdHlwZSI6IiIsImFjY291bnRfaWQiOjMyOTkwNjg2LCJiYXNlX2RvbWFpbiI6ImFtb2NybS5ydSIsInZlcnNpb24iOjIsInNjb3BlcyI6WyJwdXNoX25vdGlmaWNhdGlvbnMiLCJjcm0iLCJub3RpZmljYXRpb25zIl0sImhhc2hfdXVpZCI6IjdiNTI2ZDM3LWU5YTUtNGY1MC04NjU5LWFlZjI0ZWMwN2I2MSIsImFwaV9kb21haW4iOiJhcGktYi5hbW9jcm0ucnUifQ.TUP7Bi9R1Z5_ifh6PBDea_wrLQhhuCDBfhbmV-UeB8v1A_eof6DM3ni90PqyHwjy-_bogoujgXVHGFtlHknt3UAHPf6orhat2LJuNkb1ZzlvwNfKzfOLlCslLtvwCmvId5Cp6PjIEgZpsSZPb6j1XFwBF8mUsYJAs6DQafAhxJbwwdtepg3Rn7z1bok0wAy62df4psIRq7Bi9WiSVCb7CyeiZj8UiZxEFNIbusJI6k3zpKBXtykwNv4c2JwIgpQjuwAfKUvcfKgTUV6ZCXuj_wbQnkvtSXt1yjhO82intYpA8QkC7YC1Z2KUwCu90CACwX4piq8dxBla--hEqiVNGg\"})","file":"/home/ytvmclwh/document.amocrm.md/src/Models/Docs.php","line":121} {"uid":"3377ab5"}
[2026-07-02 08:03:22] docflow.DEBUG: AmoDrive docflow context request {"url":"https://google.emale.uno/api/docflow/google-context","query":{"account_id":"32990686","entity_id":"40278807","entity_type":"leads"}} {"uid":"3377ab5"}
[2026-07-02 08:03: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=40278807&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/07/02 08:03:23</td>\r\n</tr>\r\n</table>\r\n<hr><center>tengine</center>\r\n</body>\r\n</html>\r\n"} {"uid":"3377ab5"}
[2026-07-02 08:03:23] docflow.DEBUG: AmoDrive docflow context request {"url":"https://gd.glucose-dev.online/api/docflow/google-context","query":{"account_id":"32990686","entity_id":"40278807","entity_type":"leads"}} {"uid":"3377ab5"}
[2026-07-02 08:03:23] docflow.WARNING: AmoDrive docflow context response is not ready, trying next backend. {"url":"https://gd.glucose-dev.online/api/docflow/google-context","payload":{"ok":true,"accountId":32990686,"entityId":"40278807","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":"3377ab5"}
[2026-07-02 08:03:23] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://google.emale.uno/api/docflow/prepare-generated-doc","payload":{"account_id":"32990686","entity_id":"40278807","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"3377ab5"}
[2026-07-02 08:03: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/07/02 08:03:23</td>\r\n</tr>\r\n</table>\r\n<hr><center>tengine</center>\r\n</body>\r\n</html>\r\n","payload":{"account_id":"32990686","entity_id":"40278807","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"3377ab5"}
[2026-07-02 08:03:23] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://gd.glucose-dev.online/api/docflow/prepare-generated-doc","payload":{"account_id":"32990686","entity_id":"40278807","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"3377ab5"}
[2026-07-02 08:03:23] docflow.WARNING: AmoDrive prepare-generated-doc request failed {"url":"https://gd.glucose-dev.online/api/docflow/prepare-generated-doc","http_code":null,"error":"HTTP/2 404 ","response":"[object] (stdClass: {\"ok\":false,\"error\":\"AmoDrive is not installed for this account.\",\"accountId\":32990686})","payload":{"account_id":"32990686","entity_id":"40278807","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"3377ab5"}
[2026-07-02 08:03:23] docflow.DEBUG: GAS request {"url":"https://script.google.com/macros/s/AKfycbwrvOJD46zkuoTzdhpc1kulhV8jRfgQBFZfQ121nkIip_k8yKit4xrbWTOzaJ-C-Yed6w/exec","body":{"templateFileId":"1AjK4khA9mRlFDVy4RXRqHAg2GTFWJYC-Gac1Mx3OLnA","accountId":"32990686","folderId":"1Us2AfskxgdA729xVr0F2vjZU9y5PlYDe","key":"~VTsK5dcnHc2cSSsjM$LFSjLlgbmJXwrp3R2P5nd","data":"{\"fileName\":\"ALL FOR ALL \\u041d\\u0430\\u0440\\u044f\\u0434 \\u043d\\u0430 \\u0432\\u044b\\u043f\\u043e\\u043b\\u043d\\u0435\\u043d\\u0438\\u0435 \\u0440\\u0430\\u0431\\u043e\\u0442 438 20260702080322\",\"leadId\":\"40278807\",\"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\":\"07.07.2026\",\"\\u041d\\u043e\\u043c\\u0435\\u0440 \\u043a\\u043e\\u043d\\u0442\\u0440\\u0430\\u043a\\u0442\\u0430\":\"T4083\",\"\\u0414\\u0430\\u0442\\u0430 \\u043c\\u043e\\u043d\\u0442\\u0430\\u0436\\u0430 (\\u0411\\u0414)\":\"07.07.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 \\u043f\\u043e \\u0433\\u0430\\u0440\\u0430\\u043d\\u0442\\u0438\\u0438\",\"\\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-07-01 15:46:00\",\"\\u0414\\u0430\\u0442\\u0430 \\u0432\\u0438\\u0437\\u0438\\u0442\\u0430\":\"01.07.2026\",\"ID\":\"40278807\",\"\\u0421\\u0434\\u0435\\u043b\\u043a\\u0430_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"\\u041f\\u0422\\u041e \\u043f\\u043e \\u0433\\u0430\\u0440\\u0430\\u043d\\u0442\\u0438\\u0438\",\"Lead_name\":\"\\u041f\\u0422\\u041e \\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\":{\"\\u0421\\u043b\\u0435\\u0434\\u0443\\u044e\\u0449\\u0430\\u044f \\u0434\\u0430\\u0442\\u0430 \\u0441\\u0435\\u0440\\u0432\\u0438\\u0441\\u0430\":\"07.07.2026\",\"\\u041d\\u043e\\u043c\\u0435\\u0440 \\u043a\\u043e\\u043d\\u0442\\u0440\\u0430\\u043a\\u0442\\u0430\":\"T4083\",\"\\u0414\\u0430\\u0442\\u0430 \\u043c\\u043e\\u043d\\u0442\\u0430\\u0436\\u0430 (\\u0411\\u0414)\":\"07.07.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 \\u043f\\u043e \\u0433\\u0430\\u0440\\u0430\\u043d\\u0442\\u0438\\u0438\",\"\\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-07-01 15:46:00\",\"\\u0414\\u0430\\u0442\\u0430 \\u0432\\u0438\\u0437\\u0438\\u0442\\u0430\":\"01.07.2026\",\"ID\":\"40278807\",\"\\u0421\\u0434\\u0435\\u043b\\u043a\\u0430_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"\\u041f\\u0422\\u041e \\u043f\\u043e \\u0433\\u0430\\u0440\\u0430\\u043d\\u0442\\u0438\\u0438\",\"Lead_name\":\"\\u041f\\u0422\\u041e \\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\":{\"\\u0418\\u0414\\u041d\\u041e\":\"2007042036327\",\"\\u0410\\u0434\\u0440\\u0435\\u0441\":\"sat Dobruja\",\"\\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.07.2024\",\"\\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)\":\"T4083\",\"\\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)\":\"Alina\",\"\\u041a\\u043e\\u043b - \\u0432\\u043e \\u043e\\u0431\\u043e\\u0440\\u0443\\u0434\\u043e\\u0432\\u0430\\u043d\\u0438\\u044f (\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442)\":\"1\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"37369120684\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Alina Racovuta\",\"Contact_name\":\"Alina Racovuta\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"\\u0410\\u0441\\u0442\\u0430\\u043f\\u0435\\u043d\\u043a\\u043e\\u0432\\u0430 \\u042e\\u043b\\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\":\"2007042036327\",\"\\u0410\\u0434\\u0440\\u0435\\u0441\":\"sat Dobruja\",\"\\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.07.2024\",\"\\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)\":\"T4083\",\"\\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)\":\"Alina\",\"\\u041a\\u043e\\u043b - \\u0432\\u043e \\u043e\\u0431\\u043e\\u0440\\u0443\\u0434\\u043e\\u0432\\u0430\\u043d\\u0438\\u044f (\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442)\":\"1\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"37369120684\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Alina Racovuta\",\"Contact_name\":\"Alina Racovuta\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"\\u0410\\u0441\\u0442\\u0430\\u043f\\u0435\\u043d\\u043a\\u043e\\u0432\\u0430 \\u042e\\u043b\\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\":\"2007042036327\",\"\\u0410\\u0434\\u0440\\u0435\\u0441\":\"sat Dobruja\",\"\\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.07.2024\",\"\\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)\":\"T4083\",\"\\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)\":\"Alina\",\"\\u041a\\u043e\\u043b - \\u0432\\u043e \\u043e\\u0431\\u043e\\u0440\\u0443\\u0434\\u043e\\u0432\\u0430\\u043d\\u0438\\u044f (\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442)\":\"1\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"37369120684\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Alina Racovuta\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\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\":\"02.07.2026\",\"\\u041d\\u043e\\u043c\\u0435\\u0440\":\"438\"},\"document\":{\"Date\":\"02.07.2026\",\"Number\":\"438\"}}}","edit":true}} {"uid":"3377ab5"}
[2026-07-02 08:03:24] docflow.DEBUG: GAS raw response {"raw":"<!DOCTYPE html><html><head><link rel=\"shortcut icon\" href=\"//ssl.gstatic.com/docs/script/images/favicon.ico\"><title>Błąd</title><style type=\"text/css\" nonce=\"p7TxaIRaP2L5As-gUpt4pQ\">body {background-color: #fff; margin: 0; padding: 0;}.errorMessage {font-family: Arial,sans-serif; font-size: 12pt; font-weight: bold; line-height: 150%; padding-top: 25px;}</style></head><body style=\"margin:20px\"><div><img alt=\"Google Apps Script\" src=\"//ssl.gstatic.com/docs/script/images/logo.png\"></div><div style=\"text-align:center;font-family:monospace;margin:50px auto 0;max-width:600px\">Exception: Do wykonania tej czynności wymagana jest autoryzacja. (wiersz 59, plik „gscript”)</div></body></html>"} {"uid":"3377ab5"}
[2026-07-02 08:03:24] docflow.ERROR: Google Apps Script error: Exception: Do wykonania tej czynności wymagana jest autoryzacja. (wiersz 59, plik „gscript”) {"trace":"#0 /home/ytvmclwh/document.amocrm.md/src/Controllers/Docs.php(94): Genezis\\Docflow\\Models\\Docs->createDoc(Array)\n#1 [internal function]: Genezis\\Docflow\\Controllers\\Docs->create(Object(Slim\\Http\\Request), Object(Slim\\Http\\Response), Array)\n#2 /home/ytvmclwh/document.amocrm.md/vendor/slim/slim/Slim/Handlers/Strategies/RequestResponse.php(41): call_user_func(Array, Object(Slim\\Http\\Request), Object(Slim\\Http\\Response), Array)\n#3 /home/ytvmclwh/document.amocrm.md/vendor/slim/slim/Slim/Route.php(335): Slim\\Handlers\\Strategies\\RequestResponse->__invoke(Array, Object(Slim\\Http\\Request), Object(Slim\\Http\\Response), Array)\n#4 /home/ytvmclwh/document.amocrm.md/vendor/slim/slim/Slim/MiddlewareAwareTrait.php(117): Slim\\Route->__invoke(Object(Slim\\Http\\Request), Object(Slim\\Http\\Response))\n#5 /home/ytvmclwh/document.amocrm.md/vendor/slim/slim/Slim/Route.php(313): Slim\\Route->callMiddlewareStack(Object(Slim\\Http\\Request), Object(Slim\\Http\\Response))\n#6 /home/ytvmclwh/document.amocrm.md/vendor/slim/slim/Slim/App.php(495): Slim\\Route->run(Object(Slim\\Http\\Request), Object(Slim\\Http\\Response))\n#7 /home/ytvmclwh/document.amocrm.md/vendor/genezis/amocrm-cors/src/AmoCors.php(54): Slim\\App->__invoke(Object(Slim\\Http\\Request), Object(Slim\\Http\\Response))\n#8 [internal function]: Genezis\\Middlewares\\AmoCors->__invoke(Object(Slim\\Http\\Request), Object(Slim\\Http\\Response), Object(Slim\\App))\n#9 /home/ytvmclwh/document.amocrm.md/vendor/slim/slim/Slim/DeferredCallable.php(43): call_user_func_array(Object(Genezis\\Middlewares\\AmoCors), Array)\n#10 [internal function]: Slim\\DeferredCallable->__invoke(Object(Slim\\Http\\Request), Object(Slim\\Http\\Response), Object(Slim\\App))\n#11 /home/ytvmclwh/document.amocrm.md/vendor/slim/slim/Slim/MiddlewareAwareTrait.php(70): call_user_func(Object(Slim\\DeferredCallable), Object(Slim\\Http\\Request), Object(Slim\\Http\\Response), Object(Slim\\App))\n#12 /home/ytvmclwh/document.amocrm.md/vendor/slim/slim/Slim/MiddlewareAwareTrait.php(117): Slim\\App->Slim\\{closure}(Object(Slim\\Http\\Request), Object(Slim\\Http\\Response))\n#13 /home/ytvmclwh/document.amocrm.md/vendor/slim/slim/Slim/App.php(388): Slim\\App->callMiddlewareStack(Object(Slim\\Http\\Request), Object(Slim\\Http\\Response))\n#14 /home/ytvmclwh/document.amocrm.md/vendor/slim/slim/Slim/App.php(296): Slim\\App->process(Object(Slim\\Http\\Request), Object(Slim\\Http\\Response))\n#15 /home/ytvmclwh/document.amocrm.md/public/index.php(37): Slim\\App->run()\n#16 {main}"} {"uid":"3377ab5"}
[2026-07-02 08:03:53] docflow.INFO: Apel createDoc {"data":{"amoAccountId":"32990686","amoUserId":null,"amoEntityId":"40278807","amoEntityType":"2","templateId":"11625","corporateEntityId":"","settlementAccountId":"","is_signed":null,"gdi":null,"number":null,"currentAmoUserId":null,"lang":"ru"}} {"uid":"7ad1eda"}
[2026-07-02 08:03:53] docflow.INFO: Token is valid for account 32990686. [] {"uid":"7ad1eda"}
[2026-07-02 08:03:53] docflow.DEBUG: getClientAuth returned {"auth":"[object] (stdClass: {\"domain\":\"eurosanteh.amocrm.ru\",\"access_token\":\"eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImp0aSI6ImRjZGY4YWJiMzM0MzdiZjRjNzBjMDRlOTFlNDU1YjhmYjkwNmYzOTYwMzk4NGNjMWQ0MDI1ODUzYjA2ZjNiMDkzZGNjMDFlNDQyNTg0Njk5In0.eyJhdWQiOiIwZDY0ZGZmYi1lNTRiLTQ0OGYtOWZiZi1iYWYyMjUxYTExZGIiLCJqdGkiOiJkY2RmOGFiYjMzNDM3YmY0YzcwYzA0ZTkxZTQ1NWI4ZmI5MDZmMzk2MDM5ODRjYzFkNDAyNTg1M2IwNmYzYjA5M2RjYzAxZTQ0MjU4NDY5OSIsImlhdCI6MTc4Mjk2ODU2MywibmJmIjoxNzgyOTY4NTYzLCJleHAiOjE3ODMwNTQ5NjMsInN1YiI6IjEzNjg3MzAyIiwiZ3JhbnRfdHlwZSI6IiIsImFjY291bnRfaWQiOjMyOTkwNjg2LCJiYXNlX2RvbWFpbiI6ImFtb2NybS5ydSIsInZlcnNpb24iOjIsInNjb3BlcyI6WyJwdXNoX25vdGlmaWNhdGlvbnMiLCJjcm0iLCJub3RpZmljYXRpb25zIl0sImhhc2hfdXVpZCI6IjdiNTI2ZDM3LWU5YTUtNGY1MC04NjU5LWFlZjI0ZWMwN2I2MSIsImFwaV9kb21haW4iOiJhcGktYi5hbW9jcm0ucnUifQ.TUP7Bi9R1Z5_ifh6PBDea_wrLQhhuCDBfhbmV-UeB8v1A_eof6DM3ni90PqyHwjy-_bogoujgXVHGFtlHknt3UAHPf6orhat2LJuNkb1ZzlvwNfKzfOLlCslLtvwCmvId5Cp6PjIEgZpsSZPb6j1XFwBF8mUsYJAs6DQafAhxJbwwdtepg3Rn7z1bok0wAy62df4psIRq7Bi9WiSVCb7CyeiZj8UiZxEFNIbusJI6k3zpKBXtykwNv4c2JwIgpQjuwAfKUvcfKgTUV6ZCXuj_wbQnkvtSXt1yjhO82intYpA8QkC7YC1Z2KUwCu90CACwX4piq8dxBla--hEqiVNGg\"})","file":"/home/ytvmclwh/document.amocrm.md/src/Models/Docs.php","line":121} {"uid":"7ad1eda"}
[2026-07-02 08:03:55] docflow.DEBUG: AmoDrive docflow context request {"url":"https://google.emale.uno/api/docflow/google-context","query":{"account_id":"32990686","entity_id":"40278807","entity_type":"leads"}} {"uid":"7ad1eda"}
[2026-07-02 08:03:55] docflow.WARNING: AmoDrive docflow context request failed {"url":"https://google.emale.uno/api/docflow/google-context","http_code":null,"error":"HTTP/2 400 ","response":"<!DOCTYPE HTML PUBLIC \"-//IETF//DTD HTML 2.0//EN\">\r\n<html>\r\n<head><title>400 Bad Request</title></head>\r\n<body>\r\n<center><h1>400 Bad Request</h1></center>\r\n Sorry for the inconvenience.<br/>\r\nPlease report this message and include the following information to us.<br/>\r\nThank you very much!</p>\r\n<table>\r\n<tr>\r\n<td>URL:</td>\r\n<td>https://gd.glucose-dev.online/api/docflow/google-context?account_id=32990686&amp;entity_id=40278807&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/07/02 08:03:56</td>\r\n</tr>\r\n</table>\r\n<hr><center>tengine</center>\r\n</body>\r\n</html>\r\n"} {"uid":"7ad1eda"}
[2026-07-02 08:03:55] docflow.DEBUG: AmoDrive docflow context request {"url":"https://gd.glucose-dev.online/api/docflow/google-context","query":{"account_id":"32990686","entity_id":"40278807","entity_type":"leads"}} {"uid":"7ad1eda"}
[2026-07-02 08:03:55] docflow.WARNING: AmoDrive docflow context response is not ready, trying next backend. {"url":"https://gd.glucose-dev.online/api/docflow/google-context","payload":{"ok":true,"accountId":32990686,"entityId":"40278807","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":"7ad1eda"}
[2026-07-02 08:03:55] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://google.emale.uno/api/docflow/prepare-generated-doc","payload":{"account_id":"32990686","entity_id":"40278807","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"7ad1eda"}
[2026-07-02 08:03:55] docflow.WARNING: AmoDrive prepare-generated-doc request failed {"url":"https://google.emale.uno/api/docflow/prepare-generated-doc","http_code":null,"error":"HTTP/2 400 ","response":"<!DOCTYPE HTML PUBLIC \"-//IETF//DTD HTML 2.0//EN\">\r\n<html>\r\n<head><title>400 Bad Request</title></head>\r\n<body>\r\n<center><h1>400 Bad Request</h1></center>\r\n Sorry for the inconvenience.<br/>\r\nPlease report this message and include the following information to us.<br/>\r\nThank you very much!</p>\r\n<table>\r\n<tr>\r\n<td>URL:</td>\r\n<td>https://gd.glucose-dev.online/api/docflow/prepare-generated-doc</td>\r\n</tr>\r\n<tr>\r\n<td>Server:</td>\r\n<td>mail.glucose-dev.online</td>\r\n</tr>\r\n<tr>\r\n<td>Date:</td>\r\n<td>2026/07/02 08:03: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":"32990686","entity_id":"40278807","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"7ad1eda"}
[2026-07-02 08:03:55] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://gd.glucose-dev.online/api/docflow/prepare-generated-doc","payload":{"account_id":"32990686","entity_id":"40278807","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"7ad1eda"}
[2026-07-02 08:03:56] docflow.WARNING: AmoDrive prepare-generated-doc request failed {"url":"https://gd.glucose-dev.online/api/docflow/prepare-generated-doc","http_code":null,"error":"HTTP/2 404 ","response":"[object] (stdClass: {\"ok\":false,\"error\":\"AmoDrive is not installed for this account.\",\"accountId\":32990686})","payload":{"account_id":"32990686","entity_id":"40278807","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"7ad1eda"}
[2026-07-02 08:03:56] docflow.DEBUG: GAS request {"url":"https://script.google.com/macros/s/AKfycbwrvOJD46zkuoTzdhpc1kulhV8jRfgQBFZfQ121nkIip_k8yKit4xrbWTOzaJ-C-Yed6w/exec","body":{"templateFileId":"1AjK4khA9mRlFDVy4RXRqHAg2GTFWJYC-Gac1Mx3OLnA","accountId":"32990686","folderId":"1Us2AfskxgdA729xVr0F2vjZU9y5PlYDe","key":"~VTsK5dcnHc2cSSsjM$LFSjLlgbmJXwrp3R2P5nd","data":"{\"fileName\":\"ALL FOR ALL \\u041d\\u0430\\u0440\\u044f\\u0434 \\u043d\\u0430 \\u0432\\u044b\\u043f\\u043e\\u043b\\u043d\\u0435\\u043d\\u0438\\u0435 \\u0440\\u0430\\u0431\\u043e\\u0442 438 20260702080355\",\"leadId\":\"40278807\",\"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\":\"07.07.2026\",\"\\u041d\\u043e\\u043c\\u0435\\u0440 \\u043a\\u043e\\u043d\\u0442\\u0440\\u0430\\u043a\\u0442\\u0430\":\"T4083\",\"\\u0414\\u0430\\u0442\\u0430 \\u043c\\u043e\\u043d\\u0442\\u0430\\u0436\\u0430 (\\u0411\\u0414)\":\"07.07.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 \\u043f\\u043e \\u0433\\u0430\\u0440\\u0430\\u043d\\u0442\\u0438\\u0438\",\"\\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-07-01 15:46:00\",\"\\u0414\\u0430\\u0442\\u0430 \\u0432\\u0438\\u0437\\u0438\\u0442\\u0430\":\"01.07.2026\",\"ID\":\"40278807\",\"\\u0421\\u0434\\u0435\\u043b\\u043a\\u0430_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"\\u041f\\u0422\\u041e \\u043f\\u043e \\u0433\\u0430\\u0440\\u0430\\u043d\\u0442\\u0438\\u0438\",\"Lead_name\":\"\\u041f\\u0422\\u041e \\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\":{\"\\u0421\\u043b\\u0435\\u0434\\u0443\\u044e\\u0449\\u0430\\u044f \\u0434\\u0430\\u0442\\u0430 \\u0441\\u0435\\u0440\\u0432\\u0438\\u0441\\u0430\":\"07.07.2026\",\"\\u041d\\u043e\\u043c\\u0435\\u0440 \\u043a\\u043e\\u043d\\u0442\\u0440\\u0430\\u043a\\u0442\\u0430\":\"T4083\",\"\\u0414\\u0430\\u0442\\u0430 \\u043c\\u043e\\u043d\\u0442\\u0430\\u0436\\u0430 (\\u0411\\u0414)\":\"07.07.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 \\u043f\\u043e \\u0433\\u0430\\u0440\\u0430\\u043d\\u0442\\u0438\\u0438\",\"\\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-07-01 15:46:00\",\"\\u0414\\u0430\\u0442\\u0430 \\u0432\\u0438\\u0437\\u0438\\u0442\\u0430\":\"01.07.2026\",\"ID\":\"40278807\",\"\\u0421\\u0434\\u0435\\u043b\\u043a\\u0430_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"\\u041f\\u0422\\u041e \\u043f\\u043e \\u0433\\u0430\\u0440\\u0430\\u043d\\u0442\\u0438\\u0438\",\"Lead_name\":\"\\u041f\\u0422\\u041e \\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\":{\"\\u0418\\u0414\\u041d\\u041e\":\"2007042036327\",\"\\u0410\\u0434\\u0440\\u0435\\u0441\":\"sat Dobruja\",\"\\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.07.2024\",\"\\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)\":\"T4083\",\"\\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)\":\"Alina\",\"\\u041a\\u043e\\u043b - \\u0432\\u043e \\u043e\\u0431\\u043e\\u0440\\u0443\\u0434\\u043e\\u0432\\u0430\\u043d\\u0438\\u044f (\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442)\":\"1\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"37369120684\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Alina Racovuta\",\"Contact_name\":\"Alina Racovuta\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"\\u0410\\u0441\\u0442\\u0430\\u043f\\u0435\\u043d\\u043a\\u043e\\u0432\\u0430 \\u042e\\u043b\\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\":\"2007042036327\",\"\\u0410\\u0434\\u0440\\u0435\\u0441\":\"sat Dobruja\",\"\\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.07.2024\",\"\\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)\":\"T4083\",\"\\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)\":\"Alina\",\"\\u041a\\u043e\\u043b - \\u0432\\u043e \\u043e\\u0431\\u043e\\u0440\\u0443\\u0434\\u043e\\u0432\\u0430\\u043d\\u0438\\u044f (\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442)\":\"1\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"37369120684\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Alina Racovuta\",\"Contact_name\":\"Alina Racovuta\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"\\u0410\\u0441\\u0442\\u0430\\u043f\\u0435\\u043d\\u043a\\u043e\\u0432\\u0430 \\u042e\\u043b\\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\":\"2007042036327\",\"\\u0410\\u0434\\u0440\\u0435\\u0441\":\"sat Dobruja\",\"\\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.07.2024\",\"\\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)\":\"T4083\",\"\\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)\":\"Alina\",\"\\u041a\\u043e\\u043b - \\u0432\\u043e \\u043e\\u0431\\u043e\\u0440\\u0443\\u0434\\u043e\\u0432\\u0430\\u043d\\u0438\\u044f (\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442)\":\"1\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"37369120684\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Alina Racovuta\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\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\":\"02.07.2026\",\"\\u041d\\u043e\\u043c\\u0435\\u0440\":\"438\"},\"document\":{\"Date\":\"02.07.2026\",\"Number\":\"438\"}}}","edit":true}} {"uid":"7ad1eda"}
[2026-07-02 08:03:57] docflow.DEBUG: GAS raw response {"raw":"<!DOCTYPE html><html><head><link rel=\"shortcut icon\" href=\"//ssl.gstatic.com/docs/script/images/favicon.ico\"><title>Błąd</title><style type=\"text/css\" nonce=\"8phoFj5oZkeI77G-IM6GNw\">body {background-color: #fff; margin: 0; padding: 0;}.errorMessage {font-family: Arial,sans-serif; font-size: 12pt; font-weight: bold; line-height: 150%; padding-top: 25px;}</style></head><body style=\"margin:20px\"><div><img alt=\"Google Apps Script\" src=\"//ssl.gstatic.com/docs/script/images/logo.png\"></div><div style=\"text-align:center;font-family:monospace;margin:50px auto 0;max-width:600px\">Exception: Do wykonania tej czynności wymagana jest autoryzacja. (wiersz 59, plik „gscript”)</div></body></html>"} {"uid":"7ad1eda"}
[2026-07-02 08:03:57] docflow.ERROR: Google Apps Script error: Exception: Do wykonania tej czynności wymagana jest autoryzacja. (wiersz 59, plik „gscript”) {"trace":"#0 /home/ytvmclwh/document.amocrm.md/src/Controllers/Docs.php(94): Genezis\\Docflow\\Models\\Docs->createDoc(Array)\n#1 [internal function]: Genezis\\Docflow\\Controllers\\Docs->create(Object(Slim\\Http\\Request), Object(Slim\\Http\\Response), Array)\n#2 /home/ytvmclwh/document.amocrm.md/vendor/slim/slim/Slim/Handlers/Strategies/RequestResponse.php(41): call_user_func(Array, Object(Slim\\Http\\Request), Object(Slim\\Http\\Response), Array)\n#3 /home/ytvmclwh/document.amocrm.md/vendor/slim/slim/Slim/Route.php(335): Slim\\Handlers\\Strategies\\RequestResponse->__invoke(Array, Object(Slim\\Http\\Request), Object(Slim\\Http\\Response), Array)\n#4 /home/ytvmclwh/document.amocrm.md/vendor/slim/slim/Slim/MiddlewareAwareTrait.php(117): Slim\\Route->__invoke(Object(Slim\\Http\\Request), Object(Slim\\Http\\Response))\n#5 /home/ytvmclwh/document.amocrm.md/vendor/slim/slim/Slim/Route.php(313): Slim\\Route->callMiddlewareStack(Object(Slim\\Http\\Request), Object(Slim\\Http\\Response))\n#6 /home/ytvmclwh/document.amocrm.md/vendor/slim/slim/Slim/App.php(495): Slim\\Route->run(Object(Slim\\Http\\Request), Object(Slim\\Http\\Response))\n#7 /home/ytvmclwh/document.amocrm.md/vendor/genezis/amocrm-cors/src/AmoCors.php(54): Slim\\App->__invoke(Object(Slim\\Http\\Request), Object(Slim\\Http\\Response))\n#8 [internal function]: Genezis\\Middlewares\\AmoCors->__invoke(Object(Slim\\Http\\Request), Object(Slim\\Http\\Response), Object(Slim\\App))\n#9 /home/ytvmclwh/document.amocrm.md/vendor/slim/slim/Slim/DeferredCallable.php(43): call_user_func_array(Object(Genezis\\Middlewares\\AmoCors), Array)\n#10 [internal function]: Slim\\DeferredCallable->__invoke(Object(Slim\\Http\\Request), Object(Slim\\Http\\Response), Object(Slim\\App))\n#11 /home/ytvmclwh/document.amocrm.md/vendor/slim/slim/Slim/MiddlewareAwareTrait.php(70): call_user_func(Object(Slim\\DeferredCallable), Object(Slim\\Http\\Request), Object(Slim\\Http\\Response), Object(Slim\\App))\n#12 /home/ytvmclwh/document.amocrm.md/vendor/slim/slim/Slim/MiddlewareAwareTrait.php(117): Slim\\App->Slim\\{closure}(Object(Slim\\Http\\Request), Object(Slim\\Http\\Response))\n#13 /home/ytvmclwh/document.amocrm.md/vendor/slim/slim/Slim/App.php(388): Slim\\App->callMiddlewareStack(Object(Slim\\Http\\Request), Object(Slim\\Http\\Response))\n#14 /home/ytvmclwh/document.amocrm.md/vendor/slim/slim/Slim/App.php(296): Slim\\App->process(Object(Slim\\Http\\Request), Object(Slim\\Http\\Response))\n#15 /home/ytvmclwh/document.amocrm.md/public/index.php(37): Slim\\App->run()\n#16 {main}"} {"uid":"7ad1eda"}
[2026-07-02 08:24:05] docflow.INFO: Apel createDoc {"data":{"amoAccountId":"32990686","amoUserId":null,"amoEntityId":"45492537","amoEntityType":"2","templateId":"11625","corporateEntityId":"","settlementAccountId":"","is_signed":null,"gdi":null,"number":null,"currentAmoUserId":null,"lang":"ru"}} {"uid":"6580f1f"}
[2026-07-02 08:24:05] docflow.INFO: Token is valid for account 32990686. [] {"uid":"6580f1f"}
[2026-07-02 08:24:05] docflow.DEBUG: getClientAuth returned {"auth":"[object] (stdClass: {\"domain\":\"eurosanteh.amocrm.ru\",\"access_token\":\"eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImp0aSI6ImRjZGY4YWJiMzM0MzdiZjRjNzBjMDRlOTFlNDU1YjhmYjkwNmYzOTYwMzk4NGNjMWQ0MDI1ODUzYjA2ZjNiMDkzZGNjMDFlNDQyNTg0Njk5In0.eyJhdWQiOiIwZDY0ZGZmYi1lNTRiLTQ0OGYtOWZiZi1iYWYyMjUxYTExZGIiLCJqdGkiOiJkY2RmOGFiYjMzNDM3YmY0YzcwYzA0ZTkxZTQ1NWI4ZmI5MDZmMzk2MDM5ODRjYzFkNDAyNTg1M2IwNmYzYjA5M2RjYzAxZTQ0MjU4NDY5OSIsImlhdCI6MTc4Mjk2ODU2MywibmJmIjoxNzgyOTY4NTYzLCJleHAiOjE3ODMwNTQ5NjMsInN1YiI6IjEzNjg3MzAyIiwiZ3JhbnRfdHlwZSI6IiIsImFjY291bnRfaWQiOjMyOTkwNjg2LCJiYXNlX2RvbWFpbiI6ImFtb2NybS5ydSIsInZlcnNpb24iOjIsInNjb3BlcyI6WyJwdXNoX25vdGlmaWNhdGlvbnMiLCJjcm0iLCJub3RpZmljYXRpb25zIl0sImhhc2hfdXVpZCI6IjdiNTI2ZDM3LWU5YTUtNGY1MC04NjU5LWFlZjI0ZWMwN2I2MSIsImFwaV9kb21haW4iOiJhcGktYi5hbW9jcm0ucnUifQ.TUP7Bi9R1Z5_ifh6PBDea_wrLQhhuCDBfhbmV-UeB8v1A_eof6DM3ni90PqyHwjy-_bogoujgXVHGFtlHknt3UAHPf6orhat2LJuNkb1ZzlvwNfKzfOLlCslLtvwCmvId5Cp6PjIEgZpsSZPb6j1XFwBF8mUsYJAs6DQafAhxJbwwdtepg3Rn7z1bok0wAy62df4psIRq7Bi9WiSVCb7CyeiZj8UiZxEFNIbusJI6k3zpKBXtykwNv4c2JwIgpQjuwAfKUvcfKgTUV6ZCXuj_wbQnkvtSXt1yjhO82intYpA8QkC7YC1Z2KUwCu90CACwX4piq8dxBla--hEqiVNGg\"})","file":"/home/ytvmclwh/document.amocrm.md/src/Models/Docs.php","line":121} {"uid":"6580f1f"}
[2026-07-02 08:24:07] docflow.DEBUG: AmoDrive docflow context request {"url":"https://google.emale.uno/api/docflow/google-context","query":{"account_id":"32990686","entity_id":"45492537","entity_type":"leads"}} {"uid":"6580f1f"}
[2026-07-02 08:24: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=45492537&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/07/02 08:24:07</td>\r\n</tr>\r\n</table>\r\n<hr><center>tengine</center>\r\n</body>\r\n</html>\r\n"} {"uid":"6580f1f"}
[2026-07-02 08:24:07] docflow.DEBUG: AmoDrive docflow context request {"url":"https://gd.glucose-dev.online/api/docflow/google-context","query":{"account_id":"32990686","entity_id":"45492537","entity_type":"leads"}} {"uid":"6580f1f"}
[2026-07-02 08:24: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":"45492537","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":"6580f1f"}
[2026-07-02 08:24:07] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://google.emale.uno/api/docflow/prepare-generated-doc","payload":{"account_id":"32990686","entity_id":"45492537","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"6580f1f"}
[2026-07-02 08:24: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/07/02 08:24: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":"45492537","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"6580f1f"}
[2026-07-02 08:24: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":"45492537","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"6580f1f"}
[2026-07-02 08:24: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":"45492537","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"6580f1f"}
[2026-07-02 08:24:07] 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 438 20260702082407\",\"leadId\":\"45492537\",\"entities\":{\"\\u0441\\u0434\\u0435\\u043b\\u043a\\u0430\":{\"ID\":\"45492537\",\"\\u0421\\u0434\\u0435\\u043b\\u043a\\u0430_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"\\u0421\\u0434\\u0435\\u043b\\u043a\\u0430 060457201\",\"Lead_name\":\"\\u0421\\u0434\\u0435\\u043b\\u043a\\u0430 060457201\",\"\\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\":\"45492537\",\"\\u0421\\u0434\\u0435\\u043b\\u043a\\u0430_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"\\u0421\\u0434\\u0435\\u043b\\u043a\\u0430 060457201\",\"Lead_name\":\"\\u0421\\u0434\\u0435\\u043b\\u043a\\u0430 060457201\",\"\\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\":\"373060457201\",\"\\u0418\\u043c\\u044f \\u043a\\u043b\\u0438\\u0435\\u043d\\u0442\\u0430 (\\u0421\\u041c\\u0421)\":\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442 060457201\",\"\\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 060457201\",\"Contact_name\":\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442 060457201\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"\\u0410\\u0441\\u0442\\u0430\\u043f\\u0435\\u043d\\u043a\\u043e\\u0432\\u0430 \\u042e\\u043b\\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\":\"373060457201\",\"\\u0418\\u043c\\u044f \\u043a\\u043b\\u0438\\u0435\\u043d\\u0442\\u0430 (\\u0421\\u041c\\u0421)\":\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442 060457201\",\"\\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 060457201\",\"Contact_name\":\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442 060457201\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"\\u0410\\u0441\\u0442\\u0430\\u043f\\u0435\\u043d\\u043a\\u043e\\u0432\\u0430 \\u042e\\u043b\\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\":\"373060457201\",\"\\u0418\\u043c\\u044f \\u043a\\u043b\\u0438\\u0435\\u043d\\u0442\\u0430 (\\u0421\\u041c\\u0421)\":\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442 060457201\",\"\\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 060457201\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\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\":\"02.07.2026\",\"\\u041d\\u043e\\u043c\\u0435\\u0440\":\"438\"},\"document\":{\"Date\":\"02.07.2026\",\"Number\":\"438\"}}}","edit":true}} {"uid":"6580f1f"}
[2026-07-02 08:24:09] docflow.DEBUG: GAS raw response {"raw":"<!DOCTYPE html><html><head><link rel=\"shortcut icon\" href=\"//ssl.gstatic.com/docs/script/images/favicon.ico\"><title>Błąd</title><style type=\"text/css\" nonce=\"IQbW2hGFE2tbeTXO00_fEw\">body {background-color: #fff; margin: 0; padding: 0;}.errorMessage {font-family: Arial,sans-serif; font-size: 12pt; font-weight: bold; line-height: 150%; padding-top: 25px;}</style></head><body style=\"margin:20px\"><div><img alt=\"Google Apps Script\" src=\"//ssl.gstatic.com/docs/script/images/logo.png\"></div><div style=\"text-align:center;font-family:monospace;margin:50px auto 0;max-width:600px\">Exception: Do wykonania tej czynności wymagana jest autoryzacja. (wiersz 59, plik „gscript”)</div></body></html>"} {"uid":"6580f1f"}
[2026-07-02 08:24:09] docflow.ERROR: Google Apps Script error: Exception: Do wykonania tej czynności wymagana jest autoryzacja. (wiersz 59, plik „gscript”) {"trace":"#0 /home/ytvmclwh/document.amocrm.md/src/Controllers/Docs.php(94): Genezis\\Docflow\\Models\\Docs->createDoc(Array)\n#1 [internal function]: Genezis\\Docflow\\Controllers\\Docs->create(Object(Slim\\Http\\Request), Object(Slim\\Http\\Response), Array)\n#2 /home/ytvmclwh/document.amocrm.md/vendor/slim/slim/Slim/Handlers/Strategies/RequestResponse.php(41): call_user_func(Array, Object(Slim\\Http\\Request), Object(Slim\\Http\\Response), Array)\n#3 /home/ytvmclwh/document.amocrm.md/vendor/slim/slim/Slim/Route.php(335): Slim\\Handlers\\Strategies\\RequestResponse->__invoke(Array, Object(Slim\\Http\\Request), Object(Slim\\Http\\Response), Array)\n#4 /home/ytvmclwh/document.amocrm.md/vendor/slim/slim/Slim/MiddlewareAwareTrait.php(117): Slim\\Route->__invoke(Object(Slim\\Http\\Request), Object(Slim\\Http\\Response))\n#5 /home/ytvmclwh/document.amocrm.md/vendor/slim/slim/Slim/Route.php(313): Slim\\Route->callMiddlewareStack(Object(Slim\\Http\\Request), Object(Slim\\Http\\Response))\n#6 /home/ytvmclwh/document.amocrm.md/vendor/slim/slim/Slim/App.php(495): Slim\\Route->run(Object(Slim\\Http\\Request), Object(Slim\\Http\\Response))\n#7 /home/ytvmclwh/document.amocrm.md/vendor/genezis/amocrm-cors/src/AmoCors.php(54): Slim\\App->__invoke(Object(Slim\\Http\\Request), Object(Slim\\Http\\Response))\n#8 [internal function]: Genezis\\Middlewares\\AmoCors->__invoke(Object(Slim\\Http\\Request), Object(Slim\\Http\\Response), Object(Slim\\App))\n#9 /home/ytvmclwh/document.amocrm.md/vendor/slim/slim/Slim/DeferredCallable.php(43): call_user_func_array(Object(Genezis\\Middlewares\\AmoCors), Array)\n#10 [internal function]: Slim\\DeferredCallable->__invoke(Object(Slim\\Http\\Request), Object(Slim\\Http\\Response), Object(Slim\\App))\n#11 /home/ytvmclwh/document.amocrm.md/vendor/slim/slim/Slim/MiddlewareAwareTrait.php(70): call_user_func(Object(Slim\\DeferredCallable), Object(Slim\\Http\\Request), Object(Slim\\Http\\Response), Object(Slim\\App))\n#12 /home/ytvmclwh/document.amocrm.md/vendor/slim/slim/Slim/MiddlewareAwareTrait.php(117): Slim\\App->Slim\\{closure}(Object(Slim\\Http\\Request), Object(Slim\\Http\\Response))\n#13 /home/ytvmclwh/document.amocrm.md/vendor/slim/slim/Slim/App.php(388): Slim\\App->callMiddlewareStack(Object(Slim\\Http\\Request), Object(Slim\\Http\\Response))\n#14 /home/ytvmclwh/document.amocrm.md/vendor/slim/slim/Slim/App.php(296): Slim\\App->process(Object(Slim\\Http\\Request), Object(Slim\\Http\\Response))\n#15 /home/ytvmclwh/document.amocrm.md/public/index.php(37): Slim\\App->run()\n#16 {main}"} {"uid":"6580f1f"}
[2026-07-02 08:24:50] docflow.INFO: Apel createDoc {"data":{"amoAccountId":"32990686","amoUserId":null,"amoEntityId":"45492537","amoEntityType":"2","templateId":"11625","corporateEntityId":"","settlementAccountId":"","is_signed":null,"gdi":null,"number":null,"currentAmoUserId":null,"lang":"ru"}} {"uid":"6acffdb"}
[2026-07-02 08:24:51] docflow.INFO: Token is valid for account 32990686. [] {"uid":"6acffdb"}
[2026-07-02 08:24:51] docflow.DEBUG: getClientAuth returned {"auth":"[object] (stdClass: {\"domain\":\"eurosanteh.amocrm.ru\",\"access_token\":\"eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImp0aSI6ImRjZGY4YWJiMzM0MzdiZjRjNzBjMDRlOTFlNDU1YjhmYjkwNmYzOTYwMzk4NGNjMWQ0MDI1ODUzYjA2ZjNiMDkzZGNjMDFlNDQyNTg0Njk5In0.eyJhdWQiOiIwZDY0ZGZmYi1lNTRiLTQ0OGYtOWZiZi1iYWYyMjUxYTExZGIiLCJqdGkiOiJkY2RmOGFiYjMzNDM3YmY0YzcwYzA0ZTkxZTQ1NWI4ZmI5MDZmMzk2MDM5ODRjYzFkNDAyNTg1M2IwNmYzYjA5M2RjYzAxZTQ0MjU4NDY5OSIsImlhdCI6MTc4Mjk2ODU2MywibmJmIjoxNzgyOTY4NTYzLCJleHAiOjE3ODMwNTQ5NjMsInN1YiI6IjEzNjg3MzAyIiwiZ3JhbnRfdHlwZSI6IiIsImFjY291bnRfaWQiOjMyOTkwNjg2LCJiYXNlX2RvbWFpbiI6ImFtb2NybS5ydSIsInZlcnNpb24iOjIsInNjb3BlcyI6WyJwdXNoX25vdGlmaWNhdGlvbnMiLCJjcm0iLCJub3RpZmljYXRpb25zIl0sImhhc2hfdXVpZCI6IjdiNTI2ZDM3LWU5YTUtNGY1MC04NjU5LWFlZjI0ZWMwN2I2MSIsImFwaV9kb21haW4iOiJhcGktYi5hbW9jcm0ucnUifQ.TUP7Bi9R1Z5_ifh6PBDea_wrLQhhuCDBfhbmV-UeB8v1A_eof6DM3ni90PqyHwjy-_bogoujgXVHGFtlHknt3UAHPf6orhat2LJuNkb1ZzlvwNfKzfOLlCslLtvwCmvId5Cp6PjIEgZpsSZPb6j1XFwBF8mUsYJAs6DQafAhxJbwwdtepg3Rn7z1bok0wAy62df4psIRq7Bi9WiSVCb7CyeiZj8UiZxEFNIbusJI6k3zpKBXtykwNv4c2JwIgpQjuwAfKUvcfKgTUV6ZCXuj_wbQnkvtSXt1yjhO82intYpA8QkC7YC1Z2KUwCu90CACwX4piq8dxBla--hEqiVNGg\"})","file":"/home/ytvmclwh/document.amocrm.md/src/Models/Docs.php","line":121} {"uid":"6acffdb"}
[2026-07-02 08:24:52] docflow.DEBUG: AmoDrive docflow context request {"url":"https://google.emale.uno/api/docflow/google-context","query":{"account_id":"32990686","entity_id":"45492537","entity_type":"leads"}} {"uid":"6acffdb"}
[2026-07-02 08:24: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=45492537&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/07/02 08:24:53</td>\r\n</tr>\r\n</table>\r\n<hr><center>tengine</center>\r\n</body>\r\n</html>\r\n"} {"uid":"6acffdb"}
[2026-07-02 08:24:52] docflow.DEBUG: AmoDrive docflow context request {"url":"https://gd.glucose-dev.online/api/docflow/google-context","query":{"account_id":"32990686","entity_id":"45492537","entity_type":"leads"}} {"uid":"6acffdb"}
[2026-07-02 08:24: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":"45492537","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":"6acffdb"}
[2026-07-02 08:24:52] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://google.emale.uno/api/docflow/prepare-generated-doc","payload":{"account_id":"32990686","entity_id":"45492537","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"6acffdb"}
[2026-07-02 08:24: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/07/02 08:24: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":"45492537","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"6acffdb"}
[2026-07-02 08:24: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":"45492537","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"6acffdb"}
[2026-07-02 08:24: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":"45492537","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"6acffdb"}
[2026-07-02 08:24:53] 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 438 20260702082452\",\"leadId\":\"45492537\",\"entities\":{\"\\u0441\\u0434\\u0435\\u043b\\u043a\\u0430\":{\"ID\":\"45492537\",\"\\u0421\\u0434\\u0435\\u043b\\u043a\\u0430_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"\\u0421\\u0434\\u0435\\u043b\\u043a\\u0430 060457201\",\"Lead_name\":\"\\u0421\\u0434\\u0435\\u043b\\u043a\\u0430 060457201\",\"\\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\":\"45492537\",\"\\u0421\\u0434\\u0435\\u043b\\u043a\\u0430_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"\\u0421\\u0434\\u0435\\u043b\\u043a\\u0430 060457201\",\"Lead_name\":\"\\u0421\\u0434\\u0435\\u043b\\u043a\\u0430 060457201\",\"\\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\":\"373060457201\",\"\\u0418\\u043c\\u044f \\u043a\\u043b\\u0438\\u0435\\u043d\\u0442\\u0430 (\\u0421\\u041c\\u0421)\":\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442 060457201\",\"\\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 060457201\",\"Contact_name\":\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442 060457201\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"\\u0410\\u0441\\u0442\\u0430\\u043f\\u0435\\u043d\\u043a\\u043e\\u0432\\u0430 \\u042e\\u043b\\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\":\"373060457201\",\"\\u0418\\u043c\\u044f \\u043a\\u043b\\u0438\\u0435\\u043d\\u0442\\u0430 (\\u0421\\u041c\\u0421)\":\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442 060457201\",\"\\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 060457201\",\"Contact_name\":\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442 060457201\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"\\u0410\\u0441\\u0442\\u0430\\u043f\\u0435\\u043d\\u043a\\u043e\\u0432\\u0430 \\u042e\\u043b\\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\":\"373060457201\",\"\\u0418\\u043c\\u044f \\u043a\\u043b\\u0438\\u0435\\u043d\\u0442\\u0430 (\\u0421\\u041c\\u0421)\":\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442 060457201\",\"\\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 060457201\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\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\":\"02.07.2026\",\"\\u041d\\u043e\\u043c\\u0435\\u0440\":\"438\"},\"document\":{\"Date\":\"02.07.2026\",\"Number\":\"438\"}}}","edit":true}} {"uid":"6acffdb"}
[2026-07-02 08:24:54] docflow.DEBUG: GAS raw response {"raw":"<!DOCTYPE html><html><head><link rel=\"shortcut icon\" href=\"//ssl.gstatic.com/docs/script/images/favicon.ico\"><title>Błąd</title><style type=\"text/css\" nonce=\"78t7eOGscGyJs_Tb-GL18Q\">body {background-color: #fff; margin: 0; padding: 0;}.errorMessage {font-family: Arial,sans-serif; font-size: 12pt; font-weight: bold; line-height: 150%; padding-top: 25px;}</style></head><body style=\"margin:20px\"><div><img alt=\"Google Apps Script\" src=\"//ssl.gstatic.com/docs/script/images/logo.png\"></div><div style=\"text-align:center;font-family:monospace;margin:50px auto 0;max-width:600px\">Exception: Do wykonania tej czynności wymagana jest autoryzacja. (wiersz 59, plik „gscript”)</div></body></html>"} {"uid":"6acffdb"}
[2026-07-02 08:24:54] docflow.ERROR: Google Apps Script error: Exception: Do wykonania tej czynności wymagana jest autoryzacja. (wiersz 59, plik „gscript”) {"trace":"#0 /home/ytvmclwh/document.amocrm.md/src/Controllers/Docs.php(94): Genezis\\Docflow\\Models\\Docs->createDoc(Array)\n#1 [internal function]: Genezis\\Docflow\\Controllers\\Docs->create(Object(Slim\\Http\\Request), Object(Slim\\Http\\Response), Array)\n#2 /home/ytvmclwh/document.amocrm.md/vendor/slim/slim/Slim/Handlers/Strategies/RequestResponse.php(41): call_user_func(Array, Object(Slim\\Http\\Request), Object(Slim\\Http\\Response), Array)\n#3 /home/ytvmclwh/document.amocrm.md/vendor/slim/slim/Slim/Route.php(335): Slim\\Handlers\\Strategies\\RequestResponse->__invoke(Array, Object(Slim\\Http\\Request), Object(Slim\\Http\\Response), Array)\n#4 /home/ytvmclwh/document.amocrm.md/vendor/slim/slim/Slim/MiddlewareAwareTrait.php(117): Slim\\Route->__invoke(Object(Slim\\Http\\Request), Object(Slim\\Http\\Response))\n#5 /home/ytvmclwh/document.amocrm.md/vendor/slim/slim/Slim/Route.php(313): Slim\\Route->callMiddlewareStack(Object(Slim\\Http\\Request), Object(Slim\\Http\\Response))\n#6 /home/ytvmclwh/document.amocrm.md/vendor/slim/slim/Slim/App.php(495): Slim\\Route->run(Object(Slim\\Http\\Request), Object(Slim\\Http\\Response))\n#7 /home/ytvmclwh/document.amocrm.md/vendor/genezis/amocrm-cors/src/AmoCors.php(54): Slim\\App->__invoke(Object(Slim\\Http\\Request), Object(Slim\\Http\\Response))\n#8 [internal function]: Genezis\\Middlewares\\AmoCors->__invoke(Object(Slim\\Http\\Request), Object(Slim\\Http\\Response), Object(Slim\\App))\n#9 /home/ytvmclwh/document.amocrm.md/vendor/slim/slim/Slim/DeferredCallable.php(43): call_user_func_array(Object(Genezis\\Middlewares\\AmoCors), Array)\n#10 [internal function]: Slim\\DeferredCallable->__invoke(Object(Slim\\Http\\Request), Object(Slim\\Http\\Response), Object(Slim\\App))\n#11 /home/ytvmclwh/document.amocrm.md/vendor/slim/slim/Slim/MiddlewareAwareTrait.php(70): call_user_func(Object(Slim\\DeferredCallable), Object(Slim\\Http\\Request), Object(Slim\\Http\\Response), Object(Slim\\App))\n#12 /home/ytvmclwh/document.amocrm.md/vendor/slim/slim/Slim/MiddlewareAwareTrait.php(117): Slim\\App->Slim\\{closure}(Object(Slim\\Http\\Request), Object(Slim\\Http\\Response))\n#13 /home/ytvmclwh/document.amocrm.md/vendor/slim/slim/Slim/App.php(388): Slim\\App->callMiddlewareStack(Object(Slim\\Http\\Request), Object(Slim\\Http\\Response))\n#14 /home/ytvmclwh/document.amocrm.md/vendor/slim/slim/Slim/App.php(296): Slim\\App->process(Object(Slim\\Http\\Request), Object(Slim\\Http\\Response))\n#15 /home/ytvmclwh/document.amocrm.md/public/index.php(37): Slim\\App->run()\n#16 {main}"} {"uid":"6acffdb"}
[2026-07-02 08:27:20] docflow.INFO: Apel createDoc {"data":{"amoAccountId":"32990686","amoUserId":null,"amoEntityId":"45492537","amoEntityType":"2","templateId":"11625","corporateEntityId":"","settlementAccountId":"","is_signed":null,"gdi":null,"number":null,"currentAmoUserId":null,"lang":"ru"}} {"uid":"096487b"}
[2026-07-02 08:27:20] docflow.INFO: Token is valid for account 32990686. [] {"uid":"096487b"}
[2026-07-02 08:27:20] docflow.DEBUG: getClientAuth returned {"auth":"[object] (stdClass: {\"domain\":\"eurosanteh.amocrm.ru\",\"access_token\":\"eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImp0aSI6ImRjZGY4YWJiMzM0MzdiZjRjNzBjMDRlOTFlNDU1YjhmYjkwNmYzOTYwMzk4NGNjMWQ0MDI1ODUzYjA2ZjNiMDkzZGNjMDFlNDQyNTg0Njk5In0.eyJhdWQiOiIwZDY0ZGZmYi1lNTRiLTQ0OGYtOWZiZi1iYWYyMjUxYTExZGIiLCJqdGkiOiJkY2RmOGFiYjMzNDM3YmY0YzcwYzA0ZTkxZTQ1NWI4ZmI5MDZmMzk2MDM5ODRjYzFkNDAyNTg1M2IwNmYzYjA5M2RjYzAxZTQ0MjU4NDY5OSIsImlhdCI6MTc4Mjk2ODU2MywibmJmIjoxNzgyOTY4NTYzLCJleHAiOjE3ODMwNTQ5NjMsInN1YiI6IjEzNjg3MzAyIiwiZ3JhbnRfdHlwZSI6IiIsImFjY291bnRfaWQiOjMyOTkwNjg2LCJiYXNlX2RvbWFpbiI6ImFtb2NybS5ydSIsInZlcnNpb24iOjIsInNjb3BlcyI6WyJwdXNoX25vdGlmaWNhdGlvbnMiLCJjcm0iLCJub3RpZmljYXRpb25zIl0sImhhc2hfdXVpZCI6IjdiNTI2ZDM3LWU5YTUtNGY1MC04NjU5LWFlZjI0ZWMwN2I2MSIsImFwaV9kb21haW4iOiJhcGktYi5hbW9jcm0ucnUifQ.TUP7Bi9R1Z5_ifh6PBDea_wrLQhhuCDBfhbmV-UeB8v1A_eof6DM3ni90PqyHwjy-_bogoujgXVHGFtlHknt3UAHPf6orhat2LJuNkb1ZzlvwNfKzfOLlCslLtvwCmvId5Cp6PjIEgZpsSZPb6j1XFwBF8mUsYJAs6DQafAhxJbwwdtepg3Rn7z1bok0wAy62df4psIRq7Bi9WiSVCb7CyeiZj8UiZxEFNIbusJI6k3zpKBXtykwNv4c2JwIgpQjuwAfKUvcfKgTUV6ZCXuj_wbQnkvtSXt1yjhO82intYpA8QkC7YC1Z2KUwCu90CACwX4piq8dxBla--hEqiVNGg\"})","file":"/home/ytvmclwh/document.amocrm.md/src/Models/Docs.php","line":121} {"uid":"096487b"}
[2026-07-02 08:27:22] docflow.DEBUG: AmoDrive docflow context request {"url":"https://google.emale.uno/api/docflow/google-context","query":{"account_id":"32990686","entity_id":"45492537","entity_type":"leads"}} {"uid":"096487b"}
[2026-07-02 08:27: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=32990686&amp;entity_id=45492537&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/07/02 08:27:22</td>\r\n</tr>\r\n</table>\r\n<hr><center>tengine</center>\r\n</body>\r\n</html>\r\n"} {"uid":"096487b"}
[2026-07-02 08:27:22] docflow.DEBUG: AmoDrive docflow context request {"url":"https://gd.glucose-dev.online/api/docflow/google-context","query":{"account_id":"32990686","entity_id":"45492537","entity_type":"leads"}} {"uid":"096487b"}
[2026-07-02 08:27: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":32990686,"entityId":"45492537","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":"096487b"}
[2026-07-02 08:27:22] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://google.emale.uno/api/docflow/prepare-generated-doc","payload":{"account_id":"32990686","entity_id":"45492537","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"096487b"}
[2026-07-02 08:27: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/07/02 08:27:22</td>\r\n</tr>\r\n</table>\r\n<hr><center>tengine</center>\r\n</body>\r\n</html>\r\n","payload":{"account_id":"32990686","entity_id":"45492537","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"096487b"}
[2026-07-02 08:27:22] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://gd.glucose-dev.online/api/docflow/prepare-generated-doc","payload":{"account_id":"32990686","entity_id":"45492537","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"096487b"}
[2026-07-02 08:27: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\":32990686})","payload":{"account_id":"32990686","entity_id":"45492537","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"096487b"}
[2026-07-02 08:27:22] 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 438 20260702082722\",\"leadId\":\"45492537\",\"entities\":{\"\\u0441\\u0434\\u0435\\u043b\\u043a\\u0430\":{\"ID\":\"45492537\",\"\\u0421\\u0434\\u0435\\u043b\\u043a\\u0430_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"\\u0421\\u0434\\u0435\\u043b\\u043a\\u0430 060457201\",\"Lead_name\":\"\\u0421\\u0434\\u0435\\u043b\\u043a\\u0430 060457201\",\"\\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\":\"45492537\",\"\\u0421\\u0434\\u0435\\u043b\\u043a\\u0430_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"\\u0421\\u0434\\u0435\\u043b\\u043a\\u0430 060457201\",\"Lead_name\":\"\\u0421\\u0434\\u0435\\u043b\\u043a\\u0430 060457201\",\"\\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\":\"373060457201\",\"\\u0418\\u043c\\u044f \\u043a\\u043b\\u0438\\u0435\\u043d\\u0442\\u0430 (\\u0421\\u041c\\u0421)\":\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442 060457201\",\"\\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 060457201\",\"Contact_name\":\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442 060457201\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"\\u0410\\u0441\\u0442\\u0430\\u043f\\u0435\\u043d\\u043a\\u043e\\u0432\\u0430 \\u042e\\u043b\\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\":\"373060457201\",\"\\u0418\\u043c\\u044f \\u043a\\u043b\\u0438\\u0435\\u043d\\u0442\\u0430 (\\u0421\\u041c\\u0421)\":\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442 060457201\",\"\\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 060457201\",\"Contact_name\":\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442 060457201\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"\\u0410\\u0441\\u0442\\u0430\\u043f\\u0435\\u043d\\u043a\\u043e\\u0432\\u0430 \\u042e\\u043b\\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\":\"373060457201\",\"\\u0418\\u043c\\u044f \\u043a\\u043b\\u0438\\u0435\\u043d\\u0442\\u0430 (\\u0421\\u041c\\u0421)\":\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442 060457201\",\"\\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 060457201\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\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\":\"02.07.2026\",\"\\u041d\\u043e\\u043c\\u0435\\u0440\":\"438\"},\"document\":{\"Date\":\"02.07.2026\",\"Number\":\"438\"}}}","edit":true}} {"uid":"096487b"}
[2026-07-02 08:27:24] docflow.DEBUG: GAS raw response {"raw":"<!DOCTYPE html><html><head><link rel=\"shortcut icon\" href=\"//ssl.gstatic.com/docs/script/images/favicon.ico\"><title>Błąd</title><style type=\"text/css\" nonce=\"3IsYzgITytLQH6NJB5UZvA\">body {background-color: #fff; margin: 0; padding: 0;}.errorMessage {font-family: Arial,sans-serif; font-size: 12pt; font-weight: bold; line-height: 150%; padding-top: 25px;}</style></head><body style=\"margin:20px\"><div><img alt=\"Google Apps Script\" src=\"//ssl.gstatic.com/docs/script/images/logo.png\"></div><div style=\"text-align:center;font-family:monospace;margin:50px auto 0;max-width:600px\">Exception: Do wykonania tej czynności wymagana jest autoryzacja. (wiersz 59, plik „gscript”)</div></body></html>"} {"uid":"096487b"}
[2026-07-02 08:27:24] docflow.ERROR: Google Apps Script error: Exception: Do wykonania tej czynności wymagana jest autoryzacja. (wiersz 59, plik „gscript”) {"trace":"#0 /home/ytvmclwh/document.amocrm.md/src/Controllers/Docs.php(94): Genezis\\Docflow\\Models\\Docs->createDoc(Array)\n#1 [internal function]: Genezis\\Docflow\\Controllers\\Docs->create(Object(Slim\\Http\\Request), Object(Slim\\Http\\Response), Array)\n#2 /home/ytvmclwh/document.amocrm.md/vendor/slim/slim/Slim/Handlers/Strategies/RequestResponse.php(41): call_user_func(Array, Object(Slim\\Http\\Request), Object(Slim\\Http\\Response), Array)\n#3 /home/ytvmclwh/document.amocrm.md/vendor/slim/slim/Slim/Route.php(335): Slim\\Handlers\\Strategies\\RequestResponse->__invoke(Array, Object(Slim\\Http\\Request), Object(Slim\\Http\\Response), Array)\n#4 /home/ytvmclwh/document.amocrm.md/vendor/slim/slim/Slim/MiddlewareAwareTrait.php(117): Slim\\Route->__invoke(Object(Slim\\Http\\Request), Object(Slim\\Http\\Response))\n#5 /home/ytvmclwh/document.amocrm.md/vendor/slim/slim/Slim/Route.php(313): Slim\\Route->callMiddlewareStack(Object(Slim\\Http\\Request), Object(Slim\\Http\\Response))\n#6 /home/ytvmclwh/document.amocrm.md/vendor/slim/slim/Slim/App.php(495): Slim\\Route->run(Object(Slim\\Http\\Request), Object(Slim\\Http\\Response))\n#7 /home/ytvmclwh/document.amocrm.md/vendor/genezis/amocrm-cors/src/AmoCors.php(54): Slim\\App->__invoke(Object(Slim\\Http\\Request), Object(Slim\\Http\\Response))\n#8 [internal function]: Genezis\\Middlewares\\AmoCors->__invoke(Object(Slim\\Http\\Request), Object(Slim\\Http\\Response), Object(Slim\\App))\n#9 /home/ytvmclwh/document.amocrm.md/vendor/slim/slim/Slim/DeferredCallable.php(43): call_user_func_array(Object(Genezis\\Middlewares\\AmoCors), Array)\n#10 [internal function]: Slim\\DeferredCallable->__invoke(Object(Slim\\Http\\Request), Object(Slim\\Http\\Response), Object(Slim\\App))\n#11 /home/ytvmclwh/document.amocrm.md/vendor/slim/slim/Slim/MiddlewareAwareTrait.php(70): call_user_func(Object(Slim\\DeferredCallable), Object(Slim\\Http\\Request), Object(Slim\\Http\\Response), Object(Slim\\App))\n#12 /home/ytvmclwh/document.amocrm.md/vendor/slim/slim/Slim/MiddlewareAwareTrait.php(117): Slim\\App->Slim\\{closure}(Object(Slim\\Http\\Request), Object(Slim\\Http\\Response))\n#13 /home/ytvmclwh/document.amocrm.md/vendor/slim/slim/Slim/App.php(388): Slim\\App->callMiddlewareStack(Object(Slim\\Http\\Request), Object(Slim\\Http\\Response))\n#14 /home/ytvmclwh/document.amocrm.md/vendor/slim/slim/Slim/App.php(296): Slim\\App->process(Object(Slim\\Http\\Request), Object(Slim\\Http\\Response))\n#15 /home/ytvmclwh/document.amocrm.md/public/index.php(37): Slim\\App->run()\n#16 {main}"} {"uid":"096487b"}
[2026-07-02 08:38:09] docflow.INFO: Apel createDoc {"data":{"amoAccountId":"32990686","amoUserId":null,"amoEntityId":"45492537","amoEntityType":"2","templateId":"11625","corporateEntityId":"","settlementAccountId":"","is_signed":null,"gdi":null,"number":null,"currentAmoUserId":null,"lang":"ru"}} {"uid":"d620d8c"}
[2026-07-02 08:38:09] docflow.INFO: Token is valid for account 32990686. [] {"uid":"d620d8c"}
[2026-07-02 08:38:09] docflow.DEBUG: getClientAuth returned {"auth":"[object] (stdClass: {\"domain\":\"eurosanteh.amocrm.ru\",\"access_token\":\"eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImp0aSI6ImRjZGY4YWJiMzM0MzdiZjRjNzBjMDRlOTFlNDU1YjhmYjkwNmYzOTYwMzk4NGNjMWQ0MDI1ODUzYjA2ZjNiMDkzZGNjMDFlNDQyNTg0Njk5In0.eyJhdWQiOiIwZDY0ZGZmYi1lNTRiLTQ0OGYtOWZiZi1iYWYyMjUxYTExZGIiLCJqdGkiOiJkY2RmOGFiYjMzNDM3YmY0YzcwYzA0ZTkxZTQ1NWI4ZmI5MDZmMzk2MDM5ODRjYzFkNDAyNTg1M2IwNmYzYjA5M2RjYzAxZTQ0MjU4NDY5OSIsImlhdCI6MTc4Mjk2ODU2MywibmJmIjoxNzgyOTY4NTYzLCJleHAiOjE3ODMwNTQ5NjMsInN1YiI6IjEzNjg3MzAyIiwiZ3JhbnRfdHlwZSI6IiIsImFjY291bnRfaWQiOjMyOTkwNjg2LCJiYXNlX2RvbWFpbiI6ImFtb2NybS5ydSIsInZlcnNpb24iOjIsInNjb3BlcyI6WyJwdXNoX25vdGlmaWNhdGlvbnMiLCJjcm0iLCJub3RpZmljYXRpb25zIl0sImhhc2hfdXVpZCI6IjdiNTI2ZDM3LWU5YTUtNGY1MC04NjU5LWFlZjI0ZWMwN2I2MSIsImFwaV9kb21haW4iOiJhcGktYi5hbW9jcm0ucnUifQ.TUP7Bi9R1Z5_ifh6PBDea_wrLQhhuCDBfhbmV-UeB8v1A_eof6DM3ni90PqyHwjy-_bogoujgXVHGFtlHknt3UAHPf6orhat2LJuNkb1ZzlvwNfKzfOLlCslLtvwCmvId5Cp6PjIEgZpsSZPb6j1XFwBF8mUsYJAs6DQafAhxJbwwdtepg3Rn7z1bok0wAy62df4psIRq7Bi9WiSVCb7CyeiZj8UiZxEFNIbusJI6k3zpKBXtykwNv4c2JwIgpQjuwAfKUvcfKgTUV6ZCXuj_wbQnkvtSXt1yjhO82intYpA8QkC7YC1Z2KUwCu90CACwX4piq8dxBla--hEqiVNGg\"})","file":"/home/ytvmclwh/document.amocrm.md/src/Models/Docs.php","line":121} {"uid":"d620d8c"}
[2026-07-02 08:38:11] docflow.DEBUG: AmoDrive docflow context request {"url":"https://google.emale.uno/api/docflow/google-context","query":{"account_id":"32990686","entity_id":"45492537","entity_type":"leads"}} {"uid":"d620d8c"}
[2026-07-02 08:38:11] docflow.WARNING: AmoDrive docflow context request failed {"url":"https://google.emale.uno/api/docflow/google-context","http_code":null,"error":"HTTP/2 400 ","response":"<!DOCTYPE HTML PUBLIC \"-//IETF//DTD HTML 2.0//EN\">\r\n<html>\r\n<head><title>400 Bad Request</title></head>\r\n<body>\r\n<center><h1>400 Bad Request</h1></center>\r\n Sorry for the inconvenience.<br/>\r\nPlease report this message and include the following information to us.<br/>\r\nThank you very much!</p>\r\n<table>\r\n<tr>\r\n<td>URL:</td>\r\n<td>https://gd.glucose-dev.online/api/docflow/google-context?account_id=32990686&amp;entity_id=45492537&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/07/02 08:38:11</td>\r\n</tr>\r\n</table>\r\n<hr><center>tengine</center>\r\n</body>\r\n</html>\r\n"} {"uid":"d620d8c"}
[2026-07-02 08:38:11] docflow.DEBUG: AmoDrive docflow context request {"url":"https://gd.glucose-dev.online/api/docflow/google-context","query":{"account_id":"32990686","entity_id":"45492537","entity_type":"leads"}} {"uid":"d620d8c"}
[2026-07-02 08:38:11] docflow.WARNING: AmoDrive docflow context response is not ready, trying next backend. {"url":"https://gd.glucose-dev.online/api/docflow/google-context","payload":{"ok":true,"accountId":32990686,"entityId":"45492537","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":"d620d8c"}
[2026-07-02 08:38:11] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://google.emale.uno/api/docflow/prepare-generated-doc","payload":{"account_id":"32990686","entity_id":"45492537","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"d620d8c"}
[2026-07-02 08:38: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/07/02 08:38:11</td>\r\n</tr>\r\n</table>\r\n<hr><center>tengine</center>\r\n</body>\r\n</html>\r\n","payload":{"account_id":"32990686","entity_id":"45492537","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"d620d8c"}
[2026-07-02 08:38:11] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://gd.glucose-dev.online/api/docflow/prepare-generated-doc","payload":{"account_id":"32990686","entity_id":"45492537","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"d620d8c"}
[2026-07-02 08:38:11] docflow.WARNING: AmoDrive prepare-generated-doc request failed {"url":"https://gd.glucose-dev.online/api/docflow/prepare-generated-doc","http_code":null,"error":"HTTP/2 404 ","response":"[object] (stdClass: {\"ok\":false,\"error\":\"AmoDrive is not installed for this account.\",\"accountId\":32990686})","payload":{"account_id":"32990686","entity_id":"45492537","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"d620d8c"}
[2026-07-02 08:38:11] docflow.DEBUG: GAS request {"url":"https://script.google.com/macros/s/AKfycbwrvOJD46zkuoTzdhpc1kulhV8jRfgQBFZfQ121nkIip_k8yKit4xrbWTOzaJ-C-Yed6w/exec","body":{"templateFileId":"1AjK4khA9mRlFDVy4RXRqHAg2GTFWJYC-Gac1Mx3OLnA","accountId":"32990686","folderId":"1Us2AfskxgdA729xVr0F2vjZU9y5PlYDe","key":"~VTsK5dcnHc2cSSsjM$LFSjLlgbmJXwrp3R2P5nd","data":"{\"fileName\":\"ALL FOR ALL \\u041d\\u0430\\u0440\\u044f\\u0434 \\u043d\\u0430 \\u0432\\u044b\\u043f\\u043e\\u043b\\u043d\\u0435\\u043d\\u0438\\u0435 \\u0440\\u0430\\u0431\\u043e\\u0442 438 20260702083811\",\"leadId\":\"45492537\",\"entities\":{\"\\u0441\\u0434\\u0435\\u043b\\u043a\\u0430\":{\"ID\":\"45492537\",\"\\u0421\\u0434\\u0435\\u043b\\u043a\\u0430_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"\\u0421\\u0434\\u0435\\u043b\\u043a\\u0430 060457201\",\"Lead_name\":\"\\u0421\\u0434\\u0435\\u043b\\u043a\\u0430 060457201\",\"\\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\":\"45492537\",\"\\u0421\\u0434\\u0435\\u043b\\u043a\\u0430_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"\\u0421\\u0434\\u0435\\u043b\\u043a\\u0430 060457201\",\"Lead_name\":\"\\u0421\\u0434\\u0435\\u043b\\u043a\\u0430 060457201\",\"\\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\":\"373060457201\",\"\\u0418\\u043c\\u044f \\u043a\\u043b\\u0438\\u0435\\u043d\\u0442\\u0430 (\\u0421\\u041c\\u0421)\":\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442 060457201\",\"\\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 060457201\",\"Contact_name\":\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442 060457201\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"\\u0410\\u0441\\u0442\\u0430\\u043f\\u0435\\u043d\\u043a\\u043e\\u0432\\u0430 \\u042e\\u043b\\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\":\"373060457201\",\"\\u0418\\u043c\\u044f \\u043a\\u043b\\u0438\\u0435\\u043d\\u0442\\u0430 (\\u0421\\u041c\\u0421)\":\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442 060457201\",\"\\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 060457201\",\"Contact_name\":\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442 060457201\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"\\u0410\\u0441\\u0442\\u0430\\u043f\\u0435\\u043d\\u043a\\u043e\\u0432\\u0430 \\u042e\\u043b\\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\":\"373060457201\",\"\\u0418\\u043c\\u044f \\u043a\\u043b\\u0438\\u0435\\u043d\\u0442\\u0430 (\\u0421\\u041c\\u0421)\":\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442 060457201\",\"\\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 060457201\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\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\":\"02.07.2026\",\"\\u041d\\u043e\\u043c\\u0435\\u0440\":\"438\"},\"document\":{\"Date\":\"02.07.2026\",\"Number\":\"438\"}}}","edit":true}} {"uid":"d620d8c"}
[2026-07-02 08:38:13] docflow.DEBUG: GAS raw response {"raw":"<!DOCTYPE html><html><head><link rel=\"shortcut icon\" href=\"//ssl.gstatic.com/docs/script/images/favicon.ico\"><title>Błąd</title><style type=\"text/css\" nonce=\"D13TiWtofvCUh-8npMUr-A\">body {background-color: #fff; margin: 0; padding: 0;}.errorMessage {font-family: Arial,sans-serif; font-size: 12pt; font-weight: bold; line-height: 150%; padding-top: 25px;}</style></head><body style=\"margin:20px\"><div><img alt=\"Google Apps Script\" src=\"//ssl.gstatic.com/docs/script/images/logo.png\"></div><div style=\"text-align:center;font-family:monospace;margin:50px auto 0;max-width:600px\">Exception: Do wykonania tej czynności wymagana jest autoryzacja. (wiersz 59, plik „gscript”)</div></body></html>"} {"uid":"d620d8c"}
[2026-07-02 08:38:13] docflow.ERROR: Google Apps Script error: Exception: Do wykonania tej czynności wymagana jest autoryzacja. (wiersz 59, plik „gscript”) {"trace":"#0 /home/ytvmclwh/document.amocrm.md/src/Controllers/Docs.php(94): Genezis\\Docflow\\Models\\Docs->createDoc(Array)\n#1 [internal function]: Genezis\\Docflow\\Controllers\\Docs->create(Object(Slim\\Http\\Request), Object(Slim\\Http\\Response), Array)\n#2 /home/ytvmclwh/document.amocrm.md/vendor/slim/slim/Slim/Handlers/Strategies/RequestResponse.php(41): call_user_func(Array, Object(Slim\\Http\\Request), Object(Slim\\Http\\Response), Array)\n#3 /home/ytvmclwh/document.amocrm.md/vendor/slim/slim/Slim/Route.php(335): Slim\\Handlers\\Strategies\\RequestResponse->__invoke(Array, Object(Slim\\Http\\Request), Object(Slim\\Http\\Response), Array)\n#4 /home/ytvmclwh/document.amocrm.md/vendor/slim/slim/Slim/MiddlewareAwareTrait.php(117): Slim\\Route->__invoke(Object(Slim\\Http\\Request), Object(Slim\\Http\\Response))\n#5 /home/ytvmclwh/document.amocrm.md/vendor/slim/slim/Slim/Route.php(313): Slim\\Route->callMiddlewareStack(Object(Slim\\Http\\Request), Object(Slim\\Http\\Response))\n#6 /home/ytvmclwh/document.amocrm.md/vendor/slim/slim/Slim/App.php(495): Slim\\Route->run(Object(Slim\\Http\\Request), Object(Slim\\Http\\Response))\n#7 /home/ytvmclwh/document.amocrm.md/vendor/genezis/amocrm-cors/src/AmoCors.php(54): Slim\\App->__invoke(Object(Slim\\Http\\Request), Object(Slim\\Http\\Response))\n#8 [internal function]: Genezis\\Middlewares\\AmoCors->__invoke(Object(Slim\\Http\\Request), Object(Slim\\Http\\Response), Object(Slim\\App))\n#9 /home/ytvmclwh/document.amocrm.md/vendor/slim/slim/Slim/DeferredCallable.php(43): call_user_func_array(Object(Genezis\\Middlewares\\AmoCors), Array)\n#10 [internal function]: Slim\\DeferredCallable->__invoke(Object(Slim\\Http\\Request), Object(Slim\\Http\\Response), Object(Slim\\App))\n#11 /home/ytvmclwh/document.amocrm.md/vendor/slim/slim/Slim/MiddlewareAwareTrait.php(70): call_user_func(Object(Slim\\DeferredCallable), Object(Slim\\Http\\Request), Object(Slim\\Http\\Response), Object(Slim\\App))\n#12 /home/ytvmclwh/document.amocrm.md/vendor/slim/slim/Slim/MiddlewareAwareTrait.php(117): Slim\\App->Slim\\{closure}(Object(Slim\\Http\\Request), Object(Slim\\Http\\Response))\n#13 /home/ytvmclwh/document.amocrm.md/vendor/slim/slim/Slim/App.php(388): Slim\\App->callMiddlewareStack(Object(Slim\\Http\\Request), Object(Slim\\Http\\Response))\n#14 /home/ytvmclwh/document.amocrm.md/vendor/slim/slim/Slim/App.php(296): Slim\\App->process(Object(Slim\\Http\\Request), Object(Slim\\Http\\Response))\n#15 /home/ytvmclwh/document.amocrm.md/public/index.php(37): Slim\\App->run()\n#16 {main}"} {"uid":"d620d8c"}
[2026-07-02 08:40:19] docflow.INFO: Apel createDoc {"data":{"amoAccountId":"32990686","amoUserId":null,"amoEntityId":"45492537","amoEntityType":"2","templateId":"11625","corporateEntityId":"","settlementAccountId":"","is_signed":null,"gdi":null,"number":null,"currentAmoUserId":null,"lang":"ru"}} {"uid":"eb3e602"}
[2026-07-02 08:40:20] docflow.INFO: Token is valid for account 32990686. [] {"uid":"eb3e602"}
[2026-07-02 08:40:20] docflow.DEBUG: getClientAuth returned {"auth":"[object] (stdClass: {\"domain\":\"eurosanteh.amocrm.ru\",\"access_token\":\"eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImp0aSI6ImRjZGY4YWJiMzM0MzdiZjRjNzBjMDRlOTFlNDU1YjhmYjkwNmYzOTYwMzk4NGNjMWQ0MDI1ODUzYjA2ZjNiMDkzZGNjMDFlNDQyNTg0Njk5In0.eyJhdWQiOiIwZDY0ZGZmYi1lNTRiLTQ0OGYtOWZiZi1iYWYyMjUxYTExZGIiLCJqdGkiOiJkY2RmOGFiYjMzNDM3YmY0YzcwYzA0ZTkxZTQ1NWI4ZmI5MDZmMzk2MDM5ODRjYzFkNDAyNTg1M2IwNmYzYjA5M2RjYzAxZTQ0MjU4NDY5OSIsImlhdCI6MTc4Mjk2ODU2MywibmJmIjoxNzgyOTY4NTYzLCJleHAiOjE3ODMwNTQ5NjMsInN1YiI6IjEzNjg3MzAyIiwiZ3JhbnRfdHlwZSI6IiIsImFjY291bnRfaWQiOjMyOTkwNjg2LCJiYXNlX2RvbWFpbiI6ImFtb2NybS5ydSIsInZlcnNpb24iOjIsInNjb3BlcyI6WyJwdXNoX25vdGlmaWNhdGlvbnMiLCJjcm0iLCJub3RpZmljYXRpb25zIl0sImhhc2hfdXVpZCI6IjdiNTI2ZDM3LWU5YTUtNGY1MC04NjU5LWFlZjI0ZWMwN2I2MSIsImFwaV9kb21haW4iOiJhcGktYi5hbW9jcm0ucnUifQ.TUP7Bi9R1Z5_ifh6PBDea_wrLQhhuCDBfhbmV-UeB8v1A_eof6DM3ni90PqyHwjy-_bogoujgXVHGFtlHknt3UAHPf6orhat2LJuNkb1ZzlvwNfKzfOLlCslLtvwCmvId5Cp6PjIEgZpsSZPb6j1XFwBF8mUsYJAs6DQafAhxJbwwdtepg3Rn7z1bok0wAy62df4psIRq7Bi9WiSVCb7CyeiZj8UiZxEFNIbusJI6k3zpKBXtykwNv4c2JwIgpQjuwAfKUvcfKgTUV6ZCXuj_wbQnkvtSXt1yjhO82intYpA8QkC7YC1Z2KUwCu90CACwX4piq8dxBla--hEqiVNGg\"})","file":"/home/ytvmclwh/document.amocrm.md/src/Models/Docs.php","line":121} {"uid":"eb3e602"}
[2026-07-02 08:40:22] docflow.DEBUG: AmoDrive docflow context request {"url":"https://google.emale.uno/api/docflow/google-context","query":{"account_id":"32990686","entity_id":"45492537","entity_type":"leads"}} {"uid":"eb3e602"}
[2026-07-02 08:40: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=32990686&amp;entity_id=45492537&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/07/02 08:40:22</td>\r\n</tr>\r\n</table>\r\n<hr><center>tengine</center>\r\n</body>\r\n</html>\r\n"} {"uid":"eb3e602"}
[2026-07-02 08:40:22] docflow.DEBUG: AmoDrive docflow context request {"url":"https://gd.glucose-dev.online/api/docflow/google-context","query":{"account_id":"32990686","entity_id":"45492537","entity_type":"leads"}} {"uid":"eb3e602"}
[2026-07-02 08:40: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":32990686,"entityId":"45492537","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":"eb3e602"}
[2026-07-02 08:40:22] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://google.emale.uno/api/docflow/prepare-generated-doc","payload":{"account_id":"32990686","entity_id":"45492537","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"eb3e602"}
[2026-07-02 08:40: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/07/02 08:40:22</td>\r\n</tr>\r\n</table>\r\n<hr><center>tengine</center>\r\n</body>\r\n</html>\r\n","payload":{"account_id":"32990686","entity_id":"45492537","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"eb3e602"}
[2026-07-02 08:40:22] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://gd.glucose-dev.online/api/docflow/prepare-generated-doc","payload":{"account_id":"32990686","entity_id":"45492537","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"eb3e602"}
[2026-07-02 08:40: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\":32990686})","payload":{"account_id":"32990686","entity_id":"45492537","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"eb3e602"}
[2026-07-02 08:40:22] 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 438 20260702084022\",\"leadId\":\"45492537\",\"entities\":{\"\\u0441\\u0434\\u0435\\u043b\\u043a\\u0430\":{\"ID\":\"45492537\",\"\\u0421\\u0434\\u0435\\u043b\\u043a\\u0430_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"\\u0421\\u0434\\u0435\\u043b\\u043a\\u0430 060457201\",\"Lead_name\":\"\\u0421\\u0434\\u0435\\u043b\\u043a\\u0430 060457201\",\"\\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\":\"45492537\",\"\\u0421\\u0434\\u0435\\u043b\\u043a\\u0430_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"\\u0421\\u0434\\u0435\\u043b\\u043a\\u0430 060457201\",\"Lead_name\":\"\\u0421\\u0434\\u0435\\u043b\\u043a\\u0430 060457201\",\"\\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\":\"373060457201\",\"\\u0418\\u043c\\u044f \\u043a\\u043b\\u0438\\u0435\\u043d\\u0442\\u0430 (\\u0421\\u041c\\u0421)\":\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442 060457201\",\"\\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 060457201\",\"Contact_name\":\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442 060457201\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"\\u0410\\u0441\\u0442\\u0430\\u043f\\u0435\\u043d\\u043a\\u043e\\u0432\\u0430 \\u042e\\u043b\\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\":\"373060457201\",\"\\u0418\\u043c\\u044f \\u043a\\u043b\\u0438\\u0435\\u043d\\u0442\\u0430 (\\u0421\\u041c\\u0421)\":\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442 060457201\",\"\\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 060457201\",\"Contact_name\":\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442 060457201\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"\\u0410\\u0441\\u0442\\u0430\\u043f\\u0435\\u043d\\u043a\\u043e\\u0432\\u0430 \\u042e\\u043b\\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\":\"373060457201\",\"\\u0418\\u043c\\u044f \\u043a\\u043b\\u0438\\u0435\\u043d\\u0442\\u0430 (\\u0421\\u041c\\u0421)\":\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442 060457201\",\"\\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 060457201\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\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\":\"02.07.2026\",\"\\u041d\\u043e\\u043c\\u0435\\u0440\":\"438\"},\"document\":{\"Date\":\"02.07.2026\",\"Number\":\"438\"}}}","edit":true}} {"uid":"eb3e602"}
[2026-07-02 08:40:23] docflow.DEBUG: GAS raw response {"raw":"<!DOCTYPE html><html><head><link rel=\"shortcut icon\" href=\"//ssl.gstatic.com/docs/script/images/favicon.ico\"><title>Błąd</title><style type=\"text/css\" nonce=\"Z-OKkty8EP1l5mOoUJI7_g\">body {background-color: #fff; margin: 0; padding: 0;}.errorMessage {font-family: Arial,sans-serif; font-size: 12pt; font-weight: bold; line-height: 150%; padding-top: 25px;}</style></head><body style=\"margin:20px\"><div><img alt=\"Google Apps Script\" src=\"//ssl.gstatic.com/docs/script/images/logo.png\"></div><div style=\"text-align:center;font-family:monospace;margin:50px auto 0;max-width:600px\">Exception: Do wykonania tej czynności wymagana jest autoryzacja. (wiersz 59, plik „gscript”)</div></body></html>"} {"uid":"eb3e602"}
[2026-07-02 08:40:23] docflow.ERROR: Google Apps Script error: Exception: Do wykonania tej czynności wymagana jest autoryzacja. (wiersz 59, plik „gscript”) {"trace":"#0 /home/ytvmclwh/document.amocrm.md/src/Controllers/Docs.php(94): Genezis\\Docflow\\Models\\Docs->createDoc(Array)\n#1 [internal function]: Genezis\\Docflow\\Controllers\\Docs->create(Object(Slim\\Http\\Request), Object(Slim\\Http\\Response), Array)\n#2 /home/ytvmclwh/document.amocrm.md/vendor/slim/slim/Slim/Handlers/Strategies/RequestResponse.php(41): call_user_func(Array, Object(Slim\\Http\\Request), Object(Slim\\Http\\Response), Array)\n#3 /home/ytvmclwh/document.amocrm.md/vendor/slim/slim/Slim/Route.php(335): Slim\\Handlers\\Strategies\\RequestResponse->__invoke(Array, Object(Slim\\Http\\Request), Object(Slim\\Http\\Response), Array)\n#4 /home/ytvmclwh/document.amocrm.md/vendor/slim/slim/Slim/MiddlewareAwareTrait.php(117): Slim\\Route->__invoke(Object(Slim\\Http\\Request), Object(Slim\\Http\\Response))\n#5 /home/ytvmclwh/document.amocrm.md/vendor/slim/slim/Slim/Route.php(313): Slim\\Route->callMiddlewareStack(Object(Slim\\Http\\Request), Object(Slim\\Http\\Response))\n#6 /home/ytvmclwh/document.amocrm.md/vendor/slim/slim/Slim/App.php(495): Slim\\Route->run(Object(Slim\\Http\\Request), Object(Slim\\Http\\Response))\n#7 /home/ytvmclwh/document.amocrm.md/vendor/genezis/amocrm-cors/src/AmoCors.php(54): Slim\\App->__invoke(Object(Slim\\Http\\Request), Object(Slim\\Http\\Response))\n#8 [internal function]: Genezis\\Middlewares\\AmoCors->__invoke(Object(Slim\\Http\\Request), Object(Slim\\Http\\Response), Object(Slim\\App))\n#9 /home/ytvmclwh/document.amocrm.md/vendor/slim/slim/Slim/DeferredCallable.php(43): call_user_func_array(Object(Genezis\\Middlewares\\AmoCors), Array)\n#10 [internal function]: Slim\\DeferredCallable->__invoke(Object(Slim\\Http\\Request), Object(Slim\\Http\\Response), Object(Slim\\App))\n#11 /home/ytvmclwh/document.amocrm.md/vendor/slim/slim/Slim/MiddlewareAwareTrait.php(70): call_user_func(Object(Slim\\DeferredCallable), Object(Slim\\Http\\Request), Object(Slim\\Http\\Response), Object(Slim\\App))\n#12 /home/ytvmclwh/document.amocrm.md/vendor/slim/slim/Slim/MiddlewareAwareTrait.php(117): Slim\\App->Slim\\{closure}(Object(Slim\\Http\\Request), Object(Slim\\Http\\Response))\n#13 /home/ytvmclwh/document.amocrm.md/vendor/slim/slim/Slim/App.php(388): Slim\\App->callMiddlewareStack(Object(Slim\\Http\\Request), Object(Slim\\Http\\Response))\n#14 /home/ytvmclwh/document.amocrm.md/vendor/slim/slim/Slim/App.php(296): Slim\\App->process(Object(Slim\\Http\\Request), Object(Slim\\Http\\Response))\n#15 /home/ytvmclwh/document.amocrm.md/public/index.php(37): Slim\\App->run()\n#16 {main}"} {"uid":"eb3e602"}
[2026-07-02 09:40:20] docflow.INFO: Apel createDoc {"data":{"amoAccountId":"32990686","amoUserId":null,"amoEntityId":"40282641","amoEntityType":"2","templateId":"11625","corporateEntityId":"","settlementAccountId":"","is_signed":null,"gdi":null,"number":null,"currentAmoUserId":null,"lang":"ru"}} {"uid":"1d6a1fa"}
[2026-07-02 09:40:21] docflow.INFO: Token is valid for account 32990686. [] {"uid":"1d6a1fa"}
[2026-07-02 09:40:21] docflow.DEBUG: getClientAuth returned {"auth":"[object] (stdClass: {\"domain\":\"eurosanteh.amocrm.ru\",\"access_token\":\"eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImp0aSI6ImRjZGY4YWJiMzM0MzdiZjRjNzBjMDRlOTFlNDU1YjhmYjkwNmYzOTYwMzk4NGNjMWQ0MDI1ODUzYjA2ZjNiMDkzZGNjMDFlNDQyNTg0Njk5In0.eyJhdWQiOiIwZDY0ZGZmYi1lNTRiLTQ0OGYtOWZiZi1iYWYyMjUxYTExZGIiLCJqdGkiOiJkY2RmOGFiYjMzNDM3YmY0YzcwYzA0ZTkxZTQ1NWI4ZmI5MDZmMzk2MDM5ODRjYzFkNDAyNTg1M2IwNmYzYjA5M2RjYzAxZTQ0MjU4NDY5OSIsImlhdCI6MTc4Mjk2ODU2MywibmJmIjoxNzgyOTY4NTYzLCJleHAiOjE3ODMwNTQ5NjMsInN1YiI6IjEzNjg3MzAyIiwiZ3JhbnRfdHlwZSI6IiIsImFjY291bnRfaWQiOjMyOTkwNjg2LCJiYXNlX2RvbWFpbiI6ImFtb2NybS5ydSIsInZlcnNpb24iOjIsInNjb3BlcyI6WyJwdXNoX25vdGlmaWNhdGlvbnMiLCJjcm0iLCJub3RpZmljYXRpb25zIl0sImhhc2hfdXVpZCI6IjdiNTI2ZDM3LWU5YTUtNGY1MC04NjU5LWFlZjI0ZWMwN2I2MSIsImFwaV9kb21haW4iOiJhcGktYi5hbW9jcm0ucnUifQ.TUP7Bi9R1Z5_ifh6PBDea_wrLQhhuCDBfhbmV-UeB8v1A_eof6DM3ni90PqyHwjy-_bogoujgXVHGFtlHknt3UAHPf6orhat2LJuNkb1ZzlvwNfKzfOLlCslLtvwCmvId5Cp6PjIEgZpsSZPb6j1XFwBF8mUsYJAs6DQafAhxJbwwdtepg3Rn7z1bok0wAy62df4psIRq7Bi9WiSVCb7CyeiZj8UiZxEFNIbusJI6k3zpKBXtykwNv4c2JwIgpQjuwAfKUvcfKgTUV6ZCXuj_wbQnkvtSXt1yjhO82intYpA8QkC7YC1Z2KUwCu90CACwX4piq8dxBla--hEqiVNGg\"})","file":"/home/ytvmclwh/document.amocrm.md/src/Models/Docs.php","line":121} {"uid":"1d6a1fa"}
[2026-07-02 09:40:25] docflow.DEBUG: AmoDrive docflow context request {"url":"https://google.emale.uno/api/docflow/google-context","query":{"account_id":"32990686","entity_id":"40282641","entity_type":"leads"}} {"uid":"1d6a1fa"}
[2026-07-02 09:40:25] docflow.WARNING: AmoDrive docflow context request failed {"url":"https://google.emale.uno/api/docflow/google-context","http_code":null,"error":"HTTP/2 400 ","response":"<!DOCTYPE HTML PUBLIC \"-//IETF//DTD HTML 2.0//EN\">\r\n<html>\r\n<head><title>400 Bad Request</title></head>\r\n<body>\r\n<center><h1>400 Bad Request</h1></center>\r\n Sorry for the inconvenience.<br/>\r\nPlease report this message and include the following information to us.<br/>\r\nThank you very much!</p>\r\n<table>\r\n<tr>\r\n<td>URL:</td>\r\n<td>https://gd.glucose-dev.online/api/docflow/google-context?account_id=32990686&amp;entity_id=40282641&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/07/02 09:40:25</td>\r\n</tr>\r\n</table>\r\n<hr><center>tengine</center>\r\n</body>\r\n</html>\r\n"} {"uid":"1d6a1fa"}
[2026-07-02 09:40:25] docflow.DEBUG: AmoDrive docflow context request {"url":"https://gd.glucose-dev.online/api/docflow/google-context","query":{"account_id":"32990686","entity_id":"40282641","entity_type":"leads"}} {"uid":"1d6a1fa"}
[2026-07-02 09:40:25] docflow.WARNING: AmoDrive docflow context response is not ready, trying next backend. {"url":"https://gd.glucose-dev.online/api/docflow/google-context","payload":{"ok":true,"accountId":32990686,"entityId":"40282641","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":"1d6a1fa"}
[2026-07-02 09:40:25] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://google.emale.uno/api/docflow/prepare-generated-doc","payload":{"account_id":"32990686","entity_id":"40282641","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"1d6a1fa"}
[2026-07-02 09:40:25] docflow.WARNING: AmoDrive prepare-generated-doc request failed {"url":"https://google.emale.uno/api/docflow/prepare-generated-doc","http_code":null,"error":"HTTP/2 400 ","response":"<!DOCTYPE HTML PUBLIC \"-//IETF//DTD HTML 2.0//EN\">\r\n<html>\r\n<head><title>400 Bad Request</title></head>\r\n<body>\r\n<center><h1>400 Bad Request</h1></center>\r\n Sorry for the inconvenience.<br/>\r\nPlease report this message and include the following information to us.<br/>\r\nThank you very much!</p>\r\n<table>\r\n<tr>\r\n<td>URL:</td>\r\n<td>https://gd.glucose-dev.online/api/docflow/prepare-generated-doc</td>\r\n</tr>\r\n<tr>\r\n<td>Server:</td>\r\n<td>mail.glucose-dev.online</td>\r\n</tr>\r\n<tr>\r\n<td>Date:</td>\r\n<td>2026/07/02 09:40:25</td>\r\n</tr>\r\n</table>\r\n<hr><center>tengine</center>\r\n</body>\r\n</html>\r\n","payload":{"account_id":"32990686","entity_id":"40282641","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"1d6a1fa"}
[2026-07-02 09:40:25] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://gd.glucose-dev.online/api/docflow/prepare-generated-doc","payload":{"account_id":"32990686","entity_id":"40282641","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"1d6a1fa"}
[2026-07-02 09:40:25] docflow.WARNING: AmoDrive prepare-generated-doc request failed {"url":"https://gd.glucose-dev.online/api/docflow/prepare-generated-doc","http_code":null,"error":"HTTP/2 404 ","response":"[object] (stdClass: {\"ok\":false,\"error\":\"AmoDrive is not installed for this account.\",\"accountId\":32990686})","payload":{"account_id":"32990686","entity_id":"40282641","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"1d6a1fa"}
[2026-07-02 09:40:25] 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 438 20260702094025\",\"leadId\":\"40282641\",\"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.02.2027\",\"\\u041d\\u043e\\u043c\\u0435\\u0440 \\u043a\\u043e\\u043d\\u0442\\u0440\\u0430\\u043a\\u0442\\u0430\":\"K602\",\"\\u0414\\u0430\\u0442\\u0430 \\u043c\\u043e\\u043d\\u0442\\u0430\\u0436\\u0430 (\\u0411\\u0414)\":\"16.02.2026\",\"\\u041d\\u0430\\u0437\\u0432\\u0430\\u043d\\u0438\\u0435 \\u0442\\u043e\\u0432\\u0430\\u0440\\u0430 (\\u0411\\u0414)\":\"Haier Pearl 35+25\",\"\\u0412\\u0438\\u0434 \\u0440\\u0430\\u0431\\u043e\\u0442\\u044b (\\u0411\\u0414)\":\"\\u0423\\u0441\\u0442\\u0430\\u043d\\u043e\\u0432\\u043a\\u0430 \\u043a\\u043e\\u043d\\u0434\\u0438\\u0446\\u0438\\u043e\\u043d\\u0435\\u0440\\u0430\",\"\\u0424\\u0418\\u041e \\u043c\\u043e\\u043d\\u0442\\u0430\\u0436\\u043d\\u0438\\u043a\\u0430 (\\u0411\\u0414)\":\"0\",\"ID\":\"40282641\",\"\\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\":\"16.02.2027\",\"\\u041d\\u043e\\u043c\\u0435\\u0440 \\u043a\\u043e\\u043d\\u0442\\u0440\\u0430\\u043a\\u0442\\u0430\":\"K602\",\"\\u0414\\u0430\\u0442\\u0430 \\u043c\\u043e\\u043d\\u0442\\u0430\\u0436\\u0430 (\\u0411\\u0414)\":\"16.02.2026\",\"\\u041d\\u0430\\u0437\\u0432\\u0430\\u043d\\u0438\\u0435 \\u0442\\u043e\\u0432\\u0430\\u0440\\u0430 (\\u0411\\u0414)\":\"Haier Pearl 35+25\",\"\\u0412\\u0438\\u0434 \\u0440\\u0430\\u0431\\u043e\\u0442\\u044b (\\u0411\\u0414)\":\"\\u0423\\u0441\\u0442\\u0430\\u043d\\u043e\\u0432\\u043a\\u0430 \\u043a\\u043e\\u043d\\u0434\\u0438\\u0446\\u0438\\u043e\\u043d\\u0435\\u0440\\u0430\",\"\\u0424\\u0418\\u041e \\u043c\\u043e\\u043d\\u0442\\u0430\\u0436\\u043d\\u0438\\u043a\\u0430 (\\u0411\\u0414)\":\"0\",\"ID\":\"40282641\",\"\\u0421\\u0434\\u0435\\u043b\\u043a\\u0430_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"\\u0423\\u0441\\u0442\\u0430\\u043d\\u043e\\u0432\\u043a\\u0430 \\u043a\\u043e\\u043d\\u0434\\u0438\\u0446\\u0438\\u043e\\u043d\\u0435\\u0440\\u0430\",\"Lead_name\":\"\\u0423\\u0441\\u0442\\u0430\\u043d\\u043e\\u0432\\u043a\\u0430 \\u043a\\u043e\\u043d\\u0434\\u0438\\u0446\\u0438\\u043e\\u043d\\u0435\\u0440\\u0430\",\"\\u0411\\u044e\\u0434\\u0436\\u0435\\u0442\":\"0\",\"Budget\":\"0\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"\\u0410\\u0441\\u0442\\u0430\\u043f\\u0435\\u043d\\u043a\\u043e\\u0432\\u0430 \\u042e\\u043b\\u0438\\u0430\\u043d\\u043d\\u0430\",\"Responsible\":\"\\u0410\\u0441\\u0442\\u0430\\u043f\\u0435\\u043d\\u043a\\u043e\\u0432\\u0430 \\u042e\\u043b\\u0438\\u0430\\u043d\\u043d\\u0430\"},\"\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442\":{\"\\u0418\\u0414\\u041d\\u041e\":\"0\",\"\\u0410\\u0434\\u0440\\u0435\\u0441\":\"Anenii Noi str Ion Soltiz 57\",\"\\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.02.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 Pearl 35+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)\":\"2\",\"\\u041d\\u043e\\u043c\\u0435\\u0440 \\u043a\\u043e\\u043d\\u0442\\u0440\\u0430\\u043a\\u0442\\u0430 (\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442)\":\"K602\",\"\\u0418\\u043c\\u044f \\u043a\\u043b\\u0438\\u0435\\u043d\\u0442\\u0430 (\\u0421\\u041c\\u0421)\":\"Iurie\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"37369904130\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Iurie Calmetui\",\"Contact_name\":\"Iurie Calmetui\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"\\u0410\\u0441\\u0442\\u0430\\u043f\\u0435\\u043d\\u043a\\u043e\\u0432\\u0430 \\u042e\\u043b\\u0438\\u0430\\u043d\\u043d\\u0430\",\"Responsible\":\"\\u0410\\u0441\\u0442\\u0430\\u043f\\u0435\\u043d\\u043a\\u043e\\u0432\\u0430 \\u042e\\u043b\\u0438\\u0430\\u043d\\u043d\\u0430\"},\"contact\":{\"\\u0418\\u0414\\u041d\\u041e\":\"0\",\"\\u0410\\u0434\\u0440\\u0435\\u0441\":\"Anenii Noi str Ion Soltiz 57\",\"\\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.02.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 Pearl 35+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)\":\"2\",\"\\u041d\\u043e\\u043c\\u0435\\u0440 \\u043a\\u043e\\u043d\\u0442\\u0440\\u0430\\u043a\\u0442\\u0430 (\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442)\":\"K602\",\"\\u0418\\u043c\\u044f \\u043a\\u043b\\u0438\\u0435\\u043d\\u0442\\u0430 (\\u0421\\u041c\\u0421)\":\"Iurie\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"37369904130\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Iurie Calmetui\",\"Contact_name\":\"Iurie Calmetui\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"\\u0410\\u0441\\u0442\\u0430\\u043f\\u0435\\u043d\\u043a\\u043e\\u0432\\u0430 \\u042e\\u043b\\u0438\\u0430\\u043d\\u043d\\u0430\",\"Responsible\":\"\\u0410\\u0441\\u0442\\u0430\\u043f\\u0435\\u043d\\u043a\\u043e\\u0432\\u0430 \\u042e\\u043b\\u0438\\u0430\\u043d\\u043d\\u0430\"},\"\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442\\u044b\":[{\"\\u0418\\u0414\\u041d\\u041e\":\"0\",\"\\u0410\\u0434\\u0440\\u0435\\u0441\":\"Anenii Noi str Ion Soltiz 57\",\"\\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.02.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 Pearl 35+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)\":\"2\",\"\\u041d\\u043e\\u043c\\u0435\\u0440 \\u043a\\u043e\\u043d\\u0442\\u0440\\u0430\\u043a\\u0442\\u0430 (\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442)\":\"K602\",\"\\u0418\\u043c\\u044f \\u043a\\u043b\\u0438\\u0435\\u043d\\u0442\\u0430 (\\u0421\\u041c\\u0421)\":\"Iurie\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"37369904130\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Iurie Calmetui\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\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\":\"02.07.2026\",\"\\u041d\\u043e\\u043c\\u0435\\u0440\":\"438\"},\"document\":{\"Date\":\"02.07.2026\",\"Number\":\"438\"}}}","edit":true}} {"uid":"1d6a1fa"}
[2026-07-02 09:40:32] docflow.DEBUG: GAS raw response {"raw":"[object] (stdClass: {\"code\":1,\"url\":\"https://docs.google.com/open?id=1yOH_FG3IvA7vr-CgJxtz45fTp7mpieQY1TjzUD1bEbo\",\"file_id\":\"1yOH_FG3IvA7vr-CgJxtz45fTp7mpieQY1TjzUD1bEbo\",\"error\":\"\",\"vars\":\"\"})"} {"uid":"1d6a1fa"}
[2026-07-02 09:40:32] docflow.WARNING: AmoDrive generated-file move is not ready. {"fileId":"1yOH_FG3IvA7vr-CgJxtz45fTp7mpieQY1TjzUD1bEbo","context":null} {"uid":"1d6a1fa"}
[2026-07-02 11:37:59] docflow.INFO: Apel createDoc {"data":{"amoAccountId":"22699852","amoUserId":null,"amoEntityId":"42288088","amoEntityType":"2","templateId":"11492","corporateEntityId":"","settlementAccountId":"","is_signed":null,"gdi":null,"number":null,"currentAmoUserId":null,"lang":"ru"}} {"uid":"ab96664"}
[2026-07-02 11:37:59] docflow.INFO: Token validation failed for account 22699852. Refreshing... {"http_code":null,"error_message":"HTTP/2 401 "} {"uid":"ab96664"}
[2026-07-02 11:37:59] docflow.INFO: Attempting token refresh with payload: {"client_id":"0d64dffb-e54b-448f-9fbf-baf2251a11db","client_secret":"AXqHrT1J35SilTTtI3yyaHdQKiS5bonhySaPYkLmo7mR6ZZ9zDP24dUjG189VG9G","grant_type":"refresh_token","refresh_token":"def502007f52ed0a77c19d201ee7ed3b956310f0d4571f2585f660f73fa4b34fdb187e64a83644c37055f4c0b220a2bb3257379bc252aba8fd36748b753d5c457f98f54754aa21cdcfa251f3226f629e67edc20ac29ff75e3d3605efb1d48fb1768d68ab2f057186bfe698b3ed9193260015b7b8ff6091ad943247ac498cd833532dcfc2f4af298df1c242c7c210ab1e3379a98f99c98cab20c610c51cac6f32c5cb6074bd1b8507ba86439b7912904c6a736d51089562b2b822dcafc28bef82caa9727e414c775bd93ebc9394eee677c4d791348b6c255a90e99f4d47d32ff701bb7711e6fd2bc7ab39728fe82183d4b46cfba1fc4fc760803984e14c9b9a1a2b53a6a71af7f805f26c8e3a7bbe39782eab612dda30d7bb6825fe96ded2dc9a4049c0ec836ddd2faa42246e93c66d8bfadfd96b315e7e5f3d2c747bae4394f0015269fef7193687080af216d36a8980cfc8703caca40ed05145d25f74d505a2c3918d478859b29da10e19d381391f1f545a75317a51559b62c1f4c399a5fb9482f4975d8ced24723345a40ac1a410b9fb7f5e141344b77a2593a7347a57cbe7f4fdff0b806d0b88d67edabe1793f6156517cc1c550814f7b35e9924195e944d7e374fefc640ebf3a27c2d63443f1747296b4c23e9b2","redirect_uri":"https://document.amocrm.md/core/manager/install.php"} {"uid":"ab96664"}
[2026-07-02 11:38:00] docflow.INFO: Token for account 22699852 refreshed successfully. [] {"uid":"ab96664"}
[2026-07-02 11:38:00] docflow.DEBUG: getClientAuth returned {"auth":"[object] (stdClass: {\"domain\":\"emigrare.amocrm.ru\",\"access_token\":\"eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImp0aSI6IjljYjJmODA4YTU0Mzk1ZTEzNzgxOWNhZGZlYWZmNWU0NTUyMDFjZDMwNWFkYWZjZDBjNjE1NjkwMmJjNWMyNGQ4ZWZkOGRjZjIzNmE2ZDc3In0.eyJhdWQiOiIwZDY0ZGZmYi1lNTRiLTQ0OGYtOWZiZi1iYWYyMjUxYTExZGIiLCJqdGkiOiI5Y2IyZjgwOGE1NDM5NWUxMzc4MTljYWRmZWFmZjVlNDU1MjAxY2QzMDVhZGFmY2QwYzYxNTY5MDJiYzVjMjRkOGVmZDhkY2YyMzZhNmQ3NyIsImlhdCI6MTc4Mjk4MTQ4MCwibmJmIjoxNzgyOTgxNDgwLCJleHAiOjE3ODMwNjc4ODAsInN1YiI6IjI5MzAzODAiLCJncmFudF90eXBlIjoiIiwiYWNjb3VudF9pZCI6MjI2OTk4NTIsImJhc2VfZG9tYWluIjoiYW1vY3JtLnJ1IiwidmVyc2lvbiI6Miwic2NvcGVzIjpbInB1c2hfbm90aWZpY2F0aW9ucyIsImNybSIsIm5vdGlmaWNhdGlvbnMiXSwiaGFzaF91dWlkIjoiYTM4Y2M1ZjItYjY2MC00ZTY0LWJlODItMzUwZWI1ZDE4YmQwIiwiYXBpX2RvbWFpbiI6ImFwaS1hLmFtb2NybS5ydSJ9.Qu0SrQ67Snk8-WDkAHB3nPrape-O-rItp-7FNpzs9LxWaA_DlykHTIuMeLlnUkx6cmU6EdYrkRJaJkoPOUlZYoI1VhfsFyI2rbp8FWNNxg53zQ2r6uhbys1C1B--gu_xxht5p60_Rgq3pT80ILtu-A_185mfgoMf0vTIsTOSv750JFcLVY6yOdOwRKIsq6LHwHkijqnmP-t6LtFCjjmohJZVtdKeyf7Ese1jAiVVMVXiAUQK3Op53JPcXGOrftw5thO3OU-jZRLFLRvzmmy-zkPAHZzi3t2oZMnhLWaR2uclJCaGJVnxYrwnot2pwQc2nd1JZ5YnDKr_YPqUS6_SSQ\"})","file":"/home/ytvmclwh/document.amocrm.md/src/Models/Docs.php","line":121} {"uid":"ab96664"}
[2026-07-02 11:38:03] docflow.DEBUG: AmoDrive docflow context request {"url":"https://google.emale.uno/api/docflow/google-context","query":{"account_id":"22699852","entity_id":"42288088","entity_type":"leads"}} {"uid":"ab96664"}
[2026-07-02 11:38:03] docflow.WARNING: AmoDrive docflow context request failed {"url":"https://google.emale.uno/api/docflow/google-context","http_code":null,"error":"HTTP/2 400 ","response":"<!DOCTYPE HTML PUBLIC \"-//IETF//DTD HTML 2.0//EN\">\r\n<html>\r\n<head><title>400 Bad Request</title></head>\r\n<body>\r\n<center><h1>400 Bad Request</h1></center>\r\n Sorry for the inconvenience.<br/>\r\nPlease report this message and include the following information to us.<br/>\r\nThank you very much!</p>\r\n<table>\r\n<tr>\r\n<td>URL:</td>\r\n<td>https://gd.glucose-dev.online/api/docflow/google-context?account_id=22699852&amp;entity_id=42288088&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/07/02 11:38:03</td>\r\n</tr>\r\n</table>\r\n<hr><center>tengine</center>\r\n</body>\r\n</html>\r\n"} {"uid":"ab96664"}
[2026-07-02 11:38:03] docflow.DEBUG: AmoDrive docflow context request {"url":"https://gd.glucose-dev.online/api/docflow/google-context","query":{"account_id":"22699852","entity_id":"42288088","entity_type":"leads"}} {"uid":"ab96664"}
[2026-07-02 11:38:03] docflow.WARNING: AmoDrive docflow context response is not ready, trying next backend. {"url":"https://gd.glucose-dev.online/api/docflow/google-context","payload":{"ok":true,"accountId":22699852,"entityId":"42288088","entityType":"leads","amodrive":{"installed":false,"widgetStatus":"uninstalled","amoAccountId":22699852,"accountHost":"emigrare.amocrm.ru","license":{"status":"active","configuredStatus":"active","expiresAt":"2026-08-20T10:16:56.291Z","isExpired":false,"isTrial":false,"isActive":true,"expiredByDate":false,"daysRemaining":50,"isLifetime":false},"licenseActive":false,"googleConnected":false,"googleEmail":null,"googleHasDriveScope":false,"googleHasDriveFileScope":false,"googleHasOwnershipScope":false,"readyForGeneratedFileMove":false,"readyForTransfer":false},"folder":{"id":"17DE9uzXWbWgbMgeW4gV8YLvk0HF9sgcL","name":"42288088 - Lead #42288088","webViewLink":"https://drive.google.com/drive/folders/17DE9uzXWbWgbMgeW4gV8YLvk0HF9sgcL"}}} {"uid":"ab96664"}
[2026-07-02 11:38:03] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://google.emale.uno/api/docflow/prepare-generated-doc","payload":{"account_id":"22699852","entity_id":"42288088","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"ab96664"}
[2026-07-02 11:38:03] docflow.WARNING: AmoDrive prepare-generated-doc request failed {"url":"https://google.emale.uno/api/docflow/prepare-generated-doc","http_code":null,"error":"HTTP/2 400 ","response":"<!DOCTYPE HTML PUBLIC \"-//IETF//DTD HTML 2.0//EN\">\r\n<html>\r\n<head><title>400 Bad Request</title></head>\r\n<body>\r\n<center><h1>400 Bad Request</h1></center>\r\n Sorry for the inconvenience.<br/>\r\nPlease report this message and include the following information to us.<br/>\r\nThank you very much!</p>\r\n<table>\r\n<tr>\r\n<td>URL:</td>\r\n<td>https://gd.glucose-dev.online/api/docflow/prepare-generated-doc</td>\r\n</tr>\r\n<tr>\r\n<td>Server:</td>\r\n<td>mail.glucose-dev.online</td>\r\n</tr>\r\n<tr>\r\n<td>Date:</td>\r\n<td>2026/07/02 11:38:03</td>\r\n</tr>\r\n</table>\r\n<hr><center>tengine</center>\r\n</body>\r\n</html>\r\n","payload":{"account_id":"22699852","entity_id":"42288088","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"ab96664"}
[2026-07-02 11:38:03] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://gd.glucose-dev.online/api/docflow/prepare-generated-doc","payload":{"account_id":"22699852","entity_id":"42288088","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"ab96664"}
[2026-07-02 11:38:03] docflow.WARNING: AmoDrive prepare-generated-doc request failed {"url":"https://gd.glucose-dev.online/api/docflow/prepare-generated-doc","http_code":null,"error":"HTTP/2 404 ","response":"[object] (stdClass: {\"ok\":false,\"error\":\"AmoDrive is not installed for this account.\",\"accountId\":22699852})","payload":{"account_id":"22699852","entity_id":"42288088","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"ab96664"}
[2026-07-02 11:38:03] docflow.DEBUG: GAS request {"url":"https://script.google.com/macros/s/AKfycbwrvOJD46zkuoTzdhpc1kulhV8jRfgQBFZfQ121nkIip_k8yKit4xrbWTOzaJ-C-Yed6w/exec","body":{"templateFileId":"1FKXK35jtKpiduD-kqwGdMh_qii__EQs9wkQ6iT0Ii0o","accountId":"22699852","folderId":"1Us2AfskxgdA729xVr0F2vjZU9y5PlYDe","key":"~VTsK5dcnHc2cSSsjM$LFSjLlgbmJXwrp3R2P5nd","data":"{\"fileName\":\"Viz\\u0103 de re\\u0219edin\\u021b\\u0103 420 20260702113803\",\"leadId\":\"42288088\",\"entities\":{\"\\u0441\\u0434\\u0435\\u043b\\u043a\\u0430\":{\"ID\":\"42288088\",\"\\u0421\\u0434\\u0435\\u043b\\u043a\\u0430_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Domiciliu 2 ani (13.07.2026-13.07.2029) + insotire ASP\",\"Lead_name\":\"Domiciliu 2 ani (13.07.2026-13.07.2029) + insotire ASP\",\"\\u0411\\u044e\\u0434\\u0436\\u0435\\u0442\":\"600\",\"Budget\":\"600\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"Cezara Cenusa\",\"Responsible\":\"Cezara Cenusa\"},\"lead\":{\"ID\":\"42288088\",\"\\u0421\\u0434\\u0435\\u043b\\u043a\\u0430_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Domiciliu 2 ani (13.07.2026-13.07.2029) + insotire ASP\",\"Lead_name\":\"Domiciliu 2 ani (13.07.2026-13.07.2029) + insotire ASP\",\"\\u0411\\u044e\\u0434\\u0436\\u0435\\u0442\":\"600\",\"Budget\":\"600\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"Cezara Cenusa\",\"Responsible\":\"Cezara Cenusa\"},\"\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442\":{\"Cet\\u0103\\u021benie de\\u021binut\\u0103\":\"RU\",\"Cum Comunicam\":\"Watsap\",\"Limba vorbita\":\"Rusa\",\"Email\":\"tceyko_v@mail.ru\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"79062389585\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Vadim Teico\",\"Contact_name\":\"Vadim Teico\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"Victor Ochinciuc\",\"Responsible\":\"Victor Ochinciuc\"},\"contact\":{\"Cet\\u0103\\u021benie de\\u021binut\\u0103\":\"RU\",\"Cum Comunicam\":\"Watsap\",\"Limba vorbita\":\"Rusa\",\"Email\":\"tceyko_v@mail.ru\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"79062389585\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Vadim Teico\",\"Contact_name\":\"Vadim Teico\",\"\\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\":[{\"Cet\\u0103\\u021benie de\\u021binut\\u0103\":\"RU\",\"Cum Comunicam\":\"Watsap\",\"Limba vorbita\":\"Rusa\",\"Email\":\"tceyko_v@mail.ru\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"79062389585\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Vadim Teico\",\"\\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\":\"02.07.2026\",\"\\u041d\\u043e\\u043c\\u0435\\u0440\":\"420\"},\"document\":{\"Date\":\"02.07.2026\",\"Number\":\"420\"}}}","edit":true}} {"uid":"ab96664"}
[2026-07-02 11:38:06] docflow.INFO: Apel createDoc {"data":{"amoAccountId":"22699852","amoUserId":null,"amoEntityId":"42281126","amoEntityType":"2","templateId":"11488","corporateEntityId":"","settlementAccountId":"","is_signed":null,"gdi":null,"number":null,"currentAmoUserId":null,"lang":"ru"}} {"uid":"a435eba"}
[2026-07-02 11:38:07] docflow.INFO: Token is valid for account 22699852. [] {"uid":"a435eba"}
[2026-07-02 11:38:07] docflow.DEBUG: getClientAuth returned {"auth":"[object] (stdClass: {\"domain\":\"emigrare.amocrm.ru\",\"access_token\":\"eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImp0aSI6IjljYjJmODA4YTU0Mzk1ZTEzNzgxOWNhZGZlYWZmNWU0NTUyMDFjZDMwNWFkYWZjZDBjNjE1NjkwMmJjNWMyNGQ4ZWZkOGRjZjIzNmE2ZDc3In0.eyJhdWQiOiIwZDY0ZGZmYi1lNTRiLTQ0OGYtOWZiZi1iYWYyMjUxYTExZGIiLCJqdGkiOiI5Y2IyZjgwOGE1NDM5NWUxMzc4MTljYWRmZWFmZjVlNDU1MjAxY2QzMDVhZGFmY2QwYzYxNTY5MDJiYzVjMjRkOGVmZDhkY2YyMzZhNmQ3NyIsImlhdCI6MTc4Mjk4MTQ4MCwibmJmIjoxNzgyOTgxNDgwLCJleHAiOjE3ODMwNjc4ODAsInN1YiI6IjI5MzAzODAiLCJncmFudF90eXBlIjoiIiwiYWNjb3VudF9pZCI6MjI2OTk4NTIsImJhc2VfZG9tYWluIjoiYW1vY3JtLnJ1IiwidmVyc2lvbiI6Miwic2NvcGVzIjpbInB1c2hfbm90aWZpY2F0aW9ucyIsImNybSIsIm5vdGlmaWNhdGlvbnMiXSwiaGFzaF91dWlkIjoiYTM4Y2M1ZjItYjY2MC00ZTY0LWJlODItMzUwZWI1ZDE4YmQwIiwiYXBpX2RvbWFpbiI6ImFwaS1hLmFtb2NybS5ydSJ9.Qu0SrQ67Snk8-WDkAHB3nPrape-O-rItp-7FNpzs9LxWaA_DlykHTIuMeLlnUkx6cmU6EdYrkRJaJkoPOUlZYoI1VhfsFyI2rbp8FWNNxg53zQ2r6uhbys1C1B--gu_xxht5p60_Rgq3pT80ILtu-A_185mfgoMf0vTIsTOSv750JFcLVY6yOdOwRKIsq6LHwHkijqnmP-t6LtFCjjmohJZVtdKeyf7Ese1jAiVVMVXiAUQK3Op53JPcXGOrftw5thO3OU-jZRLFLRvzmmy-zkPAHZzi3t2oZMnhLWaR2uclJCaGJVnxYrwnot2pwQc2nd1JZ5YnDKr_YPqUS6_SSQ\"})","file":"/home/ytvmclwh/document.amocrm.md/src/Models/Docs.php","line":121} {"uid":"a435eba"}
[2026-07-02 11:38:10] docflow.DEBUG: GAS raw response {"raw":"[object] (stdClass: {\"code\":1,\"url\":\"https://docs.google.com/open?id=1nRllAZVzfe8uME28oY3XqfFjYIfVVhIPdmaHKtI-IFA\",\"file_id\":\"1nRllAZVzfe8uME28oY3XqfFjYIfVVhIPdmaHKtI-IFA\",\"error\":\"\",\"vars\":\"\"})"} {"uid":"ab96664"}
[2026-07-02 11:38:10] docflow.WARNING: AmoDrive generated-file move is not ready. {"fileId":"1nRllAZVzfe8uME28oY3XqfFjYIfVVhIPdmaHKtI-IFA","context":null} {"uid":"ab96664"}
[2026-07-02 11:38:11] docflow.DEBUG: AmoDrive docflow context request {"url":"https://google.emale.uno/api/docflow/google-context","query":{"account_id":"22699852","entity_id":"42281126","entity_type":"leads"}} {"uid":"a435eba"}
[2026-07-02 11:38: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=42281126&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/07/02 11:38:11</td>\r\n</tr>\r\n</table>\r\n<hr><center>tengine</center>\r\n</body>\r\n</html>\r\n"} {"uid":"a435eba"}
[2026-07-02 11:38:11] docflow.DEBUG: AmoDrive docflow context request {"url":"https://gd.glucose-dev.online/api/docflow/google-context","query":{"account_id":"22699852","entity_id":"42281126","entity_type":"leads"}} {"uid":"a435eba"}
[2026-07-02 11:38: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":"42281126","entityType":"leads","amodrive":{"installed":false,"widgetStatus":"uninstalled","amoAccountId":22699852,"accountHost":"emigrare.amocrm.ru","license":{"status":"active","configuredStatus":"active","expiresAt":"2026-08-20T10:16:56.291Z","isExpired":false,"isTrial":false,"isActive":true,"expiredByDate":false,"daysRemaining":50,"isLifetime":false},"licenseActive":false,"googleConnected":false,"googleEmail":null,"googleHasDriveScope":false,"googleHasDriveFileScope":false,"googleHasOwnershipScope":false,"readyForGeneratedFileMove":false,"readyForTransfer":false},"folder":{"id":"1JrvU1Xj2qu1ZGV50EqhojgQJvBRFc7_s","name":"42281126 - Lead #42281126","webViewLink":"https://drive.google.com/drive/folders/1JrvU1Xj2qu1ZGV50EqhojgQJvBRFc7_s"}}} {"uid":"a435eba"}
[2026-07-02 11:38:11] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://google.emale.uno/api/docflow/prepare-generated-doc","payload":{"account_id":"22699852","entity_id":"42281126","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"a435eba"}
[2026-07-02 11:38: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/07/02 11:38: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":"42281126","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"a435eba"}
[2026-07-02 11:38: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":"42281126","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"a435eba"}
[2026-07-02 11:38: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":"42281126","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"a435eba"}
[2026-07-02 11:38:11] docflow.DEBUG: GAS request {"url":"https://script.google.com/macros/s/AKfycbwrvOJD46zkuoTzdhpc1kulhV8jRfgQBFZfQ121nkIip_k8yKit4xrbWTOzaJ-C-Yed6w/exec","body":{"templateFileId":"1Lko3EG9_Yj6bZrxqQ3cZ8_aYZSQ7GKHEi61nkS6lkvg","accountId":"22699852","folderId":"1Us2AfskxgdA729xVr0F2vjZU9y5PlYDe","key":"~VTsK5dcnHc2cSSsjM$LFSjLlgbmJXwrp3R2P5nd","data":"{\"fileName\":\"Transcriere 492 20260702113811\",\"leadId\":\"42281126\",\"entities\":{\"\\u0441\\u0434\\u0435\\u043b\\u043a\\u0430\":{\"ID\":\"42281126\",\"\\u0421\\u0434\\u0435\\u043b\\u043a\\u0430_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Transcriere minor+ trascriere dv\",\"Lead_name\":\"Transcriere minor+ trascriere dv\",\"\\u0411\\u044e\\u0434\\u0436\\u0435\\u0442\":\"1200\",\"Budget\":\"1200\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"Cezara Cenusa\",\"Responsible\":\"Cezara Cenusa\"},\"lead\":{\"ID\":\"42281126\",\"\\u0421\\u0434\\u0435\\u043b\\u043a\\u0430_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Transcriere minor+ trascriere dv\",\"Lead_name\":\"Transcriere minor+ trascriere dv\",\"\\u0411\\u044e\\u0434\\u0436\\u0435\\u0442\":\"1200\",\"Budget\":\"1200\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"Cezara Cenusa\",\"Responsible\":\"Cezara Cenusa\"},\"\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442\":{\"Email\":\"olga.porchesku@yandex.ru\",\"Cet\\u0103\\u021benie de\\u021binut\\u0103\":\"RU\",\"Cum Comunicam\":\"Watsap\",\"Limba vorbita\":\"Rusa\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"79031266965\",\"TelegroupId_WZ\":\"@shanghainin\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Porcescu Olga\",\"Contact_name\":\"Porcescu Olga\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"Capanji Igor\",\"Responsible\":\"Capanji Igor\"},\"contact\":{\"Email\":\"olga.porchesku@yandex.ru\",\"Cet\\u0103\\u021benie de\\u021binut\\u0103\":\"RU\",\"Cum Comunicam\":\"Watsap\",\"Limba vorbita\":\"Rusa\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"79031266965\",\"TelegroupId_WZ\":\"@shanghainin\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Porcescu Olga\",\"Contact_name\":\"Porcescu Olga\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"Capanji Igor\",\"Responsible\":\"Capanji Igor\"},\"\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442\\u044b\":[{\"Email\":\"olga.porchesku@yandex.ru\",\"Cet\\u0103\\u021benie de\\u021binut\\u0103\":\"RU\",\"Cum Comunicam\":\"Watsap\",\"Limba vorbita\":\"Rusa\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"79031266965\",\"TelegroupId_WZ\":\"@shanghainin\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Porcescu Olga\",\"\\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\":\"02.07.2026\",\"\\u041d\\u043e\\u043c\\u0435\\u0440\":\"492\"},\"document\":{\"Date\":\"02.07.2026\",\"Number\":\"492\"}}}","edit":true}} {"uid":"a435eba"}
[2026-07-02 11:38:16] docflow.DEBUG: GAS raw response {"raw":"[object] (stdClass: {\"code\":1,\"url\":\"https://docs.google.com/open?id=1fqdYTffOewsRVob5lZkWS4WQqBS1xRL05irAxDNACZ8\",\"file_id\":\"1fqdYTffOewsRVob5lZkWS4WQqBS1xRL05irAxDNACZ8\",\"error\":\"\",\"vars\":\"\"})"} {"uid":"a435eba"}
[2026-07-02 11:38:16] docflow.WARNING: AmoDrive generated-file move is not ready. {"fileId":"1fqdYTffOewsRVob5lZkWS4WQqBS1xRL05irAxDNACZ8","context":null} {"uid":"a435eba"}
[2026-07-02 11:39:47] docflow.INFO: Apel createDoc {"data":{"amoAccountId":"22699852","amoUserId":null,"amoEntityId":"42281126","amoEntityType":"2","templateId":"11515","corporateEntityId":"","settlementAccountId":"","is_signed":null,"gdi":null,"number":null,"currentAmoUserId":null,"lang":"ru"}} {"uid":"cbfa294"}
[2026-07-02 11:39:47] docflow.INFO: Token is valid for account 22699852. [] {"uid":"cbfa294"}
[2026-07-02 11:39:47] docflow.DEBUG: getClientAuth returned {"auth":"[object] (stdClass: {\"domain\":\"emigrare.amocrm.ru\",\"access_token\":\"eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImp0aSI6IjljYjJmODA4YTU0Mzk1ZTEzNzgxOWNhZGZlYWZmNWU0NTUyMDFjZDMwNWFkYWZjZDBjNjE1NjkwMmJjNWMyNGQ4ZWZkOGRjZjIzNmE2ZDc3In0.eyJhdWQiOiIwZDY0ZGZmYi1lNTRiLTQ0OGYtOWZiZi1iYWYyMjUxYTExZGIiLCJqdGkiOiI5Y2IyZjgwOGE1NDM5NWUxMzc4MTljYWRmZWFmZjVlNDU1MjAxY2QzMDVhZGFmY2QwYzYxNTY5MDJiYzVjMjRkOGVmZDhkY2YyMzZhNmQ3NyIsImlhdCI6MTc4Mjk4MTQ4MCwibmJmIjoxNzgyOTgxNDgwLCJleHAiOjE3ODMwNjc4ODAsInN1YiI6IjI5MzAzODAiLCJncmFudF90eXBlIjoiIiwiYWNjb3VudF9pZCI6MjI2OTk4NTIsImJhc2VfZG9tYWluIjoiYW1vY3JtLnJ1IiwidmVyc2lvbiI6Miwic2NvcGVzIjpbInB1c2hfbm90aWZpY2F0aW9ucyIsImNybSIsIm5vdGlmaWNhdGlvbnMiXSwiaGFzaF91dWlkIjoiYTM4Y2M1ZjItYjY2MC00ZTY0LWJlODItMzUwZWI1ZDE4YmQwIiwiYXBpX2RvbWFpbiI6ImFwaS1hLmFtb2NybS5ydSJ9.Qu0SrQ67Snk8-WDkAHB3nPrape-O-rItp-7FNpzs9LxWaA_DlykHTIuMeLlnUkx6cmU6EdYrkRJaJkoPOUlZYoI1VhfsFyI2rbp8FWNNxg53zQ2r6uhbys1C1B--gu_xxht5p60_Rgq3pT80ILtu-A_185mfgoMf0vTIsTOSv750JFcLVY6yOdOwRKIsq6LHwHkijqnmP-t6LtFCjjmohJZVtdKeyf7Ese1jAiVVMVXiAUQK3Op53JPcXGOrftw5thO3OU-jZRLFLRvzmmy-zkPAHZzi3t2oZMnhLWaR2uclJCaGJVnxYrwnot2pwQc2nd1JZ5YnDKr_YPqUS6_SSQ\"})","file":"/home/ytvmclwh/document.amocrm.md/src/Models/Docs.php","line":121} {"uid":"cbfa294"}
[2026-07-02 11:39:50] docflow.DEBUG: AmoDrive docflow context request {"url":"https://google.emale.uno/api/docflow/google-context","query":{"account_id":"22699852","entity_id":"42281126","entity_type":"leads"}} {"uid":"cbfa294"}
[2026-07-02 11:39: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=42281126&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/07/02 11:39:50</td>\r\n</tr>\r\n</table>\r\n<hr><center>tengine</center>\r\n</body>\r\n</html>\r\n"} {"uid":"cbfa294"}
[2026-07-02 11:39:50] docflow.DEBUG: AmoDrive docflow context request {"url":"https://gd.glucose-dev.online/api/docflow/google-context","query":{"account_id":"22699852","entity_id":"42281126","entity_type":"leads"}} {"uid":"cbfa294"}
[2026-07-02 11:39: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":"42281126","entityType":"leads","amodrive":{"installed":false,"widgetStatus":"uninstalled","amoAccountId":22699852,"accountHost":"emigrare.amocrm.ru","license":{"status":"active","configuredStatus":"active","expiresAt":"2026-08-20T10:16:56.291Z","isExpired":false,"isTrial":false,"isActive":true,"expiredByDate":false,"daysRemaining":50,"isLifetime":false},"licenseActive":false,"googleConnected":false,"googleEmail":null,"googleHasDriveScope":false,"googleHasDriveFileScope":false,"googleHasOwnershipScope":false,"readyForGeneratedFileMove":false,"readyForTransfer":false},"folder":{"id":"1JrvU1Xj2qu1ZGV50EqhojgQJvBRFc7_s","name":"42281126 - Lead #42281126","webViewLink":"https://drive.google.com/drive/folders/1JrvU1Xj2qu1ZGV50EqhojgQJvBRFc7_s"}}} {"uid":"cbfa294"}
[2026-07-02 11:39:50] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://google.emale.uno/api/docflow/prepare-generated-doc","payload":{"account_id":"22699852","entity_id":"42281126","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"cbfa294"}
[2026-07-02 11:39: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/07/02 11:39: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":"42281126","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"cbfa294"}
[2026-07-02 11:39: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":"42281126","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"cbfa294"}
[2026-07-02 11:39: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":"42281126","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"cbfa294"}
[2026-07-02 11:39:50] docflow.DEBUG: GAS request {"url":"https://script.google.com/macros/s/AKfycbwrvOJD46zkuoTzdhpc1kulhV8jRfgQBFZfQ121nkIip_k8yKit4xrbWTOzaJ-C-Yed6w/exec","body":{"templateFileId":"1SzGXEYI835Reg_M1AEPsRjzZ3ZvcLb1cGlMSjWjG9_s","accountId":"22699852","folderId":"1Us2AfskxgdA729xVr0F2vjZU9y5PlYDe","key":"~VTsK5dcnHc2cSSsjM$LFSjLlgbmJXwrp3R2P5nd","data":"{\"fileName\":\"\\u0421\\u0447\\u0435\\u0442 \\u043d\\u0430 \\u043e\\u043f\\u043b\\u0430\\u0442\\u0443 (Sber) 1519 20260702113950\",\"leadId\":\"42281126\",\"entities\":{\"\\u0441\\u0434\\u0435\\u043b\\u043a\\u0430\":{\"ID\":\"42281126\",\"\\u0421\\u0434\\u0435\\u043b\\u043a\\u0430_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Transcriere minor+ trascriere dv\",\"Lead_name\":\"Transcriere minor+ trascriere dv\",\"\\u0411\\u044e\\u0434\\u0436\\u0435\\u0442\":\"1200\",\"Budget\":\"1200\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"Cezara Cenusa\",\"Responsible\":\"Cezara Cenusa\"},\"lead\":{\"ID\":\"42281126\",\"\\u0421\\u0434\\u0435\\u043b\\u043a\\u0430_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Transcriere minor+ trascriere dv\",\"Lead_name\":\"Transcriere minor+ trascriere dv\",\"\\u0411\\u044e\\u0434\\u0436\\u0435\\u0442\":\"1200\",\"Budget\":\"1200\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"Cezara Cenusa\",\"Responsible\":\"Cezara Cenusa\"},\"\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442\":{\"Email\":\"olga.porchesku@yandex.ru\",\"Cet\\u0103\\u021benie de\\u021binut\\u0103\":\"RU\",\"Cum Comunicam\":\"Watsap\",\"Limba vorbita\":\"Rusa\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"79031266965\",\"TelegroupId_WZ\":\"@shanghainin\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Porcescu Olga\",\"Contact_name\":\"Porcescu Olga\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"Capanji Igor\",\"Responsible\":\"Capanji Igor\"},\"contact\":{\"Email\":\"olga.porchesku@yandex.ru\",\"Cet\\u0103\\u021benie de\\u021binut\\u0103\":\"RU\",\"Cum Comunicam\":\"Watsap\",\"Limba vorbita\":\"Rusa\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"79031266965\",\"TelegroupId_WZ\":\"@shanghainin\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Porcescu Olga\",\"Contact_name\":\"Porcescu Olga\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"Capanji Igor\",\"Responsible\":\"Capanji Igor\"},\"\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442\\u044b\":[{\"Email\":\"olga.porchesku@yandex.ru\",\"Cet\\u0103\\u021benie de\\u021binut\\u0103\":\"RU\",\"Cum Comunicam\":\"Watsap\",\"Limba vorbita\":\"Rusa\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"79031266965\",\"TelegroupId_WZ\":\"@shanghainin\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Porcescu Olga\",\"\\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\":\"02.07.2026\",\"\\u041d\\u043e\\u043c\\u0435\\u0440\":\"1519\"},\"document\":{\"Date\":\"02.07.2026\",\"Number\":\"1519\"}}}","edit":true}} {"uid":"cbfa294"}
[2026-07-02 11:39:57] docflow.DEBUG: GAS raw response {"raw":"[object] (stdClass: {\"code\":1,\"url\":\"https://docs.google.com/open?id=12DMz7yM9UCLx4gcolWr0hb50jZBWaKTZ-ewLF6yJMi0\",\"file_id\":\"12DMz7yM9UCLx4gcolWr0hb50jZBWaKTZ-ewLF6yJMi0\",\"error\":\"\",\"vars\":\"\"})"} {"uid":"cbfa294"}
[2026-07-02 11:39:57] docflow.WARNING: AmoDrive generated-file move is not ready. {"fileId":"12DMz7yM9UCLx4gcolWr0hb50jZBWaKTZ-ewLF6yJMi0","context":null} {"uid":"cbfa294"}
[2026-07-02 11:40:59] docflow.INFO: Apel createDoc {"data":{"amoAccountId":"22699852","amoUserId":null,"amoEntityId":"41830004","amoEntityType":"2","templateId":"11495","corporateEntityId":"","settlementAccountId":"","is_signed":null,"gdi":null,"number":null,"currentAmoUserId":null,"lang":"ru"}} {"uid":"8034526"}
[2026-07-02 11:41:01] docflow.INFO: Token is valid for account 22699852. [] {"uid":"8034526"}
[2026-07-02 11:41:01] docflow.DEBUG: getClientAuth returned {"auth":"[object] (stdClass: {\"domain\":\"emigrare.amocrm.ru\",\"access_token\":\"eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImp0aSI6IjljYjJmODA4YTU0Mzk1ZTEzNzgxOWNhZGZlYWZmNWU0NTUyMDFjZDMwNWFkYWZjZDBjNjE1NjkwMmJjNWMyNGQ4ZWZkOGRjZjIzNmE2ZDc3In0.eyJhdWQiOiIwZDY0ZGZmYi1lNTRiLTQ0OGYtOWZiZi1iYWYyMjUxYTExZGIiLCJqdGkiOiI5Y2IyZjgwOGE1NDM5NWUxMzc4MTljYWRmZWFmZjVlNDU1MjAxY2QzMDVhZGFmY2QwYzYxNTY5MDJiYzVjMjRkOGVmZDhkY2YyMzZhNmQ3NyIsImlhdCI6MTc4Mjk4MTQ4MCwibmJmIjoxNzgyOTgxNDgwLCJleHAiOjE3ODMwNjc4ODAsInN1YiI6IjI5MzAzODAiLCJncmFudF90eXBlIjoiIiwiYWNjb3VudF9pZCI6MjI2OTk4NTIsImJhc2VfZG9tYWluIjoiYW1vY3JtLnJ1IiwidmVyc2lvbiI6Miwic2NvcGVzIjpbInB1c2hfbm90aWZpY2F0aW9ucyIsImNybSIsIm5vdGlmaWNhdGlvbnMiXSwiaGFzaF91dWlkIjoiYTM4Y2M1ZjItYjY2MC00ZTY0LWJlODItMzUwZWI1ZDE4YmQwIiwiYXBpX2RvbWFpbiI6ImFwaS1hLmFtb2NybS5ydSJ9.Qu0SrQ67Snk8-WDkAHB3nPrape-O-rItp-7FNpzs9LxWaA_DlykHTIuMeLlnUkx6cmU6EdYrkRJaJkoPOUlZYoI1VhfsFyI2rbp8FWNNxg53zQ2r6uhbys1C1B--gu_xxht5p60_Rgq3pT80ILtu-A_185mfgoMf0vTIsTOSv750JFcLVY6yOdOwRKIsq6LHwHkijqnmP-t6LtFCjjmohJZVtdKeyf7Ese1jAiVVMVXiAUQK3Op53JPcXGOrftw5thO3OU-jZRLFLRvzmmy-zkPAHZzi3t2oZMnhLWaR2uclJCaGJVnxYrwnot2pwQc2nd1JZ5YnDKr_YPqUS6_SSQ\"})","file":"/home/ytvmclwh/document.amocrm.md/src/Models/Docs.php","line":121} {"uid":"8034526"}
[2026-07-02 11:41:03] docflow.DEBUG: AmoDrive docflow context request {"url":"https://google.emale.uno/api/docflow/google-context","query":{"account_id":"22699852","entity_id":"41830004","entity_type":"leads"}} {"uid":"8034526"}
[2026-07-02 11:41:03] docflow.WARNING: AmoDrive docflow context request failed {"url":"https://google.emale.uno/api/docflow/google-context","http_code":null,"error":"HTTP/2 400 ","response":"<!DOCTYPE HTML PUBLIC \"-//IETF//DTD HTML 2.0//EN\">\r\n<html>\r\n<head><title>400 Bad Request</title></head>\r\n<body>\r\n<center><h1>400 Bad Request</h1></center>\r\n Sorry for the inconvenience.<br/>\r\nPlease report this message and include the following information to us.<br/>\r\nThank you very much!</p>\r\n<table>\r\n<tr>\r\n<td>URL:</td>\r\n<td>https://gd.glucose-dev.online/api/docflow/google-context?account_id=22699852&amp;entity_id=41830004&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/07/02 11:41:04</td>\r\n</tr>\r\n</table>\r\n<hr><center>tengine</center>\r\n</body>\r\n</html>\r\n"} {"uid":"8034526"}
[2026-07-02 11:41:03] docflow.DEBUG: AmoDrive docflow context request {"url":"https://gd.glucose-dev.online/api/docflow/google-context","query":{"account_id":"22699852","entity_id":"41830004","entity_type":"leads"}} {"uid":"8034526"}
[2026-07-02 11:41:03] docflow.WARNING: AmoDrive docflow context response is not ready, trying next backend. {"url":"https://gd.glucose-dev.online/api/docflow/google-context","payload":{"ok":true,"accountId":22699852,"entityId":"41830004","entityType":"leads","amodrive":{"installed":false,"widgetStatus":"uninstalled","amoAccountId":22699852,"accountHost":"emigrare.amocrm.ru","license":{"status":"active","configuredStatus":"active","expiresAt":"2026-08-20T10:16:56.291Z","isExpired":false,"isTrial":false,"isActive":true,"expiredByDate":false,"daysRemaining":50,"isLifetime":false},"licenseActive":false,"googleConnected":false,"googleEmail":null,"googleHasDriveScope":false,"googleHasDriveFileScope":false,"googleHasOwnershipScope":false,"readyForGeneratedFileMove":false,"readyForTransfer":false},"folder":null}} {"uid":"8034526"}
[2026-07-02 11:41:03] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://google.emale.uno/api/docflow/prepare-generated-doc","payload":{"account_id":"22699852","entity_id":"41830004","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"8034526"}
[2026-07-02 11:41: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/07/02 11:41:04</td>\r\n</tr>\r\n</table>\r\n<hr><center>tengine</center>\r\n</body>\r\n</html>\r\n","payload":{"account_id":"22699852","entity_id":"41830004","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"8034526"}
[2026-07-02 11:41:04] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://gd.glucose-dev.online/api/docflow/prepare-generated-doc","payload":{"account_id":"22699852","entity_id":"41830004","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"8034526"}
[2026-07-02 11:41:04] docflow.WARNING: AmoDrive prepare-generated-doc request failed {"url":"https://gd.glucose-dev.online/api/docflow/prepare-generated-doc","http_code":null,"error":"HTTP/2 404 ","response":"[object] (stdClass: {\"ok\":false,\"error\":\"AmoDrive is not installed for this account.\",\"accountId\":22699852})","payload":{"account_id":"22699852","entity_id":"41830004","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"8034526"}
[2026-07-02 11:41:04] 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) 263 20260702114103\",\"leadId\":\"41830004\",\"entities\":{\"\\u0441\\u0434\\u0435\\u043b\\u043a\\u0430\":{\"Suma \\u20ac\":\"0\",\"ID\":\"41830004\",\"\\u0421\\u0434\\u0435\\u043b\\u043a\\u0430_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Cet.Md\",\"Lead_name\":\"Cet.Md\",\"\\u0411\\u044e\\u0434\\u0436\\u0435\\u0442\":\"0\",\"Budget\":\"0\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"Marina Negruta\",\"Responsible\":\"Marina Negruta\"},\"lead\":{\"Suma \\u20ac\":\"0\",\"ID\":\"41830004\",\"\\u0421\\u0434\\u0435\\u043b\\u043a\\u0430_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Cet.Md\",\"Lead_name\":\"Cet.Md\",\"\\u0411\\u044e\\u0434\\u0436\\u0435\\u0442\":\"0\",\"Budget\":\"0\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"Marina Negruta\",\"Responsible\":\"Marina Negruta\"},\"\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442\":{\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"77056427346\",\"Email\":\"Aleksandrolar4@gmail.com\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"\\u0410\\u043b\\u0435\\u043a\\u0441\\u0430\\u043d\\u0434\\u0440 \\u041e\\u043b\\u0430\\u0440\\u044c\",\"Contact_name\":\"\\u0410\\u043b\\u0435\\u043a\\u0441\\u0430\\u043d\\u0434\\u0440 \\u041e\\u043b\\u0430\\u0440\\u044c\",\"\\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\":\"77056427346\",\"Email\":\"Aleksandrolar4@gmail.com\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"\\u0410\\u043b\\u0435\\u043a\\u0441\\u0430\\u043d\\u0434\\u0440 \\u041e\\u043b\\u0430\\u0440\\u044c\",\"Contact_name\":\"\\u0410\\u043b\\u0435\\u043a\\u0441\\u0430\\u043d\\u0434\\u0440 \\u041e\\u043b\\u0430\\u0440\\u044c\",\"\\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\":\"77056427346\",\"Email\":\"Aleksandrolar4@gmail.com\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"\\u0410\\u043b\\u0435\\u043a\\u0441\\u0430\\u043d\\u0434\\u0440 \\u041e\\u043b\\u0430\\u0440\\u044c\",\"\\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\":\"02.07.2026\",\"\\u041d\\u043e\\u043c\\u0435\\u0440\":\"263\"},\"document\":{\"Date\":\"02.07.2026\",\"Number\":\"263\"}}}","edit":true}} {"uid":"8034526"}
[2026-07-02 11:41:11] docflow.DEBUG: GAS raw response {"raw":"[object] (stdClass: {\"code\":1,\"url\":\"https://docs.google.com/open?id=1hbADwB5siiRt5aBPPUyCZd4gHaKXNBmlJep4b11Nykw\",\"file_id\":\"1hbADwB5siiRt5aBPPUyCZd4gHaKXNBmlJep4b11Nykw\",\"error\":\"\",\"vars\":\"\"})"} {"uid":"8034526"}
[2026-07-02 11:41:11] docflow.WARNING: AmoDrive generated-file move is not ready. {"fileId":"1hbADwB5siiRt5aBPPUyCZd4gHaKXNBmlJep4b11Nykw","context":null} {"uid":"8034526"}
[2026-07-02 11:44:12] docflow.INFO: Apel createDoc {"data":{"amoAccountId":"22699852","amoUserId":null,"amoEntityId":"41830004","amoEntityType":"2","templateId":"11515","corporateEntityId":"","settlementAccountId":"","is_signed":null,"gdi":null,"number":null,"currentAmoUserId":null,"lang":"ru"}} {"uid":"1f6a27c"}
[2026-07-02 11:44:13] docflow.INFO: Token is valid for account 22699852. [] {"uid":"1f6a27c"}
[2026-07-02 11:44:13] docflow.DEBUG: getClientAuth returned {"auth":"[object] (stdClass: {\"domain\":\"emigrare.amocrm.ru\",\"access_token\":\"eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImp0aSI6IjljYjJmODA4YTU0Mzk1ZTEzNzgxOWNhZGZlYWZmNWU0NTUyMDFjZDMwNWFkYWZjZDBjNjE1NjkwMmJjNWMyNGQ4ZWZkOGRjZjIzNmE2ZDc3In0.eyJhdWQiOiIwZDY0ZGZmYi1lNTRiLTQ0OGYtOWZiZi1iYWYyMjUxYTExZGIiLCJqdGkiOiI5Y2IyZjgwOGE1NDM5NWUxMzc4MTljYWRmZWFmZjVlNDU1MjAxY2QzMDVhZGFmY2QwYzYxNTY5MDJiYzVjMjRkOGVmZDhkY2YyMzZhNmQ3NyIsImlhdCI6MTc4Mjk4MTQ4MCwibmJmIjoxNzgyOTgxNDgwLCJleHAiOjE3ODMwNjc4ODAsInN1YiI6IjI5MzAzODAiLCJncmFudF90eXBlIjoiIiwiYWNjb3VudF9pZCI6MjI2OTk4NTIsImJhc2VfZG9tYWluIjoiYW1vY3JtLnJ1IiwidmVyc2lvbiI6Miwic2NvcGVzIjpbInB1c2hfbm90aWZpY2F0aW9ucyIsImNybSIsIm5vdGlmaWNhdGlvbnMiXSwiaGFzaF91dWlkIjoiYTM4Y2M1ZjItYjY2MC00ZTY0LWJlODItMzUwZWI1ZDE4YmQwIiwiYXBpX2RvbWFpbiI6ImFwaS1hLmFtb2NybS5ydSJ9.Qu0SrQ67Snk8-WDkAHB3nPrape-O-rItp-7FNpzs9LxWaA_DlykHTIuMeLlnUkx6cmU6EdYrkRJaJkoPOUlZYoI1VhfsFyI2rbp8FWNNxg53zQ2r6uhbys1C1B--gu_xxht5p60_Rgq3pT80ILtu-A_185mfgoMf0vTIsTOSv750JFcLVY6yOdOwRKIsq6LHwHkijqnmP-t6LtFCjjmohJZVtdKeyf7Ese1jAiVVMVXiAUQK3Op53JPcXGOrftw5thO3OU-jZRLFLRvzmmy-zkPAHZzi3t2oZMnhLWaR2uclJCaGJVnxYrwnot2pwQc2nd1JZ5YnDKr_YPqUS6_SSQ\"})","file":"/home/ytvmclwh/document.amocrm.md/src/Models/Docs.php","line":121} {"uid":"1f6a27c"}
[2026-07-02 11:44:16] docflow.DEBUG: AmoDrive docflow context request {"url":"https://google.emale.uno/api/docflow/google-context","query":{"account_id":"22699852","entity_id":"41830004","entity_type":"leads"}} {"uid":"1f6a27c"}
[2026-07-02 11:44:16] docflow.WARNING: AmoDrive docflow context request failed {"url":"https://google.emale.uno/api/docflow/google-context","http_code":null,"error":"HTTP/2 400 ","response":"<!DOCTYPE HTML PUBLIC \"-//IETF//DTD HTML 2.0//EN\">\r\n<html>\r\n<head><title>400 Bad Request</title></head>\r\n<body>\r\n<center><h1>400 Bad Request</h1></center>\r\n Sorry for the inconvenience.<br/>\r\nPlease report this message and include the following information to us.<br/>\r\nThank you very much!</p>\r\n<table>\r\n<tr>\r\n<td>URL:</td>\r\n<td>https://gd.glucose-dev.online/api/docflow/google-context?account_id=22699852&amp;entity_id=41830004&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/07/02 11:44:16</td>\r\n</tr>\r\n</table>\r\n<hr><center>tengine</center>\r\n</body>\r\n</html>\r\n"} {"uid":"1f6a27c"}
[2026-07-02 11:44:16] docflow.DEBUG: AmoDrive docflow context request {"url":"https://gd.glucose-dev.online/api/docflow/google-context","query":{"account_id":"22699852","entity_id":"41830004","entity_type":"leads"}} {"uid":"1f6a27c"}
[2026-07-02 11:44:16] docflow.WARNING: AmoDrive docflow context response is not ready, trying next backend. {"url":"https://gd.glucose-dev.online/api/docflow/google-context","payload":{"ok":true,"accountId":22699852,"entityId":"41830004","entityType":"leads","amodrive":{"installed":false,"widgetStatus":"uninstalled","amoAccountId":22699852,"accountHost":"emigrare.amocrm.ru","license":{"status":"active","configuredStatus":"active","expiresAt":"2026-08-20T10:16:56.291Z","isExpired":false,"isTrial":false,"isActive":true,"expiredByDate":false,"daysRemaining":50,"isLifetime":false},"licenseActive":false,"googleConnected":false,"googleEmail":null,"googleHasDriveScope":false,"googleHasDriveFileScope":false,"googleHasOwnershipScope":false,"readyForGeneratedFileMove":false,"readyForTransfer":false},"folder":null}} {"uid":"1f6a27c"}
[2026-07-02 11:44:16] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://google.emale.uno/api/docflow/prepare-generated-doc","payload":{"account_id":"22699852","entity_id":"41830004","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"1f6a27c"}
[2026-07-02 11:44: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/07/02 11:44: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":"41830004","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"1f6a27c"}
[2026-07-02 11:44: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":"41830004","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"1f6a27c"}
[2026-07-02 11:44: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":"41830004","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"1f6a27c"}
[2026-07-02 11:44:16] 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) 1520 20260702114416\",\"leadId\":\"41830004\",\"entities\":{\"\\u0441\\u0434\\u0435\\u043b\\u043a\\u0430\":{\"Suma \\u20ac\":\"0\",\"ID\":\"41830004\",\"\\u0421\\u0434\\u0435\\u043b\\u043a\\u0430_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Cet.Md\",\"Lead_name\":\"Cet.Md\",\"\\u0411\\u044e\\u0434\\u0436\\u0435\\u0442\":\"0\",\"Budget\":\"0\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"Marina Negruta\",\"Responsible\":\"Marina Negruta\"},\"lead\":{\"Suma \\u20ac\":\"0\",\"ID\":\"41830004\",\"\\u0421\\u0434\\u0435\\u043b\\u043a\\u0430_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Cet.Md\",\"Lead_name\":\"Cet.Md\",\"\\u0411\\u044e\\u0434\\u0436\\u0435\\u0442\":\"0\",\"Budget\":\"0\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"Marina Negruta\",\"Responsible\":\"Marina Negruta\"},\"\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442\":{\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"77056427346\",\"Email\":\"Aleksandrolar4@gmail.com\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"\\u0410\\u043b\\u0435\\u043a\\u0441\\u0430\\u043d\\u0434\\u0440 \\u041e\\u043b\\u0430\\u0440\\u044c\",\"Contact_name\":\"\\u0410\\u043b\\u0435\\u043a\\u0441\\u0430\\u043d\\u0434\\u0440 \\u041e\\u043b\\u0430\\u0440\\u044c\",\"\\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\":\"77056427346\",\"Email\":\"Aleksandrolar4@gmail.com\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"\\u0410\\u043b\\u0435\\u043a\\u0441\\u0430\\u043d\\u0434\\u0440 \\u041e\\u043b\\u0430\\u0440\\u044c\",\"Contact_name\":\"\\u0410\\u043b\\u0435\\u043a\\u0441\\u0430\\u043d\\u0434\\u0440 \\u041e\\u043b\\u0430\\u0440\\u044c\",\"\\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\":\"77056427346\",\"Email\":\"Aleksandrolar4@gmail.com\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"\\u0410\\u043b\\u0435\\u043a\\u0441\\u0430\\u043d\\u0434\\u0440 \\u041e\\u043b\\u0430\\u0440\\u044c\",\"\\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\":\"02.07.2026\",\"\\u041d\\u043e\\u043c\\u0435\\u0440\":\"1520\"},\"document\":{\"Date\":\"02.07.2026\",\"Number\":\"1520\"}}}","edit":true}} {"uid":"1f6a27c"}
[2026-07-02 11:44:22] docflow.DEBUG: GAS raw response {"raw":"[object] (stdClass: {\"code\":1,\"url\":\"https://docs.google.com/open?id=1q3AaL6dt6nY1Ef59umh_pCECRo-l4mr52knvS2TyiKc\",\"file_id\":\"1q3AaL6dt6nY1Ef59umh_pCECRo-l4mr52knvS2TyiKc\",\"error\":\"\",\"vars\":\"\"})"} {"uid":"1f6a27c"}
[2026-07-02 11:44:22] docflow.WARNING: AmoDrive generated-file move is not ready. {"fileId":"1q3AaL6dt6nY1Ef59umh_pCECRo-l4mr52knvS2TyiKc","context":null} {"uid":"1f6a27c"}
[2026-07-02 12:31:36] docflow.INFO: Apel createDoc {"data":{"amoAccountId":"22699852","amoUserId":null,"amoEntityId":"42288088","amoEntityType":"2","templateId":"11528","corporateEntityId":"","settlementAccountId":"","is_signed":null,"gdi":null,"number":null,"currentAmoUserId":null,"lang":"ru"}} {"uid":"061cc22"}
[2026-07-02 12:31:36] docflow.INFO: Token is valid for account 22699852. [] {"uid":"061cc22"}
[2026-07-02 12:31:36] docflow.DEBUG: getClientAuth returned {"auth":"[object] (stdClass: {\"domain\":\"emigrare.amocrm.ru\",\"access_token\":\"eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImp0aSI6IjljYjJmODA4YTU0Mzk1ZTEzNzgxOWNhZGZlYWZmNWU0NTUyMDFjZDMwNWFkYWZjZDBjNjE1NjkwMmJjNWMyNGQ4ZWZkOGRjZjIzNmE2ZDc3In0.eyJhdWQiOiIwZDY0ZGZmYi1lNTRiLTQ0OGYtOWZiZi1iYWYyMjUxYTExZGIiLCJqdGkiOiI5Y2IyZjgwOGE1NDM5NWUxMzc4MTljYWRmZWFmZjVlNDU1MjAxY2QzMDVhZGFmY2QwYzYxNTY5MDJiYzVjMjRkOGVmZDhkY2YyMzZhNmQ3NyIsImlhdCI6MTc4Mjk4MTQ4MCwibmJmIjoxNzgyOTgxNDgwLCJleHAiOjE3ODMwNjc4ODAsInN1YiI6IjI5MzAzODAiLCJncmFudF90eXBlIjoiIiwiYWNjb3VudF9pZCI6MjI2OTk4NTIsImJhc2VfZG9tYWluIjoiYW1vY3JtLnJ1IiwidmVyc2lvbiI6Miwic2NvcGVzIjpbInB1c2hfbm90aWZpY2F0aW9ucyIsImNybSIsIm5vdGlmaWNhdGlvbnMiXSwiaGFzaF91dWlkIjoiYTM4Y2M1ZjItYjY2MC00ZTY0LWJlODItMzUwZWI1ZDE4YmQwIiwiYXBpX2RvbWFpbiI6ImFwaS1hLmFtb2NybS5ydSJ9.Qu0SrQ67Snk8-WDkAHB3nPrape-O-rItp-7FNpzs9LxWaA_DlykHTIuMeLlnUkx6cmU6EdYrkRJaJkoPOUlZYoI1VhfsFyI2rbp8FWNNxg53zQ2r6uhbys1C1B--gu_xxht5p60_Rgq3pT80ILtu-A_185mfgoMf0vTIsTOSv750JFcLVY6yOdOwRKIsq6LHwHkijqnmP-t6LtFCjjmohJZVtdKeyf7Ese1jAiVVMVXiAUQK3Op53JPcXGOrftw5thO3OU-jZRLFLRvzmmy-zkPAHZzi3t2oZMnhLWaR2uclJCaGJVnxYrwnot2pwQc2nd1JZ5YnDKr_YPqUS6_SSQ\"})","file":"/home/ytvmclwh/document.amocrm.md/src/Models/Docs.php","line":121} {"uid":"061cc22"}
[2026-07-02 12:31:39] docflow.DEBUG: AmoDrive docflow context request {"url":"https://google.emale.uno/api/docflow/google-context","query":{"account_id":"22699852","entity_id":"42288088","entity_type":"leads"}} {"uid":"061cc22"}
[2026-07-02 12:31:39] docflow.WARNING: AmoDrive docflow context request failed {"url":"https://google.emale.uno/api/docflow/google-context","http_code":null,"error":"HTTP/2 400 ","response":"<!DOCTYPE HTML PUBLIC \"-//IETF//DTD HTML 2.0//EN\">\r\n<html>\r\n<head><title>400 Bad Request</title></head>\r\n<body>\r\n<center><h1>400 Bad Request</h1></center>\r\n Sorry for the inconvenience.<br/>\r\nPlease report this message and include the following information to us.<br/>\r\nThank you very much!</p>\r\n<table>\r\n<tr>\r\n<td>URL:</td>\r\n<td>https://gd.glucose-dev.online/api/docflow/google-context?account_id=22699852&amp;entity_id=42288088&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/07/02 12:31:39</td>\r\n</tr>\r\n</table>\r\n<hr><center>tengine</center>\r\n</body>\r\n</html>\r\n"} {"uid":"061cc22"}
[2026-07-02 12:31:39] docflow.DEBUG: AmoDrive docflow context request {"url":"https://gd.glucose-dev.online/api/docflow/google-context","query":{"account_id":"22699852","entity_id":"42288088","entity_type":"leads"}} {"uid":"061cc22"}
[2026-07-02 12:31:39] docflow.WARNING: AmoDrive docflow context response is not ready, trying next backend. {"url":"https://gd.glucose-dev.online/api/docflow/google-context","payload":{"ok":true,"accountId":22699852,"entityId":"42288088","entityType":"leads","amodrive":{"installed":false,"widgetStatus":"uninstalled","amoAccountId":22699852,"accountHost":"emigrare.amocrm.ru","license":{"status":"active","configuredStatus":"active","expiresAt":"2026-08-20T10:16:56.291Z","isExpired":false,"isTrial":false,"isActive":true,"expiredByDate":false,"daysRemaining":50,"isLifetime":false},"licenseActive":false,"googleConnected":false,"googleEmail":null,"googleHasDriveScope":false,"googleHasDriveFileScope":false,"googleHasOwnershipScope":false,"readyForGeneratedFileMove":false,"readyForTransfer":false},"folder":{"id":"17DE9uzXWbWgbMgeW4gV8YLvk0HF9sgcL","name":"42288088 - Lead #42288088","webViewLink":"https://drive.google.com/drive/folders/17DE9uzXWbWgbMgeW4gV8YLvk0HF9sgcL"}}} {"uid":"061cc22"}
[2026-07-02 12:31:39] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://google.emale.uno/api/docflow/prepare-generated-doc","payload":{"account_id":"22699852","entity_id":"42288088","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"061cc22"}
[2026-07-02 12:31:39] docflow.WARNING: AmoDrive prepare-generated-doc request failed {"url":"https://google.emale.uno/api/docflow/prepare-generated-doc","http_code":null,"error":"HTTP/2 400 ","response":"<!DOCTYPE HTML PUBLIC \"-//IETF//DTD HTML 2.0//EN\">\r\n<html>\r\n<head><title>400 Bad Request</title></head>\r\n<body>\r\n<center><h1>400 Bad Request</h1></center>\r\n Sorry for the inconvenience.<br/>\r\nPlease report this message and include the following information to us.<br/>\r\nThank you very much!</p>\r\n<table>\r\n<tr>\r\n<td>URL:</td>\r\n<td>https://gd.glucose-dev.online/api/docflow/prepare-generated-doc</td>\r\n</tr>\r\n<tr>\r\n<td>Server:</td>\r\n<td>mail.glucose-dev.online</td>\r\n</tr>\r\n<tr>\r\n<td>Date:</td>\r\n<td>2026/07/02 12:31:39</td>\r\n</tr>\r\n</table>\r\n<hr><center>tengine</center>\r\n</body>\r\n</html>\r\n","payload":{"account_id":"22699852","entity_id":"42288088","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"061cc22"}
[2026-07-02 12:31:39] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://gd.glucose-dev.online/api/docflow/prepare-generated-doc","payload":{"account_id":"22699852","entity_id":"42288088","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"061cc22"}
[2026-07-02 12:31:39] docflow.WARNING: AmoDrive prepare-generated-doc request failed {"url":"https://gd.glucose-dev.online/api/docflow/prepare-generated-doc","http_code":null,"error":"HTTP/2 404 ","response":"[object] (stdClass: {\"ok\":false,\"error\":\"AmoDrive is not installed for this account.\",\"accountId\":22699852})","payload":{"account_id":"22699852","entity_id":"42288088","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"061cc22"}
[2026-07-02 12:31:39] 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) 132 20260702123139\",\"leadId\":\"42288088\",\"entities\":{\"\\u0441\\u0434\\u0435\\u043b\\u043a\\u0430\":{\"ID\":\"42288088\",\"\\u0421\\u0434\\u0435\\u043b\\u043a\\u0430_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Domiciliu 2 ani (13.07.2026-13.07.2029) + insotire ASP\",\"Lead_name\":\"Domiciliu 2 ani (13.07.2026-13.07.2029) + insotire ASP\",\"\\u0411\\u044e\\u0434\\u0436\\u0435\\u0442\":\"600\",\"Budget\":\"600\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"Cezara Cenusa\",\"Responsible\":\"Cezara Cenusa\"},\"lead\":{\"ID\":\"42288088\",\"\\u0421\\u0434\\u0435\\u043b\\u043a\\u0430_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Domiciliu 2 ani (13.07.2026-13.07.2029) + insotire ASP\",\"Lead_name\":\"Domiciliu 2 ani (13.07.2026-13.07.2029) + insotire ASP\",\"\\u0411\\u044e\\u0434\\u0436\\u0435\\u0442\":\"600\",\"Budget\":\"600\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"Cezara Cenusa\",\"Responsible\":\"Cezara Cenusa\"},\"\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442\":{\"Cet\\u0103\\u021benie de\\u021binut\\u0103\":\"RU\",\"Cum Comunicam\":\"Watsap\",\"Limba vorbita\":\"Rusa\",\"Email\":\"tceyko_v@mail.ru\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"79062389585\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Vadim Teico\",\"Contact_name\":\"Vadim Teico\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"Victor Ochinciuc\",\"Responsible\":\"Victor Ochinciuc\"},\"contact\":{\"Cet\\u0103\\u021benie de\\u021binut\\u0103\":\"RU\",\"Cum Comunicam\":\"Watsap\",\"Limba vorbita\":\"Rusa\",\"Email\":\"tceyko_v@mail.ru\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"79062389585\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Vadim Teico\",\"Contact_name\":\"Vadim Teico\",\"\\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\":[{\"Cet\\u0103\\u021benie de\\u021binut\\u0103\":\"RU\",\"Cum Comunicam\":\"Watsap\",\"Limba vorbita\":\"Rusa\",\"Email\":\"tceyko_v@mail.ru\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"79062389585\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Vadim Teico\",\"\\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\":\"02.07.2026\",\"\\u041d\\u043e\\u043c\\u0435\\u0440\":\"132\"},\"document\":{\"Date\":\"02.07.2026\",\"Number\":\"132\"}}}","edit":true}} {"uid":"061cc22"}
[2026-07-02 12:31:46] docflow.DEBUG: GAS raw response {"raw":"[object] (stdClass: {\"code\":1,\"url\":\"https://docs.google.com/open?id=1NoaZ--IXkuV3I89adzcHYXTTHSeVi1vzBn9jBkiEvK4\",\"file_id\":\"1NoaZ--IXkuV3I89adzcHYXTTHSeVi1vzBn9jBkiEvK4\",\"error\":\"\",\"vars\":\"\"})"} {"uid":"061cc22"}
[2026-07-02 12:31:46] docflow.WARNING: AmoDrive generated-file move is not ready. {"fileId":"1NoaZ--IXkuV3I89adzcHYXTTHSeVi1vzBn9jBkiEvK4","context":null} {"uid":"061cc22"}
[2026-07-02 12:34:37] docflow.INFO: Apel createDoc {"data":{"amoAccountId":"22699852","amoUserId":null,"amoEntityId":"42281126","amoEntityType":"2","templateId":"11528","corporateEntityId":"","settlementAccountId":"","is_signed":null,"gdi":null,"number":null,"currentAmoUserId":null,"lang":"ru"}} {"uid":"084be1b"}
[2026-07-02 12:34:37] docflow.INFO: Token is valid for account 22699852. [] {"uid":"084be1b"}
[2026-07-02 12:34:37] docflow.DEBUG: getClientAuth returned {"auth":"[object] (stdClass: {\"domain\":\"emigrare.amocrm.ru\",\"access_token\":\"eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImp0aSI6IjljYjJmODA4YTU0Mzk1ZTEzNzgxOWNhZGZlYWZmNWU0NTUyMDFjZDMwNWFkYWZjZDBjNjE1NjkwMmJjNWMyNGQ4ZWZkOGRjZjIzNmE2ZDc3In0.eyJhdWQiOiIwZDY0ZGZmYi1lNTRiLTQ0OGYtOWZiZi1iYWYyMjUxYTExZGIiLCJqdGkiOiI5Y2IyZjgwOGE1NDM5NWUxMzc4MTljYWRmZWFmZjVlNDU1MjAxY2QzMDVhZGFmY2QwYzYxNTY5MDJiYzVjMjRkOGVmZDhkY2YyMzZhNmQ3NyIsImlhdCI6MTc4Mjk4MTQ4MCwibmJmIjoxNzgyOTgxNDgwLCJleHAiOjE3ODMwNjc4ODAsInN1YiI6IjI5MzAzODAiLCJncmFudF90eXBlIjoiIiwiYWNjb3VudF9pZCI6MjI2OTk4NTIsImJhc2VfZG9tYWluIjoiYW1vY3JtLnJ1IiwidmVyc2lvbiI6Miwic2NvcGVzIjpbInB1c2hfbm90aWZpY2F0aW9ucyIsImNybSIsIm5vdGlmaWNhdGlvbnMiXSwiaGFzaF91dWlkIjoiYTM4Y2M1ZjItYjY2MC00ZTY0LWJlODItMzUwZWI1ZDE4YmQwIiwiYXBpX2RvbWFpbiI6ImFwaS1hLmFtb2NybS5ydSJ9.Qu0SrQ67Snk8-WDkAHB3nPrape-O-rItp-7FNpzs9LxWaA_DlykHTIuMeLlnUkx6cmU6EdYrkRJaJkoPOUlZYoI1VhfsFyI2rbp8FWNNxg53zQ2r6uhbys1C1B--gu_xxht5p60_Rgq3pT80ILtu-A_185mfgoMf0vTIsTOSv750JFcLVY6yOdOwRKIsq6LHwHkijqnmP-t6LtFCjjmohJZVtdKeyf7Ese1jAiVVMVXiAUQK3Op53JPcXGOrftw5thO3OU-jZRLFLRvzmmy-zkPAHZzi3t2oZMnhLWaR2uclJCaGJVnxYrwnot2pwQc2nd1JZ5YnDKr_YPqUS6_SSQ\"})","file":"/home/ytvmclwh/document.amocrm.md/src/Models/Docs.php","line":121} {"uid":"084be1b"}
[2026-07-02 12:34:40] docflow.DEBUG: AmoDrive docflow context request {"url":"https://google.emale.uno/api/docflow/google-context","query":{"account_id":"22699852","entity_id":"42281126","entity_type":"leads"}} {"uid":"084be1b"}
[2026-07-02 12:34:40] docflow.WARNING: AmoDrive docflow context request failed {"url":"https://google.emale.uno/api/docflow/google-context","http_code":null,"error":"HTTP/2 400 ","response":"<!DOCTYPE HTML PUBLIC \"-//IETF//DTD HTML 2.0//EN\">\r\n<html>\r\n<head><title>400 Bad Request</title></head>\r\n<body>\r\n<center><h1>400 Bad Request</h1></center>\r\n Sorry for the inconvenience.<br/>\r\nPlease report this message and include the following information to us.<br/>\r\nThank you very much!</p>\r\n<table>\r\n<tr>\r\n<td>URL:</td>\r\n<td>https://gd.glucose-dev.online/api/docflow/google-context?account_id=22699852&amp;entity_id=42281126&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/07/02 12:34:40</td>\r\n</tr>\r\n</table>\r\n<hr><center>tengine</center>\r\n</body>\r\n</html>\r\n"} {"uid":"084be1b"}
[2026-07-02 12:34:40] docflow.DEBUG: AmoDrive docflow context request {"url":"https://gd.glucose-dev.online/api/docflow/google-context","query":{"account_id":"22699852","entity_id":"42281126","entity_type":"leads"}} {"uid":"084be1b"}
[2026-07-02 12:34:40] docflow.WARNING: AmoDrive docflow context response is not ready, trying next backend. {"url":"https://gd.glucose-dev.online/api/docflow/google-context","payload":{"ok":true,"accountId":22699852,"entityId":"42281126","entityType":"leads","amodrive":{"installed":false,"widgetStatus":"uninstalled","amoAccountId":22699852,"accountHost":"emigrare.amocrm.ru","license":{"status":"active","configuredStatus":"active","expiresAt":"2026-08-20T10:16:56.291Z","isExpired":false,"isTrial":false,"isActive":true,"expiredByDate":false,"daysRemaining":50,"isLifetime":false},"licenseActive":false,"googleConnected":false,"googleEmail":null,"googleHasDriveScope":false,"googleHasDriveFileScope":false,"googleHasOwnershipScope":false,"readyForGeneratedFileMove":false,"readyForTransfer":false},"folder":{"id":"1JrvU1Xj2qu1ZGV50EqhojgQJvBRFc7_s","name":"42281126 - Lead #42281126","webViewLink":"https://drive.google.com/drive/folders/1JrvU1Xj2qu1ZGV50EqhojgQJvBRFc7_s"}}} {"uid":"084be1b"}
[2026-07-02 12:34:40] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://google.emale.uno/api/docflow/prepare-generated-doc","payload":{"account_id":"22699852","entity_id":"42281126","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"084be1b"}
[2026-07-02 12:34:40] docflow.WARNING: AmoDrive prepare-generated-doc request failed {"url":"https://google.emale.uno/api/docflow/prepare-generated-doc","http_code":null,"error":"HTTP/2 400 ","response":"<!DOCTYPE HTML PUBLIC \"-//IETF//DTD HTML 2.0//EN\">\r\n<html>\r\n<head><title>400 Bad Request</title></head>\r\n<body>\r\n<center><h1>400 Bad Request</h1></center>\r\n Sorry for the inconvenience.<br/>\r\nPlease report this message and include the following information to us.<br/>\r\nThank you very much!</p>\r\n<table>\r\n<tr>\r\n<td>URL:</td>\r\n<td>https://gd.glucose-dev.online/api/docflow/prepare-generated-doc</td>\r\n</tr>\r\n<tr>\r\n<td>Server:</td>\r\n<td>mail.glucose-dev.online</td>\r\n</tr>\r\n<tr>\r\n<td>Date:</td>\r\n<td>2026/07/02 12:34:40</td>\r\n</tr>\r\n</table>\r\n<hr><center>tengine</center>\r\n</body>\r\n</html>\r\n","payload":{"account_id":"22699852","entity_id":"42281126","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"084be1b"}
[2026-07-02 12:34:40] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://gd.glucose-dev.online/api/docflow/prepare-generated-doc","payload":{"account_id":"22699852","entity_id":"42281126","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"084be1b"}
[2026-07-02 12:34:40] docflow.WARNING: AmoDrive prepare-generated-doc request failed {"url":"https://gd.glucose-dev.online/api/docflow/prepare-generated-doc","http_code":null,"error":"HTTP/2 404 ","response":"[object] (stdClass: {\"ok\":false,\"error\":\"AmoDrive is not installed for this account.\",\"accountId\":22699852})","payload":{"account_id":"22699852","entity_id":"42281126","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"084be1b"}
[2026-07-02 12:34:40] 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) 133 20260702123440\",\"leadId\":\"42281126\",\"entities\":{\"\\u0441\\u0434\\u0435\\u043b\\u043a\\u0430\":{\"ID\":\"42281126\",\"\\u0421\\u0434\\u0435\\u043b\\u043a\\u0430_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Transcriere minor + DV\",\"Lead_name\":\"Transcriere minor + DV\",\"\\u0411\\u044e\\u0434\\u0436\\u0435\\u0442\":\"1200\",\"Budget\":\"1200\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"Cezara Cenusa\",\"Responsible\":\"Cezara Cenusa\"},\"lead\":{\"ID\":\"42281126\",\"\\u0421\\u0434\\u0435\\u043b\\u043a\\u0430_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Transcriere minor + DV\",\"Lead_name\":\"Transcriere minor + DV\",\"\\u0411\\u044e\\u0434\\u0436\\u0435\\u0442\":\"1200\",\"Budget\":\"1200\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"Cezara Cenusa\",\"Responsible\":\"Cezara Cenusa\"},\"\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442\":{\"Email\":\"olga.porchesku@yandex.ru\",\"Cet\\u0103\\u021benie de\\u021binut\\u0103\":\"RU\",\"Cum Comunicam\":\"Watsap\",\"Limba vorbita\":\"Rusa\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"79031266965\",\"TelegroupId_WZ\":\"@shanghainin\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Porcescu Olga\",\"Contact_name\":\"Porcescu Olga\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"Capanji Igor\",\"Responsible\":\"Capanji Igor\"},\"contact\":{\"Email\":\"olga.porchesku@yandex.ru\",\"Cet\\u0103\\u021benie de\\u021binut\\u0103\":\"RU\",\"Cum Comunicam\":\"Watsap\",\"Limba vorbita\":\"Rusa\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"79031266965\",\"TelegroupId_WZ\":\"@shanghainin\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Porcescu Olga\",\"Contact_name\":\"Porcescu Olga\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"Capanji Igor\",\"Responsible\":\"Capanji Igor\"},\"\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442\\u044b\":[{\"Email\":\"olga.porchesku@yandex.ru\",\"Cet\\u0103\\u021benie de\\u021binut\\u0103\":\"RU\",\"Cum Comunicam\":\"Watsap\",\"Limba vorbita\":\"Rusa\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"79031266965\",\"TelegroupId_WZ\":\"@shanghainin\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Porcescu Olga\",\"\\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\":\"02.07.2026\",\"\\u041d\\u043e\\u043c\\u0435\\u0440\":\"133\"},\"document\":{\"Date\":\"02.07.2026\",\"Number\":\"133\"}}}","edit":true}} {"uid":"084be1b"}
[2026-07-02 12:34:46] docflow.DEBUG: GAS raw response {"raw":"[object] (stdClass: {\"code\":1,\"url\":\"https://docs.google.com/open?id=1cLC0cjNyDkIXeenIs60N16KuDLprXFnMJd9wsMqpHcQ\",\"file_id\":\"1cLC0cjNyDkIXeenIs60N16KuDLprXFnMJd9wsMqpHcQ\",\"error\":\"\",\"vars\":\"\"})"} {"uid":"084be1b"}
[2026-07-02 12:34:46] docflow.WARNING: AmoDrive generated-file move is not ready. {"fileId":"1cLC0cjNyDkIXeenIs60N16KuDLprXFnMJd9wsMqpHcQ","context":null} {"uid":"084be1b"}
[2026-07-02 13:35:53] docflow.INFO: Apel createDoc {"data":{"amoAccountId":"32990686","amoUserId":null,"amoEntityId":"45304479","amoEntityType":"2","templateId":"11625","corporateEntityId":"","settlementAccountId":"","is_signed":null,"gdi":null,"number":null,"currentAmoUserId":null,"lang":"ru"}} {"uid":"3deb888"}
[2026-07-02 13:35:53] docflow.INFO: Token is valid for account 32990686. [] {"uid":"3deb888"}
[2026-07-02 13:35:53] docflow.DEBUG: getClientAuth returned {"auth":"[object] (stdClass: {\"domain\":\"eurosanteh.amocrm.ru\",\"access_token\":\"eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImp0aSI6ImRjZGY4YWJiMzM0MzdiZjRjNzBjMDRlOTFlNDU1YjhmYjkwNmYzOTYwMzk4NGNjMWQ0MDI1ODUzYjA2ZjNiMDkzZGNjMDFlNDQyNTg0Njk5In0.eyJhdWQiOiIwZDY0ZGZmYi1lNTRiLTQ0OGYtOWZiZi1iYWYyMjUxYTExZGIiLCJqdGkiOiJkY2RmOGFiYjMzNDM3YmY0YzcwYzA0ZTkxZTQ1NWI4ZmI5MDZmMzk2MDM5ODRjYzFkNDAyNTg1M2IwNmYzYjA5M2RjYzAxZTQ0MjU4NDY5OSIsImlhdCI6MTc4Mjk2ODU2MywibmJmIjoxNzgyOTY4NTYzLCJleHAiOjE3ODMwNTQ5NjMsInN1YiI6IjEzNjg3MzAyIiwiZ3JhbnRfdHlwZSI6IiIsImFjY291bnRfaWQiOjMyOTkwNjg2LCJiYXNlX2RvbWFpbiI6ImFtb2NybS5ydSIsInZlcnNpb24iOjIsInNjb3BlcyI6WyJwdXNoX25vdGlmaWNhdGlvbnMiLCJjcm0iLCJub3RpZmljYXRpb25zIl0sImhhc2hfdXVpZCI6IjdiNTI2ZDM3LWU5YTUtNGY1MC04NjU5LWFlZjI0ZWMwN2I2MSIsImFwaV9kb21haW4iOiJhcGktYi5hbW9jcm0ucnUifQ.TUP7Bi9R1Z5_ifh6PBDea_wrLQhhuCDBfhbmV-UeB8v1A_eof6DM3ni90PqyHwjy-_bogoujgXVHGFtlHknt3UAHPf6orhat2LJuNkb1ZzlvwNfKzfOLlCslLtvwCmvId5Cp6PjIEgZpsSZPb6j1XFwBF8mUsYJAs6DQafAhxJbwwdtepg3Rn7z1bok0wAy62df4psIRq7Bi9WiSVCb7CyeiZj8UiZxEFNIbusJI6k3zpKBXtykwNv4c2JwIgpQjuwAfKUvcfKgTUV6ZCXuj_wbQnkvtSXt1yjhO82intYpA8QkC7YC1Z2KUwCu90CACwX4piq8dxBla--hEqiVNGg\"})","file":"/home/ytvmclwh/document.amocrm.md/src/Models/Docs.php","line":121} {"uid":"3deb888"}
[2026-07-02 13:35:56] docflow.DEBUG: AmoDrive docflow context request {"url":"https://google.emale.uno/api/docflow/google-context","query":{"account_id":"32990686","entity_id":"45304479","entity_type":"leads"}} {"uid":"3deb888"}
[2026-07-02 13:35:56] docflow.WARNING: AmoDrive docflow context request failed {"url":"https://google.emale.uno/api/docflow/google-context","http_code":null,"error":"HTTP/2 400 ","response":"<!DOCTYPE HTML PUBLIC \"-//IETF//DTD HTML 2.0//EN\">\r\n<html>\r\n<head><title>400 Bad Request</title></head>\r\n<body>\r\n<center><h1>400 Bad Request</h1></center>\r\n Sorry for the inconvenience.<br/>\r\nPlease report this message and include the following information to us.<br/>\r\nThank you very much!</p>\r\n<table>\r\n<tr>\r\n<td>URL:</td>\r\n<td>https://gd.glucose-dev.online/api/docflow/google-context?account_id=32990686&amp;entity_id=45304479&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/07/02 13:35:56</td>\r\n</tr>\r\n</table>\r\n<hr><center>tengine</center>\r\n</body>\r\n</html>\r\n"} {"uid":"3deb888"}
[2026-07-02 13:35:56] docflow.DEBUG: AmoDrive docflow context request {"url":"https://gd.glucose-dev.online/api/docflow/google-context","query":{"account_id":"32990686","entity_id":"45304479","entity_type":"leads"}} {"uid":"3deb888"}
[2026-07-02 13:35:56] docflow.WARNING: AmoDrive docflow context response is not ready, trying next backend. {"url":"https://gd.glucose-dev.online/api/docflow/google-context","payload":{"ok":true,"accountId":32990686,"entityId":"45304479","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":"3deb888"}
[2026-07-02 13:35:56] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://google.emale.uno/api/docflow/prepare-generated-doc","payload":{"account_id":"32990686","entity_id":"45304479","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"3deb888"}
[2026-07-02 13:35: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/07/02 13:35: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":"32990686","entity_id":"45304479","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"3deb888"}
[2026-07-02 13:35:56] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://gd.glucose-dev.online/api/docflow/prepare-generated-doc","payload":{"account_id":"32990686","entity_id":"45304479","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"3deb888"}
[2026-07-02 13:35:56] docflow.WARNING: AmoDrive prepare-generated-doc request failed {"url":"https://gd.glucose-dev.online/api/docflow/prepare-generated-doc","http_code":null,"error":"HTTP/2 404 ","response":"[object] (stdClass: {\"ok\":false,\"error\":\"AmoDrive is not installed for this account.\",\"accountId\":32990686})","payload":{"account_id":"32990686","entity_id":"45304479","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"3deb888"}
[2026-07-02 13:35:56] docflow.DEBUG: GAS request {"url":"https://script.google.com/macros/s/AKfycbwrvOJD46zkuoTzdhpc1kulhV8jRfgQBFZfQ121nkIip_k8yKit4xrbWTOzaJ-C-Yed6w/exec","body":{"templateFileId":"1AjK4khA9mRlFDVy4RXRqHAg2GTFWJYC-Gac1Mx3OLnA","accountId":"32990686","folderId":"1Us2AfskxgdA729xVr0F2vjZU9y5PlYDe","key":"~VTsK5dcnHc2cSSsjM$LFSjLlgbmJXwrp3R2P5nd","data":"{\"fileName\":\"ALL FOR ALL \\u041d\\u0430\\u0440\\u044f\\u0434 \\u043d\\u0430 \\u0432\\u044b\\u043f\\u043e\\u043b\\u043d\\u0435\\u043d\\u0438\\u0435 \\u0440\\u0430\\u0431\\u043e\\u0442 439 20260702133556\",\"leadId\":\"45304479\",\"entities\":{\"\\u0441\\u0434\\u0435\\u043b\\u043a\\u0430\":{\"\\u0414\\u0430\\u0442\\u0430 \\u0432\\u0438\\u0437\\u0438\\u0442\\u0430\":\"16.09.2023\",\"\\u0414\\u0430\\u0442\\u0430 \\u043c\\u043e\\u043d\\u0442\\u0430\\u0436\\u0430 (\\u0411\\u0414)\":\"16.09.2023\",\"\\u041c\\u043e\\u0434\\u0435\\u043b\\u044c \\u043e\\u0431\\u043e\\u0440\\u0443\\u0434\\u043e\\u0432\\u0430\\u043d\\u0438\\u044f 1\":\"Gree Amber 18\",\"\\u0412\\u0438\\u0434 \\u0440\\u0430\\u0431\\u043e\\u0442\\u044b (\\u0411\\u0414)\":\"\\u0443\\u0441\\u0442\\u0430\\u043d\\u043e\\u0432\\u043a\\u0430 \\u043a\\u043e\\u043d\\u0434\",\"\\u041d\\u043e\\u043c\\u0435\\u0440 \\u043a\\u043e\\u043d\\u0442\\u0440\\u0430\\u043a\\u0442\\u0430\":\"V 1012\",\"\\u0424\\u0418\\u041e \\u043c\\u043e\\u043d\\u0442\\u0430\\u0436\\u043d\\u0438\\u043a\\u0430 (\\u0411\\u0414)\":\"\\u0411\\u0443\\u043b\\u0433\\u0430\\u0440\\u044c \\u0412.\",\"ID\":\"45304479\",\"\\u0421\\u0434\\u0435\\u043b\\u043a\\u0430_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"\\u0443\\u0441\\u0442\\u0430\\u043d\\u043e\\u0432\\u043a\\u0430 \\u043a\\u043e\\u043d\\u0434\",\"Lead_name\":\"\\u0443\\u0441\\u0442\\u0430\\u043d\\u043e\\u0432\\u043a\\u0430 \\u043a\\u043e\\u043d\\u0434\",\"\\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 \\u0432\\u0438\\u0437\\u0438\\u0442\\u0430\":\"16.09.2023\",\"\\u0414\\u0430\\u0442\\u0430 \\u043c\\u043e\\u043d\\u0442\\u0430\\u0436\\u0430 (\\u0411\\u0414)\":\"16.09.2023\",\"\\u041c\\u043e\\u0434\\u0435\\u043b\\u044c \\u043e\\u0431\\u043e\\u0440\\u0443\\u0434\\u043e\\u0432\\u0430\\u043d\\u0438\\u044f 1\":\"Gree Amber 18\",\"\\u0412\\u0438\\u0434 \\u0440\\u0430\\u0431\\u043e\\u0442\\u044b (\\u0411\\u0414)\":\"\\u0443\\u0441\\u0442\\u0430\\u043d\\u043e\\u0432\\u043a\\u0430 \\u043a\\u043e\\u043d\\u0434\",\"\\u041d\\u043e\\u043c\\u0435\\u0440 \\u043a\\u043e\\u043d\\u0442\\u0440\\u0430\\u043a\\u0442\\u0430\":\"V 1012\",\"\\u0424\\u0418\\u041e \\u043c\\u043e\\u043d\\u0442\\u0430\\u0436\\u043d\\u0438\\u043a\\u0430 (\\u0411\\u0414)\":\"\\u0411\\u0443\\u043b\\u0433\\u0430\\u0440\\u044c \\u0412.\",\"ID\":\"45304479\",\"\\u0421\\u0434\\u0435\\u043b\\u043a\\u0430_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"\\u0443\\u0441\\u0442\\u0430\\u043d\\u043e\\u0432\\u043a\\u0430 \\u043a\\u043e\\u043d\\u0434\",\"Lead_name\":\"\\u0443\\u0441\\u0442\\u0430\\u043d\\u043e\\u0432\\u043a\\u0430 \\u043a\\u043e\\u043d\\u0434\",\"\\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\":\"200104236200\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"37369348425\",\"\\u0410\\u0434\\u0440\\u0435\\u0441\":\"str Bucurescti 90 et 4 ap 68\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Victoria Iurcenco\",\"Contact_name\":\"Victoria Iurcenco\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"\\u0410\\u0441\\u0442\\u0430\\u043f\\u0435\\u043d\\u043a\\u043e\\u0432\\u0430 \\u042e\\u043b\\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\":\"200104236200\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"37369348425\",\"\\u0410\\u0434\\u0440\\u0435\\u0441\":\"str Bucurescti 90 et 4 ap 68\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Victoria Iurcenco\",\"Contact_name\":\"Victoria Iurcenco\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"\\u0410\\u0441\\u0442\\u0430\\u043f\\u0435\\u043d\\u043a\\u043e\\u0432\\u0430 \\u042e\\u043b\\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\":\"200104236200\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"37369348425\",\"\\u0410\\u0434\\u0440\\u0435\\u0441\":\"str Bucurescti 90 et 4 ap 68\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Victoria Iurcenco\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\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\":\"02.07.2026\",\"\\u041d\\u043e\\u043c\\u0435\\u0440\":\"439\"},\"document\":{\"Date\":\"02.07.2026\",\"Number\":\"439\"}}}","edit":true}} {"uid":"3deb888"}
[2026-07-02 13:36:02] docflow.DEBUG: GAS raw response {"raw":"[object] (stdClass: {\"code\":1,\"url\":\"https://docs.google.com/open?id=160EFx6lTWnLMfivU3xngtX7qUKwxIKKsjP8ps_jGtqg\",\"file_id\":\"160EFx6lTWnLMfivU3xngtX7qUKwxIKKsjP8ps_jGtqg\",\"error\":\"\",\"vars\":\"\"})"} {"uid":"3deb888"}
[2026-07-02 13:36:02] docflow.WARNING: AmoDrive generated-file move is not ready. {"fileId":"160EFx6lTWnLMfivU3xngtX7qUKwxIKKsjP8ps_jGtqg","context":null} {"uid":"3deb888"}
[2026-07-02 13:38:19] docflow.INFO: Apel createDoc {"data":{"amoAccountId":"22699852","amoUserId":null,"amoEntityId":"42288986","amoEntityType":"2","templateId":"11487","corporateEntityId":"","settlementAccountId":"","is_signed":null,"gdi":null,"number":null,"currentAmoUserId":null,"lang":"ru"}} {"uid":"c5aa718"}
[2026-07-02 13:38:20] docflow.INFO: Token is valid for account 22699852. [] {"uid":"c5aa718"}
[2026-07-02 13:38:20] docflow.DEBUG: getClientAuth returned {"auth":"[object] (stdClass: {\"domain\":\"emigrare.amocrm.ru\",\"access_token\":\"eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImp0aSI6IjljYjJmODA4YTU0Mzk1ZTEzNzgxOWNhZGZlYWZmNWU0NTUyMDFjZDMwNWFkYWZjZDBjNjE1NjkwMmJjNWMyNGQ4ZWZkOGRjZjIzNmE2ZDc3In0.eyJhdWQiOiIwZDY0ZGZmYi1lNTRiLTQ0OGYtOWZiZi1iYWYyMjUxYTExZGIiLCJqdGkiOiI5Y2IyZjgwOGE1NDM5NWUxMzc4MTljYWRmZWFmZjVlNDU1MjAxY2QzMDVhZGFmY2QwYzYxNTY5MDJiYzVjMjRkOGVmZDhkY2YyMzZhNmQ3NyIsImlhdCI6MTc4Mjk4MTQ4MCwibmJmIjoxNzgyOTgxNDgwLCJleHAiOjE3ODMwNjc4ODAsInN1YiI6IjI5MzAzODAiLCJncmFudF90eXBlIjoiIiwiYWNjb3VudF9pZCI6MjI2OTk4NTIsImJhc2VfZG9tYWluIjoiYW1vY3JtLnJ1IiwidmVyc2lvbiI6Miwic2NvcGVzIjpbInB1c2hfbm90aWZpY2F0aW9ucyIsImNybSIsIm5vdGlmaWNhdGlvbnMiXSwiaGFzaF91dWlkIjoiYTM4Y2M1ZjItYjY2MC00ZTY0LWJlODItMzUwZWI1ZDE4YmQwIiwiYXBpX2RvbWFpbiI6ImFwaS1hLmFtb2NybS5ydSJ9.Qu0SrQ67Snk8-WDkAHB3nPrape-O-rItp-7FNpzs9LxWaA_DlykHTIuMeLlnUkx6cmU6EdYrkRJaJkoPOUlZYoI1VhfsFyI2rbp8FWNNxg53zQ2r6uhbys1C1B--gu_xxht5p60_Rgq3pT80ILtu-A_185mfgoMf0vTIsTOSv750JFcLVY6yOdOwRKIsq6LHwHkijqnmP-t6LtFCjjmohJZVtdKeyf7Ese1jAiVVMVXiAUQK3Op53JPcXGOrftw5thO3OU-jZRLFLRvzmmy-zkPAHZzi3t2oZMnhLWaR2uclJCaGJVnxYrwnot2pwQc2nd1JZ5YnDKr_YPqUS6_SSQ\"})","file":"/home/ytvmclwh/document.amocrm.md/src/Models/Docs.php","line":121} {"uid":"c5aa718"}
[2026-07-02 13:38:26] docflow.DEBUG: AmoDrive docflow context request {"url":"https://google.emale.uno/api/docflow/google-context","query":{"account_id":"22699852","entity_id":"42288986","entity_type":"leads"}} {"uid":"c5aa718"}
[2026-07-02 13:38:26] docflow.WARNING: AmoDrive docflow context request failed {"url":"https://google.emale.uno/api/docflow/google-context","http_code":null,"error":"HTTP/2 400 ","response":"<!DOCTYPE HTML PUBLIC \"-//IETF//DTD HTML 2.0//EN\">\r\n<html>\r\n<head><title>400 Bad Request</title></head>\r\n<body>\r\n<center><h1>400 Bad Request</h1></center>\r\n Sorry for the inconvenience.<br/>\r\nPlease report this message and include the following information to us.<br/>\r\nThank you very much!</p>\r\n<table>\r\n<tr>\r\n<td>URL:</td>\r\n<td>https://gd.glucose-dev.online/api/docflow/google-context?account_id=22699852&amp;entity_id=42288986&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/07/02 13:38:26</td>\r\n</tr>\r\n</table>\r\n<hr><center>tengine</center>\r\n</body>\r\n</html>\r\n"} {"uid":"c5aa718"}
[2026-07-02 13:38:26] docflow.DEBUG: AmoDrive docflow context request {"url":"https://gd.glucose-dev.online/api/docflow/google-context","query":{"account_id":"22699852","entity_id":"42288986","entity_type":"leads"}} {"uid":"c5aa718"}
[2026-07-02 13:38:26] docflow.WARNING: AmoDrive docflow context response is not ready, trying next backend. {"url":"https://gd.glucose-dev.online/api/docflow/google-context","payload":{"ok":true,"accountId":22699852,"entityId":"42288986","entityType":"leads","amodrive":{"installed":false,"widgetStatus":"uninstalled","amoAccountId":22699852,"accountHost":"emigrare.amocrm.ru","license":{"status":"active","configuredStatus":"active","expiresAt":"2026-08-20T10:16:56.291Z","isExpired":false,"isTrial":false,"isActive":true,"expiredByDate":false,"daysRemaining":49,"isLifetime":false},"licenseActive":false,"googleConnected":false,"googleEmail":null,"googleHasDriveScope":false,"googleHasDriveFileScope":false,"googleHasOwnershipScope":false,"readyForGeneratedFileMove":false,"readyForTransfer":false},"folder":{"id":"141BxqY02QODxhkJBOJrf7B-sURR1EO2N","name":"42288986 - Lead #42288986","webViewLink":"https://drive.google.com/drive/folders/141BxqY02QODxhkJBOJrf7B-sURR1EO2N"}}} {"uid":"c5aa718"}
[2026-07-02 13:38:26] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://google.emale.uno/api/docflow/prepare-generated-doc","payload":{"account_id":"22699852","entity_id":"42288986","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"c5aa718"}
[2026-07-02 13:38: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/07/02 13:38:26</td>\r\n</tr>\r\n</table>\r\n<hr><center>tengine</center>\r\n</body>\r\n</html>\r\n","payload":{"account_id":"22699852","entity_id":"42288986","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"c5aa718"}
[2026-07-02 13:38:26] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://gd.glucose-dev.online/api/docflow/prepare-generated-doc","payload":{"account_id":"22699852","entity_id":"42288986","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"c5aa718"}
[2026-07-02 13:38:26] docflow.WARNING: AmoDrive prepare-generated-doc request failed {"url":"https://gd.glucose-dev.online/api/docflow/prepare-generated-doc","http_code":null,"error":"HTTP/2 404 ","response":"[object] (stdClass: {\"ok\":false,\"error\":\"AmoDrive is not installed for this account.\",\"accountId\":22699852})","payload":{"account_id":"22699852","entity_id":"42288986","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"c5aa718"}
[2026-07-02 13:38:26] 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 1216 20260702133826\",\"leadId\":\"42288986\",\"entities\":{\"\\u0441\\u0434\\u0435\\u043b\\u043a\\u0430\":{\"Manager front office\":\"Cezara Cenusa\",\"Nota SQL\":\"1\",\"\\u041b\\u041f\\u0420\":\"1\",\"\\u041e\\u0441\\u043e\\u0437\\u043d\\u0430\\u043d\\u043d\\u0430\\u044f \\u043f\\u043e\\u0442\\u0440\\u0435\\u0431\\u043d\\u043e\\u0441\\u0442\\u044c\":\"1\",\"\\u0414\\u043e\\u0432\\u0435\\u0440\\u0438\\u0435\":\"1\",\"\\u0424\\u0438\\u043d. \\u0432\\u043e\\u0437\\u043c\\u043e\\u0436\\u043d\\u043e\\u0441\\u0442\\u044c\":\"1\",\"\\u041c\\u043e\\u0442\\u0438\\u0432\\u0430\\u0446\\u0438\\u044f \\u043a\\u0443\\u043f\\u0438\\u0442\\u044c \\u0437\\u0434\\u0435\\u0441\\u044c \\u0438 \\u0441\\u0435\\u0439\\u0447\\u0430\\u0441\":\"1\",\"Nota Consultatie Efectuata\":\"1\",\"Suma \\u20ac\":\"0\",\"#Manager Front\":\"Cezara Cenusa\",\"Urm\\u0103torul contact\":\"2026-07-02 12:12:00\",\"Mod achitare\":\"Transfer firm\\u0103\",\"Suma avans\":\"318\",\"Manager Juridic\":\"Dascal Anatolie\",\"#Manager Jurist\":\"Dascal Anatolie\",\"ID\":\"42288986\",\"\\u0421\\u0434\\u0435\\u043b\\u043a\\u0430_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"sub. MD \\/ duplicat NS + traduceri\",\"Lead_name\":\"sub. MD \\/ duplicat NS + traduceri\",\"\\u0411\\u044e\\u0434\\u0436\\u0435\\u0442\":\"318\",\"Budget\":\"318\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"Cezara Cenusa\",\"Responsible\":\"Cezara Cenusa\"},\"lead\":{\"Manager front office\":\"Cezara Cenusa\",\"Nota SQL\":\"1\",\"\\u041b\\u041f\\u0420\":\"1\",\"\\u041e\\u0441\\u043e\\u0437\\u043d\\u0430\\u043d\\u043d\\u0430\\u044f \\u043f\\u043e\\u0442\\u0440\\u0435\\u0431\\u043d\\u043e\\u0441\\u0442\\u044c\":\"1\",\"\\u0414\\u043e\\u0432\\u0435\\u0440\\u0438\\u0435\":\"1\",\"\\u0424\\u0438\\u043d. \\u0432\\u043e\\u0437\\u043c\\u043e\\u0436\\u043d\\u043e\\u0441\\u0442\\u044c\":\"1\",\"\\u041c\\u043e\\u0442\\u0438\\u0432\\u0430\\u0446\\u0438\\u044f \\u043a\\u0443\\u043f\\u0438\\u0442\\u044c \\u0437\\u0434\\u0435\\u0441\\u044c \\u0438 \\u0441\\u0435\\u0439\\u0447\\u0430\\u0441\":\"1\",\"Nota Consultatie Efectuata\":\"1\",\"Suma \\u20ac\":\"0\",\"#Manager Front\":\"Cezara Cenusa\",\"Urm\\u0103torul contact\":\"2026-07-02 12:12:00\",\"Mod achitare\":\"Transfer firm\\u0103\",\"Suma avans\":\"318\",\"Manager Juridic\":\"Dascal Anatolie\",\"#Manager Jurist\":\"Dascal Anatolie\",\"ID\":\"42288986\",\"\\u0421\\u0434\\u0435\\u043b\\u043a\\u0430_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"sub. MD \\/ duplicat NS + traduceri\",\"Lead_name\":\"sub. MD \\/ duplicat NS + traduceri\",\"\\u0411\\u044e\\u0434\\u0436\\u0435\\u0442\":\"318\",\"Budget\":\"318\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"Cezara Cenusa\",\"Responsible\":\"Cezara Cenusa\"},\"\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442\":{\"TelegramId_WZ\":\"8498679059\",\"TelegramUsername_WZ\":\"@merberi\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"+79825222201\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Andrei Gavriliuc\",\"Contact_name\":\"Andrei Gavriliuc\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"Cezara Cenusa\",\"Responsible\":\"Cezara Cenusa\"},\"contact\":{\"TelegramId_WZ\":\"8498679059\",\"TelegramUsername_WZ\":\"@merberi\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"+79825222201\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Andrei Gavriliuc\",\"Contact_name\":\"Andrei Gavriliuc\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"Cezara Cenusa\",\"Responsible\":\"Cezara Cenusa\"},\"\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442\\u044b\":[{\"TelegramId_WZ\":\"8498679059\",\"TelegramUsername_WZ\":\"@merberi\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"+79825222201\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Andrei Gavriliuc\",\"\\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\":\"02.07.2026\",\"\\u041d\\u043e\\u043c\\u0435\\u0440\":\"1216\"},\"document\":{\"Date\":\"02.07.2026\",\"Number\":\"1216\"}}}","edit":true}} {"uid":"c5aa718"}
[2026-07-02 13:38:34] docflow.DEBUG: GAS raw response {"raw":"[object] (stdClass: {\"code\":1,\"url\":\"https://docs.google.com/open?id=1uxgDbJZ3JJHyAfnQ2t9sM0EPpQP14F81aKeLen5vGbY\",\"file_id\":\"1uxgDbJZ3JJHyAfnQ2t9sM0EPpQP14F81aKeLen5vGbY\",\"error\":\"\",\"vars\":\"\"})"} {"uid":"c5aa718"}
[2026-07-02 13:38:34] docflow.WARNING: AmoDrive generated-file move is not ready. {"fileId":"1uxgDbJZ3JJHyAfnQ2t9sM0EPpQP14F81aKeLen5vGbY","context":null} {"uid":"c5aa718"}
[2026-07-02 13:58:58] docflow.INFO: Apel createDoc {"data":{"amoAccountId":"22699852","amoUserId":null,"amoEntityId":"42288838","amoEntityType":"2","templateId":"11495","corporateEntityId":"","settlementAccountId":"","is_signed":null,"gdi":null,"number":null,"currentAmoUserId":null,"lang":"ru"}} {"uid":"2bc56a8"}
[2026-07-02 13:58:58] docflow.INFO: Token is valid for account 22699852. [] {"uid":"2bc56a8"}
[2026-07-02 13:58:58] docflow.DEBUG: getClientAuth returned {"auth":"[object] (stdClass: {\"domain\":\"emigrare.amocrm.ru\",\"access_token\":\"eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImp0aSI6IjljYjJmODA4YTU0Mzk1ZTEzNzgxOWNhZGZlYWZmNWU0NTUyMDFjZDMwNWFkYWZjZDBjNjE1NjkwMmJjNWMyNGQ4ZWZkOGRjZjIzNmE2ZDc3In0.eyJhdWQiOiIwZDY0ZGZmYi1lNTRiLTQ0OGYtOWZiZi1iYWYyMjUxYTExZGIiLCJqdGkiOiI5Y2IyZjgwOGE1NDM5NWUxMzc4MTljYWRmZWFmZjVlNDU1MjAxY2QzMDVhZGFmY2QwYzYxNTY5MDJiYzVjMjRkOGVmZDhkY2YyMzZhNmQ3NyIsImlhdCI6MTc4Mjk4MTQ4MCwibmJmIjoxNzgyOTgxNDgwLCJleHAiOjE3ODMwNjc4ODAsInN1YiI6IjI5MzAzODAiLCJncmFudF90eXBlIjoiIiwiYWNjb3VudF9pZCI6MjI2OTk4NTIsImJhc2VfZG9tYWluIjoiYW1vY3JtLnJ1IiwidmVyc2lvbiI6Miwic2NvcGVzIjpbInB1c2hfbm90aWZpY2F0aW9ucyIsImNybSIsIm5vdGlmaWNhdGlvbnMiXSwiaGFzaF91dWlkIjoiYTM4Y2M1ZjItYjY2MC00ZTY0LWJlODItMzUwZWI1ZDE4YmQwIiwiYXBpX2RvbWFpbiI6ImFwaS1hLmFtb2NybS5ydSJ9.Qu0SrQ67Snk8-WDkAHB3nPrape-O-rItp-7FNpzs9LxWaA_DlykHTIuMeLlnUkx6cmU6EdYrkRJaJkoPOUlZYoI1VhfsFyI2rbp8FWNNxg53zQ2r6uhbys1C1B--gu_xxht5p60_Rgq3pT80ILtu-A_185mfgoMf0vTIsTOSv750JFcLVY6yOdOwRKIsq6LHwHkijqnmP-t6LtFCjjmohJZVtdKeyf7Ese1jAiVVMVXiAUQK3Op53JPcXGOrftw5thO3OU-jZRLFLRvzmmy-zkPAHZzi3t2oZMnhLWaR2uclJCaGJVnxYrwnot2pwQc2nd1JZ5YnDKr_YPqUS6_SSQ\"})","file":"/home/ytvmclwh/document.amocrm.md/src/Models/Docs.php","line":121} {"uid":"2bc56a8"}
[2026-07-02 13:59:03] docflow.DEBUG: AmoDrive docflow context request {"url":"https://google.emale.uno/api/docflow/google-context","query":{"account_id":"22699852","entity_id":"42288838","entity_type":"leads"}} {"uid":"2bc56a8"}
[2026-07-02 13:59:03] docflow.WARNING: AmoDrive docflow context request failed {"url":"https://google.emale.uno/api/docflow/google-context","http_code":null,"error":"HTTP/2 400 ","response":"<!DOCTYPE HTML PUBLIC \"-//IETF//DTD HTML 2.0//EN\">\r\n<html>\r\n<head><title>400 Bad Request</title></head>\r\n<body>\r\n<center><h1>400 Bad Request</h1></center>\r\n Sorry for the inconvenience.<br/>\r\nPlease report this message and include the following information to us.<br/>\r\nThank you very much!</p>\r\n<table>\r\n<tr>\r\n<td>URL:</td>\r\n<td>https://gd.glucose-dev.online/api/docflow/google-context?account_id=22699852&amp;entity_id=42288838&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/07/02 13:59:03</td>\r\n</tr>\r\n</table>\r\n<hr><center>tengine</center>\r\n</body>\r\n</html>\r\n"} {"uid":"2bc56a8"}
[2026-07-02 13:59:03] docflow.DEBUG: AmoDrive docflow context request {"url":"https://gd.glucose-dev.online/api/docflow/google-context","query":{"account_id":"22699852","entity_id":"42288838","entity_type":"leads"}} {"uid":"2bc56a8"}
[2026-07-02 13:59:03] docflow.WARNING: AmoDrive docflow context response is not ready, trying next backend. {"url":"https://gd.glucose-dev.online/api/docflow/google-context","payload":{"ok":true,"accountId":22699852,"entityId":"42288838","entityType":"leads","amodrive":{"installed":false,"widgetStatus":"uninstalled","amoAccountId":22699852,"accountHost":"emigrare.amocrm.ru","license":{"status":"active","configuredStatus":"active","expiresAt":"2026-08-20T10:16:56.291Z","isExpired":false,"isTrial":false,"isActive":true,"expiredByDate":false,"daysRemaining":49,"isLifetime":false},"licenseActive":false,"googleConnected":false,"googleEmail":null,"googleHasDriveScope":false,"googleHasDriveFileScope":false,"googleHasOwnershipScope":false,"readyForGeneratedFileMove":false,"readyForTransfer":false},"folder":null}} {"uid":"2bc56a8"}
[2026-07-02 13:59:03] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://google.emale.uno/api/docflow/prepare-generated-doc","payload":{"account_id":"22699852","entity_id":"42288838","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"2bc56a8"}
[2026-07-02 13:59:03] docflow.WARNING: AmoDrive prepare-generated-doc request failed {"url":"https://google.emale.uno/api/docflow/prepare-generated-doc","http_code":null,"error":"HTTP/2 400 ","response":"<!DOCTYPE HTML PUBLIC \"-//IETF//DTD HTML 2.0//EN\">\r\n<html>\r\n<head><title>400 Bad Request</title></head>\r\n<body>\r\n<center><h1>400 Bad Request</h1></center>\r\n Sorry for the inconvenience.<br/>\r\nPlease report this message and include the following information to us.<br/>\r\nThank you very much!</p>\r\n<table>\r\n<tr>\r\n<td>URL:</td>\r\n<td>https://gd.glucose-dev.online/api/docflow/prepare-generated-doc</td>\r\n</tr>\r\n<tr>\r\n<td>Server:</td>\r\n<td>mail.glucose-dev.online</td>\r\n</tr>\r\n<tr>\r\n<td>Date:</td>\r\n<td>2026/07/02 13:59:04</td>\r\n</tr>\r\n</table>\r\n<hr><center>tengine</center>\r\n</body>\r\n</html>\r\n","payload":{"account_id":"22699852","entity_id":"42288838","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"2bc56a8"}
[2026-07-02 13:59:03] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://gd.glucose-dev.online/api/docflow/prepare-generated-doc","payload":{"account_id":"22699852","entity_id":"42288838","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"2bc56a8"}
[2026-07-02 13:59:04] docflow.WARNING: AmoDrive prepare-generated-doc request failed {"url":"https://gd.glucose-dev.online/api/docflow/prepare-generated-doc","http_code":null,"error":"HTTP/2 404 ","response":"[object] (stdClass: {\"ok\":false,\"error\":\"AmoDrive is not installed for this account.\",\"accountId\":22699852})","payload":{"account_id":"22699852","entity_id":"42288838","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"2bc56a8"}
[2026-07-02 13:59:04] 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) 264 20260702135903\",\"leadId\":\"42288838\",\"entities\":{\"\\u0441\\u0434\\u0435\\u043b\\u043a\\u0430\":{\"ga_utm\":\"{\\\"ga\\\":{},\\\"utm\\\":{\\\"source\\\":\\\"\\\",\\\"medium\\\":\\\"\\\",\\\"content\\\":\\\"\\\",\\\"campaign\\\":\\\"\\\",\\\"term\\\":\\\"\\\",\\\"referrer\\\":\\\"\\\"},\\\"data_source\\\":\\\"form\\\"}\",\"Suma \\u20ac\":\"0\",\"ID\":\"42288838\",\"\\u0421\\u0434\\u0435\\u043b\\u043a\\u0430_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"PS casatorie\",\"Lead_name\":\"PS casatorie\",\"\\u0411\\u044e\\u0434\\u0436\\u0435\\u0442\":\"0\",\"Budget\":\"0\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"Marina Negruta\",\"Responsible\":\"Marina Negruta\"},\"lead\":{\"ga_utm\":\"{\\\"ga\\\":{},\\\"utm\\\":{\\\"source\\\":\\\"\\\",\\\"medium\\\":\\\"\\\",\\\"content\\\":\\\"\\\",\\\"campaign\\\":\\\"\\\",\\\"term\\\":\\\"\\\",\\\"referrer\\\":\\\"\\\"},\\\"data_source\\\":\\\"form\\\"}\",\"Suma \\u20ac\":\"0\",\"ID\":\"42288838\",\"\\u0421\\u0434\\u0435\\u043b\\u043a\\u0430_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"PS casatorie\",\"Lead_name\":\"PS casatorie\",\"\\u0411\\u044e\\u0434\\u0436\\u0435\\u0442\":\"0\",\"Budget\":\"0\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"Marina Negruta\",\"Responsible\":\"Marina Negruta\"},\"\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442\":{\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"+79263214689\",\"Email\":\"bodnar@list.ru\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Aleksei Bodnar\",\"Contact_name\":\"Aleksei Bodnar\",\"\\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\":\"+79263214689\",\"Email\":\"bodnar@list.ru\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Aleksei Bodnar\",\"Contact_name\":\"Aleksei Bodnar\",\"\\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\":\"+79263214689\",\"Email\":\"bodnar@list.ru\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Aleksei Bodnar\",\"\\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\":\"02.07.2026\",\"\\u041d\\u043e\\u043c\\u0435\\u0440\":\"264\"},\"document\":{\"Date\":\"02.07.2026\",\"Number\":\"264\"}}}","edit":true}} {"uid":"2bc56a8"}
[2026-07-02 13:59:12] docflow.DEBUG: GAS raw response {"raw":"[object] (stdClass: {\"code\":1,\"url\":\"https://docs.google.com/open?id=1RWm8YtpkxCUzy_sxuOSNpFnw9FXw1n_krDhQpjV294o\",\"file_id\":\"1RWm8YtpkxCUzy_sxuOSNpFnw9FXw1n_krDhQpjV294o\",\"error\":\"\",\"vars\":\"\"})"} {"uid":"2bc56a8"}
[2026-07-02 13:59:12] docflow.WARNING: AmoDrive generated-file move is not ready. {"fileId":"1RWm8YtpkxCUzy_sxuOSNpFnw9FXw1n_krDhQpjV294o","context":null} {"uid":"2bc56a8"}
[2026-07-02 14:01:28] docflow.INFO: Apel createDoc {"data":{"amoAccountId":"22699852","amoUserId":null,"amoEntityId":"42288838","amoEntityType":"2","templateId":"11515","corporateEntityId":"","settlementAccountId":"","is_signed":null,"gdi":null,"number":null,"currentAmoUserId":null,"lang":"ru"}} {"uid":"20badc2"}
[2026-07-02 14:01:29] docflow.INFO: Token is valid for account 22699852. [] {"uid":"20badc2"}
[2026-07-02 14:01:29] docflow.DEBUG: getClientAuth returned {"auth":"[object] (stdClass: {\"domain\":\"emigrare.amocrm.ru\",\"access_token\":\"eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImp0aSI6IjljYjJmODA4YTU0Mzk1ZTEzNzgxOWNhZGZlYWZmNWU0NTUyMDFjZDMwNWFkYWZjZDBjNjE1NjkwMmJjNWMyNGQ4ZWZkOGRjZjIzNmE2ZDc3In0.eyJhdWQiOiIwZDY0ZGZmYi1lNTRiLTQ0OGYtOWZiZi1iYWYyMjUxYTExZGIiLCJqdGkiOiI5Y2IyZjgwOGE1NDM5NWUxMzc4MTljYWRmZWFmZjVlNDU1MjAxY2QzMDVhZGFmY2QwYzYxNTY5MDJiYzVjMjRkOGVmZDhkY2YyMzZhNmQ3NyIsImlhdCI6MTc4Mjk4MTQ4MCwibmJmIjoxNzgyOTgxNDgwLCJleHAiOjE3ODMwNjc4ODAsInN1YiI6IjI5MzAzODAiLCJncmFudF90eXBlIjoiIiwiYWNjb3VudF9pZCI6MjI2OTk4NTIsImJhc2VfZG9tYWluIjoiYW1vY3JtLnJ1IiwidmVyc2lvbiI6Miwic2NvcGVzIjpbInB1c2hfbm90aWZpY2F0aW9ucyIsImNybSIsIm5vdGlmaWNhdGlvbnMiXSwiaGFzaF91dWlkIjoiYTM4Y2M1ZjItYjY2MC00ZTY0LWJlODItMzUwZWI1ZDE4YmQwIiwiYXBpX2RvbWFpbiI6ImFwaS1hLmFtb2NybS5ydSJ9.Qu0SrQ67Snk8-WDkAHB3nPrape-O-rItp-7FNpzs9LxWaA_DlykHTIuMeLlnUkx6cmU6EdYrkRJaJkoPOUlZYoI1VhfsFyI2rbp8FWNNxg53zQ2r6uhbys1C1B--gu_xxht5p60_Rgq3pT80ILtu-A_185mfgoMf0vTIsTOSv750JFcLVY6yOdOwRKIsq6LHwHkijqnmP-t6LtFCjjmohJZVtdKeyf7Ese1jAiVVMVXiAUQK3Op53JPcXGOrftw5thO3OU-jZRLFLRvzmmy-zkPAHZzi3t2oZMnhLWaR2uclJCaGJVnxYrwnot2pwQc2nd1JZ5YnDKr_YPqUS6_SSQ\"})","file":"/home/ytvmclwh/document.amocrm.md/src/Models/Docs.php","line":121} {"uid":"20badc2"}
[2026-07-02 14:01:31] docflow.DEBUG: AmoDrive docflow context request {"url":"https://google.emale.uno/api/docflow/google-context","query":{"account_id":"22699852","entity_id":"42288838","entity_type":"leads"}} {"uid":"20badc2"}
[2026-07-02 14:01:31] 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=42288838&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/07/02 14:01:32</td>\r\n</tr>\r\n</table>\r\n<hr><center>tengine</center>\r\n</body>\r\n</html>\r\n"} {"uid":"20badc2"}
[2026-07-02 14:01:31] docflow.DEBUG: AmoDrive docflow context request {"url":"https://gd.glucose-dev.online/api/docflow/google-context","query":{"account_id":"22699852","entity_id":"42288838","entity_type":"leads"}} {"uid":"20badc2"}
[2026-07-02 14:01: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":"42288838","entityType":"leads","amodrive":{"installed":false,"widgetStatus":"uninstalled","amoAccountId":22699852,"accountHost":"emigrare.amocrm.ru","license":{"status":"active","configuredStatus":"active","expiresAt":"2026-08-20T10:16:56.291Z","isExpired":false,"isTrial":false,"isActive":true,"expiredByDate":false,"daysRemaining":49,"isLifetime":false},"licenseActive":false,"googleConnected":false,"googleEmail":null,"googleHasDriveScope":false,"googleHasDriveFileScope":false,"googleHasOwnershipScope":false,"readyForGeneratedFileMove":false,"readyForTransfer":false},"folder":null}} {"uid":"20badc2"}
[2026-07-02 14:01:32] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://google.emale.uno/api/docflow/prepare-generated-doc","payload":{"account_id":"22699852","entity_id":"42288838","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"20badc2"}
[2026-07-02 14:01:32] docflow.WARNING: AmoDrive prepare-generated-doc request failed {"url":"https://google.emale.uno/api/docflow/prepare-generated-doc","http_code":null,"error":"HTTP/2 400 ","response":"<!DOCTYPE HTML PUBLIC \"-//IETF//DTD HTML 2.0//EN\">\r\n<html>\r\n<head><title>400 Bad Request</title></head>\r\n<body>\r\n<center><h1>400 Bad Request</h1></center>\r\n Sorry for the inconvenience.<br/>\r\nPlease report this message and include the following information to us.<br/>\r\nThank you very much!</p>\r\n<table>\r\n<tr>\r\n<td>URL:</td>\r\n<td>https://gd.glucose-dev.online/api/docflow/prepare-generated-doc</td>\r\n</tr>\r\n<tr>\r\n<td>Server:</td>\r\n<td>mail.glucose-dev.online</td>\r\n</tr>\r\n<tr>\r\n<td>Date:</td>\r\n<td>2026/07/02 14:01:32</td>\r\n</tr>\r\n</table>\r\n<hr><center>tengine</center>\r\n</body>\r\n</html>\r\n","payload":{"account_id":"22699852","entity_id":"42288838","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"20badc2"}
[2026-07-02 14:01:32] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://gd.glucose-dev.online/api/docflow/prepare-generated-doc","payload":{"account_id":"22699852","entity_id":"42288838","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"20badc2"}
[2026-07-02 14:01:32] docflow.WARNING: AmoDrive prepare-generated-doc request failed {"url":"https://gd.glucose-dev.online/api/docflow/prepare-generated-doc","http_code":null,"error":"HTTP/2 404 ","response":"[object] (stdClass: {\"ok\":false,\"error\":\"AmoDrive is not installed for this account.\",\"accountId\":22699852})","payload":{"account_id":"22699852","entity_id":"42288838","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"20badc2"}
[2026-07-02 14:01:32] 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) 1521 20260702140131\",\"leadId\":\"42288838\",\"entities\":{\"\\u0441\\u0434\\u0435\\u043b\\u043a\\u0430\":{\"ga_utm\":\"{\\\"ga\\\":{},\\\"utm\\\":{\\\"source\\\":\\\"\\\",\\\"medium\\\":\\\"\\\",\\\"content\\\":\\\"\\\",\\\"campaign\\\":\\\"\\\",\\\"term\\\":\\\"\\\",\\\"referrer\\\":\\\"\\\"},\\\"data_source\\\":\\\"form\\\"}\",\"Suma \\u20ac\":\"0\",\"ID\":\"42288838\",\"\\u0421\\u0434\\u0435\\u043b\\u043a\\u0430_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"PS casatorie\",\"Lead_name\":\"PS casatorie\",\"\\u0411\\u044e\\u0434\\u0436\\u0435\\u0442\":\"0\",\"Budget\":\"0\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"Marina Negruta\",\"Responsible\":\"Marina Negruta\"},\"lead\":{\"ga_utm\":\"{\\\"ga\\\":{},\\\"utm\\\":{\\\"source\\\":\\\"\\\",\\\"medium\\\":\\\"\\\",\\\"content\\\":\\\"\\\",\\\"campaign\\\":\\\"\\\",\\\"term\\\":\\\"\\\",\\\"referrer\\\":\\\"\\\"},\\\"data_source\\\":\\\"form\\\"}\",\"Suma \\u20ac\":\"0\",\"ID\":\"42288838\",\"\\u0421\\u0434\\u0435\\u043b\\u043a\\u0430_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"PS casatorie\",\"Lead_name\":\"PS casatorie\",\"\\u0411\\u044e\\u0434\\u0436\\u0435\\u0442\":\"0\",\"Budget\":\"0\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"Marina Negruta\",\"Responsible\":\"Marina Negruta\"},\"\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442\":{\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"+79263214689\",\"Email\":\"bodnar@list.ru\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Aleksei Bodnar\",\"Contact_name\":\"Aleksei Bodnar\",\"\\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\":\"+79263214689\",\"Email\":\"bodnar@list.ru\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Aleksei Bodnar\",\"Contact_name\":\"Aleksei Bodnar\",\"\\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\":\"+79263214689\",\"Email\":\"bodnar@list.ru\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Aleksei Bodnar\",\"\\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\":\"02.07.2026\",\"\\u041d\\u043e\\u043c\\u0435\\u0440\":\"1521\"},\"document\":{\"Date\":\"02.07.2026\",\"Number\":\"1521\"}}}","edit":true}} {"uid":"20badc2"}
[2026-07-02 14:01:38] docflow.DEBUG: GAS raw response {"raw":"[object] (stdClass: {\"code\":1,\"url\":\"https://docs.google.com/open?id=1j8HvB8p-ZvbzS5YdhkxSP_41ZMexEsFcWECjvemRetk\",\"file_id\":\"1j8HvB8p-ZvbzS5YdhkxSP_41ZMexEsFcWECjvemRetk\",\"error\":\"\",\"vars\":\"\"})"} {"uid":"20badc2"}
[2026-07-02 14:01:38] docflow.WARNING: AmoDrive generated-file move is not ready. {"fileId":"1j8HvB8p-ZvbzS5YdhkxSP_41ZMexEsFcWECjvemRetk","context":null} {"uid":"20badc2"}
[2026-07-02 14:04:59] docflow.INFO: Apel createDoc {"data":{"amoAccountId":"22699852","amoUserId":null,"amoEntityId":"41830004","amoEntityType":"2","templateId":"11519","corporateEntityId":"","settlementAccountId":"","is_signed":null,"gdi":null,"number":null,"currentAmoUserId":null,"lang":"ru"}} {"uid":"636b90b"}
[2026-07-02 14:04:59] docflow.INFO: Token is valid for account 22699852. [] {"uid":"636b90b"}
[2026-07-02 14:04:59] docflow.DEBUG: getClientAuth returned {"auth":"[object] (stdClass: {\"domain\":\"emigrare.amocrm.ru\",\"access_token\":\"eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImp0aSI6IjljYjJmODA4YTU0Mzk1ZTEzNzgxOWNhZGZlYWZmNWU0NTUyMDFjZDMwNWFkYWZjZDBjNjE1NjkwMmJjNWMyNGQ4ZWZkOGRjZjIzNmE2ZDc3In0.eyJhdWQiOiIwZDY0ZGZmYi1lNTRiLTQ0OGYtOWZiZi1iYWYyMjUxYTExZGIiLCJqdGkiOiI5Y2IyZjgwOGE1NDM5NWUxMzc4MTljYWRmZWFmZjVlNDU1MjAxY2QzMDVhZGFmY2QwYzYxNTY5MDJiYzVjMjRkOGVmZDhkY2YyMzZhNmQ3NyIsImlhdCI6MTc4Mjk4MTQ4MCwibmJmIjoxNzgyOTgxNDgwLCJleHAiOjE3ODMwNjc4ODAsInN1YiI6IjI5MzAzODAiLCJncmFudF90eXBlIjoiIiwiYWNjb3VudF9pZCI6MjI2OTk4NTIsImJhc2VfZG9tYWluIjoiYW1vY3JtLnJ1IiwidmVyc2lvbiI6Miwic2NvcGVzIjpbInB1c2hfbm90aWZpY2F0aW9ucyIsImNybSIsIm5vdGlmaWNhdGlvbnMiXSwiaGFzaF91dWlkIjoiYTM4Y2M1ZjItYjY2MC00ZTY0LWJlODItMzUwZWI1ZDE4YmQwIiwiYXBpX2RvbWFpbiI6ImFwaS1hLmFtb2NybS5ydSJ9.Qu0SrQ67Snk8-WDkAHB3nPrape-O-rItp-7FNpzs9LxWaA_DlykHTIuMeLlnUkx6cmU6EdYrkRJaJkoPOUlZYoI1VhfsFyI2rbp8FWNNxg53zQ2r6uhbys1C1B--gu_xxht5p60_Rgq3pT80ILtu-A_185mfgoMf0vTIsTOSv750JFcLVY6yOdOwRKIsq6LHwHkijqnmP-t6LtFCjjmohJZVtdKeyf7Ese1jAiVVMVXiAUQK3Op53JPcXGOrftw5thO3OU-jZRLFLRvzmmy-zkPAHZzi3t2oZMnhLWaR2uclJCaGJVnxYrwnot2pwQc2nd1JZ5YnDKr_YPqUS6_SSQ\"})","file":"/home/ytvmclwh/document.amocrm.md/src/Models/Docs.php","line":121} {"uid":"636b90b"}
[2026-07-02 14:05:03] docflow.DEBUG: AmoDrive docflow context request {"url":"https://google.emale.uno/api/docflow/google-context","query":{"account_id":"22699852","entity_id":"41830004","entity_type":"leads"}} {"uid":"636b90b"}
[2026-07-02 14:05:03] docflow.WARNING: AmoDrive docflow context request failed {"url":"https://google.emale.uno/api/docflow/google-context","http_code":null,"error":"HTTP/2 400 ","response":"<!DOCTYPE HTML PUBLIC \"-//IETF//DTD HTML 2.0//EN\">\r\n<html>\r\n<head><title>400 Bad Request</title></head>\r\n<body>\r\n<center><h1>400 Bad Request</h1></center>\r\n Sorry for the inconvenience.<br/>\r\nPlease report this message and include the following information to us.<br/>\r\nThank you very much!</p>\r\n<table>\r\n<tr>\r\n<td>URL:</td>\r\n<td>https://gd.glucose-dev.online/api/docflow/google-context?account_id=22699852&amp;entity_id=41830004&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/07/02 14:05:03</td>\r\n</tr>\r\n</table>\r\n<hr><center>tengine</center>\r\n</body>\r\n</html>\r\n"} {"uid":"636b90b"}
[2026-07-02 14:05:03] docflow.DEBUG: AmoDrive docflow context request {"url":"https://gd.glucose-dev.online/api/docflow/google-context","query":{"account_id":"22699852","entity_id":"41830004","entity_type":"leads"}} {"uid":"636b90b"}
[2026-07-02 14:05:03] docflow.WARNING: AmoDrive docflow context response is not ready, trying next backend. {"url":"https://gd.glucose-dev.online/api/docflow/google-context","payload":{"ok":true,"accountId":22699852,"entityId":"41830004","entityType":"leads","amodrive":{"installed":false,"widgetStatus":"uninstalled","amoAccountId":22699852,"accountHost":"emigrare.amocrm.ru","license":{"status":"active","configuredStatus":"active","expiresAt":"2026-08-20T10:16:56.291Z","isExpired":false,"isTrial":false,"isActive":true,"expiredByDate":false,"daysRemaining":49,"isLifetime":false},"licenseActive":false,"googleConnected":false,"googleEmail":null,"googleHasDriveScope":false,"googleHasDriveFileScope":false,"googleHasOwnershipScope":false,"readyForGeneratedFileMove":false,"readyForTransfer":false},"folder":null}} {"uid":"636b90b"}
[2026-07-02 14:05:03] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://google.emale.uno/api/docflow/prepare-generated-doc","payload":{"account_id":"22699852","entity_id":"41830004","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"636b90b"}
[2026-07-02 14:05:03] docflow.WARNING: AmoDrive prepare-generated-doc request failed {"url":"https://google.emale.uno/api/docflow/prepare-generated-doc","http_code":null,"error":"HTTP/2 400 ","response":"<!DOCTYPE HTML PUBLIC \"-//IETF//DTD HTML 2.0//EN\">\r\n<html>\r\n<head><title>400 Bad Request</title></head>\r\n<body>\r\n<center><h1>400 Bad Request</h1></center>\r\n Sorry for the inconvenience.<br/>\r\nPlease report this message and include the following information to us.<br/>\r\nThank you very much!</p>\r\n<table>\r\n<tr>\r\n<td>URL:</td>\r\n<td>https://gd.glucose-dev.online/api/docflow/prepare-generated-doc</td>\r\n</tr>\r\n<tr>\r\n<td>Server:</td>\r\n<td>mail.glucose-dev.online</td>\r\n</tr>\r\n<tr>\r\n<td>Date:</td>\r\n<td>2026/07/02 14:05:04</td>\r\n</tr>\r\n</table>\r\n<hr><center>tengine</center>\r\n</body>\r\n</html>\r\n","payload":{"account_id":"22699852","entity_id":"41830004","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"636b90b"}
[2026-07-02 14:05:03] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://gd.glucose-dev.online/api/docflow/prepare-generated-doc","payload":{"account_id":"22699852","entity_id":"41830004","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"636b90b"}
[2026-07-02 14:05:03] docflow.WARNING: AmoDrive prepare-generated-doc request failed {"url":"https://gd.glucose-dev.online/api/docflow/prepare-generated-doc","http_code":null,"error":"HTTP/2 404 ","response":"[object] (stdClass: {\"ok\":false,\"error\":\"AmoDrive is not installed for this account.\",\"accountId\":22699852})","payload":{"account_id":"22699852","entity_id":"41830004","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"636b90b"}
[2026-07-02 14:05:03] 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) 176 20260702140503\",\"leadId\":\"41830004\",\"entities\":{\"\\u0441\\u0434\\u0435\\u043b\\u043a\\u0430\":{\"Suma \\u20ac\":\"0\",\"ID\":\"41830004\",\"\\u0421\\u0434\\u0435\\u043b\\u043a\\u0430_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Cet.Md\",\"Lead_name\":\"Cet.Md\",\"\\u0411\\u044e\\u0434\\u0436\\u0435\\u0442\":\"0\",\"Budget\":\"0\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"Marina Negruta\",\"Responsible\":\"Marina Negruta\"},\"lead\":{\"Suma \\u20ac\":\"0\",\"ID\":\"41830004\",\"\\u0421\\u0434\\u0435\\u043b\\u043a\\u0430_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Cet.Md\",\"Lead_name\":\"Cet.Md\",\"\\u0411\\u044e\\u0434\\u0436\\u0435\\u0442\":\"0\",\"Budget\":\"0\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"Marina Negruta\",\"Responsible\":\"Marina Negruta\"},\"\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442\":{\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"77056427346\",\"Email\":\"Aleksandrolar4@gmail.com\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"\\u0410\\u043b\\u0435\\u043a\\u0441\\u0430\\u043d\\u0434\\u0440 \\u041e\\u043b\\u0430\\u0440\\u044c\",\"Contact_name\":\"\\u0410\\u043b\\u0435\\u043a\\u0441\\u0430\\u043d\\u0434\\u0440 \\u041e\\u043b\\u0430\\u0440\\u044c\",\"\\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\":\"77056427346\",\"Email\":\"Aleksandrolar4@gmail.com\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"\\u0410\\u043b\\u0435\\u043a\\u0441\\u0430\\u043d\\u0434\\u0440 \\u041e\\u043b\\u0430\\u0440\\u044c\",\"Contact_name\":\"\\u0410\\u043b\\u0435\\u043a\\u0441\\u0430\\u043d\\u0434\\u0440 \\u041e\\u043b\\u0430\\u0440\\u044c\",\"\\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\":\"77056427346\",\"Email\":\"Aleksandrolar4@gmail.com\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"\\u0410\\u043b\\u0435\\u043a\\u0441\\u0430\\u043d\\u0434\\u0440 \\u041e\\u043b\\u0430\\u0440\\u044c\",\"\\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\":\"02.07.2026\",\"\\u041d\\u043e\\u043c\\u0435\\u0440\":\"176\"},\"document\":{\"Date\":\"02.07.2026\",\"Number\":\"176\"}}}","edit":true}} {"uid":"636b90b"}
[2026-07-02 14:05:10] docflow.DEBUG: GAS raw response {"raw":"[object] (stdClass: {\"code\":1,\"url\":\"https://docs.google.com/open?id=1CUgsiPsInAsatPQ1LxUAibgJbAD7VTWHzR3-UBjNKFo\",\"file_id\":\"1CUgsiPsInAsatPQ1LxUAibgJbAD7VTWHzR3-UBjNKFo\",\"error\":\"\",\"vars\":\"\"})"} {"uid":"636b90b"}
[2026-07-02 14:05:10] docflow.WARNING: AmoDrive generated-file move is not ready. {"fileId":"1CUgsiPsInAsatPQ1LxUAibgJbAD7VTWHzR3-UBjNKFo","context":null} {"uid":"636b90b"}
[2026-07-02 14:27:35] docflow.INFO: Apel createDoc {"data":{"amoAccountId":"22699852","amoUserId":null,"amoEntityId":"42058954","amoEntityType":"2","templateId":"11488","corporateEntityId":"","settlementAccountId":"","is_signed":null,"gdi":null,"number":null,"currentAmoUserId":null,"lang":"ru"}} {"uid":"b9bfc10"}
[2026-07-02 14:27:35] docflow.INFO: Token is valid for account 22699852. [] {"uid":"b9bfc10"}
[2026-07-02 14:27:35] docflow.DEBUG: getClientAuth returned {"auth":"[object] (stdClass: {\"domain\":\"emigrare.amocrm.ru\",\"access_token\":\"eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImp0aSI6IjljYjJmODA4YTU0Mzk1ZTEzNzgxOWNhZGZlYWZmNWU0NTUyMDFjZDMwNWFkYWZjZDBjNjE1NjkwMmJjNWMyNGQ4ZWZkOGRjZjIzNmE2ZDc3In0.eyJhdWQiOiIwZDY0ZGZmYi1lNTRiLTQ0OGYtOWZiZi1iYWYyMjUxYTExZGIiLCJqdGkiOiI5Y2IyZjgwOGE1NDM5NWUxMzc4MTljYWRmZWFmZjVlNDU1MjAxY2QzMDVhZGFmY2QwYzYxNTY5MDJiYzVjMjRkOGVmZDhkY2YyMzZhNmQ3NyIsImlhdCI6MTc4Mjk4MTQ4MCwibmJmIjoxNzgyOTgxNDgwLCJleHAiOjE3ODMwNjc4ODAsInN1YiI6IjI5MzAzODAiLCJncmFudF90eXBlIjoiIiwiYWNjb3VudF9pZCI6MjI2OTk4NTIsImJhc2VfZG9tYWluIjoiYW1vY3JtLnJ1IiwidmVyc2lvbiI6Miwic2NvcGVzIjpbInB1c2hfbm90aWZpY2F0aW9ucyIsImNybSIsIm5vdGlmaWNhdGlvbnMiXSwiaGFzaF91dWlkIjoiYTM4Y2M1ZjItYjY2MC00ZTY0LWJlODItMzUwZWI1ZDE4YmQwIiwiYXBpX2RvbWFpbiI6ImFwaS1hLmFtb2NybS5ydSJ9.Qu0SrQ67Snk8-WDkAHB3nPrape-O-rItp-7FNpzs9LxWaA_DlykHTIuMeLlnUkx6cmU6EdYrkRJaJkoPOUlZYoI1VhfsFyI2rbp8FWNNxg53zQ2r6uhbys1C1B--gu_xxht5p60_Rgq3pT80ILtu-A_185mfgoMf0vTIsTOSv750JFcLVY6yOdOwRKIsq6LHwHkijqnmP-t6LtFCjjmohJZVtdKeyf7Ese1jAiVVMVXiAUQK3Op53JPcXGOrftw5thO3OU-jZRLFLRvzmmy-zkPAHZzi3t2oZMnhLWaR2uclJCaGJVnxYrwnot2pwQc2nd1JZ5YnDKr_YPqUS6_SSQ\"})","file":"/home/ytvmclwh/document.amocrm.md/src/Models/Docs.php","line":121} {"uid":"b9bfc10"}
[2026-07-02 14:27:37] docflow.DEBUG: AmoDrive docflow context request {"url":"https://google.emale.uno/api/docflow/google-context","query":{"account_id":"22699852","entity_id":"42058954","entity_type":"leads"}} {"uid":"b9bfc10"}
[2026-07-02 14:27: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=42058954&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/07/02 14:27:38</td>\r\n</tr>\r\n</table>\r\n<hr><center>tengine</center>\r\n</body>\r\n</html>\r\n"} {"uid":"b9bfc10"}
[2026-07-02 14:27:37] docflow.DEBUG: AmoDrive docflow context request {"url":"https://gd.glucose-dev.online/api/docflow/google-context","query":{"account_id":"22699852","entity_id":"42058954","entity_type":"leads"}} {"uid":"b9bfc10"}
[2026-07-02 14:27:38] docflow.WARNING: AmoDrive docflow context response is not ready, trying next backend. {"url":"https://gd.glucose-dev.online/api/docflow/google-context","payload":{"ok":true,"accountId":22699852,"entityId":"42058954","entityType":"leads","amodrive":{"installed":false,"widgetStatus":"uninstalled","amoAccountId":22699852,"accountHost":"emigrare.amocrm.ru","license":{"status":"active","configuredStatus":"active","expiresAt":"2026-08-20T10:16:56.291Z","isExpired":false,"isTrial":false,"isActive":true,"expiredByDate":false,"daysRemaining":49,"isLifetime":false},"licenseActive":false,"googleConnected":false,"googleEmail":null,"googleHasDriveScope":false,"googleHasDriveFileScope":false,"googleHasOwnershipScope":false,"readyForGeneratedFileMove":false,"readyForTransfer":false},"folder":{"id":"1t1PJgOruYovRUXRarrMa9qw3pPID-vg5","name":"Transcriere CN (RO)","webViewLink":"https://drive.google.com/drive/folders/1t1PJgOruYovRUXRarrMa9qw3pPID-vg5"}}} {"uid":"b9bfc10"}
[2026-07-02 14:27:38] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://google.emale.uno/api/docflow/prepare-generated-doc","payload":{"account_id":"22699852","entity_id":"42058954","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"b9bfc10"}
[2026-07-02 14:27:38] docflow.WARNING: AmoDrive prepare-generated-doc request failed {"url":"https://google.emale.uno/api/docflow/prepare-generated-doc","http_code":null,"error":"HTTP/2 400 ","response":"<!DOCTYPE HTML PUBLIC \"-//IETF//DTD HTML 2.0//EN\">\r\n<html>\r\n<head><title>400 Bad Request</title></head>\r\n<body>\r\n<center><h1>400 Bad Request</h1></center>\r\n Sorry for the inconvenience.<br/>\r\nPlease report this message and include the following information to us.<br/>\r\nThank you very much!</p>\r\n<table>\r\n<tr>\r\n<td>URL:</td>\r\n<td>https://gd.glucose-dev.online/api/docflow/prepare-generated-doc</td>\r\n</tr>\r\n<tr>\r\n<td>Server:</td>\r\n<td>mail.glucose-dev.online</td>\r\n</tr>\r\n<tr>\r\n<td>Date:</td>\r\n<td>2026/07/02 14:27:38</td>\r\n</tr>\r\n</table>\r\n<hr><center>tengine</center>\r\n</body>\r\n</html>\r\n","payload":{"account_id":"22699852","entity_id":"42058954","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"b9bfc10"}
[2026-07-02 14:27:38] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://gd.glucose-dev.online/api/docflow/prepare-generated-doc","payload":{"account_id":"22699852","entity_id":"42058954","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"b9bfc10"}
[2026-07-02 14:27:38] docflow.WARNING: AmoDrive prepare-generated-doc request failed {"url":"https://gd.glucose-dev.online/api/docflow/prepare-generated-doc","http_code":null,"error":"HTTP/2 404 ","response":"[object] (stdClass: {\"ok\":false,\"error\":\"AmoDrive is not installed for this account.\",\"accountId\":22699852})","payload":{"account_id":"22699852","entity_id":"42058954","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"b9bfc10"}
[2026-07-02 14:27:38] docflow.DEBUG: GAS request {"url":"https://script.google.com/macros/s/AKfycbwrvOJD46zkuoTzdhpc1kulhV8jRfgQBFZfQ121nkIip_k8yKit4xrbWTOzaJ-C-Yed6w/exec","body":{"templateFileId":"1Lko3EG9_Yj6bZrxqQ3cZ8_aYZSQ7GKHEi61nkS6lkvg","accountId":"22699852","folderId":"1Us2AfskxgdA729xVr0F2vjZU9y5PlYDe","key":"~VTsK5dcnHc2cSSsjM$LFSjLlgbmJXwrp3R2P5nd","data":"{\"fileName\":\"Transcriere 493 20260702142737\",\"leadId\":\"42058954\",\"entities\":{\"\\u0441\\u0434\\u0435\\u043b\\u043a\\u0430\":{\"google_folder_id_leads_field\":\"1t1PJgOruYovRUXRarrMa9qw3pPID-vg5\",\"google_folder_link_leads_field\":\"https:\\/\\/drive.google.com\\/drive\\/folders\\/1t1PJgOruYovRUXRarrMa9qw3pPID-vg5\",\"#Manager Front\":\"Cezara Cenusa\",\"Urm\\u0103torul contact\":\"2026-07-02 14:14:00\",\"Mod achitare\":\"Transfer firm\\u0103\",\"Suma avans\":\"400\",\"ID\":\"42058954\",\"\\u0421\\u0434\\u0435\\u043b\\u043a\\u0430_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Transcriere CN (RO)\",\"Lead_name\":\"Transcriere CN (RO)\",\"\\u0411\\u044e\\u0434\\u0436\\u0435\\u0442\":\"400\",\"Budget\":\"400\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"Cezara Cenusa\",\"Responsible\":\"Cezara Cenusa\"},\"lead\":{\"google_folder_id_leads_field\":\"1t1PJgOruYovRUXRarrMa9qw3pPID-vg5\",\"google_folder_link_leads_field\":\"https:\\/\\/drive.google.com\\/drive\\/folders\\/1t1PJgOruYovRUXRarrMa9qw3pPID-vg5\",\"#Manager Front\":\"Cezara Cenusa\",\"Urm\\u0103torul contact\":\"2026-07-02 14:14:00\",\"Mod achitare\":\"Transfer firm\\u0103\",\"Suma avans\":\"400\",\"ID\":\"42058954\",\"\\u0421\\u0434\\u0435\\u043b\\u043a\\u0430_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Transcriere CN (RO)\",\"Lead_name\":\"Transcriere CN (RO)\",\"\\u0411\\u044e\\u0434\\u0436\\u0435\\u0442\":\"400\",\"Budget\":\"400\",\"\\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\":\"79313657001\",\"Email\":\"alena.rotaru@gmail.com\",\"Cet\\u0103\\u021benie de\\u021binut\\u0103\":\"RU\",\"Cum Comunicam\":\"Watsap\",\"Limba vorbita\":\"Rusa\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Rotaru Alena\",\"Contact_name\":\"Rotaru Alena\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"Victor Ochinciuc\",\"Responsible\":\"Victor Ochinciuc\"},\"contact\":{\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"79313657001\",\"Email\":\"alena.rotaru@gmail.com\",\"Cet\\u0103\\u021benie de\\u021binut\\u0103\":\"RU\",\"Cum Comunicam\":\"Watsap\",\"Limba vorbita\":\"Rusa\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Rotaru Alena\",\"Contact_name\":\"Rotaru Alena\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"Victor Ochinciuc\",\"Responsible\":\"Victor Ochinciuc\"},\"\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442\\u044b\":[{\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"79313657001\",\"Email\":\"alena.rotaru@gmail.com\",\"Cet\\u0103\\u021benie de\\u021binut\\u0103\":\"RU\",\"Cum Comunicam\":\"Watsap\",\"Limba vorbita\":\"Rusa\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Rotaru Alena\",\"\\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\":\"02.07.2026\",\"\\u041d\\u043e\\u043c\\u0435\\u0440\":\"493\"},\"document\":{\"Date\":\"02.07.2026\",\"Number\":\"493\"}}}","edit":true}} {"uid":"b9bfc10"}
[2026-07-02 14:27:44] docflow.DEBUG: GAS raw response {"raw":"[object] (stdClass: {\"code\":1,\"url\":\"https://docs.google.com/open?id=1Bf1I_T3Yw8BcXgLPr2qp6DTRDtbGvcaWC25hmSsVh9w\",\"file_id\":\"1Bf1I_T3Yw8BcXgLPr2qp6DTRDtbGvcaWC25hmSsVh9w\",\"error\":\"\",\"vars\":\"\"})"} {"uid":"b9bfc10"}
[2026-07-02 14:27:44] docflow.WARNING: AmoDrive generated-file move is not ready. {"fileId":"1Bf1I_T3Yw8BcXgLPr2qp6DTRDtbGvcaWC25hmSsVh9w","context":null} {"uid":"b9bfc10"}
[2026-07-02 14:40:24] docflow.INFO: Apel createDoc {"data":{"amoAccountId":"22699852","amoUserId":null,"amoEntityId":"42288986","amoEntityType":"2","templateId":"11528","corporateEntityId":"","settlementAccountId":"","is_signed":null,"gdi":null,"number":null,"currentAmoUserId":null,"lang":"ru"}} {"uid":"e52ae88"}
[2026-07-02 14:40:25] docflow.INFO: Token is valid for account 22699852. [] {"uid":"e52ae88"}
[2026-07-02 14:40:25] docflow.DEBUG: getClientAuth returned {"auth":"[object] (stdClass: {\"domain\":\"emigrare.amocrm.ru\",\"access_token\":\"eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImp0aSI6IjljYjJmODA4YTU0Mzk1ZTEzNzgxOWNhZGZlYWZmNWU0NTUyMDFjZDMwNWFkYWZjZDBjNjE1NjkwMmJjNWMyNGQ4ZWZkOGRjZjIzNmE2ZDc3In0.eyJhdWQiOiIwZDY0ZGZmYi1lNTRiLTQ0OGYtOWZiZi1iYWYyMjUxYTExZGIiLCJqdGkiOiI5Y2IyZjgwOGE1NDM5NWUxMzc4MTljYWRmZWFmZjVlNDU1MjAxY2QzMDVhZGFmY2QwYzYxNTY5MDJiYzVjMjRkOGVmZDhkY2YyMzZhNmQ3NyIsImlhdCI6MTc4Mjk4MTQ4MCwibmJmIjoxNzgyOTgxNDgwLCJleHAiOjE3ODMwNjc4ODAsInN1YiI6IjI5MzAzODAiLCJncmFudF90eXBlIjoiIiwiYWNjb3VudF9pZCI6MjI2OTk4NTIsImJhc2VfZG9tYWluIjoiYW1vY3JtLnJ1IiwidmVyc2lvbiI6Miwic2NvcGVzIjpbInB1c2hfbm90aWZpY2F0aW9ucyIsImNybSIsIm5vdGlmaWNhdGlvbnMiXSwiaGFzaF91dWlkIjoiYTM4Y2M1ZjItYjY2MC00ZTY0LWJlODItMzUwZWI1ZDE4YmQwIiwiYXBpX2RvbWFpbiI6ImFwaS1hLmFtb2NybS5ydSJ9.Qu0SrQ67Snk8-WDkAHB3nPrape-O-rItp-7FNpzs9LxWaA_DlykHTIuMeLlnUkx6cmU6EdYrkRJaJkoPOUlZYoI1VhfsFyI2rbp8FWNNxg53zQ2r6uhbys1C1B--gu_xxht5p60_Rgq3pT80ILtu-A_185mfgoMf0vTIsTOSv750JFcLVY6yOdOwRKIsq6LHwHkijqnmP-t6LtFCjjmohJZVtdKeyf7Ese1jAiVVMVXiAUQK3Op53JPcXGOrftw5thO3OU-jZRLFLRvzmmy-zkPAHZzi3t2oZMnhLWaR2uclJCaGJVnxYrwnot2pwQc2nd1JZ5YnDKr_YPqUS6_SSQ\"})","file":"/home/ytvmclwh/document.amocrm.md/src/Models/Docs.php","line":121} {"uid":"e52ae88"}
[2026-07-02 14:40:27] docflow.DEBUG: AmoDrive docflow context request {"url":"https://google.emale.uno/api/docflow/google-context","query":{"account_id":"22699852","entity_id":"42288986","entity_type":"leads"}} {"uid":"e52ae88"}
[2026-07-02 14:40: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=42288986&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/07/02 14:40:27</td>\r\n</tr>\r\n</table>\r\n<hr><center>tengine</center>\r\n</body>\r\n</html>\r\n"} {"uid":"e52ae88"}
[2026-07-02 14:40:27] docflow.DEBUG: AmoDrive docflow context request {"url":"https://gd.glucose-dev.online/api/docflow/google-context","query":{"account_id":"22699852","entity_id":"42288986","entity_type":"leads"}} {"uid":"e52ae88"}
[2026-07-02 14:40: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":"42288986","entityType":"leads","amodrive":{"installed":false,"widgetStatus":"uninstalled","amoAccountId":22699852,"accountHost":"emigrare.amocrm.ru","license":{"status":"active","configuredStatus":"active","expiresAt":"2026-08-20T10:16:56.291Z","isExpired":false,"isTrial":false,"isActive":true,"expiredByDate":false,"daysRemaining":49,"isLifetime":false},"licenseActive":false,"googleConnected":false,"googleEmail":null,"googleHasDriveScope":false,"googleHasDriveFileScope":false,"googleHasOwnershipScope":false,"readyForGeneratedFileMove":false,"readyForTransfer":false},"folder":{"id":"141BxqY02QODxhkJBOJrf7B-sURR1EO2N","name":"42288986 - Lead #42288986","webViewLink":"https://drive.google.com/drive/folders/141BxqY02QODxhkJBOJrf7B-sURR1EO2N"}}} {"uid":"e52ae88"}
[2026-07-02 14:40:27] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://google.emale.uno/api/docflow/prepare-generated-doc","payload":{"account_id":"22699852","entity_id":"42288986","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"e52ae88"}
[2026-07-02 14:40: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/07/02 14:40: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":"42288986","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"e52ae88"}
[2026-07-02 14:40: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":"42288986","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"e52ae88"}
[2026-07-02 14:40: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":"42288986","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"e52ae88"}
[2026-07-02 14:40:27] 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) 134 20260702144027\",\"leadId\":\"42288986\",\"entities\":{\"\\u0441\\u0434\\u0435\\u043b\\u043a\\u0430\":{\"Manager front office\":\"Cezara Cenusa\",\"Nota SQL\":\"1\",\"\\u041b\\u041f\\u0420\":\"1\",\"\\u041e\\u0441\\u043e\\u0437\\u043d\\u0430\\u043d\\u043d\\u0430\\u044f \\u043f\\u043e\\u0442\\u0440\\u0435\\u0431\\u043d\\u043e\\u0441\\u0442\\u044c\":\"1\",\"\\u0414\\u043e\\u0432\\u0435\\u0440\\u0438\\u0435\":\"1\",\"\\u0424\\u0438\\u043d. \\u0432\\u043e\\u0437\\u043c\\u043e\\u0436\\u043d\\u043e\\u0441\\u0442\\u044c\":\"1\",\"\\u041c\\u043e\\u0442\\u0438\\u0432\\u0430\\u0446\\u0438\\u044f \\u043a\\u0443\\u043f\\u0438\\u0442\\u044c \\u0437\\u0434\\u0435\\u0441\\u044c \\u0438 \\u0441\\u0435\\u0439\\u0447\\u0430\\u0441\":\"1\",\"Nota Consultatie Efectuata\":\"1\",\"Suma \\u20ac\":\"0\",\"#Manager Front\":\"Cezara Cenusa\",\"Urm\\u0103torul contact\":\"2026-07-02 12:12:00\",\"Mod achitare\":\"Transfer firm\\u0103\",\"Suma avans\":\"318\",\"Manager Juridic\":\"Dascal Anatolie\",\"#Manager Jurist\":\"Dascal Anatolie\",\"ID\":\"42288986\",\"\\u0421\\u0434\\u0435\\u043b\\u043a\\u0430_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"sub. MD \\/ duplicat NS + traduceri\",\"Lead_name\":\"sub. MD \\/ duplicat NS + traduceri\",\"\\u0411\\u044e\\u0434\\u0436\\u0435\\u0442\":\"318\",\"Budget\":\"318\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"Cezara Cenusa\",\"Responsible\":\"Cezara Cenusa\"},\"lead\":{\"Manager front office\":\"Cezara Cenusa\",\"Nota SQL\":\"1\",\"\\u041b\\u041f\\u0420\":\"1\",\"\\u041e\\u0441\\u043e\\u0437\\u043d\\u0430\\u043d\\u043d\\u0430\\u044f \\u043f\\u043e\\u0442\\u0440\\u0435\\u0431\\u043d\\u043e\\u0441\\u0442\\u044c\":\"1\",\"\\u0414\\u043e\\u0432\\u0435\\u0440\\u0438\\u0435\":\"1\",\"\\u0424\\u0438\\u043d. \\u0432\\u043e\\u0437\\u043c\\u043e\\u0436\\u043d\\u043e\\u0441\\u0442\\u044c\":\"1\",\"\\u041c\\u043e\\u0442\\u0438\\u0432\\u0430\\u0446\\u0438\\u044f \\u043a\\u0443\\u043f\\u0438\\u0442\\u044c \\u0437\\u0434\\u0435\\u0441\\u044c \\u0438 \\u0441\\u0435\\u0439\\u0447\\u0430\\u0441\":\"1\",\"Nota Consultatie Efectuata\":\"1\",\"Suma \\u20ac\":\"0\",\"#Manager Front\":\"Cezara Cenusa\",\"Urm\\u0103torul contact\":\"2026-07-02 12:12:00\",\"Mod achitare\":\"Transfer firm\\u0103\",\"Suma avans\":\"318\",\"Manager Juridic\":\"Dascal Anatolie\",\"#Manager Jurist\":\"Dascal Anatolie\",\"ID\":\"42288986\",\"\\u0421\\u0434\\u0435\\u043b\\u043a\\u0430_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"sub. MD \\/ duplicat NS + traduceri\",\"Lead_name\":\"sub. MD \\/ duplicat NS + traduceri\",\"\\u0411\\u044e\\u0434\\u0436\\u0435\\u0442\":\"318\",\"Budget\":\"318\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"Cezara Cenusa\",\"Responsible\":\"Cezara Cenusa\"},\"\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442\":{\"TelegramId_WZ\":\"8498679059\",\"TelegramUsername_WZ\":\"@merberi\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"+79825222201\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Andrei Gavriliuc\",\"Contact_name\":\"Andrei Gavriliuc\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"Cezara Cenusa\",\"Responsible\":\"Cezara Cenusa\"},\"contact\":{\"TelegramId_WZ\":\"8498679059\",\"TelegramUsername_WZ\":\"@merberi\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"+79825222201\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Andrei Gavriliuc\",\"Contact_name\":\"Andrei Gavriliuc\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"Cezara Cenusa\",\"Responsible\":\"Cezara Cenusa\"},\"\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442\\u044b\":[{\"TelegramId_WZ\":\"8498679059\",\"TelegramUsername_WZ\":\"@merberi\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"+79825222201\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Andrei Gavriliuc\",\"\\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\":\"02.07.2026\",\"\\u041d\\u043e\\u043c\\u0435\\u0440\":\"134\"},\"document\":{\"Date\":\"02.07.2026\",\"Number\":\"134\"}}}","edit":true}} {"uid":"e52ae88"}
[2026-07-02 14:40:34] docflow.DEBUG: GAS raw response {"raw":"[object] (stdClass: {\"code\":1,\"url\":\"https://docs.google.com/open?id=1cTP5GXbr-1qMGgk2j9ac_VM7adH2EPvfkKOCes_LUHU\",\"file_id\":\"1cTP5GXbr-1qMGgk2j9ac_VM7adH2EPvfkKOCes_LUHU\",\"error\":\"\",\"vars\":\"\"})"} {"uid":"e52ae88"}
[2026-07-02 14:40:34] docflow.WARNING: AmoDrive generated-file move is not ready. {"fileId":"1cTP5GXbr-1qMGgk2j9ac_VM7adH2EPvfkKOCes_LUHU","context":null} {"uid":"e52ae88"}
[2026-07-02 14:47:07] docflow.INFO: Apel createDoc {"data":{"amoAccountId":"22699852","amoUserId":null,"amoEntityId":"42058954","amoEntityType":"2","templateId":"11488","corporateEntityId":"","settlementAccountId":"","is_signed":null,"gdi":null,"number":null,"currentAmoUserId":null,"lang":"ru"}} {"uid":"6600476"}
[2026-07-02 14:47:07] docflow.INFO: Token is valid for account 22699852. [] {"uid":"6600476"}
[2026-07-02 14:47:07] docflow.DEBUG: getClientAuth returned {"auth":"[object] (stdClass: {\"domain\":\"emigrare.amocrm.ru\",\"access_token\":\"eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImp0aSI6IjljYjJmODA4YTU0Mzk1ZTEzNzgxOWNhZGZlYWZmNWU0NTUyMDFjZDMwNWFkYWZjZDBjNjE1NjkwMmJjNWMyNGQ4ZWZkOGRjZjIzNmE2ZDc3In0.eyJhdWQiOiIwZDY0ZGZmYi1lNTRiLTQ0OGYtOWZiZi1iYWYyMjUxYTExZGIiLCJqdGkiOiI5Y2IyZjgwOGE1NDM5NWUxMzc4MTljYWRmZWFmZjVlNDU1MjAxY2QzMDVhZGFmY2QwYzYxNTY5MDJiYzVjMjRkOGVmZDhkY2YyMzZhNmQ3NyIsImlhdCI6MTc4Mjk4MTQ4MCwibmJmIjoxNzgyOTgxNDgwLCJleHAiOjE3ODMwNjc4ODAsInN1YiI6IjI5MzAzODAiLCJncmFudF90eXBlIjoiIiwiYWNjb3VudF9pZCI6MjI2OTk4NTIsImJhc2VfZG9tYWluIjoiYW1vY3JtLnJ1IiwidmVyc2lvbiI6Miwic2NvcGVzIjpbInB1c2hfbm90aWZpY2F0aW9ucyIsImNybSIsIm5vdGlmaWNhdGlvbnMiXSwiaGFzaF91dWlkIjoiYTM4Y2M1ZjItYjY2MC00ZTY0LWJlODItMzUwZWI1ZDE4YmQwIiwiYXBpX2RvbWFpbiI6ImFwaS1hLmFtb2NybS5ydSJ9.Qu0SrQ67Snk8-WDkAHB3nPrape-O-rItp-7FNpzs9LxWaA_DlykHTIuMeLlnUkx6cmU6EdYrkRJaJkoPOUlZYoI1VhfsFyI2rbp8FWNNxg53zQ2r6uhbys1C1B--gu_xxht5p60_Rgq3pT80ILtu-A_185mfgoMf0vTIsTOSv750JFcLVY6yOdOwRKIsq6LHwHkijqnmP-t6LtFCjjmohJZVtdKeyf7Ese1jAiVVMVXiAUQK3Op53JPcXGOrftw5thO3OU-jZRLFLRvzmmy-zkPAHZzi3t2oZMnhLWaR2uclJCaGJVnxYrwnot2pwQc2nd1JZ5YnDKr_YPqUS6_SSQ\"})","file":"/home/ytvmclwh/document.amocrm.md/src/Models/Docs.php","line":121} {"uid":"6600476"}
[2026-07-02 14:47:11] docflow.DEBUG: AmoDrive docflow context request {"url":"https://google.emale.uno/api/docflow/google-context","query":{"account_id":"22699852","entity_id":"42058954","entity_type":"leads"}} {"uid":"6600476"}
[2026-07-02 14:47: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=42058954&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/07/02 14:47:12</td>\r\n</tr>\r\n</table>\r\n<hr><center>tengine</center>\r\n</body>\r\n</html>\r\n"} {"uid":"6600476"}
[2026-07-02 14:47:11] docflow.DEBUG: AmoDrive docflow context request {"url":"https://gd.glucose-dev.online/api/docflow/google-context","query":{"account_id":"22699852","entity_id":"42058954","entity_type":"leads"}} {"uid":"6600476"}
[2026-07-02 14:47: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":"42058954","entityType":"leads","amodrive":{"installed":false,"widgetStatus":"uninstalled","amoAccountId":22699852,"accountHost":"emigrare.amocrm.ru","license":{"status":"active","configuredStatus":"active","expiresAt":"2026-08-20T10:16:56.291Z","isExpired":false,"isTrial":false,"isActive":true,"expiredByDate":false,"daysRemaining":49,"isLifetime":false},"licenseActive":false,"googleConnected":false,"googleEmail":null,"googleHasDriveScope":false,"googleHasDriveFileScope":false,"googleHasOwnershipScope":false,"readyForGeneratedFileMove":false,"readyForTransfer":false},"folder":{"id":"1t1PJgOruYovRUXRarrMa9qw3pPID-vg5","name":"Transcriere CN (RO)","webViewLink":"https://drive.google.com/drive/folders/1t1PJgOruYovRUXRarrMa9qw3pPID-vg5"}}} {"uid":"6600476"}
[2026-07-02 14:47:11] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://google.emale.uno/api/docflow/prepare-generated-doc","payload":{"account_id":"22699852","entity_id":"42058954","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"6600476"}
[2026-07-02 14:47: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/07/02 14:47: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":"42058954","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"6600476"}
[2026-07-02 14:47: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":"42058954","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"6600476"}
[2026-07-02 14:47: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":"42058954","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"6600476"}
[2026-07-02 14:47:12] docflow.DEBUG: GAS request {"url":"https://script.google.com/macros/s/AKfycbwrvOJD46zkuoTzdhpc1kulhV8jRfgQBFZfQ121nkIip_k8yKit4xrbWTOzaJ-C-Yed6w/exec","body":{"templateFileId":"1Lko3EG9_Yj6bZrxqQ3cZ8_aYZSQ7GKHEi61nkS6lkvg","accountId":"22699852","folderId":"1Us2AfskxgdA729xVr0F2vjZU9y5PlYDe","key":"~VTsK5dcnHc2cSSsjM$LFSjLlgbmJXwrp3R2P5nd","data":"{\"fileName\":\"Transcriere 494 20260702144711\",\"leadId\":\"42058954\",\"entities\":{\"\\u0441\\u0434\\u0435\\u043b\\u043a\\u0430\":{\"google_folder_id_leads_field\":\"1t1PJgOruYovRUXRarrMa9qw3pPID-vg5\",\"google_folder_link_leads_field\":\"https:\\/\\/drive.google.com\\/drive\\/folders\\/1t1PJgOruYovRUXRarrMa9qw3pPID-vg5\",\"#Manager Front\":\"Cezara Cenusa\",\"Urm\\u0103torul contact\":\"2026-07-02 14:14:00\",\"Mod achitare\":\"Transfer firm\\u0103\",\"Suma avans\":\"400\",\"Manager Juridic\":\"Dascal Anatolie\",\"#Manager Jurist\":\"Dascal Anatolie\",\"ID\":\"42058954\",\"\\u0421\\u0434\\u0435\\u043b\\u043a\\u0430_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Transcriere CN (RO)\",\"Lead_name\":\"Transcriere CN (RO)\",\"\\u0411\\u044e\\u0434\\u0436\\u0435\\u0442\":\"400\",\"Budget\":\"400\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"Cezara Cenusa\",\"Responsible\":\"Cezara Cenusa\"},\"lead\":{\"google_folder_id_leads_field\":\"1t1PJgOruYovRUXRarrMa9qw3pPID-vg5\",\"google_folder_link_leads_field\":\"https:\\/\\/drive.google.com\\/drive\\/folders\\/1t1PJgOruYovRUXRarrMa9qw3pPID-vg5\",\"#Manager Front\":\"Cezara Cenusa\",\"Urm\\u0103torul contact\":\"2026-07-02 14:14:00\",\"Mod achitare\":\"Transfer firm\\u0103\",\"Suma avans\":\"400\",\"Manager Juridic\":\"Dascal Anatolie\",\"#Manager Jurist\":\"Dascal Anatolie\",\"ID\":\"42058954\",\"\\u0421\\u0434\\u0435\\u043b\\u043a\\u0430_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Transcriere CN (RO)\",\"Lead_name\":\"Transcriere CN (RO)\",\"\\u0411\\u044e\\u0434\\u0436\\u0435\\u0442\":\"400\",\"Budget\":\"400\",\"\\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\":\"79313657001\",\"Email\":\"alena.rotaru@gmail.com\",\"Cet\\u0103\\u021benie de\\u021binut\\u0103\":\"RU\",\"Cum Comunicam\":\"Watsap\",\"Limba vorbita\":\"Rusa\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Rotaru Alena\",\"Contact_name\":\"Rotaru Alena\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"Victor Ochinciuc\",\"Responsible\":\"Victor Ochinciuc\"},\"contact\":{\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"79313657001\",\"Email\":\"alena.rotaru@gmail.com\",\"Cet\\u0103\\u021benie de\\u021binut\\u0103\":\"RU\",\"Cum Comunicam\":\"Watsap\",\"Limba vorbita\":\"Rusa\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Rotaru Alena\",\"Contact_name\":\"Rotaru Alena\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"Victor Ochinciuc\",\"Responsible\":\"Victor Ochinciuc\"},\"\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442\\u044b\":[{\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"79313657001\",\"Email\":\"alena.rotaru@gmail.com\",\"Cet\\u0103\\u021benie de\\u021binut\\u0103\":\"RU\",\"Cum Comunicam\":\"Watsap\",\"Limba vorbita\":\"Rusa\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Rotaru Alena\",\"\\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\":\"02.07.2026\",\"\\u041d\\u043e\\u043c\\u0435\\u0440\":\"494\"},\"document\":{\"Date\":\"02.07.2026\",\"Number\":\"494\"}}}","edit":true}} {"uid":"6600476"}
[2026-07-02 14:47:18] docflow.DEBUG: GAS raw response {"raw":"[object] (stdClass: {\"code\":1,\"url\":\"https://docs.google.com/open?id=17R4GtpiC7UWNta0oxD1nbGdjwPv9d3WgL47SG0AF2dY\",\"file_id\":\"17R4GtpiC7UWNta0oxD1nbGdjwPv9d3WgL47SG0AF2dY\",\"error\":\"\",\"vars\":\"\"})"} {"uid":"6600476"}
[2026-07-02 14:47:18] docflow.WARNING: AmoDrive generated-file move is not ready. {"fileId":"17R4GtpiC7UWNta0oxD1nbGdjwPv9d3WgL47SG0AF2dY","context":null} {"uid":"6600476"}
[2026-07-02 14:47:32] docflow.INFO: Apel createDoc {"data":{"amoAccountId":"22699852","amoUserId":null,"amoEntityId":"42058954","amoEntityType":"2","templateId":"11528","corporateEntityId":"","settlementAccountId":"","is_signed":null,"gdi":null,"number":null,"currentAmoUserId":null,"lang":"ru"}} {"uid":"62c9df1"}
[2026-07-02 14:47:32] docflow.INFO: Token is valid for account 22699852. [] {"uid":"62c9df1"}
[2026-07-02 14:47:32] docflow.DEBUG: getClientAuth returned {"auth":"[object] (stdClass: {\"domain\":\"emigrare.amocrm.ru\",\"access_token\":\"eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImp0aSI6IjljYjJmODA4YTU0Mzk1ZTEzNzgxOWNhZGZlYWZmNWU0NTUyMDFjZDMwNWFkYWZjZDBjNjE1NjkwMmJjNWMyNGQ4ZWZkOGRjZjIzNmE2ZDc3In0.eyJhdWQiOiIwZDY0ZGZmYi1lNTRiLTQ0OGYtOWZiZi1iYWYyMjUxYTExZGIiLCJqdGkiOiI5Y2IyZjgwOGE1NDM5NWUxMzc4MTljYWRmZWFmZjVlNDU1MjAxY2QzMDVhZGFmY2QwYzYxNTY5MDJiYzVjMjRkOGVmZDhkY2YyMzZhNmQ3NyIsImlhdCI6MTc4Mjk4MTQ4MCwibmJmIjoxNzgyOTgxNDgwLCJleHAiOjE3ODMwNjc4ODAsInN1YiI6IjI5MzAzODAiLCJncmFudF90eXBlIjoiIiwiYWNjb3VudF9pZCI6MjI2OTk4NTIsImJhc2VfZG9tYWluIjoiYW1vY3JtLnJ1IiwidmVyc2lvbiI6Miwic2NvcGVzIjpbInB1c2hfbm90aWZpY2F0aW9ucyIsImNybSIsIm5vdGlmaWNhdGlvbnMiXSwiaGFzaF91dWlkIjoiYTM4Y2M1ZjItYjY2MC00ZTY0LWJlODItMzUwZWI1ZDE4YmQwIiwiYXBpX2RvbWFpbiI6ImFwaS1hLmFtb2NybS5ydSJ9.Qu0SrQ67Snk8-WDkAHB3nPrape-O-rItp-7FNpzs9LxWaA_DlykHTIuMeLlnUkx6cmU6EdYrkRJaJkoPOUlZYoI1VhfsFyI2rbp8FWNNxg53zQ2r6uhbys1C1B--gu_xxht5p60_Rgq3pT80ILtu-A_185mfgoMf0vTIsTOSv750JFcLVY6yOdOwRKIsq6LHwHkijqnmP-t6LtFCjjmohJZVtdKeyf7Ese1jAiVVMVXiAUQK3Op53JPcXGOrftw5thO3OU-jZRLFLRvzmmy-zkPAHZzi3t2oZMnhLWaR2uclJCaGJVnxYrwnot2pwQc2nd1JZ5YnDKr_YPqUS6_SSQ\"})","file":"/home/ytvmclwh/document.amocrm.md/src/Models/Docs.php","line":121} {"uid":"62c9df1"}
[2026-07-02 14:47:35] docflow.DEBUG: AmoDrive docflow context request {"url":"https://google.emale.uno/api/docflow/google-context","query":{"account_id":"22699852","entity_id":"42058954","entity_type":"leads"}} {"uid":"62c9df1"}
[2026-07-02 14:47:35] docflow.WARNING: AmoDrive docflow context request failed {"url":"https://google.emale.uno/api/docflow/google-context","http_code":null,"error":"HTTP/2 400 ","response":"<!DOCTYPE HTML PUBLIC \"-//IETF//DTD HTML 2.0//EN\">\r\n<html>\r\n<head><title>400 Bad Request</title></head>\r\n<body>\r\n<center><h1>400 Bad Request</h1></center>\r\n Sorry for the inconvenience.<br/>\r\nPlease report this message and include the following information to us.<br/>\r\nThank you very much!</p>\r\n<table>\r\n<tr>\r\n<td>URL:</td>\r\n<td>https://gd.glucose-dev.online/api/docflow/google-context?account_id=22699852&amp;entity_id=42058954&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/07/02 14:47:35</td>\r\n</tr>\r\n</table>\r\n<hr><center>tengine</center>\r\n</body>\r\n</html>\r\n"} {"uid":"62c9df1"}
[2026-07-02 14:47:35] docflow.DEBUG: AmoDrive docflow context request {"url":"https://gd.glucose-dev.online/api/docflow/google-context","query":{"account_id":"22699852","entity_id":"42058954","entity_type":"leads"}} {"uid":"62c9df1"}
[2026-07-02 14:47: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":22699852,"entityId":"42058954","entityType":"leads","amodrive":{"installed":false,"widgetStatus":"uninstalled","amoAccountId":22699852,"accountHost":"emigrare.amocrm.ru","license":{"status":"active","configuredStatus":"active","expiresAt":"2026-08-20T10:16:56.291Z","isExpired":false,"isTrial":false,"isActive":true,"expiredByDate":false,"daysRemaining":49,"isLifetime":false},"licenseActive":false,"googleConnected":false,"googleEmail":null,"googleHasDriveScope":false,"googleHasDriveFileScope":false,"googleHasOwnershipScope":false,"readyForGeneratedFileMove":false,"readyForTransfer":false},"folder":{"id":"1t1PJgOruYovRUXRarrMa9qw3pPID-vg5","name":"Transcriere CN (RO)","webViewLink":"https://drive.google.com/drive/folders/1t1PJgOruYovRUXRarrMa9qw3pPID-vg5"}}} {"uid":"62c9df1"}
[2026-07-02 14:47:35] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://google.emale.uno/api/docflow/prepare-generated-doc","payload":{"account_id":"22699852","entity_id":"42058954","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"62c9df1"}
[2026-07-02 14:47: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/07/02 14:47: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":"22699852","entity_id":"42058954","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"62c9df1"}
[2026-07-02 14:47:35] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://gd.glucose-dev.online/api/docflow/prepare-generated-doc","payload":{"account_id":"22699852","entity_id":"42058954","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"62c9df1"}
[2026-07-02 14:47: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\":22699852})","payload":{"account_id":"22699852","entity_id":"42058954","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"62c9df1"}
[2026-07-02 14:47:35] 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) 135 20260702144735\",\"leadId\":\"42058954\",\"entities\":{\"\\u0441\\u0434\\u0435\\u043b\\u043a\\u0430\":{\"google_folder_id_leads_field\":\"1t1PJgOruYovRUXRarrMa9qw3pPID-vg5\",\"google_folder_link_leads_field\":\"https:\\/\\/drive.google.com\\/drive\\/folders\\/1t1PJgOruYovRUXRarrMa9qw3pPID-vg5\",\"#Manager Front\":\"Cezara Cenusa\",\"Urm\\u0103torul contact\":\"2026-07-02 14:14:00\",\"Mod achitare\":\"Transfer firm\\u0103\",\"Suma avans\":\"400\",\"Manager Juridic\":\"Dascal Anatolie\",\"#Manager Jurist\":\"Dascal Anatolie\",\"ID\":\"42058954\",\"\\u0421\\u0434\\u0435\\u043b\\u043a\\u0430_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Transcriere CN (RO)\",\"Lead_name\":\"Transcriere CN (RO)\",\"\\u0411\\u044e\\u0434\\u0436\\u0435\\u0442\":\"400\",\"Budget\":\"400\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"Cezara Cenusa\",\"Responsible\":\"Cezara Cenusa\"},\"lead\":{\"google_folder_id_leads_field\":\"1t1PJgOruYovRUXRarrMa9qw3pPID-vg5\",\"google_folder_link_leads_field\":\"https:\\/\\/drive.google.com\\/drive\\/folders\\/1t1PJgOruYovRUXRarrMa9qw3pPID-vg5\",\"#Manager Front\":\"Cezara Cenusa\",\"Urm\\u0103torul contact\":\"2026-07-02 14:14:00\",\"Mod achitare\":\"Transfer firm\\u0103\",\"Suma avans\":\"400\",\"Manager Juridic\":\"Dascal Anatolie\",\"#Manager Jurist\":\"Dascal Anatolie\",\"ID\":\"42058954\",\"\\u0421\\u0434\\u0435\\u043b\\u043a\\u0430_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Transcriere CN (RO)\",\"Lead_name\":\"Transcriere CN (RO)\",\"\\u0411\\u044e\\u0434\\u0436\\u0435\\u0442\":\"400\",\"Budget\":\"400\",\"\\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\":\"79313657001\",\"Email\":\"alena.rotaru@gmail.com\",\"Cet\\u0103\\u021benie de\\u021binut\\u0103\":\"RU\",\"Cum Comunicam\":\"Watsap\",\"Limba vorbita\":\"Rusa\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Rotaru Alena\",\"Contact_name\":\"Rotaru Alena\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"Victor Ochinciuc\",\"Responsible\":\"Victor Ochinciuc\"},\"contact\":{\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"79313657001\",\"Email\":\"alena.rotaru@gmail.com\",\"Cet\\u0103\\u021benie de\\u021binut\\u0103\":\"RU\",\"Cum Comunicam\":\"Watsap\",\"Limba vorbita\":\"Rusa\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Rotaru Alena\",\"Contact_name\":\"Rotaru Alena\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"Victor Ochinciuc\",\"Responsible\":\"Victor Ochinciuc\"},\"\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442\\u044b\":[{\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"79313657001\",\"Email\":\"alena.rotaru@gmail.com\",\"Cet\\u0103\\u021benie de\\u021binut\\u0103\":\"RU\",\"Cum Comunicam\":\"Watsap\",\"Limba vorbita\":\"Rusa\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Rotaru Alena\",\"\\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\":\"02.07.2026\",\"\\u041d\\u043e\\u043c\\u0435\\u0440\":\"135\"},\"document\":{\"Date\":\"02.07.2026\",\"Number\":\"135\"}}}","edit":true}} {"uid":"62c9df1"}
[2026-07-02 14:47:41] docflow.DEBUG: GAS raw response {"raw":"[object] (stdClass: {\"code\":1,\"url\":\"https://docs.google.com/open?id=1SGM768D7XsJfD_Fy9c-r4y_5O0vSpILkpNo4bEhirfM\",\"file_id\":\"1SGM768D7XsJfD_Fy9c-r4y_5O0vSpILkpNo4bEhirfM\",\"error\":\"\",\"vars\":\"\"})"} {"uid":"62c9df1"}
[2026-07-02 14:47:41] docflow.WARNING: AmoDrive generated-file move is not ready. {"fileId":"1SGM768D7XsJfD_Fy9c-r4y_5O0vSpILkpNo4bEhirfM","context":null} {"uid":"62c9df1"}
[2026-07-02 14:48:22] docflow.INFO: Apel createDoc {"data":{"amoAccountId":"22699852","amoUserId":null,"amoEntityId":"42289180","amoEntityType":"2","templateId":"11512","corporateEntityId":"","settlementAccountId":"","is_signed":null,"gdi":null,"number":null,"currentAmoUserId":null,"lang":"ru"}} {"uid":"ef5e68d"}
[2026-07-02 14:48:22] docflow.INFO: Token is valid for account 22699852. [] {"uid":"ef5e68d"}
[2026-07-02 14:48:22] docflow.DEBUG: getClientAuth returned {"auth":"[object] (stdClass: {\"domain\":\"emigrare.amocrm.ru\",\"access_token\":\"eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImp0aSI6IjljYjJmODA4YTU0Mzk1ZTEzNzgxOWNhZGZlYWZmNWU0NTUyMDFjZDMwNWFkYWZjZDBjNjE1NjkwMmJjNWMyNGQ4ZWZkOGRjZjIzNmE2ZDc3In0.eyJhdWQiOiIwZDY0ZGZmYi1lNTRiLTQ0OGYtOWZiZi1iYWYyMjUxYTExZGIiLCJqdGkiOiI5Y2IyZjgwOGE1NDM5NWUxMzc4MTljYWRmZWFmZjVlNDU1MjAxY2QzMDVhZGFmY2QwYzYxNTY5MDJiYzVjMjRkOGVmZDhkY2YyMzZhNmQ3NyIsImlhdCI6MTc4Mjk4MTQ4MCwibmJmIjoxNzgyOTgxNDgwLCJleHAiOjE3ODMwNjc4ODAsInN1YiI6IjI5MzAzODAiLCJncmFudF90eXBlIjoiIiwiYWNjb3VudF9pZCI6MjI2OTk4NTIsImJhc2VfZG9tYWluIjoiYW1vY3JtLnJ1IiwidmVyc2lvbiI6Miwic2NvcGVzIjpbInB1c2hfbm90aWZpY2F0aW9ucyIsImNybSIsIm5vdGlmaWNhdGlvbnMiXSwiaGFzaF91dWlkIjoiYTM4Y2M1ZjItYjY2MC00ZTY0LWJlODItMzUwZWI1ZDE4YmQwIiwiYXBpX2RvbWFpbiI6ImFwaS1hLmFtb2NybS5ydSJ9.Qu0SrQ67Snk8-WDkAHB3nPrape-O-rItp-7FNpzs9LxWaA_DlykHTIuMeLlnUkx6cmU6EdYrkRJaJkoPOUlZYoI1VhfsFyI2rbp8FWNNxg53zQ2r6uhbys1C1B--gu_xxht5p60_Rgq3pT80ILtu-A_185mfgoMf0vTIsTOSv750JFcLVY6yOdOwRKIsq6LHwHkijqnmP-t6LtFCjjmohJZVtdKeyf7Ese1jAiVVMVXiAUQK3Op53JPcXGOrftw5thO3OU-jZRLFLRvzmmy-zkPAHZzi3t2oZMnhLWaR2uclJCaGJVnxYrwnot2pwQc2nd1JZ5YnDKr_YPqUS6_SSQ\"})","file":"/home/ytvmclwh/document.amocrm.md/src/Models/Docs.php","line":121} {"uid":"ef5e68d"}
[2026-07-02 14:48:25] docflow.DEBUG: AmoDrive docflow context request {"url":"https://google.emale.uno/api/docflow/google-context","query":{"account_id":"22699852","entity_id":"42289180","entity_type":"leads"}} {"uid":"ef5e68d"}
[2026-07-02 14:48:25] docflow.WARNING: AmoDrive docflow context request failed {"url":"https://google.emale.uno/api/docflow/google-context","http_code":null,"error":"HTTP/2 400 ","response":"<!DOCTYPE HTML PUBLIC \"-//IETF//DTD HTML 2.0//EN\">\r\n<html>\r\n<head><title>400 Bad Request</title></head>\r\n<body>\r\n<center><h1>400 Bad Request</h1></center>\r\n Sorry for the inconvenience.<br/>\r\nPlease report this message and include the following information to us.<br/>\r\nThank you very much!</p>\r\n<table>\r\n<tr>\r\n<td>URL:</td>\r\n<td>https://gd.glucose-dev.online/api/docflow/google-context?account_id=22699852&amp;entity_id=42289180&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/07/02 14:48:26</td>\r\n</tr>\r\n</table>\r\n<hr><center>tengine</center>\r\n</body>\r\n</html>\r\n"} {"uid":"ef5e68d"}
[2026-07-02 14:48:25] docflow.DEBUG: AmoDrive docflow context request {"url":"https://gd.glucose-dev.online/api/docflow/google-context","query":{"account_id":"22699852","entity_id":"42289180","entity_type":"leads"}} {"uid":"ef5e68d"}
[2026-07-02 14:48:25] docflow.WARNING: AmoDrive docflow context response is not ready, trying next backend. {"url":"https://gd.glucose-dev.online/api/docflow/google-context","payload":{"ok":true,"accountId":22699852,"entityId":"42289180","entityType":"leads","amodrive":{"installed":false,"widgetStatus":"uninstalled","amoAccountId":22699852,"accountHost":"emigrare.amocrm.ru","license":{"status":"active","configuredStatus":"active","expiresAt":"2026-08-20T10:16:56.291Z","isExpired":false,"isTrial":false,"isActive":true,"expiredByDate":false,"daysRemaining":49,"isLifetime":false},"licenseActive":false,"googleConnected":false,"googleEmail":null,"googleHasDriveScope":false,"googleHasDriveFileScope":false,"googleHasOwnershipScope":false,"readyForGeneratedFileMove":false,"readyForTransfer":false},"folder":null}} {"uid":"ef5e68d"}
[2026-07-02 14:48:25] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://google.emale.uno/api/docflow/prepare-generated-doc","payload":{"account_id":"22699852","entity_id":"42289180","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"ef5e68d"}
[2026-07-02 14:48: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/07/02 14:48:26</td>\r\n</tr>\r\n</table>\r\n<hr><center>tengine</center>\r\n</body>\r\n</html>\r\n","payload":{"account_id":"22699852","entity_id":"42289180","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"ef5e68d"}
[2026-07-02 14:48:26] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://gd.glucose-dev.online/api/docflow/prepare-generated-doc","payload":{"account_id":"22699852","entity_id":"42289180","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"ef5e68d"}
[2026-07-02 14:48:26] docflow.WARNING: AmoDrive prepare-generated-doc request failed {"url":"https://gd.glucose-dev.online/api/docflow/prepare-generated-doc","http_code":null,"error":"HTTP/2 404 ","response":"[object] (stdClass: {\"ok\":false,\"error\":\"AmoDrive is not installed for this account.\",\"accountId\":22699852})","payload":{"account_id":"22699852","entity_id":"42289180","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"ef5e68d"}
[2026-07-02 14:48:26] 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) 204 20260702144825\",\"leadId\":\"42289180\",\"entities\":{\"\\u0441\\u0434\\u0435\\u043b\\u043a\\u0430\":{\"Brand\":\"Emigrare.md\",\"Shema\":\"Emigrare\",\"Suma \\u20ac\":\"0\",\"tree_name\":\"Emigrare\",\"Manager front office\":\"Capanji Igor\",\"ID\":\"42289180\",\"\\u0421\\u0434\\u0435\\u043b\\u043a\\u0430_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"cons viza\",\"Lead_name\":\"cons viza\",\"\\u0411\\u044e\\u0434\\u0436\\u0435\\u0442\":\"0\",\"Budget\":\"0\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"Capanji Igor\",\"Responsible\":\"Capanji Igor\"},\"lead\":{\"Brand\":\"Emigrare.md\",\"Shema\":\"Emigrare\",\"Suma \\u20ac\":\"0\",\"tree_name\":\"Emigrare\",\"Manager front office\":\"Capanji Igor\",\"ID\":\"42289180\",\"\\u0421\\u0434\\u0435\\u043b\\u043a\\u0430_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"cons viza\",\"Lead_name\":\"cons viza\",\"\\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\":\"37378808418\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Lumini\\u021ba Briceag\",\"Contact_name\":\"Lumini\\u021ba Briceag\",\"\\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\":\"37378808418\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Lumini\\u021ba Briceag\",\"Contact_name\":\"Lumini\\u021ba Briceag\",\"\\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\":\"37378808418\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Lumini\\u021ba Briceag\",\"\\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\":\"02.07.2026\",\"\\u041d\\u043e\\u043c\\u0435\\u0440\":\"204\"},\"document\":{\"Date\":\"02.07.2026\",\"Number\":\"204\"}}}","edit":true}} {"uid":"ef5e68d"}
[2026-07-02 14:48:33] docflow.DEBUG: GAS raw response {"raw":"[object] (stdClass: {\"code\":1,\"url\":\"https://docs.google.com/open?id=18O7JtsTu2GDd8sqnKmcZQ0gaPZO6t8L2JIRsHCQPUd8\",\"file_id\":\"18O7JtsTu2GDd8sqnKmcZQ0gaPZO6t8L2JIRsHCQPUd8\",\"error\":\"\",\"vars\":\"\"})"} {"uid":"ef5e68d"}
[2026-07-02 14:48:33] docflow.WARNING: AmoDrive generated-file move is not ready. {"fileId":"18O7JtsTu2GDd8sqnKmcZQ0gaPZO6t8L2JIRsHCQPUd8","context":null} {"uid":"ef5e68d"}
[2026-07-02 14:55:16] docflow.INFO: Apel createDoc {"data":{"amoAccountId":"22699852","amoUserId":null,"amoEntityId":"42290628","amoEntityType":"2","templateId":"11492","corporateEntityId":"","settlementAccountId":"","is_signed":null,"gdi":null,"number":null,"currentAmoUserId":null,"lang":"ru"}} {"uid":"9dca445"}
[2026-07-02 14:55:17] docflow.INFO: Token is valid for account 22699852. [] {"uid":"9dca445"}
[2026-07-02 14:55:17] docflow.DEBUG: getClientAuth returned {"auth":"[object] (stdClass: {\"domain\":\"emigrare.amocrm.ru\",\"access_token\":\"eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImp0aSI6IjljYjJmODA4YTU0Mzk1ZTEzNzgxOWNhZGZlYWZmNWU0NTUyMDFjZDMwNWFkYWZjZDBjNjE1NjkwMmJjNWMyNGQ4ZWZkOGRjZjIzNmE2ZDc3In0.eyJhdWQiOiIwZDY0ZGZmYi1lNTRiLTQ0OGYtOWZiZi1iYWYyMjUxYTExZGIiLCJqdGkiOiI5Y2IyZjgwOGE1NDM5NWUxMzc4MTljYWRmZWFmZjVlNDU1MjAxY2QzMDVhZGFmY2QwYzYxNTY5MDJiYzVjMjRkOGVmZDhkY2YyMzZhNmQ3NyIsImlhdCI6MTc4Mjk4MTQ4MCwibmJmIjoxNzgyOTgxNDgwLCJleHAiOjE3ODMwNjc4ODAsInN1YiI6IjI5MzAzODAiLCJncmFudF90eXBlIjoiIiwiYWNjb3VudF9pZCI6MjI2OTk4NTIsImJhc2VfZG9tYWluIjoiYW1vY3JtLnJ1IiwidmVyc2lvbiI6Miwic2NvcGVzIjpbInB1c2hfbm90aWZpY2F0aW9ucyIsImNybSIsIm5vdGlmaWNhdGlvbnMiXSwiaGFzaF91dWlkIjoiYTM4Y2M1ZjItYjY2MC00ZTY0LWJlODItMzUwZWI1ZDE4YmQwIiwiYXBpX2RvbWFpbiI6ImFwaS1hLmFtb2NybS5ydSJ9.Qu0SrQ67Snk8-WDkAHB3nPrape-O-rItp-7FNpzs9LxWaA_DlykHTIuMeLlnUkx6cmU6EdYrkRJaJkoPOUlZYoI1VhfsFyI2rbp8FWNNxg53zQ2r6uhbys1C1B--gu_xxht5p60_Rgq3pT80ILtu-A_185mfgoMf0vTIsTOSv750JFcLVY6yOdOwRKIsq6LHwHkijqnmP-t6LtFCjjmohJZVtdKeyf7Ese1jAiVVMVXiAUQK3Op53JPcXGOrftw5thO3OU-jZRLFLRvzmmy-zkPAHZzi3t2oZMnhLWaR2uclJCaGJVnxYrwnot2pwQc2nd1JZ5YnDKr_YPqUS6_SSQ\"})","file":"/home/ytvmclwh/document.amocrm.md/src/Models/Docs.php","line":121} {"uid":"9dca445"}
[2026-07-02 14:55:19] docflow.DEBUG: AmoDrive docflow context request {"url":"https://google.emale.uno/api/docflow/google-context","query":{"account_id":"22699852","entity_id":"42290628","entity_type":"leads"}} {"uid":"9dca445"}
[2026-07-02 14:55: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=22699852&amp;entity_id=42290628&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/07/02 14:55:20</td>\r\n</tr>\r\n</table>\r\n<hr><center>tengine</center>\r\n</body>\r\n</html>\r\n"} {"uid":"9dca445"}
[2026-07-02 14:55:20] docflow.DEBUG: AmoDrive docflow context request {"url":"https://gd.glucose-dev.online/api/docflow/google-context","query":{"account_id":"22699852","entity_id":"42290628","entity_type":"leads"}} {"uid":"9dca445"}
[2026-07-02 14:55: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":22699852,"entityId":"42290628","entityType":"leads","amodrive":{"installed":false,"widgetStatus":"uninstalled","amoAccountId":22699852,"accountHost":"emigrare.amocrm.ru","license":{"status":"active","configuredStatus":"active","expiresAt":"2026-08-20T10:16:56.291Z","isExpired":false,"isTrial":false,"isActive":true,"expiredByDate":false,"daysRemaining":49,"isLifetime":false},"licenseActive":false,"googleConnected":false,"googleEmail":null,"googleHasDriveScope":false,"googleHasDriveFileScope":false,"googleHasOwnershipScope":false,"readyForGeneratedFileMove":false,"readyForTransfer":false},"folder":{"id":"1PDBCEZ3BB5CssEx2oJMd5wgA2l0ZVRfW","name":"42290628 - Lead #42290628","webViewLink":"https://drive.google.com/drive/folders/1PDBCEZ3BB5CssEx2oJMd5wgA2l0ZVRfW"}}} {"uid":"9dca445"}
[2026-07-02 14:55:20] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://google.emale.uno/api/docflow/prepare-generated-doc","payload":{"account_id":"22699852","entity_id":"42290628","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"9dca445"}
[2026-07-02 14:55: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/07/02 14:55:20</td>\r\n</tr>\r\n</table>\r\n<hr><center>tengine</center>\r\n</body>\r\n</html>\r\n","payload":{"account_id":"22699852","entity_id":"42290628","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"9dca445"}
[2026-07-02 14:55:20] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://gd.glucose-dev.online/api/docflow/prepare-generated-doc","payload":{"account_id":"22699852","entity_id":"42290628","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"9dca445"}
[2026-07-02 14:55:20] docflow.WARNING: AmoDrive prepare-generated-doc request failed {"url":"https://gd.glucose-dev.online/api/docflow/prepare-generated-doc","http_code":null,"error":"HTTP/2 404 ","response":"[object] (stdClass: {\"ok\":false,\"error\":\"AmoDrive is not installed for this account.\",\"accountId\":22699852})","payload":{"account_id":"22699852","entity_id":"42290628","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"9dca445"}
[2026-07-02 14:55:20] docflow.DEBUG: GAS request {"url":"https://script.google.com/macros/s/AKfycbwrvOJD46zkuoTzdhpc1kulhV8jRfgQBFZfQ121nkIip_k8yKit4xrbWTOzaJ-C-Yed6w/exec","body":{"templateFileId":"1FKXK35jtKpiduD-kqwGdMh_qii__EQs9wkQ6iT0Ii0o","accountId":"22699852","folderId":"1Us2AfskxgdA729xVr0F2vjZU9y5PlYDe","key":"~VTsK5dcnHc2cSSsjM$LFSjLlgbmJXwrp3R2P5nd","data":"{\"fileName\":\"Viz\\u0103 de re\\u0219edin\\u021b\\u0103 421 20260702145519\",\"leadId\":\"42290628\",\"entities\":{\"\\u0441\\u0434\\u0435\\u043b\\u043a\\u0430\":{\"ID\":\"42290628\",\"\\u0421\\u0434\\u0435\\u043b\\u043a\\u0430_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Prelungire domiciliu 1 an (14.07.2026-14.07.2027)\\nDubinskii Vladislav\",\"Lead_name\":\"Prelungire domiciliu 1 an (14.07.2026-14.07.2027)\\nDubinskii Vladislav\",\"\\u0411\\u044e\\u0434\\u0436\\u0435\\u0442\":\"350\",\"Budget\":\"350\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"Cezara Cenusa\",\"Responsible\":\"Cezara Cenusa\"},\"lead\":{\"ID\":\"42290628\",\"\\u0421\\u0434\\u0435\\u043b\\u043a\\u0430_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Prelungire domiciliu 1 an (14.07.2026-14.07.2027)\\nDubinskii Vladislav\",\"Lead_name\":\"Prelungire domiciliu 1 an (14.07.2026-14.07.2027)\\nDubinskii Vladislav\",\"\\u0411\\u044e\\u0434\\u0436\\u0435\\u0442\":\"350\",\"Budget\":\"350\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"Cezara Cenusa\",\"Responsible\":\"Cezara Cenusa\"},\"\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442\":{\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"+79940009090\",\"Email\":\"ejik-print@mail.ru\",\"Limba vorbita\":\"Rusa\",\"TelegramId_WZ\":\"5176395717\",\"TelegramUsername_WZ\":\"@nordwind_fareast\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Vladislav Dubinskii\",\"Contact_name\":\"Vladislav Dubinskii\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"Victor Ochinciuc\",\"Responsible\":\"Victor Ochinciuc\"},\"contact\":{\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"+79940009090\",\"Email\":\"ejik-print@mail.ru\",\"Limba vorbita\":\"Rusa\",\"TelegramId_WZ\":\"5176395717\",\"TelegramUsername_WZ\":\"@nordwind_fareast\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Vladislav Dubinskii\",\"Contact_name\":\"Vladislav Dubinskii\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"Victor Ochinciuc\",\"Responsible\":\"Victor Ochinciuc\"},\"\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442\\u044b\":[{\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"+79940009090\",\"Email\":\"ejik-print@mail.ru\",\"Limba vorbita\":\"Rusa\",\"TelegramId_WZ\":\"5176395717\",\"TelegramUsername_WZ\":\"@nordwind_fareast\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Vladislav Dubinskii\",\"\\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\":\"02.07.2026\",\"\\u041d\\u043e\\u043c\\u0435\\u0440\":\"421\"},\"document\":{\"Date\":\"02.07.2026\",\"Number\":\"421\"}}}","edit":true}} {"uid":"9dca445"}
[2026-07-02 14:55:22] docflow.INFO: Apel createDoc {"data":{"amoAccountId":"22699852","amoUserId":null,"amoEntityId":"42290736","amoEntityType":"2","templateId":"11492","corporateEntityId":"","settlementAccountId":"","is_signed":null,"gdi":null,"number":null,"currentAmoUserId":null,"lang":"ru"}} {"uid":"ae73450"}
[2026-07-02 14:55:23] docflow.INFO: Token is valid for account 22699852. [] {"uid":"ae73450"}
[2026-07-02 14:55:23] docflow.DEBUG: getClientAuth returned {"auth":"[object] (stdClass: {\"domain\":\"emigrare.amocrm.ru\",\"access_token\":\"eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImp0aSI6IjljYjJmODA4YTU0Mzk1ZTEzNzgxOWNhZGZlYWZmNWU0NTUyMDFjZDMwNWFkYWZjZDBjNjE1NjkwMmJjNWMyNGQ4ZWZkOGRjZjIzNmE2ZDc3In0.eyJhdWQiOiIwZDY0ZGZmYi1lNTRiLTQ0OGYtOWZiZi1iYWYyMjUxYTExZGIiLCJqdGkiOiI5Y2IyZjgwOGE1NDM5NWUxMzc4MTljYWRmZWFmZjVlNDU1MjAxY2QzMDVhZGFmY2QwYzYxNTY5MDJiYzVjMjRkOGVmZDhkY2YyMzZhNmQ3NyIsImlhdCI6MTc4Mjk4MTQ4MCwibmJmIjoxNzgyOTgxNDgwLCJleHAiOjE3ODMwNjc4ODAsInN1YiI6IjI5MzAzODAiLCJncmFudF90eXBlIjoiIiwiYWNjb3VudF9pZCI6MjI2OTk4NTIsImJhc2VfZG9tYWluIjoiYW1vY3JtLnJ1IiwidmVyc2lvbiI6Miwic2NvcGVzIjpbInB1c2hfbm90aWZpY2F0aW9ucyIsImNybSIsIm5vdGlmaWNhdGlvbnMiXSwiaGFzaF91dWlkIjoiYTM4Y2M1ZjItYjY2MC00ZTY0LWJlODItMzUwZWI1ZDE4YmQwIiwiYXBpX2RvbWFpbiI6ImFwaS1hLmFtb2NybS5ydSJ9.Qu0SrQ67Snk8-WDkAHB3nPrape-O-rItp-7FNpzs9LxWaA_DlykHTIuMeLlnUkx6cmU6EdYrkRJaJkoPOUlZYoI1VhfsFyI2rbp8FWNNxg53zQ2r6uhbys1C1B--gu_xxht5p60_Rgq3pT80ILtu-A_185mfgoMf0vTIsTOSv750JFcLVY6yOdOwRKIsq6LHwHkijqnmP-t6LtFCjjmohJZVtdKeyf7Ese1jAiVVMVXiAUQK3Op53JPcXGOrftw5thO3OU-jZRLFLRvzmmy-zkPAHZzi3t2oZMnhLWaR2uclJCaGJVnxYrwnot2pwQc2nd1JZ5YnDKr_YPqUS6_SSQ\"})","file":"/home/ytvmclwh/document.amocrm.md/src/Models/Docs.php","line":121} {"uid":"ae73450"}
[2026-07-02 14:55:26] docflow.DEBUG: AmoDrive docflow context request {"url":"https://google.emale.uno/api/docflow/google-context","query":{"account_id":"22699852","entity_id":"42290736","entity_type":"leads"}} {"uid":"ae73450"}
[2026-07-02 14:55:26] docflow.WARNING: AmoDrive docflow context request failed {"url":"https://google.emale.uno/api/docflow/google-context","http_code":null,"error":"HTTP/2 400 ","response":"<!DOCTYPE HTML PUBLIC \"-//IETF//DTD HTML 2.0//EN\">\r\n<html>\r\n<head><title>400 Bad Request</title></head>\r\n<body>\r\n<center><h1>400 Bad Request</h1></center>\r\n Sorry for the inconvenience.<br/>\r\nPlease report this message and include the following information to us.<br/>\r\nThank you very much!</p>\r\n<table>\r\n<tr>\r\n<td>URL:</td>\r\n<td>https://gd.glucose-dev.online/api/docflow/google-context?account_id=22699852&amp;entity_id=42290736&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/07/02 14:55:26</td>\r\n</tr>\r\n</table>\r\n<hr><center>tengine</center>\r\n</body>\r\n</html>\r\n"} {"uid":"ae73450"}
[2026-07-02 14:55:26] docflow.DEBUG: AmoDrive docflow context request {"url":"https://gd.glucose-dev.online/api/docflow/google-context","query":{"account_id":"22699852","entity_id":"42290736","entity_type":"leads"}} {"uid":"ae73450"}
[2026-07-02 14:55:26] docflow.WARNING: AmoDrive docflow context response is not ready, trying next backend. {"url":"https://gd.glucose-dev.online/api/docflow/google-context","payload":{"ok":true,"accountId":22699852,"entityId":"42290736","entityType":"leads","amodrive":{"installed":false,"widgetStatus":"uninstalled","amoAccountId":22699852,"accountHost":"emigrare.amocrm.ru","license":{"status":"active","configuredStatus":"active","expiresAt":"2026-08-20T10:16:56.291Z","isExpired":false,"isTrial":false,"isActive":true,"expiredByDate":false,"daysRemaining":49,"isLifetime":false},"licenseActive":false,"googleConnected":false,"googleEmail":null,"googleHasDriveScope":false,"googleHasDriveFileScope":false,"googleHasOwnershipScope":false,"readyForGeneratedFileMove":false,"readyForTransfer":false},"folder":null}} {"uid":"ae73450"}
[2026-07-02 14:55:26] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://google.emale.uno/api/docflow/prepare-generated-doc","payload":{"account_id":"22699852","entity_id":"42290736","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"ae73450"}
[2026-07-02 14:55: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/07/02 14:55:26</td>\r\n</tr>\r\n</table>\r\n<hr><center>tengine</center>\r\n</body>\r\n</html>\r\n","payload":{"account_id":"22699852","entity_id":"42290736","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"ae73450"}
[2026-07-02 14:55:26] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://gd.glucose-dev.online/api/docflow/prepare-generated-doc","payload":{"account_id":"22699852","entity_id":"42290736","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"ae73450"}
[2026-07-02 14:55:26] docflow.WARNING: AmoDrive prepare-generated-doc request failed {"url":"https://gd.glucose-dev.online/api/docflow/prepare-generated-doc","http_code":null,"error":"HTTP/2 404 ","response":"[object] (stdClass: {\"ok\":false,\"error\":\"AmoDrive is not installed for this account.\",\"accountId\":22699852})","payload":{"account_id":"22699852","entity_id":"42290736","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"ae73450"}
[2026-07-02 14:55:26] docflow.DEBUG: GAS request {"url":"https://script.google.com/macros/s/AKfycbwrvOJD46zkuoTzdhpc1kulhV8jRfgQBFZfQ121nkIip_k8yKit4xrbWTOzaJ-C-Yed6w/exec","body":{"templateFileId":"1FKXK35jtKpiduD-kqwGdMh_qii__EQs9wkQ6iT0Ii0o","accountId":"22699852","folderId":"1Us2AfskxgdA729xVr0F2vjZU9y5PlYDe","key":"~VTsK5dcnHc2cSSsjM$LFSjLlgbmJXwrp3R2P5nd","data":"{\"fileName\":\"Viz\\u0103 de re\\u0219edin\\u021b\\u0103 421 20260702145526\",\"leadId\":\"42290736\",\"entities\":{\"\\u0441\\u0434\\u0435\\u043b\\u043a\\u0430\":{\"ID\":\"42290736\",\"\\u0421\\u0434\\u0435\\u043b\\u043a\\u0430_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Prelungore domiciliu 3 ani (14.07.2026-14.07.2029)\\nDubinskaia Anna\",\"Lead_name\":\"Prelungore domiciliu 3 ani (14.07.2026-14.07.2029)\\nDubinskaia Anna\",\"\\u0411\\u044e\\u0434\\u0436\\u0435\\u0442\":\"800\",\"Budget\":\"800\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"Cezara Cenusa\",\"Responsible\":\"Cezara Cenusa\"},\"lead\":{\"ID\":\"42290736\",\"\\u0421\\u0434\\u0435\\u043b\\u043a\\u0430_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Prelungore domiciliu 3 ani (14.07.2026-14.07.2029)\\nDubinskaia Anna\",\"Lead_name\":\"Prelungore domiciliu 3 ani (14.07.2026-14.07.2029)\\nDubinskaia Anna\",\"\\u0411\\u044e\\u0434\\u0436\\u0435\\u0442\":\"800\",\"Budget\":\"800\",\"\\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\":\"+79940009090\",\"Email\":\"ejik-print@mail.ru\",\"Limba vorbita\":\"Rusa\",\"TelegramId_WZ\":\"5176395717\",\"TelegramUsername_WZ\":\"@nordwind_fareast\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Vladislav Dubinskii\",\"Contact_name\":\"Vladislav Dubinskii\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"Victor Ochinciuc\",\"Responsible\":\"Victor Ochinciuc\"},\"contact\":{\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"+79940009090\",\"Email\":\"ejik-print@mail.ru\",\"Limba vorbita\":\"Rusa\",\"TelegramId_WZ\":\"5176395717\",\"TelegramUsername_WZ\":\"@nordwind_fareast\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Vladislav Dubinskii\",\"Contact_name\":\"Vladislav Dubinskii\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"Victor Ochinciuc\",\"Responsible\":\"Victor Ochinciuc\"},\"\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442\\u044b\":[{\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"+79940009090\",\"Email\":\"ejik-print@mail.ru\",\"Limba vorbita\":\"Rusa\",\"TelegramId_WZ\":\"5176395717\",\"TelegramUsername_WZ\":\"@nordwind_fareast\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Vladislav Dubinskii\",\"\\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\":\"02.07.2026\",\"\\u041d\\u043e\\u043c\\u0435\\u0440\":\"421\"},\"document\":{\"Date\":\"02.07.2026\",\"Number\":\"421\"}}}","edit":true}} {"uid":"ae73450"}
[2026-07-02 14:55:27] docflow.DEBUG: GAS raw response {"raw":"[object] (stdClass: {\"code\":1,\"url\":\"https://docs.google.com/open?id=1BkT61S0E7J8WgCI1Oz2Q3vjWCW1vWuQNMMMA20bqr6s\",\"file_id\":\"1BkT61S0E7J8WgCI1Oz2Q3vjWCW1vWuQNMMMA20bqr6s\",\"error\":\"\",\"vars\":\"\"})"} {"uid":"9dca445"}
[2026-07-02 14:55:27] docflow.WARNING: AmoDrive generated-file move is not ready. {"fileId":"1BkT61S0E7J8WgCI1Oz2Q3vjWCW1vWuQNMMMA20bqr6s","context":null} {"uid":"9dca445"}
[2026-07-02 14:55:32] docflow.DEBUG: GAS raw response {"raw":"[object] (stdClass: {\"code\":1,\"url\":\"https://docs.google.com/open?id=1JXlWkYPj6tUN5H_xW4994lGizQ_0CYA2htGY2-AE4LA\",\"file_id\":\"1JXlWkYPj6tUN5H_xW4994lGizQ_0CYA2htGY2-AE4LA\",\"error\":\"\",\"vars\":\"\"})"} {"uid":"ae73450"}
[2026-07-02 14:55:32] docflow.WARNING: AmoDrive generated-file move is not ready. {"fileId":"1JXlWkYPj6tUN5H_xW4994lGizQ_0CYA2htGY2-AE4LA","context":null} {"uid":"ae73450"}
[2026-07-02 14:57:27] docflow.INFO: Apel createDoc {"data":{"amoAccountId":"22699852","amoUserId":null,"amoEntityId":"42290628","amoEntityType":"2","templateId":"11528","corporateEntityId":"","settlementAccountId":"","is_signed":null,"gdi":null,"number":null,"currentAmoUserId":null,"lang":"ru"}} {"uid":"f6c2c2f"}
[2026-07-02 14:57:28] docflow.INFO: Token is valid for account 22699852. [] {"uid":"f6c2c2f"}
[2026-07-02 14:57:28] docflow.DEBUG: getClientAuth returned {"auth":"[object] (stdClass: {\"domain\":\"emigrare.amocrm.ru\",\"access_token\":\"eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImp0aSI6IjljYjJmODA4YTU0Mzk1ZTEzNzgxOWNhZGZlYWZmNWU0NTUyMDFjZDMwNWFkYWZjZDBjNjE1NjkwMmJjNWMyNGQ4ZWZkOGRjZjIzNmE2ZDc3In0.eyJhdWQiOiIwZDY0ZGZmYi1lNTRiLTQ0OGYtOWZiZi1iYWYyMjUxYTExZGIiLCJqdGkiOiI5Y2IyZjgwOGE1NDM5NWUxMzc4MTljYWRmZWFmZjVlNDU1MjAxY2QzMDVhZGFmY2QwYzYxNTY5MDJiYzVjMjRkOGVmZDhkY2YyMzZhNmQ3NyIsImlhdCI6MTc4Mjk4MTQ4MCwibmJmIjoxNzgyOTgxNDgwLCJleHAiOjE3ODMwNjc4ODAsInN1YiI6IjI5MzAzODAiLCJncmFudF90eXBlIjoiIiwiYWNjb3VudF9pZCI6MjI2OTk4NTIsImJhc2VfZG9tYWluIjoiYW1vY3JtLnJ1IiwidmVyc2lvbiI6Miwic2NvcGVzIjpbInB1c2hfbm90aWZpY2F0aW9ucyIsImNybSIsIm5vdGlmaWNhdGlvbnMiXSwiaGFzaF91dWlkIjoiYTM4Y2M1ZjItYjY2MC00ZTY0LWJlODItMzUwZWI1ZDE4YmQwIiwiYXBpX2RvbWFpbiI6ImFwaS1hLmFtb2NybS5ydSJ9.Qu0SrQ67Snk8-WDkAHB3nPrape-O-rItp-7FNpzs9LxWaA_DlykHTIuMeLlnUkx6cmU6EdYrkRJaJkoPOUlZYoI1VhfsFyI2rbp8FWNNxg53zQ2r6uhbys1C1B--gu_xxht5p60_Rgq3pT80ILtu-A_185mfgoMf0vTIsTOSv750JFcLVY6yOdOwRKIsq6LHwHkijqnmP-t6LtFCjjmohJZVtdKeyf7Ese1jAiVVMVXiAUQK3Op53JPcXGOrftw5thO3OU-jZRLFLRvzmmy-zkPAHZzi3t2oZMnhLWaR2uclJCaGJVnxYrwnot2pwQc2nd1JZ5YnDKr_YPqUS6_SSQ\"})","file":"/home/ytvmclwh/document.amocrm.md/src/Models/Docs.php","line":121} {"uid":"f6c2c2f"}
[2026-07-02 14:57:31] docflow.DEBUG: AmoDrive docflow context request {"url":"https://google.emale.uno/api/docflow/google-context","query":{"account_id":"22699852","entity_id":"42290628","entity_type":"leads"}} {"uid":"f6c2c2f"}
[2026-07-02 14:57:31] 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=42290628&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/07/02 14:57:31</td>\r\n</tr>\r\n</table>\r\n<hr><center>tengine</center>\r\n</body>\r\n</html>\r\n"} {"uid":"f6c2c2f"}
[2026-07-02 14:57:31] docflow.DEBUG: AmoDrive docflow context request {"url":"https://gd.glucose-dev.online/api/docflow/google-context","query":{"account_id":"22699852","entity_id":"42290628","entity_type":"leads"}} {"uid":"f6c2c2f"}
[2026-07-02 14:57:31] 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":"42290628","entityType":"leads","amodrive":{"installed":false,"widgetStatus":"uninstalled","amoAccountId":22699852,"accountHost":"emigrare.amocrm.ru","license":{"status":"active","configuredStatus":"active","expiresAt":"2026-08-20T10:16:56.291Z","isExpired":false,"isTrial":false,"isActive":true,"expiredByDate":false,"daysRemaining":49,"isLifetime":false},"licenseActive":false,"googleConnected":false,"googleEmail":null,"googleHasDriveScope":false,"googleHasDriveFileScope":false,"googleHasOwnershipScope":false,"readyForGeneratedFileMove":false,"readyForTransfer":false},"folder":{"id":"1PDBCEZ3BB5CssEx2oJMd5wgA2l0ZVRfW","name":"42290628 - Lead #42290628","webViewLink":"https://drive.google.com/drive/folders/1PDBCEZ3BB5CssEx2oJMd5wgA2l0ZVRfW"}}} {"uid":"f6c2c2f"}
[2026-07-02 14:57:31] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://google.emale.uno/api/docflow/prepare-generated-doc","payload":{"account_id":"22699852","entity_id":"42290628","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"f6c2c2f"}
[2026-07-02 14:57:31] 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/07/02 14:57:31</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":"42290628","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"f6c2c2f"}
[2026-07-02 14:57:31] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://gd.glucose-dev.online/api/docflow/prepare-generated-doc","payload":{"account_id":"22699852","entity_id":"42290628","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"f6c2c2f"}
[2026-07-02 14:57:31] 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":"42290628","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"f6c2c2f"}
[2026-07-02 14:57:31] 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) 136 20260702145731\",\"leadId\":\"42290628\",\"entities\":{\"\\u0441\\u0434\\u0435\\u043b\\u043a\\u0430\":{\"ID\":\"42290628\",\"\\u0421\\u0434\\u0435\\u043b\\u043a\\u0430_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Prelungire domiciliu (14.07.26-14.07.27)\",\"Lead_name\":\"Prelungire domiciliu (14.07.26-14.07.27)\",\"\\u0411\\u044e\\u0434\\u0436\\u0435\\u0442\":\"350\",\"Budget\":\"350\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"Cezara Cenusa\",\"Responsible\":\"Cezara Cenusa\"},\"lead\":{\"ID\":\"42290628\",\"\\u0421\\u0434\\u0435\\u043b\\u043a\\u0430_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Prelungire domiciliu (14.07.26-14.07.27)\",\"Lead_name\":\"Prelungire domiciliu (14.07.26-14.07.27)\",\"\\u0411\\u044e\\u0434\\u0436\\u0435\\u0442\":\"350\",\"Budget\":\"350\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"Cezara Cenusa\",\"Responsible\":\"Cezara Cenusa\"},\"\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442\":{\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"+79940009090\",\"Email\":\"ejik-print@mail.ru\",\"Limba vorbita\":\"Rusa\",\"TelegramId_WZ\":\"5176395717\",\"TelegramUsername_WZ\":\"@nordwind_fareast\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Vladislav Dubinskii\",\"Contact_name\":\"Vladislav Dubinskii\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"Victor Ochinciuc\",\"Responsible\":\"Victor Ochinciuc\"},\"contact\":{\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"+79940009090\",\"Email\":\"ejik-print@mail.ru\",\"Limba vorbita\":\"Rusa\",\"TelegramId_WZ\":\"5176395717\",\"TelegramUsername_WZ\":\"@nordwind_fareast\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Vladislav Dubinskii\",\"Contact_name\":\"Vladislav Dubinskii\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"Victor Ochinciuc\",\"Responsible\":\"Victor Ochinciuc\"},\"\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442\\u044b\":[{\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"+79940009090\",\"Email\":\"ejik-print@mail.ru\",\"Limba vorbita\":\"Rusa\",\"TelegramId_WZ\":\"5176395717\",\"TelegramUsername_WZ\":\"@nordwind_fareast\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Vladislav Dubinskii\",\"\\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\":\"02.07.2026\",\"\\u041d\\u043e\\u043c\\u0435\\u0440\":\"136\"},\"document\":{\"Date\":\"02.07.2026\",\"Number\":\"136\"}}}","edit":true}} {"uid":"f6c2c2f"}
[2026-07-02 14:57:36] docflow.DEBUG: GAS raw response {"raw":"[object] (stdClass: {\"code\":1,\"url\":\"https://docs.google.com/open?id=1jKjUjkaOlKJhxKGHOIDt-FuVxebIOJ6fiBp9iNWRMO8\",\"file_id\":\"1jKjUjkaOlKJhxKGHOIDt-FuVxebIOJ6fiBp9iNWRMO8\",\"error\":\"\",\"vars\":\"\"})"} {"uid":"f6c2c2f"}
[2026-07-02 14:57:36] docflow.WARNING: AmoDrive generated-file move is not ready. {"fileId":"1jKjUjkaOlKJhxKGHOIDt-FuVxebIOJ6fiBp9iNWRMO8","context":null} {"uid":"f6c2c2f"}
[2026-07-02 14:58:12] docflow.INFO: Apel createDoc {"data":{"amoAccountId":"22699852","amoUserId":null,"amoEntityId":"42290736","amoEntityType":"2","templateId":"11528","corporateEntityId":"","settlementAccountId":"","is_signed":null,"gdi":null,"number":null,"currentAmoUserId":null,"lang":"ru"}} {"uid":"42a3b59"}
[2026-07-02 14:58:12] docflow.INFO: Token is valid for account 22699852. [] {"uid":"42a3b59"}
[2026-07-02 14:58:12] docflow.DEBUG: getClientAuth returned {"auth":"[object] (stdClass: {\"domain\":\"emigrare.amocrm.ru\",\"access_token\":\"eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImp0aSI6IjljYjJmODA4YTU0Mzk1ZTEzNzgxOWNhZGZlYWZmNWU0NTUyMDFjZDMwNWFkYWZjZDBjNjE1NjkwMmJjNWMyNGQ4ZWZkOGRjZjIzNmE2ZDc3In0.eyJhdWQiOiIwZDY0ZGZmYi1lNTRiLTQ0OGYtOWZiZi1iYWYyMjUxYTExZGIiLCJqdGkiOiI5Y2IyZjgwOGE1NDM5NWUxMzc4MTljYWRmZWFmZjVlNDU1MjAxY2QzMDVhZGFmY2QwYzYxNTY5MDJiYzVjMjRkOGVmZDhkY2YyMzZhNmQ3NyIsImlhdCI6MTc4Mjk4MTQ4MCwibmJmIjoxNzgyOTgxNDgwLCJleHAiOjE3ODMwNjc4ODAsInN1YiI6IjI5MzAzODAiLCJncmFudF90eXBlIjoiIiwiYWNjb3VudF9pZCI6MjI2OTk4NTIsImJhc2VfZG9tYWluIjoiYW1vY3JtLnJ1IiwidmVyc2lvbiI6Miwic2NvcGVzIjpbInB1c2hfbm90aWZpY2F0aW9ucyIsImNybSIsIm5vdGlmaWNhdGlvbnMiXSwiaGFzaF91dWlkIjoiYTM4Y2M1ZjItYjY2MC00ZTY0LWJlODItMzUwZWI1ZDE4YmQwIiwiYXBpX2RvbWFpbiI6ImFwaS1hLmFtb2NybS5ydSJ9.Qu0SrQ67Snk8-WDkAHB3nPrape-O-rItp-7FNpzs9LxWaA_DlykHTIuMeLlnUkx6cmU6EdYrkRJaJkoPOUlZYoI1VhfsFyI2rbp8FWNNxg53zQ2r6uhbys1C1B--gu_xxht5p60_Rgq3pT80ILtu-A_185mfgoMf0vTIsTOSv750JFcLVY6yOdOwRKIsq6LHwHkijqnmP-t6LtFCjjmohJZVtdKeyf7Ese1jAiVVMVXiAUQK3Op53JPcXGOrftw5thO3OU-jZRLFLRvzmmy-zkPAHZzi3t2oZMnhLWaR2uclJCaGJVnxYrwnot2pwQc2nd1JZ5YnDKr_YPqUS6_SSQ\"})","file":"/home/ytvmclwh/document.amocrm.md/src/Models/Docs.php","line":121} {"uid":"42a3b59"}
[2026-07-02 14:58:14] docflow.DEBUG: AmoDrive docflow context request {"url":"https://google.emale.uno/api/docflow/google-context","query":{"account_id":"22699852","entity_id":"42290736","entity_type":"leads"}} {"uid":"42a3b59"}
[2026-07-02 14:58: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=42290736&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/07/02 14:58:14</td>\r\n</tr>\r\n</table>\r\n<hr><center>tengine</center>\r\n</body>\r\n</html>\r\n"} {"uid":"42a3b59"}
[2026-07-02 14:58:14] docflow.DEBUG: AmoDrive docflow context request {"url":"https://gd.glucose-dev.online/api/docflow/google-context","query":{"account_id":"22699852","entity_id":"42290736","entity_type":"leads"}} {"uid":"42a3b59"}
[2026-07-02 14:58: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":"42290736","entityType":"leads","amodrive":{"installed":false,"widgetStatus":"uninstalled","amoAccountId":22699852,"accountHost":"emigrare.amocrm.ru","license":{"status":"active","configuredStatus":"active","expiresAt":"2026-08-20T10:16:56.291Z","isExpired":false,"isTrial":false,"isActive":true,"expiredByDate":false,"daysRemaining":49,"isLifetime":false},"licenseActive":false,"googleConnected":false,"googleEmail":null,"googleHasDriveScope":false,"googleHasDriveFileScope":false,"googleHasOwnershipScope":false,"readyForGeneratedFileMove":false,"readyForTransfer":false},"folder":null}} {"uid":"42a3b59"}
[2026-07-02 14:58:14] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://google.emale.uno/api/docflow/prepare-generated-doc","payload":{"account_id":"22699852","entity_id":"42290736","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"42a3b59"}
[2026-07-02 14:58: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/07/02 14:58: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":"42290736","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"42a3b59"}
[2026-07-02 14:58: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":"42290736","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"42a3b59"}
[2026-07-02 14:58: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":"42290736","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"42a3b59"}
[2026-07-02 14:58:14] 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) 137 20260702145814\",\"leadId\":\"42290736\",\"entities\":{\"\\u0441\\u0434\\u0435\\u043b\\u043a\\u0430\":{\"ID\":\"42290736\",\"\\u0421\\u0434\\u0435\\u043b\\u043a\\u0430_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Prelungire domiciliu (14.07.26-14.07.29 \\/\\nDubinskaia Anna\",\"Lead_name\":\"Prelungire domiciliu (14.07.26-14.07.29 \\/\\nDubinskaia Anna\",\"\\u0411\\u044e\\u0434\\u0436\\u0435\\u0442\":\"800\",\"Budget\":\"800\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"Cezara Cenusa\",\"Responsible\":\"Cezara Cenusa\"},\"lead\":{\"ID\":\"42290736\",\"\\u0421\\u0434\\u0435\\u043b\\u043a\\u0430_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Prelungire domiciliu (14.07.26-14.07.29 \\/\\nDubinskaia Anna\",\"Lead_name\":\"Prelungire domiciliu (14.07.26-14.07.29 \\/\\nDubinskaia Anna\",\"\\u0411\\u044e\\u0434\\u0436\\u0435\\u0442\":\"800\",\"Budget\":\"800\",\"\\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\":\"+79940009090\",\"Email\":\"ejik-print@mail.ru\",\"Limba vorbita\":\"Rusa\",\"TelegramId_WZ\":\"5176395717\",\"TelegramUsername_WZ\":\"@nordwind_fareast\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Vladislav Dubinskii\",\"Contact_name\":\"Vladislav Dubinskii\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"Victor Ochinciuc\",\"Responsible\":\"Victor Ochinciuc\"},\"contact\":{\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"+79940009090\",\"Email\":\"ejik-print@mail.ru\",\"Limba vorbita\":\"Rusa\",\"TelegramId_WZ\":\"5176395717\",\"TelegramUsername_WZ\":\"@nordwind_fareast\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Vladislav Dubinskii\",\"Contact_name\":\"Vladislav Dubinskii\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"Victor Ochinciuc\",\"Responsible\":\"Victor Ochinciuc\"},\"\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442\\u044b\":[{\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"+79940009090\",\"Email\":\"ejik-print@mail.ru\",\"Limba vorbita\":\"Rusa\",\"TelegramId_WZ\":\"5176395717\",\"TelegramUsername_WZ\":\"@nordwind_fareast\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Vladislav Dubinskii\",\"\\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\":\"02.07.2026\",\"\\u041d\\u043e\\u043c\\u0435\\u0440\":\"137\"},\"document\":{\"Date\":\"02.07.2026\",\"Number\":\"137\"}}}","edit":true}} {"uid":"42a3b59"}
[2026-07-02 14:58:20] docflow.DEBUG: GAS raw response {"raw":"[object] (stdClass: {\"code\":1,\"url\":\"https://docs.google.com/open?id=1QclaDFUqm_FOlDA0Hh9D7aEruzxHFgESUtLd8FlEc_k\",\"file_id\":\"1QclaDFUqm_FOlDA0Hh9D7aEruzxHFgESUtLd8FlEc_k\",\"error\":\"\",\"vars\":\"\"})"} {"uid":"42a3b59"}
[2026-07-02 14:58:20] docflow.WARNING: AmoDrive generated-file move is not ready. {"fileId":"1QclaDFUqm_FOlDA0Hh9D7aEruzxHFgESUtLd8FlEc_k","context":null} {"uid":"42a3b59"}
[2026-07-02 15:04:40] docflow.INFO: Apel createDoc {"data":{"amoAccountId":"22699852","amoUserId":null,"amoEntityId":"42290736","amoEntityType":"2","templateId":"11492","corporateEntityId":"","settlementAccountId":"","is_signed":null,"gdi":null,"number":null,"currentAmoUserId":null,"lang":"ru"}} {"uid":"7bb18fc"}
[2026-07-02 15:04:40] docflow.INFO: Token is valid for account 22699852. [] {"uid":"7bb18fc"}
[2026-07-02 15:04:40] docflow.DEBUG: getClientAuth returned {"auth":"[object] (stdClass: {\"domain\":\"emigrare.amocrm.ru\",\"access_token\":\"eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImp0aSI6IjljYjJmODA4YTU0Mzk1ZTEzNzgxOWNhZGZlYWZmNWU0NTUyMDFjZDMwNWFkYWZjZDBjNjE1NjkwMmJjNWMyNGQ4ZWZkOGRjZjIzNmE2ZDc3In0.eyJhdWQiOiIwZDY0ZGZmYi1lNTRiLTQ0OGYtOWZiZi1iYWYyMjUxYTExZGIiLCJqdGkiOiI5Y2IyZjgwOGE1NDM5NWUxMzc4MTljYWRmZWFmZjVlNDU1MjAxY2QzMDVhZGFmY2QwYzYxNTY5MDJiYzVjMjRkOGVmZDhkY2YyMzZhNmQ3NyIsImlhdCI6MTc4Mjk4MTQ4MCwibmJmIjoxNzgyOTgxNDgwLCJleHAiOjE3ODMwNjc4ODAsInN1YiI6IjI5MzAzODAiLCJncmFudF90eXBlIjoiIiwiYWNjb3VudF9pZCI6MjI2OTk4NTIsImJhc2VfZG9tYWluIjoiYW1vY3JtLnJ1IiwidmVyc2lvbiI6Miwic2NvcGVzIjpbInB1c2hfbm90aWZpY2F0aW9ucyIsImNybSIsIm5vdGlmaWNhdGlvbnMiXSwiaGFzaF91dWlkIjoiYTM4Y2M1ZjItYjY2MC00ZTY0LWJlODItMzUwZWI1ZDE4YmQwIiwiYXBpX2RvbWFpbiI6ImFwaS1hLmFtb2NybS5ydSJ9.Qu0SrQ67Snk8-WDkAHB3nPrape-O-rItp-7FNpzs9LxWaA_DlykHTIuMeLlnUkx6cmU6EdYrkRJaJkoPOUlZYoI1VhfsFyI2rbp8FWNNxg53zQ2r6uhbys1C1B--gu_xxht5p60_Rgq3pT80ILtu-A_185mfgoMf0vTIsTOSv750JFcLVY6yOdOwRKIsq6LHwHkijqnmP-t6LtFCjjmohJZVtdKeyf7Ese1jAiVVMVXiAUQK3Op53JPcXGOrftw5thO3OU-jZRLFLRvzmmy-zkPAHZzi3t2oZMnhLWaR2uclJCaGJVnxYrwnot2pwQc2nd1JZ5YnDKr_YPqUS6_SSQ\"})","file":"/home/ytvmclwh/document.amocrm.md/src/Models/Docs.php","line":121} {"uid":"7bb18fc"}
[2026-07-02 15:04:42] docflow.DEBUG: AmoDrive docflow context request {"url":"https://google.emale.uno/api/docflow/google-context","query":{"account_id":"22699852","entity_id":"42290736","entity_type":"leads"}} {"uid":"7bb18fc"}
[2026-07-02 15:04: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=42290736&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/07/02 15:04:43</td>\r\n</tr>\r\n</table>\r\n<hr><center>tengine</center>\r\n</body>\r\n</html>\r\n"} {"uid":"7bb18fc"}
[2026-07-02 15:04:42] docflow.DEBUG: AmoDrive docflow context request {"url":"https://gd.glucose-dev.online/api/docflow/google-context","query":{"account_id":"22699852","entity_id":"42290736","entity_type":"leads"}} {"uid":"7bb18fc"}
[2026-07-02 15:04: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":"42290736","entityType":"leads","amodrive":{"installed":false,"widgetStatus":"uninstalled","amoAccountId":22699852,"accountHost":"emigrare.amocrm.ru","license":{"status":"active","configuredStatus":"active","expiresAt":"2026-08-20T10:16:56.291Z","isExpired":false,"isTrial":false,"isActive":true,"expiredByDate":false,"daysRemaining":49,"isLifetime":false},"licenseActive":false,"googleConnected":false,"googleEmail":null,"googleHasDriveScope":false,"googleHasDriveFileScope":false,"googleHasOwnershipScope":false,"readyForGeneratedFileMove":false,"readyForTransfer":false},"folder":null}} {"uid":"7bb18fc"}
[2026-07-02 15:04:43] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://google.emale.uno/api/docflow/prepare-generated-doc","payload":{"account_id":"22699852","entity_id":"42290736","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"7bb18fc"}
[2026-07-02 15:04: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/07/02 15:04: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":"42290736","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"7bb18fc"}
[2026-07-02 15:04: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":"42290736","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"7bb18fc"}
[2026-07-02 15:04: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":"42290736","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"7bb18fc"}
[2026-07-02 15:04:43] docflow.DEBUG: GAS request {"url":"https://script.google.com/macros/s/AKfycbwrvOJD46zkuoTzdhpc1kulhV8jRfgQBFZfQ121nkIip_k8yKit4xrbWTOzaJ-C-Yed6w/exec","body":{"templateFileId":"1FKXK35jtKpiduD-kqwGdMh_qii__EQs9wkQ6iT0Ii0o","accountId":"22699852","folderId":"1Us2AfskxgdA729xVr0F2vjZU9y5PlYDe","key":"~VTsK5dcnHc2cSSsjM$LFSjLlgbmJXwrp3R2P5nd","data":"{\"fileName\":\"Viz\\u0103 de re\\u0219edin\\u021b\\u0103 423 20260702150442\",\"leadId\":\"42290736\",\"entities\":{\"\\u0441\\u0434\\u0435\\u043b\\u043a\\u0430\":{\"ID\":\"42290736\",\"\\u0421\\u0434\\u0435\\u043b\\u043a\\u0430_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Prelungire domiciliu (14.07.26-14.07.29 \\/\\nDubinskaia Anna\",\"Lead_name\":\"Prelungire domiciliu (14.07.26-14.07.29 \\/\\nDubinskaia Anna\",\"\\u0411\\u044e\\u0434\\u0436\\u0435\\u0442\":\"800\",\"Budget\":\"800\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"Cezara Cenusa\",\"Responsible\":\"Cezara Cenusa\"},\"lead\":{\"ID\":\"42290736\",\"\\u0421\\u0434\\u0435\\u043b\\u043a\\u0430_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Prelungire domiciliu (14.07.26-14.07.29 \\/\\nDubinskaia Anna\",\"Lead_name\":\"Prelungire domiciliu (14.07.26-14.07.29 \\/\\nDubinskaia Anna\",\"\\u0411\\u044e\\u0434\\u0436\\u0435\\u0442\":\"800\",\"Budget\":\"800\",\"\\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\":\"+79940009090\",\"Email\":\"ejik-print@mail.ru\",\"Limba vorbita\":\"Rusa\",\"TelegramId_WZ\":\"5176395717\",\"TelegramUsername_WZ\":\"@nordwind_fareast\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Vladislav Dubinskii\",\"Contact_name\":\"Vladislav Dubinskii\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"Victor Ochinciuc\",\"Responsible\":\"Victor Ochinciuc\"},\"contact\":{\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"+79940009090\",\"Email\":\"ejik-print@mail.ru\",\"Limba vorbita\":\"Rusa\",\"TelegramId_WZ\":\"5176395717\",\"TelegramUsername_WZ\":\"@nordwind_fareast\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Vladislav Dubinskii\",\"Contact_name\":\"Vladislav Dubinskii\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"Victor Ochinciuc\",\"Responsible\":\"Victor Ochinciuc\"},\"\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442\\u044b\":[{\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"+79940009090\",\"Email\":\"ejik-print@mail.ru\",\"Limba vorbita\":\"Rusa\",\"TelegramId_WZ\":\"5176395717\",\"TelegramUsername_WZ\":\"@nordwind_fareast\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Vladislav Dubinskii\",\"\\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\":\"02.07.2026\",\"\\u041d\\u043e\\u043c\\u0435\\u0440\":\"423\"},\"document\":{\"Date\":\"02.07.2026\",\"Number\":\"423\"}}}","edit":true}} {"uid":"7bb18fc"}
[2026-07-02 15:04:51] docflow.DEBUG: GAS raw response {"raw":"[object] (stdClass: {\"code\":1,\"url\":\"https://docs.google.com/open?id=1WDF3H4Y5MISxyDxnNZYUQg9lMCGGlJg9pCIscUhjHqs\",\"file_id\":\"1WDF3H4Y5MISxyDxnNZYUQg9lMCGGlJg9pCIscUhjHqs\",\"error\":\"\",\"vars\":\"\"})"} {"uid":"7bb18fc"}
[2026-07-02 15:04:51] docflow.WARNING: AmoDrive generated-file move is not ready. {"fileId":"1WDF3H4Y5MISxyDxnNZYUQg9lMCGGlJg9pCIscUhjHqs","context":null} {"uid":"7bb18fc"}
[2026-07-02 16:39:14] docflow.INFO: Apel createDoc {"data":{"amoAccountId":"22699852","amoUserId":null,"amoEntityId":"42073982","amoEntityType":"2","templateId":"11487","corporateEntityId":"","settlementAccountId":"","is_signed":null,"gdi":null,"number":null,"currentAmoUserId":null,"lang":"ru"}} {"uid":"47e8eeb"}
[2026-07-02 16:39:14] docflow.INFO: Token is valid for account 22699852. [] {"uid":"47e8eeb"}
[2026-07-02 16:39:14] docflow.DEBUG: getClientAuth returned {"auth":"[object] (stdClass: {\"domain\":\"emigrare.amocrm.ru\",\"access_token\":\"eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImp0aSI6IjljYjJmODA4YTU0Mzk1ZTEzNzgxOWNhZGZlYWZmNWU0NTUyMDFjZDMwNWFkYWZjZDBjNjE1NjkwMmJjNWMyNGQ4ZWZkOGRjZjIzNmE2ZDc3In0.eyJhdWQiOiIwZDY0ZGZmYi1lNTRiLTQ0OGYtOWZiZi1iYWYyMjUxYTExZGIiLCJqdGkiOiI5Y2IyZjgwOGE1NDM5NWUxMzc4MTljYWRmZWFmZjVlNDU1MjAxY2QzMDVhZGFmY2QwYzYxNTY5MDJiYzVjMjRkOGVmZDhkY2YyMzZhNmQ3NyIsImlhdCI6MTc4Mjk4MTQ4MCwibmJmIjoxNzgyOTgxNDgwLCJleHAiOjE3ODMwNjc4ODAsInN1YiI6IjI5MzAzODAiLCJncmFudF90eXBlIjoiIiwiYWNjb3VudF9pZCI6MjI2OTk4NTIsImJhc2VfZG9tYWluIjoiYW1vY3JtLnJ1IiwidmVyc2lvbiI6Miwic2NvcGVzIjpbInB1c2hfbm90aWZpY2F0aW9ucyIsImNybSIsIm5vdGlmaWNhdGlvbnMiXSwiaGFzaF91dWlkIjoiYTM4Y2M1ZjItYjY2MC00ZTY0LWJlODItMzUwZWI1ZDE4YmQwIiwiYXBpX2RvbWFpbiI6ImFwaS1hLmFtb2NybS5ydSJ9.Qu0SrQ67Snk8-WDkAHB3nPrape-O-rItp-7FNpzs9LxWaA_DlykHTIuMeLlnUkx6cmU6EdYrkRJaJkoPOUlZYoI1VhfsFyI2rbp8FWNNxg53zQ2r6uhbys1C1B--gu_xxht5p60_Rgq3pT80ILtu-A_185mfgoMf0vTIsTOSv750JFcLVY6yOdOwRKIsq6LHwHkijqnmP-t6LtFCjjmohJZVtdKeyf7Ese1jAiVVMVXiAUQK3Op53JPcXGOrftw5thO3OU-jZRLFLRvzmmy-zkPAHZzi3t2oZMnhLWaR2uclJCaGJVnxYrwnot2pwQc2nd1JZ5YnDKr_YPqUS6_SSQ\"})","file":"/home/ytvmclwh/document.amocrm.md/src/Models/Docs.php","line":121} {"uid":"47e8eeb"}
[2026-07-02 16:39:17] docflow.DEBUG: AmoDrive docflow context request {"url":"https://google.emale.uno/api/docflow/google-context","query":{"account_id":"22699852","entity_id":"42073982","entity_type":"leads"}} {"uid":"47e8eeb"}
[2026-07-02 16:39:17] docflow.WARNING: AmoDrive docflow context request failed {"url":"https://google.emale.uno/api/docflow/google-context","http_code":null,"error":"HTTP/2 400 ","response":"<!DOCTYPE HTML PUBLIC \"-//IETF//DTD HTML 2.0//EN\">\r\n<html>\r\n<head><title>400 Bad Request</title></head>\r\n<body>\r\n<center><h1>400 Bad Request</h1></center>\r\n Sorry for the inconvenience.<br/>\r\nPlease report this message and include the following information to us.<br/>\r\nThank you very much!</p>\r\n<table>\r\n<tr>\r\n<td>URL:</td>\r\n<td>https://gd.glucose-dev.online/api/docflow/google-context?account_id=22699852&amp;entity_id=42073982&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/07/02 16:39:17</td>\r\n</tr>\r\n</table>\r\n<hr><center>tengine</center>\r\n</body>\r\n</html>\r\n"} {"uid":"47e8eeb"}
[2026-07-02 16:39:17] docflow.DEBUG: AmoDrive docflow context request {"url":"https://gd.glucose-dev.online/api/docflow/google-context","query":{"account_id":"22699852","entity_id":"42073982","entity_type":"leads"}} {"uid":"47e8eeb"}
[2026-07-02 16:39:17] docflow.WARNING: AmoDrive docflow context response is not ready, trying next backend. {"url":"https://gd.glucose-dev.online/api/docflow/google-context","payload":{"ok":true,"accountId":22699852,"entityId":"42073982","entityType":"leads","amodrive":{"installed":false,"widgetStatus":"uninstalled","amoAccountId":22699852,"accountHost":"emigrare.amocrm.ru","license":{"status":"active","configuredStatus":"active","expiresAt":"2026-08-20T10:16:56.291Z","isExpired":false,"isTrial":false,"isActive":true,"expiredByDate":false,"daysRemaining":49,"isLifetime":false},"licenseActive":false,"googleConnected":false,"googleEmail":null,"googleHasDriveScope":false,"googleHasDriveFileScope":false,"googleHasOwnershipScope":false,"readyForGeneratedFileMove":false,"readyForTransfer":false},"folder":{"id":"1udjvTftVjUzsAbWO7L8bbsO3cCdl46Cq","name":"42073982 - Сделка #42073982","webViewLink":"https://drive.google.com/drive/folders/1udjvTftVjUzsAbWO7L8bbsO3cCdl46Cq"}}} {"uid":"47e8eeb"}
[2026-07-02 16:39:17] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://google.emale.uno/api/docflow/prepare-generated-doc","payload":{"account_id":"22699852","entity_id":"42073982","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"47e8eeb"}
[2026-07-02 16:39:17] docflow.WARNING: AmoDrive prepare-generated-doc request failed {"url":"https://google.emale.uno/api/docflow/prepare-generated-doc","http_code":null,"error":"HTTP/2 400 ","response":"<!DOCTYPE HTML PUBLIC \"-//IETF//DTD HTML 2.0//EN\">\r\n<html>\r\n<head><title>400 Bad Request</title></head>\r\n<body>\r\n<center><h1>400 Bad Request</h1></center>\r\n Sorry for the inconvenience.<br/>\r\nPlease report this message and include the following information to us.<br/>\r\nThank you very much!</p>\r\n<table>\r\n<tr>\r\n<td>URL:</td>\r\n<td>https://gd.glucose-dev.online/api/docflow/prepare-generated-doc</td>\r\n</tr>\r\n<tr>\r\n<td>Server:</td>\r\n<td>mail.glucose-dev.online</td>\r\n</tr>\r\n<tr>\r\n<td>Date:</td>\r\n<td>2026/07/02 16:39:17</td>\r\n</tr>\r\n</table>\r\n<hr><center>tengine</center>\r\n</body>\r\n</html>\r\n","payload":{"account_id":"22699852","entity_id":"42073982","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"47e8eeb"}
[2026-07-02 16:39:17] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://gd.glucose-dev.online/api/docflow/prepare-generated-doc","payload":{"account_id":"22699852","entity_id":"42073982","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"47e8eeb"}
[2026-07-02 16:39:17] docflow.WARNING: AmoDrive prepare-generated-doc request failed {"url":"https://gd.glucose-dev.online/api/docflow/prepare-generated-doc","http_code":null,"error":"HTTP/2 404 ","response":"[object] (stdClass: {\"ok\":false,\"error\":\"AmoDrive is not installed for this account.\",\"accountId\":22699852})","payload":{"account_id":"22699852","entity_id":"42073982","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"47e8eeb"}
[2026-07-02 16:39:17] 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 1217 20260702163917\",\"leadId\":\"42073982\",\"entities\":{\"\\u0441\\u0434\\u0435\\u043b\\u043a\\u0430\":{\"referrer\":\"https:\\/\\/emigrare.md\\/\",\"Suma \\u20ac\":\"0\",\"google_folder_id_leads_field\":\"https:\\/\\/drive.google.com\\/drive\\/folders\\/1udjvTftVjUzsAbWO7L8bbsO3cCdl46Cq\",\"#Manager Front\":\"Cezara Cenusa\",\"Urm\\u0103torul contact\":\"2026-07-07 14:05:00\",\"ID\":\"42073982\",\"\\u0421\\u0434\\u0435\\u043b\\u043a\\u0430_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"sub. MD\",\"Lead_name\":\"sub. MD\",\"\\u0411\\u044e\\u0434\\u0436\\u0435\\u0442\":\"0\",\"Budget\":\"0\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"Untila Dorina\",\"Responsible\":\"Untila Dorina\"},\"lead\":{\"referrer\":\"https:\\/\\/emigrare.md\\/\",\"Suma \\u20ac\":\"0\",\"google_folder_id_leads_field\":\"https:\\/\\/drive.google.com\\/drive\\/folders\\/1udjvTftVjUzsAbWO7L8bbsO3cCdl46Cq\",\"#Manager Front\":\"Cezara Cenusa\",\"Urm\\u0103torul contact\":\"2026-07-07 14:05:00\",\"ID\":\"42073982\",\"\\u0421\\u0434\\u0435\\u043b\\u043a\\u0430_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"sub. MD\",\"Lead_name\":\"sub. MD\",\"\\u0411\\u044e\\u0434\\u0436\\u0435\\u0442\":\"0\",\"Budget\":\"0\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"Untila Dorina\",\"Responsible\":\"Untila Dorina\"},\"\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442\":{\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"+79185956599\",\"Email\":\"thyronv@mail.ru\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"T\\u00eeron Victoria\",\"Contact_name\":\"T\\u00eeron Victoria\",\"\\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\":\"+79185956599\",\"Email\":\"thyronv@mail.ru\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"T\\u00eeron Victoria\",\"Contact_name\":\"T\\u00eeron Victoria\",\"\\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\":\"+79185956599\",\"Email\":\"thyronv@mail.ru\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"T\\u00eeron Victoria\",\"\\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\":\"02.07.2026\",\"\\u041d\\u043e\\u043c\\u0435\\u0440\":\"1217\"},\"document\":{\"Date\":\"02.07.2026\",\"Number\":\"1217\"}}}","edit":true}} {"uid":"47e8eeb"}
[2026-07-02 16:39:24] docflow.DEBUG: GAS raw response {"raw":"[object] (stdClass: {\"code\":1,\"url\":\"https://docs.google.com/open?id=1SIJtIvkZZnF-dbMlJQukK8wY9pErLDElP3bzbNPODgs\",\"file_id\":\"1SIJtIvkZZnF-dbMlJQukK8wY9pErLDElP3bzbNPODgs\",\"error\":\"\",\"vars\":\"\"})"} {"uid":"47e8eeb"}
[2026-07-02 16:39:24] docflow.WARNING: AmoDrive generated-file move is not ready. {"fileId":"1SIJtIvkZZnF-dbMlJQukK8wY9pErLDElP3bzbNPODgs","context":null} {"uid":"47e8eeb"}
[2026-07-02 18:04:08] docflow.INFO: Apel createDoc {"data":{"amoAccountId":"32990686","amoUserId":null,"amoEntityId":"40278855","amoEntityType":"2","templateId":"11625","corporateEntityId":"","settlementAccountId":"","is_signed":null,"gdi":null,"number":null,"currentAmoUserId":null,"lang":"ru"}} {"uid":"10d533a"}
[2026-07-02 18:04:08] docflow.INFO: Token is valid for account 32990686. [] {"uid":"10d533a"}
[2026-07-02 18:04:08] docflow.DEBUG: getClientAuth returned {"auth":"[object] (stdClass: {\"domain\":\"eurosanteh.amocrm.ru\",\"access_token\":\"eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImp0aSI6ImRjZGY4YWJiMzM0MzdiZjRjNzBjMDRlOTFlNDU1YjhmYjkwNmYzOTYwMzk4NGNjMWQ0MDI1ODUzYjA2ZjNiMDkzZGNjMDFlNDQyNTg0Njk5In0.eyJhdWQiOiIwZDY0ZGZmYi1lNTRiLTQ0OGYtOWZiZi1iYWYyMjUxYTExZGIiLCJqdGkiOiJkY2RmOGFiYjMzNDM3YmY0YzcwYzA0ZTkxZTQ1NWI4ZmI5MDZmMzk2MDM5ODRjYzFkNDAyNTg1M2IwNmYzYjA5M2RjYzAxZTQ0MjU4NDY5OSIsImlhdCI6MTc4Mjk2ODU2MywibmJmIjoxNzgyOTY4NTYzLCJleHAiOjE3ODMwNTQ5NjMsInN1YiI6IjEzNjg3MzAyIiwiZ3JhbnRfdHlwZSI6IiIsImFjY291bnRfaWQiOjMyOTkwNjg2LCJiYXNlX2RvbWFpbiI6ImFtb2NybS5ydSIsInZlcnNpb24iOjIsInNjb3BlcyI6WyJwdXNoX25vdGlmaWNhdGlvbnMiLCJjcm0iLCJub3RpZmljYXRpb25zIl0sImhhc2hfdXVpZCI6IjdiNTI2ZDM3LWU5YTUtNGY1MC04NjU5LWFlZjI0ZWMwN2I2MSIsImFwaV9kb21haW4iOiJhcGktYi5hbW9jcm0ucnUifQ.TUP7Bi9R1Z5_ifh6PBDea_wrLQhhuCDBfhbmV-UeB8v1A_eof6DM3ni90PqyHwjy-_bogoujgXVHGFtlHknt3UAHPf6orhat2LJuNkb1ZzlvwNfKzfOLlCslLtvwCmvId5Cp6PjIEgZpsSZPb6j1XFwBF8mUsYJAs6DQafAhxJbwwdtepg3Rn7z1bok0wAy62df4psIRq7Bi9WiSVCb7CyeiZj8UiZxEFNIbusJI6k3zpKBXtykwNv4c2JwIgpQjuwAfKUvcfKgTUV6ZCXuj_wbQnkvtSXt1yjhO82intYpA8QkC7YC1Z2KUwCu90CACwX4piq8dxBla--hEqiVNGg\"})","file":"/home/ytvmclwh/document.amocrm.md/src/Models/Docs.php","line":121} {"uid":"10d533a"}
[2026-07-02 18:04:10] docflow.DEBUG: AmoDrive docflow context request {"url":"https://google.emale.uno/api/docflow/google-context","query":{"account_id":"32990686","entity_id":"40278855","entity_type":"leads"}} {"uid":"10d533a"}
[2026-07-02 18:04:11] docflow.WARNING: AmoDrive docflow context request failed {"url":"https://google.emale.uno/api/docflow/google-context","http_code":null,"error":"HTTP/2 400 ","response":"<!DOCTYPE HTML PUBLIC \"-//IETF//DTD HTML 2.0//EN\">\r\n<html>\r\n<head><title>400 Bad Request</title></head>\r\n<body>\r\n<center><h1>400 Bad Request</h1></center>\r\n Sorry for the inconvenience.<br/>\r\nPlease report this message and include the following information to us.<br/>\r\nThank you very much!</p>\r\n<table>\r\n<tr>\r\n<td>URL:</td>\r\n<td>https://gd.glucose-dev.online/api/docflow/google-context?account_id=32990686&amp;entity_id=40278855&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/07/02 18:04:11</td>\r\n</tr>\r\n</table>\r\n<hr><center>tengine</center>\r\n</body>\r\n</html>\r\n"} {"uid":"10d533a"}
[2026-07-02 18:04:11] docflow.DEBUG: AmoDrive docflow context request {"url":"https://gd.glucose-dev.online/api/docflow/google-context","query":{"account_id":"32990686","entity_id":"40278855","entity_type":"leads"}} {"uid":"10d533a"}
[2026-07-02 18:04:11] docflow.WARNING: AmoDrive docflow context response is not ready, trying next backend. {"url":"https://gd.glucose-dev.online/api/docflow/google-context","payload":{"ok":true,"accountId":32990686,"entityId":"40278855","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":"10d533a"}
[2026-07-02 18:04:11] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://google.emale.uno/api/docflow/prepare-generated-doc","payload":{"account_id":"32990686","entity_id":"40278855","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"10d533a"}
[2026-07-02 18:04: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/07/02 18:04:11</td>\r\n</tr>\r\n</table>\r\n<hr><center>tengine</center>\r\n</body>\r\n</html>\r\n","payload":{"account_id":"32990686","entity_id":"40278855","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"10d533a"}
[2026-07-02 18:04:11] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://gd.glucose-dev.online/api/docflow/prepare-generated-doc","payload":{"account_id":"32990686","entity_id":"40278855","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"10d533a"}
[2026-07-02 18:04:11] docflow.WARNING: AmoDrive prepare-generated-doc request failed {"url":"https://gd.glucose-dev.online/api/docflow/prepare-generated-doc","http_code":null,"error":"HTTP/2 404 ","response":"[object] (stdClass: {\"ok\":false,\"error\":\"AmoDrive is not installed for this account.\",\"accountId\":32990686})","payload":{"account_id":"32990686","entity_id":"40278855","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"10d533a"}
[2026-07-02 18:04:11] docflow.DEBUG: GAS request {"url":"https://script.google.com/macros/s/AKfycbwrvOJD46zkuoTzdhpc1kulhV8jRfgQBFZfQ121nkIip_k8yKit4xrbWTOzaJ-C-Yed6w/exec","body":{"templateFileId":"1AjK4khA9mRlFDVy4RXRqHAg2GTFWJYC-Gac1Mx3OLnA","accountId":"32990686","folderId":"1Us2AfskxgdA729xVr0F2vjZU9y5PlYDe","key":"~VTsK5dcnHc2cSSsjM$LFSjLlgbmJXwrp3R2P5nd","data":"{\"fileName\":\"ALL FOR ALL \\u041d\\u0430\\u0440\\u044f\\u0434 \\u043d\\u0430 \\u0432\\u044b\\u043f\\u043e\\u043b\\u043d\\u0435\\u043d\\u0438\\u0435 \\u0440\\u0430\\u0431\\u043e\\u0442 440 20260702180410\",\"leadId\":\"40278855\",\"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.07.2026\",\"\\u0414\\u0430\\u0442\\u0430 \\u043c\\u043e\\u043d\\u0442\\u0430\\u0436\\u0430 (\\u0411\\u0414)\":\"08.07.2025\",\"\\u041d\\u0430\\u0437\\u0432\\u0430\\u043d\\u0438\\u0435 \\u0442\\u043e\\u0432\\u0430\\u0440\\u0430 (\\u0411\\u0414)\":\"Haier flexis 25*4\",\"\\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\":\"\\u0421\\u0440\\u0435\\u0434\\u0430\",\"\\u0414\\u0430\\u0442\\u0430 \\u0438 \\u0432\\u0440\\u0435\\u043c\\u044f \\u0432\\u0438\\u0437\\u0438\\u0442\\u0430\":\"2026-07-03 14:08:00\",\"\\u0414\\u0430\\u0442\\u0430 \\u0432\\u0438\\u0437\\u0438\\u0442\\u0430\":\"03.07.2026\",\"\\u041c\\u043e\\u0434\\u0435\\u043b\\u044c \\u043e\\u0431\\u043e\\u0440\\u0443\\u0434\\u043e\\u0432\\u0430\\u043d\\u0438\\u044f 1\":\"Haier flexis 25*2\",\"\\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\",\"ID\":\"40278855\",\"\\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.07.2026\",\"\\u0414\\u0430\\u0442\\u0430 \\u043c\\u043e\\u043d\\u0442\\u0430\\u0436\\u0430 (\\u0411\\u0414)\":\"08.07.2025\",\"\\u041d\\u0430\\u0437\\u0432\\u0430\\u043d\\u0438\\u0435 \\u0442\\u043e\\u0432\\u0430\\u0440\\u0430 (\\u0411\\u0414)\":\"Haier flexis 25*4\",\"\\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\":\"\\u0421\\u0440\\u0435\\u0434\\u0430\",\"\\u0414\\u0430\\u0442\\u0430 \\u0438 \\u0432\\u0440\\u0435\\u043c\\u044f \\u0432\\u0438\\u0437\\u0438\\u0442\\u0430\":\"2026-07-03 14:08:00\",\"\\u0414\\u0430\\u0442\\u0430 \\u0432\\u0438\\u0437\\u0438\\u0442\\u0430\":\"03.07.2026\",\"\\u041c\\u043e\\u0434\\u0435\\u043b\\u044c \\u043e\\u0431\\u043e\\u0440\\u0443\\u0434\\u043e\\u0432\\u0430\\u043d\\u0438\\u044f 1\":\"Haier flexis 25*2\",\"\\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\",\"ID\":\"40278855\",\"\\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\":\"991008124253\",\"\\u0410\\u0434\\u0440\\u0435\\u0441\":\"str. Costiujeni 10, ap.15, et.3\",\"\\u041f\\u043e\\u0432\\u0442\\u043e\\u0440\\u043d\\u044b\\u0439 \\u043a\\u043b\\u0438\\u0435\\u043d\\u0442?\":\"\\u0414\\u0430\",\"\\u041d\\u043e\\u043c\\u0435\\u0440 \\u043a\\u043e\\u043d\\u0442\\u0440\\u0430\\u043a\\u0442\\u0430 (\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442)\":\"B3860\",\"\\u0422\\u0438\\u043f \\u0438 \\u043c\\u043e\\u0434\\u0435\\u043b\\u044c \\u043e\\u0431\\u043e\\u0440\\u0443\\u0434\\u043e\\u0432\\u0430\\u043d\\u0438\\u044f (\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442)\":\"Haier flexis 25*2\",\"\\u0418\\u043c\\u044f \\u043a\\u043b\\u0438\\u0435\\u043d\\u0442\\u0430 (\\u0421\\u041c\\u0421)\":\"Ala\",\"\\u041a\\u043e\\u043b - \\u0432\\u043e \\u043e\\u0431\\u043e\\u0440\\u0443\\u0434\\u043e\\u0432\\u0430\\u043d\\u0438\\u044f (\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442)\":\"2\",\"\\u041a\\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\",\"\\u0414\\u0430\\u0442\\u0430 \\u043c\\u043e\\u043d\\u0442\\u0430\\u0436\\u0430 (\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442)\":\"08.07.2026\",\"\\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\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"37368411154\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Ala Tcaciuc\",\"Contact_name\":\"Ala Tcaciuc\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"\\u0410\\u0441\\u0442\\u0430\\u043f\\u0435\\u043d\\u043a\\u043e\\u0432\\u0430 \\u042e\\u043b\\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\":\"991008124253\",\"\\u0410\\u0434\\u0440\\u0435\\u0441\":\"str. Costiujeni 10, ap.15, et.3\",\"\\u041f\\u043e\\u0432\\u0442\\u043e\\u0440\\u043d\\u044b\\u0439 \\u043a\\u043b\\u0438\\u0435\\u043d\\u0442?\":\"\\u0414\\u0430\",\"\\u041d\\u043e\\u043c\\u0435\\u0440 \\u043a\\u043e\\u043d\\u0442\\u0440\\u0430\\u043a\\u0442\\u0430 (\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442)\":\"B3860\",\"\\u0422\\u0438\\u043f \\u0438 \\u043c\\u043e\\u0434\\u0435\\u043b\\u044c \\u043e\\u0431\\u043e\\u0440\\u0443\\u0434\\u043e\\u0432\\u0430\\u043d\\u0438\\u044f (\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442)\":\"Haier flexis 25*2\",\"\\u0418\\u043c\\u044f \\u043a\\u043b\\u0438\\u0435\\u043d\\u0442\\u0430 (\\u0421\\u041c\\u0421)\":\"Ala\",\"\\u041a\\u043e\\u043b - \\u0432\\u043e \\u043e\\u0431\\u043e\\u0440\\u0443\\u0434\\u043e\\u0432\\u0430\\u043d\\u0438\\u044f (\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442)\":\"2\",\"\\u041a\\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\",\"\\u0414\\u0430\\u0442\\u0430 \\u043c\\u043e\\u043d\\u0442\\u0430\\u0436\\u0430 (\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442)\":\"08.07.2026\",\"\\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\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"37368411154\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Ala Tcaciuc\",\"Contact_name\":\"Ala Tcaciuc\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"\\u0410\\u0441\\u0442\\u0430\\u043f\\u0435\\u043d\\u043a\\u043e\\u0432\\u0430 \\u042e\\u043b\\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\":\"991008124253\",\"\\u0410\\u0434\\u0440\\u0435\\u0441\":\"str. Costiujeni 10, ap.15, et.3\",\"\\u041f\\u043e\\u0432\\u0442\\u043e\\u0440\\u043d\\u044b\\u0439 \\u043a\\u043b\\u0438\\u0435\\u043d\\u0442?\":\"\\u0414\\u0430\",\"\\u041d\\u043e\\u043c\\u0435\\u0440 \\u043a\\u043e\\u043d\\u0442\\u0440\\u0430\\u043a\\u0442\\u0430 (\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442)\":\"B3860\",\"\\u0422\\u0438\\u043f \\u0438 \\u043c\\u043e\\u0434\\u0435\\u043b\\u044c \\u043e\\u0431\\u043e\\u0440\\u0443\\u0434\\u043e\\u0432\\u0430\\u043d\\u0438\\u044f (\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442)\":\"Haier flexis 25*2\",\"\\u0418\\u043c\\u044f \\u043a\\u043b\\u0438\\u0435\\u043d\\u0442\\u0430 (\\u0421\\u041c\\u0421)\":\"Ala\",\"\\u041a\\u043e\\u043b - \\u0432\\u043e \\u043e\\u0431\\u043e\\u0440\\u0443\\u0434\\u043e\\u0432\\u0430\\u043d\\u0438\\u044f (\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442)\":\"2\",\"\\u041a\\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\",\"\\u0414\\u0430\\u0442\\u0430 \\u043c\\u043e\\u043d\\u0442\\u0430\\u0436\\u0430 (\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442)\":\"08.07.2026\",\"\\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\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"37368411154\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Ala Tcaciuc\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\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\":\"02.07.2026\",\"\\u041d\\u043e\\u043c\\u0435\\u0440\":\"440\"},\"document\":{\"Date\":\"02.07.2026\",\"Number\":\"440\"}}}","edit":true}} {"uid":"10d533a"}
[2026-07-02 18:04:16] docflow.DEBUG: GAS raw response {"raw":"[object] (stdClass: {\"code\":1,\"url\":\"https://docs.google.com/open?id=1CibeLZ4opBRcc2nJXP73bhgJLTELQwW7Fwq9blQPXlw\",\"file_id\":\"1CibeLZ4opBRcc2nJXP73bhgJLTELQwW7Fwq9blQPXlw\",\"error\":\"\",\"vars\":\"\"})"} {"uid":"10d533a"}
[2026-07-02 18:04:16] docflow.WARNING: AmoDrive generated-file move is not ready. {"fileId":"1CibeLZ4opBRcc2nJXP73bhgJLTELQwW7Fwq9blQPXlw","context":null} {"uid":"10d533a"}
[2026-07-02 18:07:35] docflow.INFO: Apel createDoc {"data":{"amoAccountId":"32990686","amoUserId":null,"amoEntityId":"45724293","amoEntityType":"2","templateId":"11625","corporateEntityId":"","settlementAccountId":"","is_signed":null,"gdi":null,"number":null,"currentAmoUserId":null,"lang":"ru"}} {"uid":"1b0fed3"}
[2026-07-02 18:07:36] docflow.INFO: Token is valid for account 32990686. [] {"uid":"1b0fed3"}
[2026-07-02 18:07:36] docflow.DEBUG: getClientAuth returned {"auth":"[object] (stdClass: {\"domain\":\"eurosanteh.amocrm.ru\",\"access_token\":\"eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImp0aSI6ImRjZGY4YWJiMzM0MzdiZjRjNzBjMDRlOTFlNDU1YjhmYjkwNmYzOTYwMzk4NGNjMWQ0MDI1ODUzYjA2ZjNiMDkzZGNjMDFlNDQyNTg0Njk5In0.eyJhdWQiOiIwZDY0ZGZmYi1lNTRiLTQ0OGYtOWZiZi1iYWYyMjUxYTExZGIiLCJqdGkiOiJkY2RmOGFiYjMzNDM3YmY0YzcwYzA0ZTkxZTQ1NWI4ZmI5MDZmMzk2MDM5ODRjYzFkNDAyNTg1M2IwNmYzYjA5M2RjYzAxZTQ0MjU4NDY5OSIsImlhdCI6MTc4Mjk2ODU2MywibmJmIjoxNzgyOTY4NTYzLCJleHAiOjE3ODMwNTQ5NjMsInN1YiI6IjEzNjg3MzAyIiwiZ3JhbnRfdHlwZSI6IiIsImFjY291bnRfaWQiOjMyOTkwNjg2LCJiYXNlX2RvbWFpbiI6ImFtb2NybS5ydSIsInZlcnNpb24iOjIsInNjb3BlcyI6WyJwdXNoX25vdGlmaWNhdGlvbnMiLCJjcm0iLCJub3RpZmljYXRpb25zIl0sImhhc2hfdXVpZCI6IjdiNTI2ZDM3LWU5YTUtNGY1MC04NjU5LWFlZjI0ZWMwN2I2MSIsImFwaV9kb21haW4iOiJhcGktYi5hbW9jcm0ucnUifQ.TUP7Bi9R1Z5_ifh6PBDea_wrLQhhuCDBfhbmV-UeB8v1A_eof6DM3ni90PqyHwjy-_bogoujgXVHGFtlHknt3UAHPf6orhat2LJuNkb1ZzlvwNfKzfOLlCslLtvwCmvId5Cp6PjIEgZpsSZPb6j1XFwBF8mUsYJAs6DQafAhxJbwwdtepg3Rn7z1bok0wAy62df4psIRq7Bi9WiSVCb7CyeiZj8UiZxEFNIbusJI6k3zpKBXtykwNv4c2JwIgpQjuwAfKUvcfKgTUV6ZCXuj_wbQnkvtSXt1yjhO82intYpA8QkC7YC1Z2KUwCu90CACwX4piq8dxBla--hEqiVNGg\"})","file":"/home/ytvmclwh/document.amocrm.md/src/Models/Docs.php","line":121} {"uid":"1b0fed3"}
[2026-07-02 18:07:37] docflow.DEBUG: AmoDrive docflow context request {"url":"https://google.emale.uno/api/docflow/google-context","query":{"account_id":"32990686","entity_id":"45724293","entity_type":"leads"}} {"uid":"1b0fed3"}
[2026-07-02 18:07: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=32990686&amp;entity_id=45724293&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/07/02 18:07:38</td>\r\n</tr>\r\n</table>\r\n<hr><center>tengine</center>\r\n</body>\r\n</html>\r\n"} {"uid":"1b0fed3"}
[2026-07-02 18:07:37] docflow.DEBUG: AmoDrive docflow context request {"url":"https://gd.glucose-dev.online/api/docflow/google-context","query":{"account_id":"32990686","entity_id":"45724293","entity_type":"leads"}} {"uid":"1b0fed3"}
[2026-07-02 18:07:38] docflow.WARNING: AmoDrive docflow context response is not ready, trying next backend. {"url":"https://gd.glucose-dev.online/api/docflow/google-context","payload":{"ok":true,"accountId":32990686,"entityId":"45724293","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":"1b0fed3"}
[2026-07-02 18:07:38] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://google.emale.uno/api/docflow/prepare-generated-doc","payload":{"account_id":"32990686","entity_id":"45724293","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"1b0fed3"}
[2026-07-02 18:07:38] docflow.WARNING: AmoDrive prepare-generated-doc request failed {"url":"https://google.emale.uno/api/docflow/prepare-generated-doc","http_code":null,"error":"HTTP/2 400 ","response":"<!DOCTYPE HTML PUBLIC \"-//IETF//DTD HTML 2.0//EN\">\r\n<html>\r\n<head><title>400 Bad Request</title></head>\r\n<body>\r\n<center><h1>400 Bad Request</h1></center>\r\n Sorry for the inconvenience.<br/>\r\nPlease report this message and include the following information to us.<br/>\r\nThank you very much!</p>\r\n<table>\r\n<tr>\r\n<td>URL:</td>\r\n<td>https://gd.glucose-dev.online/api/docflow/prepare-generated-doc</td>\r\n</tr>\r\n<tr>\r\n<td>Server:</td>\r\n<td>mail.glucose-dev.online</td>\r\n</tr>\r\n<tr>\r\n<td>Date:</td>\r\n<td>2026/07/02 18:07:38</td>\r\n</tr>\r\n</table>\r\n<hr><center>tengine</center>\r\n</body>\r\n</html>\r\n","payload":{"account_id":"32990686","entity_id":"45724293","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"1b0fed3"}
[2026-07-02 18:07:38] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://gd.glucose-dev.online/api/docflow/prepare-generated-doc","payload":{"account_id":"32990686","entity_id":"45724293","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"1b0fed3"}
[2026-07-02 18:07:38] docflow.WARNING: AmoDrive prepare-generated-doc request failed {"url":"https://gd.glucose-dev.online/api/docflow/prepare-generated-doc","http_code":null,"error":"HTTP/2 404 ","response":"[object] (stdClass: {\"ok\":false,\"error\":\"AmoDrive is not installed for this account.\",\"accountId\":32990686})","payload":{"account_id":"32990686","entity_id":"45724293","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"1b0fed3"}
[2026-07-02 18:07:38] docflow.DEBUG: GAS request {"url":"https://script.google.com/macros/s/AKfycbwrvOJD46zkuoTzdhpc1kulhV8jRfgQBFZfQ121nkIip_k8yKit4xrbWTOzaJ-C-Yed6w/exec","body":{"templateFileId":"1AjK4khA9mRlFDVy4RXRqHAg2GTFWJYC-Gac1Mx3OLnA","accountId":"32990686","folderId":"1Us2AfskxgdA729xVr0F2vjZU9y5PlYDe","key":"~VTsK5dcnHc2cSSsjM$LFSjLlgbmJXwrp3R2P5nd","data":"{\"fileName\":\"ALL FOR ALL \\u041d\\u0430\\u0440\\u044f\\u0434 \\u043d\\u0430 \\u0432\\u044b\\u043f\\u043e\\u043b\\u043d\\u0435\\u043d\\u0438\\u0435 \\u0440\\u0430\\u0431\\u043e\\u0442 441 20260702180737\",\"leadId\":\"45724293\",\"entities\":{\"\\u0441\\u0434\\u0435\\u043b\\u043a\\u0430\":{\"ID\":\"45724293\",\"\\u0421\\u0434\\u0435\\u043b\\u043a\\u0430_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"\\u0421\\u0434\\u0435\\u043b\\u043a\\u0430 067363578\",\"Lead_name\":\"\\u0421\\u0434\\u0435\\u043b\\u043a\\u0430 067363578\",\"\\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\":\"45724293\",\"\\u0421\\u0434\\u0435\\u043b\\u043a\\u0430_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"\\u0421\\u0434\\u0435\\u043b\\u043a\\u0430 067363578\",\"Lead_name\":\"\\u0421\\u0434\\u0435\\u043b\\u043a\\u0430 067363578\",\"\\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\":\"373067363578\",\"\\u0418\\u043c\\u044f \\u043a\\u043b\\u0438\\u0435\\u043d\\u0442\\u0430 (\\u0421\\u041c\\u0421)\":\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442 067363578\",\"\\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 067363578\",\"Contact_name\":\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442 067363578\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"\\u0410\\u0441\\u0442\\u0430\\u043f\\u0435\\u043d\\u043a\\u043e\\u0432\\u0430 \\u042e\\u043b\\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\":\"373067363578\",\"\\u0418\\u043c\\u044f \\u043a\\u043b\\u0438\\u0435\\u043d\\u0442\\u0430 (\\u0421\\u041c\\u0421)\":\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442 067363578\",\"\\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 067363578\",\"Contact_name\":\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442 067363578\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"\\u0410\\u0441\\u0442\\u0430\\u043f\\u0435\\u043d\\u043a\\u043e\\u0432\\u0430 \\u042e\\u043b\\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\":\"373067363578\",\"\\u0418\\u043c\\u044f \\u043a\\u043b\\u0438\\u0435\\u043d\\u0442\\u0430 (\\u0421\\u041c\\u0421)\":\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442 067363578\",\"\\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 067363578\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\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\":\"02.07.2026\",\"\\u041d\\u043e\\u043c\\u0435\\u0440\":\"441\"},\"document\":{\"Date\":\"02.07.2026\",\"Number\":\"441\"}}}","edit":true}} {"uid":"1b0fed3"}
[2026-07-02 18:07:44] docflow.DEBUG: GAS raw response {"raw":"[object] (stdClass: {\"code\":1,\"url\":\"https://docs.google.com/open?id=1Wa4Qoh7852KpJ78OBHY8MZanYPvzRnqKqWWa-0zxy_o\",\"file_id\":\"1Wa4Qoh7852KpJ78OBHY8MZanYPvzRnqKqWWa-0zxy_o\",\"error\":\"\",\"vars\":\"\"})"} {"uid":"1b0fed3"}
[2026-07-02 18:07:44] docflow.WARNING: AmoDrive generated-file move is not ready. {"fileId":"1Wa4Qoh7852KpJ78OBHY8MZanYPvzRnqKqWWa-0zxy_o","context":null} {"uid":"1b0fed3"}
[2026-07-02 18:13:10] docflow.INFO: Apel createDoc {"data":{"amoAccountId":"32990686","amoUserId":null,"amoEntityId":"40279625","amoEntityType":"2","templateId":"11625","corporateEntityId":"","settlementAccountId":"","is_signed":null,"gdi":null,"number":null,"currentAmoUserId":null,"lang":"ru"}} {"uid":"8acdb88"}
[2026-07-02 18:13:11] docflow.INFO: Token is valid for account 32990686. [] {"uid":"8acdb88"}
[2026-07-02 18:13:11] docflow.DEBUG: getClientAuth returned {"auth":"[object] (stdClass: {\"domain\":\"eurosanteh.amocrm.ru\",\"access_token\":\"eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImp0aSI6ImRjZGY4YWJiMzM0MzdiZjRjNzBjMDRlOTFlNDU1YjhmYjkwNmYzOTYwMzk4NGNjMWQ0MDI1ODUzYjA2ZjNiMDkzZGNjMDFlNDQyNTg0Njk5In0.eyJhdWQiOiIwZDY0ZGZmYi1lNTRiLTQ0OGYtOWZiZi1iYWYyMjUxYTExZGIiLCJqdGkiOiJkY2RmOGFiYjMzNDM3YmY0YzcwYzA0ZTkxZTQ1NWI4ZmI5MDZmMzk2MDM5ODRjYzFkNDAyNTg1M2IwNmYzYjA5M2RjYzAxZTQ0MjU4NDY5OSIsImlhdCI6MTc4Mjk2ODU2MywibmJmIjoxNzgyOTY4NTYzLCJleHAiOjE3ODMwNTQ5NjMsInN1YiI6IjEzNjg3MzAyIiwiZ3JhbnRfdHlwZSI6IiIsImFjY291bnRfaWQiOjMyOTkwNjg2LCJiYXNlX2RvbWFpbiI6ImFtb2NybS5ydSIsInZlcnNpb24iOjIsInNjb3BlcyI6WyJwdXNoX25vdGlmaWNhdGlvbnMiLCJjcm0iLCJub3RpZmljYXRpb25zIl0sImhhc2hfdXVpZCI6IjdiNTI2ZDM3LWU5YTUtNGY1MC04NjU5LWFlZjI0ZWMwN2I2MSIsImFwaV9kb21haW4iOiJhcGktYi5hbW9jcm0ucnUifQ.TUP7Bi9R1Z5_ifh6PBDea_wrLQhhuCDBfhbmV-UeB8v1A_eof6DM3ni90PqyHwjy-_bogoujgXVHGFtlHknt3UAHPf6orhat2LJuNkb1ZzlvwNfKzfOLlCslLtvwCmvId5Cp6PjIEgZpsSZPb6j1XFwBF8mUsYJAs6DQafAhxJbwwdtepg3Rn7z1bok0wAy62df4psIRq7Bi9WiSVCb7CyeiZj8UiZxEFNIbusJI6k3zpKBXtykwNv4c2JwIgpQjuwAfKUvcfKgTUV6ZCXuj_wbQnkvtSXt1yjhO82intYpA8QkC7YC1Z2KUwCu90CACwX4piq8dxBla--hEqiVNGg\"})","file":"/home/ytvmclwh/document.amocrm.md/src/Models/Docs.php","line":121} {"uid":"8acdb88"}
[2026-07-02 18:13:14] docflow.DEBUG: AmoDrive docflow context request {"url":"https://google.emale.uno/api/docflow/google-context","query":{"account_id":"32990686","entity_id":"40279625","entity_type":"leads"}} {"uid":"8acdb88"}
[2026-07-02 18:13:14] docflow.WARNING: AmoDrive docflow context request failed {"url":"https://google.emale.uno/api/docflow/google-context","http_code":null,"error":"HTTP/2 400 ","response":"<!DOCTYPE HTML PUBLIC \"-//IETF//DTD HTML 2.0//EN\">\r\n<html>\r\n<head><title>400 Bad Request</title></head>\r\n<body>\r\n<center><h1>400 Bad Request</h1></center>\r\n Sorry for the inconvenience.<br/>\r\nPlease report this message and include the following information to us.<br/>\r\nThank you very much!</p>\r\n<table>\r\n<tr>\r\n<td>URL:</td>\r\n<td>https://gd.glucose-dev.online/api/docflow/google-context?account_id=32990686&amp;entity_id=40279625&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/07/02 18:13:14</td>\r\n</tr>\r\n</table>\r\n<hr><center>tengine</center>\r\n</body>\r\n</html>\r\n"} {"uid":"8acdb88"}
[2026-07-02 18:13:14] docflow.DEBUG: AmoDrive docflow context request {"url":"https://gd.glucose-dev.online/api/docflow/google-context","query":{"account_id":"32990686","entity_id":"40279625","entity_type":"leads"}} {"uid":"8acdb88"}
[2026-07-02 18:13:14] docflow.WARNING: AmoDrive docflow context response is not ready, trying next backend. {"url":"https://gd.glucose-dev.online/api/docflow/google-context","payload":{"ok":true,"accountId":32990686,"entityId":"40279625","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":"8acdb88"}
[2026-07-02 18:13:14] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://google.emale.uno/api/docflow/prepare-generated-doc","payload":{"account_id":"32990686","entity_id":"40279625","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"8acdb88"}
[2026-07-02 18:13: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/07/02 18:13:14</td>\r\n</tr>\r\n</table>\r\n<hr><center>tengine</center>\r\n</body>\r\n</html>\r\n","payload":{"account_id":"32990686","entity_id":"40279625","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"8acdb88"}
[2026-07-02 18:13:14] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://gd.glucose-dev.online/api/docflow/prepare-generated-doc","payload":{"account_id":"32990686","entity_id":"40279625","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"8acdb88"}
[2026-07-02 18:13:14] docflow.WARNING: AmoDrive prepare-generated-doc request failed {"url":"https://gd.glucose-dev.online/api/docflow/prepare-generated-doc","http_code":null,"error":"HTTP/2 404 ","response":"[object] (stdClass: {\"ok\":false,\"error\":\"AmoDrive is not installed for this account.\",\"accountId\":32990686})","payload":{"account_id":"32990686","entity_id":"40279625","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"8acdb88"}
[2026-07-02 18:13:14] docflow.DEBUG: GAS request {"url":"https://script.google.com/macros/s/AKfycbwrvOJD46zkuoTzdhpc1kulhV8jRfgQBFZfQ121nkIip_k8yKit4xrbWTOzaJ-C-Yed6w/exec","body":{"templateFileId":"1AjK4khA9mRlFDVy4RXRqHAg2GTFWJYC-Gac1Mx3OLnA","accountId":"32990686","folderId":"1Us2AfskxgdA729xVr0F2vjZU9y5PlYDe","key":"~VTsK5dcnHc2cSSsjM$LFSjLlgbmJXwrp3R2P5nd","data":"{\"fileName\":\"ALL FOR ALL \\u041d\\u0430\\u0440\\u044f\\u0434 \\u043d\\u0430 \\u0432\\u044b\\u043f\\u043e\\u043b\\u043d\\u0435\\u043d\\u0438\\u0435 \\u0440\\u0430\\u0431\\u043e\\u0442 442 20260702181314\",\"leadId\":\"40279625\",\"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\":\"31.07.2026\",\"\\u041d\\u043e\\u043c\\u0435\\u0440 \\u043a\\u043e\\u043d\\u0442\\u0440\\u0430\\u043a\\u0442\\u0430\":\"T4086\",\"\\u0414\\u0430\\u0442\\u0430 \\u043c\\u043e\\u043d\\u0442\\u0430\\u0436\\u0430 (\\u0411\\u0414)\":\"31.07.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 \\u043f\\u043e \\u0433\\u0430\\u0440\\u0430\\u043d\\u0442\\u0438\\u0438\",\"\\u0424\\u0418\\u041e \\u043c\\u043e\\u043d\\u0442\\u0430\\u0436\\u043d\\u0438\\u043a\\u0430 (\\u0411\\u0414)\":\"\\u0422\\u044e\\u0445\\u0442\\u0438\\u0439 \\u0413\",\"\\u0414\\u0430\\u0442\\u0430 \\u0438 \\u0432\\u0440\\u0435\\u043c\\u044f \\u0432\\u0438\\u0437\\u0438\\u0442\\u0430\":\"2026-07-03 14:18:00\",\"\\u0414\\u0430\\u0442\\u0430 \\u0432\\u0438\\u0437\\u0438\\u0442\\u0430\":\"03.07.2026\",\"\\u041c\\u043e\\u0434\\u0435\\u043b\\u044c \\u043e\\u0431\\u043e\\u0440\\u0443\\u0434\\u043e\\u0432\\u0430\\u043d\\u0438\\u044f 1\":\"Haier\",\"ID\":\"40279625\",\"\\u0421\\u0434\\u0435\\u043b\\u043a\\u0430_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"\\u041f\\u0422\\u041e \\u043f\\u043e \\u0433\\u0430\\u0440\\u0430\\u043d\\u0442\\u0438\\u0438\",\"Lead_name\":\"\\u041f\\u0422\\u041e \\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\":{\"\\u0421\\u043b\\u0435\\u0434\\u0443\\u044e\\u0449\\u0430\\u044f \\u0434\\u0430\\u0442\\u0430 \\u0441\\u0435\\u0440\\u0432\\u0438\\u0441\\u0430\":\"31.07.2026\",\"\\u041d\\u043e\\u043c\\u0435\\u0440 \\u043a\\u043e\\u043d\\u0442\\u0440\\u0430\\u043a\\u0442\\u0430\":\"T4086\",\"\\u0414\\u0430\\u0442\\u0430 \\u043c\\u043e\\u043d\\u0442\\u0430\\u0436\\u0430 (\\u0411\\u0414)\":\"31.07.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 \\u043f\\u043e \\u0433\\u0430\\u0440\\u0430\\u043d\\u0442\\u0438\\u0438\",\"\\u0424\\u0418\\u041e \\u043c\\u043e\\u043d\\u0442\\u0430\\u0436\\u043d\\u0438\\u043a\\u0430 (\\u0411\\u0414)\":\"\\u0422\\u044e\\u0445\\u0442\\u0438\\u0439 \\u0413\",\"\\u0414\\u0430\\u0442\\u0430 \\u0438 \\u0432\\u0440\\u0435\\u043c\\u044f \\u0432\\u0438\\u0437\\u0438\\u0442\\u0430\":\"2026-07-03 14:18:00\",\"\\u0414\\u0430\\u0442\\u0430 \\u0432\\u0438\\u0437\\u0438\\u0442\\u0430\":\"03.07.2026\",\"\\u041c\\u043e\\u0434\\u0435\\u043b\\u044c \\u043e\\u0431\\u043e\\u0440\\u0443\\u0434\\u043e\\u0432\\u0430\\u043d\\u0438\\u044f 1\":\"Haier\",\"ID\":\"40279625\",\"\\u0421\\u0434\\u0435\\u043b\\u043a\\u0430_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"\\u041f\\u0422\\u041e \\u043f\\u043e \\u0433\\u0430\\u0440\\u0430\\u043d\\u0442\\u0438\\u0438\",\"Lead_name\":\"\\u041f\\u0422\\u041e \\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\":{\"\\u0418\\u0414\\u041d\\u041e\":\"981802422432\",\"\\u0410\\u0434\\u0440\\u0435\\u0441\":\"str.Dacia 51\\/1 ap121\",\"\\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)\":\"T4086\",\"\\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\",\"\\u0418\\u043c\\u044f \\u043a\\u043b\\u0438\\u0435\\u043d\\u0442\\u0430 (\\u0421\\u041c\\u0421)\":\"Tatiana\",\"\\u041a\\u043e\\u043b - \\u0432\\u043e \\u043e\\u0431\\u043e\\u0440\\u0443\\u0434\\u043e\\u0432\\u0430\\u043d\\u0438\\u044f (\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442)\":\"1\",\"\\u041a\\u0442\\u043e \\u043c\\u043e\\u043d\\u0442\\u0438\\u0440\\u043e\\u0432\\u0430\\u043b (\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442)\":\"\\u041c\\u0430\\u0441\\u0442\\u0435\\u0440 \\u043a\\u043e\\u043c\\u043f\\u0430\\u043d\\u0438\\u0438 Edenvor SRL\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"37368095931\",\"\\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\":\"Tatiana Pogrebnaia\",\"Contact_name\":\"Tatiana Pogrebnaia\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"\\u0410\\u0441\\u0442\\u0430\\u043f\\u0435\\u043d\\u043a\\u043e\\u0432\\u0430 \\u042e\\u043b\\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\":\"981802422432\",\"\\u0410\\u0434\\u0440\\u0435\\u0441\":\"str.Dacia 51\\/1 ap121\",\"\\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)\":\"T4086\",\"\\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\",\"\\u0418\\u043c\\u044f \\u043a\\u043b\\u0438\\u0435\\u043d\\u0442\\u0430 (\\u0421\\u041c\\u0421)\":\"Tatiana\",\"\\u041a\\u043e\\u043b - \\u0432\\u043e \\u043e\\u0431\\u043e\\u0440\\u0443\\u0434\\u043e\\u0432\\u0430\\u043d\\u0438\\u044f (\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442)\":\"1\",\"\\u041a\\u0442\\u043e \\u043c\\u043e\\u043d\\u0442\\u0438\\u0440\\u043e\\u0432\\u0430\\u043b (\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442)\":\"\\u041c\\u0430\\u0441\\u0442\\u0435\\u0440 \\u043a\\u043e\\u043c\\u043f\\u0430\\u043d\\u0438\\u0438 Edenvor SRL\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"37368095931\",\"\\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\":\"Tatiana Pogrebnaia\",\"Contact_name\":\"Tatiana Pogrebnaia\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"\\u0410\\u0441\\u0442\\u0430\\u043f\\u0435\\u043d\\u043a\\u043e\\u0432\\u0430 \\u042e\\u043b\\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\":\"981802422432\",\"\\u0410\\u0434\\u0440\\u0435\\u0441\":\"str.Dacia 51\\/1 ap121\",\"\\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)\":\"T4086\",\"\\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\",\"\\u0418\\u043c\\u044f \\u043a\\u043b\\u0438\\u0435\\u043d\\u0442\\u0430 (\\u0421\\u041c\\u0421)\":\"Tatiana\",\"\\u041a\\u043e\\u043b - \\u0432\\u043e \\u043e\\u0431\\u043e\\u0440\\u0443\\u0434\\u043e\\u0432\\u0430\\u043d\\u0438\\u044f (\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442)\":\"1\",\"\\u041a\\u0442\\u043e \\u043c\\u043e\\u043d\\u0442\\u0438\\u0440\\u043e\\u0432\\u0430\\u043b (\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442)\":\"\\u041c\\u0430\\u0441\\u0442\\u0435\\u0440 \\u043a\\u043e\\u043c\\u043f\\u0430\\u043d\\u0438\\u0438 Edenvor SRL\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"37368095931\",\"\\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\":\"Tatiana Pogrebnaia\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\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\":\"02.07.2026\",\"\\u041d\\u043e\\u043c\\u0435\\u0440\":\"442\"},\"document\":{\"Date\":\"02.07.2026\",\"Number\":\"442\"}}}","edit":true}} {"uid":"8acdb88"}
[2026-07-02 18:13:22] docflow.DEBUG: GAS raw response {"raw":"[object] (stdClass: {\"code\":1,\"url\":\"https://docs.google.com/open?id=1UyJQZhZyV-_BMSx8haGCgS8iYUv5KHWbaTd3fR7ApGI\",\"file_id\":\"1UyJQZhZyV-_BMSx8haGCgS8iYUv5KHWbaTd3fR7ApGI\",\"error\":\"\",\"vars\":\"\"})"} {"uid":"8acdb88"}
[2026-07-02 18:13:22] docflow.WARNING: AmoDrive generated-file move is not ready. {"fileId":"1UyJQZhZyV-_BMSx8haGCgS8iYUv5KHWbaTd3fR7ApGI","context":null} {"uid":"8acdb88"}
[2026-07-02 18:15:18] docflow.INFO: Apel createDoc {"data":{"amoAccountId":"32990686","amoUserId":null,"amoEntityId":"45567839","amoEntityType":"2","templateId":"11625","corporateEntityId":"","settlementAccountId":"","is_signed":null,"gdi":null,"number":null,"currentAmoUserId":null,"lang":"ru"}} {"uid":"1716414"}
[2026-07-02 18:15:18] docflow.INFO: Token is valid for account 32990686. [] {"uid":"1716414"}
[2026-07-02 18:15:18] docflow.DEBUG: getClientAuth returned {"auth":"[object] (stdClass: {\"domain\":\"eurosanteh.amocrm.ru\",\"access_token\":\"eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImp0aSI6ImRjZGY4YWJiMzM0MzdiZjRjNzBjMDRlOTFlNDU1YjhmYjkwNmYzOTYwMzk4NGNjMWQ0MDI1ODUzYjA2ZjNiMDkzZGNjMDFlNDQyNTg0Njk5In0.eyJhdWQiOiIwZDY0ZGZmYi1lNTRiLTQ0OGYtOWZiZi1iYWYyMjUxYTExZGIiLCJqdGkiOiJkY2RmOGFiYjMzNDM3YmY0YzcwYzA0ZTkxZTQ1NWI4ZmI5MDZmMzk2MDM5ODRjYzFkNDAyNTg1M2IwNmYzYjA5M2RjYzAxZTQ0MjU4NDY5OSIsImlhdCI6MTc4Mjk2ODU2MywibmJmIjoxNzgyOTY4NTYzLCJleHAiOjE3ODMwNTQ5NjMsInN1YiI6IjEzNjg3MzAyIiwiZ3JhbnRfdHlwZSI6IiIsImFjY291bnRfaWQiOjMyOTkwNjg2LCJiYXNlX2RvbWFpbiI6ImFtb2NybS5ydSIsInZlcnNpb24iOjIsInNjb3BlcyI6WyJwdXNoX25vdGlmaWNhdGlvbnMiLCJjcm0iLCJub3RpZmljYXRpb25zIl0sImhhc2hfdXVpZCI6IjdiNTI2ZDM3LWU5YTUtNGY1MC04NjU5LWFlZjI0ZWMwN2I2MSIsImFwaV9kb21haW4iOiJhcGktYi5hbW9jcm0ucnUifQ.TUP7Bi9R1Z5_ifh6PBDea_wrLQhhuCDBfhbmV-UeB8v1A_eof6DM3ni90PqyHwjy-_bogoujgXVHGFtlHknt3UAHPf6orhat2LJuNkb1ZzlvwNfKzfOLlCslLtvwCmvId5Cp6PjIEgZpsSZPb6j1XFwBF8mUsYJAs6DQafAhxJbwwdtepg3Rn7z1bok0wAy62df4psIRq7Bi9WiSVCb7CyeiZj8UiZxEFNIbusJI6k3zpKBXtykwNv4c2JwIgpQjuwAfKUvcfKgTUV6ZCXuj_wbQnkvtSXt1yjhO82intYpA8QkC7YC1Z2KUwCu90CACwX4piq8dxBla--hEqiVNGg\"})","file":"/home/ytvmclwh/document.amocrm.md/src/Models/Docs.php","line":121} {"uid":"1716414"}
[2026-07-02 18:15:21] docflow.DEBUG: AmoDrive docflow context request {"url":"https://google.emale.uno/api/docflow/google-context","query":{"account_id":"32990686","entity_id":"45567839","entity_type":"leads"}} {"uid":"1716414"}
[2026-07-02 18:15:21] docflow.WARNING: AmoDrive docflow context request failed {"url":"https://google.emale.uno/api/docflow/google-context","http_code":null,"error":"HTTP/2 400 ","response":"<!DOCTYPE HTML PUBLIC \"-//IETF//DTD HTML 2.0//EN\">\r\n<html>\r\n<head><title>400 Bad Request</title></head>\r\n<body>\r\n<center><h1>400 Bad Request</h1></center>\r\n Sorry for the inconvenience.<br/>\r\nPlease report this message and include the following information to us.<br/>\r\nThank you very much!</p>\r\n<table>\r\n<tr>\r\n<td>URL:</td>\r\n<td>https://gd.glucose-dev.online/api/docflow/google-context?account_id=32990686&amp;entity_id=45567839&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/07/02 18:15:21</td>\r\n</tr>\r\n</table>\r\n<hr><center>tengine</center>\r\n</body>\r\n</html>\r\n"} {"uid":"1716414"}
[2026-07-02 18:15:21] docflow.DEBUG: AmoDrive docflow context request {"url":"https://gd.glucose-dev.online/api/docflow/google-context","query":{"account_id":"32990686","entity_id":"45567839","entity_type":"leads"}} {"uid":"1716414"}
[2026-07-02 18:15:21] docflow.WARNING: AmoDrive docflow context response is not ready, trying next backend. {"url":"https://gd.glucose-dev.online/api/docflow/google-context","payload":{"ok":true,"accountId":32990686,"entityId":"45567839","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":"1716414"}
[2026-07-02 18:15:21] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://google.emale.uno/api/docflow/prepare-generated-doc","payload":{"account_id":"32990686","entity_id":"45567839","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"1716414"}
[2026-07-02 18:15:21] docflow.WARNING: AmoDrive prepare-generated-doc request failed {"url":"https://google.emale.uno/api/docflow/prepare-generated-doc","http_code":null,"error":"HTTP/2 400 ","response":"<!DOCTYPE HTML PUBLIC \"-//IETF//DTD HTML 2.0//EN\">\r\n<html>\r\n<head><title>400 Bad Request</title></head>\r\n<body>\r\n<center><h1>400 Bad Request</h1></center>\r\n Sorry for the inconvenience.<br/>\r\nPlease report this message and include the following information to us.<br/>\r\nThank you very much!</p>\r\n<table>\r\n<tr>\r\n<td>URL:</td>\r\n<td>https://gd.glucose-dev.online/api/docflow/prepare-generated-doc</td>\r\n</tr>\r\n<tr>\r\n<td>Server:</td>\r\n<td>mail.glucose-dev.online</td>\r\n</tr>\r\n<tr>\r\n<td>Date:</td>\r\n<td>2026/07/02 18:15:21</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":"45567839","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"1716414"}
[2026-07-02 18:15:21] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://gd.glucose-dev.online/api/docflow/prepare-generated-doc","payload":{"account_id":"32990686","entity_id":"45567839","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"1716414"}
[2026-07-02 18:15:21] docflow.WARNING: AmoDrive prepare-generated-doc request failed {"url":"https://gd.glucose-dev.online/api/docflow/prepare-generated-doc","http_code":null,"error":"HTTP/2 404 ","response":"[object] (stdClass: {\"ok\":false,\"error\":\"AmoDrive is not installed for this account.\",\"accountId\":32990686})","payload":{"account_id":"32990686","entity_id":"45567839","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"1716414"}
[2026-07-02 18:15:21] docflow.DEBUG: GAS request {"url":"https://script.google.com/macros/s/AKfycbwrvOJD46zkuoTzdhpc1kulhV8jRfgQBFZfQ121nkIip_k8yKit4xrbWTOzaJ-C-Yed6w/exec","body":{"templateFileId":"1AjK4khA9mRlFDVy4RXRqHAg2GTFWJYC-Gac1Mx3OLnA","accountId":"32990686","folderId":"1Us2AfskxgdA729xVr0F2vjZU9y5PlYDe","key":"~VTsK5dcnHc2cSSsjM$LFSjLlgbmJXwrp3R2P5nd","data":"{\"fileName\":\"ALL FOR ALL \\u041d\\u0430\\u0440\\u044f\\u0434 \\u043d\\u0430 \\u0432\\u044b\\u043f\\u043e\\u043b\\u043d\\u0435\\u043d\\u0438\\u0435 \\u0440\\u0430\\u0431\\u043e\\u0442 443 20260702181521\",\"leadId\":\"45567839\",\"entities\":{\"\\u0441\\u0434\\u0435\\u043b\\u043a\\u0430\":{\"\\u0414\\u0430\\u0442\\u0430 \\u0438 \\u0432\\u0440\\u0435\\u043c\\u044f \\u0432\\u0438\\u0437\\u0438\\u0442\\u0430\":\"2026-07-03 18:15:00\",\"\\u0414\\u0430\\u0442\\u0430 \\u0432\\u0438\\u0437\\u0438\\u0442\\u0430\":\"03.07.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\",\"ID\":\"45567839\",\"\\u0421\\u0434\\u0435\\u043b\\u043a\\u0430_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"\\u0421\\u0434\\u0435\\u043b\\u043a\\u0430 #45567839\",\"Lead_name\":\"\\u0421\\u0434\\u0435\\u043b\\u043a\\u0430 #45567839\",\"\\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-07-03 18:15:00\",\"\\u0414\\u0430\\u0442\\u0430 \\u0432\\u0438\\u0437\\u0438\\u0442\\u0430\":\"03.07.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\",\"ID\":\"45567839\",\"\\u0421\\u0434\\u0435\\u043b\\u043a\\u0430_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"\\u0421\\u0434\\u0435\\u043b\\u043a\\u0430 #45567839\",\"Lead_name\":\"\\u0421\\u0434\\u0435\\u043b\\u043a\\u0430 #45567839\",\"\\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\":\"37369313452\",\"\\u0418\\u043c\\u044f \\u043a\\u043b\\u0438\\u0435\\u043d\\u0442\\u0430 (\\u0421\\u041c\\u0421)\":\"Mariana\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Mariana\",\"Contact_name\":\"Mariana\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"\\u0410\\u0441\\u0442\\u0430\\u043f\\u0435\\u043d\\u043a\\u043e\\u0432\\u0430 \\u042e\\u043b\\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\":\"37369313452\",\"\\u0418\\u043c\\u044f \\u043a\\u043b\\u0438\\u0435\\u043d\\u0442\\u0430 (\\u0421\\u041c\\u0421)\":\"Mariana\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Mariana\",\"Contact_name\":\"Mariana\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"\\u0410\\u0441\\u0442\\u0430\\u043f\\u0435\\u043d\\u043a\\u043e\\u0432\\u0430 \\u042e\\u043b\\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\":\"37369313452\",\"\\u0418\\u043c\\u044f \\u043a\\u043b\\u0438\\u0435\\u043d\\u0442\\u0430 (\\u0421\\u041c\\u0421)\":\"Mariana\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Mariana\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\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\":\"02.07.2026\",\"\\u041d\\u043e\\u043c\\u0435\\u0440\":\"443\"},\"document\":{\"Date\":\"02.07.2026\",\"Number\":\"443\"}}}","edit":true}} {"uid":"1716414"}
[2026-07-02 18:15:27] docflow.DEBUG: GAS raw response {"raw":"[object] (stdClass: {\"code\":1,\"url\":\"https://docs.google.com/open?id=1sJRcDkVVPobd3H68GKipr5zpHRdBOrTMKKVIxj0S63g\",\"file_id\":\"1sJRcDkVVPobd3H68GKipr5zpHRdBOrTMKKVIxj0S63g\",\"error\":\"\",\"vars\":\"\"})"} {"uid":"1716414"}
[2026-07-02 18:15:27] docflow.WARNING: AmoDrive generated-file move is not ready. {"fileId":"1sJRcDkVVPobd3H68GKipr5zpHRdBOrTMKKVIxj0S63g","context":null} {"uid":"1716414"}
[2026-07-02 18:17:42] docflow.INFO: Apel createDoc {"data":{"amoAccountId":"32990686","amoUserId":null,"amoEntityId":"45572731","amoEntityType":"2","templateId":"11625","corporateEntityId":"","settlementAccountId":"","is_signed":null,"gdi":null,"number":null,"currentAmoUserId":null,"lang":"ru"}} {"uid":"5235c0f"}
[2026-07-02 18:17:42] docflow.INFO: Token is valid for account 32990686. [] {"uid":"5235c0f"}
[2026-07-02 18:17:42] docflow.DEBUG: getClientAuth returned {"auth":"[object] (stdClass: {\"domain\":\"eurosanteh.amocrm.ru\",\"access_token\":\"eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImp0aSI6ImRjZGY4YWJiMzM0MzdiZjRjNzBjMDRlOTFlNDU1YjhmYjkwNmYzOTYwMzk4NGNjMWQ0MDI1ODUzYjA2ZjNiMDkzZGNjMDFlNDQyNTg0Njk5In0.eyJhdWQiOiIwZDY0ZGZmYi1lNTRiLTQ0OGYtOWZiZi1iYWYyMjUxYTExZGIiLCJqdGkiOiJkY2RmOGFiYjMzNDM3YmY0YzcwYzA0ZTkxZTQ1NWI4ZmI5MDZmMzk2MDM5ODRjYzFkNDAyNTg1M2IwNmYzYjA5M2RjYzAxZTQ0MjU4NDY5OSIsImlhdCI6MTc4Mjk2ODU2MywibmJmIjoxNzgyOTY4NTYzLCJleHAiOjE3ODMwNTQ5NjMsInN1YiI6IjEzNjg3MzAyIiwiZ3JhbnRfdHlwZSI6IiIsImFjY291bnRfaWQiOjMyOTkwNjg2LCJiYXNlX2RvbWFpbiI6ImFtb2NybS5ydSIsInZlcnNpb24iOjIsInNjb3BlcyI6WyJwdXNoX25vdGlmaWNhdGlvbnMiLCJjcm0iLCJub3RpZmljYXRpb25zIl0sImhhc2hfdXVpZCI6IjdiNTI2ZDM3LWU5YTUtNGY1MC04NjU5LWFlZjI0ZWMwN2I2MSIsImFwaV9kb21haW4iOiJhcGktYi5hbW9jcm0ucnUifQ.TUP7Bi9R1Z5_ifh6PBDea_wrLQhhuCDBfhbmV-UeB8v1A_eof6DM3ni90PqyHwjy-_bogoujgXVHGFtlHknt3UAHPf6orhat2LJuNkb1ZzlvwNfKzfOLlCslLtvwCmvId5Cp6PjIEgZpsSZPb6j1XFwBF8mUsYJAs6DQafAhxJbwwdtepg3Rn7z1bok0wAy62df4psIRq7Bi9WiSVCb7CyeiZj8UiZxEFNIbusJI6k3zpKBXtykwNv4c2JwIgpQjuwAfKUvcfKgTUV6ZCXuj_wbQnkvtSXt1yjhO82intYpA8QkC7YC1Z2KUwCu90CACwX4piq8dxBla--hEqiVNGg\"})","file":"/home/ytvmclwh/document.amocrm.md/src/Models/Docs.php","line":121} {"uid":"5235c0f"}
[2026-07-02 18:17:44] docflow.DEBUG: AmoDrive docflow context request {"url":"https://google.emale.uno/api/docflow/google-context","query":{"account_id":"32990686","entity_id":"45572731","entity_type":"leads"}} {"uid":"5235c0f"}
[2026-07-02 18:17:44] docflow.WARNING: AmoDrive docflow context request failed {"url":"https://google.emale.uno/api/docflow/google-context","http_code":null,"error":"HTTP/2 400 ","response":"<!DOCTYPE HTML PUBLIC \"-//IETF//DTD HTML 2.0//EN\">\r\n<html>\r\n<head><title>400 Bad Request</title></head>\r\n<body>\r\n<center><h1>400 Bad Request</h1></center>\r\n Sorry for the inconvenience.<br/>\r\nPlease report this message and include the following information to us.<br/>\r\nThank you very much!</p>\r\n<table>\r\n<tr>\r\n<td>URL:</td>\r\n<td>https://gd.glucose-dev.online/api/docflow/google-context?account_id=32990686&amp;entity_id=45572731&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/07/02 18:17:44</td>\r\n</tr>\r\n</table>\r\n<hr><center>tengine</center>\r\n</body>\r\n</html>\r\n"} {"uid":"5235c0f"}
[2026-07-02 18:17:44] docflow.DEBUG: AmoDrive docflow context request {"url":"https://gd.glucose-dev.online/api/docflow/google-context","query":{"account_id":"32990686","entity_id":"45572731","entity_type":"leads"}} {"uid":"5235c0f"}
[2026-07-02 18:17:44] docflow.WARNING: AmoDrive docflow context response is not ready, trying next backend. {"url":"https://gd.glucose-dev.online/api/docflow/google-context","payload":{"ok":true,"accountId":32990686,"entityId":"45572731","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":"5235c0f"}
[2026-07-02 18:17:44] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://google.emale.uno/api/docflow/prepare-generated-doc","payload":{"account_id":"32990686","entity_id":"45572731","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"5235c0f"}
[2026-07-02 18:17:44] docflow.WARNING: AmoDrive prepare-generated-doc request failed {"url":"https://google.emale.uno/api/docflow/prepare-generated-doc","http_code":null,"error":"HTTP/2 400 ","response":"<!DOCTYPE HTML PUBLIC \"-//IETF//DTD HTML 2.0//EN\">\r\n<html>\r\n<head><title>400 Bad Request</title></head>\r\n<body>\r\n<center><h1>400 Bad Request</h1></center>\r\n Sorry for the inconvenience.<br/>\r\nPlease report this message and include the following information to us.<br/>\r\nThank you very much!</p>\r\n<table>\r\n<tr>\r\n<td>URL:</td>\r\n<td>https://gd.glucose-dev.online/api/docflow/prepare-generated-doc</td>\r\n</tr>\r\n<tr>\r\n<td>Server:</td>\r\n<td>mail.glucose-dev.online</td>\r\n</tr>\r\n<tr>\r\n<td>Date:</td>\r\n<td>2026/07/02 18:17:44</td>\r\n</tr>\r\n</table>\r\n<hr><center>tengine</center>\r\n</body>\r\n</html>\r\n","payload":{"account_id":"32990686","entity_id":"45572731","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"5235c0f"}
[2026-07-02 18:17:44] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://gd.glucose-dev.online/api/docflow/prepare-generated-doc","payload":{"account_id":"32990686","entity_id":"45572731","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"5235c0f"}
[2026-07-02 18:17:44] docflow.WARNING: AmoDrive prepare-generated-doc request failed {"url":"https://gd.glucose-dev.online/api/docflow/prepare-generated-doc","http_code":null,"error":"HTTP/2 404 ","response":"[object] (stdClass: {\"ok\":false,\"error\":\"AmoDrive is not installed for this account.\",\"accountId\":32990686})","payload":{"account_id":"32990686","entity_id":"45572731","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"5235c0f"}
[2026-07-02 18:17:44] 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 444 20260702181744\",\"leadId\":\"45572731\",\"entities\":{\"\\u0441\\u0434\\u0435\\u043b\\u043a\\u0430\":{\"\\u041f\\u043e\\u043f\\u044b\\u0442\\u043a\\u0430 \\u0441\\u0432\\u044f\\u0437\\u0438 \\u043e\\u0442 \\u043a\\u043b\\u0438\\u0435\\u043d\\u0442\\u0430\":\"1\",\"\\u041d\\u043e\\u043c\\u0435\\u0440 \\u043a\\u043e\\u043d\\u0442\\u0440\\u0430\\u043a\\u0442\\u0430\":\"T 473\",\"\\u041c\\u043e\\u0434\\u0435\\u043b\\u044c \\u043e\\u0431\\u043e\\u0440\\u0443\\u0434\\u043e\\u0432\\u0430\\u043d\\u0438\\u044f 1\":\"0\",\"\\u041f\\u0440\\u0438\\u0447\\u0438\\u043d\\u0430 \\u043e\\u0442\\u043a\\u0430\\u0437\\u0430\":\"\\u041f\\u043e\\u0432\\u0442\\u043e\\u0440\\u043d\\u044b\\u0439 \\u043a\\u043b\\u0438\\u0435\\u043d\\u0442\",\"\\u0414\\u0430\\u0442\\u0430 \\u0438 \\u0432\\u0440\\u0435\\u043c\\u044f \\u0432\\u0438\\u0437\\u0438\\u0442\\u0430\":\"2026-07-03 13:37:00\",\"\\u0414\\u0430\\u0442\\u0430 \\u0432\\u0438\\u0437\\u0438\\u0442\\u0430\":\"03.07.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\",\"ID\":\"45572731\",\"\\u0421\\u0434\\u0435\\u043b\\u043a\\u0430_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"\\u043f\\u0442\\u043e  \\u0431\\u0435\\u0437 \\u0433\\u0430\\u0440\\u0430\\u043d\\u0442\\u0438\\u0438\",\"Lead_name\":\"\\u043f\\u0442\\u043e  \\u0431\\u0435\\u0437 \\u0433\\u0430\\u0440\\u0430\\u043d\\u0442\\u0438\\u0438\",\"\\u0411\\u044e\\u0434\\u0436\\u0435\\u0442\":\"0\",\"Budget\":\"0\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"\\u0410\\u0441\\u0442\\u0430\\u043f\\u0435\\u043d\\u043a\\u043e\\u0432\\u0430 \\u042e\\u043b\\u0438\\u0430\\u043d\\u043d\\u0430\",\"Responsible\":\"\\u0410\\u0441\\u0442\\u0430\\u043f\\u0435\\u043d\\u043a\\u043e\\u0432\\u0430 \\u042e\\u043b\\u0438\\u0430\\u043d\\u043d\\u0430\"},\"lead\":{\"\\u041f\\u043e\\u043f\\u044b\\u0442\\u043a\\u0430 \\u0441\\u0432\\u044f\\u0437\\u0438 \\u043e\\u0442 \\u043a\\u043b\\u0438\\u0435\\u043d\\u0442\\u0430\":\"1\",\"\\u041d\\u043e\\u043c\\u0435\\u0440 \\u043a\\u043e\\u043d\\u0442\\u0440\\u0430\\u043a\\u0442\\u0430\":\"T 473\",\"\\u041c\\u043e\\u0434\\u0435\\u043b\\u044c \\u043e\\u0431\\u043e\\u0440\\u0443\\u0434\\u043e\\u0432\\u0430\\u043d\\u0438\\u044f 1\":\"0\",\"\\u041f\\u0440\\u0438\\u0447\\u0438\\u043d\\u0430 \\u043e\\u0442\\u043a\\u0430\\u0437\\u0430\":\"\\u041f\\u043e\\u0432\\u0442\\u043e\\u0440\\u043d\\u044b\\u0439 \\u043a\\u043b\\u0438\\u0435\\u043d\\u0442\",\"\\u0414\\u0430\\u0442\\u0430 \\u0438 \\u0432\\u0440\\u0435\\u043c\\u044f \\u0432\\u0438\\u0437\\u0438\\u0442\\u0430\":\"2026-07-03 13:37:00\",\"\\u0414\\u0430\\u0442\\u0430 \\u0432\\u0438\\u0437\\u0438\\u0442\\u0430\":\"03.07.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\",\"ID\":\"45572731\",\"\\u0421\\u0434\\u0435\\u043b\\u043a\\u0430_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"\\u043f\\u0442\\u043e  \\u0431\\u0435\\u0437 \\u0433\\u0430\\u0440\\u0430\\u043d\\u0442\\u0438\\u0438\",\"Lead_name\":\"\\u043f\\u0442\\u043e  \\u0431\\u0435\\u0437 \\u0433\\u0430\\u0440\\u0430\\u043d\\u0442\\u0438\\u0438\",\"\\u0411\\u044e\\u0434\\u0436\\u0435\\u0442\":\"0\",\"Budget\":\"0\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"\\u0410\\u0441\\u0442\\u0430\\u043f\\u0435\\u043d\\u043a\\u043e\\u0432\\u0430 \\u042e\\u043b\\u0438\\u0430\\u043d\\u043d\\u0430\",\"Responsible\":\"\\u0410\\u0441\\u0442\\u0430\\u043f\\u0435\\u043d\\u043a\\u043e\\u0432\\u0430 \\u042e\\u043b\\u0438\\u0430\\u043d\\u043d\\u0430\"},\"\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442\":{\"\\u0418\\u0414\\u041d\\u041e\":\"951309890417\",\"\\u0410\\u0434\\u0440\\u0435\\u0441\":\"Str-la Victor CrAsescu 81\",\"\\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)\":\"T 473\",\"\\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)\":\"Ivan\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"37368424575\",\"\\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\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Ivan Sorocinski\",\"Contact_name\":\"Ivan Sorocinski\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"\\u0410\\u0441\\u0442\\u0430\\u043f\\u0435\\u043d\\u043a\\u043e\\u0432\\u0430 \\u042e\\u043b\\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\":\"951309890417\",\"\\u0410\\u0434\\u0440\\u0435\\u0441\":\"Str-la Victor CrAsescu 81\",\"\\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)\":\"T 473\",\"\\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)\":\"Ivan\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"37368424575\",\"\\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\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Ivan Sorocinski\",\"Contact_name\":\"Ivan Sorocinski\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"\\u0410\\u0441\\u0442\\u0430\\u043f\\u0435\\u043d\\u043a\\u043e\\u0432\\u0430 \\u042e\\u043b\\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\":\"951309890417\",\"\\u0410\\u0434\\u0440\\u0435\\u0441\":\"Str-la Victor CrAsescu 81\",\"\\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)\":\"T 473\",\"\\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)\":\"Ivan\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"37368424575\",\"\\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\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Ivan Sorocinski\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\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\":\"02.07.2026\",\"\\u041d\\u043e\\u043c\\u0435\\u0440\":\"444\"},\"document\":{\"Date\":\"02.07.2026\",\"Number\":\"444\"}}}","edit":true}} {"uid":"5235c0f"}
[2026-07-02 18:17:50] docflow.DEBUG: GAS raw response {"raw":"[object] (stdClass: {\"code\":1,\"url\":\"https://docs.google.com/open?id=1a2sBNSatXw0Las9JdHoBJZzt6KgyM1n2h2rD0yDfh44\",\"file_id\":\"1a2sBNSatXw0Las9JdHoBJZzt6KgyM1n2h2rD0yDfh44\",\"error\":\"\",\"vars\":\"\"})"} {"uid":"5235c0f"}
[2026-07-02 18:17:50] docflow.WARNING: AmoDrive generated-file move is not ready. {"fileId":"1a2sBNSatXw0Las9JdHoBJZzt6KgyM1n2h2rD0yDfh44","context":null} {"uid":"5235c0f"}
[2026-07-02 18:20:03] docflow.INFO: Apel createDoc {"data":{"amoAccountId":"32990686","amoUserId":null,"amoEntityId":"40280233","amoEntityType":"2","templateId":"11625","corporateEntityId":"","settlementAccountId":"","is_signed":null,"gdi":null,"number":null,"currentAmoUserId":null,"lang":"ru"}} {"uid":"30b2f4e"}
[2026-07-02 18:20:04] docflow.INFO: Token is valid for account 32990686. [] {"uid":"30b2f4e"}
[2026-07-02 18:20:04] docflow.DEBUG: getClientAuth returned {"auth":"[object] (stdClass: {\"domain\":\"eurosanteh.amocrm.ru\",\"access_token\":\"eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImp0aSI6ImRjZGY4YWJiMzM0MzdiZjRjNzBjMDRlOTFlNDU1YjhmYjkwNmYzOTYwMzk4NGNjMWQ0MDI1ODUzYjA2ZjNiMDkzZGNjMDFlNDQyNTg0Njk5In0.eyJhdWQiOiIwZDY0ZGZmYi1lNTRiLTQ0OGYtOWZiZi1iYWYyMjUxYTExZGIiLCJqdGkiOiJkY2RmOGFiYjMzNDM3YmY0YzcwYzA0ZTkxZTQ1NWI4ZmI5MDZmMzk2MDM5ODRjYzFkNDAyNTg1M2IwNmYzYjA5M2RjYzAxZTQ0MjU4NDY5OSIsImlhdCI6MTc4Mjk2ODU2MywibmJmIjoxNzgyOTY4NTYzLCJleHAiOjE3ODMwNTQ5NjMsInN1YiI6IjEzNjg3MzAyIiwiZ3JhbnRfdHlwZSI6IiIsImFjY291bnRfaWQiOjMyOTkwNjg2LCJiYXNlX2RvbWFpbiI6ImFtb2NybS5ydSIsInZlcnNpb24iOjIsInNjb3BlcyI6WyJwdXNoX25vdGlmaWNhdGlvbnMiLCJjcm0iLCJub3RpZmljYXRpb25zIl0sImhhc2hfdXVpZCI6IjdiNTI2ZDM3LWU5YTUtNGY1MC04NjU5LWFlZjI0ZWMwN2I2MSIsImFwaV9kb21haW4iOiJhcGktYi5hbW9jcm0ucnUifQ.TUP7Bi9R1Z5_ifh6PBDea_wrLQhhuCDBfhbmV-UeB8v1A_eof6DM3ni90PqyHwjy-_bogoujgXVHGFtlHknt3UAHPf6orhat2LJuNkb1ZzlvwNfKzfOLlCslLtvwCmvId5Cp6PjIEgZpsSZPb6j1XFwBF8mUsYJAs6DQafAhxJbwwdtepg3Rn7z1bok0wAy62df4psIRq7Bi9WiSVCb7CyeiZj8UiZxEFNIbusJI6k3zpKBXtykwNv4c2JwIgpQjuwAfKUvcfKgTUV6ZCXuj_wbQnkvtSXt1yjhO82intYpA8QkC7YC1Z2KUwCu90CACwX4piq8dxBla--hEqiVNGg\"})","file":"/home/ytvmclwh/document.amocrm.md/src/Models/Docs.php","line":121} {"uid":"30b2f4e"}
[2026-07-02 18:20:08] docflow.DEBUG: AmoDrive docflow context request {"url":"https://google.emale.uno/api/docflow/google-context","query":{"account_id":"32990686","entity_id":"40280233","entity_type":"leads"}} {"uid":"30b2f4e"}
[2026-07-02 18:20:08] docflow.WARNING: AmoDrive docflow context request failed {"url":"https://google.emale.uno/api/docflow/google-context","http_code":null,"error":"HTTP/2 400 ","response":"<!DOCTYPE HTML PUBLIC \"-//IETF//DTD HTML 2.0//EN\">\r\n<html>\r\n<head><title>400 Bad Request</title></head>\r\n<body>\r\n<center><h1>400 Bad Request</h1></center>\r\n Sorry for the inconvenience.<br/>\r\nPlease report this message and include the following information to us.<br/>\r\nThank you very much!</p>\r\n<table>\r\n<tr>\r\n<td>URL:</td>\r\n<td>https://gd.glucose-dev.online/api/docflow/google-context?account_id=32990686&amp;entity_id=40280233&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/07/02 18:20:08</td>\r\n</tr>\r\n</table>\r\n<hr><center>tengine</center>\r\n</body>\r\n</html>\r\n"} {"uid":"30b2f4e"}
[2026-07-02 18:20:08] docflow.DEBUG: AmoDrive docflow context request {"url":"https://gd.glucose-dev.online/api/docflow/google-context","query":{"account_id":"32990686","entity_id":"40280233","entity_type":"leads"}} {"uid":"30b2f4e"}
[2026-07-02 18:20:08] docflow.WARNING: AmoDrive docflow context response is not ready, trying next backend. {"url":"https://gd.glucose-dev.online/api/docflow/google-context","payload":{"ok":true,"accountId":32990686,"entityId":"40280233","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":"30b2f4e"}
[2026-07-02 18:20:08] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://google.emale.uno/api/docflow/prepare-generated-doc","payload":{"account_id":"32990686","entity_id":"40280233","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"30b2f4e"}
[2026-07-02 18:20: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/07/02 18:20:09</td>\r\n</tr>\r\n</table>\r\n<hr><center>tengine</center>\r\n</body>\r\n</html>\r\n","payload":{"account_id":"32990686","entity_id":"40280233","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"30b2f4e"}
[2026-07-02 18:20:08] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://gd.glucose-dev.online/api/docflow/prepare-generated-doc","payload":{"account_id":"32990686","entity_id":"40280233","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"30b2f4e"}
[2026-07-02 18:20:08] docflow.WARNING: AmoDrive prepare-generated-doc request failed {"url":"https://gd.glucose-dev.online/api/docflow/prepare-generated-doc","http_code":null,"error":"HTTP/2 404 ","response":"[object] (stdClass: {\"ok\":false,\"error\":\"AmoDrive is not installed for this account.\",\"accountId\":32990686})","payload":{"account_id":"32990686","entity_id":"40280233","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"30b2f4e"}
[2026-07-02 18:20:08] 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 445 20260702182008\",\"leadId\":\"40280233\",\"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\":\"26.08.2026\",\"\\u041d\\u043e\\u043c\\u0435\\u0440 \\u043a\\u043e\\u043d\\u0442\\u0440\\u0430\\u043a\\u0442\\u0430\":\"B5957\",\"\\u0414\\u0430\\u0442\\u0430 \\u043c\\u043e\\u043d\\u0442\\u0430\\u0436\\u0430 (\\u0411\\u0414)\":\"26.08.2025\",\"\\u041d\\u0430\\u0437\\u0432\\u0430\\u043d\\u0438\\u0435 \\u0442\\u043e\\u0432\\u0430\\u0440\\u0430 (\\u0411\\u0414)\":\"MZS LN35\",\"\\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\\u0430\\u0442\\u0430 \\u0438 \\u0432\\u0440\\u0435\\u043c\\u044f \\u0432\\u0438\\u0437\\u0438\\u0442\\u0430\":\"2026-07-03 18:19:00\",\"\\u0414\\u0430\\u0442\\u0430 \\u0432\\u0438\\u0437\\u0438\\u0442\\u0430\":\"03.07.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\",\"ID\":\"40280233\",\"\\u0421\\u0434\\u0435\\u043b\\u043a\\u0430_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"\\u0423\\u0441\\u0442\\u0432\\u043d\\u043e\\u0432\\u043a\\u0430 \\u043a\\u043e\\u043d\\u0434\\u0438\\u0446\\u0438\\u043e\\u043d\\u0435\\u0440\\u0430\",\"Lead_name\":\"\\u0423\\u0441\\u0442\\u0432\\u043d\\u043e\\u0432\\u043a\\u0430 \\u043a\\u043e\\u043d\\u0434\\u0438\\u0446\\u0438\\u043e\\u043d\\u0435\\u0440\\u0430\",\"\\u0411\\u044e\\u0434\\u0436\\u0435\\u0442\":\"0\",\"Budget\":\"0\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"\\u0410\\u0441\\u0442\\u0430\\u043f\\u0435\\u043d\\u043a\\u043e\\u0432\\u0430 \\u042e\\u043b\\u0438\\u0430\\u043d\\u043d\\u0430\",\"Responsible\":\"\\u0410\\u0441\\u0442\\u0430\\u043f\\u0435\\u043d\\u043a\\u043e\\u0432\\u0430 \\u042e\\u043b\\u0438\\u0430\\u043d\\u043d\\u0430\"},\"lead\":{\"\\u0421\\u043b\\u0435\\u0434\\u0443\\u044e\\u0449\\u0430\\u044f \\u0434\\u0430\\u0442\\u0430 \\u0441\\u0435\\u0440\\u0432\\u0438\\u0441\\u0430\":\"26.08.2026\",\"\\u041d\\u043e\\u043c\\u0435\\u0440 \\u043a\\u043e\\u043d\\u0442\\u0440\\u0430\\u043a\\u0442\\u0430\":\"B5957\",\"\\u0414\\u0430\\u0442\\u0430 \\u043c\\u043e\\u043d\\u0442\\u0430\\u0436\\u0430 (\\u0411\\u0414)\":\"26.08.2025\",\"\\u041d\\u0430\\u0437\\u0432\\u0430\\u043d\\u0438\\u0435 \\u0442\\u043e\\u0432\\u0430\\u0440\\u0430 (\\u0411\\u0414)\":\"MZS LN35\",\"\\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\\u0430\\u0442\\u0430 \\u0438 \\u0432\\u0440\\u0435\\u043c\\u044f \\u0432\\u0438\\u0437\\u0438\\u0442\\u0430\":\"2026-07-03 18:19:00\",\"\\u0414\\u0430\\u0442\\u0430 \\u0432\\u0438\\u0437\\u0438\\u0442\\u0430\":\"03.07.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\",\"ID\":\"40280233\",\"\\u0421\\u0434\\u0435\\u043b\\u043a\\u0430_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"\\u0423\\u0441\\u0442\\u0432\\u043d\\u043e\\u0432\\u043a\\u0430 \\u043a\\u043e\\u043d\\u0434\\u0438\\u0446\\u0438\\u043e\\u043d\\u0435\\u0440\\u0430\",\"Lead_name\":\"\\u0423\\u0441\\u0442\\u0432\\u043d\\u043e\\u0432\\u043a\\u0430 \\u043a\\u043e\\u043d\\u0434\\u0438\\u0446\\u0438\\u043e\\u043d\\u0435\\u0440\\u0430\",\"\\u0411\\u044e\\u0434\\u0436\\u0435\\u0442\":\"0\",\"Budget\":\"0\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"\\u0410\\u0441\\u0442\\u0430\\u043f\\u0435\\u043d\\u043a\\u043e\\u0432\\u0430 \\u042e\\u043b\\u0438\\u0430\\u043d\\u043d\\u0430\",\"Responsible\":\"\\u0410\\u0441\\u0442\\u0430\\u043f\\u0435\\u043d\\u043a\\u043e\\u0432\\u0430 \\u042e\\u043b\\u0438\\u0430\\u043d\\u043d\\u0430\"},\"\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442\":{\"\\u0418\\u0414\\u041d\\u041e\":\"971302057695\",\"\\u0410\\u0434\\u0440\\u0435\\u0441\":\"Docuceaiva 3 apt 84 etajul 3\",\"\\u041f\\u043e\\u0432\\u0442\\u043e\\u0440\\u043d\\u044b\\u0439 \\u043a\\u043b\\u0438\\u0435\\u043d\\u0442?\":\"\\u0414\\u0430\",\"\\u041d\\u043e\\u043c\\u0435\\u0440 \\u043a\\u043e\\u043d\\u0442\\u0440\\u0430\\u043a\\u0442\\u0430 (\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442)\":\"B3632\",\"\\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)\":\"MSZ-EF25\",\"\\u0418\\u043c\\u044f \\u043a\\u043b\\u0438\\u0435\\u043d\\u0442\\u0430 (\\u0421\\u041c\\u0421)\":\"Vladimir\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"37367398284\",\"\\u041a\\u043e\\u043b - \\u0432\\u043e \\u043e\\u0431\\u043e\\u0440\\u0443\\u0434\\u043e\\u0432\\u0430\\u043d\\u0438\\u044f (\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442)\":\"2\",\"\\u041a\\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\",\"\\u0410\\u0434\\u0440\\u0435\\u0441 2\":\"sos.Hincesti 60\\/3 ap41\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Vladimir Popa\",\"Contact_name\":\"Vladimir Popa\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"\\u0410\\u0441\\u0442\\u0430\\u043f\\u0435\\u043d\\u043a\\u043e\\u0432\\u0430 \\u042e\\u043b\\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\":\"971302057695\",\"\\u0410\\u0434\\u0440\\u0435\\u0441\":\"Docuceaiva 3 apt 84 etajul 3\",\"\\u041f\\u043e\\u0432\\u0442\\u043e\\u0440\\u043d\\u044b\\u0439 \\u043a\\u043b\\u0438\\u0435\\u043d\\u0442?\":\"\\u0414\\u0430\",\"\\u041d\\u043e\\u043c\\u0435\\u0440 \\u043a\\u043e\\u043d\\u0442\\u0440\\u0430\\u043a\\u0442\\u0430 (\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442)\":\"B3632\",\"\\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)\":\"MSZ-EF25\",\"\\u0418\\u043c\\u044f \\u043a\\u043b\\u0438\\u0435\\u043d\\u0442\\u0430 (\\u0421\\u041c\\u0421)\":\"Vladimir\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"37367398284\",\"\\u041a\\u043e\\u043b - \\u0432\\u043e \\u043e\\u0431\\u043e\\u0440\\u0443\\u0434\\u043e\\u0432\\u0430\\u043d\\u0438\\u044f (\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442)\":\"2\",\"\\u041a\\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\",\"\\u0410\\u0434\\u0440\\u0435\\u0441 2\":\"sos.Hincesti 60\\/3 ap41\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Vladimir Popa\",\"Contact_name\":\"Vladimir Popa\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"\\u0410\\u0441\\u0442\\u0430\\u043f\\u0435\\u043d\\u043a\\u043e\\u0432\\u0430 \\u042e\\u043b\\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\":\"971302057695\",\"\\u0410\\u0434\\u0440\\u0435\\u0441\":\"Docuceaiva 3 apt 84 etajul 3\",\"\\u041f\\u043e\\u0432\\u0442\\u043e\\u0440\\u043d\\u044b\\u0439 \\u043a\\u043b\\u0438\\u0435\\u043d\\u0442?\":\"\\u0414\\u0430\",\"\\u041d\\u043e\\u043c\\u0435\\u0440 \\u043a\\u043e\\u043d\\u0442\\u0440\\u0430\\u043a\\u0442\\u0430 (\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442)\":\"B3632\",\"\\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)\":\"MSZ-EF25\",\"\\u0418\\u043c\\u044f \\u043a\\u043b\\u0438\\u0435\\u043d\\u0442\\u0430 (\\u0421\\u041c\\u0421)\":\"Vladimir\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"37367398284\",\"\\u041a\\u043e\\u043b - \\u0432\\u043e \\u043e\\u0431\\u043e\\u0440\\u0443\\u0434\\u043e\\u0432\\u0430\\u043d\\u0438\\u044f (\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442)\":\"2\",\"\\u041a\\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\",\"\\u0410\\u0434\\u0440\\u0435\\u0441 2\":\"sos.Hincesti 60\\/3 ap41\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Vladimir Popa\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\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\":\"02.07.2026\",\"\\u041d\\u043e\\u043c\\u0435\\u0440\":\"445\"},\"document\":{\"Date\":\"02.07.2026\",\"Number\":\"445\"}}}","edit":true}} {"uid":"30b2f4e"}
[2026-07-02 18:20:16] docflow.DEBUG: GAS raw response {"raw":"[object] (stdClass: {\"code\":1,\"url\":\"https://docs.google.com/open?id=1Z00s9SKBdfcC9B667hMFZSvTfpJpgS2SjN5Ke7d0Jgs\",\"file_id\":\"1Z00s9SKBdfcC9B667hMFZSvTfpJpgS2SjN5Ke7d0Jgs\",\"error\":\"\",\"vars\":\"\"})"} {"uid":"30b2f4e"}
[2026-07-02 18:20:16] docflow.WARNING: AmoDrive generated-file move is not ready. {"fileId":"1Z00s9SKBdfcC9B667hMFZSvTfpJpgS2SjN5Ke7d0Jgs","context":null} {"uid":"30b2f4e"}
