Giter VIP home page Giter VIP logo

Comments (5)

Vladik288 avatar Vladik288 commented on August 15, 2024

ERROR | bot_logger | 2023-11-08 18:21:05,375 | loader.py | wrapped | 51 | В работе бота возникло исключение
Traceback (most recent call last):
File "/home/app/bot/loader.py", line 47, in wrapped
return await func(message)
File "/home/app/bot/handlers/start.py", line 61, in accept_handler
lead.save()
File "/usr/local/lib/python3.10/site-packages/amocrm/v2/model.py", line 49, in save
self.update()
File "/usr/local/lib/python3.10/site-packages/amocrm/v2/model.py", line 63, in update
self._manager.update(self.id, self._get_updated_data())
File "/usr/local/lib/python3.10/site-packages/amocrm/v2/manager.py", line 19, in update
return self._interaction.update(object_id=object_id, data=data or kwargs)
File "/usr/local/lib/python3.10/site-packages/amocrm/v2/interaction.py", line 132, in update
raise exceptions.ValidationError(response)
amocrm.v2.exceptions.ValidationError: {'validation-errors': [{'request_id': '0', 'errors': [{'code': 'NotSupportedChoice', 'path': 'responsible_user_id', 'detail': 'The value you selected is not a valid choice.'}]}], 'title': 'Bad Request', 'type': 'https://httpstatus.es/400', 'status': 400, 'detail': 'Request validation failed'}
И вот эта еще откуда-то...

from amocrm_api.

Krukov avatar Krukov commented on August 15, 2024

приложение в докере работает ?

второе без кода тяжело понять что не так - ну судя по ошибке вы что то не то в responsible_user_id указываете

from amocrm_api.

Vladik288 avatar Vladik288 commented on August 15, 2024

Да в докере, там просто сохраяю сделку по-другому статусу, 3 дня работало и перестало.
Удобно будет в tg bbizon?

from amocrm_api.

Vladik288 avatar Vladik288 commented on August 15, 2024

image

from amocrm_api.

Vladik288 avatar Vladik288 commented on August 15, 2024

Пока что 1 вопрос волнует, со 2 разобрался вроде. Почему он обрвывает кконект?

from amocrm_api.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.