App 3217814 output: [ pid=3217814, time=2026-06-02 11:11:08,636 ]: Exception on / [POST]
App 3217814 output: Traceback (most recent call last):
App 3217814 output:   File "/home/shoptech/virtualenv/ai.shoptech.media/3.9/lib/python3.9/site-packages/flask/app.py", line 2528, in wsgi_app
App 3217814 output:     response = self.full_dispatch_request()
App 3217814 output:   File "/home/shoptech/virtualenv/ai.shoptech.media/3.9/lib/python3.9/site-packages/flask/app.py", line 1825, in full_dispatch_request
App 3217814 output:     rv = self.handle_user_exception(e)
App 3217814 output:   File "/home/shoptech/virtualenv/ai.shoptech.media/3.9/lib/python3.9/site-packages/flask_cors/extension.py", line 165, in wrapped_function
App 3217814 output:     return cors_after_request(app.make_response(f(*args, **kwargs)))
App 3217814 output:   File "/home/shoptech/virtualenv/ai.shoptech.media/3.9/lib/python3.9/site-packages/flask/app.py", line 1823, in full_dispatch_request
App 3217814 output:     rv = self.dispatch_request()
App 3217814 output:   File "/home/shoptech/virtualenv/ai.shoptech.media/3.9/lib/python3.9/site-packages/flask/app.py", line 1799, in dispatch_request
App 3217814 output:     return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args)
App 3217814 output:   File "/home/shoptech/virtualenv/ai.shoptech.media/3.9/lib/python3.9/site-packages/flask_httpauth.py", line 172, in decorated
App 3217814 output:     return self.ensure_sync(f)(*args, **kwargs)
App 3217814 output:   File "main.py", line 67, in handle_post_request
App 3217814 output:     response = openai.ChatCompletion.create(
App 3217814 output:   File "/home/shoptech/virtualenv/ai.shoptech.media/3.9/lib/python3.9/site-packages/openai/api_resources/chat_completion.py", line 25, in create
App 3217814 output:     return super().create(*args, **kwargs)
App 3217814 output:   File "/home/shoptech/virtualenv/ai.shoptech.media/3.9/lib/python3.9/site-packages/openai/api_resources/abstract/engine_api_resource.py", line 153, in create
App 3217814 output:     response, _, api_key = requestor.request(
App 3217814 output:   File "/home/shoptech/virtualenv/ai.shoptech.media/3.9/lib/python3.9/site-packages/openai/api_requestor.py", line 226, in request
App 3217814 output:     resp, got_stream = self._interpret_response(result, stream)
App 3217814 output:   File "/home/shoptech/virtualenv/ai.shoptech.media/3.9/lib/python3.9/site-packages/openai/api_requestor.py", line 619, in _interpret_response
App 3217814 output:     self._interpret_response_line(
App 3217814 output:   File "/home/shoptech/virtualenv/ai.shoptech.media/3.9/lib/python3.9/site-packages/openai/api_requestor.py", line 679, in _interpret_response_line
App 3217814 output:     raise self.handle_error_response(
App 3217814 output: openai.error.RateLimitError: You exceeded your current quota, please check your plan and billing details. For more information on this error, read the docs: https://platform.openai.com/docs/guides/error-codes/api-errors.
App 3217814 output: [ pid=3217814, time=2026-06-02 11:21:02,818 ]: Exception on / [POST]
App 3217814 output: Traceback (most recent call last):
App 3217814 output:   File "/home/shoptech/virtualenv/ai.shoptech.media/3.9/lib/python3.9/site-packages/flask/app.py", line 2528, in wsgi_app
App 3217814 output:     response = self.full_dispatch_request()
App 3217814 output:   File "/home/shoptech/virtualenv/ai.shoptech.media/3.9/lib/python3.9/site-packages/flask/app.py", line 1825, in full_dispatch_request
App 3217814 output:     rv = self.handle_user_exception(e)
App 3217814 output:   File "/home/shoptech/virtualenv/ai.shoptech.media/3.9/lib/python3.9/site-packages/flask_cors/extension.py", line 165, in wrapped_function
App 3217814 output:     return cors_after_request(app.make_response(f(*args, **kwargs)))
App 3217814 output:   File "/home/shoptech/virtualenv/ai.shoptech.media/3.9/lib/python3.9/site-packages/flask/app.py", line 1823, in full_dispatch_request
App 3217814 output:     rv = self.dispatch_request()
App 3217814 output:   File "/home/shoptech/virtualenv/ai.shoptech.media/3.9/lib/python3.9/site-packages/flask/app.py", line 1799, in dispatch_request
App 3217814 output:     return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args)
App 3217814 output:   File "/home/shoptech/virtualenv/ai.shoptech.media/3.9/lib/python3.9/site-packages/flask_httpauth.py", line 172, in decorated
App 3217814 output:     return self.ensure_sync(f)(*args, **kwargs)
App 3217814 output:   File "main.py", line 67, in handle_post_request
App 3217814 output:     response = openai.ChatCompletion.create(
App 3217814 output:   File "/home/shoptech/virtualenv/ai.shoptech.media/3.9/lib/python3.9/site-packages/openai/api_resources/chat_completion.py", line 25, in create
App 3217814 output:     return super().create(*args, **kwargs)
App 3217814 output:   File "/home/shoptech/virtualenv/ai.shoptech.media/3.9/lib/python3.9/site-packages/openai/api_resources/abstract/engine_api_resource.py", line 153, in create
App 3217814 output:     response, _, api_key = requestor.request(
App 3217814 output:   File "/home/shoptech/virtualenv/ai.shoptech.media/3.9/lib/python3.9/site-packages/openai/api_requestor.py", line 226, in request
App 3217814 output:     resp, got_stream = self._interpret_response(result, stream)
App 3217814 output:   File "/home/shoptech/virtualenv/ai.shoptech.media/3.9/lib/python3.9/site-packages/openai/api_requestor.py", line 619, in _interpret_response
App 3217814 output:     self._interpret_response_line(
App 3217814 output:   File "/home/shoptech/virtualenv/ai.shoptech.media/3.9/lib/python3.9/site-packages/openai/api_requestor.py", line 679, in _interpret_response_line
App 3217814 output:     raise self.handle_error_response(
App 3217814 output: openai.error.RateLimitError: You exceeded your current quota, please check your plan and billing details. For more information on this error, read the docs: https://platform.openai.com/docs/guides/error-codes/api-errors.
