You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Python is usually inferior in properly describing what happened, but your client is a gem.
What the fuck should I understand from your exception?
Traceback (most recent call last):
File "/Users/slava/work/helpmetest2/robot/listener.py", line 381, in <module>
bill('MyAwesomeCompany:123233:1q123123')
File "/Users/slava/work/helpmetest2/robot/helpers.py", line 44, in bill
client.events.create(Event(
File "/Users/slava/work/helpmetest2/.venv/lib/python3.12/site-packages/lago_python_client/mixins.py", line 58, in create
response_data = get_response_data(response=api_response, key=self.ROOT_NAME)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/slava/work/helpmetest2/.venv/lib/python3.12/site-packages/lago_python_client/services/response.py", line 69, in get_response_data
response_or_None: Optional[Response] = verify_response(response)
^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/slava/work/helpmetest2/.venv/lib/python3.12/site-packages/lago_python_client/services/response.py", line 53, in verify_response
raise LagoApiError(
lago_python_client.exceptions.LagoApiError
And plain request gives me an answer:
{'status': 422, 'error': 'Unprocessable Entity', 'code': 'validation_errors', 'error_details': {'transaction_id': ['value_already_exist']}}
The text was updated successfully, but these errors were encountered:
Python is usually inferior in properly describing what happened, but your client is a gem.
What the fuck should I understand from your exception?
And plain request gives me an answer:
{'status': 422, 'error': 'Unprocessable Entity', 'code': 'validation_errors', 'error_details': {'transaction_id': ['value_already_exist']}}
The text was updated successfully, but these errors were encountered: