Bobrovozka

Untitled

Sep 24th, 2021
793
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. 2021-09-24 19:59:05.740  INFO 97733 --- [nio-8081-exec-1] t.i.a.o.a.s.impl.AmoCrmServiceImpl       : {
  2.     "id": 28433860,
  3.     "name": "ТЕСТ НЕ ЗВОНИТЬ",
  4.     "price": 123,
  5.     "responsible_user_id": 2873617,
  6.     "group_id": 0,
  7.     "status_id": 42508695,
  8.     "pipeline_id": 4627251,
  9.     "loss_reason_id": null,
  10.     "created_by": 2873617,
  11.     "updated_by": 2873617,
  12.     "created_at": 1632488108,
  13.     "updated_at": 1632488108,
  14.     "closed_at": null,
  15.     "closest_task_at": null,
  16.     "is_deleted": false,
  17.     "custom_fields_values": null,
  18.     "score": null,
  19.     "account_id": 22324900,
  20.     "_links": {
  21.         "self": {
  22.             "href": "https://marlennsk.amocrm.ru/api/v4/leads/28433860"
  23.         }
  24.     },
  25.     "_embedded": {
  26.         "tags": [],
  27.         "companies": [],
  28.         "contacts": [
  29.             {
  30.                 "id": 42015703,
  31.                 "is_main": true,
  32.                 "_links": {
  33.                     "self": {
  34.                         "href": "https://marlennsk.amocrm.ru/api/v4/contacts/42015703"
  35.                     }
  36.                 }
  37.             }
  38.         ]
  39.     }
  40. }
  41. 2021-09-24 19:59:05.749  INFO 97733 --- [nio-8081-exec-1] t.i.a.o.a.s.impl.AmoCrmServiceImpl       : Modified lead(in request):
  42. 2021-09-24 19:59:05.749  INFO 97733 --- [nio-8081-exec-1] t.i.a.o.a.s.impl.AmoCrmServiceImpl       : {
  43.   "id": 28433860,
  44.   "name": "ТЕСТ НЕ ЗВОНИТЬ",
  45.   "price": 123,
  46.   "responsible_user_id": 2873617,
  47.   "group_id": 0,
  48.   "status_id": 42508695,
  49.   "pipeline_id": 4627251,
  50.   "created_by": 2873617,
  51.   "updated_by": 2873617,
  52.   "created_at": 1632488108,
  53.   "updated_at": 1632488108,
  54.   "is_deleted": false,
  55.   "account_id": 22324900,
  56.   "_links": {
  57.     "self": {
  58.       "href": "https://marlennsk.amocrm.ru/api/v4/leads/28433860"
  59.     }
  60.   },
  61.   "_embedded": {
  62.     "tags": [
  63.       {
  64.         "id": 0,
  65.         "name": "I-voice good"
  66.       }
  67.     ],
  68.     "companies": [],
  69.     "contacts": [
  70.       {
  71.         "id": 42015703,
  72.         "is_main": true,
  73.         "_links": {
  74.           "self": {
  75.             "href": "https://marlennsk.amocrm.ru/api/v4/contacts/42015703"
  76.           }
  77.         }
  78.       }
  79.     ]
  80.   }
  81. }
  82. 2021-09-24 19:59:06.091  INFO 97733 --- [nio-8081-exec-1] t.i.a.o.a.s.impl.AmoCrmServiceImpl       : {"validation-errors":[{"request_id":"0","errors":[{"code":"FieldNotExpected","path":"_embedded.contacts.0._links","detail":"This field was not expected."}]}],"title":"Bad Request","type":"https://httpstatus.es/400","status":400,"detail":"Request validation failed"}
  83. 2021-09-24 19:59:06.092  INFO 97733 --- [nio-8081-exec-1] t.i.a.o.a.s.impl.AmoCrmServiceImpl       : Lead after update:
  84. 2021-09-24 19:59:06.492  INFO 97733 --- [nio-8081-exec-1] t.i.a.o.a.s.impl.AmoCrmServiceImpl       : {
  85.     "id": 28433860,
  86.     "name": "ТЕСТ НЕ ЗВОНИТЬ",
  87.     "price": 123,
  88.     "responsible_user_id": 2873617,
  89.     "group_id": 0,
  90.     "status_id": 42508695,
  91.     "pipeline_id": 4627251,
  92.     "loss_reason_id": null,
  93.     "created_by": 2873617,
  94.     "updated_by": 2873617,
  95.     "created_at": 1632488108,
  96.     "updated_at": 1632488108,
  97.     "closed_at": null,
  98.     "closest_task_at": null,
  99.     "is_deleted": false,
  100.     "custom_fields_values": null,
  101.     "score": null,
  102.     "account_id": 22324900,
  103.     "_links": {
  104.         "self": {
  105.             "href": "https://marlennsk.amocrm.ru/api/v4/leads/28433860"
  106.         }
  107.     },
  108.     "_embedded": {
  109.         "tags": [],
  110.         "companies": [],
  111.         "contacts": [
  112.             {
  113.                 "id": 42015703,
  114.                 "is_main": true,
  115.                 "_links": {
  116.                     "self": {
  117.                         "href": "https://marlennsk.amocrm.ru/api/v4/contacts/42015703"
  118.                     }
  119.                 }
  120.             }
  121.         ]
  122.     }
  123. }
  124. 2021-09-24 19:59:06.494 ERROR 97733 --- [nio-8081-exec-1] t.i.a.o.a.s.impl.AmoCrmServiceImpl       : bridge status update failed for lead 28433860 with code 400
  125.  
RAW Paste Data