2025-04-08 16:21:51.983 | ERROR | 18ac3890a6ca4f82b4f3e2819816eec1 | Exception in ASGI application Traceback (most recent call last): File "C:\University-HCMUTE\InternFuta\ApiDialogflowChatbot\run.py", line 9, in server.run() │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\server.py", line 66, in run return asyncio.run(self.serve(sockets=sockets)) │ │ │ │ └ None │ │ │ └ │ │ └ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\runners.py", line 44, in run return loop.run_until_complete(main) │ │ └ │ └ └ <_WindowsSelectorEventLoop running=True closed=False debug=False> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 633, in run_until_complete self.run_forever() │ └ └ <_WindowsSelectorEventLoop running=True closed=False debug=False> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 600, in run_forever self._run_once() │ └ └ <_WindowsSelectorEventLoop running=True closed=False debug=False> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 1896, in _run_once handle._run() │ └ ()> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\events.py", line 80, in _run self._context.run(self._callback, *self._args) │ │ │ │ │ └ │ │ │ │ └ ()> │ │ │ └ │ │ └ ()> │ └ ()> > File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\protocols\http\h11_impl.py", line 403, in run_asgi result = await app( # type: ignore[func-returns-value] └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\middleware\proxy_headers.py", line 60, in __call__ return await self.app(scope, receive, send) │ │ │ │ └ > │ │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\fastapi\applications.py", line 1054, in __call__ await super().__call__(scope, receive, send) │ │ └ > │ └ > │ │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\errors.py", line 187, in __call__ raise exc File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\errors.py", line 165, in __call__ await self.app(scope, receive, _send) │ │ │ │ └ ._send at 0x00000245601671C0> │ │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\cors.py", line 85, in __call__ await self.app(scope, receive, send) │ │ │ │ └ ._send at 0x00000245601671C0> │ │ │ └ , header_name='... └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\asgi_correlation_id\middleware.py", line 90, in __call__ await self.app(scope, receive, handle_outgoing_request) │ │ │ │ └ .handle_outgoing_request at 0x0000024560167130> │ │ │ └ └ CorrelationIdMiddleware(app=, header_name='... File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\exceptions.py", line 62, in __call__ await wrap_app_handling_exceptions(self.app, conn)(scope, receive, send) │ │ │ │ │ │ └ .handle_outgoing_request at 0x0000024560167130> │ │ │ │ │ └ │ │ └ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 53, in wrapped_app raise exc File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 42, in wrapped_app await app(scope, receive, sender) │ │ │ └ .wrapped_app..sender at 0x0000024560167250> │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 714, in __call__ await self.middleware_stack(scope, receive, send) │ │ │ │ └ .wrapped_app..sender at 0x0000024560167250> │ │ │ └ > └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 734, in app await route.handle(scope, receive, send) │ │ │ │ └ .wrapped_app..sender at 0x0000024560167250> │ │ │ └ └ APIRoute(path='/api/v1/chatbot', name='index', methods=['GET']) File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 288, in handle await self.app(scope, receive, send) │ │ │ │ └ .wrapped_app..sender at 0x0000024560167250> │ │ │ └ .app at 0x00000245601669E0> └ APIRoute(path='/api/v1/chatbot', name='index', methods=['GET']) File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 76, in app await wrap_app_handling_exceptions(app, request)(scope, receive, send) │ │ │ │ │ └ .wrapped_app..sender at 0x0000024560167250> │ │ │ │ └ │ └ .app..app at 0x00000245601672E0> └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 53, in wrapped_app raise exc File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 42, in wrapped_app await app(scope, receive, sender) │ │ │ └ .wrapped_app..sender at 0x0000024560167370> │ │ └ .app..app at 0x00000245601672E0> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 73, in app response = await f(request) │ └ .app at 0x0000024560166950> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\fastapi\routing.py", line 301, in app raw_response = await run_endpoint_function( └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\fastapi\routing.py", line 212, in run_endpoint_function return await dependant.call(**values) │ │ └ {'request': } │ └ └ Dependant(path_params=[], query_params=[], header_params=[], cookie_params=[], body_params=[], dependencies=[], security_requ... File "C:\University-HCMUTE\InternFuta\ApiDialogflowChatbot\app\dialogflow\api\v1\dialogflow.py", line 394, in index return templates.TemplateResponse("index.html", {"request": request, "title": "Dawi Chatbot"}) │ │ └ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\templating.py", line 208, in TemplateResponse template = self.get_template(name) │ │ └ 'index.html' │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\templating.py", line 131, in get_template return self.env.get_template(name) │ │ │ └ 'index.html' │ │ └ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\jinja2\environment.py", line 1016, in get_template return self._load_template(name, globals) │ │ │ └ None │ │ └ 'index.html' │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\jinja2\environment.py", line 975, in _load_template template = self.loader.load(self, name, self.make_globals(globals)) │ │ │ │ │ │ │ └ None │ │ │ │ │ │ └ │ │ │ │ │ └ │ │ │ │ └ 'index.html' │ │ │ └ │ │ └ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\jinja2\loaders.py", line 126, in load source, filename, uptodate = self.get_source(environment, name) │ │ │ └ 'index.html' │ │ └ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\jinja2\loaders.py", line 209, in get_source raise TemplateNotFound( └ jinja2.exceptions.TemplateNotFound: 'index.html' not found in search path: 'app/templates' 2025-06-17 10:14:49.866 | ERROR | - | Traceback (most recent call last): File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\runners.py", line 44, in run return loop.run_until_complete(main) File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 633, in run_until_complete self.run_forever() File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 600, in run_forever self._run_once() File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 1896, in _run_once handle._run() File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\events.py", line 80, in _run self._context.run(self._callback, *self._args) File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\server.py", line 69, in serve with self.capture_signals(): File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\contextlib.py", line 142, in __exit__ next(self.gen) File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\server.py", line 330, in capture_signals signal.raise_signal(captured_signal) KeyboardInterrupt During handling of the above exception, another exception occurred: Traceback (most recent call last): File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 699, in lifespan await receive() File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\lifespan\on.py", line 137, in receive return await self.receive_queue.get() File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\queues.py", line 159, in get await getter asyncio.exceptions.CancelledError 2025-06-17 10:14:51.386 | ERROR | - | Traceback (most recent call last): File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\runners.py", line 44, in run return loop.run_until_complete(main) File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 633, in run_until_complete self.run_forever() File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 600, in run_forever self._run_once() File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 1896, in _run_once handle._run() File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\events.py", line 80, in _run self._context.run(self._callback, *self._args) File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\server.py", line 69, in serve with self.capture_signals(): File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\contextlib.py", line 142, in __exit__ next(self.gen) File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\server.py", line 330, in capture_signals signal.raise_signal(captured_signal) KeyboardInterrupt During handling of the above exception, another exception occurred: Traceback (most recent call last): File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 699, in lifespan await receive() File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\lifespan\on.py", line 137, in receive return await self.receive_queue.get() File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\queues.py", line 159, in get await getter asyncio.exceptions.CancelledError 2025-06-17 10:16:49.900 | ERROR | c96ad4bf52c540a4878f13fe7338793a | Time selection is empty 2025-06-17 10:16:51.040 | ERROR | 92231e5c2d464189b3cfd1ba15784875 | Exception in ASGI application Traceback (most recent call last): File "", line 1, in File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\spawn.py", line 116, in spawn_main exitcode = _main(fd, parent_sentinel) │ │ └ 352 │ └ 3 └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\spawn.py", line 129, in _main return self._bootstrap(parent_sentinel) │ │ └ 352 │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\process.py", line 315, in _bootstrap self.run() │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\process.py", line 108, in run self._target(*self._args, **self._kwargs) │ │ │ │ │ └ {'config': , 'target': │ │ │ └ () │ │ └ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\_subprocess.py", line 80, in subprocess_started target(sockets=sockets) │ └ [] └ > File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\server.py", line 66, in run return asyncio.run(self.serve(sockets=sockets)) │ │ │ │ └ [] │ │ │ └ │ │ └ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\runners.py", line 44, in run return loop.run_until_complete(main) │ │ └ │ └ └ <_WindowsSelectorEventLoop running=True closed=False debug=False> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 633, in run_until_complete self.run_forever() │ └ └ <_WindowsSelectorEventLoop running=True closed=False debug=False> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 600, in run_forever self._run_once() │ └ └ <_WindowsSelectorEventLoop running=True closed=False debug=False> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 1896, in _run_once handle._run() │ └ ()> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\events.py", line 80, in _run self._context.run(self._callback, *self._args) │ │ │ │ │ └ │ │ │ │ └ ()> │ │ │ └ │ │ └ ()> │ └ ()> > File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\protocols\http\h11_impl.py", line 403, in run_asgi result = await app( # type: ignore[func-returns-value] └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\middleware\proxy_headers.py", line 60, in __call__ return await self.app(scope, receive, send) │ │ │ │ └ > │ │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\fastapi\applications.py", line 1054, in __call__ await super().__call__(scope, receive, send) │ │ └ > │ └ > │ │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\errors.py", line 187, in __call__ raise exc File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\errors.py", line 165, in __call__ await self.app(scope, receive, _send) │ │ │ │ └ ._send at 0x000001C95E761B40> │ │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\cors.py", line 85, in __call__ await self.app(scope, receive, send) │ │ │ │ └ ._send at 0x000001C95E761B40> │ │ │ └ , header_name='... └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\asgi_correlation_id\middleware.py", line 90, in __call__ await self.app(scope, receive, handle_outgoing_request) │ │ │ │ └ .handle_outgoing_request at 0x000001C95E761D80> │ │ │ └ └ CorrelationIdMiddleware(app=, header_name='... File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\exceptions.py", line 62, in __call__ await wrap_app_handling_exceptions(self.app, conn)(scope, receive, send) │ │ │ │ │ │ └ .handle_outgoing_request at 0x000001C95E761D80> │ │ │ │ │ └ │ │ └ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 53, in wrapped_app raise exc File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 42, in wrapped_app await app(scope, receive, sender) │ │ │ └ .wrapped_app..sender at 0x000001C95E761BD0> │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 714, in __call__ await self.middleware_stack(scope, receive, send) │ │ │ │ └ .wrapped_app..sender at 0x000001C95E761BD0> │ │ │ └ > └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 734, in app await route.handle(scope, receive, send) │ │ │ │ └ .wrapped_app..sender at 0x000001C95E761BD0> │ │ │ └ └ APIRoute(path='/api/v1/time/check-ambiguity', name='check_time_ambiguity', methods=['POST']) File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 288, in handle await self.app(scope, receive, send) │ │ │ │ └ .wrapped_app..sender at 0x000001C95E761BD0> │ │ │ └ .app at 0x000001C95E760C10> └ APIRoute(path='/api/v1/time/check-ambiguity', name='check_time_ambiguity', methods=['POST']) File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 76, in app await wrap_app_handling_exceptions(app, request)(scope, receive, send) │ │ │ │ │ └ .wrapped_app..sender at 0x000001C95E761BD0> │ │ │ │ └ │ └ .app..app at 0x000001C95E761CF0> └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 53, in wrapped_app raise exc File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 42, in wrapped_app await app(scope, receive, sender) │ │ │ └ .wrapped_app..sender at 0x000001C95E761C60> │ │ └ .app..app at 0x000001C95E761CF0> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 73, in app response = await f(request) │ └ .app at 0x000001C95E760B80> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\fastapi\routing.py", line 301, in app raw_response = await run_endpoint_function( └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\fastapi\routing.py", line 212, in run_endpoint_function return await dependant.call(**values) │ │ └ {'request': } │ └ └ Dependant(path_params=[], query_params=[], header_params=[], cookie_params=[], body_params=[], dependencies=[], security_requ... File "C:\University-HCMUTE\InternFuta\ApiDialogflowChatbot\app\api\v1\time.py", line 28, in check_time_ambiguity is_ambiguous = TimeService.check_time_ambiguity(time) │ │ └ {'hours': 16.0, 'minutes': 0.0, 'seconds': 0.0, 'nanos': 0.0, 'future': {'hours': 16.0, 'minutes': 0.0, 'seconds': 0.0, 'nano... │ └ TypeError: TimeService.check_time_ambiguity() missing 1 required positional argument: 'time' 2025-06-17 10:16:51.650 | ERROR | 2492cd91cfa64e1a98a79bf3dded461b | Exception in ASGI application Traceback (most recent call last): File "", line 1, in File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\spawn.py", line 116, in spawn_main exitcode = _main(fd, parent_sentinel) │ │ └ 352 │ └ 3 └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\spawn.py", line 129, in _main return self._bootstrap(parent_sentinel) │ │ └ 352 │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\process.py", line 315, in _bootstrap self.run() │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\process.py", line 108, in run self._target(*self._args, **self._kwargs) │ │ │ │ │ └ {'config': , 'target': │ │ │ └ () │ │ └ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\_subprocess.py", line 80, in subprocess_started target(sockets=sockets) │ └ [] └ > File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\server.py", line 66, in run return asyncio.run(self.serve(sockets=sockets)) │ │ │ │ └ [] │ │ │ └ │ │ └ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\runners.py", line 44, in run return loop.run_until_complete(main) │ │ └ │ └ └ <_WindowsSelectorEventLoop running=True closed=False debug=False> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 633, in run_until_complete self.run_forever() │ └ └ <_WindowsSelectorEventLoop running=True closed=False debug=False> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 600, in run_forever self._run_once() │ └ └ <_WindowsSelectorEventLoop running=True closed=False debug=False> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 1896, in _run_once handle._run() │ └ ()> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\events.py", line 80, in _run self._context.run(self._callback, *self._args) │ │ │ │ │ └ │ │ │ │ └ ()> │ │ │ └ │ │ └ ()> │ └ ()> > File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\protocols\http\h11_impl.py", line 403, in run_asgi result = await app( # type: ignore[func-returns-value] └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\middleware\proxy_headers.py", line 60, in __call__ return await self.app(scope, receive, send) │ │ │ │ └ > │ │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\fastapi\applications.py", line 1054, in __call__ await super().__call__(scope, receive, send) │ │ └ > │ └ > │ │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\errors.py", line 187, in __call__ raise exc File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\errors.py", line 165, in __call__ await self.app(scope, receive, _send) │ │ │ │ └ ._send at 0x000001C95E8DC820> │ │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\cors.py", line 85, in __call__ await self.app(scope, receive, send) │ │ │ │ └ ._send at 0x000001C95E8DC820> │ │ │ └ , header_name='... └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\asgi_correlation_id\middleware.py", line 90, in __call__ await self.app(scope, receive, handle_outgoing_request) │ │ │ │ └ .handle_outgoing_request at 0x000001C95E8DC8B0> │ │ │ └ └ CorrelationIdMiddleware(app=, header_name='... File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\exceptions.py", line 62, in __call__ await wrap_app_handling_exceptions(self.app, conn)(scope, receive, send) │ │ │ │ │ │ └ .handle_outgoing_request at 0x000001C95E8DC8B0> │ │ │ │ │ └ │ │ └ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 53, in wrapped_app raise exc File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 42, in wrapped_app await app(scope, receive, sender) │ │ │ └ .wrapped_app..sender at 0x000001C95E8DC670> │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 714, in __call__ await self.middleware_stack(scope, receive, send) │ │ │ │ └ .wrapped_app..sender at 0x000001C95E8DC670> │ │ │ └ > └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 734, in app await route.handle(scope, receive, send) │ │ │ │ └ .wrapped_app..sender at 0x000001C95E8DC670> │ │ │ └ └ APIRoute(path='/api/v1/time/check-ambiguity', name='check_time_ambiguity', methods=['POST']) File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 288, in handle await self.app(scope, receive, send) │ │ │ │ └ .wrapped_app..sender at 0x000001C95E8DC670> │ │ │ └ .app at 0x000001C95E760C10> └ APIRoute(path='/api/v1/time/check-ambiguity', name='check_time_ambiguity', methods=['POST']) File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 76, in app await wrap_app_handling_exceptions(app, request)(scope, receive, send) │ │ │ │ │ └ .wrapped_app..sender at 0x000001C95E8DC670> │ │ │ │ └ │ └ .app..app at 0x000001C95E8DC700> └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 53, in wrapped_app raise exc File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 42, in wrapped_app await app(scope, receive, sender) │ │ │ └ .wrapped_app..sender at 0x000001C95E8DC790> │ │ └ .app..app at 0x000001C95E8DC700> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 73, in app response = await f(request) │ └ .app at 0x000001C95E760B80> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\fastapi\routing.py", line 301, in app raw_response = await run_endpoint_function( └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\fastapi\routing.py", line 212, in run_endpoint_function return await dependant.call(**values) │ │ └ {'request': } │ └ └ Dependant(path_params=[], query_params=[], header_params=[], cookie_params=[], body_params=[], dependencies=[], security_requ... File "C:\University-HCMUTE\InternFuta\ApiDialogflowChatbot\app\api\v1\time.py", line 28, in check_time_ambiguity is_ambiguous = TimeService.check_time_ambiguity(time) │ │ └ {'hours': 16.0, 'minutes': 0.0, 'seconds': 0.0, 'nanos': 0.0, 'future': {'hours': 16.0, 'minutes': 0.0, 'seconds': 0.0, 'nano... │ └ TypeError: TimeService.check_time_ambiguity() missing 1 required positional argument: 'time' 2025-06-17 10:19:38.194 | ERROR | 50ef121baf82495c831c161c17823ac3 | Time selection is empty 2025-06-17 10:19:57.013 | ERROR | 942376c351ef4d30a8523183189800ff | Exception in ASGI application Traceback (most recent call last): File "", line 1, in File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\spawn.py", line 116, in spawn_main exitcode = _main(fd, parent_sentinel) │ │ └ 348 │ └ 3 └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\spawn.py", line 129, in _main return self._bootstrap(parent_sentinel) │ │ └ 348 │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\process.py", line 315, in _bootstrap self.run() │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\process.py", line 108, in run self._target(*self._args, **self._kwargs) │ │ │ │ │ └ {'config': , 'target': │ │ │ └ () │ │ └ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\_subprocess.py", line 80, in subprocess_started target(sockets=sockets) │ └ [] └ > File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\server.py", line 66, in run return asyncio.run(self.serve(sockets=sockets)) │ │ │ │ └ [] │ │ │ └ │ │ └ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\runners.py", line 44, in run return loop.run_until_complete(main) │ │ └ │ └ └ <_WindowsSelectorEventLoop running=True closed=False debug=False> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 633, in run_until_complete self.run_forever() │ └ └ <_WindowsSelectorEventLoop running=True closed=False debug=False> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 600, in run_forever self._run_once() │ └ └ <_WindowsSelectorEventLoop running=True closed=False debug=False> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 1896, in _run_once handle._run() │ └ ()> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\events.py", line 80, in _run self._context.run(self._callback, *self._args) │ │ │ │ │ └ │ │ │ │ └ ()> │ │ │ └ │ │ └ ()> │ └ ()> > File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\protocols\http\h11_impl.py", line 403, in run_asgi result = await app( # type: ignore[func-returns-value] └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\middleware\proxy_headers.py", line 60, in __call__ return await self.app(scope, receive, send) │ │ │ │ └ > │ │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\fastapi\applications.py", line 1054, in __call__ await super().__call__(scope, receive, send) │ │ └ > │ └ > │ │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\errors.py", line 187, in __call__ raise exc File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\errors.py", line 165, in __call__ await self.app(scope, receive, _send) │ │ │ │ └ ._send at 0x0000017F0056DAB0> │ │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\cors.py", line 85, in __call__ await self.app(scope, receive, send) │ │ │ │ └ ._send at 0x0000017F0056DAB0> │ │ │ └ , header_name='... └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\asgi_correlation_id\middleware.py", line 90, in __call__ await self.app(scope, receive, handle_outgoing_request) │ │ │ │ └ .handle_outgoing_request at 0x0000017F0056D630> │ │ │ └ └ CorrelationIdMiddleware(app=, header_name='... File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\exceptions.py", line 62, in __call__ await wrap_app_handling_exceptions(self.app, conn)(scope, receive, send) │ │ │ │ │ │ └ .handle_outgoing_request at 0x0000017F0056D630> │ │ │ │ │ └ │ │ └ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 53, in wrapped_app raise exc File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 42, in wrapped_app await app(scope, receive, sender) │ │ │ └ .wrapped_app..sender at 0x0000017F0056DE10> │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 714, in __call__ await self.middleware_stack(scope, receive, send) │ │ │ │ └ .wrapped_app..sender at 0x0000017F0056DE10> │ │ │ └ > └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 734, in app await route.handle(scope, receive, send) │ │ │ │ └ .wrapped_app..sender at 0x0000017F0056DE10> │ │ │ └ └ APIRoute(path='/api/v1/time/check-ambiguity', name='check_time_ambiguity', methods=['POST']) File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 288, in handle await self.app(scope, receive, send) │ │ │ │ └ .wrapped_app..sender at 0x0000017F0056DE10> │ │ │ └ .app at 0x0000017F0056CCA0> └ APIRoute(path='/api/v1/time/check-ambiguity', name='check_time_ambiguity', methods=['POST']) File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 76, in app await wrap_app_handling_exceptions(app, request)(scope, receive, send) │ │ │ │ │ └ .wrapped_app..sender at 0x0000017F0056DE10> │ │ │ │ └ │ └ .app..app at 0x0000017F0056DC60> └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 53, in wrapped_app raise exc File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 42, in wrapped_app await app(scope, receive, sender) │ │ │ └ .wrapped_app..sender at 0x0000017F0056DD80> │ │ └ .app..app at 0x0000017F0056DC60> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 73, in app response = await f(request) │ └ .app at 0x0000017F0056CC10> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\fastapi\routing.py", line 301, in app raw_response = await run_endpoint_function( └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\fastapi\routing.py", line 212, in run_endpoint_function return await dependant.call(**values) │ │ └ {'request': } │ └ └ Dependant(path_params=[], query_params=[], header_params=[], cookie_params=[], body_params=[], dependencies=[], security_requ... File "C:\University-HCMUTE\InternFuta\ApiDialogflowChatbot\app\api\v1\time.py", line 28, in check_time_ambiguity is_ambiguous = TimeService.check_time_ambiguity(time) │ │ └ {'hours': 16.0, 'minutes': 0.0, 'seconds': 0.0, 'nanos': 0.0, 'future': {'hours': 16.0, 'minutes': 0.0, 'seconds': 0.0, 'nano... │ └ TypeError: TimeService.check_time_ambiguity() missing 1 required positional argument: 'time' 2025-06-17 10:19:57.570 | ERROR | a9b5fa5fd8154648bc872e2bbf86da65 | Exception in ASGI application Traceback (most recent call last): File "", line 1, in File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\spawn.py", line 116, in spawn_main exitcode = _main(fd, parent_sentinel) │ │ └ 348 │ └ 3 └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\spawn.py", line 129, in _main return self._bootstrap(parent_sentinel) │ │ └ 348 │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\process.py", line 315, in _bootstrap self.run() │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\process.py", line 108, in run self._target(*self._args, **self._kwargs) │ │ │ │ │ └ {'config': , 'target': │ │ │ └ () │ │ └ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\_subprocess.py", line 80, in subprocess_started target(sockets=sockets) │ └ [] └ > File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\server.py", line 66, in run return asyncio.run(self.serve(sockets=sockets)) │ │ │ │ └ [] │ │ │ └ │ │ └ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\runners.py", line 44, in run return loop.run_until_complete(main) │ │ └ │ └ └ <_WindowsSelectorEventLoop running=True closed=False debug=False> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 633, in run_until_complete self.run_forever() │ └ └ <_WindowsSelectorEventLoop running=True closed=False debug=False> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 600, in run_forever self._run_once() │ └ └ <_WindowsSelectorEventLoop running=True closed=False debug=False> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 1896, in _run_once handle._run() │ └ ()> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\events.py", line 80, in _run self._context.run(self._callback, *self._args) │ │ │ │ │ └ │ │ │ │ └ ()> │ │ │ └ │ │ └ ()> │ └ ()> > File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\protocols\http\h11_impl.py", line 403, in run_asgi result = await app( # type: ignore[func-returns-value] └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\middleware\proxy_headers.py", line 60, in __call__ return await self.app(scope, receive, send) │ │ │ │ └ > │ │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\fastapi\applications.py", line 1054, in __call__ await super().__call__(scope, receive, send) │ │ └ > │ └ > │ │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\errors.py", line 187, in __call__ raise exc File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\errors.py", line 165, in __call__ await self.app(scope, receive, _send) │ │ │ │ └ ._send at 0x0000017F006EC820> │ │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\cors.py", line 85, in __call__ await self.app(scope, receive, send) │ │ │ │ └ ._send at 0x0000017F006EC820> │ │ │ └ , header_name='... └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\asgi_correlation_id\middleware.py", line 90, in __call__ await self.app(scope, receive, handle_outgoing_request) │ │ │ │ └ .handle_outgoing_request at 0x0000017F006EC8B0> │ │ │ └ └ CorrelationIdMiddleware(app=, header_name='... File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\exceptions.py", line 62, in __call__ await wrap_app_handling_exceptions(self.app, conn)(scope, receive, send) │ │ │ │ │ │ └ .handle_outgoing_request at 0x0000017F006EC8B0> │ │ │ │ │ └ │ │ └ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 53, in wrapped_app raise exc File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 42, in wrapped_app await app(scope, receive, sender) │ │ │ └ .wrapped_app..sender at 0x0000017F006EC670> │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 714, in __call__ await self.middleware_stack(scope, receive, send) │ │ │ │ └ .wrapped_app..sender at 0x0000017F006EC670> │ │ │ └ > └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 734, in app await route.handle(scope, receive, send) │ │ │ │ └ .wrapped_app..sender at 0x0000017F006EC670> │ │ │ └ └ APIRoute(path='/api/v1/time/check-ambiguity', name='check_time_ambiguity', methods=['POST']) File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 288, in handle await self.app(scope, receive, send) │ │ │ │ └ .wrapped_app..sender at 0x0000017F006EC670> │ │ │ └ .app at 0x0000017F0056CCA0> └ APIRoute(path='/api/v1/time/check-ambiguity', name='check_time_ambiguity', methods=['POST']) File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 76, in app await wrap_app_handling_exceptions(app, request)(scope, receive, send) │ │ │ │ │ └ .wrapped_app..sender at 0x0000017F006EC670> │ │ │ │ └ │ └ .app..app at 0x0000017F006EC700> └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 53, in wrapped_app raise exc File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 42, in wrapped_app await app(scope, receive, sender) │ │ │ └ .wrapped_app..sender at 0x0000017F006EC790> │ │ └ .app..app at 0x0000017F006EC700> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 73, in app response = await f(request) │ └ .app at 0x0000017F0056CC10> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\fastapi\routing.py", line 301, in app raw_response = await run_endpoint_function( └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\fastapi\routing.py", line 212, in run_endpoint_function return await dependant.call(**values) │ │ └ {'request': } │ └ └ Dependant(path_params=[], query_params=[], header_params=[], cookie_params=[], body_params=[], dependencies=[], security_requ... File "C:\University-HCMUTE\InternFuta\ApiDialogflowChatbot\app\api\v1\time.py", line 28, in check_time_ambiguity is_ambiguous = TimeService.check_time_ambiguity(time) │ │ └ {'hours': 16.0, 'minutes': 0.0, 'seconds': 0.0, 'nanos': 0.0, 'future': {'hours': 16.0, 'minutes': 0.0, 'seconds': 0.0, 'nano... │ └ TypeError: TimeService.check_time_ambiguity() missing 1 required positional argument: 'time' 2025-06-17 10:21:01.525 | ERROR | c18d19b7c1a84e3191f07062dc760367 | Time selection is empty 2025-06-17 10:21:02.549 | ERROR | 2c98273197ea4131984d18533f2f388b | Exception in ASGI application Traceback (most recent call last): File "", line 1, in File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\spawn.py", line 116, in spawn_main exitcode = _main(fd, parent_sentinel) │ │ └ 188 │ └ 3 └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\spawn.py", line 129, in _main return self._bootstrap(parent_sentinel) │ │ └ 188 │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\process.py", line 315, in _bootstrap self.run() │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\process.py", line 108, in run self._target(*self._args, **self._kwargs) │ │ │ │ │ └ {'config': , 'target': │ │ │ └ () │ │ └ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\_subprocess.py", line 80, in subprocess_started target(sockets=sockets) │ └ [] └ > File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\server.py", line 66, in run return asyncio.run(self.serve(sockets=sockets)) │ │ │ │ └ [] │ │ │ └ │ │ └ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\runners.py", line 44, in run return loop.run_until_complete(main) │ │ └ │ └ └ <_WindowsSelectorEventLoop running=True closed=False debug=False> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 633, in run_until_complete self.run_forever() │ └ └ <_WindowsSelectorEventLoop running=True closed=False debug=False> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 600, in run_forever self._run_once() │ └ └ <_WindowsSelectorEventLoop running=True closed=False debug=False> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 1896, in _run_once handle._run() │ └ ()> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\events.py", line 80, in _run self._context.run(self._callback, *self._args) │ │ │ │ │ └ │ │ │ │ └ ()> │ │ │ └ │ │ └ ()> │ └ ()> > File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\protocols\http\h11_impl.py", line 403, in run_asgi result = await app( # type: ignore[func-returns-value] └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\middleware\proxy_headers.py", line 60, in __call__ return await self.app(scope, receive, send) │ │ │ │ └ > │ │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\fastapi\applications.py", line 1054, in __call__ await super().__call__(scope, receive, send) │ │ └ > │ └ > │ │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\errors.py", line 187, in __call__ raise exc File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\errors.py", line 165, in __call__ await self.app(scope, receive, _send) │ │ │ │ └ ._send at 0x00000276ED3315A0> │ │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\cors.py", line 85, in __call__ await self.app(scope, receive, send) │ │ │ │ └ ._send at 0x00000276ED3315A0> │ │ │ └ , header_name='... └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\asgi_correlation_id\middleware.py", line 90, in __call__ await self.app(scope, receive, handle_outgoing_request) │ │ │ │ └ .handle_outgoing_request at 0x00000276ED331D80> │ │ │ └ └ CorrelationIdMiddleware(app=, header_name='... File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\exceptions.py", line 62, in __call__ await wrap_app_handling_exceptions(self.app, conn)(scope, receive, send) │ │ │ │ │ │ └ .handle_outgoing_request at 0x00000276ED331D80> │ │ │ │ │ └ │ │ └ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 53, in wrapped_app raise exc File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 42, in wrapped_app await app(scope, receive, sender) │ │ │ └ .wrapped_app..sender at 0x00000276ED331BD0> │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 714, in __call__ await self.middleware_stack(scope, receive, send) │ │ │ │ └ .wrapped_app..sender at 0x00000276ED331BD0> │ │ │ └ > └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 734, in app await route.handle(scope, receive, send) │ │ │ │ └ .wrapped_app..sender at 0x00000276ED331BD0> │ │ │ └ └ APIRoute(path='/api/v1/time/check-ambiguity', name='check_time_ambiguity', methods=['POST']) File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 288, in handle await self.app(scope, receive, send) │ │ │ │ └ .wrapped_app..sender at 0x00000276ED331BD0> │ │ │ └ .app at 0x00000276ED330C10> └ APIRoute(path='/api/v1/time/check-ambiguity', name='check_time_ambiguity', methods=['POST']) File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 76, in app await wrap_app_handling_exceptions(app, request)(scope, receive, send) │ │ │ │ │ └ .wrapped_app..sender at 0x00000276ED331BD0> │ │ │ │ └ │ └ .app..app at 0x00000276ED331CF0> └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 53, in wrapped_app raise exc File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 42, in wrapped_app await app(scope, receive, sender) │ │ │ └ .wrapped_app..sender at 0x00000276ED331C60> │ │ └ .app..app at 0x00000276ED331CF0> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 73, in app response = await f(request) │ └ .app at 0x00000276ED330B80> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\fastapi\routing.py", line 301, in app raw_response = await run_endpoint_function( └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\fastapi\routing.py", line 212, in run_endpoint_function return await dependant.call(**values) │ │ └ {'request': } │ └ └ Dependant(path_params=[], query_params=[], header_params=[], cookie_params=[], body_params=[], dependencies=[], security_requ... File "C:\University-HCMUTE\InternFuta\ApiDialogflowChatbot\app\api\v1\time.py", line 28, in check_time_ambiguity is_ambiguous = TimeService.check_time_ambiguity(time) │ │ └ {'hours': 16.0, 'minutes': 0.0, 'seconds': 0.0, 'nanos': 0.0, 'future': {'hours': 16.0, 'minutes': 0.0, 'seconds': 0.0, 'nano... │ └ TypeError: TimeService.check_time_ambiguity() missing 1 required positional argument: 'time' 2025-06-17 10:21:03.134 | ERROR | 2f2d80ac035648adbe369ee52912e4b6 | Exception in ASGI application Traceback (most recent call last): File "", line 1, in File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\spawn.py", line 116, in spawn_main exitcode = _main(fd, parent_sentinel) │ │ └ 188 │ └ 3 └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\spawn.py", line 129, in _main return self._bootstrap(parent_sentinel) │ │ └ 188 │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\process.py", line 315, in _bootstrap self.run() │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\process.py", line 108, in run self._target(*self._args, **self._kwargs) │ │ │ │ │ └ {'config': , 'target': │ │ │ └ () │ │ └ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\_subprocess.py", line 80, in subprocess_started target(sockets=sockets) │ └ [] └ > File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\server.py", line 66, in run return asyncio.run(self.serve(sockets=sockets)) │ │ │ │ └ [] │ │ │ └ │ │ └ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\runners.py", line 44, in run return loop.run_until_complete(main) │ │ └ │ └ └ <_WindowsSelectorEventLoop running=True closed=False debug=False> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 633, in run_until_complete self.run_forever() │ └ └ <_WindowsSelectorEventLoop running=True closed=False debug=False> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 600, in run_forever self._run_once() │ └ └ <_WindowsSelectorEventLoop running=True closed=False debug=False> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 1896, in _run_once handle._run() │ └ ()> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\events.py", line 80, in _run self._context.run(self._callback, *self._args) │ │ │ │ │ └ │ │ │ │ └ ()> │ │ │ └ │ │ └ ()> │ └ ()> > File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\protocols\http\h11_impl.py", line 403, in run_asgi result = await app( # type: ignore[func-returns-value] └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\middleware\proxy_headers.py", line 60, in __call__ return await self.app(scope, receive, send) │ │ │ │ └ > │ │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\fastapi\applications.py", line 1054, in __call__ await super().__call__(scope, receive, send) │ │ └ > │ └ > │ │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\errors.py", line 187, in __call__ raise exc File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\errors.py", line 165, in __call__ await self.app(scope, receive, _send) │ │ │ │ └ ._send at 0x00000276ED4B0790> │ │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\cors.py", line 85, in __call__ await self.app(scope, receive, send) │ │ │ │ └ ._send at 0x00000276ED4B0790> │ │ │ └ , header_name='... └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\asgi_correlation_id\middleware.py", line 90, in __call__ await self.app(scope, receive, handle_outgoing_request) │ │ │ │ └ .handle_outgoing_request at 0x00000276ED4B0820> │ │ │ └ └ CorrelationIdMiddleware(app=, header_name='... File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\exceptions.py", line 62, in __call__ await wrap_app_handling_exceptions(self.app, conn)(scope, receive, send) │ │ │ │ │ │ └ .handle_outgoing_request at 0x00000276ED4B0820> │ │ │ │ │ └ │ │ └ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 53, in wrapped_app raise exc File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 42, in wrapped_app await app(scope, receive, sender) │ │ │ └ .wrapped_app..sender at 0x00000276ED4B08B0> │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 714, in __call__ await self.middleware_stack(scope, receive, send) │ │ │ │ └ .wrapped_app..sender at 0x00000276ED4B08B0> │ │ │ └ > └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 734, in app await route.handle(scope, receive, send) │ │ │ │ └ .wrapped_app..sender at 0x00000276ED4B08B0> │ │ │ └ └ APIRoute(path='/api/v1/time/check-ambiguity', name='check_time_ambiguity', methods=['POST']) File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 288, in handle await self.app(scope, receive, send) │ │ │ │ └ .wrapped_app..sender at 0x00000276ED4B08B0> │ │ │ └ .app at 0x00000276ED330C10> └ APIRoute(path='/api/v1/time/check-ambiguity', name='check_time_ambiguity', methods=['POST']) File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 76, in app await wrap_app_handling_exceptions(app, request)(scope, receive, send) │ │ │ │ │ └ .wrapped_app..sender at 0x00000276ED4B08B0> │ │ │ │ └ │ └ .app..app at 0x00000276ED4B05E0> └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 53, in wrapped_app raise exc File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 42, in wrapped_app await app(scope, receive, sender) │ │ │ └ .wrapped_app..sender at 0x00000276ED4B0700> │ │ └ .app..app at 0x00000276ED4B05E0> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 73, in app response = await f(request) │ └ .app at 0x00000276ED330B80> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\fastapi\routing.py", line 301, in app raw_response = await run_endpoint_function( └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\fastapi\routing.py", line 212, in run_endpoint_function return await dependant.call(**values) │ │ └ {'request': } │ └ └ Dependant(path_params=[], query_params=[], header_params=[], cookie_params=[], body_params=[], dependencies=[], security_requ... File "C:\University-HCMUTE\InternFuta\ApiDialogflowChatbot\app\api\v1\time.py", line 28, in check_time_ambiguity is_ambiguous = TimeService.check_time_ambiguity(time) │ │ └ {'hours': 16.0, 'minutes': 0.0, 'seconds': 0.0, 'nanos': 0.0, 'future': {'hours': 16.0, 'minutes': 0.0, 'seconds': 0.0, 'nano... │ └ TypeError: TimeService.check_time_ambiguity() missing 1 required positional argument: 'time' 2025-06-17 10:23:19.383 | ERROR | 7a6fa55301fa48be882be2b77141c025 | Time selection is empty 2025-06-17 10:23:21.144 | ERROR | 9ba06d3c46924d2f92aafc7858da5af1 | Exception in ASGI application Traceback (most recent call last): File "", line 1, in File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\spawn.py", line 116, in spawn_main exitcode = _main(fd, parent_sentinel) │ │ └ 328 │ └ 3 └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\spawn.py", line 129, in _main return self._bootstrap(parent_sentinel) │ │ └ 328 │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\process.py", line 315, in _bootstrap self.run() │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\process.py", line 108, in run self._target(*self._args, **self._kwargs) │ │ │ │ │ └ {'config': , 'target': │ │ │ └ () │ │ └ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\_subprocess.py", line 80, in subprocess_started target(sockets=sockets) │ └ [] └ > File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\server.py", line 66, in run return asyncio.run(self.serve(sockets=sockets)) │ │ │ │ └ [] │ │ │ └ │ │ └ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\runners.py", line 44, in run return loop.run_until_complete(main) │ │ └ │ └ └ <_WindowsSelectorEventLoop running=True closed=False debug=False> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 633, in run_until_complete self.run_forever() │ └ └ <_WindowsSelectorEventLoop running=True closed=False debug=False> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 600, in run_forever self._run_once() │ └ └ <_WindowsSelectorEventLoop running=True closed=False debug=False> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 1896, in _run_once handle._run() │ └ ()> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\events.py", line 80, in _run self._context.run(self._callback, *self._args) │ │ │ │ │ └ │ │ │ │ └ ()> │ │ │ └ │ │ └ ()> │ └ ()> > File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\protocols\http\h11_impl.py", line 403, in run_asgi result = await app( # type: ignore[func-returns-value] └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\middleware\proxy_headers.py", line 60, in __call__ return await self.app(scope, receive, send) │ │ │ │ └ > │ │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\fastapi\applications.py", line 1054, in __call__ await super().__call__(scope, receive, send) │ │ └ > │ └ > │ │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\errors.py", line 187, in __call__ raise exc File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\errors.py", line 165, in __call__ await self.app(scope, receive, _send) │ │ │ │ └ ._send at 0x000001CB1C521BD0> │ │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\cors.py", line 85, in __call__ await self.app(scope, receive, send) │ │ │ │ └ ._send at 0x000001CB1C521BD0> │ │ │ └ , header_name='... └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\asgi_correlation_id\middleware.py", line 90, in __call__ await self.app(scope, receive, handle_outgoing_request) │ │ │ │ └ .handle_outgoing_request at 0x000001CB1C521CF0> │ │ │ └ └ CorrelationIdMiddleware(app=, header_name='... File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\exceptions.py", line 62, in __call__ await wrap_app_handling_exceptions(self.app, conn)(scope, receive, send) │ │ │ │ │ │ └ .handle_outgoing_request at 0x000001CB1C521CF0> │ │ │ │ │ └ │ │ └ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 53, in wrapped_app raise exc File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 42, in wrapped_app await app(scope, receive, sender) │ │ │ └ .wrapped_app..sender at 0x000001CB1C521C60> │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 714, in __call__ await self.middleware_stack(scope, receive, send) │ │ │ │ └ .wrapped_app..sender at 0x000001CB1C521C60> │ │ │ └ > └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 734, in app await route.handle(scope, receive, send) │ │ │ │ └ .wrapped_app..sender at 0x000001CB1C521C60> │ │ │ └ └ APIRoute(path='/api/v1/time/ambiguity-selection', name='time_ambiguity_selection', methods=['POST']) File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 288, in handle await self.app(scope, receive, send) │ │ │ │ └ .wrapped_app..sender at 0x000001CB1C521C60> │ │ │ └ .app at 0x000001CB1C520D30> └ APIRoute(path='/api/v1/time/ambiguity-selection', name='time_ambiguity_selection', methods=['POST']) File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 76, in app await wrap_app_handling_exceptions(app, request)(scope, receive, send) │ │ │ │ │ └ .wrapped_app..sender at 0x000001CB1C521C60> │ │ │ │ └ │ └ .app..app at 0x000001CB1C521EA0> └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 53, in wrapped_app raise exc File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 42, in wrapped_app await app(scope, receive, sender) │ │ │ └ .wrapped_app..sender at 0x000001CB1C521F30> │ │ └ .app..app at 0x000001CB1C521EA0> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 73, in app response = await f(request) │ └ .app at 0x000001CB1C520CA0> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\fastapi\routing.py", line 301, in app raw_response = await run_endpoint_function( └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\fastapi\routing.py", line 212, in run_endpoint_function return await dependant.call(**values) │ │ └ {'request': } │ └ └ Dependant(path_params=[], query_params=[], header_params=[], cookie_params=[], body_params=[], dependencies=[], security_requ... File "C:\University-HCMUTE\InternFuta\ApiDialogflowChatbot\app\api\v1\time.py", line 49, in time_ambiguity_selection rs: DialogServiceResult = TimeService.get_time_ambiguous_selection(time) │ │ └ {'hours': 16.0, 'minutes': 0.0, 'seconds': 0.0, 'nanos': 0.0, 'future': {'hours': 16.0, 'minutes': 0.0, 'seconds': 0.0, 'nano... │ └ TypeError: TimeService.get_time_ambiguous_selection() missing 1 required positional argument: 'time' 2025-06-17 10:29:29.906 | ERROR | - | Traceback (most recent call last): File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\runners.py", line 44, in run return loop.run_until_complete(main) File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 633, in run_until_complete self.run_forever() File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 600, in run_forever self._run_once() File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 1896, in _run_once handle._run() File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\events.py", line 80, in _run self._context.run(self._callback, *self._args) File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\server.py", line 69, in serve with self.capture_signals(): File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\contextlib.py", line 142, in __exit__ next(self.gen) File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\server.py", line 330, in capture_signals signal.raise_signal(captured_signal) KeyboardInterrupt During handling of the above exception, another exception occurred: Traceback (most recent call last): File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 699, in lifespan await receive() File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\lifespan\on.py", line 137, in receive return await self.receive_queue.get() File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\queues.py", line 159, in get await getter asyncio.exceptions.CancelledError 2025-06-17 10:31:29.783 | ERROR | 7bc57aaa57b54a0ead234592caa5c1ec | Time selection is empty 2025-06-17 10:31:31.470 | ERROR | b13128b201cb4342b29acdf111dac217 | Exception in ASGI application Traceback (most recent call last): File "", line 1, in File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\spawn.py", line 116, in spawn_main exitcode = _main(fd, parent_sentinel) │ │ └ 204 │ └ 3 └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\spawn.py", line 129, in _main return self._bootstrap(parent_sentinel) │ │ └ 204 │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\process.py", line 315, in _bootstrap self.run() │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\process.py", line 108, in run self._target(*self._args, **self._kwargs) │ │ │ │ │ └ {'config': , 'target': │ │ │ └ () │ │ └ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\_subprocess.py", line 80, in subprocess_started target(sockets=sockets) │ └ [] └ > File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\server.py", line 66, in run return asyncio.run(self.serve(sockets=sockets)) │ │ │ │ └ [] │ │ │ └ │ │ └ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\runners.py", line 44, in run return loop.run_until_complete(main) │ │ └ │ └ └ <_WindowsSelectorEventLoop running=True closed=False debug=False> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 633, in run_until_complete self.run_forever() │ └ └ <_WindowsSelectorEventLoop running=True closed=False debug=False> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 600, in run_forever self._run_once() │ └ └ <_WindowsSelectorEventLoop running=True closed=False debug=False> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 1896, in _run_once handle._run() │ └ ()> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\events.py", line 80, in _run self._context.run(self._callback, *self._args) │ │ │ │ │ └ │ │ │ │ └ ()> │ │ │ └ │ │ └ ()> │ └ ()> > File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\protocols\http\h11_impl.py", line 403, in run_asgi result = await app( # type: ignore[func-returns-value] └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\middleware\proxy_headers.py", line 60, in __call__ return await self.app(scope, receive, send) │ │ │ │ └ > │ │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\fastapi\applications.py", line 1054, in __call__ await super().__call__(scope, receive, send) │ │ └ > │ └ > │ │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\errors.py", line 187, in __call__ raise exc File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\errors.py", line 165, in __call__ await self.app(scope, receive, _send) │ │ │ │ └ ._send at 0x0000025FF9359F30> │ │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\cors.py", line 85, in __call__ await self.app(scope, receive, send) │ │ │ │ └ ._send at 0x0000025FF9359F30> │ │ │ └ , header_name='... └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\asgi_correlation_id\middleware.py", line 90, in __call__ await self.app(scope, receive, handle_outgoing_request) │ │ │ │ └ .handle_outgoing_request at 0x0000025FF9359FC0> │ │ │ └ └ CorrelationIdMiddleware(app=, header_name='... File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\exceptions.py", line 62, in __call__ await wrap_app_handling_exceptions(self.app, conn)(scope, receive, send) │ │ │ │ │ │ └ .handle_outgoing_request at 0x0000025FF9359FC0> │ │ │ │ │ └ │ │ └ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 53, in wrapped_app raise exc File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 42, in wrapped_app await app(scope, receive, sender) │ │ │ └ .wrapped_app..sender at 0x0000025FF9359CF0> │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 714, in __call__ await self.middleware_stack(scope, receive, send) │ │ │ │ └ .wrapped_app..sender at 0x0000025FF9359CF0> │ │ │ └ > └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 734, in app await route.handle(scope, receive, send) │ │ │ │ └ .wrapped_app..sender at 0x0000025FF9359CF0> │ │ │ └ └ APIRoute(path='/api/v1/time/ambiguity-selection', name='time_ambiguity_selection', methods=['POST']) File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 288, in handle await self.app(scope, receive, send) │ │ │ │ └ .wrapped_app..sender at 0x0000025FF9359CF0> │ │ │ └ .app at 0x0000025FCC30CDC0> └ APIRoute(path='/api/v1/time/ambiguity-selection', name='time_ambiguity_selection', methods=['POST']) File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 76, in app await wrap_app_handling_exceptions(app, request)(scope, receive, send) │ │ │ │ │ └ .wrapped_app..sender at 0x0000025FF9359CF0> │ │ │ │ └ │ └ .app..app at 0x0000025FF9359EA0> └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 53, in wrapped_app raise exc File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 42, in wrapped_app await app(scope, receive, sender) │ │ │ └ .wrapped_app..sender at 0x0000025FF9359E10> │ │ └ .app..app at 0x0000025FF9359EA0> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 73, in app response = await f(request) │ └ .app at 0x0000025FCC30CD30> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\fastapi\routing.py", line 301, in app raw_response = await run_endpoint_function( └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\fastapi\routing.py", line 212, in run_endpoint_function return await dependant.call(**values) │ │ └ {'request': } │ └ └ Dependant(path_params=[], query_params=[], header_params=[], cookie_params=[], body_params=[], dependencies=[], security_requ... File "C:\University-HCMUTE\InternFuta\ApiDialogflowChatbot\app\api\v1\time.py", line 52, in time_ambiguity_selection DialogflowResponseBuilder() └ File "C:\University-HCMUTE\InternFuta\ApiDialogflowChatbot\app\dialogflow\schemas\response.py", line 121, in add_choice_chips return self.add_payload(chips) │ └ UnboundLocalError: local variable 'chips' referenced before assignment 2025-06-17 10:31:32.017 | ERROR | 64bbaf3cf4bb4f679641d511208d560d | Exception in ASGI application Traceback (most recent call last): File "", line 1, in File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\spawn.py", line 116, in spawn_main exitcode = _main(fd, parent_sentinel) │ │ └ 204 │ └ 3 └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\spawn.py", line 129, in _main return self._bootstrap(parent_sentinel) │ │ └ 204 │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\process.py", line 315, in _bootstrap self.run() │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\process.py", line 108, in run self._target(*self._args, **self._kwargs) │ │ │ │ │ └ {'config': , 'target': │ │ │ └ () │ │ └ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\_subprocess.py", line 80, in subprocess_started target(sockets=sockets) │ └ [] └ > File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\server.py", line 66, in run return asyncio.run(self.serve(sockets=sockets)) │ │ │ │ └ [] │ │ │ └ │ │ └ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\runners.py", line 44, in run return loop.run_until_complete(main) │ │ └ │ └ └ <_WindowsSelectorEventLoop running=True closed=False debug=False> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 633, in run_until_complete self.run_forever() │ └ └ <_WindowsSelectorEventLoop running=True closed=False debug=False> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 600, in run_forever self._run_once() │ └ └ <_WindowsSelectorEventLoop running=True closed=False debug=False> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 1896, in _run_once handle._run() │ └ ()> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\events.py", line 80, in _run self._context.run(self._callback, *self._args) │ │ │ │ │ └ │ │ │ │ └ ()> │ │ │ └ │ │ └ ()> │ └ ()> > File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\protocols\http\h11_impl.py", line 403, in run_asgi result = await app( # type: ignore[func-returns-value] └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\middleware\proxy_headers.py", line 60, in __call__ return await self.app(scope, receive, send) │ │ │ │ └ > │ │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\fastapi\applications.py", line 1054, in __call__ await super().__call__(scope, receive, send) │ │ └ > │ └ > │ │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\errors.py", line 187, in __call__ raise exc File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\errors.py", line 165, in __call__ await self.app(scope, receive, _send) │ │ │ │ └ ._send at 0x0000025FCAE14280> │ │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\cors.py", line 85, in __call__ await self.app(scope, receive, send) │ │ │ │ └ ._send at 0x0000025FCAE14280> │ │ │ └ , header_name='... └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\asgi_correlation_id\middleware.py", line 90, in __call__ await self.app(scope, receive, handle_outgoing_request) │ │ │ │ └ .handle_outgoing_request at 0x0000025FF9359C60> │ │ │ └ └ CorrelationIdMiddleware(app=, header_name='... File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\exceptions.py", line 62, in __call__ await wrap_app_handling_exceptions(self.app, conn)(scope, receive, send) │ │ │ │ │ │ └ .handle_outgoing_request at 0x0000025FF9359C60> │ │ │ │ │ └ │ │ └ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 53, in wrapped_app raise exc File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 42, in wrapped_app await app(scope, receive, sender) │ │ │ └ .wrapped_app..sender at 0x0000025FF935A320> │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 714, in __call__ await self.middleware_stack(scope, receive, send) │ │ │ │ └ .wrapped_app..sender at 0x0000025FF935A320> │ │ │ └ > └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 734, in app await route.handle(scope, receive, send) │ │ │ │ └ .wrapped_app..sender at 0x0000025FF935A320> │ │ │ └ └ APIRoute(path='/api/v1/time/ambiguity-selection', name='time_ambiguity_selection', methods=['POST']) File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 288, in handle await self.app(scope, receive, send) │ │ │ │ └ .wrapped_app..sender at 0x0000025FF935A320> │ │ │ └ .app at 0x0000025FCC30CDC0> └ APIRoute(path='/api/v1/time/ambiguity-selection', name='time_ambiguity_selection', methods=['POST']) File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 76, in app await wrap_app_handling_exceptions(app, request)(scope, receive, send) │ │ │ │ │ └ .wrapped_app..sender at 0x0000025FF935A320> │ │ │ │ └ │ └ .app..app at 0x0000025FF935A290> └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 53, in wrapped_app raise exc File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 42, in wrapped_app await app(scope, receive, sender) │ │ │ └ .wrapped_app..sender at 0x0000025FF935A200> │ │ └ .app..app at 0x0000025FF935A290> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 73, in app response = await f(request) │ └ .app at 0x0000025FCC30CD30> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\fastapi\routing.py", line 301, in app raw_response = await run_endpoint_function( └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\fastapi\routing.py", line 212, in run_endpoint_function return await dependant.call(**values) │ │ └ {'request': } │ └ └ Dependant(path_params=[], query_params=[], header_params=[], cookie_params=[], body_params=[], dependencies=[], security_requ... File "C:\University-HCMUTE\InternFuta\ApiDialogflowChatbot\app\api\v1\time.py", line 52, in time_ambiguity_selection DialogflowResponseBuilder() └ File "C:\University-HCMUTE\InternFuta\ApiDialogflowChatbot\app\dialogflow\schemas\response.py", line 121, in add_choice_chips return self.add_payload(chips) │ └ UnboundLocalError: local variable 'chips' referenced before assignment 2025-06-17 10:34:03.453 | ERROR | 3ef17655190e43a99f1f6ba8b873052b | Time selection is empty 2025-06-17 10:39:38.051 | ERROR | - | Traceback (most recent call last): File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\runners.py", line 44, in run return loop.run_until_complete(main) File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 633, in run_until_complete self.run_forever() File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 600, in run_forever self._run_once() File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 1896, in _run_once handle._run() File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\events.py", line 80, in _run self._context.run(self._callback, *self._args) File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\server.py", line 69, in serve with self.capture_signals(): File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\contextlib.py", line 142, in __exit__ next(self.gen) File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\server.py", line 330, in capture_signals signal.raise_signal(captured_signal) KeyboardInterrupt During handling of the above exception, another exception occurred: Traceback (most recent call last): File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 699, in lifespan await receive() File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\lifespan\on.py", line 137, in receive return await self.receive_queue.get() File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\queues.py", line 159, in get await getter asyncio.exceptions.CancelledError 2025-06-17 11:05:59.329 | ERROR | - | Traceback (most recent call last): File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\runners.py", line 44, in run return loop.run_until_complete(main) File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 633, in run_until_complete self.run_forever() File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 600, in run_forever self._run_once() File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 1896, in _run_once handle._run() File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\events.py", line 80, in _run self._context.run(self._callback, *self._args) File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\server.py", line 69, in serve with self.capture_signals(): File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\contextlib.py", line 142, in __exit__ next(self.gen) File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\server.py", line 330, in capture_signals signal.raise_signal(captured_signal) KeyboardInterrupt During handling of the above exception, another exception occurred: Traceback (most recent call last): File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 699, in lifespan await receive() File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\lifespan\on.py", line 137, in receive return await self.receive_queue.get() File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\queues.py", line 159, in get await getter asyncio.exceptions.CancelledError 2025-06-17 11:20:07.327 | ERROR | afbd313f3e0947de98b431590cc7c2cb | Time selection is empty 2025-06-17 11:20:10.926 | ERROR | c0214b48e2654460829eeccc57026225 | Error parsing trip parameters 2025-06-17 11:22:10.286 | ERROR | 516e787b5e6e4bf7b673501316e21a75 | Time selection is empty 2025-06-17 11:22:13.651 | ERROR | 8f9622d4936e47b2b83dc5c728c43104 | Error parsing trip parameters 2025-06-17 11:26:37.746 | ERROR | 7e823e85e0f94cbdb5ec38917d904a86 | Time selection is empty 2025-06-17 11:26:41.003 | ERROR | 8ee9bec3c44646b583b14b084b273283 | Error parsing trip parameters 2025-06-17 11:29:49.284 | ERROR | 53640cae6c734e6f9200a0a2e49e5378 | Time selection is empty 2025-06-17 11:29:52.412 | ERROR | e0b4718ee76345bc833aa70fd080079e | Error parsing trip parameters 2025-06-17 11:34:16.795 | ERROR | e1eed19659c04f54bda55dfff4593ebd | Time selection is empty 2025-06-17 11:34:20.243 | ERROR | 743735d1f9354b0d9c6c2b6570e4174c | Exception in ASGI application Traceback (most recent call last): File "C:\University-HCMUTE\InternFuta\ApiDialogflowChatbot\app\api\v1\trip.py", line 50, in confirm data = TripQueryRequest(**parameters) │ └ {'date': {'year': 2025.0, 'month': 6.0, 'day': 18.0}, 'departure_city': 'Thành phố Hồ Chí Minh', 'destination_city': 'Thành p... └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\pydantic\main.py", line 253, in __init__ validated_self = self.__pydantic_validator__.validate_python(data, self_instance=self) │ │ │ │ └ TripQueryRequest() │ │ │ └ {'date': {'year': 2025.0, 'month': 6.0, 'day': 18.0}, 'departure_city': 'Thành phố Hồ Chí Minh', 'destination_city': 'Thành p... │ │ └ │ └ SchemaValidator(title="TripQueryRequest", validator=Model( │ ModelValidator { │ revalidate: Never, │ validator:... └ TripQueryRequest() pydantic_core._pydantic_core.ValidationError: 2 validation errors for TripQueryRequest origin_office Field required [type=missing, input_value={'date': {'year': 2025.0,...ds': 0.0, 'nanos': 0.0}}, input_type=dict] For further information visit https://errors.pydantic.dev/2.11/v/missing dest_office Field required [type=missing, input_value={'date': {'year': 2025.0,...ds': 0.0, 'nanos': 0.0}}, input_type=dict] For further information visit https://errors.pydantic.dev/2.11/v/missing During handling of the above exception, another exception occurred: Traceback (most recent call last): File "", line 1, in File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\spawn.py", line 116, in spawn_main exitcode = _main(fd, parent_sentinel) │ │ └ 360 │ └ 3 └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\spawn.py", line 129, in _main return self._bootstrap(parent_sentinel) │ │ └ 360 │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\process.py", line 315, in _bootstrap self.run() │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\process.py", line 108, in run self._target(*self._args, **self._kwargs) │ │ │ │ │ └ {'config': , 'target': │ │ │ └ () │ │ └ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\_subprocess.py", line 80, in subprocess_started target(sockets=sockets) │ └ [] └ > File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\server.py", line 66, in run return asyncio.run(self.serve(sockets=sockets)) │ │ │ │ └ [] │ │ │ └ │ │ └ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\runners.py", line 44, in run return loop.run_until_complete(main) │ │ └ │ └ └ <_WindowsSelectorEventLoop running=True closed=False debug=False> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 633, in run_until_complete self.run_forever() │ └ └ <_WindowsSelectorEventLoop running=True closed=False debug=False> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 600, in run_forever self._run_once() │ └ └ <_WindowsSelectorEventLoop running=True closed=False debug=False> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 1896, in _run_once handle._run() │ └ ()> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\events.py", line 80, in _run self._context.run(self._callback, *self._args) │ │ │ │ │ └ │ │ │ │ └ ()> │ │ │ └ │ │ └ ()> │ └ ()> > File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\protocols\http\h11_impl.py", line 403, in run_asgi result = await app( # type: ignore[func-returns-value] └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\middleware\proxy_headers.py", line 60, in __call__ return await self.app(scope, receive, send) │ │ │ │ └ > │ │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\fastapi\applications.py", line 1054, in __call__ await super().__call__(scope, receive, send) │ │ └ > │ └ > │ │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\errors.py", line 187, in __call__ raise exc File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\errors.py", line 165, in __call__ await self.app(scope, receive, _send) │ │ │ │ └ ._send at 0x000001673625E0E0> │ │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\cors.py", line 85, in __call__ await self.app(scope, receive, send) │ │ │ │ └ ._send at 0x000001673625E0E0> │ │ │ └ , header_name='... └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\asgi_correlation_id\middleware.py", line 90, in __call__ await self.app(scope, receive, handle_outgoing_request) │ │ │ │ └ .handle_outgoing_request at 0x000001673625E320> │ │ │ └ └ CorrelationIdMiddleware(app=, header_name='... File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\exceptions.py", line 62, in __call__ await wrap_app_handling_exceptions(self.app, conn)(scope, receive, send) │ │ │ │ │ │ └ .handle_outgoing_request at 0x000001673625E320> │ │ │ │ │ └ │ │ └ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 53, in wrapped_app raise exc File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 42, in wrapped_app await app(scope, receive, sender) │ │ │ └ .wrapped_app..sender at 0x000001673625DF30> │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 714, in __call__ await self.middleware_stack(scope, receive, send) │ │ │ │ └ .wrapped_app..sender at 0x000001673625DF30> │ │ │ └ > └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 734, in app await route.handle(scope, receive, send) │ │ │ │ └ .wrapped_app..sender at 0x000001673625DF30> │ │ │ └ └ APIRoute(path='/api/v1/trip/confirm-info', name='confirm', methods=['POST']) File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 288, in handle await self.app(scope, receive, send) │ │ │ │ └ .wrapped_app..sender at 0x000001673625DF30> │ │ │ └ .app at 0x000001670920C4C0> └ APIRoute(path='/api/v1/trip/confirm-info', name='confirm', methods=['POST']) File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 76, in app await wrap_app_handling_exceptions(app, request)(scope, receive, send) │ │ │ │ │ └ .wrapped_app..sender at 0x000001673625DF30> │ │ │ │ └ │ └ .app..app at 0x000001673625E290> └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 53, in wrapped_app raise exc File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 42, in wrapped_app await app(scope, receive, sender) │ │ │ └ .wrapped_app..sender at 0x000001673625DCF0> │ │ └ .app..app at 0x000001673625E290> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 73, in app response = await f(request) │ └ .app at 0x000001670920C430> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\fastapi\routing.py", line 301, in app raw_response = await run_endpoint_function( └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\fastapi\routing.py", line 212, in run_endpoint_function return await dependant.call(**values) │ │ └ {'request': } │ └ └ Dependant(path_params=[], query_params=[], header_params=[], cookie_params=[], body_params=[], dependencies=[], security_requ... File "C:\University-HCMUTE\InternFuta\ApiDialogflowChatbot\app\api\v1\trip.py", line 52, in confirm logger.error(f"Error parsing trip parameters {e}", exc_info=True) │ └ ), (id=2, level=20, sink='C:\University-HCMUTE\InternFuta\ApiDialogflo... KeyError: "'date'" 2025-06-17 11:34:20.850 | ERROR | 81f1219e43364eba8b250834b3a54957 | Exception in ASGI application Traceback (most recent call last): File "C:\University-HCMUTE\InternFuta\ApiDialogflowChatbot\app\api\v1\trip.py", line 50, in confirm data = TripQueryRequest(**parameters) │ └ {'date': {'year': 2025.0, 'month': 6.0, 'day': 18.0}, 'departure_city': 'Thành phố Hồ Chí Minh', 'destination_city': 'Thành p... └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\pydantic\main.py", line 253, in __init__ validated_self = self.__pydantic_validator__.validate_python(data, self_instance=self) │ │ │ │ └ TripQueryRequest() │ │ │ └ {'date': {'year': 2025.0, 'month': 6.0, 'day': 18.0}, 'departure_city': 'Thành phố Hồ Chí Minh', 'destination_city': 'Thành p... │ │ └ │ └ SchemaValidator(title="TripQueryRequest", validator=Model( │ ModelValidator { │ revalidate: Never, │ validator:... └ TripQueryRequest() pydantic_core._pydantic_core.ValidationError: 2 validation errors for TripQueryRequest origin_office Field required [type=missing, input_value={'date': {'year': 2025.0,...ds': 0.0, 'nanos': 0.0}}, input_type=dict] For further information visit https://errors.pydantic.dev/2.11/v/missing dest_office Field required [type=missing, input_value={'date': {'year': 2025.0,...ds': 0.0, 'nanos': 0.0}}, input_type=dict] For further information visit https://errors.pydantic.dev/2.11/v/missing During handling of the above exception, another exception occurred: Traceback (most recent call last): File "", line 1, in File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\spawn.py", line 116, in spawn_main exitcode = _main(fd, parent_sentinel) │ │ └ 360 │ └ 3 └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\spawn.py", line 129, in _main return self._bootstrap(parent_sentinel) │ │ └ 360 │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\process.py", line 315, in _bootstrap self.run() │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\process.py", line 108, in run self._target(*self._args, **self._kwargs) │ │ │ │ │ └ {'config': , 'target': │ │ │ └ () │ │ └ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\_subprocess.py", line 80, in subprocess_started target(sockets=sockets) │ └ [] └ > File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\server.py", line 66, in run return asyncio.run(self.serve(sockets=sockets)) │ │ │ │ └ [] │ │ │ └ │ │ └ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\runners.py", line 44, in run return loop.run_until_complete(main) │ │ └ │ └ └ <_WindowsSelectorEventLoop running=True closed=False debug=False> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 633, in run_until_complete self.run_forever() │ └ └ <_WindowsSelectorEventLoop running=True closed=False debug=False> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 600, in run_forever self._run_once() │ └ └ <_WindowsSelectorEventLoop running=True closed=False debug=False> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 1896, in _run_once handle._run() │ └ ()> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\events.py", line 80, in _run self._context.run(self._callback, *self._args) │ │ │ │ │ └ │ │ │ │ └ ()> │ │ │ └ │ │ └ ()> │ └ ()> > File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\protocols\http\h11_impl.py", line 403, in run_asgi result = await app( # type: ignore[func-returns-value] └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\middleware\proxy_headers.py", line 60, in __call__ return await self.app(scope, receive, send) │ │ │ │ └ > │ │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\fastapi\applications.py", line 1054, in __call__ await super().__call__(scope, receive, send) │ │ └ > │ └ > │ │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\errors.py", line 187, in __call__ raise exc File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\errors.py", line 165, in __call__ await self.app(scope, receive, _send) │ │ │ │ └ ._send at 0x000001673625DE10> │ │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\cors.py", line 85, in __call__ await self.app(scope, receive, send) │ │ │ │ └ ._send at 0x000001673625DE10> │ │ │ └ , header_name='... └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\asgi_correlation_id\middleware.py", line 90, in __call__ await self.app(scope, receive, handle_outgoing_request) │ │ │ │ └ .handle_outgoing_request at 0x00000167362BBAC0> │ │ │ └ └ CorrelationIdMiddleware(app=, header_name='... File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\exceptions.py", line 62, in __call__ await wrap_app_handling_exceptions(self.app, conn)(scope, receive, send) │ │ │ │ │ │ └ .handle_outgoing_request at 0x00000167362BBAC0> │ │ │ │ │ └ │ │ └ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 53, in wrapped_app raise exc File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 42, in wrapped_app await app(scope, receive, sender) │ │ │ └ .wrapped_app..sender at 0x00000167362E0670> │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 714, in __call__ await self.middleware_stack(scope, receive, send) │ │ │ │ └ .wrapped_app..sender at 0x00000167362E0670> │ │ │ └ > └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 734, in app await route.handle(scope, receive, send) │ │ │ │ └ .wrapped_app..sender at 0x00000167362E0670> │ │ │ └ └ APIRoute(path='/api/v1/trip/confirm-info', name='confirm', methods=['POST']) File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 288, in handle await self.app(scope, receive, send) │ │ │ │ └ .wrapped_app..sender at 0x00000167362E0670> │ │ │ └ .app at 0x000001670920C4C0> └ APIRoute(path='/api/v1/trip/confirm-info', name='confirm', methods=['POST']) File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 76, in app await wrap_app_handling_exceptions(app, request)(scope, receive, send) │ │ │ │ │ └ .wrapped_app..sender at 0x00000167362E0670> │ │ │ │ └ │ └ .app..app at 0x00000167362E0700> └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 53, in wrapped_app raise exc File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 42, in wrapped_app await app(scope, receive, sender) │ │ │ └ .wrapped_app..sender at 0x00000167362E0790> │ │ └ .app..app at 0x00000167362E0700> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 73, in app response = await f(request) │ └ .app at 0x000001670920C430> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\fastapi\routing.py", line 301, in app raw_response = await run_endpoint_function( └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\fastapi\routing.py", line 212, in run_endpoint_function return await dependant.call(**values) │ │ └ {'request': } │ └ └ Dependant(path_params=[], query_params=[], header_params=[], cookie_params=[], body_params=[], dependencies=[], security_requ... File "C:\University-HCMUTE\InternFuta\ApiDialogflowChatbot\app\api\v1\trip.py", line 52, in confirm logger.error(f"Error parsing trip parameters {e}", exc_info=True) │ └ ), (id=2, level=20, sink='C:\University-HCMUTE\InternFuta\ApiDialogflo... KeyError: "'date'" 2025-06-17 11:38:26.866 | ERROR | 9184a886abfe4fcfbaaf84a798f3753c | Time selection is empty 2025-06-17 11:38:29.833 | ERROR | 797b90a1dd9b4dbebfdbff331f2df5e9 | Exception in ASGI application Traceback (most recent call last): File "", line 1, in File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\spawn.py", line 116, in spawn_main exitcode = _main(fd, parent_sentinel) │ │ └ 360 │ └ 3 └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\spawn.py", line 129, in _main return self._bootstrap(parent_sentinel) │ │ └ 360 │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\process.py", line 315, in _bootstrap self.run() │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\process.py", line 108, in run self._target(*self._args, **self._kwargs) │ │ │ │ │ └ {'config': , 'target': │ │ │ └ () │ │ └ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\_subprocess.py", line 80, in subprocess_started target(sockets=sockets) │ └ [] └ > File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\server.py", line 66, in run return asyncio.run(self.serve(sockets=sockets)) │ │ │ │ └ [] │ │ │ └ │ │ └ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\runners.py", line 44, in run return loop.run_until_complete(main) │ │ └ │ └ └ <_WindowsSelectorEventLoop running=True closed=False debug=False> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 633, in run_until_complete self.run_forever() │ └ └ <_WindowsSelectorEventLoop running=True closed=False debug=False> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 600, in run_forever self._run_once() │ └ └ <_WindowsSelectorEventLoop running=True closed=False debug=False> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 1896, in _run_once handle._run() │ └ ()> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\events.py", line 80, in _run self._context.run(self._callback, *self._args) │ │ │ │ │ └ │ │ │ │ └ ()> │ │ │ └ │ │ └ ()> │ └ ()> > File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\protocols\http\h11_impl.py", line 403, in run_asgi result = await app( # type: ignore[func-returns-value] └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\middleware\proxy_headers.py", line 60, in __call__ return await self.app(scope, receive, send) │ │ │ │ └ > │ │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\fastapi\applications.py", line 1054, in __call__ await super().__call__(scope, receive, send) │ │ └ > │ └ > │ │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\errors.py", line 187, in __call__ raise exc File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\errors.py", line 165, in __call__ await self.app(scope, receive, _send) │ │ │ │ └ ._send at 0x000002DC10BCE200> │ │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\cors.py", line 85, in __call__ await self.app(scope, receive, send) │ │ │ │ └ ._send at 0x000002DC10BCE200> │ │ │ └ , header_name='... └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\asgi_correlation_id\middleware.py", line 90, in __call__ await self.app(scope, receive, handle_outgoing_request) │ │ │ │ └ .handle_outgoing_request at 0x000002DC10BCDF30> │ │ │ └ └ CorrelationIdMiddleware(app=, header_name='... File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\exceptions.py", line 62, in __call__ await wrap_app_handling_exceptions(self.app, conn)(scope, receive, send) │ │ │ │ │ │ └ .handle_outgoing_request at 0x000002DC10BCDF30> │ │ │ │ │ └ │ │ └ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 53, in wrapped_app raise exc File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 42, in wrapped_app await app(scope, receive, sender) │ │ │ └ .wrapped_app..sender at 0x000002DC10BCE0E0> │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 714, in __call__ await self.middleware_stack(scope, receive, send) │ │ │ │ └ .wrapped_app..sender at 0x000002DC10BCE0E0> │ │ │ └ > └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 734, in app await route.handle(scope, receive, send) │ │ │ │ └ .wrapped_app..sender at 0x000002DC10BCE0E0> │ │ │ └ └ APIRoute(path='/api/v1/trip/confirm-info', name='confirm', methods=['POST']) File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 288, in handle await self.app(scope, receive, send) │ │ │ │ └ .wrapped_app..sender at 0x000002DC10BCE0E0> │ │ │ └ .app at 0x000002DC63B7C430> └ APIRoute(path='/api/v1/trip/confirm-info', name='confirm', methods=['POST']) File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 76, in app await wrap_app_handling_exceptions(app, request)(scope, receive, send) │ │ │ │ │ └ .wrapped_app..sender at 0x000002DC10BCE0E0> │ │ │ │ └ │ └ .app..app at 0x000002DC10BCE050> └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 53, in wrapped_app raise exc File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 42, in wrapped_app await app(scope, receive, sender) │ │ │ └ .wrapped_app..sender at 0x000002DC10BCDFC0> │ │ └ .app..app at 0x000002DC10BCE050> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 73, in app response = await f(request) │ └ .app at 0x000002DC63B7C3A0> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\fastapi\routing.py", line 301, in app raw_response = await run_endpoint_function( └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\fastapi\routing.py", line 212, in run_endpoint_function return await dependant.call(**values) │ │ └ {'request': } │ └ └ Dependant(path_params=[], query_params=[], header_params=[], cookie_params=[], body_params=[], dependencies=[], security_requ... File "C:\University-HCMUTE\InternFuta\ApiDialogflowChatbot\app\api\v1\trip.py", line 55, in confirm rs: DialogServiceResult = await TripService.confirm_trip_search_input(data=data) │ │ └ TripQueryRequest(departure_city='Thành phố Hồ Chí Minh', destination_city='Thành phố Đà Lạt', origin_office=None, dest_office... │ └ File "C:\University-HCMUTE\InternFuta\ApiDialogflowChatbot\app\dialogflow\services\trip_service.py", line 71, in confirm_trip_search_input date, week_day = get_weekday_name(data.date) │ │ └ {'year': 2025.0, 'month': 6.0, 'day': 18.0} │ └ TripQueryRequest(departure_city='Thành phố Hồ Chí Minh', destination_city='Thành phố Đà Lạt', origin_office=None, dest_office... └ File "C:\University-HCMUTE\InternFuta\ApiDialogflowChatbot\app\dialogflow\services\helper.py", line 92, in get_weekday_name weekday_ids = date.weekday() └ {'year': 2025.0, 'month': 6.0, 'day': 18.0} AttributeError: 'dict' object has no attribute 'weekday' 2025-06-17 11:38:30.349 | ERROR | 8d65a56e1d5e4d7f8d8cb07a76dc937e | Exception in ASGI application Traceback (most recent call last): File "", line 1, in File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\spawn.py", line 116, in spawn_main exitcode = _main(fd, parent_sentinel) │ │ └ 360 │ └ 3 └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\spawn.py", line 129, in _main return self._bootstrap(parent_sentinel) │ │ └ 360 │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\process.py", line 315, in _bootstrap self.run() │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\process.py", line 108, in run self._target(*self._args, **self._kwargs) │ │ │ │ │ └ {'config': , 'target': │ │ │ └ () │ │ └ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\_subprocess.py", line 80, in subprocess_started target(sockets=sockets) │ └ [] └ > File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\server.py", line 66, in run return asyncio.run(self.serve(sockets=sockets)) │ │ │ │ └ [] │ │ │ └ │ │ └ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\runners.py", line 44, in run return loop.run_until_complete(main) │ │ └ │ └ └ <_WindowsSelectorEventLoop running=True closed=False debug=False> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 633, in run_until_complete self.run_forever() │ └ └ <_WindowsSelectorEventLoop running=True closed=False debug=False> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 600, in run_forever self._run_once() │ └ └ <_WindowsSelectorEventLoop running=True closed=False debug=False> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 1896, in _run_once handle._run() │ └ ()> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\events.py", line 80, in _run self._context.run(self._callback, *self._args) │ │ │ │ │ └ │ │ │ │ └ ()> │ │ │ └ │ │ └ ()> │ └ ()> > File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\protocols\http\h11_impl.py", line 403, in run_asgi result = await app( # type: ignore[func-returns-value] └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\middleware\proxy_headers.py", line 60, in __call__ return await self.app(scope, receive, send) │ │ │ │ └ > │ │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\fastapi\applications.py", line 1054, in __call__ await super().__call__(scope, receive, send) │ │ └ > │ └ > │ │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\errors.py", line 187, in __call__ raise exc File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\errors.py", line 165, in __call__ await self.app(scope, receive, _send) │ │ │ │ └ ._send at 0x000002DC10BCFE20> │ │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\cors.py", line 85, in __call__ await self.app(scope, receive, send) │ │ │ │ └ ._send at 0x000002DC10BCFE20> │ │ │ └ , header_name='... └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\asgi_correlation_id\middleware.py", line 90, in __call__ await self.app(scope, receive, handle_outgoing_request) │ │ │ │ └ .handle_outgoing_request at 0x000002DC10BCE440> │ │ │ └ └ CorrelationIdMiddleware(app=, header_name='... File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\exceptions.py", line 62, in __call__ await wrap_app_handling_exceptions(self.app, conn)(scope, receive, send) │ │ │ │ │ │ └ .handle_outgoing_request at 0x000002DC10BCE440> │ │ │ │ │ └ │ │ └ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 53, in wrapped_app raise exc File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 42, in wrapped_app await app(scope, receive, sender) │ │ │ └ .wrapped_app..sender at 0x000002DC10BCDD80> │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 714, in __call__ await self.middleware_stack(scope, receive, send) │ │ │ │ └ .wrapped_app..sender at 0x000002DC10BCDD80> │ │ │ └ > └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 734, in app await route.handle(scope, receive, send) │ │ │ │ └ .wrapped_app..sender at 0x000002DC10BCDD80> │ │ │ └ └ APIRoute(path='/api/v1/trip/confirm-info', name='confirm', methods=['POST']) File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 288, in handle await self.app(scope, receive, send) │ │ │ │ └ .wrapped_app..sender at 0x000002DC10BCDD80> │ │ │ └ .app at 0x000002DC63B7C430> └ APIRoute(path='/api/v1/trip/confirm-info', name='confirm', methods=['POST']) File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 76, in app await wrap_app_handling_exceptions(app, request)(scope, receive, send) │ │ │ │ │ └ .wrapped_app..sender at 0x000002DC10BCDD80> │ │ │ │ └ │ └ .app..app at 0x000002DC10BCFEB0> └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 53, in wrapped_app raise exc File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 42, in wrapped_app await app(scope, receive, sender) │ │ │ └ .wrapped_app..sender at 0x000002DC10BCFF40> │ │ └ .app..app at 0x000002DC10BCFEB0> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 73, in app response = await f(request) │ └ .app at 0x000002DC63B7C3A0> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\fastapi\routing.py", line 301, in app raw_response = await run_endpoint_function( └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\fastapi\routing.py", line 212, in run_endpoint_function return await dependant.call(**values) │ │ └ {'request': } │ └ └ Dependant(path_params=[], query_params=[], header_params=[], cookie_params=[], body_params=[], dependencies=[], security_requ... File "C:\University-HCMUTE\InternFuta\ApiDialogflowChatbot\app\api\v1\trip.py", line 55, in confirm rs: DialogServiceResult = await TripService.confirm_trip_search_input(data=data) │ │ └ TripQueryRequest(departure_city='Thành phố Hồ Chí Minh', destination_city='Thành phố Đà Lạt', origin_office=None, dest_office... │ └ File "C:\University-HCMUTE\InternFuta\ApiDialogflowChatbot\app\dialogflow\services\trip_service.py", line 71, in confirm_trip_search_input date, week_day = get_weekday_name(data.date) │ │ └ {'year': 2025.0, 'month': 6.0, 'day': 18.0} │ └ TripQueryRequest(departure_city='Thành phố Hồ Chí Minh', destination_city='Thành phố Đà Lạt', origin_office=None, dest_office... └ File "C:\University-HCMUTE\InternFuta\ApiDialogflowChatbot\app\dialogflow\services\helper.py", line 92, in get_weekday_name weekday_ids = date.weekday() └ {'year': 2025.0, 'month': 6.0, 'day': 18.0} AttributeError: 'dict' object has no attribute 'weekday' 2025-06-17 11:42:47.838 | ERROR | 9f436e013385433c9d5240194e293624 | Time selection is empty 2025-06-17 11:42:50.599 | ERROR | 5fe892d015654941a0e90974e9fcceb4 | Exception in ASGI application Traceback (most recent call last): File "", line 1, in File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\spawn.py", line 116, in spawn_main exitcode = _main(fd, parent_sentinel) │ │ └ 340 │ └ 3 └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\spawn.py", line 129, in _main return self._bootstrap(parent_sentinel) │ │ └ 340 │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\process.py", line 315, in _bootstrap self.run() │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\process.py", line 108, in run self._target(*self._args, **self._kwargs) │ │ │ │ │ └ {'config': , 'target': │ │ │ └ () │ │ └ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\_subprocess.py", line 80, in subprocess_started target(sockets=sockets) │ └ [] └ > File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\server.py", line 66, in run return asyncio.run(self.serve(sockets=sockets)) │ │ │ │ └ [] │ │ │ └ │ │ └ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\runners.py", line 44, in run return loop.run_until_complete(main) │ │ └ │ └ └ <_WindowsSelectorEventLoop running=True closed=False debug=False> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 633, in run_until_complete self.run_forever() │ └ └ <_WindowsSelectorEventLoop running=True closed=False debug=False> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 600, in run_forever self._run_once() │ └ └ <_WindowsSelectorEventLoop running=True closed=False debug=False> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 1896, in _run_once handle._run() │ └ ()> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\events.py", line 80, in _run self._context.run(self._callback, *self._args) │ │ │ │ │ └ │ │ │ │ └ ()> │ │ │ └ │ │ └ ()> │ └ ()> > File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\protocols\http\h11_impl.py", line 403, in run_asgi result = await app( # type: ignore[func-returns-value] └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\middleware\proxy_headers.py", line 60, in __call__ return await self.app(scope, receive, send) │ │ │ │ └ > │ │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\fastapi\applications.py", line 1054, in __call__ await super().__call__(scope, receive, send) │ │ └ > │ └ > │ │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\errors.py", line 187, in __call__ raise exc File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\errors.py", line 165, in __call__ await self.app(scope, receive, _send) │ │ │ │ └ ._send at 0x0000020C7E0B9FC0> │ │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\cors.py", line 85, in __call__ await self.app(scope, receive, send) │ │ │ │ └ ._send at 0x0000020C7E0B9FC0> │ │ │ └ , header_name='... └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\asgi_correlation_id\middleware.py", line 90, in __call__ await self.app(scope, receive, handle_outgoing_request) │ │ │ │ └ .handle_outgoing_request at 0x0000020C7E0BA050> │ │ │ └ └ CorrelationIdMiddleware(app=, header_name='... File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\exceptions.py", line 62, in __call__ await wrap_app_handling_exceptions(self.app, conn)(scope, receive, send) │ │ │ │ │ │ └ .handle_outgoing_request at 0x0000020C7E0BA050> │ │ │ │ │ └ │ │ └ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 53, in wrapped_app raise exc File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 42, in wrapped_app await app(scope, receive, sender) │ │ │ └ .wrapped_app..sender at 0x0000020C7E0B9D80> │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 714, in __call__ await self.middleware_stack(scope, receive, send) │ │ │ │ └ .wrapped_app..sender at 0x0000020C7E0B9D80> │ │ │ └ > └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 734, in app await route.handle(scope, receive, send) │ │ │ │ └ .wrapped_app..sender at 0x0000020C7E0B9D80> │ │ │ └ └ APIRoute(path='/api/v1/trip/confirm-info', name='confirm', methods=['POST']) File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 288, in handle await self.app(scope, receive, send) │ │ │ │ └ .wrapped_app..sender at 0x0000020C7E0B9D80> │ │ │ └ .app at 0x0000020C5106C280> └ APIRoute(path='/api/v1/trip/confirm-info', name='confirm', methods=['POST']) File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 76, in app await wrap_app_handling_exceptions(app, request)(scope, receive, send) │ │ │ │ │ └ .wrapped_app..sender at 0x0000020C7E0B9D80> │ │ │ │ └ │ └ .app..app at 0x0000020C7E0B9F30> └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 53, in wrapped_app raise exc File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 42, in wrapped_app await app(scope, receive, sender) │ │ │ └ .wrapped_app..sender at 0x0000020C7E0B9EA0> │ │ └ .app..app at 0x0000020C7E0B9F30> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 73, in app response = await f(request) │ └ .app at 0x0000020C5106C1F0> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\fastapi\routing.py", line 301, in app raw_response = await run_endpoint_function( └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\fastapi\routing.py", line 212, in run_endpoint_function return await dependant.call(**values) │ │ └ {'request': } │ └ └ Dependant(path_params=[], query_params=[], header_params=[], cookie_params=[], body_params=[], dependencies=[], security_requ... File "C:\University-HCMUTE\InternFuta\ApiDialogflowChatbot\app\api\v1\trip.py", line 55, in confirm rs: DialogServiceResult = await TripService.confirm_trip_search_input(data=data) │ │ └ TripQueryRequest(departure_city='Thành phố Hồ Chí Minh', destination_city='Thành phố Đà Lạt', origin_office=None, dest_office... │ └ File "C:\University-HCMUTE\InternFuta\ApiDialogflowChatbot\app\dialogflow\services\trip_service.py", line 75, in confirm_trip_search_input text += f"**Điểm đi:** {data.origin_office or data.departure_city}\n" UnboundLocalError: local variable 'text' referenced before assignment 2025-06-17 11:43:46.942 | ERROR | 0faf37deff23479aa0b2d3bc1606042c | Time selection is empty 2025-06-17 11:43:51.622 | ERROR | d79d2b12afd84ab7b8cf431e626d243e | Exception in ASGI application Traceback (most recent call last): File "", line 1, in File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\spawn.py", line 116, in spawn_main exitcode = _main(fd, parent_sentinel) │ │ └ 336 │ └ 3 └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\spawn.py", line 129, in _main return self._bootstrap(parent_sentinel) │ │ └ 336 │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\process.py", line 315, in _bootstrap self.run() │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\process.py", line 108, in run self._target(*self._args, **self._kwargs) │ │ │ │ │ └ {'config': , 'target': │ │ │ └ () │ │ └ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\_subprocess.py", line 80, in subprocess_started target(sockets=sockets) │ └ [] └ > File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\server.py", line 66, in run return asyncio.run(self.serve(sockets=sockets)) │ │ │ │ └ [] │ │ │ └ │ │ └ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\runners.py", line 44, in run return loop.run_until_complete(main) │ │ └ │ └ └ <_WindowsSelectorEventLoop running=True closed=False debug=False> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 633, in run_until_complete self.run_forever() │ └ └ <_WindowsSelectorEventLoop running=True closed=False debug=False> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 600, in run_forever self._run_once() │ └ └ <_WindowsSelectorEventLoop running=True closed=False debug=False> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 1896, in _run_once handle._run() │ └ ()> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\events.py", line 80, in _run self._context.run(self._callback, *self._args) │ │ │ │ │ └ │ │ │ │ └ ()> │ │ │ └ │ │ └ ()> │ └ ()> > File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\protocols\http\h11_impl.py", line 403, in run_asgi result = await app( # type: ignore[func-returns-value] └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\middleware\proxy_headers.py", line 60, in __call__ return await self.app(scope, receive, send) │ │ │ │ └ > │ │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\fastapi\applications.py", line 1054, in __call__ await super().__call__(scope, receive, send) │ │ └ > │ └ > │ │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\errors.py", line 187, in __call__ raise exc File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\errors.py", line 165, in __call__ await self.app(scope, receive, _send) │ │ │ │ └ ._send at 0x000001E11DE39E10> │ │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\cors.py", line 85, in __call__ await self.app(scope, receive, send) │ │ │ │ └ ._send at 0x000001E11DE39E10> │ │ │ └ , header_name='... └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\asgi_correlation_id\middleware.py", line 90, in __call__ await self.app(scope, receive, handle_outgoing_request) │ │ │ │ └ .handle_outgoing_request at 0x000001E11DE39F30> │ │ │ └ └ CorrelationIdMiddleware(app=, header_name='... File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\exceptions.py", line 62, in __call__ await wrap_app_handling_exceptions(self.app, conn)(scope, receive, send) │ │ │ │ │ │ └ .handle_outgoing_request at 0x000001E11DE39F30> │ │ │ │ │ └ │ │ └ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 53, in wrapped_app raise exc File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 42, in wrapped_app await app(scope, receive, sender) │ │ │ └ .wrapped_app..sender at 0x000001E11DE3A170> │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 714, in __call__ await self.middleware_stack(scope, receive, send) │ │ │ │ └ .wrapped_app..sender at 0x000001E11DE3A170> │ │ │ └ > └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 734, in app await route.handle(scope, receive, send) │ │ │ │ └ .wrapped_app..sender at 0x000001E11DE3A170> │ │ │ └ └ APIRoute(path='/api/v1/trip/confirm-info', name='confirm', methods=['POST']) File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 288, in handle await self.app(scope, receive, send) │ │ │ │ └ .wrapped_app..sender at 0x000001E11DE3A170> │ │ │ └ .app at 0x000001E170BBC310> └ APIRoute(path='/api/v1/trip/confirm-info', name='confirm', methods=['POST']) File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 76, in app await wrap_app_handling_exceptions(app, request)(scope, receive, send) │ │ │ │ │ └ .wrapped_app..sender at 0x000001E11DE3A170> │ │ │ │ └ │ └ .app..app at 0x000001E11DE39D80> └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 53, in wrapped_app raise exc File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 42, in wrapped_app await app(scope, receive, sender) │ │ │ └ .wrapped_app..sender at 0x000001E11DE3A0E0> │ │ └ .app..app at 0x000001E11DE39D80> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 73, in app response = await f(request) │ └ .app at 0x000001E170BBC280> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\fastapi\routing.py", line 301, in app raw_response = await run_endpoint_function( └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\fastapi\routing.py", line 212, in run_endpoint_function return await dependant.call(**values) │ │ └ {'request': } │ └ └ Dependant(path_params=[], query_params=[], header_params=[], cookie_params=[], body_params=[], dependencies=[], security_requ... File "C:\University-HCMUTE\InternFuta\ApiDialogflowChatbot\app\api\v1\trip.py", line 55, in confirm rs: DialogServiceResult = await TripService.confirm_trip_search_input(data=data) │ │ └ TripQueryRequest(departure_city='Thành phố Hồ Chí Minh', destination_city='Thành phố Đà Lạt', origin_office=None, dest_office... │ └ TypeError: object DialogServiceResult can't be used in 'await' expression 2025-06-17 11:43:52.195 | ERROR | a53fa2391ad74ab9bc2f4fd7d5499d48 | Exception in ASGI application Traceback (most recent call last): File "", line 1, in File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\spawn.py", line 116, in spawn_main exitcode = _main(fd, parent_sentinel) │ │ └ 336 │ └ 3 └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\spawn.py", line 129, in _main return self._bootstrap(parent_sentinel) │ │ └ 336 │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\process.py", line 315, in _bootstrap self.run() │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\process.py", line 108, in run self._target(*self._args, **self._kwargs) │ │ │ │ │ └ {'config': , 'target': │ │ │ └ () │ │ └ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\_subprocess.py", line 80, in subprocess_started target(sockets=sockets) │ └ [] └ > File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\server.py", line 66, in run return asyncio.run(self.serve(sockets=sockets)) │ │ │ │ └ [] │ │ │ └ │ │ └ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\runners.py", line 44, in run return loop.run_until_complete(main) │ │ └ │ └ └ <_WindowsSelectorEventLoop running=True closed=False debug=False> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 633, in run_until_complete self.run_forever() │ └ └ <_WindowsSelectorEventLoop running=True closed=False debug=False> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 600, in run_forever self._run_once() │ └ └ <_WindowsSelectorEventLoop running=True closed=False debug=False> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 1896, in _run_once handle._run() │ └ ()> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\events.py", line 80, in _run self._context.run(self._callback, *self._args) │ │ │ │ │ └ │ │ │ │ └ ()> │ │ │ └ │ │ └ ()> │ └ ()> > File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\protocols\http\h11_impl.py", line 403, in run_asgi result = await app( # type: ignore[func-returns-value] └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\middleware\proxy_headers.py", line 60, in __call__ return await self.app(scope, receive, send) │ │ │ │ └ > │ │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\fastapi\applications.py", line 1054, in __call__ await super().__call__(scope, receive, send) │ │ └ > │ └ > │ │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\errors.py", line 187, in __call__ raise exc File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\errors.py", line 165, in __call__ await self.app(scope, receive, _send) │ │ │ │ └ ._send at 0x000001E11DE3B1C0> │ │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\cors.py", line 85, in __call__ await self.app(scope, receive, send) │ │ │ │ └ ._send at 0x000001E11DE3B1C0> │ │ │ └ , header_name='... └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\asgi_correlation_id\middleware.py", line 90, in __call__ await self.app(scope, receive, handle_outgoing_request) │ │ │ │ └ .handle_outgoing_request at 0x000001E11DE3AF80> │ │ │ └ └ CorrelationIdMiddleware(app=, header_name='... File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\exceptions.py", line 62, in __call__ await wrap_app_handling_exceptions(self.app, conn)(scope, receive, send) │ │ │ │ │ │ └ .handle_outgoing_request at 0x000001E11DE3AF80> │ │ │ │ │ └ │ │ └ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 53, in wrapped_app raise exc File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 42, in wrapped_app await app(scope, receive, sender) │ │ │ └ .wrapped_app..sender at 0x000001E11DE39B40> │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 714, in __call__ await self.middleware_stack(scope, receive, send) │ │ │ │ └ .wrapped_app..sender at 0x000001E11DE39B40> │ │ │ └ > └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 734, in app await route.handle(scope, receive, send) │ │ │ │ └ .wrapped_app..sender at 0x000001E11DE39B40> │ │ │ └ └ APIRoute(path='/api/v1/trip/confirm-info', name='confirm', methods=['POST']) File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 288, in handle await self.app(scope, receive, send) │ │ │ │ └ .wrapped_app..sender at 0x000001E11DE39B40> │ │ │ └ .app at 0x000001E170BBC310> └ APIRoute(path='/api/v1/trip/confirm-info', name='confirm', methods=['POST']) File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 76, in app await wrap_app_handling_exceptions(app, request)(scope, receive, send) │ │ │ │ │ └ .wrapped_app..sender at 0x000001E11DE39B40> │ │ │ │ └ │ └ .app..app at 0x000001E11DE3A320> └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 53, in wrapped_app raise exc File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 42, in wrapped_app await app(scope, receive, sender) │ │ │ └ .wrapped_app..sender at 0x000001E11DE3B010> │ │ └ .app..app at 0x000001E11DE3A320> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 73, in app response = await f(request) │ └ .app at 0x000001E170BBC280> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\fastapi\routing.py", line 301, in app raw_response = await run_endpoint_function( └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\fastapi\routing.py", line 212, in run_endpoint_function return await dependant.call(**values) │ │ └ {'request': } │ └ └ Dependant(path_params=[], query_params=[], header_params=[], cookie_params=[], body_params=[], dependencies=[], security_requ... File "C:\University-HCMUTE\InternFuta\ApiDialogflowChatbot\app\api\v1\trip.py", line 55, in confirm rs: DialogServiceResult = await TripService.confirm_trip_search_input(data=data) │ │ └ TripQueryRequest(departure_city='Thành phố Hồ Chí Minh', destination_city='Thành phố Đà Lạt', origin_office=None, dest_office... │ └ TypeError: object DialogServiceResult can't be used in 'await' expression 2025-06-17 11:44:50.559 | ERROR | 0eb872b459174224af46ecac709bee9e | Time selection is empty 2025-06-17 11:46:57.345 | ERROR | 499e898f1b1c4379ad9658770e1ea825 | Time selection is empty 2025-06-17 11:47:20.437 | ERROR | 0f2dd9bee10d47e8a119c062849dad2a | Invalid location parameters 2025-06-17 11:47:21.224 | ERROR | a8fe4b2b177f402aaa8b061921c1d20b | Invalid location parameters 2025-06-17 11:47:21.774 | ERROR | fe36215c81264d84b25ef185981af4d7 | Invalid location parameters 2025-06-17 11:47:22.327 | ERROR | 2a25d86c52b14159889e89426e09ab83 | Invalid location parameters 2025-06-17 11:47:22.888 | ERROR | 1c41244777db4980af9ddd7ae1af3067 | Invalid location parameters 2025-06-17 11:47:23.389 | ERROR | b402c64a9da44306ba28d79dab31fe72 | Invalid location parameters 2025-06-17 11:47:23.660 | ERROR | c058a0d1fd364379af78d9ca49b654dd | Invalid location parameters 2025-06-17 11:47:23.942 | ERROR | 911b670372364a62874e8a7775fa2883 | Invalid location parameters 2025-06-17 11:47:24.221 | ERROR | 851c7eddc7f24589867ae1467c1c769a | Invalid location parameters 2025-06-17 11:47:24.566 | ERROR | 5d510e528a254b7daf83ee4ce0be8348 | Invalid location parameters 2025-06-17 11:47:25.073 | ERROR | 43a58de39bc64e58891780984c5b2b69 | Invalid location parameters 2025-06-17 11:47:25.692 | ERROR | 2c1b9c12c5ac45468327c52d7f1c2f11 | Invalid location parameters 2025-06-17 11:47:26.249 | ERROR | 7a74b8ab0444406a9d24c9cedc59ba79 | Invalid location parameters 2025-06-17 11:47:26.764 | ERROR | e72b10b7c139461d9e1573a631d3f8fd | Invalid location parameters 2025-06-17 11:47:27.261 | ERROR | 7207278348214bb7a3ce8b8896bbf79c | Invalid location parameters 2025-06-17 11:47:27.549 | ERROR | a77026315a9d42eda5e6a1b6b3cd9be9 | Invalid location parameters 2025-06-17 11:47:27.855 | ERROR | dd0f25565ede4cb9bbfca4299219a0fa | Invalid location parameters 2025-06-17 11:47:28.147 | ERROR | 3b91d469225349b8a1a9ac4065b50116 | Invalid location parameters 2025-06-17 11:47:28.428 | ERROR | be9a41b097de48feb7639b036267901f | Invalid location parameters 2025-06-17 11:47:28.958 | ERROR | de3fb4cde11048b182948c079c013e83 | Invalid location parameters 2025-06-17 11:47:29.517 | ERROR | 12609f5b987046a9bdc97c162af125ed | Invalid location parameters 2025-06-17 11:47:29.827 | ERROR | bcf929d03bb94568a9f73954f41079f5 | Invalid location parameters 2025-06-17 11:47:30.105 | ERROR | 168530df0db342cba1370af8093de5dd | Invalid location parameters 2025-06-17 11:47:30.594 | ERROR | 69f8b24d16da43f4a73101a259a27ff5 | Invalid location parameters 2025-06-17 11:47:30.870 | ERROR | 36f3467ab0bb4123b851b0e0a735f18b | Invalid location parameters 2025-06-17 11:47:31.621 | ERROR | a5cb00bfa67040b1b980087a749b0bea | Invalid location parameters 2025-06-17 11:47:32.193 | ERROR | 7211f957ebc24351817d0b2478c92bdb | Invalid location parameters 2025-06-17 11:47:32.474 | ERROR | 012e1af3a20c4fc78ab548ff4bc5d146 | Invalid location parameters 2025-06-17 11:47:32.830 | ERROR | 3dc1332f3c3046c5901a580ca0cd62c6 | Invalid location parameters 2025-06-17 11:47:33.114 | ERROR | c4ef7673f3cc475c96edd4d09c8723c1 | Invalid location parameters 2025-06-17 11:47:33.393 | ERROR | 7053af83f547451ab2d76432a060fdb2 | Invalid location parameters 2025-06-17 11:47:33.688 | ERROR | 1aa2bb3248674ff581d1d68d88dd8266 | Invalid location parameters 2025-06-17 11:47:34.038 | ERROR | d2c3fc6641e34ee498fb6a45db6ecd9c | Invalid location parameters 2025-06-17 11:47:34.649 | ERROR | 2a150133552a46e2bf9e3f1005145e6e | Invalid location parameters 2025-06-17 11:47:34.932 | ERROR | fb5471a9ac7b46a09755a2a97a4d32e9 | Invalid location parameters 2025-06-17 11:47:35.263 | ERROR | 9337faa8fb9e483a902ec4dbf9c93152 | Invalid location parameters 2025-06-17 11:47:35.759 | ERROR | 62a70825ddb14338a48fa1465d204154 | Invalid location parameters 2025-06-17 11:47:36.453 | ERROR | 1af0be482cfc40b091272eb986436904 | Invalid location parameters 2025-06-17 11:47:37.118 | ERROR | c0d4fef83e5d4f13b306aa1b4d0b9531 | Invalid location parameters 2025-06-17 11:47:37.727 | ERROR | 29b0c2465d9d4eaa9778881a3a62a30a | Invalid location parameters 2025-06-17 11:47:38.027 | ERROR | bca74468227041baa5534cc70178aa56 | Invalid location parameters 2025-06-17 11:47:38.578 | ERROR | 3a787789ce1d4f6f9593d93e94044478 | Invalid location parameters 2025-06-17 11:47:39.098 | ERROR | bb7f0cf0371f40ceb989ad112415dab4 | Invalid location parameters 2025-06-17 11:47:39.489 | ERROR | 2a8fa9800fbd481c9240e4550ac0fd8f | Invalid location parameters 2025-06-17 11:47:39.855 | ERROR | 73aee94d22a24ed6944342aee4089f13 | Invalid location parameters 2025-06-17 11:47:40.230 | ERROR | 1d17bcc8faea4ae2bf13456d475834aa | Invalid location parameters 2025-06-17 11:47:40.799 | ERROR | 0669e11d974244d9bee1bd09f4324617 | Invalid location parameters 2025-06-17 11:47:41.409 | ERROR | 23b441dcafdc49a0a87e8e816acd9179 | Invalid location parameters 2025-06-17 11:50:26.083 | ERROR | c4597b0b33d64da58e5dc65d3e622505 | Time selection is empty 2025-06-17 11:50:44.368 | ERROR | 7fda415005b64aeda93bc3d186dfafd4 | Exception in ASGI application Traceback (most recent call last): File "", line 1, in File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\spawn.py", line 116, in spawn_main exitcode = _main(fd, parent_sentinel) │ │ └ 348 │ └ 3 └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\spawn.py", line 129, in _main return self._bootstrap(parent_sentinel) │ │ └ 348 │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\process.py", line 315, in _bootstrap self.run() │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\process.py", line 108, in run self._target(*self._args, **self._kwargs) │ │ │ │ │ └ {'config': , 'target': │ │ │ └ () │ │ └ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\_subprocess.py", line 80, in subprocess_started target(sockets=sockets) │ └ [] └ > File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\server.py", line 66, in run return asyncio.run(self.serve(sockets=sockets)) │ │ │ │ └ [] │ │ │ └ │ │ └ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\runners.py", line 44, in run return loop.run_until_complete(main) │ │ └ │ └ └ <_WindowsSelectorEventLoop running=True closed=False debug=False> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 633, in run_until_complete self.run_forever() │ └ └ <_WindowsSelectorEventLoop running=True closed=False debug=False> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 600, in run_forever self._run_once() │ └ └ <_WindowsSelectorEventLoop running=True closed=False debug=False> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 1896, in _run_once handle._run() │ └ ()> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\events.py", line 80, in _run self._context.run(self._callback, *self._args) │ │ │ │ │ └ │ │ │ │ └ ()> │ │ │ └ │ │ └ ()> │ └ ()> > File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\protocols\http\h11_impl.py", line 403, in run_asgi result = await app( # type: ignore[func-returns-value] └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\middleware\proxy_headers.py", line 60, in __call__ return await self.app(scope, receive, send) │ │ │ │ └ > │ │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\fastapi\applications.py", line 1054, in __call__ await super().__call__(scope, receive, send) │ │ └ > │ └ > │ │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\errors.py", line 187, in __call__ raise exc File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\errors.py", line 165, in __call__ await self.app(scope, receive, _send) │ │ │ │ └ ._send at 0x00000210BB86D990> │ │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\cors.py", line 85, in __call__ await self.app(scope, receive, send) │ │ │ │ └ ._send at 0x00000210BB86D990> │ │ │ └ , header_name='... └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\asgi_correlation_id\middleware.py", line 90, in __call__ await self.app(scope, receive, handle_outgoing_request) │ │ │ │ └ .handle_outgoing_request at 0x0000021080BA9360> │ │ │ └ └ CorrelationIdMiddleware(app=, header_name='... File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\exceptions.py", line 62, in __call__ await wrap_app_handling_exceptions(self.app, conn)(scope, receive, send) │ │ │ │ │ │ └ .handle_outgoing_request at 0x0000021080BA9360> │ │ │ │ │ └ │ │ └ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 53, in wrapped_app raise exc File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 42, in wrapped_app await app(scope, receive, sender) │ │ │ └ .wrapped_app..sender at 0x00000210BB7BE290> │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 714, in __call__ await self.middleware_stack(scope, receive, send) │ │ │ │ └ .wrapped_app..sender at 0x00000210BB7BE290> │ │ │ └ > └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 734, in app await route.handle(scope, receive, send) │ │ │ │ └ .wrapped_app..sender at 0x00000210BB7BE290> │ │ │ └ └ APIRoute(path='/api/v1/trip/option', name='trips_option', methods=['POST']) File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 288, in handle await self.app(scope, receive, send) │ │ │ │ └ .wrapped_app..sender at 0x00000210BB7BE290> │ │ │ └ .app at 0x000002108E780310> └ APIRoute(path='/api/v1/trip/option', name='trips_option', methods=['POST']) File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 76, in app await wrap_app_handling_exceptions(app, request)(scope, receive, send) │ │ │ │ │ └ .wrapped_app..sender at 0x00000210BB7BE290> │ │ │ │ └ │ └ .app..app at 0x00000210BB7BDEA0> └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 53, in wrapped_app raise exc File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 42, in wrapped_app await app(scope, receive, sender) │ │ │ └ .wrapped_app..sender at 0x00000210BB7BE050> │ │ └ .app..app at 0x00000210BB7BDEA0> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 73, in app response = await f(request) │ └ .app at 0x000002108E586D40> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\fastapi\routing.py", line 301, in app raw_response = await run_endpoint_function( └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\fastapi\routing.py", line 212, in run_endpoint_function return await dependant.call(**values) │ │ └ {'request': } │ └ └ Dependant(path_params=[], query_params=[], header_params=[], cookie_params=[], body_params=[], dependencies=[], security_requ... File "C:\University-HCMUTE\InternFuta\ApiDialogflowChatbot\app\api\v1\trip.py", line 32, in trips_option rs: DialogServiceResult = await TripService.get_trips_option() │ └ TypeError: TripService.get_trips_option() missing 2 required positional arguments: 'self' and 'data' 2025-06-17 11:50:44.921 | ERROR | 15a490cd56b040da959d07119ec60ddc | Exception in ASGI application Traceback (most recent call last): File "", line 1, in File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\spawn.py", line 116, in spawn_main exitcode = _main(fd, parent_sentinel) │ │ └ 348 │ └ 3 └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\spawn.py", line 129, in _main return self._bootstrap(parent_sentinel) │ │ └ 348 │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\process.py", line 315, in _bootstrap self.run() │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\process.py", line 108, in run self._target(*self._args, **self._kwargs) │ │ │ │ │ └ {'config': , 'target': │ │ │ └ () │ │ └ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\_subprocess.py", line 80, in subprocess_started target(sockets=sockets) │ └ [] └ > File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\server.py", line 66, in run return asyncio.run(self.serve(sockets=sockets)) │ │ │ │ └ [] │ │ │ └ │ │ └ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\runners.py", line 44, in run return loop.run_until_complete(main) │ │ └ │ └ └ <_WindowsSelectorEventLoop running=True closed=False debug=False> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 633, in run_until_complete self.run_forever() │ └ └ <_WindowsSelectorEventLoop running=True closed=False debug=False> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 600, in run_forever self._run_once() │ └ └ <_WindowsSelectorEventLoop running=True closed=False debug=False> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 1896, in _run_once handle._run() │ └ ()> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\events.py", line 80, in _run self._context.run(self._callback, *self._args) │ │ │ │ │ └ │ │ │ │ └ ()> │ │ │ └ │ │ └ ()> │ └ ()> > File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\protocols\http\h11_impl.py", line 403, in run_asgi result = await app( # type: ignore[func-returns-value] └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\middleware\proxy_headers.py", line 60, in __call__ return await self.app(scope, receive, send) │ │ │ │ └ > │ │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\fastapi\applications.py", line 1054, in __call__ await super().__call__(scope, receive, send) │ │ └ > │ └ > │ │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\errors.py", line 187, in __call__ raise exc File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\errors.py", line 165, in __call__ await self.app(scope, receive, _send) │ │ │ │ └ ._send at 0x0000021080BBB640> │ │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\cors.py", line 85, in __call__ await self.app(scope, receive, send) │ │ │ │ └ ._send at 0x0000021080BBB640> │ │ │ └ , header_name='... └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\asgi_correlation_id\middleware.py", line 90, in __call__ await self.app(scope, receive, handle_outgoing_request) │ │ │ │ └ .handle_outgoing_request at 0x0000021080BBB520> │ │ │ └ └ CorrelationIdMiddleware(app=, header_name='... File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\exceptions.py", line 62, in __call__ await wrap_app_handling_exceptions(self.app, conn)(scope, receive, send) │ │ │ │ │ │ └ .handle_outgoing_request at 0x0000021080BBB520> │ │ │ │ │ └ │ │ └ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 53, in wrapped_app raise exc File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 42, in wrapped_app await app(scope, receive, sender) │ │ │ └ .wrapped_app..sender at 0x0000021080BBB5B0> │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 714, in __call__ await self.middleware_stack(scope, receive, send) │ │ │ │ └ .wrapped_app..sender at 0x0000021080BBB5B0> │ │ │ └ > └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 734, in app await route.handle(scope, receive, send) │ │ │ │ └ .wrapped_app..sender at 0x0000021080BBB5B0> │ │ │ └ └ APIRoute(path='/api/v1/trip/option', name='trips_option', methods=['POST']) File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 288, in handle await self.app(scope, receive, send) │ │ │ │ └ .wrapped_app..sender at 0x0000021080BBB5B0> │ │ │ └ .app at 0x000002108E780310> └ APIRoute(path='/api/v1/trip/option', name='trips_option', methods=['POST']) File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 76, in app await wrap_app_handling_exceptions(app, request)(scope, receive, send) │ │ │ │ │ └ .wrapped_app..sender at 0x0000021080BBB5B0> │ │ │ │ └ │ └ .app..app at 0x0000021080BBB490> └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 53, in wrapped_app raise exc File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 42, in wrapped_app await app(scope, receive, sender) │ │ │ └ .wrapped_app..sender at 0x0000021080BBB6D0> │ │ └ .app..app at 0x0000021080BBB490> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 73, in app response = await f(request) │ └ .app at 0x000002108E586D40> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\fastapi\routing.py", line 301, in app raw_response = await run_endpoint_function( └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\fastapi\routing.py", line 212, in run_endpoint_function return await dependant.call(**values) │ │ └ {'request': } │ └ └ Dependant(path_params=[], query_params=[], header_params=[], cookie_params=[], body_params=[], dependencies=[], security_requ... File "C:\University-HCMUTE\InternFuta\ApiDialogflowChatbot\app\api\v1\trip.py", line 32, in trips_option rs: DialogServiceResult = await TripService.get_trips_option() │ └ TypeError: TripService.get_trips_option() missing 2 required positional arguments: 'self' and 'data' 2025-06-17 13:24:57.717 | ERROR | 7cc65a09a371440d8fd117de46e2e5c5 | Exception in ASGI application Traceback (most recent call last): File "", line 1, in File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\spawn.py", line 116, in spawn_main exitcode = _main(fd, parent_sentinel) │ │ └ 312 │ └ 3 └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\spawn.py", line 129, in _main return self._bootstrap(parent_sentinel) │ │ └ 312 │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\process.py", line 315, in _bootstrap self.run() │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\process.py", line 108, in run self._target(*self._args, **self._kwargs) │ │ │ │ │ └ {'config': , 'target': │ │ │ └ () │ │ └ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\_subprocess.py", line 80, in subprocess_started target(sockets=sockets) │ └ [] └ > File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\server.py", line 66, in run return asyncio.run(self.serve(sockets=sockets)) │ │ │ │ └ [] │ │ │ └ │ │ └ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\runners.py", line 44, in run return loop.run_until_complete(main) │ │ └ │ └ └ <_WindowsSelectorEventLoop running=True closed=False debug=False> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 633, in run_until_complete self.run_forever() │ └ └ <_WindowsSelectorEventLoop running=True closed=False debug=False> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 600, in run_forever self._run_once() │ └ └ <_WindowsSelectorEventLoop running=True closed=False debug=False> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 1896, in _run_once handle._run() │ └ ()> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\events.py", line 80, in _run self._context.run(self._callback, *self._args) │ │ │ │ │ └ │ │ │ │ └ ()> │ │ │ └ │ │ └ ()> │ └ ()> > File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\protocols\http\h11_impl.py", line 403, in run_asgi result = await app( # type: ignore[func-returns-value] └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\middleware\proxy_headers.py", line 60, in __call__ return await self.app(scope, receive, send) │ │ │ │ └ > │ │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\fastapi\applications.py", line 1054, in __call__ await super().__call__(scope, receive, send) │ │ └ > │ └ > │ │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\errors.py", line 187, in __call__ raise exc File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\errors.py", line 165, in __call__ await self.app(scope, receive, _send) │ │ │ │ └ ._send at 0x00000198350E16C0> │ │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\cors.py", line 85, in __call__ await self.app(scope, receive, send) │ │ │ │ └ ._send at 0x00000198350E16C0> │ │ │ └ , header_name='... └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\asgi_correlation_id\middleware.py", line 90, in __call__ await self.app(scope, receive, handle_outgoing_request) │ │ │ │ └ .handle_outgoing_request at 0x0000019835119090> │ │ │ └ └ CorrelationIdMiddleware(app=, header_name='... File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\exceptions.py", line 62, in __call__ await wrap_app_handling_exceptions(self.app, conn)(scope, receive, send) │ │ │ │ │ │ └ .handle_outgoing_request at 0x0000019835119090> │ │ │ │ │ └ │ │ └ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 53, in wrapped_app raise exc File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 42, in wrapped_app await app(scope, receive, sender) │ │ │ └ .wrapped_app..sender at 0x0000019807FD1AB0> │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 714, in __call__ await self.middleware_stack(scope, receive, send) │ │ │ │ └ .wrapped_app..sender at 0x0000019807FD1AB0> │ │ │ └ > └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 734, in app await route.handle(scope, receive, send) │ │ │ │ └ .wrapped_app..sender at 0x0000019807FD1AB0> │ │ │ └ └ APIRoute(path='/api/v1/trip/option', name='trips_option', methods=['POST']) File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 288, in handle await self.app(scope, receive, send) │ │ │ │ └ .wrapped_app..sender at 0x0000019807FD1AB0> │ │ │ └ .app at 0x0000019807F9BF40> └ APIRoute(path='/api/v1/trip/option', name='trips_option', methods=['POST']) File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 76, in app await wrap_app_handling_exceptions(app, request)(scope, receive, send) │ │ │ │ │ └ .wrapped_app..sender at 0x0000019807FD1AB0> │ │ │ │ └ │ └ .app..app at 0x00000198350220E0> └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 53, in wrapped_app raise exc File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 42, in wrapped_app await app(scope, receive, sender) │ │ │ └ .wrapped_app..sender at 0x0000019835022200> │ │ └ .app..app at 0x00000198350220E0> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 73, in app response = await f(request) │ └ .app at 0x0000019807DD6D40> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\fastapi\routing.py", line 301, in app raw_response = await run_endpoint_function( └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\fastapi\routing.py", line 212, in run_endpoint_function return await dependant.call(**values) │ │ └ {'request': } │ └ └ Dependant(path_params=[], query_params=[], header_params=[], cookie_params=[], body_params=[], dependencies=[], security_requ... File "C:\University-HCMUTE\InternFuta\ApiDialogflowChatbot\app\api\v1\trip.py", line 32, in trips_option rs: DialogServiceResult = await TripService.get_trips_option() │ └ )> └ TypeError: TripService.get_trips_option() missing 1 required positional argument: 'data' 2025-06-17 13:24:58.297 | ERROR | 12c3d0a776e34f1c9007e7e61fec56a4 | Exception in ASGI application Traceback (most recent call last): File "", line 1, in File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\spawn.py", line 116, in spawn_main exitcode = _main(fd, parent_sentinel) │ │ └ 312 │ └ 3 └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\spawn.py", line 129, in _main return self._bootstrap(parent_sentinel) │ │ └ 312 │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\process.py", line 315, in _bootstrap self.run() │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\process.py", line 108, in run self._target(*self._args, **self._kwargs) │ │ │ │ │ └ {'config': , 'target': │ │ │ └ () │ │ └ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\_subprocess.py", line 80, in subprocess_started target(sockets=sockets) │ └ [] └ > File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\server.py", line 66, in run return asyncio.run(self.serve(sockets=sockets)) │ │ │ │ └ [] │ │ │ └ │ │ └ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\runners.py", line 44, in run return loop.run_until_complete(main) │ │ └ │ └ └ <_WindowsSelectorEventLoop running=True closed=False debug=False> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 633, in run_until_complete self.run_forever() │ └ └ <_WindowsSelectorEventLoop running=True closed=False debug=False> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 600, in run_forever self._run_once() │ └ └ <_WindowsSelectorEventLoop running=True closed=False debug=False> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 1896, in _run_once handle._run() │ └ ()> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\events.py", line 80, in _run self._context.run(self._callback, *self._args) │ │ │ │ │ └ │ │ │ │ └ ()> │ │ │ └ │ │ └ ()> │ └ ()> > File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\protocols\http\h11_impl.py", line 403, in run_asgi result = await app( # type: ignore[func-returns-value] └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\middleware\proxy_headers.py", line 60, in __call__ return await self.app(scope, receive, send) │ │ │ │ └ > │ │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\fastapi\applications.py", line 1054, in __call__ await super().__call__(scope, receive, send) │ │ └ > │ └ > │ │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\errors.py", line 187, in __call__ raise exc File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\errors.py", line 165, in __call__ await self.app(scope, receive, _send) │ │ │ │ └ ._send at 0x0000019835021FC0> │ │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\cors.py", line 85, in __call__ await self.app(scope, receive, send) │ │ │ │ └ ._send at 0x0000019835021FC0> │ │ │ └ , header_name='... └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\asgi_correlation_id\middleware.py", line 90, in __call__ await self.app(scope, receive, handle_outgoing_request) │ │ │ │ └ .handle_outgoing_request at 0x000001983512F250> │ │ │ └ └ CorrelationIdMiddleware(app=, header_name='... File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\exceptions.py", line 62, in __call__ await wrap_app_handling_exceptions(self.app, conn)(scope, receive, send) │ │ │ │ │ │ └ .handle_outgoing_request at 0x000001983512F250> │ │ │ │ │ └ │ │ └ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 53, in wrapped_app raise exc File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 42, in wrapped_app await app(scope, receive, sender) │ │ │ └ .wrapped_app..sender at 0x000001983512F490> │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 714, in __call__ await self.middleware_stack(scope, receive, send) │ │ │ │ └ .wrapped_app..sender at 0x000001983512F490> │ │ │ └ > └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 734, in app await route.handle(scope, receive, send) │ │ │ │ └ .wrapped_app..sender at 0x000001983512F490> │ │ │ └ └ APIRoute(path='/api/v1/trip/option', name='trips_option', methods=['POST']) File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 288, in handle await self.app(scope, receive, send) │ │ │ │ └ .wrapped_app..sender at 0x000001983512F490> │ │ │ └ .app at 0x0000019807F9BF40> └ APIRoute(path='/api/v1/trip/option', name='trips_option', methods=['POST']) File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 76, in app await wrap_app_handling_exceptions(app, request)(scope, receive, send) │ │ │ │ │ └ .wrapped_app..sender at 0x000001983512F490> │ │ │ │ └ │ └ .app..app at 0x000001983512F370> └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 53, in wrapped_app raise exc File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 42, in wrapped_app await app(scope, receive, sender) │ │ │ └ .wrapped_app..sender at 0x000001983512F1C0> │ │ └ .app..app at 0x000001983512F370> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 73, in app response = await f(request) │ └ .app at 0x0000019807DD6D40> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\fastapi\routing.py", line 301, in app raw_response = await run_endpoint_function( └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\fastapi\routing.py", line 212, in run_endpoint_function return await dependant.call(**values) │ │ └ {'request': } │ └ └ Dependant(path_params=[], query_params=[], header_params=[], cookie_params=[], body_params=[], dependencies=[], security_requ... File "C:\University-HCMUTE\InternFuta\ApiDialogflowChatbot\app\api\v1\trip.py", line 32, in trips_option rs: DialogServiceResult = await TripService.get_trips_option() │ └ )> └ TypeError: TripService.get_trips_option() missing 1 required positional argument: 'data' 2025-06-17 13:27:45.613 | ERROR | 6086e536db934a86b54a3bd757ce9fcc | Exception in ASGI application Traceback (most recent call last): File "", line 1, in File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\spawn.py", line 116, in spawn_main exitcode = _main(fd, parent_sentinel) │ │ └ 364 │ └ 3 └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\spawn.py", line 129, in _main return self._bootstrap(parent_sentinel) │ │ └ 364 │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\process.py", line 315, in _bootstrap self.run() │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\process.py", line 108, in run self._target(*self._args, **self._kwargs) │ │ │ │ │ └ {'config': , 'target': │ │ │ └ () │ │ └ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\_subprocess.py", line 80, in subprocess_started target(sockets=sockets) │ └ [] └ > File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\server.py", line 66, in run return asyncio.run(self.serve(sockets=sockets)) │ │ │ │ └ [] │ │ │ └ │ │ └ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\runners.py", line 44, in run return loop.run_until_complete(main) │ │ └ │ └ └ <_WindowsSelectorEventLoop running=True closed=False debug=False> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 633, in run_until_complete self.run_forever() │ └ └ <_WindowsSelectorEventLoop running=True closed=False debug=False> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 600, in run_forever self._run_once() │ └ └ <_WindowsSelectorEventLoop running=True closed=False debug=False> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 1896, in _run_once handle._run() │ └ ()> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\events.py", line 80, in _run self._context.run(self._callback, *self._args) │ │ │ │ │ └ │ │ │ │ └ ()> │ │ │ └ │ │ └ ()> │ └ ()> > File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\protocols\http\h11_impl.py", line 403, in run_asgi result = await app( # type: ignore[func-returns-value] └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\middleware\proxy_headers.py", line 60, in __call__ return await self.app(scope, receive, send) │ │ │ │ └ > │ │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\fastapi\applications.py", line 1054, in __call__ await super().__call__(scope, receive, send) │ │ └ > │ └ > │ │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\errors.py", line 187, in __call__ raise exc File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\errors.py", line 165, in __call__ await self.app(scope, receive, _send) │ │ │ │ └ ._send at 0x000002D7AA5C1B40> │ │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\cors.py", line 85, in __call__ await self.app(scope, receive, send) │ │ │ │ └ ._send at 0x000002D7AA5C1B40> │ │ │ └ , header_name='... └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\asgi_correlation_id\middleware.py", line 90, in __call__ await self.app(scope, receive, handle_outgoing_request) │ │ │ │ └ .handle_outgoing_request at 0x000002D7D760DF30> │ │ │ └ └ CorrelationIdMiddleware(app=, header_name='... File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\exceptions.py", line 62, in __call__ await wrap_app_handling_exceptions(self.app, conn)(scope, receive, send) │ │ │ │ │ │ └ .handle_outgoing_request at 0x000002D7D760DF30> │ │ │ │ │ └ │ │ └ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 53, in wrapped_app raise exc File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 42, in wrapped_app await app(scope, receive, sender) │ │ │ └ .wrapped_app..sender at 0x000002D7D760E3B0> │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 714, in __call__ await self.middleware_stack(scope, receive, send) │ │ │ │ └ .wrapped_app..sender at 0x000002D7D760E3B0> │ │ │ └ > └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 734, in app await route.handle(scope, receive, send) │ │ │ │ └ .wrapped_app..sender at 0x000002D7D760E3B0> │ │ │ └ └ APIRoute(path='/api/v1/trip/option', name='trips_option', methods=['POST']) File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 288, in handle await self.app(scope, receive, send) │ │ │ │ └ .wrapped_app..sender at 0x000002D7D760E3B0> │ │ │ └ .app at 0x000002D7AA5C0040> └ APIRoute(path='/api/v1/trip/option', name='trips_option', methods=['POST']) File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 76, in app await wrap_app_handling_exceptions(app, request)(scope, receive, send) │ │ │ │ │ └ .wrapped_app..sender at 0x000002D7D760E3B0> │ │ │ │ └ │ └ .app..app at 0x000002D7D760E0E0> └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 53, in wrapped_app raise exc File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 42, in wrapped_app await app(scope, receive, sender) │ │ │ └ .wrapped_app..sender at 0x000002D7D760E320> │ │ └ .app..app at 0x000002D7D760E0E0> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 73, in app response = await f(request) │ └ .app at 0x000002D7AA3C6D40> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\fastapi\routing.py", line 301, in app raw_response = await run_endpoint_function( └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\fastapi\routing.py", line 212, in run_endpoint_function return await dependant.call(**values) │ │ └ {'request': } │ └ └ Dependant(path_params=[], query_params=[], header_params=[], cookie_params=[], body_params=[], dependencies=[], security_requ... File "C:\University-HCMUTE\InternFuta\ApiDialogflowChatbot\app\api\v1\trip.py", line 32, in trips_option rs: DialogServiceResult = await TripService.get_trips_option(data) │ │ └ TripQueryRequest(departure_city='Thành phố Hồ Chí Minh', destination_city='Thành phố Đà Lạt', origin_office=None, dest_office... │ └ TypeError: TripService.get_trips_option() missing 1 required positional argument: 'data' 2025-06-17 13:27:46.179 | ERROR | 9307febb5d994e1a8d1ac839bad8d32b | Exception in ASGI application Traceback (most recent call last): File "", line 1, in File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\spawn.py", line 116, in spawn_main exitcode = _main(fd, parent_sentinel) │ │ └ 364 │ └ 3 └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\spawn.py", line 129, in _main return self._bootstrap(parent_sentinel) │ │ └ 364 │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\process.py", line 315, in _bootstrap self.run() │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\process.py", line 108, in run self._target(*self._args, **self._kwargs) │ │ │ │ │ └ {'config': , 'target': │ │ │ └ () │ │ └ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\_subprocess.py", line 80, in subprocess_started target(sockets=sockets) │ └ [] └ > File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\server.py", line 66, in run return asyncio.run(self.serve(sockets=sockets)) │ │ │ │ └ [] │ │ │ └ │ │ └ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\runners.py", line 44, in run return loop.run_until_complete(main) │ │ └ │ └ └ <_WindowsSelectorEventLoop running=True closed=False debug=False> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 633, in run_until_complete self.run_forever() │ └ └ <_WindowsSelectorEventLoop running=True closed=False debug=False> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 600, in run_forever self._run_once() │ └ └ <_WindowsSelectorEventLoop running=True closed=False debug=False> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 1896, in _run_once handle._run() │ └ ()> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\events.py", line 80, in _run self._context.run(self._callback, *self._args) │ │ │ │ │ └ │ │ │ │ └ ()> │ │ │ └ │ │ └ ()> │ └ ()> > File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\protocols\http\h11_impl.py", line 403, in run_asgi result = await app( # type: ignore[func-returns-value] └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\middleware\proxy_headers.py", line 60, in __call__ return await self.app(scope, receive, send) │ │ │ │ └ > │ │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\fastapi\applications.py", line 1054, in __call__ await super().__call__(scope, receive, send) │ │ └ > │ └ > │ │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\errors.py", line 187, in __call__ raise exc File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\errors.py", line 165, in __call__ await self.app(scope, receive, _send) │ │ │ │ └ ._send at 0x000002D7D760ED40> │ │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\cors.py", line 85, in __call__ await self.app(scope, receive, send) │ │ │ │ └ ._send at 0x000002D7D760ED40> │ │ │ └ , header_name='... └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\asgi_correlation_id\middleware.py", line 90, in __call__ await self.app(scope, receive, handle_outgoing_request) │ │ │ │ └ .handle_outgoing_request at 0x000002D7D760E290> │ │ │ └ └ CorrelationIdMiddleware(app=, header_name='... File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\exceptions.py", line 62, in __call__ await wrap_app_handling_exceptions(self.app, conn)(scope, receive, send) │ │ │ │ │ │ └ .handle_outgoing_request at 0x000002D7D760E290> │ │ │ │ │ └ │ │ └ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 53, in wrapped_app raise exc File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 42, in wrapped_app await app(scope, receive, sender) │ │ │ └ .wrapped_app..sender at 0x000002D7D760EF80> │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 714, in __call__ await self.middleware_stack(scope, receive, send) │ │ │ │ └ .wrapped_app..sender at 0x000002D7D760EF80> │ │ │ └ > └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 734, in app await route.handle(scope, receive, send) │ │ │ │ └ .wrapped_app..sender at 0x000002D7D760EF80> │ │ │ └ └ APIRoute(path='/api/v1/trip/option', name='trips_option', methods=['POST']) File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 288, in handle await self.app(scope, receive, send) │ │ │ │ └ .wrapped_app..sender at 0x000002D7D760EF80> │ │ │ └ .app at 0x000002D7AA5C0040> └ APIRoute(path='/api/v1/trip/option', name='trips_option', methods=['POST']) File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 76, in app await wrap_app_handling_exceptions(app, request)(scope, receive, send) │ │ │ │ │ └ .wrapped_app..sender at 0x000002D7D760EF80> │ │ │ │ └ │ └ .app..app at 0x000002D7D760E170> └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 53, in wrapped_app raise exc File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 42, in wrapped_app await app(scope, receive, sender) │ │ │ └ .wrapped_app..sender at 0x000002D7D760EE60> │ │ └ .app..app at 0x000002D7D760E170> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 73, in app response = await f(request) │ └ .app at 0x000002D7AA3C6D40> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\fastapi\routing.py", line 301, in app raw_response = await run_endpoint_function( └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\fastapi\routing.py", line 212, in run_endpoint_function return await dependant.call(**values) │ │ └ {'request': } │ └ └ Dependant(path_params=[], query_params=[], header_params=[], cookie_params=[], body_params=[], dependencies=[], security_requ... File "C:\University-HCMUTE\InternFuta\ApiDialogflowChatbot\app\api\v1\trip.py", line 32, in trips_option rs: DialogServiceResult = await TripService.get_trips_option(data) │ │ └ TripQueryRequest(departure_city='Thành phố Hồ Chí Minh', destination_city='Thành phố Đà Lạt', origin_office=None, dest_office... │ └ TypeError: TripService.get_trips_option() missing 1 required positional argument: 'data' 2025-06-17 13:41:06.458 | ERROR | 24c3f2c08dad4482971a57f2e6898766 | Exception in ASGI application Traceback (most recent call last): File "", line 1, in File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\spawn.py", line 116, in spawn_main exitcode = _main(fd, parent_sentinel) │ │ └ 312 │ └ 3 └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\spawn.py", line 129, in _main return self._bootstrap(parent_sentinel) │ │ └ 312 │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\process.py", line 315, in _bootstrap self.run() │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\process.py", line 108, in run self._target(*self._args, **self._kwargs) │ │ │ │ │ └ {'config': , 'target': │ │ │ └ () │ │ └ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\_subprocess.py", line 80, in subprocess_started target(sockets=sockets) │ └ [] └ > File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\server.py", line 66, in run return asyncio.run(self.serve(sockets=sockets)) │ │ │ │ └ [] │ │ │ └ │ │ └ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\runners.py", line 44, in run return loop.run_until_complete(main) │ │ └ │ └ └ <_WindowsSelectorEventLoop running=True closed=False debug=False> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 633, in run_until_complete self.run_forever() │ └ └ <_WindowsSelectorEventLoop running=True closed=False debug=False> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 600, in run_forever self._run_once() │ └ └ <_WindowsSelectorEventLoop running=True closed=False debug=False> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 1896, in _run_once handle._run() │ └ ()> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\events.py", line 80, in _run self._context.run(self._callback, *self._args) │ │ │ │ │ └ │ │ │ │ └ ()> │ │ │ └ │ │ └ ()> │ └ ()> > File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\protocols\http\h11_impl.py", line 403, in run_asgi result = await app( # type: ignore[func-returns-value] └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\middleware\proxy_headers.py", line 60, in __call__ return await self.app(scope, receive, send) │ │ │ │ └ > │ │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\fastapi\applications.py", line 1054, in __call__ await super().__call__(scope, receive, send) │ │ └ > │ └ > │ │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\errors.py", line 187, in __call__ raise exc File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\errors.py", line 165, in __call__ await self.app(scope, receive, _send) │ │ │ │ └ ._send at 0x000001A6498DE680> │ │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\cors.py", line 85, in __call__ await self.app(scope, receive, send) │ │ │ │ └ ._send at 0x000001A6498DE680> │ │ │ └ , header_name='... └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\asgi_correlation_id\middleware.py", line 90, in __call__ await self.app(scope, receive, handle_outgoing_request) │ │ │ │ └ .handle_outgoing_request at 0x000001A6498DE3B0> │ │ │ └ └ CorrelationIdMiddleware(app=, header_name='... File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\exceptions.py", line 62, in __call__ await wrap_app_handling_exceptions(self.app, conn)(scope, receive, send) │ │ │ │ │ │ └ .handle_outgoing_request at 0x000001A6498DE3B0> │ │ │ │ │ └ │ │ └ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 53, in wrapped_app raise exc File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 42, in wrapped_app await app(scope, receive, sender) │ │ │ └ .wrapped_app..sender at 0x000001A6498DE170> │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 714, in __call__ await self.middleware_stack(scope, receive, send) │ │ │ │ └ .wrapped_app..sender at 0x000001A6498DE170> │ │ │ └ > └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 734, in app await route.handle(scope, receive, send) │ │ │ │ └ .wrapped_app..sender at 0x000001A6498DE170> │ │ │ └ └ APIRoute(path='/api/v1/trip/option', name='trips_option', methods=['POST']) File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 288, in handle await self.app(scope, receive, send) │ │ │ │ └ .wrapped_app..sender at 0x000001A6498DE170> │ │ │ └ .app at 0x000001A61C8904C0> └ APIRoute(path='/api/v1/trip/option', name='trips_option', methods=['POST']) File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 76, in app await wrap_app_handling_exceptions(app, request)(scope, receive, send) │ │ │ │ │ └ .wrapped_app..sender at 0x000001A6498DE170> │ │ │ │ └ │ └ .app..app at 0x000001A6498DE440> └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 53, in wrapped_app raise exc File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 42, in wrapped_app await app(scope, receive, sender) │ │ │ └ .wrapped_app..sender at 0x000001A6498DE200> │ │ └ .app..app at 0x000001A6498DE440> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 73, in app response = await f(request) │ └ .app at 0x000001A61C696D40> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\fastapi\routing.py", line 301, in app raw_response = await run_endpoint_function( └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\fastapi\routing.py", line 212, in run_endpoint_function return await dependant.call(**values) │ │ └ {'request': } │ └ └ Dependant(path_params=[], query_params=[], header_params=[], cookie_params=[], body_params=[], dependencies=[], security_requ... File "C:\University-HCMUTE\InternFuta\ApiDialogflowChatbot\app\api\v1\trip.py", line 31, in trips_option rs: DialogServiceResult = await TripServiceDp.get_trips_option(data) │ └ TripQueryRequest(departure_city='Thành phố Hồ Chí Minh', destination_city='Thành phố Đà Lạt', origin_office=None, dest_office... └ typing.Annotated[app.dialogflow.services.trip_service.TripService, Depends(get_trip_service)] TypeError: TripService.get_trips_option() missing 1 required positional argument: 'data' 2025-06-17 13:41:06.738 | ERROR | 04aa7e3c1f9f411d88422d8bab60871b | Exception in ASGI application Traceback (most recent call last): File "", line 1, in File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\spawn.py", line 116, in spawn_main exitcode = _main(fd, parent_sentinel) │ │ └ 312 │ └ 3 └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\spawn.py", line 129, in _main return self._bootstrap(parent_sentinel) │ │ └ 312 │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\process.py", line 315, in _bootstrap self.run() │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\process.py", line 108, in run self._target(*self._args, **self._kwargs) │ │ │ │ │ └ {'config': , 'target': │ │ │ └ () │ │ └ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\_subprocess.py", line 80, in subprocess_started target(sockets=sockets) │ └ [] └ > File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\server.py", line 66, in run return asyncio.run(self.serve(sockets=sockets)) │ │ │ │ └ [] │ │ │ └ │ │ └ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\runners.py", line 44, in run return loop.run_until_complete(main) │ │ └ │ └ └ <_WindowsSelectorEventLoop running=True closed=False debug=False> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 633, in run_until_complete self.run_forever() │ └ └ <_WindowsSelectorEventLoop running=True closed=False debug=False> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 600, in run_forever self._run_once() │ └ └ <_WindowsSelectorEventLoop running=True closed=False debug=False> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 1896, in _run_once handle._run() │ └ ()> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\events.py", line 80, in _run self._context.run(self._callback, *self._args) │ │ │ │ │ └ │ │ │ │ └ ()> │ │ │ └ │ │ └ ()> │ └ ()> > File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\protocols\http\h11_impl.py", line 403, in run_asgi result = await app( # type: ignore[func-returns-value] └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\middleware\proxy_headers.py", line 60, in __call__ return await self.app(scope, receive, send) │ │ │ │ └ > │ │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\fastapi\applications.py", line 1054, in __call__ await super().__call__(scope, receive, send) │ │ └ > │ └ > │ │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\errors.py", line 187, in __call__ raise exc File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\errors.py", line 165, in __call__ await self.app(scope, receive, _send) │ │ │ │ └ ._send at 0x000001A6498DE4D0> │ │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\cors.py", line 85, in __call__ await self.app(scope, receive, send) │ │ │ │ └ ._send at 0x000001A6498DE4D0> │ │ │ └ , header_name='... └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\asgi_correlation_id\middleware.py", line 90, in __call__ await self.app(scope, receive, handle_outgoing_request) │ │ │ │ └ .handle_outgoing_request at 0x000001A6498DF130> │ │ │ └ └ CorrelationIdMiddleware(app=, header_name='... File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\exceptions.py", line 62, in __call__ await wrap_app_handling_exceptions(self.app, conn)(scope, receive, send) │ │ │ │ │ │ └ .handle_outgoing_request at 0x000001A6498DF130> │ │ │ │ │ └ │ │ └ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 53, in wrapped_app raise exc File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 42, in wrapped_app await app(scope, receive, sender) │ │ │ └ .wrapped_app..sender at 0x000001A6498DE5F0> │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 714, in __call__ await self.middleware_stack(scope, receive, send) │ │ │ │ └ .wrapped_app..sender at 0x000001A6498DE5F0> │ │ │ └ > └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 734, in app await route.handle(scope, receive, send) │ │ │ │ └ .wrapped_app..sender at 0x000001A6498DE5F0> │ │ │ └ └ APIRoute(path='/api/v1/trip/option', name='trips_option', methods=['POST']) File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 288, in handle await self.app(scope, receive, send) │ │ │ │ └ .wrapped_app..sender at 0x000001A6498DE5F0> │ │ │ └ .app at 0x000001A61C8904C0> └ APIRoute(path='/api/v1/trip/option', name='trips_option', methods=['POST']) File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 76, in app await wrap_app_handling_exceptions(app, request)(scope, receive, send) │ │ │ │ │ └ .wrapped_app..sender at 0x000001A6498DE5F0> │ │ │ │ └ │ └ .app..app at 0x000001A6498DF370> └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 53, in wrapped_app raise exc File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 42, in wrapped_app await app(scope, receive, sender) │ │ │ └ .wrapped_app..sender at 0x000001A6498DE290> │ │ └ .app..app at 0x000001A6498DF370> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 73, in app response = await f(request) │ └ .app at 0x000001A61C696D40> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\fastapi\routing.py", line 301, in app raw_response = await run_endpoint_function( └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\fastapi\routing.py", line 212, in run_endpoint_function return await dependant.call(**values) │ │ └ {'request': } │ └ └ Dependant(path_params=[], query_params=[], header_params=[], cookie_params=[], body_params=[], dependencies=[], security_requ... File "C:\University-HCMUTE\InternFuta\ApiDialogflowChatbot\app\api\v1\trip.py", line 31, in trips_option rs: DialogServiceResult = await TripServiceDp.get_trips_option(data) │ └ TripQueryRequest(departure_city='Thành phố Hồ Chí Minh', destination_city='Thành phố Đà Lạt', origin_office=None, dest_office... └ typing.Annotated[app.dialogflow.services.trip_service.TripService, Depends(get_trip_service)] TypeError: TripService.get_trips_option() missing 1 required positional argument: 'data' 2025-06-17 13:54:45.206 | ERROR | ee321d87c8374db4bf588cbd70883314 | Exception in ASGI application Traceback (most recent call last): File "", line 1, in File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\spawn.py", line 116, in spawn_main exitcode = _main(fd, parent_sentinel) │ │ └ 352 │ └ 3 └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\spawn.py", line 129, in _main return self._bootstrap(parent_sentinel) │ │ └ 352 │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\process.py", line 315, in _bootstrap self.run() │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\process.py", line 108, in run self._target(*self._args, **self._kwargs) │ │ │ │ │ └ {'config': , 'target': │ │ │ └ () │ │ └ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\_subprocess.py", line 80, in subprocess_started target(sockets=sockets) │ └ [] └ > File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\server.py", line 66, in run return asyncio.run(self.serve(sockets=sockets)) │ │ │ │ └ [] │ │ │ └ │ │ └ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\runners.py", line 44, in run return loop.run_until_complete(main) │ │ └ │ └ └ <_WindowsSelectorEventLoop running=True closed=False debug=False> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 633, in run_until_complete self.run_forever() │ └ └ <_WindowsSelectorEventLoop running=True closed=False debug=False> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 600, in run_forever self._run_once() │ └ └ <_WindowsSelectorEventLoop running=True closed=False debug=False> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 1896, in _run_once handle._run() │ └ >)> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\events.py", line 80, in _run self._context.run(self._callback, *self._args) │ │ │ │ │ └ │ │ │ │ └ >)> │ │ │ └ │ │ └ >)> │ └ >)> > File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\protocols\http\h11_impl.py", line 403, in run_asgi result = await app( # type: ignore[func-returns-value] └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\middleware\proxy_headers.py", line 60, in __call__ return await self.app(scope, receive, send) │ │ │ │ └ > │ │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\fastapi\applications.py", line 1054, in __call__ await super().__call__(scope, receive, send) │ │ └ > │ └ > │ │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\errors.py", line 187, in __call__ raise exc File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\errors.py", line 165, in __call__ await self.app(scope, receive, _send) │ │ │ │ └ ._send at 0x0000012597C6A170> │ │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\cors.py", line 85, in __call__ await self.app(scope, receive, send) │ │ │ │ └ ._send at 0x0000012597C6A170> │ │ │ └ , header_name='... └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\asgi_correlation_id\middleware.py", line 90, in __call__ await self.app(scope, receive, handle_outgoing_request) │ │ │ │ └ .handle_outgoing_request at 0x0000012597C6A4D0> │ │ │ └ └ CorrelationIdMiddleware(app=, header_name='... File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\exceptions.py", line 62, in __call__ await wrap_app_handling_exceptions(self.app, conn)(scope, receive, send) │ │ │ │ │ │ └ .handle_outgoing_request at 0x0000012597C6A4D0> │ │ │ │ │ └ │ │ └ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 53, in wrapped_app raise exc File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 42, in wrapped_app await app(scope, receive, sender) │ │ │ └ .wrapped_app..sender at 0x0000012597C6A320> │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 714, in __call__ await self.middleware_stack(scope, receive, send) │ │ │ │ └ .wrapped_app..sender at 0x0000012597C6A320> │ │ │ └ > └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 734, in app await route.handle(scope, receive, send) │ │ │ │ └ .wrapped_app..sender at 0x0000012597C6A320> │ │ │ └ └ APIRoute(path='/api/v1/trip/option', name='trips_option', methods=['POST']) File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 288, in handle await self.app(scope, receive, send) │ │ │ │ └ .wrapped_app..sender at 0x0000012597C6A320> │ │ │ └ .app at 0x00000125EA994280> └ APIRoute(path='/api/v1/trip/option', name='trips_option', methods=['POST']) File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 76, in app await wrap_app_handling_exceptions(app, request)(scope, receive, send) │ │ │ │ │ └ .wrapped_app..sender at 0x0000012597C6A320> │ │ │ │ └ │ └ .app..app at 0x0000012597C6A560> └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 53, in wrapped_app raise exc File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 42, in wrapped_app await app(scope, receive, sender) │ │ │ └ .wrapped_app..sender at 0x0000012597C6A440> │ │ └ .app..app at 0x0000012597C6A560> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 73, in app response = await f(request) │ └ .app at 0x00000125EA796D40> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\fastapi\routing.py", line 301, in app raw_response = await run_endpoint_function( └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\fastapi\routing.py", line 212, in run_endpoint_function return await dependant.call(**values) │ │ └ {'service': , 'request': └ Dependant(path_params=[], query_params=[], header_params=[], cookie_params=[], body_params=[], dependencies=[Dependant(path_p... File "C:\University-HCMUTE\InternFuta\ApiDialogflowChatbot\app\api\v1\trip.py", line 31, in trips_option rs: DialogServiceResult = await service.get_trips_option(data) │ │ └ TripQueryRequest(departure_city='Thành phố Hồ Chí Minh', destination_city='Thành phố Đà Lạt', origin_office=None, dest_office... │ └ File "C:\University-HCMUTE\InternFuta\ApiDialogflowChatbot\app\dialogflow\services\trip_service.py", line 137, in get_trips_option origin_id, origin_code, origin_ids = await LocationResolver.resolve_info( │ └ TypeError: LocationResolver.resolve_info() missing 1 required positional argument: 'self' 2025-06-17 13:54:45.722 | ERROR | 176106c7145544309d33407aa06e6051 | Exception in ASGI application Traceback (most recent call last): File "", line 1, in File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\spawn.py", line 116, in spawn_main exitcode = _main(fd, parent_sentinel) │ │ └ 352 │ └ 3 └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\spawn.py", line 129, in _main return self._bootstrap(parent_sentinel) │ │ └ 352 │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\process.py", line 315, in _bootstrap self.run() │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\process.py", line 108, in run self._target(*self._args, **self._kwargs) │ │ │ │ │ └ {'config': , 'target': │ │ │ └ () │ │ └ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\_subprocess.py", line 80, in subprocess_started target(sockets=sockets) │ └ [] └ > File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\server.py", line 66, in run return asyncio.run(self.serve(sockets=sockets)) │ │ │ │ └ [] │ │ │ └ │ │ └ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\runners.py", line 44, in run return loop.run_until_complete(main) │ │ └ │ └ └ <_WindowsSelectorEventLoop running=True closed=False debug=False> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 633, in run_until_complete self.run_forever() │ └ └ <_WindowsSelectorEventLoop running=True closed=False debug=False> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 600, in run_forever self._run_once() │ └ └ <_WindowsSelectorEventLoop running=True closed=False debug=False> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 1896, in _run_once handle._run() │ └ >)> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\events.py", line 80, in _run self._context.run(self._callback, *self._args) │ │ │ │ │ └ │ │ │ │ └ >)> │ │ │ └ │ │ └ >)> │ └ >)> > File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\protocols\http\h11_impl.py", line 403, in run_asgi result = await app( # type: ignore[func-returns-value] └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\middleware\proxy_headers.py", line 60, in __call__ return await self.app(scope, receive, send) │ │ │ │ └ > │ │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\fastapi\applications.py", line 1054, in __call__ await super().__call__(scope, receive, send) │ │ └ > │ └ > │ │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\errors.py", line 187, in __call__ raise exc File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\errors.py", line 165, in __call__ await self.app(scope, receive, _send) │ │ │ │ └ ._send at 0x00000125EA995900> │ │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\cors.py", line 85, in __call__ await self.app(scope, receive, send) │ │ │ │ └ ._send at 0x00000125EA995900> │ │ │ └ , header_name='... └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\asgi_correlation_id\middleware.py", line 90, in __call__ await self.app(scope, receive, handle_outgoing_request) │ │ │ │ └ .handle_outgoing_request at 0x0000012597C6A830> │ │ │ └ └ CorrelationIdMiddleware(app=, header_name='... File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\exceptions.py", line 62, in __call__ await wrap_app_handling_exceptions(self.app, conn)(scope, receive, send) │ │ │ │ │ │ └ .handle_outgoing_request at 0x0000012597C6A830> │ │ │ │ │ └ │ │ └ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 53, in wrapped_app raise exc File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 42, in wrapped_app await app(scope, receive, sender) │ │ │ └ .wrapped_app..sender at 0x0000012597D1CE50> │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 714, in __call__ await self.middleware_stack(scope, receive, send) │ │ │ │ └ .wrapped_app..sender at 0x0000012597D1CE50> │ │ │ └ > └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 734, in app await route.handle(scope, receive, send) │ │ │ │ └ .wrapped_app..sender at 0x0000012597D1CE50> │ │ │ └ └ APIRoute(path='/api/v1/trip/option', name='trips_option', methods=['POST']) File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 288, in handle await self.app(scope, receive, send) │ │ │ │ └ .wrapped_app..sender at 0x0000012597D1CE50> │ │ │ └ .app at 0x00000125EA994280> └ APIRoute(path='/api/v1/trip/option', name='trips_option', methods=['POST']) File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 76, in app await wrap_app_handling_exceptions(app, request)(scope, receive, send) │ │ │ │ │ └ .wrapped_app..sender at 0x0000012597D1CE50> │ │ │ │ └ │ └ .app..app at 0x0000012597D1CD30> └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 53, in wrapped_app raise exc File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 42, in wrapped_app await app(scope, receive, sender) │ │ │ └ .wrapped_app..sender at 0x0000012597D1D000> │ │ └ .app..app at 0x0000012597D1CD30> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 73, in app response = await f(request) │ └ .app at 0x00000125EA796D40> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\fastapi\routing.py", line 301, in app raw_response = await run_endpoint_function( └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\fastapi\routing.py", line 212, in run_endpoint_function return await dependant.call(**values) │ │ └ {'service': , 'request': └ Dependant(path_params=[], query_params=[], header_params=[], cookie_params=[], body_params=[], dependencies=[Dependant(path_p... File "C:\University-HCMUTE\InternFuta\ApiDialogflowChatbot\app\api\v1\trip.py", line 31, in trips_option rs: DialogServiceResult = await service.get_trips_option(data) │ │ └ TripQueryRequest(departure_city='Thành phố Hồ Chí Minh', destination_city='Thành phố Đà Lạt', origin_office=None, dest_office... │ └ File "C:\University-HCMUTE\InternFuta\ApiDialogflowChatbot\app\dialogflow\services\trip_service.py", line 137, in get_trips_option origin_id, origin_code, origin_ids = await LocationResolver.resolve_info( │ └ TypeError: LocationResolver.resolve_info() missing 1 required positional argument: 'self' 2025-06-17 14:26:20.154 | ERROR | - | Traceback (most recent call last): File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\runners.py", line 44, in run return loop.run_until_complete(main) File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 633, in run_until_complete self.run_forever() File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 600, in run_forever self._run_once() File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 1896, in _run_once handle._run() File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\events.py", line 80, in _run self._context.run(self._callback, *self._args) File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\server.py", line 69, in serve with self.capture_signals(): File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\contextlib.py", line 142, in __exit__ next(self.gen) File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\server.py", line 330, in capture_signals signal.raise_signal(captured_signal) KeyboardInterrupt During handling of the above exception, another exception occurred: Traceback (most recent call last): File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 699, in lifespan await receive() File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\lifespan\on.py", line 137, in receive return await self.receive_queue.get() File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\queues.py", line 159, in get await getter asyncio.exceptions.CancelledError 2025-06-17 14:28:36.504 | ERROR | - | Traceback (most recent call last): File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\runners.py", line 44, in run return loop.run_until_complete(main) File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 633, in run_until_complete self.run_forever() File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 600, in run_forever self._run_once() File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 1896, in _run_once handle._run() File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\events.py", line 80, in _run self._context.run(self._callback, *self._args) File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\server.py", line 69, in serve with self.capture_signals(): File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\contextlib.py", line 142, in __exit__ next(self.gen) File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\server.py", line 330, in capture_signals signal.raise_signal(captured_signal) KeyboardInterrupt During handling of the above exception, another exception occurred: Traceback (most recent call last): File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 699, in lifespan await receive() File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\lifespan\on.py", line 137, in receive return await self.receive_queue.get() File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\queues.py", line 159, in get await getter asyncio.exceptions.CancelledError 2025-06-17 14:28:48.937 | ERROR | - | Traceback (most recent call last): File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\runners.py", line 44, in run return loop.run_until_complete(main) File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 633, in run_until_complete self.run_forever() File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 600, in run_forever self._run_once() File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 1896, in _run_once handle._run() File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\events.py", line 80, in _run self._context.run(self._callback, *self._args) File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\server.py", line 69, in serve with self.capture_signals(): File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\contextlib.py", line 142, in __exit__ next(self.gen) File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\server.py", line 330, in capture_signals signal.raise_signal(captured_signal) KeyboardInterrupt During handling of the above exception, another exception occurred: Traceback (most recent call last): File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 699, in lifespan await receive() File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\lifespan\on.py", line 137, in receive return await self.receive_queue.get() File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\queues.py", line 159, in get await getter asyncio.exceptions.CancelledError 2025-06-17 14:29:01.765 | ERROR | - | Traceback (most recent call last): File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\runners.py", line 44, in run return loop.run_until_complete(main) File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 633, in run_until_complete self.run_forever() File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 600, in run_forever self._run_once() File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 1896, in _run_once handle._run() File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\events.py", line 80, in _run self._context.run(self._callback, *self._args) File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\server.py", line 69, in serve with self.capture_signals(): File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\contextlib.py", line 142, in __exit__ next(self.gen) File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\server.py", line 330, in capture_signals signal.raise_signal(captured_signal) KeyboardInterrupt During handling of the above exception, another exception occurred: Traceback (most recent call last): File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 699, in lifespan await receive() File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\lifespan\on.py", line 137, in receive return await self.receive_queue.get() File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\queues.py", line 159, in get await getter asyncio.exceptions.CancelledError 2025-06-17 14:37:23.268 | ERROR | aebedba79de34cb39db2bd42d0d4c859 | Exception in ASGI application Traceback (most recent call last): File "", line 1, in File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\spawn.py", line 116, in spawn_main exitcode = _main(fd, parent_sentinel) │ │ └ 188 │ └ 3 └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\spawn.py", line 129, in _main return self._bootstrap(parent_sentinel) │ │ └ 188 │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\process.py", line 315, in _bootstrap self.run() │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\process.py", line 108, in run self._target(*self._args, **self._kwargs) │ │ │ │ │ └ {'config': , 'target': │ │ │ └ () │ │ └ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\_subprocess.py", line 80, in subprocess_started target(sockets=sockets) │ └ [] └ > File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\server.py", line 66, in run return asyncio.run(self.serve(sockets=sockets)) │ │ │ │ └ [] │ │ │ └ │ │ └ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\runners.py", line 44, in run return loop.run_until_complete(main) │ │ └ │ └ └ <_WindowsSelectorEventLoop running=True closed=False debug=False> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 633, in run_until_complete self.run_forever() │ └ └ <_WindowsSelectorEventLoop running=True closed=False debug=False> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 600, in run_forever self._run_once() │ └ └ <_WindowsSelectorEventLoop running=True closed=False debug=False> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 1896, in _run_once handle._run() │ └ ()> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\events.py", line 80, in _run self._context.run(self._callback, *self._args) │ │ │ │ │ └ │ │ │ │ └ ()> │ │ │ └ │ │ └ ()> │ └ ()> > File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\protocols\http\h11_impl.py", line 403, in run_asgi result = await app( # type: ignore[func-returns-value] └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\middleware\proxy_headers.py", line 60, in __call__ return await self.app(scope, receive, send) │ │ │ │ └ > │ │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\fastapi\applications.py", line 1054, in __call__ await super().__call__(scope, receive, send) │ │ └ > │ └ > │ │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\errors.py", line 187, in __call__ raise exc File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\errors.py", line 165, in __call__ await self.app(scope, receive, _send) │ │ │ │ └ ._send at 0x000001F96F592200> │ │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\cors.py", line 85, in __call__ await self.app(scope, receive, send) │ │ │ │ └ ._send at 0x000001F96F592200> │ │ │ └ , header_name='... └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\asgi_correlation_id\middleware.py", line 90, in __call__ await self.app(scope, receive, handle_outgoing_request) │ │ │ │ └ .handle_outgoing_request at 0x000001F96F592290> │ │ │ └ └ CorrelationIdMiddleware(app=, header_name='... File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\exceptions.py", line 62, in __call__ await wrap_app_handling_exceptions(self.app, conn)(scope, receive, send) │ │ │ │ │ │ └ .handle_outgoing_request at 0x000001F96F592290> │ │ │ │ │ └ │ │ └ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 53, in wrapped_app raise exc File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 42, in wrapped_app await app(scope, receive, sender) │ │ │ └ .wrapped_app..sender at 0x000001F96F5923B0> │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 714, in __call__ await self.middleware_stack(scope, receive, send) │ │ │ │ └ .wrapped_app..sender at 0x000001F96F5923B0> │ │ │ └ > └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 734, in app await route.handle(scope, receive, send) │ │ │ │ └ .wrapped_app..sender at 0x000001F96F5923B0> │ │ │ └ └ APIRoute(path='/api/v1/trip/confirm-info', name='confirm', methods=['POST']) File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 288, in handle await self.app(scope, receive, send) │ │ │ │ └ .wrapped_app..sender at 0x000001F96F5923B0> │ │ │ └ .app at 0x000001F942544550> └ APIRoute(path='/api/v1/trip/confirm-info', name='confirm', methods=['POST']) File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 76, in app await wrap_app_handling_exceptions(app, request)(scope, receive, send) │ │ │ │ │ └ .wrapped_app..sender at 0x000001F96F5923B0> │ │ │ │ └ │ └ .app..app at 0x000001F96F592050> └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 53, in wrapped_app raise exc File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 42, in wrapped_app await app(scope, receive, sender) │ │ │ └ .wrapped_app..sender at 0x000001F96F592170> │ │ └ .app..app at 0x000001F96F592050> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 73, in app response = await f(request) │ └ .app at 0x000001F9425444C0> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\fastapi\routing.py", line 301, in app raw_response = await run_endpoint_function( └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\fastapi\routing.py", line 212, in run_endpoint_function return await dependant.call(**values) │ │ └ {'request': } │ └ └ Dependant(path_params=[], query_params=[], header_params=[], cookie_params=[], body_params=[], dependencies=[], security_requ... File "C:\University-HCMUTE\InternFuta\ApiDialogflowChatbot\app\api\v1\trip.py", line 58, in confirm rs: DialogServiceResult = service.confirm_trip_search_input(data=data) └ TripQueryRequest(departure_city='Thành phố Hồ Chí Minh', destination_city='Thành phố Đà Lạt', origin_office=None, dest_office... NameError: name 'service' is not defined 2025-06-17 14:37:23.613 | ERROR | 305a47ba925d43f2a70b6920ec870012 | Exception in ASGI application Traceback (most recent call last): File "", line 1, in File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\spawn.py", line 116, in spawn_main exitcode = _main(fd, parent_sentinel) │ │ └ 188 │ └ 3 └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\spawn.py", line 129, in _main return self._bootstrap(parent_sentinel) │ │ └ 188 │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\process.py", line 315, in _bootstrap self.run() │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\process.py", line 108, in run self._target(*self._args, **self._kwargs) │ │ │ │ │ └ {'config': , 'target': │ │ │ └ () │ │ └ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\_subprocess.py", line 80, in subprocess_started target(sockets=sockets) │ └ [] └ > File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\server.py", line 66, in run return asyncio.run(self.serve(sockets=sockets)) │ │ │ │ └ [] │ │ │ └ │ │ └ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\runners.py", line 44, in run return loop.run_until_complete(main) │ │ └ │ └ └ <_WindowsSelectorEventLoop running=True closed=False debug=False> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 633, in run_until_complete self.run_forever() │ └ └ <_WindowsSelectorEventLoop running=True closed=False debug=False> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 600, in run_forever self._run_once() │ └ └ <_WindowsSelectorEventLoop running=True closed=False debug=False> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 1896, in _run_once handle._run() │ └ ()> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\events.py", line 80, in _run self._context.run(self._callback, *self._args) │ │ │ │ │ └ │ │ │ │ └ ()> │ │ │ └ │ │ └ ()> │ └ ()> > File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\protocols\http\h11_impl.py", line 403, in run_asgi result = await app( # type: ignore[func-returns-value] └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\middleware\proxy_headers.py", line 60, in __call__ return await self.app(scope, receive, send) │ │ │ │ └ > │ │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\fastapi\applications.py", line 1054, in __call__ await super().__call__(scope, receive, send) │ │ └ > │ └ > │ │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\errors.py", line 187, in __call__ raise exc File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\errors.py", line 165, in __call__ await self.app(scope, receive, _send) │ │ │ │ └ ._send at 0x000001F96F592440> │ │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\cors.py", line 85, in __call__ await self.app(scope, receive, send) │ │ │ │ └ ._send at 0x000001F96F592440> │ │ │ └ , header_name='... └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\asgi_correlation_id\middleware.py", line 90, in __call__ await self.app(scope, receive, handle_outgoing_request) │ │ │ │ └ .handle_outgoing_request at 0x000001F96F591FC0> │ │ │ └ └ CorrelationIdMiddleware(app=, header_name='... File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\exceptions.py", line 62, in __call__ await wrap_app_handling_exceptions(self.app, conn)(scope, receive, send) │ │ │ │ │ │ └ .handle_outgoing_request at 0x000001F96F591FC0> │ │ │ │ │ └ │ │ └ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 53, in wrapped_app raise exc File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 42, in wrapped_app await app(scope, receive, sender) │ │ │ └ .wrapped_app..sender at 0x000001F96F593010> │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 714, in __call__ await self.middleware_stack(scope, receive, send) │ │ │ │ └ .wrapped_app..sender at 0x000001F96F593010> │ │ │ └ > └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 734, in app await route.handle(scope, receive, send) │ │ │ │ └ .wrapped_app..sender at 0x000001F96F593010> │ │ │ └ └ APIRoute(path='/api/v1/trip/confirm-info', name='confirm', methods=['POST']) File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 288, in handle await self.app(scope, receive, send) │ │ │ │ └ .wrapped_app..sender at 0x000001F96F593010> │ │ │ └ .app at 0x000001F942544550> └ APIRoute(path='/api/v1/trip/confirm-info', name='confirm', methods=['POST']) File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 76, in app await wrap_app_handling_exceptions(app, request)(scope, receive, send) │ │ │ │ │ └ .wrapped_app..sender at 0x000001F96F593010> │ │ │ │ └ │ └ .app..app at 0x000001F96F592F80> └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 53, in wrapped_app raise exc File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 42, in wrapped_app await app(scope, receive, sender) │ │ │ └ .wrapped_app..sender at 0x000001F96F592320> │ │ └ .app..app at 0x000001F96F592F80> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 73, in app response = await f(request) │ └ .app at 0x000001F9425444C0> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\fastapi\routing.py", line 301, in app raw_response = await run_endpoint_function( └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\fastapi\routing.py", line 212, in run_endpoint_function return await dependant.call(**values) │ │ └ {'request': } │ └ └ Dependant(path_params=[], query_params=[], header_params=[], cookie_params=[], body_params=[], dependencies=[], security_requ... File "C:\University-HCMUTE\InternFuta\ApiDialogflowChatbot\app\api\v1\trip.py", line 58, in confirm rs: DialogServiceResult = service.confirm_trip_search_input(data=data) └ TripQueryRequest(departure_city='Thành phố Hồ Chí Minh', destination_city='Thành phố Đà Lạt', origin_office=None, dest_office... NameError: name 'service' is not defined 2025-06-17 14:37:24.538 | ERROR | fc8fe6421f694dec88d70fbee71b51e5 | Exception in ASGI application Traceback (most recent call last): File "", line 1, in File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\spawn.py", line 116, in spawn_main exitcode = _main(fd, parent_sentinel) │ │ └ 188 │ └ 3 └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\spawn.py", line 129, in _main return self._bootstrap(parent_sentinel) │ │ └ 188 │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\process.py", line 315, in _bootstrap self.run() │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\process.py", line 108, in run self._target(*self._args, **self._kwargs) │ │ │ │ │ └ {'config': , 'target': │ │ │ └ () │ │ └ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\_subprocess.py", line 80, in subprocess_started target(sockets=sockets) │ └ [] └ > File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\server.py", line 66, in run return asyncio.run(self.serve(sockets=sockets)) │ │ │ │ └ [] │ │ │ └ │ │ └ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\runners.py", line 44, in run return loop.run_until_complete(main) │ │ └ │ └ └ <_WindowsSelectorEventLoop running=True closed=False debug=False> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 633, in run_until_complete self.run_forever() │ └ └ <_WindowsSelectorEventLoop running=True closed=False debug=False> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 600, in run_forever self._run_once() │ └ └ <_WindowsSelectorEventLoop running=True closed=False debug=False> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 1896, in _run_once handle._run() │ └ ()> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\events.py", line 80, in _run self._context.run(self._callback, *self._args) │ │ │ │ │ └ │ │ │ │ └ ()> │ │ │ └ │ │ └ ()> │ └ ()> > File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\protocols\http\h11_impl.py", line 403, in run_asgi result = await app( # type: ignore[func-returns-value] └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\middleware\proxy_headers.py", line 60, in __call__ return await self.app(scope, receive, send) │ │ │ │ └ > │ │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\fastapi\applications.py", line 1054, in __call__ await super().__call__(scope, receive, send) │ │ └ > │ └ > │ │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\errors.py", line 187, in __call__ raise exc File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\errors.py", line 165, in __call__ await self.app(scope, receive, _send) │ │ │ │ └ ._send at 0x000001F942545900> │ │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\cors.py", line 85, in __call__ await self.app(scope, receive, send) │ │ │ │ └ ._send at 0x000001F942545900> │ │ │ └ , header_name='... └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\asgi_correlation_id\middleware.py", line 90, in __call__ await self.app(scope, receive, handle_outgoing_request) │ │ │ │ └ .handle_outgoing_request at 0x000001F96F592560> │ │ │ └ └ CorrelationIdMiddleware(app=, header_name='... File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\exceptions.py", line 62, in __call__ await wrap_app_handling_exceptions(self.app, conn)(scope, receive, send) │ │ │ │ │ │ └ .handle_outgoing_request at 0x000001F96F592560> │ │ │ │ │ └ │ │ └ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 53, in wrapped_app raise exc File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 42, in wrapped_app await app(scope, receive, sender) │ │ │ └ .wrapped_app..sender at 0x000001F96F5932E0> │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 714, in __call__ await self.middleware_stack(scope, receive, send) │ │ │ │ └ .wrapped_app..sender at 0x000001F96F5932E0> │ │ │ └ > └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 734, in app await route.handle(scope, receive, send) │ │ │ │ └ .wrapped_app..sender at 0x000001F96F5932E0> │ │ │ └ └ APIRoute(path='/api/v1/trip/option', name='trips_option', methods=['POST']) File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 288, in handle await self.app(scope, receive, send) │ │ │ │ └ .wrapped_app..sender at 0x000001F96F5932E0> │ │ │ └ .app at 0x000001F942544280> └ APIRoute(path='/api/v1/trip/option', name='trips_option', methods=['POST']) File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 76, in app await wrap_app_handling_exceptions(app, request)(scope, receive, send) │ │ │ │ │ └ .wrapped_app..sender at 0x000001F96F5932E0> │ │ │ │ └ │ └ .app..app at 0x000001F96F5931C0> └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 53, in wrapped_app raise exc File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 42, in wrapped_app await app(scope, receive, sender) │ │ │ └ .wrapped_app..sender at 0x000001F96F592EF0> │ │ └ .app..app at 0x000001F96F5931C0> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 73, in app response = await f(request) │ └ .app at 0x000001F942346D40> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\fastapi\routing.py", line 301, in app raw_response = await run_endpoint_function( └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\fastapi\routing.py", line 212, in run_endpoint_function return await dependant.call(**values) │ │ └ {'request': } │ └ └ Dependant(path_params=[], query_params=[], header_params=[], cookie_params=[], body_params=[], dependencies=[], security_requ... File "C:\University-HCMUTE\InternFuta\ApiDialogflowChatbot\app\api\v1\trip.py", line 35, in trips_option rs: DialogServiceResult = await service.get_trips_option(data) └ TripQueryRequest(departure_city='Thành phố Hồ Chí Minh', destination_city='Thành phố Đà Lạt', origin_office=None, dest_office... NameError: name 'service' is not defined 2025-06-17 14:37:25.042 | ERROR | 62fcb30681d54b16a039646efdfa072c | Exception in ASGI application Traceback (most recent call last): File "", line 1, in File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\spawn.py", line 116, in spawn_main exitcode = _main(fd, parent_sentinel) │ │ └ 188 │ └ 3 └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\spawn.py", line 129, in _main return self._bootstrap(parent_sentinel) │ │ └ 188 │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\process.py", line 315, in _bootstrap self.run() │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\process.py", line 108, in run self._target(*self._args, **self._kwargs) │ │ │ │ │ └ {'config': , 'target': │ │ │ └ () │ │ └ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\_subprocess.py", line 80, in subprocess_started target(sockets=sockets) │ └ [] └ > File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\server.py", line 66, in run return asyncio.run(self.serve(sockets=sockets)) │ │ │ │ └ [] │ │ │ └ │ │ └ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\runners.py", line 44, in run return loop.run_until_complete(main) │ │ └ │ └ └ <_WindowsSelectorEventLoop running=True closed=False debug=False> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 633, in run_until_complete self.run_forever() │ └ └ <_WindowsSelectorEventLoop running=True closed=False debug=False> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 600, in run_forever self._run_once() │ └ └ <_WindowsSelectorEventLoop running=True closed=False debug=False> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 1896, in _run_once handle._run() │ └ ()> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\events.py", line 80, in _run self._context.run(self._callback, *self._args) │ │ │ │ │ └ │ │ │ │ └ ()> │ │ │ └ │ │ └ ()> │ └ ()> > File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\protocols\http\h11_impl.py", line 403, in run_asgi result = await app( # type: ignore[func-returns-value] └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\middleware\proxy_headers.py", line 60, in __call__ return await self.app(scope, receive, send) │ │ │ │ └ > │ │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\fastapi\applications.py", line 1054, in __call__ await super().__call__(scope, receive, send) │ │ └ > │ └ > │ │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\errors.py", line 187, in __call__ raise exc File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\errors.py", line 165, in __call__ await self.app(scope, receive, _send) │ │ │ │ └ ._send at 0x000001F96F593490> │ │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\cors.py", line 85, in __call__ await self.app(scope, receive, send) │ │ │ │ └ ._send at 0x000001F96F593490> │ │ │ └ , header_name='... └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\asgi_correlation_id\middleware.py", line 90, in __call__ await self.app(scope, receive, handle_outgoing_request) │ │ │ │ └ .handle_outgoing_request at 0x000001F96F5935B0> │ │ │ └ └ CorrelationIdMiddleware(app=, header_name='... File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\exceptions.py", line 62, in __call__ await wrap_app_handling_exceptions(self.app, conn)(scope, receive, send) │ │ │ │ │ │ └ .handle_outgoing_request at 0x000001F96F5935B0> │ │ │ │ │ └ │ │ └ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 53, in wrapped_app raise exc File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 42, in wrapped_app await app(scope, receive, sender) │ │ │ └ .wrapped_app..sender at 0x000001F96F593520> │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 714, in __call__ await self.middleware_stack(scope, receive, send) │ │ │ │ └ .wrapped_app..sender at 0x000001F96F593520> │ │ │ └ > └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 734, in app await route.handle(scope, receive, send) │ │ │ │ └ .wrapped_app..sender at 0x000001F96F593520> │ │ │ └ └ APIRoute(path='/api/v1/trip/option', name='trips_option', methods=['POST']) File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 288, in handle await self.app(scope, receive, send) │ │ │ │ └ .wrapped_app..sender at 0x000001F96F593520> │ │ │ └ .app at 0x000001F942544280> └ APIRoute(path='/api/v1/trip/option', name='trips_option', methods=['POST']) File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 76, in app await wrap_app_handling_exceptions(app, request)(scope, receive, send) │ │ │ │ │ └ .wrapped_app..sender at 0x000001F96F593520> │ │ │ │ └ │ └ .app..app at 0x000001F96F593400> └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 53, in wrapped_app raise exc File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 42, in wrapped_app await app(scope, receive, sender) │ │ │ └ .wrapped_app..sender at 0x000001F96F593250> │ │ └ .app..app at 0x000001F96F593400> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 73, in app response = await f(request) │ └ .app at 0x000001F942346D40> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\fastapi\routing.py", line 301, in app raw_response = await run_endpoint_function( └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\fastapi\routing.py", line 212, in run_endpoint_function return await dependant.call(**values) │ │ └ {'request': } │ └ └ Dependant(path_params=[], query_params=[], header_params=[], cookie_params=[], body_params=[], dependencies=[], security_requ... File "C:\University-HCMUTE\InternFuta\ApiDialogflowChatbot\app\api\v1\trip.py", line 35, in trips_option rs: DialogServiceResult = await service.get_trips_option(data) └ TripQueryRequest(departure_city='Thành phố Hồ Chí Minh', destination_city='Thành phố Đà Lạt', origin_office=None, dest_office... NameError: name 'service' is not defined 2025-06-17 14:43:38.760 | ERROR | 10e7c89c5258417fae892fb8228a4ca0 | Exception in ASGI application Traceback (most recent call last): File "", line 1, in File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\spawn.py", line 116, in spawn_main exitcode = _main(fd, parent_sentinel) │ │ └ 356 │ └ 3 └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\spawn.py", line 129, in _main return self._bootstrap(parent_sentinel) │ │ └ 356 │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\process.py", line 315, in _bootstrap self.run() │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\process.py", line 108, in run self._target(*self._args, **self._kwargs) │ │ │ │ │ └ {'config': , 'target': │ │ │ └ () │ │ └ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\_subprocess.py", line 80, in subprocess_started target(sockets=sockets) │ └ [] └ > File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\server.py", line 66, in run return asyncio.run(self.serve(sockets=sockets)) │ │ │ │ └ [] │ │ │ └ │ │ └ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\runners.py", line 44, in run return loop.run_until_complete(main) │ │ └ │ └ └ <_WindowsSelectorEventLoop running=True closed=False debug=False> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 633, in run_until_complete self.run_forever() │ └ └ <_WindowsSelectorEventLoop running=True closed=False debug=False> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 600, in run_forever self._run_once() │ └ └ <_WindowsSelectorEventLoop running=True closed=False debug=False> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 1896, in _run_once handle._run() │ └ >)> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\events.py", line 80, in _run self._context.run(self._callback, *self._args) │ │ │ │ │ └ │ │ │ │ └ >)> │ │ │ └ │ │ └ >)> │ └ >)> > File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\protocols\http\h11_impl.py", line 403, in run_asgi result = await app( # type: ignore[func-returns-value] └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\middleware\proxy_headers.py", line 60, in __call__ return await self.app(scope, receive, send) │ │ │ │ └ > │ │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\fastapi\applications.py", line 1054, in __call__ await super().__call__(scope, receive, send) │ │ └ > │ └ > │ │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\errors.py", line 187, in __call__ raise exc File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\errors.py", line 165, in __call__ await self.app(scope, receive, _send) │ │ │ │ └ ._send at 0x000001AC889D9D80> │ │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\cors.py", line 85, in __call__ await self.app(scope, receive, send) │ │ │ │ └ ._send at 0x000001AC889D9D80> │ │ │ └ , header_name='... └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\asgi_correlation_id\middleware.py", line 90, in __call__ await self.app(scope, receive, handle_outgoing_request) │ │ │ │ └ .handle_outgoing_request at 0x000001ACB59A2440> │ │ │ └ └ CorrelationIdMiddleware(app=, header_name='... File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\exceptions.py", line 62, in __call__ await wrap_app_handling_exceptions(self.app, conn)(scope, receive, send) │ │ │ │ │ │ └ .handle_outgoing_request at 0x000001ACB59A2440> │ │ │ │ │ └ │ │ └ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 53, in wrapped_app raise exc File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 42, in wrapped_app await app(scope, receive, sender) │ │ │ └ .wrapped_app..sender at 0x000001ACB59A2560> │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 714, in __call__ await self.middleware_stack(scope, receive, send) │ │ │ │ └ .wrapped_app..sender at 0x000001ACB59A2560> │ │ │ └ > └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 734, in app await route.handle(scope, receive, send) │ │ │ │ └ .wrapped_app..sender at 0x000001ACB59A2560> │ │ │ └ └ APIRoute(path='/api/v1/trip/option', name='trips_option', methods=['POST']) File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 288, in handle await self.app(scope, receive, send) │ │ │ │ └ .wrapped_app..sender at 0x000001ACB59A2560> │ │ │ └ .app at 0x000001AC889D8280> └ APIRoute(path='/api/v1/trip/option', name='trips_option', methods=['POST']) File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 76, in app await wrap_app_handling_exceptions(app, request)(scope, receive, send) │ │ │ │ │ └ .wrapped_app..sender at 0x000001ACB59A2560> │ │ │ │ └ │ └ .app..app at 0x000001ACB59A2200> └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 53, in wrapped_app raise exc File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 42, in wrapped_app await app(scope, receive, sender) │ │ │ └ .wrapped_app..sender at 0x000001ACB59A2320> │ │ └ .app..app at 0x000001ACB59A2200> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 73, in app response = await f(request) │ └ .app at 0x000001AC887E6D40> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\fastapi\routing.py", line 301, in app raw_response = await run_endpoint_function( └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\fastapi\routing.py", line 212, in run_endpoint_function return await dependant.call(**values) │ │ └ {'service': , 'request': └ Dependant(path_params=[], query_params=[], header_params=[], cookie_params=[], body_params=[], dependencies=[Dependant(path_p... File "C:\University-HCMUTE\InternFuta\ApiDialogflowChatbot\app\api\v1\trip.py", line 36, in trips_option rs: DialogServiceResult = await service.get_trips_option(data) │ │ └ TripQueryRequest(departure_city='Thành phố Hồ Chí Minh', destination_city='Thành phố Đà Lạt', origin_office=None, dest_office... │ └ File "C:\University-HCMUTE\InternFuta\ApiDialogflowChatbot\app\dialogflow\services\trip_service.py", line 146, in get_trips_option origin_id, origin_code, origin_ids = await self.location_resolver.resolve_info( │ └ typing.Annotated[app.dialogflow.resolvers.location_resolver.LocationResolver, Depends(LocationResolver)] └ TypeError: LocationResolver.resolve_info() missing 1 required positional argument: 'self' 2025-06-17 14:43:39.092 | ERROR | 83994b93078046dc97f401ca1ed09006 | Exception in ASGI application Traceback (most recent call last): File "", line 1, in File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\spawn.py", line 116, in spawn_main exitcode = _main(fd, parent_sentinel) │ │ └ 356 │ └ 3 └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\spawn.py", line 129, in _main return self._bootstrap(parent_sentinel) │ │ └ 356 │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\process.py", line 315, in _bootstrap self.run() │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\process.py", line 108, in run self._target(*self._args, **self._kwargs) │ │ │ │ │ └ {'config': , 'target': │ │ │ └ () │ │ └ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\_subprocess.py", line 80, in subprocess_started target(sockets=sockets) │ └ [] └ > File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\server.py", line 66, in run return asyncio.run(self.serve(sockets=sockets)) │ │ │ │ └ [] │ │ │ └ │ │ └ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\runners.py", line 44, in run return loop.run_until_complete(main) │ │ └ │ └ └ <_WindowsSelectorEventLoop running=True closed=False debug=False> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 633, in run_until_complete self.run_forever() │ └ └ <_WindowsSelectorEventLoop running=True closed=False debug=False> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 600, in run_forever self._run_once() │ └ └ <_WindowsSelectorEventLoop running=True closed=False debug=False> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 1896, in _run_once handle._run() │ └ >)> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\events.py", line 80, in _run self._context.run(self._callback, *self._args) │ │ │ │ │ └ │ │ │ │ └ >)> │ │ │ └ │ │ └ >)> │ └ >)> > File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\protocols\http\h11_impl.py", line 403, in run_asgi result = await app( # type: ignore[func-returns-value] └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\middleware\proxy_headers.py", line 60, in __call__ return await self.app(scope, receive, send) │ │ │ │ └ > │ │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\fastapi\applications.py", line 1054, in __call__ await super().__call__(scope, receive, send) │ │ └ > │ └ > │ │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\errors.py", line 187, in __call__ raise exc File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\errors.py", line 165, in __call__ await self.app(scope, receive, _send) │ │ │ │ └ ._send at 0x000001ACB59A25F0> │ │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\cors.py", line 85, in __call__ await self.app(scope, receive, send) │ │ │ │ └ ._send at 0x000001ACB59A25F0> │ │ │ └ , header_name='... └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\asgi_correlation_id\middleware.py", line 90, in __call__ await self.app(scope, receive, handle_outgoing_request) │ │ │ │ └ .handle_outgoing_request at 0x000001ACB59A24D0> │ │ │ └ └ CorrelationIdMiddleware(app=, header_name='... File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\exceptions.py", line 62, in __call__ await wrap_app_handling_exceptions(self.app, conn)(scope, receive, send) │ │ │ │ │ │ └ .handle_outgoing_request at 0x000001ACB59A24D0> │ │ │ │ │ └ │ │ └ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 53, in wrapped_app raise exc File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 42, in wrapped_app await app(scope, receive, sender) │ │ │ └ .wrapped_app..sender at 0x000001ACB5A54EE0> │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 714, in __call__ await self.middleware_stack(scope, receive, send) │ │ │ │ └ .wrapped_app..sender at 0x000001ACB5A54EE0> │ │ │ └ > └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 734, in app await route.handle(scope, receive, send) │ │ │ │ └ .wrapped_app..sender at 0x000001ACB5A54EE0> │ │ │ └ └ APIRoute(path='/api/v1/trip/option', name='trips_option', methods=['POST']) File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 288, in handle await self.app(scope, receive, send) │ │ │ │ └ .wrapped_app..sender at 0x000001ACB5A54EE0> │ │ │ └ .app at 0x000001AC889D8280> └ APIRoute(path='/api/v1/trip/option', name='trips_option', methods=['POST']) File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 76, in app await wrap_app_handling_exceptions(app, request)(scope, receive, send) │ │ │ │ │ └ .wrapped_app..sender at 0x000001ACB5A54EE0> │ │ │ │ └ │ └ .app..app at 0x000001ACB5A54DC0> └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 53, in wrapped_app raise exc File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 42, in wrapped_app await app(scope, receive, sender) │ │ │ └ .wrapped_app..sender at 0x000001ACB5A55090> │ │ └ .app..app at 0x000001ACB5A54DC0> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 73, in app response = await f(request) │ └ .app at 0x000001AC887E6D40> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\fastapi\routing.py", line 301, in app raw_response = await run_endpoint_function( └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\fastapi\routing.py", line 212, in run_endpoint_function return await dependant.call(**values) │ │ └ {'service': , 'request': └ Dependant(path_params=[], query_params=[], header_params=[], cookie_params=[], body_params=[], dependencies=[Dependant(path_p... File "C:\University-HCMUTE\InternFuta\ApiDialogflowChatbot\app\api\v1\trip.py", line 36, in trips_option rs: DialogServiceResult = await service.get_trips_option(data) │ │ └ TripQueryRequest(departure_city='Thành phố Hồ Chí Minh', destination_city='Thành phố Đà Lạt', origin_office=None, dest_office... │ └ File "C:\University-HCMUTE\InternFuta\ApiDialogflowChatbot\app\dialogflow\services\trip_service.py", line 146, in get_trips_option origin_id, origin_code, origin_ids = await self.location_resolver.resolve_info( │ └ typing.Annotated[app.dialogflow.resolvers.location_resolver.LocationResolver, Depends(LocationResolver)] └ TypeError: LocationResolver.resolve_info() missing 1 required positional argument: 'self' 2025-06-17 14:52:57.552 | ERROR | 63b924d8630e42ff807a24c7b95e9b27 | Exception in ASGI application Traceback (most recent call last): File "", line 1, in File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\spawn.py", line 116, in spawn_main exitcode = _main(fd, parent_sentinel) │ │ └ 200 │ └ 3 └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\spawn.py", line 129, in _main return self._bootstrap(parent_sentinel) │ │ └ 200 │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\process.py", line 315, in _bootstrap self.run() │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\process.py", line 108, in run self._target(*self._args, **self._kwargs) │ │ │ │ │ └ {'config': , 'target': │ │ │ └ () │ │ └ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\_subprocess.py", line 80, in subprocess_started target(sockets=sockets) │ └ [] └ > File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\server.py", line 66, in run return asyncio.run(self.serve(sockets=sockets)) │ │ │ │ └ [] │ │ │ └ │ │ └ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\runners.py", line 44, in run return loop.run_until_complete(main) │ │ └ │ └ └ <_WindowsSelectorEventLoop running=True closed=False debug=False> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 633, in run_until_complete self.run_forever() │ └ └ <_WindowsSelectorEventLoop running=True closed=False debug=False> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 600, in run_forever self._run_once() │ └ └ <_WindowsSelectorEventLoop running=True closed=False debug=False> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 1896, in _run_once handle._run() │ └ )> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\events.py", line 80, in _run self._context.run(self._callback, *self._args) │ │ │ │ │ └ │ │ │ │ └ )> │ │ │ └ │ │ └ )> │ └ )> > File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\protocols\http\h11_impl.py", line 403, in run_asgi result = await app( # type: ignore[func-returns-value] └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\middleware\proxy_headers.py", line 60, in __call__ return await self.app(scope, receive, send) │ │ │ │ └ > │ │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\fastapi\applications.py", line 1054, in __call__ await super().__call__(scope, receive, send) │ │ └ > │ └ > │ │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\errors.py", line 187, in __call__ raise exc File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\errors.py", line 165, in __call__ await self.app(scope, receive, _send) │ │ │ │ └ ._send at 0x0000019E70166320> │ │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\cors.py", line 85, in __call__ await self.app(scope, receive, send) │ │ │ │ └ ._send at 0x0000019E70166320> │ │ │ └ , header_name='... └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\asgi_correlation_id\middleware.py", line 90, in __call__ await self.app(scope, receive, handle_outgoing_request) │ │ │ │ └ .handle_outgoing_request at 0x0000019E701660E0> │ │ │ └ └ CorrelationIdMiddleware(app=, header_name='... File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\exceptions.py", line 62, in __call__ await wrap_app_handling_exceptions(self.app, conn)(scope, receive, send) │ │ │ │ │ │ └ .handle_outgoing_request at 0x0000019E701660E0> │ │ │ │ │ └ │ │ └ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 53, in wrapped_app raise exc File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 42, in wrapped_app await app(scope, receive, sender) │ │ │ └ .wrapped_app..sender at 0x0000019E70166440> │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 714, in __call__ await self.middleware_stack(scope, receive, send) │ │ │ │ └ .wrapped_app..sender at 0x0000019E70166440> │ │ │ └ > └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 734, in app await route.handle(scope, receive, send) │ │ │ │ └ .wrapped_app..sender at 0x0000019E70166440> │ │ │ └ └ APIRoute(path='/api/v1/trip/confirm-info', name='confirm', methods=['POST']) File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 288, in handle await self.app(scope, receive, send) │ │ │ │ └ .wrapped_app..sender at 0x0000019E70166440> │ │ │ └ .app at 0x0000019E43124430> └ APIRoute(path='/api/v1/trip/confirm-info', name='confirm', methods=['POST']) File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 76, in app await wrap_app_handling_exceptions(app, request)(scope, receive, send) │ │ │ │ │ └ .wrapped_app..sender at 0x0000019E70166440> │ │ │ │ └ │ └ .app..app at 0x0000019E70166290> └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 53, in wrapped_app raise exc File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 42, in wrapped_app await app(scope, receive, sender) │ │ │ └ .wrapped_app..sender at 0x0000019E70166200> │ │ └ .app..app at 0x0000019E70166290> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 73, in app response = await f(request) │ └ .app at 0x0000019E431243A0> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\fastapi\routing.py", line 291, in app solved_result = await solve_dependencies( └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\fastapi\dependencies\utils.py", line 640, in solve_dependencies solved = await run_in_threadpool(call, **solved_result.values) │ │ │ └ {} │ │ └ SolvedDependency(values={}, errors=[], background_tasks=None, response= File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\concurrency.py", line 37, in run_in_threadpool return await anyio.to_thread.run_sync(func) │ │ │ └ functools.partial() │ │ └ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\anyio\to_thread.py", line 56, in run_sync return await get_async_backend().run_sync_in_worker_thread( └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\anyio\_backends\_asyncio.py", line 2461, in run_sync_in_worker_thread return await future └ ) │ └ └ <_contextvars.Context object at 0x0000019E701D8F00> File "C:\University-HCMUTE\InternFuta\ApiDialogflowChatbot\app\dialogflow\services\di.py", line 38, in get_trip_service return TripService() └ TypeError: TripService.__init__() missing 3 required positional arguments: 'location_resolver', 'trip_repository', and 'futabus_client' 2025-06-17 14:52:58.117 | ERROR | 5b726d53bd2b40288d76c529844a0c5f | Exception in ASGI application Traceback (most recent call last): File "", line 1, in File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\spawn.py", line 116, in spawn_main exitcode = _main(fd, parent_sentinel) │ │ └ 200 │ └ 3 └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\spawn.py", line 129, in _main return self._bootstrap(parent_sentinel) │ │ └ 200 │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\process.py", line 315, in _bootstrap self.run() │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\process.py", line 108, in run self._target(*self._args, **self._kwargs) │ │ │ │ │ └ {'config': , 'target': │ │ │ └ () │ │ └ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\_subprocess.py", line 80, in subprocess_started target(sockets=sockets) │ └ [] └ > File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\server.py", line 66, in run return asyncio.run(self.serve(sockets=sockets)) │ │ │ │ └ [] │ │ │ └ │ │ └ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\runners.py", line 44, in run return loop.run_until_complete(main) │ │ └ │ └ └ <_WindowsSelectorEventLoop running=True closed=False debug=False> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 633, in run_until_complete self.run_forever() │ └ └ <_WindowsSelectorEventLoop running=True closed=False debug=False> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 600, in run_forever self._run_once() │ └ └ <_WindowsSelectorEventLoop running=True closed=False debug=False> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 1896, in _run_once handle._run() │ └ )> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\events.py", line 80, in _run self._context.run(self._callback, *self._args) │ │ │ │ │ └ │ │ │ │ └ )> │ │ │ └ │ │ └ )> │ └ )> > File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\protocols\http\h11_impl.py", line 403, in run_asgi result = await app( # type: ignore[func-returns-value] └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\middleware\proxy_headers.py", line 60, in __call__ return await self.app(scope, receive, send) │ │ │ │ └ > │ │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\fastapi\applications.py", line 1054, in __call__ await super().__call__(scope, receive, send) │ │ └ > │ └ > │ │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\errors.py", line 187, in __call__ raise exc File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\errors.py", line 165, in __call__ await self.app(scope, receive, _send) │ │ │ │ └ ._send at 0x0000019E701667A0> │ │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\cors.py", line 85, in __call__ await self.app(scope, receive, send) │ │ │ │ └ ._send at 0x0000019E701667A0> │ │ │ └ , header_name='... └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\asgi_correlation_id\middleware.py", line 90, in __call__ await self.app(scope, receive, handle_outgoing_request) │ │ │ │ └ .handle_outgoing_request at 0x0000019E7023D000> │ │ │ └ └ CorrelationIdMiddleware(app=, header_name='... File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\exceptions.py", line 62, in __call__ await wrap_app_handling_exceptions(self.app, conn)(scope, receive, send) │ │ │ │ │ │ └ .handle_outgoing_request at 0x0000019E7023D000> │ │ │ │ │ └ │ │ └ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 53, in wrapped_app raise exc File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 42, in wrapped_app await app(scope, receive, sender) │ │ │ └ .wrapped_app..sender at 0x0000019E7023D090> │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 714, in __call__ await self.middleware_stack(scope, receive, send) │ │ │ │ └ .wrapped_app..sender at 0x0000019E7023D090> │ │ │ └ > └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 734, in app await route.handle(scope, receive, send) │ │ │ │ └ .wrapped_app..sender at 0x0000019E7023D090> │ │ │ └ └ APIRoute(path='/api/v1/trip/confirm-info', name='confirm', methods=['POST']) File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 288, in handle await self.app(scope, receive, send) │ │ │ │ └ .wrapped_app..sender at 0x0000019E7023D090> │ │ │ └ .app at 0x0000019E43124430> └ APIRoute(path='/api/v1/trip/confirm-info', name='confirm', methods=['POST']) File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 76, in app await wrap_app_handling_exceptions(app, request)(scope, receive, send) │ │ │ │ │ └ .wrapped_app..sender at 0x0000019E7023D090> │ │ │ │ └ │ └ .app..app at 0x0000019E7023D1B0> └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 53, in wrapped_app raise exc File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 42, in wrapped_app await app(scope, receive, sender) │ │ │ └ .wrapped_app..sender at 0x0000019E7023D120> │ │ └ .app..app at 0x0000019E7023D1B0> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 73, in app response = await f(request) │ └ .app at 0x0000019E431243A0> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\fastapi\routing.py", line 291, in app solved_result = await solve_dependencies( └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\fastapi\dependencies\utils.py", line 640, in solve_dependencies solved = await run_in_threadpool(call, **solved_result.values) │ │ │ └ {} │ │ └ SolvedDependency(values={}, errors=[], background_tasks=None, response= File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\concurrency.py", line 37, in run_in_threadpool return await anyio.to_thread.run_sync(func) │ │ │ └ functools.partial() │ │ └ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\anyio\to_thread.py", line 56, in run_sync return await get_async_backend().run_sync_in_worker_thread( └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\anyio\_backends\_asyncio.py", line 2461, in run_sync_in_worker_thread return await future └ ) │ └ └ <_contextvars.Context object at 0x0000019E70178640> File "C:\University-HCMUTE\InternFuta\ApiDialogflowChatbot\app\dialogflow\services\di.py", line 38, in get_trip_service return TripService() └ TypeError: TripService.__init__() missing 3 required positional arguments: 'location_resolver', 'trip_repository', and 'futabus_client' 2025-06-17 14:52:59.145 | ERROR | ecddd380639941eeb6e8c54e09bef6ad | Exception in ASGI application Traceback (most recent call last): File "", line 1, in File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\spawn.py", line 116, in spawn_main exitcode = _main(fd, parent_sentinel) │ │ └ 200 │ └ 3 └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\spawn.py", line 129, in _main return self._bootstrap(parent_sentinel) │ │ └ 200 │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\process.py", line 315, in _bootstrap self.run() │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\process.py", line 108, in run self._target(*self._args, **self._kwargs) │ │ │ │ │ └ {'config': , 'target': │ │ │ └ () │ │ └ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\_subprocess.py", line 80, in subprocess_started target(sockets=sockets) │ └ [] └ > File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\server.py", line 66, in run return asyncio.run(self.serve(sockets=sockets)) │ │ │ │ └ [] │ │ │ └ │ │ └ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\runners.py", line 44, in run return loop.run_until_complete(main) │ │ └ │ └ └ <_WindowsSelectorEventLoop running=True closed=False debug=False> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 633, in run_until_complete self.run_forever() │ └ └ <_WindowsSelectorEventLoop running=True closed=False debug=False> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 600, in run_forever self._run_once() │ └ └ <_WindowsSelectorEventLoop running=True closed=False debug=False> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 1896, in _run_once handle._run() │ └ )> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\events.py", line 80, in _run self._context.run(self._callback, *self._args) │ │ │ │ │ └ │ │ │ │ └ )> │ │ │ └ │ │ └ )> │ └ )> > File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\protocols\http\h11_impl.py", line 403, in run_asgi result = await app( # type: ignore[func-returns-value] └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\middleware\proxy_headers.py", line 60, in __call__ return await self.app(scope, receive, send) │ │ │ │ └ > │ │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\fastapi\applications.py", line 1054, in __call__ await super().__call__(scope, receive, send) │ │ └ > │ └ > │ │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\errors.py", line 187, in __call__ raise exc File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\errors.py", line 165, in __call__ await self.app(scope, receive, _send) │ │ │ │ └ ._send at 0x0000019E7023D3F0> │ │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\cors.py", line 85, in __call__ await self.app(scope, receive, send) │ │ │ │ └ ._send at 0x0000019E7023D3F0> │ │ │ └ , header_name='... └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\asgi_correlation_id\middleware.py", line 90, in __call__ await self.app(scope, receive, handle_outgoing_request) │ │ │ │ └ .handle_outgoing_request at 0x0000019E7023CF70> │ │ │ └ └ CorrelationIdMiddleware(app=, header_name='... File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\exceptions.py", line 62, in __call__ await wrap_app_handling_exceptions(self.app, conn)(scope, receive, send) │ │ │ │ │ │ └ .handle_outgoing_request at 0x0000019E7023CF70> │ │ │ │ │ └ │ │ └ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 53, in wrapped_app raise exc File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 42, in wrapped_app await app(scope, receive, sender) │ │ │ └ .wrapped_app..sender at 0x0000019E7023D510> │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 714, in __call__ await self.middleware_stack(scope, receive, send) │ │ │ │ └ .wrapped_app..sender at 0x0000019E7023D510> │ │ │ └ > └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 734, in app await route.handle(scope, receive, send) │ │ │ │ └ .wrapped_app..sender at 0x0000019E7023D510> │ │ │ └ └ APIRoute(path='/api/v1/trip/option', name='trips_option', methods=['POST']) File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 288, in handle await self.app(scope, receive, send) │ │ │ │ └ .wrapped_app..sender at 0x0000019E7023D510> │ │ │ └ .app at 0x0000019E43124160> └ APIRoute(path='/api/v1/trip/option', name='trips_option', methods=['POST']) File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 76, in app await wrap_app_handling_exceptions(app, request)(scope, receive, send) │ │ │ │ │ └ .wrapped_app..sender at 0x0000019E7023D510> │ │ │ │ └ │ └ .app..app at 0x0000019E7023D240> └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 53, in wrapped_app raise exc File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 42, in wrapped_app await app(scope, receive, sender) │ │ │ └ .wrapped_app..sender at 0x0000019E7023D480> │ │ └ .app..app at 0x0000019E7023D240> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 73, in app response = await f(request) │ └ .app at 0x0000019E42F16D40> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\fastapi\routing.py", line 291, in app solved_result = await solve_dependencies( └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\fastapi\dependencies\utils.py", line 640, in solve_dependencies solved = await run_in_threadpool(call, **solved_result.values) │ │ │ └ {} │ │ └ SolvedDependency(values={}, errors=[], background_tasks=None, response= File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\concurrency.py", line 37, in run_in_threadpool return await anyio.to_thread.run_sync(func) │ │ │ └ functools.partial() │ │ └ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\anyio\to_thread.py", line 56, in run_sync return await get_async_backend().run_sync_in_worker_thread( └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\anyio\_backends\_asyncio.py", line 2461, in run_sync_in_worker_thread return await future └ ) │ └ └ <_contextvars.Context object at 0x0000019E7017BF00> File "C:\University-HCMUTE\InternFuta\ApiDialogflowChatbot\app\dialogflow\services\di.py", line 38, in get_trip_service return TripService() └ TypeError: TripService.__init__() missing 3 required positional arguments: 'location_resolver', 'trip_repository', and 'futabus_client' 2025-06-17 14:52:59.681 | ERROR | 0542eb54e97742a685d23b7a28f395c0 | Exception in ASGI application Traceback (most recent call last): File "", line 1, in File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\spawn.py", line 116, in spawn_main exitcode = _main(fd, parent_sentinel) │ │ └ 200 │ └ 3 └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\spawn.py", line 129, in _main return self._bootstrap(parent_sentinel) │ │ └ 200 │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\process.py", line 315, in _bootstrap self.run() │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\process.py", line 108, in run self._target(*self._args, **self._kwargs) │ │ │ │ │ └ {'config': , 'target': │ │ │ └ () │ │ └ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\_subprocess.py", line 80, in subprocess_started target(sockets=sockets) │ └ [] └ > File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\server.py", line 66, in run return asyncio.run(self.serve(sockets=sockets)) │ │ │ │ └ [] │ │ │ └ │ │ └ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\runners.py", line 44, in run return loop.run_until_complete(main) │ │ └ │ └ └ <_WindowsSelectorEventLoop running=True closed=False debug=False> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 633, in run_until_complete self.run_forever() │ └ └ <_WindowsSelectorEventLoop running=True closed=False debug=False> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 600, in run_forever self._run_once() │ └ └ <_WindowsSelectorEventLoop running=True closed=False debug=False> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 1896, in _run_once handle._run() │ └ )> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\events.py", line 80, in _run self._context.run(self._callback, *self._args) │ │ │ │ │ └ │ │ │ │ └ )> │ │ │ └ │ │ └ )> │ └ )> > File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\protocols\http\h11_impl.py", line 403, in run_asgi result = await app( # type: ignore[func-returns-value] └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\middleware\proxy_headers.py", line 60, in __call__ return await self.app(scope, receive, send) │ │ │ │ └ > │ │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\fastapi\applications.py", line 1054, in __call__ await super().__call__(scope, receive, send) │ │ └ > │ └ > │ │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\errors.py", line 187, in __call__ raise exc File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\errors.py", line 165, in __call__ await self.app(scope, receive, _send) │ │ │ │ └ ._send at 0x0000019E431257E0> │ │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\cors.py", line 85, in __call__ await self.app(scope, receive, send) │ │ │ │ └ ._send at 0x0000019E431257E0> │ │ │ └ , header_name='... └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\asgi_correlation_id\middleware.py", line 90, in __call__ await self.app(scope, receive, handle_outgoing_request) │ │ │ │ └ .handle_outgoing_request at 0x0000019E7023D2D0> │ │ │ └ └ CorrelationIdMiddleware(app=, header_name='... File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\exceptions.py", line 62, in __call__ await wrap_app_handling_exceptions(self.app, conn)(scope, receive, send) │ │ │ │ │ │ └ .handle_outgoing_request at 0x0000019E7023D2D0> │ │ │ │ │ └ │ │ └ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 53, in wrapped_app raise exc File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 42, in wrapped_app await app(scope, receive, sender) │ │ │ └ .wrapped_app..sender at 0x0000019E7023D630> │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 714, in __call__ await self.middleware_stack(scope, receive, send) │ │ │ │ └ .wrapped_app..sender at 0x0000019E7023D630> │ │ │ └ > └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 734, in app await route.handle(scope, receive, send) │ │ │ │ └ .wrapped_app..sender at 0x0000019E7023D630> │ │ │ └ └ APIRoute(path='/api/v1/trip/option', name='trips_option', methods=['POST']) File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 288, in handle await self.app(scope, receive, send) │ │ │ │ └ .wrapped_app..sender at 0x0000019E7023D630> │ │ │ └ .app at 0x0000019E43124160> └ APIRoute(path='/api/v1/trip/option', name='trips_option', methods=['POST']) File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 76, in app await wrap_app_handling_exceptions(app, request)(scope, receive, send) │ │ │ │ │ └ .wrapped_app..sender at 0x0000019E7023D630> │ │ │ │ └ │ └ .app..app at 0x0000019E7023D5A0> └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 53, in wrapped_app raise exc File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 42, in wrapped_app await app(scope, receive, sender) │ │ │ └ .wrapped_app..sender at 0x0000019E7023D870> │ │ └ .app..app at 0x0000019E7023D5A0> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 73, in app response = await f(request) │ └ .app at 0x0000019E42F16D40> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\fastapi\routing.py", line 291, in app solved_result = await solve_dependencies( └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\fastapi\dependencies\utils.py", line 640, in solve_dependencies solved = await run_in_threadpool(call, **solved_result.values) │ │ │ └ {} │ │ └ SolvedDependency(values={}, errors=[], background_tasks=None, response= File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\concurrency.py", line 37, in run_in_threadpool return await anyio.to_thread.run_sync(func) │ │ │ └ functools.partial() │ │ └ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\anyio\to_thread.py", line 56, in run_sync return await get_async_backend().run_sync_in_worker_thread( └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\anyio\_backends\_asyncio.py", line 2461, in run_sync_in_worker_thread return await future └ ) │ └ └ <_contextvars.Context object at 0x0000019E70178640> File "C:\University-HCMUTE\InternFuta\ApiDialogflowChatbot\app\dialogflow\services\di.py", line 38, in get_trip_service return TripService() └ TypeError: TripService.__init__() missing 3 required positional arguments: 'location_resolver', 'trip_repository', and 'futabus_client' 2025-06-17 15:00:44.453 | ERROR | 92d27ed91a1549baa250b7cbfe352727 | Exception in ASGI application Traceback (most recent call last): File "", line 1, in File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\spawn.py", line 116, in spawn_main exitcode = _main(fd, parent_sentinel) │ │ └ 328 │ └ 3 └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\spawn.py", line 129, in _main return self._bootstrap(parent_sentinel) │ │ └ 328 │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\process.py", line 315, in _bootstrap self.run() │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\process.py", line 108, in run self._target(*self._args, **self._kwargs) │ │ │ │ │ └ {'config': , 'target': │ │ │ └ () │ │ └ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\_subprocess.py", line 80, in subprocess_started target(sockets=sockets) │ └ [] └ > File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\server.py", line 66, in run return asyncio.run(self.serve(sockets=sockets)) │ │ │ │ └ [] │ │ │ └ │ │ └ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\runners.py", line 44, in run return loop.run_until_complete(main) │ │ └ │ └ └ <_WindowsSelectorEventLoop running=True closed=False debug=False> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 633, in run_until_complete self.run_forever() │ └ └ <_WindowsSelectorEventLoop running=True closed=False debug=False> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 600, in run_forever self._run_once() │ └ └ <_WindowsSelectorEventLoop running=True closed=False debug=False> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 1896, in _run_once handle._run() │ └ >)> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\events.py", line 80, in _run self._context.run(self._callback, *self._args) │ │ │ │ │ └ │ │ │ │ └ >)> │ │ │ └ │ │ └ >)> │ └ >)> > File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\protocols\http\h11_impl.py", line 403, in run_asgi result = await app( # type: ignore[func-returns-value] └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\middleware\proxy_headers.py", line 60, in __call__ return await self.app(scope, receive, send) │ │ │ │ └ > │ │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\fastapi\applications.py", line 1054, in __call__ await super().__call__(scope, receive, send) │ │ └ > │ └ > │ │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\errors.py", line 187, in __call__ raise exc File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\errors.py", line 165, in __call__ await self.app(scope, receive, _send) │ │ │ │ └ ._send at 0x00000249DF189BD0> │ │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\cors.py", line 85, in __call__ await self.app(scope, receive, send) │ │ │ │ └ ._send at 0x00000249DF189BD0> │ │ │ └ , header_name='... └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\asgi_correlation_id\middleware.py", line 90, in __call__ await self.app(scope, receive, handle_outgoing_request) │ │ │ │ └ .handle_outgoing_request at 0x000002498C1FA050> │ │ │ └ └ CorrelationIdMiddleware(app=, header_name='... File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\exceptions.py", line 62, in __call__ await wrap_app_handling_exceptions(self.app, conn)(scope, receive, send) │ │ │ │ │ │ └ .handle_outgoing_request at 0x000002498C1FA050> │ │ │ │ │ └ │ │ └ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 53, in wrapped_app raise exc File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 42, in wrapped_app await app(scope, receive, sender) │ │ │ └ .wrapped_app..sender at 0x000002498C1FA3B0> │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 714, in __call__ await self.middleware_stack(scope, receive, send) │ │ │ │ └ .wrapped_app..sender at 0x000002498C1FA3B0> │ │ │ └ > └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 734, in app await route.handle(scope, receive, send) │ │ │ │ └ .wrapped_app..sender at 0x000002498C1FA3B0> │ │ │ └ └ APIRoute(path='/api/v1/trip/option', name='trips_option', methods=['POST']) File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 288, in handle await self.app(scope, receive, send) │ │ │ │ └ .wrapped_app..sender at 0x000002498C1FA3B0> │ │ │ └ .app at 0x00000249DF1880D0> └ APIRoute(path='/api/v1/trip/option', name='trips_option', methods=['POST']) File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 76, in app await wrap_app_handling_exceptions(app, request)(scope, receive, send) │ │ │ │ │ └ .wrapped_app..sender at 0x000002498C1FA3B0> │ │ │ │ └ │ └ .app..app at 0x000002498C1FA200> └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 53, in wrapped_app raise exc File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 42, in wrapped_app await app(scope, receive, sender) │ │ │ └ .wrapped_app..sender at 0x000002498C1FA170> │ │ └ .app..app at 0x000002498C1FA200> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 73, in app response = await f(request) │ └ .app at 0x00000249DEF76D40> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\fastapi\routing.py", line 301, in app raw_response = await run_endpoint_function( └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\fastapi\routing.py", line 212, in run_endpoint_function return await dependant.call(**values) │ │ └ {'service': , 'request': └ Dependant(path_params=[], query_params=[], header_params=[], cookie_params=[], body_params=[], dependencies=[Dependant(path_p... File "C:\University-HCMUTE\InternFuta\ApiDialogflowChatbot\app\api\v1\trip.py", line 36, in trips_option rs: DialogServiceResult = await service.get_trips_option(data) │ │ └ TripQueryRequest(departure_city='Thành phố Hồ Chí Minh', destination_city='Thành phố Đà Lạt', origin_office=None, dest_office... │ └ File "C:\University-HCMUTE\InternFuta\ApiDialogflowChatbot\app\dialogflow\services\trip_service.py", line 146, in get_trips_option origin_id, origin_code, origin_ids = await self.location_resolver.resolve_info( │ │ └ │ └ TypeError: LocationResolver.resolve_info() missing 1 required positional argument: 'self' 2025-06-17 15:00:44.990 | ERROR | c74b4fa593e844a99e857735a1677848 | Exception in ASGI application Traceback (most recent call last): File "", line 1, in File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\spawn.py", line 116, in spawn_main exitcode = _main(fd, parent_sentinel) │ │ └ 328 │ └ 3 └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\spawn.py", line 129, in _main return self._bootstrap(parent_sentinel) │ │ └ 328 │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\process.py", line 315, in _bootstrap self.run() │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\process.py", line 108, in run self._target(*self._args, **self._kwargs) │ │ │ │ │ └ {'config': , 'target': │ │ │ └ () │ │ └ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\_subprocess.py", line 80, in subprocess_started target(sockets=sockets) │ └ [] └ > File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\server.py", line 66, in run return asyncio.run(self.serve(sockets=sockets)) │ │ │ │ └ [] │ │ │ └ │ │ └ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\runners.py", line 44, in run return loop.run_until_complete(main) │ │ └ │ └ └ <_WindowsSelectorEventLoop running=True closed=False debug=False> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 633, in run_until_complete self.run_forever() │ └ └ <_WindowsSelectorEventLoop running=True closed=False debug=False> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 600, in run_forever self._run_once() │ └ └ <_WindowsSelectorEventLoop running=True closed=False debug=False> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 1896, in _run_once handle._run() │ └ >)> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\events.py", line 80, in _run self._context.run(self._callback, *self._args) │ │ │ │ │ └ │ │ │ │ └ >)> │ │ │ └ │ │ └ >)> │ └ >)> > File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\protocols\http\h11_impl.py", line 403, in run_asgi result = await app( # type: ignore[func-returns-value] └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\middleware\proxy_headers.py", line 60, in __call__ return await self.app(scope, receive, send) │ │ │ │ └ > │ │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\fastapi\applications.py", line 1054, in __call__ await super().__call__(scope, receive, send) │ │ └ > │ └ > │ │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\errors.py", line 187, in __call__ raise exc File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\errors.py", line 165, in __call__ await self.app(scope, receive, _send) │ │ │ │ └ ._send at 0x000002498C1FA4D0> │ │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\cors.py", line 85, in __call__ await self.app(scope, receive, send) │ │ │ │ └ ._send at 0x000002498C1FA4D0> │ │ │ └ , header_name='... └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\asgi_correlation_id\middleware.py", line 90, in __call__ await self.app(scope, receive, handle_outgoing_request) │ │ │ │ └ .handle_outgoing_request at 0x000002498C1FA320> │ │ │ └ └ CorrelationIdMiddleware(app=, header_name='... File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\exceptions.py", line 62, in __call__ await wrap_app_handling_exceptions(self.app, conn)(scope, receive, send) │ │ │ │ │ │ └ .handle_outgoing_request at 0x000002498C1FA320> │ │ │ │ │ └ │ │ └ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 53, in wrapped_app raise exc File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 42, in wrapped_app await app(scope, receive, sender) │ │ │ └ .wrapped_app..sender at 0x000002498C2A0D30> │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 714, in __call__ await self.middleware_stack(scope, receive, send) │ │ │ │ └ .wrapped_app..sender at 0x000002498C2A0D30> │ │ │ └ > └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 734, in app await route.handle(scope, receive, send) │ │ │ │ └ .wrapped_app..sender at 0x000002498C2A0D30> │ │ │ └ └ APIRoute(path='/api/v1/trip/option', name='trips_option', methods=['POST']) File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 288, in handle await self.app(scope, receive, send) │ │ │ │ └ .wrapped_app..sender at 0x000002498C2A0D30> │ │ │ └ .app at 0x00000249DF1880D0> └ APIRoute(path='/api/v1/trip/option', name='trips_option', methods=['POST']) File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 76, in app await wrap_app_handling_exceptions(app, request)(scope, receive, send) │ │ │ │ │ └ .wrapped_app..sender at 0x000002498C2A0D30> │ │ │ │ └ │ └ .app..app at 0x000002498C2A0C10> └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 53, in wrapped_app raise exc File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 42, in wrapped_app await app(scope, receive, sender) │ │ │ └ .wrapped_app..sender at 0x000002498C2A0EE0> │ │ └ .app..app at 0x000002498C2A0C10> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 73, in app response = await f(request) │ └ .app at 0x00000249DEF76D40> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\fastapi\routing.py", line 301, in app raw_response = await run_endpoint_function( └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\fastapi\routing.py", line 212, in run_endpoint_function return await dependant.call(**values) │ │ └ {'service': , 'request': └ Dependant(path_params=[], query_params=[], header_params=[], cookie_params=[], body_params=[], dependencies=[Dependant(path_p... File "C:\University-HCMUTE\InternFuta\ApiDialogflowChatbot\app\api\v1\trip.py", line 36, in trips_option rs: DialogServiceResult = await service.get_trips_option(data) │ │ └ TripQueryRequest(departure_city='Thành phố Hồ Chí Minh', destination_city='Thành phố Đà Lạt', origin_office=None, dest_office... │ └ File "C:\University-HCMUTE\InternFuta\ApiDialogflowChatbot\app\dialogflow\services\trip_service.py", line 146, in get_trips_option origin_id, origin_code, origin_ids = await self.location_resolver.resolve_info( │ │ └ │ └ TypeError: LocationResolver.resolve_info() missing 1 required positional argument: 'self' 2025-06-17 15:24:00.829 | ERROR | - | Traceback (most recent call last): File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\runners.py", line 44, in run return loop.run_until_complete(main) File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 633, in run_until_complete self.run_forever() File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 600, in run_forever self._run_once() File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 1896, in _run_once handle._run() File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\events.py", line 80, in _run self._context.run(self._callback, *self._args) File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\server.py", line 69, in serve with self.capture_signals(): File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\contextlib.py", line 142, in __exit__ next(self.gen) File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\server.py", line 330, in capture_signals signal.raise_signal(captured_signal) KeyboardInterrupt During handling of the above exception, another exception occurred: Traceback (most recent call last): File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 699, in lifespan await receive() File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\lifespan\on.py", line 137, in receive return await self.receive_queue.get() File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\queues.py", line 159, in get await getter asyncio.exceptions.CancelledError 2025-06-17 15:24:15.401 | ERROR | - | Traceback (most recent call last): File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\runners.py", line 44, in run return loop.run_until_complete(main) File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 633, in run_until_complete self.run_forever() File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 600, in run_forever self._run_once() File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 1896, in _run_once handle._run() File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\events.py", line 80, in _run self._context.run(self._callback, *self._args) File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\server.py", line 69, in serve with self.capture_signals(): File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\contextlib.py", line 142, in __exit__ next(self.gen) File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\server.py", line 330, in capture_signals signal.raise_signal(captured_signal) KeyboardInterrupt During handling of the above exception, another exception occurred: Traceback (most recent call last): File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 699, in lifespan await receive() File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\lifespan\on.py", line 137, in receive return await self.receive_queue.get() File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\queues.py", line 159, in get await getter asyncio.exceptions.CancelledError 2025-06-17 15:29:51.045 | ERROR | - | Traceback (most recent call last): File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\runners.py", line 44, in run return loop.run_until_complete(main) File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 633, in run_until_complete self.run_forever() File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 600, in run_forever self._run_once() File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 1896, in _run_once handle._run() File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\events.py", line 80, in _run self._context.run(self._callback, *self._args) File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\server.py", line 69, in serve with self.capture_signals(): File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\contextlib.py", line 142, in __exit__ next(self.gen) File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\server.py", line 330, in capture_signals signal.raise_signal(captured_signal) KeyboardInterrupt During handling of the above exception, another exception occurred: Traceback (most recent call last): File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 699, in lifespan await receive() File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\lifespan\on.py", line 137, in receive return await self.receive_queue.get() File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\queues.py", line 159, in get await getter asyncio.exceptions.CancelledError 2025-06-17 15:49:16.189 | ERROR | - | Traceback (most recent call last): File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\runners.py", line 44, in run return loop.run_until_complete(main) File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 633, in run_until_complete self.run_forever() File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 600, in run_forever self._run_once() File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 1896, in _run_once handle._run() File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\events.py", line 80, in _run self._context.run(self._callback, *self._args) File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\server.py", line 69, in serve with self.capture_signals(): File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\contextlib.py", line 142, in __exit__ next(self.gen) File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\server.py", line 330, in capture_signals signal.raise_signal(captured_signal) KeyboardInterrupt During handling of the above exception, another exception occurred: Traceback (most recent call last): File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 699, in lifespan await receive() File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\lifespan\on.py", line 137, in receive return await self.receive_queue.get() File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\queues.py", line 159, in get await getter asyncio.exceptions.CancelledError 2025-06-17 16:03:54.201 | ERROR | ad1035a3716642329b20c38c4bb1a754 | Exception in ASGI application Traceback (most recent call last): File "", line 1, in File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\spawn.py", line 116, in spawn_main exitcode = _main(fd, parent_sentinel) │ │ └ 340 │ └ 3 └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\spawn.py", line 129, in _main return self._bootstrap(parent_sentinel) │ │ └ 340 │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\process.py", line 315, in _bootstrap self.run() │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\process.py", line 108, in run self._target(*self._args, **self._kwargs) │ │ │ │ │ └ {'config': , 'target': │ │ │ └ () │ │ └ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\_subprocess.py", line 80, in subprocess_started target(sockets=sockets) │ └ [] └ > File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\server.py", line 66, in run return asyncio.run(self.serve(sockets=sockets)) │ │ │ │ └ [] │ │ │ └ │ │ └ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\runners.py", line 44, in run return loop.run_until_complete(main) │ │ └ │ └ └ <_WindowsSelectorEventLoop running=True closed=False debug=False> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 633, in run_until_complete self.run_forever() │ └ └ <_WindowsSelectorEventLoop running=True closed=False debug=False> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 600, in run_forever self._run_once() │ └ └ <_WindowsSelectorEventLoop running=True closed=False debug=False> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 1896, in _run_once handle._run() │ └ )> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\events.py", line 80, in _run self._context.run(self._callback, *self._args) │ │ │ │ │ └ │ │ │ │ └ )> │ │ │ └ │ │ └ )> │ └ )> > File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\protocols\http\h11_impl.py", line 403, in run_asgi result = await app( # type: ignore[func-returns-value] └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\middleware\proxy_headers.py", line 60, in __call__ return await self.app(scope, receive, send) │ │ │ │ └ > │ │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\fastapi\applications.py", line 1054, in __call__ await super().__call__(scope, receive, send) │ │ └ > │ └ > │ │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\errors.py", line 187, in __call__ raise exc File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\errors.py", line 165, in __call__ await self.app(scope, receive, _send) │ │ │ │ └ ._send at 0x0000011501281D80> │ │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\cors.py", line 85, in __call__ await self.app(scope, receive, send) │ │ │ │ └ ._send at 0x0000011501281D80> │ │ │ └ , header_name='... └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\asgi_correlation_id\middleware.py", line 90, in __call__ await self.app(scope, receive, handle_outgoing_request) │ │ │ │ └ .handle_outgoing_request at 0x0000011501281C60> │ │ │ └ └ CorrelationIdMiddleware(app=, header_name='... File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\exceptions.py", line 62, in __call__ await wrap_app_handling_exceptions(self.app, conn)(scope, receive, send) │ │ │ │ │ │ └ .handle_outgoing_request at 0x0000011501281C60> │ │ │ │ │ └ │ │ └ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 53, in wrapped_app raise exc File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 42, in wrapped_app await app(scope, receive, sender) │ │ │ └ .wrapped_app..sender at 0x0000011501281CF0> │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 714, in __call__ await self.middleware_stack(scope, receive, send) │ │ │ │ └ .wrapped_app..sender at 0x0000011501281CF0> │ │ │ └ > └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 734, in app await route.handle(scope, receive, send) │ │ │ │ └ .wrapped_app..sender at 0x0000011501281CF0> │ │ │ └ └ APIRoute(path='/api/v1/trip/confirm-info', name='confirm', methods=['POST']) File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 288, in handle await self.app(scope, receive, send) │ │ │ │ └ .wrapped_app..sender at 0x0000011501281CF0> │ │ │ └ .app at 0x00000115012801F0> └ APIRoute(path='/api/v1/trip/confirm-info', name='confirm', methods=['POST']) File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 76, in app await wrap_app_handling_exceptions(app, request)(scope, receive, send) │ │ │ │ │ └ .wrapped_app..sender at 0x0000011501281CF0> │ │ │ │ └ │ └ .app..app at 0x0000011501281BD0> └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 53, in wrapped_app raise exc File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 42, in wrapped_app await app(scope, receive, sender) │ │ │ └ .wrapped_app..sender at 0x0000011501281F30> │ │ └ .app..app at 0x0000011501281BD0> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 73, in app response = await f(request) │ └ .app at 0x0000011501280160> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\fastapi\routing.py", line 291, in app solved_result = await solve_dependencies( └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\fastapi\dependencies\utils.py", line 640, in solve_dependencies solved = await run_in_threadpool(call, **solved_result.values) │ │ │ └ {} │ │ └ SolvedDependency(values={}, errors=[], background_tasks=None, response= File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\concurrency.py", line 37, in run_in_threadpool return await anyio.to_thread.run_sync(func) │ │ │ └ functools.partial() │ │ └ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\anyio\to_thread.py", line 56, in run_sync return await get_async_backend().run_sync_in_worker_thread( └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\anyio\_backends\_asyncio.py", line 2461, in run_sync_in_worker_thread return await future └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\anyio\_backends\_asyncio.py", line 962, in run result = context.run(func, *args) │ │ │ └ () │ │ └ functools.partial() │ └ └ <_contextvars.Context object at 0x00000115010C0D40> File "C:\University-HCMUTE\InternFuta\ApiDialogflowChatbot\app\dialogflow\services\di.py", line 42, in get_trip_service trip_repository=TripRepository(), └ TypeError: TripRepository.__init__() missing 1 required positional argument: 'client' 2025-06-17 16:03:54.735 | ERROR | 427d240cfa284ed0b46522a238f0b87a | Exception in ASGI application Traceback (most recent call last): File "", line 1, in File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\spawn.py", line 116, in spawn_main exitcode = _main(fd, parent_sentinel) │ │ └ 340 │ └ 3 └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\spawn.py", line 129, in _main return self._bootstrap(parent_sentinel) │ │ └ 340 │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\process.py", line 315, in _bootstrap self.run() │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\process.py", line 108, in run self._target(*self._args, **self._kwargs) │ │ │ │ │ └ {'config': , 'target': │ │ │ └ () │ │ └ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\_subprocess.py", line 80, in subprocess_started target(sockets=sockets) │ └ [] └ > File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\server.py", line 66, in run return asyncio.run(self.serve(sockets=sockets)) │ │ │ │ └ [] │ │ │ └ │ │ └ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\runners.py", line 44, in run return loop.run_until_complete(main) │ │ └ │ └ └ <_WindowsSelectorEventLoop running=True closed=False debug=False> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 633, in run_until_complete self.run_forever() │ └ └ <_WindowsSelectorEventLoop running=True closed=False debug=False> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 600, in run_forever self._run_once() │ └ └ <_WindowsSelectorEventLoop running=True closed=False debug=False> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 1896, in _run_once handle._run() │ └ )> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\events.py", line 80, in _run self._context.run(self._callback, *self._args) │ │ │ │ │ └ │ │ │ │ └ )> │ │ │ └ │ │ └ )> │ └ )> > File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\protocols\http\h11_impl.py", line 403, in run_asgi result = await app( # type: ignore[func-returns-value] └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\middleware\proxy_headers.py", line 60, in __call__ return await self.app(scope, receive, send) │ │ │ │ └ > │ │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\fastapi\applications.py", line 1054, in __call__ await super().__call__(scope, receive, send) │ │ └ > │ └ > │ │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\errors.py", line 187, in __call__ raise exc File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\errors.py", line 165, in __call__ await self.app(scope, receive, _send) │ │ │ │ └ ._send at 0x0000011501281E10> │ │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\cors.py", line 85, in __call__ await self.app(scope, receive, send) │ │ │ │ └ ._send at 0x0000011501281E10> │ │ │ └ , header_name='... └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\asgi_correlation_id\middleware.py", line 90, in __call__ await self.app(scope, receive, handle_outgoing_request) │ │ │ │ └ .handle_outgoing_request at 0x0000011501486DD0> │ │ │ └ └ CorrelationIdMiddleware(app=, header_name='... File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\exceptions.py", line 62, in __call__ await wrap_app_handling_exceptions(self.app, conn)(scope, receive, send) │ │ │ │ │ │ └ .handle_outgoing_request at 0x0000011501486DD0> │ │ │ │ │ └ │ │ └ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 53, in wrapped_app raise exc File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 42, in wrapped_app await app(scope, receive, sender) │ │ │ └ .wrapped_app..sender at 0x0000011501486E60> │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 714, in __call__ await self.middleware_stack(scope, receive, send) │ │ │ │ └ .wrapped_app..sender at 0x0000011501486E60> │ │ │ └ > └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 734, in app await route.handle(scope, receive, send) │ │ │ │ └ .wrapped_app..sender at 0x0000011501486E60> │ │ │ └ └ APIRoute(path='/api/v1/trip/confirm-info', name='confirm', methods=['POST']) File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 288, in handle await self.app(scope, receive, send) │ │ │ │ └ .wrapped_app..sender at 0x0000011501486E60> │ │ │ └ .app at 0x00000115012801F0> └ APIRoute(path='/api/v1/trip/confirm-info', name='confirm', methods=['POST']) File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 76, in app await wrap_app_handling_exceptions(app, request)(scope, receive, send) │ │ │ │ │ └ .wrapped_app..sender at 0x0000011501486E60> │ │ │ │ └ │ └ .app..app at 0x0000011501486F80> └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 53, in wrapped_app raise exc File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 42, in wrapped_app await app(scope, receive, sender) │ │ │ └ .wrapped_app..sender at 0x0000011501486C20> │ │ └ .app..app at 0x0000011501486F80> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 73, in app response = await f(request) │ └ .app at 0x0000011501280160> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\fastapi\routing.py", line 291, in app solved_result = await solve_dependencies( └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\fastapi\dependencies\utils.py", line 640, in solve_dependencies solved = await run_in_threadpool(call, **solved_result.values) │ │ │ └ {} │ │ └ SolvedDependency(values={}, errors=[], background_tasks=None, response= File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\concurrency.py", line 37, in run_in_threadpool return await anyio.to_thread.run_sync(func) │ │ │ └ functools.partial() │ │ └ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\anyio\to_thread.py", line 56, in run_sync return await get_async_backend().run_sync_in_worker_thread( └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\anyio\_backends\_asyncio.py", line 2461, in run_sync_in_worker_thread return await future └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\anyio\_backends\_asyncio.py", line 962, in run result = context.run(func, *args) │ │ │ └ () │ │ └ functools.partial() │ └ └ <_contextvars.Context object at 0x000001150129F540> File "C:\University-HCMUTE\InternFuta\ApiDialogflowChatbot\app\dialogflow\services\di.py", line 42, in get_trip_service trip_repository=TripRepository(), └ TypeError: TripRepository.__init__() missing 1 required positional argument: 'client' 2025-06-17 16:03:55.879 | ERROR | 1576ca9d57e34d19ad9c3f9d720ca3f8 | Exception in ASGI application Traceback (most recent call last): File "", line 1, in File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\spawn.py", line 116, in spawn_main exitcode = _main(fd, parent_sentinel) │ │ └ 340 │ └ 3 └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\spawn.py", line 129, in _main return self._bootstrap(parent_sentinel) │ │ └ 340 │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\process.py", line 315, in _bootstrap self.run() │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\process.py", line 108, in run self._target(*self._args, **self._kwargs) │ │ │ │ │ └ {'config': , 'target': │ │ │ └ () │ │ └ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\_subprocess.py", line 80, in subprocess_started target(sockets=sockets) │ └ [] └ > File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\server.py", line 66, in run return asyncio.run(self.serve(sockets=sockets)) │ │ │ │ └ [] │ │ │ └ │ │ └ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\runners.py", line 44, in run return loop.run_until_complete(main) │ │ └ │ └ └ <_WindowsSelectorEventLoop running=True closed=False debug=False> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 633, in run_until_complete self.run_forever() │ └ └ <_WindowsSelectorEventLoop running=True closed=False debug=False> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 600, in run_forever self._run_once() │ └ └ <_WindowsSelectorEventLoop running=True closed=False debug=False> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 1896, in _run_once handle._run() │ └ )> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\events.py", line 80, in _run self._context.run(self._callback, *self._args) │ │ │ │ │ └ │ │ │ │ └ )> │ │ │ └ │ │ └ )> │ └ )> > File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\protocols\http\h11_impl.py", line 403, in run_asgi result = await app( # type: ignore[func-returns-value] └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\middleware\proxy_headers.py", line 60, in __call__ return await self.app(scope, receive, send) │ │ │ │ └ > │ │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\fastapi\applications.py", line 1054, in __call__ await super().__call__(scope, receive, send) │ │ └ > │ └ > │ │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\errors.py", line 187, in __call__ raise exc File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\errors.py", line 165, in __call__ await self.app(scope, receive, _send) │ │ │ │ └ ._send at 0x0000011501281A20> │ │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\cors.py", line 85, in __call__ await self.app(scope, receive, send) │ │ │ │ └ ._send at 0x0000011501281A20> │ │ │ └ , header_name='... └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\asgi_correlation_id\middleware.py", line 90, in __call__ await self.app(scope, receive, handle_outgoing_request) │ │ │ │ └ .handle_outgoing_request at 0x0000011501487250> │ │ │ └ └ CorrelationIdMiddleware(app=, header_name='... File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\exceptions.py", line 62, in __call__ await wrap_app_handling_exceptions(self.app, conn)(scope, receive, send) │ │ │ │ │ │ └ .handle_outgoing_request at 0x0000011501487250> │ │ │ │ │ └ │ │ └ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 53, in wrapped_app raise exc File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 42, in wrapped_app await app(scope, receive, sender) │ │ │ └ .wrapped_app..sender at 0x0000011501486D40> │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 714, in __call__ await self.middleware_stack(scope, receive, send) │ │ │ │ └ .wrapped_app..sender at 0x0000011501486D40> │ │ │ └ > └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 734, in app await route.handle(scope, receive, send) │ │ │ │ └ .wrapped_app..sender at 0x0000011501486D40> │ │ │ └ └ APIRoute(path='/api/v1/trip/option', name='trips_option', methods=['POST']) File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 288, in handle await self.app(scope, receive, send) │ │ │ │ └ .wrapped_app..sender at 0x0000011501486D40> │ │ │ └ .app at 0x0000011501247EB0> └ APIRoute(path='/api/v1/trip/option', name='trips_option', methods=['POST']) File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 76, in app await wrap_app_handling_exceptions(app, request)(scope, receive, send) │ │ │ │ │ └ .wrapped_app..sender at 0x0000011501486D40> │ │ │ │ └ │ └ .app..app at 0x0000011501487130> └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 53, in wrapped_app raise exc File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 42, in wrapped_app await app(scope, receive, sender) │ │ │ └ .wrapped_app..sender at 0x00000115014872E0> │ │ └ .app..app at 0x0000011501487130> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 73, in app response = await f(request) │ └ .app at 0x000001150122AB90> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\fastapi\routing.py", line 291, in app solved_result = await solve_dependencies( └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\fastapi\dependencies\utils.py", line 640, in solve_dependencies solved = await run_in_threadpool(call, **solved_result.values) │ │ │ └ {} │ │ └ SolvedDependency(values={}, errors=[], background_tasks=None, response= File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\concurrency.py", line 37, in run_in_threadpool return await anyio.to_thread.run_sync(func) │ │ │ └ functools.partial() │ │ └ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\anyio\to_thread.py", line 56, in run_sync return await get_async_backend().run_sync_in_worker_thread( └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\anyio\_backends\_asyncio.py", line 2461, in run_sync_in_worker_thread return await future └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\anyio\_backends\_asyncio.py", line 962, in run result = context.run(func, *args) │ │ │ └ () │ │ └ functools.partial() │ └ └ <_contextvars.Context object at 0x00000115012ABB80> File "C:\University-HCMUTE\InternFuta\ApiDialogflowChatbot\app\dialogflow\services\di.py", line 42, in get_trip_service trip_repository=TripRepository(), └ TypeError: TripRepository.__init__() missing 1 required positional argument: 'client' 2025-06-17 16:03:56.426 | ERROR | e13c9a792396462aa2f63a45e4ee8bff | Exception in ASGI application Traceback (most recent call last): File "", line 1, in File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\spawn.py", line 116, in spawn_main exitcode = _main(fd, parent_sentinel) │ │ └ 340 │ └ 3 └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\spawn.py", line 129, in _main return self._bootstrap(parent_sentinel) │ │ └ 340 │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\process.py", line 315, in _bootstrap self.run() │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\process.py", line 108, in run self._target(*self._args, **self._kwargs) │ │ │ │ │ └ {'config': , 'target': │ │ │ └ () │ │ └ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\_subprocess.py", line 80, in subprocess_started target(sockets=sockets) │ └ [] └ > File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\server.py", line 66, in run return asyncio.run(self.serve(sockets=sockets)) │ │ │ │ └ [] │ │ │ └ │ │ └ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\runners.py", line 44, in run return loop.run_until_complete(main) │ │ └ │ └ └ <_WindowsSelectorEventLoop running=True closed=False debug=False> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 633, in run_until_complete self.run_forever() │ └ └ <_WindowsSelectorEventLoop running=True closed=False debug=False> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 600, in run_forever self._run_once() │ └ └ <_WindowsSelectorEventLoop running=True closed=False debug=False> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 1896, in _run_once handle._run() │ └ )> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\events.py", line 80, in _run self._context.run(self._callback, *self._args) │ │ │ │ │ └ │ │ │ │ └ )> │ │ │ └ │ │ └ )> │ └ )> > File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\protocols\http\h11_impl.py", line 403, in run_asgi result = await app( # type: ignore[func-returns-value] └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\middleware\proxy_headers.py", line 60, in __call__ return await self.app(scope, receive, send) │ │ │ │ └ > │ │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\fastapi\applications.py", line 1054, in __call__ await super().__call__(scope, receive, send) │ │ └ > │ └ > │ │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\errors.py", line 187, in __call__ raise exc File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\errors.py", line 165, in __call__ await self.app(scope, receive, _send) │ │ │ │ └ ._send at 0x0000011501487010> │ │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\cors.py", line 85, in __call__ await self.app(scope, receive, send) │ │ │ │ └ ._send at 0x0000011501487010> │ │ │ └ , header_name='... └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\asgi_correlation_id\middleware.py", line 90, in __call__ await self.app(scope, receive, handle_outgoing_request) │ │ │ │ └ .handle_outgoing_request at 0x00000115014871C0> │ │ │ └ └ CorrelationIdMiddleware(app=, header_name='... File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\exceptions.py", line 62, in __call__ await wrap_app_handling_exceptions(self.app, conn)(scope, receive, send) │ │ │ │ │ │ └ .handle_outgoing_request at 0x00000115014871C0> │ │ │ │ │ └ │ │ └ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 53, in wrapped_app raise exc File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 42, in wrapped_app await app(scope, receive, sender) │ │ │ └ .wrapped_app..sender at 0x0000011501487400> │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 714, in __call__ await self.middleware_stack(scope, receive, send) │ │ │ │ └ .wrapped_app..sender at 0x0000011501487400> │ │ │ └ > └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 734, in app await route.handle(scope, receive, send) │ │ │ │ └ .wrapped_app..sender at 0x0000011501487400> │ │ │ └ └ APIRoute(path='/api/v1/trip/option', name='trips_option', methods=['POST']) File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 288, in handle await self.app(scope, receive, send) │ │ │ │ └ .wrapped_app..sender at 0x0000011501487400> │ │ │ └ .app at 0x0000011501247EB0> └ APIRoute(path='/api/v1/trip/option', name='trips_option', methods=['POST']) File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 76, in app await wrap_app_handling_exceptions(app, request)(scope, receive, send) │ │ │ │ │ └ .wrapped_app..sender at 0x0000011501487400> │ │ │ │ └ │ └ .app..app at 0x00000115014875B0> └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 53, in wrapped_app raise exc File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 42, in wrapped_app await app(scope, receive, sender) │ │ │ └ .wrapped_app..sender at 0x0000011501487490> │ │ └ .app..app at 0x00000115014875B0> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 73, in app response = await f(request) │ └ .app at 0x000001150122AB90> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\fastapi\routing.py", line 291, in app solved_result = await solve_dependencies( └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\fastapi\dependencies\utils.py", line 640, in solve_dependencies solved = await run_in_threadpool(call, **solved_result.values) │ │ │ └ {} │ │ └ SolvedDependency(values={}, errors=[], background_tasks=None, response= File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\concurrency.py", line 37, in run_in_threadpool return await anyio.to_thread.run_sync(func) │ │ │ └ functools.partial() │ │ └ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\anyio\to_thread.py", line 56, in run_sync return await get_async_backend().run_sync_in_worker_thread( └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\anyio\_backends\_asyncio.py", line 2461, in run_sync_in_worker_thread return await future └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\anyio\_backends\_asyncio.py", line 962, in run result = context.run(func, *args) │ │ │ └ () │ │ └ functools.partial() │ └ └ <_contextvars.Context object at 0x00000115012AA980> File "C:\University-HCMUTE\InternFuta\ApiDialogflowChatbot\app\dialogflow\services\di.py", line 42, in get_trip_service trip_repository=TripRepository(), └ TypeError: TripRepository.__init__() missing 1 required positional argument: 'client' 2025-06-17 16:10:11.866 | ERROR | 708db896e5444d1eb7d50dd0e112cc80 | Exception in ASGI application Traceback (most recent call last): File "", line 1, in File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\spawn.py", line 116, in spawn_main exitcode = _main(fd, parent_sentinel) │ │ └ 368 │ └ 3 └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\spawn.py", line 129, in _main return self._bootstrap(parent_sentinel) │ │ └ 368 │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\process.py", line 315, in _bootstrap self.run() │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\process.py", line 108, in run self._target(*self._args, **self._kwargs) │ │ │ │ │ └ {'config': , 'target': │ │ │ └ () │ │ └ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\_subprocess.py", line 80, in subprocess_started target(sockets=sockets) │ └ [] └ > File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\server.py", line 66, in run return asyncio.run(self.serve(sockets=sockets)) │ │ │ │ └ [] │ │ │ └ │ │ └ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\runners.py", line 44, in run return loop.run_until_complete(main) │ │ └ │ └ └ <_WindowsSelectorEventLoop running=True closed=False debug=False> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 633, in run_until_complete self.run_forever() │ └ └ <_WindowsSelectorEventLoop running=True closed=False debug=False> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 600, in run_forever self._run_once() │ └ └ <_WindowsSelectorEventLoop running=True closed=False debug=False> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 1896, in _run_once handle._run() │ └ >)> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\events.py", line 80, in _run self._context.run(self._callback, *self._args) │ │ │ │ │ └ │ │ │ │ └ >)> │ │ │ └ │ │ └ >)> │ └ >)> > File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\protocols\http\h11_impl.py", line 403, in run_asgi result = await app( # type: ignore[func-returns-value] └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\middleware\proxy_headers.py", line 60, in __call__ return await self.app(scope, receive, send) │ │ │ │ └ > │ │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\fastapi\applications.py", line 1054, in __call__ await super().__call__(scope, receive, send) │ │ └ > │ └ > │ │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\errors.py", line 187, in __call__ raise exc File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\errors.py", line 165, in __call__ await self.app(scope, receive, _send) │ │ │ │ └ ._send at 0x000001C9241B1C60> │ │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\cors.py", line 85, in __call__ await self.app(scope, receive, send) │ │ │ │ └ ._send at 0x000001C9241B1C60> │ │ │ └ , header_name='... └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\asgi_correlation_id\middleware.py", line 90, in __call__ await self.app(scope, receive, handle_outgoing_request) │ │ │ │ └ .handle_outgoing_request at 0x000001C9241B1FC0> │ │ │ └ └ CorrelationIdMiddleware(app=, header_name='... File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\exceptions.py", line 62, in __call__ await wrap_app_handling_exceptions(self.app, conn)(scope, receive, send) │ │ │ │ │ │ └ .handle_outgoing_request at 0x000001C9241B1FC0> │ │ │ │ │ └ │ │ └ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 53, in wrapped_app raise exc File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 42, in wrapped_app await app(scope, receive, sender) │ │ │ └ .wrapped_app..sender at 0x000001C9241B1CF0> │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 714, in __call__ await self.middleware_stack(scope, receive, send) │ │ │ │ └ .wrapped_app..sender at 0x000001C9241B1CF0> │ │ │ └ > └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 734, in app await route.handle(scope, receive, send) │ │ │ │ └ .wrapped_app..sender at 0x000001C9241B1CF0> │ │ │ └ └ APIRoute(path='/api/v1/trip/confirm-info', name='confirm', methods=['POST']) File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 288, in handle await self.app(scope, receive, send) │ │ │ │ └ .wrapped_app..sender at 0x000001C9241B1CF0> │ │ │ └ .app at 0x000001C9241B0280> └ APIRoute(path='/api/v1/trip/confirm-info', name='confirm', methods=['POST']) File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 76, in app await wrap_app_handling_exceptions(app, request)(scope, receive, send) │ │ │ │ │ └ .wrapped_app..sender at 0x000001C9241B1CF0> │ │ │ │ └ │ └ .app..app at 0x000001C9241B1BD0> └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 53, in wrapped_app raise exc File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 42, in wrapped_app await app(scope, receive, sender) │ │ │ └ .wrapped_app..sender at 0x000001C9241B1EA0> │ │ └ .app..app at 0x000001C9241B1BD0> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 73, in app response = await f(request) │ └ .app at 0x000001C9241B01F0> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\fastapi\routing.py", line 301, in app raw_response = await run_endpoint_function( └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\fastapi\routing.py", line 212, in run_endpoint_function return await dependant.call(**values) │ │ └ {'service': , 'request': └ Dependant(path_params=[], query_params=[], header_params=[], cookie_params=[], body_params=[], dependencies=[Dependant(path_p... File "C:\University-HCMUTE\InternFuta\ApiDialogflowChatbot\app\api\v1\trip.py", line 61, in confirm rs: DialogServiceResult = service.confirm_trip_search_input(data=data) │ └ TripQueryRequest(departure_city='Thành phố Hồ Chí Minh', destination_city='Thành phố Đà Lạt', origin_office=None, dest_office... └ AttributeError: 'Provide' object has no attribute 'confirm_trip_search_input' 2025-06-17 16:10:12.505 | ERROR | 03bde22b897647229814879fe969ade6 | Exception in ASGI application Traceback (most recent call last): File "", line 1, in File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\spawn.py", line 116, in spawn_main exitcode = _main(fd, parent_sentinel) │ │ └ 368 │ └ 3 └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\spawn.py", line 129, in _main return self._bootstrap(parent_sentinel) │ │ └ 368 │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\process.py", line 315, in _bootstrap self.run() │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\process.py", line 108, in run self._target(*self._args, **self._kwargs) │ │ │ │ │ └ {'config': , 'target': │ │ │ └ () │ │ └ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\_subprocess.py", line 80, in subprocess_started target(sockets=sockets) │ └ [] └ > File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\server.py", line 66, in run return asyncio.run(self.serve(sockets=sockets)) │ │ │ │ └ [] │ │ │ └ │ │ └ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\runners.py", line 44, in run return loop.run_until_complete(main) │ │ └ │ └ └ <_WindowsSelectorEventLoop running=True closed=False debug=False> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 633, in run_until_complete self.run_forever() │ └ └ <_WindowsSelectorEventLoop running=True closed=False debug=False> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 600, in run_forever self._run_once() │ └ └ <_WindowsSelectorEventLoop running=True closed=False debug=False> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 1896, in _run_once handle._run() │ └ >)> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\events.py", line 80, in _run self._context.run(self._callback, *self._args) │ │ │ │ │ └ │ │ │ │ └ >)> │ │ │ └ │ │ └ >)> │ └ >)> > File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\protocols\http\h11_impl.py", line 403, in run_asgi result = await app( # type: ignore[func-returns-value] └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\middleware\proxy_headers.py", line 60, in __call__ return await self.app(scope, receive, send) │ │ │ │ └ > │ │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\fastapi\applications.py", line 1054, in __call__ await super().__call__(scope, receive, send) │ │ └ > │ └ > │ │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\errors.py", line 187, in __call__ raise exc File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\errors.py", line 165, in __call__ await self.app(scope, receive, _send) │ │ │ │ └ ._send at 0x000001C924389FC0> │ │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\cors.py", line 85, in __call__ await self.app(scope, receive, send) │ │ │ │ └ ._send at 0x000001C924389FC0> │ │ │ └ , header_name='... └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\asgi_correlation_id\middleware.py", line 90, in __call__ await self.app(scope, receive, handle_outgoing_request) │ │ │ │ └ .handle_outgoing_request at 0x000001C924389E10> │ │ │ └ └ CorrelationIdMiddleware(app=, header_name='... File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\exceptions.py", line 62, in __call__ await wrap_app_handling_exceptions(self.app, conn)(scope, receive, send) │ │ │ │ │ │ └ .handle_outgoing_request at 0x000001C924389E10> │ │ │ │ │ └ │ │ └ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 53, in wrapped_app raise exc File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 42, in wrapped_app await app(scope, receive, sender) │ │ │ └ .wrapped_app..sender at 0x000001C924389F30> │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 714, in __call__ await self.middleware_stack(scope, receive, send) │ │ │ │ └ .wrapped_app..sender at 0x000001C924389F30> │ │ │ └ > └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 734, in app await route.handle(scope, receive, send) │ │ │ │ └ .wrapped_app..sender at 0x000001C924389F30> │ │ │ └ └ APIRoute(path='/api/v1/trip/confirm-info', name='confirm', methods=['POST']) File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 288, in handle await self.app(scope, receive, send) │ │ │ │ └ .wrapped_app..sender at 0x000001C924389F30> │ │ │ └ .app at 0x000001C9241B0280> └ APIRoute(path='/api/v1/trip/confirm-info', name='confirm', methods=['POST']) File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 76, in app await wrap_app_handling_exceptions(app, request)(scope, receive, send) │ │ │ │ │ └ .wrapped_app..sender at 0x000001C924389F30> │ │ │ │ └ │ └ .app..app at 0x000001C924389EA0> └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 53, in wrapped_app raise exc File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 42, in wrapped_app await app(scope, receive, sender) │ │ │ └ .wrapped_app..sender at 0x000001C92438A050> │ │ └ .app..app at 0x000001C924389EA0> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 73, in app response = await f(request) │ └ .app at 0x000001C9241B01F0> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\fastapi\routing.py", line 301, in app raw_response = await run_endpoint_function( └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\fastapi\routing.py", line 212, in run_endpoint_function return await dependant.call(**values) │ │ └ {'service': , 'request': └ Dependant(path_params=[], query_params=[], header_params=[], cookie_params=[], body_params=[], dependencies=[Dependant(path_p... File "C:\University-HCMUTE\InternFuta\ApiDialogflowChatbot\app\api\v1\trip.py", line 61, in confirm rs: DialogServiceResult = service.confirm_trip_search_input(data=data) │ └ TripQueryRequest(departure_city='Thành phố Hồ Chí Minh', destination_city='Thành phố Đà Lạt', origin_office=None, dest_office... └ AttributeError: 'Provide' object has no attribute 'confirm_trip_search_input' 2025-06-17 16:10:13.546 | ERROR | 12e22ef814ad47efafa6e99438b0e75f | Exception in ASGI application Traceback (most recent call last): File "", line 1, in File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\spawn.py", line 116, in spawn_main exitcode = _main(fd, parent_sentinel) │ │ └ 368 │ └ 3 └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\spawn.py", line 129, in _main return self._bootstrap(parent_sentinel) │ │ └ 368 │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\process.py", line 315, in _bootstrap self.run() │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\process.py", line 108, in run self._target(*self._args, **self._kwargs) │ │ │ │ │ └ {'config': , 'target': │ │ │ └ () │ │ └ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\_subprocess.py", line 80, in subprocess_started target(sockets=sockets) │ └ [] └ > File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\server.py", line 66, in run return asyncio.run(self.serve(sockets=sockets)) │ │ │ │ └ [] │ │ │ └ │ │ └ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\runners.py", line 44, in run return loop.run_until_complete(main) │ │ └ │ └ └ <_WindowsSelectorEventLoop running=True closed=False debug=False> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 633, in run_until_complete self.run_forever() │ └ └ <_WindowsSelectorEventLoop running=True closed=False debug=False> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 600, in run_forever self._run_once() │ └ └ <_WindowsSelectorEventLoop running=True closed=False debug=False> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 1896, in _run_once handle._run() │ └ )> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\events.py", line 80, in _run self._context.run(self._callback, *self._args) │ │ │ │ │ └ │ │ │ │ └ )> │ │ │ └ │ │ └ )> │ └ )> > File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\protocols\http\h11_impl.py", line 403, in run_asgi result = await app( # type: ignore[func-returns-value] └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\middleware\proxy_headers.py", line 60, in __call__ return await self.app(scope, receive, send) │ │ │ │ └ > │ │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\fastapi\applications.py", line 1054, in __call__ await super().__call__(scope, receive, send) │ │ └ > │ └ > │ │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\errors.py", line 187, in __call__ raise exc File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\errors.py", line 165, in __call__ await self.app(scope, receive, _send) │ │ │ │ └ ._send at 0x000001C9241B1AB0> │ │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\cors.py", line 85, in __call__ await self.app(scope, receive, send) │ │ │ │ └ ._send at 0x000001C9241B1AB0> │ │ │ └ , header_name='... └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\asgi_correlation_id\middleware.py", line 90, in __call__ await self.app(scope, receive, handle_outgoing_request) │ │ │ │ └ .handle_outgoing_request at 0x000001C92438A200> │ │ │ └ └ CorrelationIdMiddleware(app=, header_name='... File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\exceptions.py", line 62, in __call__ await wrap_app_handling_exceptions(self.app, conn)(scope, receive, send) │ │ │ │ │ │ └ .handle_outgoing_request at 0x000001C92438A200> │ │ │ │ │ └ │ │ └ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 53, in wrapped_app raise exc File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 42, in wrapped_app await app(scope, receive, sender) │ │ │ └ .wrapped_app..sender at 0x000001C92438A320> │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 714, in __call__ await self.middleware_stack(scope, receive, send) │ │ │ │ └ .wrapped_app..sender at 0x000001C92438A320> │ │ │ └ > └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 734, in app await route.handle(scope, receive, send) │ │ │ │ └ .wrapped_app..sender at 0x000001C92438A320> │ │ │ └ └ APIRoute(path='/api/v1/trip/option', name='trips_option', methods=['POST']) File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 288, in handle await self.app(scope, receive, send) │ │ │ │ └ .wrapped_app..sender at 0x000001C92438A320> │ │ │ └ .app at 0x000001C92416BF40> └ APIRoute(path='/api/v1/trip/option', name='trips_option', methods=['POST']) File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 76, in app await wrap_app_handling_exceptions(app, request)(scope, receive, send) │ │ │ │ │ └ .wrapped_app..sender at 0x000001C92438A320> │ │ │ │ └ │ └ .app..app at 0x000001C92438A3B0> └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 53, in wrapped_app raise exc File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 42, in wrapped_app await app(scope, receive, sender) │ │ │ └ .wrapped_app..sender at 0x000001C92438A170> │ │ └ .app..app at 0x000001C92438A3B0> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 73, in app response = await f(request) │ └ .app at 0x000001C92414AB90> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\fastapi\routing.py", line 301, in app raw_response = await run_endpoint_function( └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\fastapi\routing.py", line 212, in run_endpoint_function return await dependant.call(**values) │ │ └ {'service': , 'request': └ Dependant(path_params=[], query_params=[], header_params=[], cookie_params=[], body_params=[], dependencies=[Dependant(path_p... File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\dependency_injector\wiring.py", line 1072, in _patched return await fn(*args, **kwargs) │ │ └ {'service': , 'request': File "C:\University-HCMUTE\InternFuta\ApiDialogflowChatbot\app\api\v1\trip.py", line 38, in trips_option rs: DialogServiceResult = await service.get_trips_option(data) │ └ TripQueryRequest(departure_city='Thành phố Hồ Chí Minh', destination_city='Thành phố Đà Lạt', origin_office=None, dest_office... └ AttributeError: 'Provide' object has no attribute 'get_trips_option' 2025-06-17 16:10:14.076 | ERROR | d2fc6577df0b4e05848c9fd096166e25 | Exception in ASGI application Traceback (most recent call last): File "", line 1, in File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\spawn.py", line 116, in spawn_main exitcode = _main(fd, parent_sentinel) │ │ └ 368 │ └ 3 └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\spawn.py", line 129, in _main return self._bootstrap(parent_sentinel) │ │ └ 368 │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\process.py", line 315, in _bootstrap self.run() │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\process.py", line 108, in run self._target(*self._args, **self._kwargs) │ │ │ │ │ └ {'config': , 'target': │ │ │ └ () │ │ └ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\_subprocess.py", line 80, in subprocess_started target(sockets=sockets) │ └ [] └ > File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\server.py", line 66, in run return asyncio.run(self.serve(sockets=sockets)) │ │ │ │ └ [] │ │ │ └ │ │ └ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\runners.py", line 44, in run return loop.run_until_complete(main) │ │ └ │ └ └ <_WindowsSelectorEventLoop running=True closed=False debug=False> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 633, in run_until_complete self.run_forever() │ └ └ <_WindowsSelectorEventLoop running=True closed=False debug=False> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 600, in run_forever self._run_once() │ └ └ <_WindowsSelectorEventLoop running=True closed=False debug=False> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 1896, in _run_once handle._run() │ └ >)> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\events.py", line 80, in _run self._context.run(self._callback, *self._args) │ │ │ │ │ └ │ │ │ │ └ >)> │ │ │ └ │ │ └ >)> │ └ >)> > File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\protocols\http\h11_impl.py", line 403, in run_asgi result = await app( # type: ignore[func-returns-value] └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\middleware\proxy_headers.py", line 60, in __call__ return await self.app(scope, receive, send) │ │ │ │ └ > │ │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\fastapi\applications.py", line 1054, in __call__ await super().__call__(scope, receive, send) │ │ └ > │ └ > │ │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\errors.py", line 187, in __call__ raise exc File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\errors.py", line 165, in __call__ await self.app(scope, receive, _send) │ │ │ │ └ ._send at 0x000001C924389FC0> │ │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\cors.py", line 85, in __call__ await self.app(scope, receive, send) │ │ │ │ └ ._send at 0x000001C924389FC0> │ │ │ └ , header_name='... └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\asgi_correlation_id\middleware.py", line 90, in __call__ await self.app(scope, receive, handle_outgoing_request) │ │ │ │ └ .handle_outgoing_request at 0x000001C92438ACB0> │ │ │ └ └ CorrelationIdMiddleware(app=, header_name='... File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\exceptions.py", line 62, in __call__ await wrap_app_handling_exceptions(self.app, conn)(scope, receive, send) │ │ │ │ │ │ └ .handle_outgoing_request at 0x000001C92438ACB0> │ │ │ │ │ └ │ │ └ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 53, in wrapped_app raise exc File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 42, in wrapped_app await app(scope, receive, sender) │ │ │ └ .wrapped_app..sender at 0x000001C92438AD40> │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 714, in __call__ await self.middleware_stack(scope, receive, send) │ │ │ │ └ .wrapped_app..sender at 0x000001C92438AD40> │ │ │ └ > └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 734, in app await route.handle(scope, receive, send) │ │ │ │ └ .wrapped_app..sender at 0x000001C92438AD40> │ │ │ └ └ APIRoute(path='/api/v1/trip/option', name='trips_option', methods=['POST']) File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 288, in handle await self.app(scope, receive, send) │ │ │ │ └ .wrapped_app..sender at 0x000001C92438AD40> │ │ │ └ .app at 0x000001C92416BF40> └ APIRoute(path='/api/v1/trip/option', name='trips_option', methods=['POST']) File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 76, in app await wrap_app_handling_exceptions(app, request)(scope, receive, send) │ │ │ │ │ └ .wrapped_app..sender at 0x000001C92438AD40> │ │ │ │ └ │ └ .app..app at 0x000001C92438ADD0> └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 53, in wrapped_app raise exc File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 42, in wrapped_app await app(scope, receive, sender) │ │ │ └ .wrapped_app..sender at 0x000001C92438AC20> │ │ └ .app..app at 0x000001C92438ADD0> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 73, in app response = await f(request) │ └ .app at 0x000001C92414AB90> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\fastapi\routing.py", line 301, in app raw_response = await run_endpoint_function( └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\fastapi\routing.py", line 212, in run_endpoint_function return await dependant.call(**values) │ │ └ {'service': , 'request': └ Dependant(path_params=[], query_params=[], header_params=[], cookie_params=[], body_params=[], dependencies=[Dependant(path_p... File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\dependency_injector\wiring.py", line 1072, in _patched return await fn(*args, **kwargs) │ │ └ {'service': , 'request': File "C:\University-HCMUTE\InternFuta\ApiDialogflowChatbot\app\api\v1\trip.py", line 38, in trips_option rs: DialogServiceResult = await service.get_trips_option(data) │ └ TripQueryRequest(departure_city='Thành phố Hồ Chí Minh', destination_city='Thành phố Đà Lạt', origin_office=None, dest_office... └ AttributeError: 'Provide' object has no attribute 'get_trips_option' 2025-06-17 16:21:36.076 | ERROR | 6bbd8eebf16d4125a2a75ce2bc4c4988 | Exception in ASGI application Traceback (most recent call last): File "", line 1, in File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\spawn.py", line 116, in spawn_main exitcode = _main(fd, parent_sentinel) │ │ └ 360 │ └ 3 └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\spawn.py", line 129, in _main return self._bootstrap(parent_sentinel) │ │ └ 360 │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\process.py", line 315, in _bootstrap self.run() │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\process.py", line 108, in run self._target(*self._args, **self._kwargs) │ │ │ │ │ └ {'config': , 'target': │ │ │ └ () │ │ └ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\_subprocess.py", line 80, in subprocess_started target(sockets=sockets) │ └ [] └ > File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\server.py", line 66, in run return asyncio.run(self.serve(sockets=sockets)) │ │ │ │ └ [] │ │ │ └ │ │ └ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\runners.py", line 44, in run return loop.run_until_complete(main) │ │ └ │ └ └ <_WindowsSelectorEventLoop running=True closed=False debug=False> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 633, in run_until_complete self.run_forever() │ └ └ <_WindowsSelectorEventLoop running=True closed=False debug=False> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 600, in run_forever self._run_once() │ └ └ <_WindowsSelectorEventLoop running=True closed=False debug=False> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 1896, in _run_once handle._run() │ └ >)> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\events.py", line 80, in _run self._context.run(self._callback, *self._args) │ │ │ │ │ └ │ │ │ │ └ >)> │ │ │ └ │ │ └ >)> │ └ >)> > File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\protocols\http\h11_impl.py", line 403, in run_asgi result = await app( # type: ignore[func-returns-value] └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\middleware\proxy_headers.py", line 60, in __call__ return await self.app(scope, receive, send) │ │ │ │ └ > │ │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\fastapi\applications.py", line 1054, in __call__ await super().__call__(scope, receive, send) │ │ └ > │ └ > │ │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\errors.py", line 187, in __call__ raise exc File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\errors.py", line 165, in __call__ await self.app(scope, receive, _send) │ │ │ │ └ ._send at 0x00000188FBD71AB0> │ │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\cors.py", line 85, in __call__ await self.app(scope, receive, send) │ │ │ │ └ ._send at 0x00000188FBD71AB0> │ │ │ └ , header_name='... └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\asgi_correlation_id\middleware.py", line 90, in __call__ await self.app(scope, receive, handle_outgoing_request) │ │ │ │ └ .handle_outgoing_request at 0x00000188FBD71D80> │ │ │ └ └ CorrelationIdMiddleware(app=, header_name='... File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\exceptions.py", line 62, in __call__ await wrap_app_handling_exceptions(self.app, conn)(scope, receive, send) │ │ │ │ │ │ └ .handle_outgoing_request at 0x00000188FBD71D80> │ │ │ │ │ └ │ │ └ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 53, in wrapped_app raise exc File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 42, in wrapped_app await app(scope, receive, sender) │ │ │ └ .wrapped_app..sender at 0x00000188FBD71C60> │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 714, in __call__ await self.middleware_stack(scope, receive, send) │ │ │ │ └ .wrapped_app..sender at 0x00000188FBD71C60> │ │ │ └ > └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 734, in app await route.handle(scope, receive, send) │ │ │ │ └ .wrapped_app..sender at 0x00000188FBD71C60> │ │ │ └ └ APIRoute(path='/api/v1/trip/confirm-info', name='confirm', methods=['POST']) File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 288, in handle await self.app(scope, receive, send) │ │ │ │ └ .wrapped_app..sender at 0x00000188FBD71C60> │ │ │ └ .app at 0x00000188FBD70280> └ APIRoute(path='/api/v1/trip/confirm-info', name='confirm', methods=['POST']) File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 76, in app await wrap_app_handling_exceptions(app, request)(scope, receive, send) │ │ │ │ │ └ .wrapped_app..sender at 0x00000188FBD71C60> │ │ │ │ └ │ └ .app..app at 0x00000188FBD71FC0> └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 53, in wrapped_app raise exc File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 42, in wrapped_app await app(scope, receive, sender) │ │ │ └ .wrapped_app..sender at 0x00000188FBD71CF0> │ │ └ .app..app at 0x00000188FBD71FC0> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 73, in app response = await f(request) │ └ .app at 0x00000188FBD701F0> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\fastapi\routing.py", line 301, in app raw_response = await run_endpoint_function( └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\fastapi\routing.py", line 212, in run_endpoint_function return await dependant.call(**values) │ │ └ {'service': , 'request': └ Dependant(path_params=[], query_params=[], header_params=[], cookie_params=[], body_params=[], dependencies=[Dependant(path_p... File "C:\University-HCMUTE\InternFuta\ApiDialogflowChatbot\app\api\v1\trip.py", line 61, in confirm rs: DialogServiceResult = service.confirm_trip_search_input(data=data) │ └ TripQueryRequest(departure_city='Thành phố Hồ Chí Minh', destination_city='Thành phố Đà Lạt', origin_office=None, dest_office... └ AttributeError: 'Provide' object has no attribute 'confirm_trip_search_input' 2025-06-17 16:21:36.614 | ERROR | a57dda03c4dd4706bf04e801bf9c16d0 | Exception in ASGI application Traceback (most recent call last): File "", line 1, in File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\spawn.py", line 116, in spawn_main exitcode = _main(fd, parent_sentinel) │ │ └ 360 │ └ 3 └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\spawn.py", line 129, in _main return self._bootstrap(parent_sentinel) │ │ └ 360 │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\process.py", line 315, in _bootstrap self.run() │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\process.py", line 108, in run self._target(*self._args, **self._kwargs) │ │ │ │ │ └ {'config': , 'target': │ │ │ └ () │ │ └ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\_subprocess.py", line 80, in subprocess_started target(sockets=sockets) │ └ [] └ > File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\server.py", line 66, in run return asyncio.run(self.serve(sockets=sockets)) │ │ │ │ └ [] │ │ │ └ │ │ └ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\runners.py", line 44, in run return loop.run_until_complete(main) │ │ └ │ └ └ <_WindowsSelectorEventLoop running=True closed=False debug=False> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 633, in run_until_complete self.run_forever() │ └ └ <_WindowsSelectorEventLoop running=True closed=False debug=False> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 600, in run_forever self._run_once() │ └ └ <_WindowsSelectorEventLoop running=True closed=False debug=False> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 1896, in _run_once handle._run() │ └ >)> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\events.py", line 80, in _run self._context.run(self._callback, *self._args) │ │ │ │ │ └ │ │ │ │ └ >)> │ │ │ └ │ │ └ >)> │ └ >)> > File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\protocols\http\h11_impl.py", line 403, in run_asgi result = await app( # type: ignore[func-returns-value] └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\middleware\proxy_headers.py", line 60, in __call__ return await self.app(scope, receive, send) │ │ │ │ └ > │ │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\fastapi\applications.py", line 1054, in __call__ await super().__call__(scope, receive, send) │ │ └ > │ └ > │ │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\errors.py", line 187, in __call__ raise exc File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\errors.py", line 165, in __call__ await self.app(scope, receive, _send) │ │ │ │ └ ._send at 0x00000188FBD71E10> │ │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\cors.py", line 85, in __call__ await self.app(scope, receive, send) │ │ │ │ └ ._send at 0x00000188FBD71E10> │ │ │ └ , header_name='... └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\asgi_correlation_id\middleware.py", line 90, in __call__ await self.app(scope, receive, handle_outgoing_request) │ │ │ │ └ .handle_outgoing_request at 0x00000188FBF4A290> │ │ │ └ └ CorrelationIdMiddleware(app=, header_name='... File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\exceptions.py", line 62, in __call__ await wrap_app_handling_exceptions(self.app, conn)(scope, receive, send) │ │ │ │ │ │ └ .handle_outgoing_request at 0x00000188FBF4A290> │ │ │ │ │ └ │ │ └ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 53, in wrapped_app raise exc File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 42, in wrapped_app await app(scope, receive, sender) │ │ │ └ .wrapped_app..sender at 0x00000188FBF4A0E0> │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 714, in __call__ await self.middleware_stack(scope, receive, send) │ │ │ │ └ .wrapped_app..sender at 0x00000188FBF4A0E0> │ │ │ └ > └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 734, in app await route.handle(scope, receive, send) │ │ │ │ └ .wrapped_app..sender at 0x00000188FBF4A0E0> │ │ │ └ └ APIRoute(path='/api/v1/trip/confirm-info', name='confirm', methods=['POST']) File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 288, in handle await self.app(scope, receive, send) │ │ │ │ └ .wrapped_app..sender at 0x00000188FBF4A0E0> │ │ │ └ .app at 0x00000188FBD70280> └ APIRoute(path='/api/v1/trip/confirm-info', name='confirm', methods=['POST']) File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 76, in app await wrap_app_handling_exceptions(app, request)(scope, receive, send) │ │ │ │ │ └ .wrapped_app..sender at 0x00000188FBF4A0E0> │ │ │ │ └ │ └ .app..app at 0x00000188FBF4A200> └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 53, in wrapped_app raise exc File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 42, in wrapped_app await app(scope, receive, sender) │ │ │ └ .wrapped_app..sender at 0x00000188FBF4A170> │ │ └ .app..app at 0x00000188FBF4A200> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 73, in app response = await f(request) │ └ .app at 0x00000188FBD701F0> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\fastapi\routing.py", line 301, in app raw_response = await run_endpoint_function( └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\fastapi\routing.py", line 212, in run_endpoint_function return await dependant.call(**values) │ │ └ {'service': , 'request': └ Dependant(path_params=[], query_params=[], header_params=[], cookie_params=[], body_params=[], dependencies=[Dependant(path_p... File "C:\University-HCMUTE\InternFuta\ApiDialogflowChatbot\app\api\v1\trip.py", line 61, in confirm rs: DialogServiceResult = service.confirm_trip_search_input(data=data) │ └ TripQueryRequest(departure_city='Thành phố Hồ Chí Minh', destination_city='Thành phố Đà Lạt', origin_office=None, dest_office... └ AttributeError: 'Provide' object has no attribute 'confirm_trip_search_input' 2025-06-17 16:21:37.463 | ERROR | 6e9cc863f5924d11b34a9c0bdbcdddd7 | Exception in ASGI application Traceback (most recent call last): File "", line 1, in File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\spawn.py", line 116, in spawn_main exitcode = _main(fd, parent_sentinel) │ │ └ 360 │ └ 3 └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\spawn.py", line 129, in _main return self._bootstrap(parent_sentinel) │ │ └ 360 │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\process.py", line 315, in _bootstrap self.run() │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\process.py", line 108, in run self._target(*self._args, **self._kwargs) │ │ │ │ │ └ {'config': , 'target': │ │ │ └ () │ │ └ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\_subprocess.py", line 80, in subprocess_started target(sockets=sockets) │ └ [] └ > File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\server.py", line 66, in run return asyncio.run(self.serve(sockets=sockets)) │ │ │ │ └ [] │ │ │ └ │ │ └ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\runners.py", line 44, in run return loop.run_until_complete(main) │ │ └ │ └ └ <_WindowsSelectorEventLoop running=True closed=False debug=False> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 633, in run_until_complete self.run_forever() │ └ └ <_WindowsSelectorEventLoop running=True closed=False debug=False> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 600, in run_forever self._run_once() │ └ └ <_WindowsSelectorEventLoop running=True closed=False debug=False> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 1896, in _run_once handle._run() │ └ >)> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\events.py", line 80, in _run self._context.run(self._callback, *self._args) │ │ │ │ │ └ │ │ │ │ └ >)> │ │ │ └ │ │ └ >)> │ └ >)> > File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\protocols\http\h11_impl.py", line 403, in run_asgi result = await app( # type: ignore[func-returns-value] └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\middleware\proxy_headers.py", line 60, in __call__ return await self.app(scope, receive, send) │ │ │ │ └ > │ │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\fastapi\applications.py", line 1054, in __call__ await super().__call__(scope, receive, send) │ │ └ > │ └ > │ │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\errors.py", line 187, in __call__ raise exc File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\errors.py", line 165, in __call__ await self.app(scope, receive, _send) │ │ │ │ └ ._send at 0x00000188FBD71630> │ │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\cors.py", line 85, in __call__ await self.app(scope, receive, send) │ │ │ │ └ ._send at 0x00000188FBD71630> │ │ │ └ , header_name='... └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\asgi_correlation_id\middleware.py", line 90, in __call__ await self.app(scope, receive, handle_outgoing_request) │ │ │ │ └ .handle_outgoing_request at 0x00000188FBF4A440> │ │ │ └ └ CorrelationIdMiddleware(app=, header_name='... File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\exceptions.py", line 62, in __call__ await wrap_app_handling_exceptions(self.app, conn)(scope, receive, send) │ │ │ │ │ │ └ .handle_outgoing_request at 0x00000188FBF4A440> │ │ │ │ │ └ │ │ └ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 53, in wrapped_app raise exc File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 42, in wrapped_app await app(scope, receive, sender) │ │ │ └ .wrapped_app..sender at 0x00000188FBF4A560> │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 714, in __call__ await self.middleware_stack(scope, receive, send) │ │ │ │ └ .wrapped_app..sender at 0x00000188FBF4A560> │ │ │ └ > └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 734, in app await route.handle(scope, receive, send) │ │ │ │ └ .wrapped_app..sender at 0x00000188FBF4A560> │ │ │ └ └ APIRoute(path='/api/v1/trip/option', name='trips_option', methods=['POST']) File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 288, in handle await self.app(scope, receive, send) │ │ │ │ └ .wrapped_app..sender at 0x00000188FBF4A560> │ │ │ └ .app at 0x00000188FBD2BF40> └ APIRoute(path='/api/v1/trip/option', name='trips_option', methods=['POST']) File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 76, in app await wrap_app_handling_exceptions(app, request)(scope, receive, send) │ │ │ │ │ └ .wrapped_app..sender at 0x00000188FBF4A560> │ │ │ │ └ │ └ .app..app at 0x00000188FBF4A5F0> └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 53, in wrapped_app raise exc File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 42, in wrapped_app await app(scope, receive, sender) │ │ │ └ .wrapped_app..sender at 0x00000188FBF4A3B0> │ │ └ .app..app at 0x00000188FBF4A5F0> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 73, in app response = await f(request) │ └ .app at 0x00000188FBD0AB90> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\fastapi\routing.py", line 301, in app raw_response = await run_endpoint_function( └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\fastapi\routing.py", line 212, in run_endpoint_function return await dependant.call(**values) │ │ └ {'service': , 'request': └ Dependant(path_params=[], query_params=[], header_params=[], cookie_params=[], body_params=[], dependencies=[Dependant(path_p... File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\dependency_injector\wiring.py", line 1072, in _patched return await fn(*args, **kwargs) │ │ └ {'service': , 'request': File "C:\University-HCMUTE\InternFuta\ApiDialogflowChatbot\app\api\v1\trip.py", line 38, in trips_option rs: DialogServiceResult = await service.get_trips_option(data) │ └ TripQueryRequest(departure_city='Thành phố Hồ Chí Minh', destination_city='Thành phố Đà Lạt', origin_office=None, dest_office... └ AttributeError: 'Provide' object has no attribute 'get_trips_option' 2025-06-17 16:21:37.978 | ERROR | 028623c6eb4744cc890901b67a308630 | Exception in ASGI application Traceback (most recent call last): File "", line 1, in File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\spawn.py", line 116, in spawn_main exitcode = _main(fd, parent_sentinel) │ │ └ 360 │ └ 3 └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\spawn.py", line 129, in _main return self._bootstrap(parent_sentinel) │ │ └ 360 │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\process.py", line 315, in _bootstrap self.run() │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\process.py", line 108, in run self._target(*self._args, **self._kwargs) │ │ │ │ │ └ {'config': , 'target': │ │ │ └ () │ │ └ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\_subprocess.py", line 80, in subprocess_started target(sockets=sockets) │ └ [] └ > File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\server.py", line 66, in run return asyncio.run(self.serve(sockets=sockets)) │ │ │ │ └ [] │ │ │ └ │ │ └ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\runners.py", line 44, in run return loop.run_until_complete(main) │ │ └ │ └ └ <_WindowsSelectorEventLoop running=True closed=False debug=False> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 633, in run_until_complete self.run_forever() │ └ └ <_WindowsSelectorEventLoop running=True closed=False debug=False> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 600, in run_forever self._run_once() │ └ └ <_WindowsSelectorEventLoop running=True closed=False debug=False> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 1896, in _run_once handle._run() │ └ >)> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\events.py", line 80, in _run self._context.run(self._callback, *self._args) │ │ │ │ │ └ │ │ │ │ └ >)> │ │ │ └ │ │ └ >)> │ └ >)> > File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\protocols\http\h11_impl.py", line 403, in run_asgi result = await app( # type: ignore[func-returns-value] └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\middleware\proxy_headers.py", line 60, in __call__ return await self.app(scope, receive, send) │ │ │ │ └ > │ │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\fastapi\applications.py", line 1054, in __call__ await super().__call__(scope, receive, send) │ │ └ > │ └ > │ │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\errors.py", line 187, in __call__ raise exc File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\errors.py", line 165, in __call__ await self.app(scope, receive, _send) │ │ │ │ └ ._send at 0x00000188FBF4A320> │ │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\cors.py", line 85, in __call__ await self.app(scope, receive, send) │ │ │ │ └ ._send at 0x00000188FBF4A320> │ │ │ └ , header_name='... └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\asgi_correlation_id\middleware.py", line 90, in __call__ await self.app(scope, receive, handle_outgoing_request) │ │ │ │ └ .handle_outgoing_request at 0x00000188FBF4AEF0> │ │ │ └ └ CorrelationIdMiddleware(app=, header_name='... File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\exceptions.py", line 62, in __call__ await wrap_app_handling_exceptions(self.app, conn)(scope, receive, send) │ │ │ │ │ │ └ .handle_outgoing_request at 0x00000188FBF4AEF0> │ │ │ │ │ └ │ │ └ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 53, in wrapped_app raise exc File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 42, in wrapped_app await app(scope, receive, sender) │ │ │ └ .wrapped_app..sender at 0x00000188FBF4AF80> │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 714, in __call__ await self.middleware_stack(scope, receive, send) │ │ │ │ └ .wrapped_app..sender at 0x00000188FBF4AF80> │ │ │ └ > └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 734, in app await route.handle(scope, receive, send) │ │ │ │ └ .wrapped_app..sender at 0x00000188FBF4AF80> │ │ │ └ └ APIRoute(path='/api/v1/trip/option', name='trips_option', methods=['POST']) File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 288, in handle await self.app(scope, receive, send) │ │ │ │ └ .wrapped_app..sender at 0x00000188FBF4AF80> │ │ │ └ .app at 0x00000188FBD2BF40> └ APIRoute(path='/api/v1/trip/option', name='trips_option', methods=['POST']) File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 76, in app await wrap_app_handling_exceptions(app, request)(scope, receive, send) │ │ │ │ │ └ .wrapped_app..sender at 0x00000188FBF4AF80> │ │ │ │ └ │ └ .app..app at 0x00000188FBF4B010> └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 53, in wrapped_app raise exc File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 42, in wrapped_app await app(scope, receive, sender) │ │ │ └ .wrapped_app..sender at 0x00000188FBF4AE60> │ │ └ .app..app at 0x00000188FBF4B010> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 73, in app response = await f(request) │ └ .app at 0x00000188FBD0AB90> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\fastapi\routing.py", line 301, in app raw_response = await run_endpoint_function( └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\fastapi\routing.py", line 212, in run_endpoint_function return await dependant.call(**values) │ │ └ {'service': , 'request': └ Dependant(path_params=[], query_params=[], header_params=[], cookie_params=[], body_params=[], dependencies=[Dependant(path_p... File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\dependency_injector\wiring.py", line 1072, in _patched return await fn(*args, **kwargs) │ │ └ {'service': , 'request': File "C:\University-HCMUTE\InternFuta\ApiDialogflowChatbot\app\api\v1\trip.py", line 38, in trips_option rs: DialogServiceResult = await service.get_trips_option(data) │ └ TripQueryRequest(departure_city='Thành phố Hồ Chí Minh', destination_city='Thành phố Đà Lạt', origin_office=None, dest_office... └ AttributeError: 'Provide' object has no attribute 'get_trips_option' 2025-06-17 16:24:24.477 | ERROR | f4fe121b76864fcd82929617561bcaa0 | Exception in ASGI application Traceback (most recent call last): File "", line 1, in File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\spawn.py", line 116, in spawn_main exitcode = _main(fd, parent_sentinel) │ │ └ 344 │ └ 3 └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\spawn.py", line 129, in _main return self._bootstrap(parent_sentinel) │ │ └ 344 │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\process.py", line 315, in _bootstrap self.run() │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\process.py", line 108, in run self._target(*self._args, **self._kwargs) │ │ │ │ │ └ {'config': , 'target': │ │ │ └ () │ │ └ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\_subprocess.py", line 80, in subprocess_started target(sockets=sockets) │ └ [] └ > File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\server.py", line 66, in run return asyncio.run(self.serve(sockets=sockets)) │ │ │ │ └ [] │ │ │ └ │ │ └ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\runners.py", line 44, in run return loop.run_until_complete(main) │ │ └ │ └ └ <_WindowsSelectorEventLoop running=True closed=False debug=False> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 633, in run_until_complete self.run_forever() │ └ └ <_WindowsSelectorEventLoop running=True closed=False debug=False> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 600, in run_forever self._run_once() │ └ └ <_WindowsSelectorEventLoop running=True closed=False debug=False> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 1896, in _run_once handle._run() │ └ >)> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\events.py", line 80, in _run self._context.run(self._callback, *self._args) │ │ │ │ │ └ │ │ │ │ └ >)> │ │ │ └ │ │ └ >)> │ └ >)> > File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\protocols\http\h11_impl.py", line 403, in run_asgi result = await app( # type: ignore[func-returns-value] └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\middleware\proxy_headers.py", line 60, in __call__ return await self.app(scope, receive, send) │ │ │ │ └ > │ │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\fastapi\applications.py", line 1054, in __call__ await super().__call__(scope, receive, send) │ │ └ > │ └ > │ │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\errors.py", line 187, in __call__ raise exc File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\errors.py", line 165, in __call__ await self.app(scope, receive, _send) │ │ │ │ └ ._send at 0x00000239E0701C60> │ │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\cors.py", line 85, in __call__ await self.app(scope, receive, send) │ │ │ │ └ ._send at 0x00000239E0701C60> │ │ │ └ , header_name='... └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\asgi_correlation_id\middleware.py", line 90, in __call__ await self.app(scope, receive, handle_outgoing_request) │ │ │ │ └ .handle_outgoing_request at 0x00000239E0701FC0> │ │ │ └ └ CorrelationIdMiddleware(app=, header_name='... File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\exceptions.py", line 62, in __call__ await wrap_app_handling_exceptions(self.app, conn)(scope, receive, send) │ │ │ │ │ │ └ .handle_outgoing_request at 0x00000239E0701FC0> │ │ │ │ │ └ │ │ └ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 53, in wrapped_app raise exc File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 42, in wrapped_app await app(scope, receive, sender) │ │ │ └ .wrapped_app..sender at 0x00000239E0701CF0> │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 714, in __call__ await self.middleware_stack(scope, receive, send) │ │ │ │ └ .wrapped_app..sender at 0x00000239E0701CF0> │ │ │ └ > └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 734, in app await route.handle(scope, receive, send) │ │ │ │ └ .wrapped_app..sender at 0x00000239E0701CF0> │ │ │ └ └ APIRoute(path='/api/v1/trip/confirm-info', name='confirm', methods=['POST']) File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 288, in handle await self.app(scope, receive, send) │ │ │ │ └ .wrapped_app..sender at 0x00000239E0701CF0> │ │ │ └ .app at 0x00000239E0700280> └ APIRoute(path='/api/v1/trip/confirm-info', name='confirm', methods=['POST']) File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 76, in app await wrap_app_handling_exceptions(app, request)(scope, receive, send) │ │ │ │ │ └ .wrapped_app..sender at 0x00000239E0701CF0> │ │ │ │ └ │ └ .app..app at 0x00000239E0701BD0> └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 53, in wrapped_app raise exc File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 42, in wrapped_app await app(scope, receive, sender) │ │ │ └ .wrapped_app..sender at 0x00000239E0701630> │ │ └ .app..app at 0x00000239E0701BD0> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 73, in app response = await f(request) │ └ .app at 0x00000239E07001F0> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\fastapi\routing.py", line 301, in app raw_response = await run_endpoint_function( └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\fastapi\routing.py", line 212, in run_endpoint_function return await dependant.call(**values) │ │ └ {'service': , 'request': └ Dependant(path_params=[], query_params=[], header_params=[], cookie_params=[], body_params=[], dependencies=[Dependant(path_p... File "C:\University-HCMUTE\InternFuta\ApiDialogflowChatbot\app\api\v1\trip.py", line 63, in confirm rs: DialogServiceResult = service.confirm_trip_search_input(data=data) │ └ TripQueryRequest(departure_city='Thành phố Hồ Chí Minh', destination_city='Thành phố Đà Lạt', origin_office=None, dest_office... └ AttributeError: 'Provide' object has no attribute 'confirm_trip_search_input' 2025-06-17 16:24:25.006 | ERROR | 4aa00005ee424968842c44494d482f5c | Exception in ASGI application Traceback (most recent call last): File "", line 1, in File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\spawn.py", line 116, in spawn_main exitcode = _main(fd, parent_sentinel) │ │ └ 344 │ └ 3 └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\spawn.py", line 129, in _main return self._bootstrap(parent_sentinel) │ │ └ 344 │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\process.py", line 315, in _bootstrap self.run() │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\process.py", line 108, in run self._target(*self._args, **self._kwargs) │ │ │ │ │ └ {'config': , 'target': │ │ │ └ () │ │ └ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\_subprocess.py", line 80, in subprocess_started target(sockets=sockets) │ └ [] └ > File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\server.py", line 66, in run return asyncio.run(self.serve(sockets=sockets)) │ │ │ │ └ [] │ │ │ └ │ │ └ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\runners.py", line 44, in run return loop.run_until_complete(main) │ │ └ │ └ └ <_WindowsSelectorEventLoop running=True closed=False debug=False> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 633, in run_until_complete self.run_forever() │ └ └ <_WindowsSelectorEventLoop running=True closed=False debug=False> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 600, in run_forever self._run_once() │ └ └ <_WindowsSelectorEventLoop running=True closed=False debug=False> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 1896, in _run_once handle._run() │ └ >)> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\events.py", line 80, in _run self._context.run(self._callback, *self._args) │ │ │ │ │ └ │ │ │ │ └ >)> │ │ │ └ │ │ └ >)> │ └ >)> > File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\protocols\http\h11_impl.py", line 403, in run_asgi result = await app( # type: ignore[func-returns-value] └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\middleware\proxy_headers.py", line 60, in __call__ return await self.app(scope, receive, send) │ │ │ │ └ > │ │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\fastapi\applications.py", line 1054, in __call__ await super().__call__(scope, receive, send) │ │ └ > │ └ > │ │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\errors.py", line 187, in __call__ raise exc File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\errors.py", line 165, in __call__ await self.app(scope, receive, _send) │ │ │ │ └ ._send at 0x00000239E08DA3B0> │ │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\cors.py", line 85, in __call__ await self.app(scope, receive, send) │ │ │ │ └ ._send at 0x00000239E08DA3B0> │ │ │ └ , header_name='... └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\asgi_correlation_id\middleware.py", line 90, in __call__ await self.app(scope, receive, handle_outgoing_request) │ │ │ │ └ .handle_outgoing_request at 0x00000239E08DA200> │ │ │ └ └ CorrelationIdMiddleware(app=, header_name='... File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\exceptions.py", line 62, in __call__ await wrap_app_handling_exceptions(self.app, conn)(scope, receive, send) │ │ │ │ │ │ └ .handle_outgoing_request at 0x00000239E08DA200> │ │ │ │ │ └ │ │ └ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 53, in wrapped_app raise exc File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 42, in wrapped_app await app(scope, receive, sender) │ │ │ └ .wrapped_app..sender at 0x00000239E08DA320> │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 714, in __call__ await self.middleware_stack(scope, receive, send) │ │ │ │ └ .wrapped_app..sender at 0x00000239E08DA320> │ │ │ └ > └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 734, in app await route.handle(scope, receive, send) │ │ │ │ └ .wrapped_app..sender at 0x00000239E08DA320> │ │ │ └ └ APIRoute(path='/api/v1/trip/confirm-info', name='confirm', methods=['POST']) File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 288, in handle await self.app(scope, receive, send) │ │ │ │ └ .wrapped_app..sender at 0x00000239E08DA320> │ │ │ └ .app at 0x00000239E0700280> └ APIRoute(path='/api/v1/trip/confirm-info', name='confirm', methods=['POST']) File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 76, in app await wrap_app_handling_exceptions(app, request)(scope, receive, send) │ │ │ │ │ └ .wrapped_app..sender at 0x00000239E08DA320> │ │ │ │ └ │ └ .app..app at 0x00000239E08DA290> └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 53, in wrapped_app raise exc File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 42, in wrapped_app await app(scope, receive, sender) │ │ │ └ .wrapped_app..sender at 0x00000239E08DA440> │ │ └ .app..app at 0x00000239E08DA290> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 73, in app response = await f(request) │ └ .app at 0x00000239E07001F0> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\fastapi\routing.py", line 301, in app raw_response = await run_endpoint_function( └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\fastapi\routing.py", line 212, in run_endpoint_function return await dependant.call(**values) │ │ └ {'service': , 'request': └ Dependant(path_params=[], query_params=[], header_params=[], cookie_params=[], body_params=[], dependencies=[Dependant(path_p... File "C:\University-HCMUTE\InternFuta\ApiDialogflowChatbot\app\api\v1\trip.py", line 63, in confirm rs: DialogServiceResult = service.confirm_trip_search_input(data=data) │ └ TripQueryRequest(departure_city='Thành phố Hồ Chí Minh', destination_city='Thành phố Đà Lạt', origin_office=None, dest_office... └ AttributeError: 'Provide' object has no attribute 'confirm_trip_search_input' 2025-06-17 16:24:26.095 | ERROR | 629fd4f6069f4fc286a991047c6ad1fe | Exception in ASGI application Traceback (most recent call last): File "", line 1, in File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\spawn.py", line 116, in spawn_main exitcode = _main(fd, parent_sentinel) │ │ └ 344 │ └ 3 └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\spawn.py", line 129, in _main return self._bootstrap(parent_sentinel) │ │ └ 344 │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\process.py", line 315, in _bootstrap self.run() │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\process.py", line 108, in run self._target(*self._args, **self._kwargs) │ │ │ │ │ └ {'config': , 'target': │ │ │ └ () │ │ └ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\_subprocess.py", line 80, in subprocess_started target(sockets=sockets) │ └ [] └ > File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\server.py", line 66, in run return asyncio.run(self.serve(sockets=sockets)) │ │ │ │ └ [] │ │ │ └ │ │ └ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\runners.py", line 44, in run return loop.run_until_complete(main) │ │ └ │ └ └ <_WindowsSelectorEventLoop running=True closed=False debug=False> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 633, in run_until_complete self.run_forever() │ └ └ <_WindowsSelectorEventLoop running=True closed=False debug=False> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 600, in run_forever self._run_once() │ └ └ <_WindowsSelectorEventLoop running=True closed=False debug=False> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 1896, in _run_once handle._run() │ └ >)> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\events.py", line 80, in _run self._context.run(self._callback, *self._args) │ │ │ │ │ └ │ │ │ │ └ >)> │ │ │ └ │ │ └ >)> │ └ >)> > File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\protocols\http\h11_impl.py", line 403, in run_asgi result = await app( # type: ignore[func-returns-value] └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\middleware\proxy_headers.py", line 60, in __call__ return await self.app(scope, receive, send) │ │ │ │ └ > │ │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\fastapi\applications.py", line 1054, in __call__ await super().__call__(scope, receive, send) │ │ └ > │ └ > │ │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\errors.py", line 187, in __call__ raise exc File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\errors.py", line 165, in __call__ await self.app(scope, receive, _send) │ │ │ │ └ ._send at 0x00000239E0701E10> │ │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\cors.py", line 85, in __call__ await self.app(scope, receive, send) │ │ │ │ └ ._send at 0x00000239E0701E10> │ │ │ └ , header_name='... └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\asgi_correlation_id\middleware.py", line 90, in __call__ await self.app(scope, receive, handle_outgoing_request) │ │ │ │ └ .handle_outgoing_request at 0x00000239E0701AB0> │ │ │ └ └ CorrelationIdMiddleware(app=, header_name='... File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\exceptions.py", line 62, in __call__ await wrap_app_handling_exceptions(self.app, conn)(scope, receive, send) │ │ │ │ │ │ └ .handle_outgoing_request at 0x00000239E0701AB0> │ │ │ │ │ └ │ │ └ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 53, in wrapped_app raise exc File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 42, in wrapped_app await app(scope, receive, sender) │ │ │ └ .wrapped_app..sender at 0x00000239E08DA5F0> │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 714, in __call__ await self.middleware_stack(scope, receive, send) │ │ │ │ └ .wrapped_app..sender at 0x00000239E08DA5F0> │ │ │ └ > └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 734, in app await route.handle(scope, receive, send) │ │ │ │ └ .wrapped_app..sender at 0x00000239E08DA5F0> │ │ │ └ └ APIRoute(path='/api/v1/trip/option', name='trips_option', methods=['POST']) File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 288, in handle await self.app(scope, receive, send) │ │ │ │ └ .wrapped_app..sender at 0x00000239E08DA5F0> │ │ │ └ .app at 0x00000239E06BBF40> └ APIRoute(path='/api/v1/trip/option', name='trips_option', methods=['POST']) File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 76, in app await wrap_app_handling_exceptions(app, request)(scope, receive, send) │ │ │ │ │ └ .wrapped_app..sender at 0x00000239E08DA5F0> │ │ │ │ └ │ └ .app..app at 0x00000239E08DA4D0> └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 53, in wrapped_app raise exc File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 42, in wrapped_app await app(scope, receive, sender) │ │ │ └ .wrapped_app..sender at 0x00000239E08DA680> │ │ └ .app..app at 0x00000239E08DA4D0> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 73, in app response = await f(request) │ └ .app at 0x00000239E069AB90> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\fastapi\routing.py", line 301, in app raw_response = await run_endpoint_function( └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\fastapi\routing.py", line 212, in run_endpoint_function return await dependant.call(**values) │ │ └ {'service': , 'request': └ Dependant(path_params=[], query_params=[], header_params=[], cookie_params=[], body_params=[], dependencies=[Dependant(path_p... File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\dependency_injector\wiring.py", line 1072, in _patched return await fn(*args, **kwargs) │ │ └ {'service': , 'request': File "C:\University-HCMUTE\InternFuta\ApiDialogflowChatbot\app\api\v1\trip.py", line 40, in trips_option rs: DialogServiceResult = await service.get_trips_option(data) │ └ TripQueryRequest(departure_city='Thành phố Hồ Chí Minh', destination_city='Thành phố Đà Lạt', origin_office=None, dest_office... └ AttributeError: 'Provide' object has no attribute 'get_trips_option' 2025-06-17 16:24:26.617 | ERROR | 220ac5b9b296461ca816e0bb82555fc4 | Exception in ASGI application Traceback (most recent call last): File "", line 1, in File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\spawn.py", line 116, in spawn_main exitcode = _main(fd, parent_sentinel) │ │ └ 344 │ └ 3 └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\spawn.py", line 129, in _main return self._bootstrap(parent_sentinel) │ │ └ 344 │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\process.py", line 315, in _bootstrap self.run() │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\process.py", line 108, in run self._target(*self._args, **self._kwargs) │ │ │ │ │ └ {'config': , 'target': │ │ │ └ () │ │ └ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\_subprocess.py", line 80, in subprocess_started target(sockets=sockets) │ └ [] └ > File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\server.py", line 66, in run return asyncio.run(self.serve(sockets=sockets)) │ │ │ │ └ [] │ │ │ └ │ │ └ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\runners.py", line 44, in run return loop.run_until_complete(main) │ │ └ │ └ └ <_WindowsSelectorEventLoop running=True closed=False debug=False> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 633, in run_until_complete self.run_forever() │ └ └ <_WindowsSelectorEventLoop running=True closed=False debug=False> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 600, in run_forever self._run_once() │ └ └ <_WindowsSelectorEventLoop running=True closed=False debug=False> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 1896, in _run_once handle._run() │ └ >)> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\events.py", line 80, in _run self._context.run(self._callback, *self._args) │ │ │ │ │ └ │ │ │ │ └ >)> │ │ │ └ │ │ └ >)> │ └ >)> > File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\protocols\http\h11_impl.py", line 403, in run_asgi result = await app( # type: ignore[func-returns-value] └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\middleware\proxy_headers.py", line 60, in __call__ return await self.app(scope, receive, send) │ │ │ │ └ > │ │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\fastapi\applications.py", line 1054, in __call__ await super().__call__(scope, receive, send) │ │ └ > │ └ > │ │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\errors.py", line 187, in __call__ raise exc File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\errors.py", line 165, in __call__ await self.app(scope, receive, _send) │ │ │ │ └ ._send at 0x00000239E08DB490> │ │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\cors.py", line 85, in __call__ await self.app(scope, receive, send) │ │ │ │ └ ._send at 0x00000239E08DB490> │ │ │ └ , header_name='... └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\asgi_correlation_id\middleware.py", line 90, in __call__ await self.app(scope, receive, handle_outgoing_request) │ │ │ │ └ .handle_outgoing_request at 0x00000239E08DB370> │ │ │ └ └ CorrelationIdMiddleware(app=, header_name='... File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\exceptions.py", line 62, in __call__ await wrap_app_handling_exceptions(self.app, conn)(scope, receive, send) │ │ │ │ │ │ └ .handle_outgoing_request at 0x00000239E08DB370> │ │ │ │ │ └ │ │ └ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 53, in wrapped_app raise exc File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 42, in wrapped_app await app(scope, receive, sender) │ │ │ └ .wrapped_app..sender at 0x00000239E08DB400> │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 714, in __call__ await self.middleware_stack(scope, receive, send) │ │ │ │ └ .wrapped_app..sender at 0x00000239E08DB400> │ │ │ └ > └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 734, in app await route.handle(scope, receive, send) │ │ │ │ └ .wrapped_app..sender at 0x00000239E08DB400> │ │ │ └ └ APIRoute(path='/api/v1/trip/option', name='trips_option', methods=['POST']) File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 288, in handle await self.app(scope, receive, send) │ │ │ │ └ .wrapped_app..sender at 0x00000239E08DB400> │ │ │ └ .app at 0x00000239E06BBF40> └ APIRoute(path='/api/v1/trip/option', name='trips_option', methods=['POST']) File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 76, in app await wrap_app_handling_exceptions(app, request)(scope, receive, send) │ │ │ │ │ └ .wrapped_app..sender at 0x00000239E08DB400> │ │ │ │ └ │ └ .app..app at 0x00000239E08DA7A0> └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 53, in wrapped_app raise exc File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 42, in wrapped_app await app(scope, receive, sender) │ │ │ └ .wrapped_app..sender at 0x00000239E08DB2E0> │ │ └ .app..app at 0x00000239E08DA7A0> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 73, in app response = await f(request) │ └ .app at 0x00000239E069AB90> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\fastapi\routing.py", line 301, in app raw_response = await run_endpoint_function( └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\fastapi\routing.py", line 212, in run_endpoint_function return await dependant.call(**values) │ │ └ {'service': , 'request': └ Dependant(path_params=[], query_params=[], header_params=[], cookie_params=[], body_params=[], dependencies=[Dependant(path_p... File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\dependency_injector\wiring.py", line 1072, in _patched return await fn(*args, **kwargs) │ │ └ {'service': , 'request': File "C:\University-HCMUTE\InternFuta\ApiDialogflowChatbot\app\api\v1\trip.py", line 40, in trips_option rs: DialogServiceResult = await service.get_trips_option(data) │ └ TripQueryRequest(departure_city='Thành phố Hồ Chí Minh', destination_city='Thành phố Đà Lạt', origin_office=None, dest_office... └ AttributeError: 'Provide' object has no attribute 'get_trips_option' 2025-06-17 16:41:19.012 | ERROR | 651a7fc328574ca3912fd636ab2a0d8d | Exception in ASGI application Traceback (most recent call last): File "", line 1, in File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\spawn.py", line 116, in spawn_main exitcode = _main(fd, parent_sentinel) │ │ └ 340 │ └ 3 └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\spawn.py", line 129, in _main return self._bootstrap(parent_sentinel) │ │ └ 340 │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\process.py", line 315, in _bootstrap self.run() │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\process.py", line 108, in run self._target(*self._args, **self._kwargs) │ │ │ │ │ └ {'config': , 'target': │ │ │ └ () │ │ └ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\_subprocess.py", line 80, in subprocess_started target(sockets=sockets) │ └ [] └ > File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\server.py", line 66, in run return asyncio.run(self.serve(sockets=sockets)) │ │ │ │ └ [] │ │ │ └ │ │ └ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\runners.py", line 44, in run return loop.run_until_complete(main) │ │ └ │ └ └ <_WindowsSelectorEventLoop running=True closed=False debug=False> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 633, in run_until_complete self.run_forever() │ └ └ <_WindowsSelectorEventLoop running=True closed=False debug=False> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 600, in run_forever self._run_once() │ └ └ <_WindowsSelectorEventLoop running=True closed=False debug=False> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 1896, in _run_once handle._run() │ └ >)> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\events.py", line 80, in _run self._context.run(self._callback, *self._args) │ │ │ │ │ └ │ │ │ │ └ >)> │ │ │ └ │ │ └ >)> │ └ >)> > File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\protocols\http\h11_impl.py", line 403, in run_asgi result = await app( # type: ignore[func-returns-value] └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\middleware\proxy_headers.py", line 60, in __call__ return await self.app(scope, receive, send) │ │ │ │ └ > │ │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\fastapi\applications.py", line 1054, in __call__ await super().__call__(scope, receive, send) │ │ └ > │ └ > │ │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\errors.py", line 187, in __call__ raise exc File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\errors.py", line 165, in __call__ await self.app(scope, receive, _send) │ │ │ │ └ ._send at 0x0000017BBB83DAB0> │ │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\cors.py", line 85, in __call__ await self.app(scope, receive, send) │ │ │ │ └ ._send at 0x0000017BBB83DAB0> │ │ │ └ , header_name='... └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\asgi_correlation_id\middleware.py", line 90, in __call__ await self.app(scope, receive, handle_outgoing_request) │ │ │ │ └ .handle_outgoing_request at 0x0000017BBB83DBD0> │ │ │ └ └ CorrelationIdMiddleware(app=, header_name='... File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\exceptions.py", line 62, in __call__ await wrap_app_handling_exceptions(self.app, conn)(scope, receive, send) │ │ │ │ │ │ └ .handle_outgoing_request at 0x0000017BBB83DBD0> │ │ │ │ │ └ │ │ └ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 53, in wrapped_app raise exc File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 42, in wrapped_app await app(scope, receive, sender) │ │ │ └ .wrapped_app..sender at 0x0000017BBB83DCF0> │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 714, in __call__ await self.middleware_stack(scope, receive, send) │ │ │ │ └ .wrapped_app..sender at 0x0000017BBB83DCF0> │ │ │ └ > └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 734, in app await route.handle(scope, receive, send) │ │ │ │ └ .wrapped_app..sender at 0x0000017BBB83DCF0> │ │ │ └ └ APIRoute(path='/api/v1/trip/confirm-info', name='confirm', methods=['POST']) File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 288, in handle await self.app(scope, receive, send) │ │ │ │ └ .wrapped_app..sender at 0x0000017BBB83DCF0> │ │ │ └ .app at 0x0000017BBB83C280> └ APIRoute(path='/api/v1/trip/confirm-info', name='confirm', methods=['POST']) File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 76, in app await wrap_app_handling_exceptions(app, request)(scope, receive, send) │ │ │ │ │ └ .wrapped_app..sender at 0x0000017BBB83DCF0> │ │ │ │ └ │ └ .app..app at 0x0000017BBB83DE10> └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 53, in wrapped_app raise exc File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 42, in wrapped_app await app(scope, receive, sender) │ │ │ └ .wrapped_app..sender at 0x0000017BBB83E050> │ │ └ .app..app at 0x0000017BBB83DE10> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 73, in app response = await f(request) │ └ .app at 0x0000017BBB83C1F0> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\fastapi\routing.py", line 301, in app raw_response = await run_endpoint_function( └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\fastapi\routing.py", line 212, in run_endpoint_function return await dependant.call(**values) │ │ └ {'service': , 'request': └ Dependant(path_params=[], query_params=[], header_params=[], cookie_params=[], body_params=[], dependencies=[Dependant(path_p... File "C:\University-HCMUTE\InternFuta\ApiDialogflowChatbot\app\api\v1\trip.py", line 63, in confirm rs: DialogServiceResult = service.confirm_trip_search_input(data=data) │ └ TripQueryRequest(departure_city='Thành phố Hồ Chí Minh', destination_city='Thành phố Đà Lạt', origin_office=None, dest_office... └ AttributeError: 'Provide' object has no attribute 'confirm_trip_search_input' 2025-06-17 16:41:19.588 | ERROR | 4e620b91c4c94e5080b31ccc37acae50 | Exception in ASGI application Traceback (most recent call last): File "", line 1, in File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\spawn.py", line 116, in spawn_main exitcode = _main(fd, parent_sentinel) │ │ └ 340 │ └ 3 └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\spawn.py", line 129, in _main return self._bootstrap(parent_sentinel) │ │ └ 340 │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\process.py", line 315, in _bootstrap self.run() │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\process.py", line 108, in run self._target(*self._args, **self._kwargs) │ │ │ │ │ └ {'config': , 'target': │ │ │ └ () │ │ └ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\_subprocess.py", line 80, in subprocess_started target(sockets=sockets) │ └ [] └ > File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\server.py", line 66, in run return asyncio.run(self.serve(sockets=sockets)) │ │ │ │ └ [] │ │ │ └ │ │ └ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\runners.py", line 44, in run return loop.run_until_complete(main) │ │ └ │ └ └ <_WindowsSelectorEventLoop running=True closed=False debug=False> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 633, in run_until_complete self.run_forever() │ └ └ <_WindowsSelectorEventLoop running=True closed=False debug=False> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 600, in run_forever self._run_once() │ └ └ <_WindowsSelectorEventLoop running=True closed=False debug=False> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 1896, in _run_once handle._run() │ └ >)> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\events.py", line 80, in _run self._context.run(self._callback, *self._args) │ │ │ │ │ └ │ │ │ │ └ >)> │ │ │ └ │ │ └ >)> │ └ >)> > File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\protocols\http\h11_impl.py", line 403, in run_asgi result = await app( # type: ignore[func-returns-value] └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\middleware\proxy_headers.py", line 60, in __call__ return await self.app(scope, receive, send) │ │ │ │ └ > │ │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\fastapi\applications.py", line 1054, in __call__ await super().__call__(scope, receive, send) │ │ └ > │ └ > │ │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\errors.py", line 187, in __call__ raise exc File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\errors.py", line 165, in __call__ await self.app(scope, receive, _send) │ │ │ │ └ ._send at 0x0000017BBBA220E0> │ │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\cors.py", line 85, in __call__ await self.app(scope, receive, send) │ │ │ │ └ ._send at 0x0000017BBBA220E0> │ │ │ └ , header_name='... └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\asgi_correlation_id\middleware.py", line 90, in __call__ await self.app(scope, receive, handle_outgoing_request) │ │ │ │ └ .handle_outgoing_request at 0x0000017BBBA22320> │ │ │ └ └ CorrelationIdMiddleware(app=, header_name='... File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\exceptions.py", line 62, in __call__ await wrap_app_handling_exceptions(self.app, conn)(scope, receive, send) │ │ │ │ │ │ └ .handle_outgoing_request at 0x0000017BBBA22320> │ │ │ │ │ └ │ │ └ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 53, in wrapped_app raise exc File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 42, in wrapped_app await app(scope, receive, sender) │ │ │ └ .wrapped_app..sender at 0x0000017BBBA22170> │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 714, in __call__ await self.middleware_stack(scope, receive, send) │ │ │ │ └ .wrapped_app..sender at 0x0000017BBBA22170> │ │ │ └ > └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 734, in app await route.handle(scope, receive, send) │ │ │ │ └ .wrapped_app..sender at 0x0000017BBBA22170> │ │ │ └ └ APIRoute(path='/api/v1/trip/confirm-info', name='confirm', methods=['POST']) File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 288, in handle await self.app(scope, receive, send) │ │ │ │ └ .wrapped_app..sender at 0x0000017BBBA22170> │ │ │ └ .app at 0x0000017BBB83C280> └ APIRoute(path='/api/v1/trip/confirm-info', name='confirm', methods=['POST']) File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 76, in app await wrap_app_handling_exceptions(app, request)(scope, receive, send) │ │ │ │ │ └ .wrapped_app..sender at 0x0000017BBBA22170> │ │ │ │ └ │ └ .app..app at 0x0000017BBBA22290> └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 53, in wrapped_app raise exc File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 42, in wrapped_app await app(scope, receive, sender) │ │ │ └ .wrapped_app..sender at 0x0000017BBBA223B0> │ │ └ .app..app at 0x0000017BBBA22290> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 73, in app response = await f(request) │ └ .app at 0x0000017BBB83C1F0> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\fastapi\routing.py", line 301, in app raw_response = await run_endpoint_function( └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\fastapi\routing.py", line 212, in run_endpoint_function return await dependant.call(**values) │ │ └ {'service': , 'request': └ Dependant(path_params=[], query_params=[], header_params=[], cookie_params=[], body_params=[], dependencies=[Dependant(path_p... File "C:\University-HCMUTE\InternFuta\ApiDialogflowChatbot\app\api\v1\trip.py", line 63, in confirm rs: DialogServiceResult = service.confirm_trip_search_input(data=data) │ └ TripQueryRequest(departure_city='Thành phố Hồ Chí Minh', destination_city='Thành phố Đà Lạt', origin_office=None, dest_office... └ AttributeError: 'Provide' object has no attribute 'confirm_trip_search_input' 2025-06-17 16:47:42.775 | ERROR | 0ea0e68aab5d492aa7823b2bddf34b12 | Exception in ASGI application Traceback (most recent call last): File "", line 1, in File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\spawn.py", line 116, in spawn_main exitcode = _main(fd, parent_sentinel) │ │ └ 188 │ └ 3 └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\spawn.py", line 129, in _main return self._bootstrap(parent_sentinel) │ │ └ 188 │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\process.py", line 315, in _bootstrap self.run() │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\process.py", line 108, in run self._target(*self._args, **self._kwargs) │ │ │ │ │ └ {'config': , 'target': │ │ │ └ () │ │ └ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\_subprocess.py", line 80, in subprocess_started target(sockets=sockets) │ └ [] └ > File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\server.py", line 66, in run return asyncio.run(self.serve(sockets=sockets)) │ │ │ │ └ [] │ │ │ └ │ │ └ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\runners.py", line 44, in run return loop.run_until_complete(main) │ │ └ │ └ └ <_WindowsSelectorEventLoop running=True closed=False debug=False> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 633, in run_until_complete self.run_forever() │ └ └ <_WindowsSelectorEventLoop running=True closed=False debug=False> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 600, in run_forever self._run_once() │ └ └ <_WindowsSelectorEventLoop running=True closed=False debug=False> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 1896, in _run_once handle._run() │ └ >)> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\events.py", line 80, in _run self._context.run(self._callback, *self._args) │ │ │ │ │ └ │ │ │ │ └ >)> │ │ │ └ │ │ └ >)> │ └ >)> > File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\protocols\http\h11_impl.py", line 403, in run_asgi result = await app( # type: ignore[func-returns-value] └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\middleware\proxy_headers.py", line 60, in __call__ return await self.app(scope, receive, send) │ │ │ │ └ > │ │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\fastapi\applications.py", line 1054, in __call__ await super().__call__(scope, receive, send) │ │ └ > │ └ > │ │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\errors.py", line 187, in __call__ raise exc File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\errors.py", line 165, in __call__ await self.app(scope, receive, _send) │ │ │ │ └ ._send at 0x00000216B519B130> │ │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\cors.py", line 85, in __call__ await self.app(scope, receive, send) │ │ │ │ └ ._send at 0x00000216B519B130> │ │ │ └ , header_name='... └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\asgi_correlation_id\middleware.py", line 90, in __call__ await self.app(scope, receive, handle_outgoing_request) │ │ │ │ └ .handle_outgoing_request at 0x00000216B519AF80> │ │ │ └ └ CorrelationIdMiddleware(app=, header_name='... File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\exceptions.py", line 62, in __call__ await wrap_app_handling_exceptions(self.app, conn)(scope, receive, send) │ │ │ │ │ │ └ .handle_outgoing_request at 0x00000216B519AF80> │ │ │ │ │ └ │ │ └ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 53, in wrapped_app raise exc File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 42, in wrapped_app await app(scope, receive, sender) │ │ │ └ .wrapped_app..sender at 0x00000216B5199D80> │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 714, in __call__ await self.middleware_stack(scope, receive, send) │ │ │ │ └ .wrapped_app..sender at 0x00000216B5199D80> │ │ │ └ > └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 734, in app await route.handle(scope, receive, send) │ │ │ │ └ .wrapped_app..sender at 0x00000216B5199D80> │ │ │ └ └ APIRoute(path='/api/v1/trip/confirm-info', name='confirm', methods=['POST']) File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 288, in handle await self.app(scope, receive, send) │ │ │ │ └ .wrapped_app..sender at 0x00000216B5199D80> │ │ │ └ .app at 0x00000216882BC280> └ APIRoute(path='/api/v1/trip/confirm-info', name='confirm', methods=['POST']) File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 76, in app await wrap_app_handling_exceptions(app, request)(scope, receive, send) │ │ │ │ │ └ .wrapped_app..sender at 0x00000216B5199D80> │ │ │ │ └ │ └ .app..app at 0x00000216B519B0A0> └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 53, in wrapped_app raise exc File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 42, in wrapped_app await app(scope, receive, sender) │ │ │ └ .wrapped_app..sender at 0x00000216B519B370> │ │ └ .app..app at 0x00000216B519B0A0> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 73, in app response = await f(request) │ └ .app at 0x00000216882BC1F0> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\fastapi\routing.py", line 301, in app raw_response = await run_endpoint_function( └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\fastapi\routing.py", line 212, in run_endpoint_function return await dependant.call(**values) │ │ └ {'service': , 'request': └ Dependant(path_params=[], query_params=[], header_params=[], cookie_params=[], body_params=[], dependencies=[Dependant(path_p... File "C:\University-HCMUTE\InternFuta\ApiDialogflowChatbot\app\api\v1\trip.py", line 63, in confirm rs: DialogServiceResult = service.confirm_trip_search_input(data=data) │ └ TripQueryRequest(departure_city='Thành phố Hồ Chí Minh', destination_city='Thành phố Đà Lạt', origin_office=None, dest_office... └ AttributeError: 'Provide' object has no attribute 'confirm_trip_search_input' 2025-06-17 16:47:43.080 | ERROR | 97d03037d72e4ed8a75565d83c8fac11 | Exception in ASGI application Traceback (most recent call last): File "", line 1, in File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\spawn.py", line 116, in spawn_main exitcode = _main(fd, parent_sentinel) │ │ └ 188 │ └ 3 └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\spawn.py", line 129, in _main return self._bootstrap(parent_sentinel) │ │ └ 188 │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\process.py", line 315, in _bootstrap self.run() │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\process.py", line 108, in run self._target(*self._args, **self._kwargs) │ │ │ │ │ └ {'config': , 'target': │ │ │ └ () │ │ └ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\_subprocess.py", line 80, in subprocess_started target(sockets=sockets) │ └ [] └ > File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\server.py", line 66, in run return asyncio.run(self.serve(sockets=sockets)) │ │ │ │ └ [] │ │ │ └ │ │ └ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\runners.py", line 44, in run return loop.run_until_complete(main) │ │ └ │ └ └ <_WindowsSelectorEventLoop running=True closed=False debug=False> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 633, in run_until_complete self.run_forever() │ └ └ <_WindowsSelectorEventLoop running=True closed=False debug=False> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 600, in run_forever self._run_once() │ └ └ <_WindowsSelectorEventLoop running=True closed=False debug=False> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 1896, in _run_once handle._run() │ └ >)> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\events.py", line 80, in _run self._context.run(self._callback, *self._args) │ │ │ │ │ └ │ │ │ │ └ >)> │ │ │ └ │ │ └ >)> │ └ >)> > File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\protocols\http\h11_impl.py", line 403, in run_asgi result = await app( # type: ignore[func-returns-value] └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\middleware\proxy_headers.py", line 60, in __call__ return await self.app(scope, receive, send) │ │ │ │ └ > │ │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\fastapi\applications.py", line 1054, in __call__ await super().__call__(scope, receive, send) │ │ └ > │ └ > │ │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\errors.py", line 187, in __call__ raise exc File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\errors.py", line 165, in __call__ await self.app(scope, receive, _send) │ │ │ │ └ ._send at 0x00000216B519B250> │ │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\cors.py", line 85, in __call__ await self.app(scope, receive, send) │ │ │ │ └ ._send at 0x00000216B519B250> │ │ │ └ , header_name='... └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\asgi_correlation_id\middleware.py", line 90, in __call__ await self.app(scope, receive, handle_outgoing_request) │ │ │ │ └ .handle_outgoing_request at 0x00000216B5199F30> │ │ │ └ └ CorrelationIdMiddleware(app=, header_name='... File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\exceptions.py", line 62, in __call__ await wrap_app_handling_exceptions(self.app, conn)(scope, receive, send) │ │ │ │ │ │ └ .handle_outgoing_request at 0x00000216B5199F30> │ │ │ │ │ └ │ │ └ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 53, in wrapped_app raise exc File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 42, in wrapped_app await app(scope, receive, sender) │ │ │ └ .wrapped_app..sender at 0x00000216B5F39360> │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 714, in __call__ await self.middleware_stack(scope, receive, send) │ │ │ │ └ .wrapped_app..sender at 0x00000216B5F39360> │ │ │ └ > └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 734, in app await route.handle(scope, receive, send) │ │ │ │ └ .wrapped_app..sender at 0x00000216B5F39360> │ │ │ └ └ APIRoute(path='/api/v1/trip/confirm-info', name='confirm', methods=['POST']) File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 288, in handle await self.app(scope, receive, send) │ │ │ │ └ .wrapped_app..sender at 0x00000216B5F39360> │ │ │ └ .app at 0x00000216882BC280> └ APIRoute(path='/api/v1/trip/confirm-info', name='confirm', methods=['POST']) File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 76, in app await wrap_app_handling_exceptions(app, request)(scope, receive, send) │ │ │ │ │ └ .wrapped_app..sender at 0x00000216B5F39360> │ │ │ │ └ │ └ .app..app at 0x00000216B5F392D0> └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 53, in wrapped_app raise exc File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 42, in wrapped_app await app(scope, receive, sender) │ │ │ └ .wrapped_app..sender at 0x00000216B5F393F0> │ │ └ .app..app at 0x00000216B5F392D0> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 73, in app response = await f(request) │ └ .app at 0x00000216882BC1F0> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\fastapi\routing.py", line 301, in app raw_response = await run_endpoint_function( └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\fastapi\routing.py", line 212, in run_endpoint_function return await dependant.call(**values) │ │ └ {'service': , 'request': └ Dependant(path_params=[], query_params=[], header_params=[], cookie_params=[], body_params=[], dependencies=[Dependant(path_p... File "C:\University-HCMUTE\InternFuta\ApiDialogflowChatbot\app\api\v1\trip.py", line 63, in confirm rs: DialogServiceResult = service.confirm_trip_search_input(data=data) │ └ TripQueryRequest(departure_city='Thành phố Hồ Chí Minh', destination_city='Thành phố Đà Lạt', origin_office=None, dest_office... └ AttributeError: 'Provide' object has no attribute 'confirm_trip_search_input' 2025-06-17 16:52:08.883 | ERROR | 07b9ad617aaf42569a412f633e1f4275 | Exception in ASGI application Traceback (most recent call last): File "", line 1, in File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\spawn.py", line 116, in spawn_main exitcode = _main(fd, parent_sentinel) │ │ └ 340 │ └ 3 └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\spawn.py", line 129, in _main return self._bootstrap(parent_sentinel) │ │ └ 340 │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\process.py", line 315, in _bootstrap self.run() │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\process.py", line 108, in run self._target(*self._args, **self._kwargs) │ │ │ │ │ └ {'config': , 'target': │ │ │ └ () │ │ └ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\_subprocess.py", line 80, in subprocess_started target(sockets=sockets) │ └ [] └ > File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\server.py", line 66, in run return asyncio.run(self.serve(sockets=sockets)) │ │ │ │ └ [] │ │ │ └ │ │ └ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\runners.py", line 44, in run return loop.run_until_complete(main) │ │ └ │ └ └ <_WindowsSelectorEventLoop running=True closed=False debug=False> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 633, in run_until_complete self.run_forever() │ └ └ <_WindowsSelectorEventLoop running=True closed=False debug=False> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 600, in run_forever self._run_once() │ └ └ <_WindowsSelectorEventLoop running=True closed=False debug=False> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 1896, in _run_once handle._run() │ └ >)> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\events.py", line 80, in _run self._context.run(self._callback, *self._args) │ │ │ │ │ └ │ │ │ │ └ >)> │ │ │ └ │ │ └ >)> │ └ >)> > File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\protocols\http\h11_impl.py", line 403, in run_asgi result = await app( # type: ignore[func-returns-value] └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\middleware\proxy_headers.py", line 60, in __call__ return await self.app(scope, receive, send) │ │ │ │ └ > │ │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\fastapi\applications.py", line 1054, in __call__ await super().__call__(scope, receive, send) │ │ └ > │ └ > │ │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\errors.py", line 187, in __call__ raise exc File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\errors.py", line 165, in __call__ await self.app(scope, receive, _send) │ │ │ │ └ ._send at 0x0000013AAF9D1FC0> │ │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\cors.py", line 85, in __call__ await self.app(scope, receive, send) │ │ │ │ └ ._send at 0x0000013AAF9D1FC0> │ │ │ └ , header_name='... └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\asgi_correlation_id\middleware.py", line 90, in __call__ await self.app(scope, receive, handle_outgoing_request) │ │ │ │ └ .handle_outgoing_request at 0x0000013ADC8A7250> │ │ │ └ └ CorrelationIdMiddleware(app=, header_name='... File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\exceptions.py", line 62, in __call__ await wrap_app_handling_exceptions(self.app, conn)(scope, receive, send) │ │ │ │ │ │ └ .handle_outgoing_request at 0x0000013ADC8A7250> │ │ │ │ │ └ │ │ └ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 53, in wrapped_app raise exc File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 42, in wrapped_app await app(scope, receive, sender) │ │ │ └ .wrapped_app..sender at 0x0000013ADC8A5E10> │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 714, in __call__ await self.middleware_stack(scope, receive, send) │ │ │ │ └ .wrapped_app..sender at 0x0000013ADC8A5E10> │ │ │ └ > └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 734, in app await route.handle(scope, receive, send) │ │ │ │ └ .wrapped_app..sender at 0x0000013ADC8A5E10> │ │ │ └ └ APIRoute(path='/api/v1/trip/option', name='trips_option', methods=['POST']) File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 288, in handle await self.app(scope, receive, send) │ │ │ │ └ .wrapped_app..sender at 0x0000013ADC8A5E10> │ │ │ └ .app at 0x0000013AAF9D0040> └ APIRoute(path='/api/v1/trip/option', name='trips_option', methods=['POST']) File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 76, in app await wrap_app_handling_exceptions(app, request)(scope, receive, send) │ │ │ │ │ └ .wrapped_app..sender at 0x0000013ADC8A5E10> │ │ │ │ └ │ └ .app..app at 0x0000013ADC8A7370> └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 53, in wrapped_app raise exc File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 42, in wrapped_app await app(scope, receive, sender) │ │ │ └ .wrapped_app..sender at 0x0000013ADC8A71C0> │ │ └ .app..app at 0x0000013ADC8A7370> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 73, in app response = await f(request) │ └ .app at 0x0000013AAF96AB90> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\fastapi\routing.py", line 301, in app raw_response = await run_endpoint_function( └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\fastapi\routing.py", line 212, in run_endpoint_function return await dependant.call(**values) │ │ └ {'service': , 'request': └ Dependant(path_params=[], query_params=[], header_params=[], cookie_params=[], body_params=[], dependencies=[Dependant(path_p... File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\dependency_injector\wiring.py", line 1072, in _patched return await fn(*args, **kwargs) │ │ └ {'service': , 'request': File "C:\University-HCMUTE\InternFuta\ApiDialogflowChatbot\app\api\v1\trip.py", line 40, in trips_option rs: DialogServiceResult = await service.get_trips_option(data) │ │ └ TripQueryRequest(departure_city='Thành phố Hồ Chí Minh', destination_city='Thành phố Đà Lạt', origin_office=None, dest_office... │ └ File "C:\University-HCMUTE\InternFuta\ApiDialogflowChatbot\app\dialogflow\services\trip_service.py", line 153, in get_trips_option route_ids = await self.trip_repository.get_all_route_ids( │ │ └ │ └ TypeError: TripRepository.get_all_route_ids() got an unexpected keyword argument 'orign_ids' 2025-06-17 16:52:09.607 | ERROR | 3dae18f06c324f4c96edbbd57d9ee09b | Exception in ASGI application Traceback (most recent call last): File "", line 1, in File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\spawn.py", line 116, in spawn_main exitcode = _main(fd, parent_sentinel) │ │ └ 340 │ └ 3 └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\spawn.py", line 129, in _main return self._bootstrap(parent_sentinel) │ │ └ 340 │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\process.py", line 315, in _bootstrap self.run() │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\process.py", line 108, in run self._target(*self._args, **self._kwargs) │ │ │ │ │ └ {'config': , 'target': │ │ │ └ () │ │ └ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\_subprocess.py", line 80, in subprocess_started target(sockets=sockets) │ └ [] └ > File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\server.py", line 66, in run return asyncio.run(self.serve(sockets=sockets)) │ │ │ │ └ [] │ │ │ └ │ │ └ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\runners.py", line 44, in run return loop.run_until_complete(main) │ │ └ │ └ └ <_WindowsSelectorEventLoop running=True closed=False debug=False> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 633, in run_until_complete self.run_forever() │ └ └ <_WindowsSelectorEventLoop running=True closed=False debug=False> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 600, in run_forever self._run_once() │ └ └ <_WindowsSelectorEventLoop running=True closed=False debug=False> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 1896, in _run_once handle._run() │ └ >)> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\events.py", line 80, in _run self._context.run(self._callback, *self._args) │ │ │ │ │ └ │ │ │ │ └ >)> │ │ │ └ │ │ └ >)> │ └ >)> > File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\protocols\http\h11_impl.py", line 403, in run_asgi result = await app( # type: ignore[func-returns-value] └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\middleware\proxy_headers.py", line 60, in __call__ return await self.app(scope, receive, send) │ │ │ │ └ > │ │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\fastapi\applications.py", line 1054, in __call__ await super().__call__(scope, receive, send) │ │ └ > │ └ > │ │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\errors.py", line 187, in __call__ raise exc File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\errors.py", line 165, in __call__ await self.app(scope, receive, _send) │ │ │ │ └ ._send at 0x0000013AE054E830> │ │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\cors.py", line 85, in __call__ await self.app(scope, receive, send) │ │ │ │ └ ._send at 0x0000013AE054E830> │ │ │ └ , header_name='... └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\asgi_correlation_id\middleware.py", line 90, in __call__ await self.app(scope, receive, handle_outgoing_request) │ │ │ │ └ .handle_outgoing_request at 0x0000013AE054EA70> │ │ │ └ └ CorrelationIdMiddleware(app=, header_name='... File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\exceptions.py", line 62, in __call__ await wrap_app_handling_exceptions(self.app, conn)(scope, receive, send) │ │ │ │ │ │ └ .handle_outgoing_request at 0x0000013AE054EA70> │ │ │ │ │ └ │ │ └ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 53, in wrapped_app raise exc File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 42, in wrapped_app await app(scope, receive, sender) │ │ │ └ .wrapped_app..sender at 0x0000013AE054E950> │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 714, in __call__ await self.middleware_stack(scope, receive, send) │ │ │ │ └ .wrapped_app..sender at 0x0000013AE054E950> │ │ │ └ > └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 734, in app await route.handle(scope, receive, send) │ │ │ │ └ .wrapped_app..sender at 0x0000013AE054E950> │ │ │ └ └ APIRoute(path='/api/v1/trip/option', name='trips_option', methods=['POST']) File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 288, in handle await self.app(scope, receive, send) │ │ │ │ └ .wrapped_app..sender at 0x0000013AE054E950> │ │ │ └ .app at 0x0000013AAF9D0040> └ APIRoute(path='/api/v1/trip/option', name='trips_option', methods=['POST']) File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 76, in app await wrap_app_handling_exceptions(app, request)(scope, receive, send) │ │ │ │ │ └ .wrapped_app..sender at 0x0000013AE054E950> │ │ │ │ └ │ └ .app..app at 0x0000013AE054E7A0> └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 53, in wrapped_app raise exc File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 42, in wrapped_app await app(scope, receive, sender) │ │ │ └ .wrapped_app..sender at 0x0000013AE054E9E0> │ │ └ .app..app at 0x0000013AE054E7A0> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 73, in app response = await f(request) │ └ .app at 0x0000013AAF96AB90> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\fastapi\routing.py", line 301, in app raw_response = await run_endpoint_function( └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\fastapi\routing.py", line 212, in run_endpoint_function return await dependant.call(**values) │ │ └ {'service': , 'request': └ Dependant(path_params=[], query_params=[], header_params=[], cookie_params=[], body_params=[], dependencies=[Dependant(path_p... File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\dependency_injector\wiring.py", line 1072, in _patched return await fn(*args, **kwargs) │ │ └ {'service': , 'request': File "C:\University-HCMUTE\InternFuta\ApiDialogflowChatbot\app\api\v1\trip.py", line 40, in trips_option rs: DialogServiceResult = await service.get_trips_option(data) │ │ └ TripQueryRequest(departure_city='Thành phố Hồ Chí Minh', destination_city='Thành phố Đà Lạt', origin_office=None, dest_office... │ └ File "C:\University-HCMUTE\InternFuta\ApiDialogflowChatbot\app\dialogflow\services\trip_service.py", line 153, in get_trips_option route_ids = await self.trip_repository.get_all_route_ids( │ │ └ │ └ TypeError: TripRepository.get_all_route_ids() got an unexpected keyword argument 'orign_ids' 2025-06-17 16:54:05.473 | ERROR | dbeac3bd3b8c4d1a9a5cb3177adb5155 | Exception in ASGI application Traceback (most recent call last): File "", line 1, in File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\spawn.py", line 116, in spawn_main exitcode = _main(fd, parent_sentinel) │ │ └ 368 │ └ 3 └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\spawn.py", line 129, in _main return self._bootstrap(parent_sentinel) │ │ └ 368 │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\process.py", line 315, in _bootstrap self.run() │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\process.py", line 108, in run self._target(*self._args, **self._kwargs) │ │ │ │ │ └ {'config': , 'target': │ │ │ └ () │ │ └ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\_subprocess.py", line 80, in subprocess_started target(sockets=sockets) │ └ [] └ > File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\server.py", line 66, in run return asyncio.run(self.serve(sockets=sockets)) │ │ │ │ └ [] │ │ │ └ │ │ └ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\runners.py", line 44, in run return loop.run_until_complete(main) │ │ └ │ └ └ <_WindowsSelectorEventLoop running=True closed=False debug=False> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 633, in run_until_complete self.run_forever() │ └ └ <_WindowsSelectorEventLoop running=True closed=False debug=False> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 600, in run_forever self._run_once() │ └ └ <_WindowsSelectorEventLoop running=True closed=False debug=False> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 1896, in _run_once handle._run() │ └ >)> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\events.py", line 80, in _run self._context.run(self._callback, *self._args) │ │ │ │ │ └ │ │ │ │ └ >)> │ │ │ └ │ │ └ >)> │ └ >)> > File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\protocols\http\h11_impl.py", line 403, in run_asgi result = await app( # type: ignore[func-returns-value] └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\middleware\proxy_headers.py", line 60, in __call__ return await self.app(scope, receive, send) │ │ │ │ └ > │ │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\fastapi\applications.py", line 1054, in __call__ await super().__call__(scope, receive, send) │ │ └ > │ └ > │ │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\errors.py", line 187, in __call__ raise exc File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\errors.py", line 165, in __call__ await self.app(scope, receive, _send) │ │ │ │ └ ._send at 0x0000021024BE2E60> │ │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\cors.py", line 85, in __call__ await self.app(scope, receive, send) │ │ │ │ └ ._send at 0x0000021024BE2E60> │ │ │ └ , header_name='... └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\asgi_correlation_id\middleware.py", line 90, in __call__ await self.app(scope, receive, handle_outgoing_request) │ │ │ │ └ .handle_outgoing_request at 0x0000021024BE2F80> │ │ │ └ └ CorrelationIdMiddleware(app=, header_name='... File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\exceptions.py", line 62, in __call__ await wrap_app_handling_exceptions(self.app, conn)(scope, receive, send) │ │ │ │ │ │ └ .handle_outgoing_request at 0x0000021024BE2F80> │ │ │ │ │ └ │ │ └ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 53, in wrapped_app raise exc File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 42, in wrapped_app await app(scope, receive, sender) │ │ │ └ .wrapped_app..sender at 0x0000021024BE1E10> │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 714, in __call__ await self.middleware_stack(scope, receive, send) │ │ │ │ └ .wrapped_app..sender at 0x0000021024BE1E10> │ │ │ └ > └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 734, in app await route.handle(scope, receive, send) │ │ │ │ └ .wrapped_app..sender at 0x0000021024BE1E10> │ │ │ └ └ APIRoute(path='/api/v1/trip/option', name='trips_option', methods=['POST']) File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 288, in handle await self.app(scope, receive, send) │ │ │ │ └ .wrapped_app..sender at 0x0000021024BE1E10> │ │ │ └ .app at 0x0000021077A07E20> └ APIRoute(path='/api/v1/trip/option', name='trips_option', methods=['POST']) File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 76, in app await wrap_app_handling_exceptions(app, request)(scope, receive, send) │ │ │ │ │ └ .wrapped_app..sender at 0x0000021024BE1E10> │ │ │ │ └ │ └ .app..app at 0x0000021024BE30A0> └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 53, in wrapped_app raise exc File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 42, in wrapped_app await app(scope, receive, sender) │ │ │ └ .wrapped_app..sender at 0x0000021024BE3AC0> │ │ └ .app..app at 0x0000021024BE30A0> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 73, in app response = await f(request) │ └ .app at 0x00000210779EA9E0> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\fastapi\routing.py", line 301, in app raw_response = await run_endpoint_function( └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\fastapi\routing.py", line 212, in run_endpoint_function return await dependant.call(**values) │ │ └ {'service': , 'request': └ Dependant(path_params=[], query_params=[], header_params=[], cookie_params=[], body_params=[], dependencies=[Dependant(path_p... File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\dependency_injector\wiring.py", line 1072, in _patched return await fn(*args, **kwargs) │ │ └ {'service': , 'request': File "C:\University-HCMUTE\InternFuta\ApiDialogflowChatbot\app\api\v1\trip.py", line 40, in trips_option rs: DialogServiceResult = await service.get_trips_option(data) │ │ └ TripQueryRequest(departure_city='Thành phố Hồ Chí Minh', destination_city='Thành phố Đà Lạt', origin_office=None, dest_office... │ └ File "C:\University-HCMUTE\InternFuta\ApiDialogflowChatbot\app\dialogflow\services\trip_service.py", line 153, in get_trips_option route_ids = await self.trip_repository.get_all_route_ids( │ │ └ │ └ File "C:\University-HCMUTE\InternFuta\ApiDialogflowChatbot\app\dialogflow\repositories\trip_repository.py", line 28, in get_all_route_ids route_ids = await self.client.get_route_ids_by_metadata( │ │ └ )> │ └ TypeError: FutabusClient.get_route_ids_by_metadata() got an unexpected keyword argument 'from_id' 2025-06-17 16:54:06.209 | ERROR | 3dd4795c951c454ca5a3e075fe3703b8 | Exception in ASGI application Traceback (most recent call last): File "", line 1, in File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\spawn.py", line 116, in spawn_main exitcode = _main(fd, parent_sentinel) │ │ └ 368 │ └ 3 └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\spawn.py", line 129, in _main return self._bootstrap(parent_sentinel) │ │ └ 368 │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\process.py", line 315, in _bootstrap self.run() │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\process.py", line 108, in run self._target(*self._args, **self._kwargs) │ │ │ │ │ └ {'config': , 'target': │ │ │ └ () │ │ └ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\_subprocess.py", line 80, in subprocess_started target(sockets=sockets) │ └ [] └ > File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\server.py", line 66, in run return asyncio.run(self.serve(sockets=sockets)) │ │ │ │ └ [] │ │ │ └ │ │ └ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\runners.py", line 44, in run return loop.run_until_complete(main) │ │ └ │ └ └ <_WindowsSelectorEventLoop running=True closed=False debug=False> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 633, in run_until_complete self.run_forever() │ └ └ <_WindowsSelectorEventLoop running=True closed=False debug=False> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 600, in run_forever self._run_once() │ └ └ <_WindowsSelectorEventLoop running=True closed=False debug=False> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 1896, in _run_once handle._run() │ └ >)> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\events.py", line 80, in _run self._context.run(self._callback, *self._args) │ │ │ │ │ └ │ │ │ │ └ >)> │ │ │ └ │ │ └ >)> │ └ >)> > File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\protocols\http\h11_impl.py", line 403, in run_asgi result = await app( # type: ignore[func-returns-value] └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\middleware\proxy_headers.py", line 60, in __call__ return await self.app(scope, receive, send) │ │ │ │ └ > │ │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\fastapi\applications.py", line 1054, in __call__ await super().__call__(scope, receive, send) │ │ └ > │ └ > │ │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\errors.py", line 187, in __call__ raise exc File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\errors.py", line 165, in __call__ await self.app(scope, receive, _send) │ │ │ │ └ ._send at 0x0000021077A51E10> │ │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\cors.py", line 85, in __call__ await self.app(scope, receive, send) │ │ │ │ └ ._send at 0x0000021077A51E10> │ │ │ └ , header_name='... └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\asgi_correlation_id\middleware.py", line 90, in __call__ await self.app(scope, receive, handle_outgoing_request) │ │ │ │ └ .handle_outgoing_request at 0x000002102598EA70> │ │ │ └ └ CorrelationIdMiddleware(app=, header_name='... File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\exceptions.py", line 62, in __call__ await wrap_app_handling_exceptions(self.app, conn)(scope, receive, send) │ │ │ │ │ │ └ .handle_outgoing_request at 0x000002102598EA70> │ │ │ │ │ └ │ │ └ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 53, in wrapped_app raise exc File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 42, in wrapped_app await app(scope, receive, sender) │ │ │ └ .wrapped_app..sender at 0x000002102598E9E0> │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 714, in __call__ await self.middleware_stack(scope, receive, send) │ │ │ │ └ .wrapped_app..sender at 0x000002102598E9E0> │ │ │ └ > └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 734, in app await route.handle(scope, receive, send) │ │ │ │ └ .wrapped_app..sender at 0x000002102598E9E0> │ │ │ └ └ APIRoute(path='/api/v1/trip/option', name='trips_option', methods=['POST']) File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 288, in handle await self.app(scope, receive, send) │ │ │ │ └ .wrapped_app..sender at 0x000002102598E9E0> │ │ │ └ .app at 0x0000021077A07E20> └ APIRoute(path='/api/v1/trip/option', name='trips_option', methods=['POST']) File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 76, in app await wrap_app_handling_exceptions(app, request)(scope, receive, send) │ │ │ │ │ └ .wrapped_app..sender at 0x000002102598E9E0> │ │ │ │ └ │ └ .app..app at 0x000002102598EB00> └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 53, in wrapped_app raise exc File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 42, in wrapped_app await app(scope, receive, sender) │ │ │ └ .wrapped_app..sender at 0x000002102598E8C0> │ │ └ .app..app at 0x000002102598EB00> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 73, in app response = await f(request) │ └ .app at 0x00000210779EA9E0> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\fastapi\routing.py", line 301, in app raw_response = await run_endpoint_function( └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\fastapi\routing.py", line 212, in run_endpoint_function return await dependant.call(**values) │ │ └ {'service': , 'request': └ Dependant(path_params=[], query_params=[], header_params=[], cookie_params=[], body_params=[], dependencies=[Dependant(path_p... File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\dependency_injector\wiring.py", line 1072, in _patched return await fn(*args, **kwargs) │ │ └ {'service': , 'request': File "C:\University-HCMUTE\InternFuta\ApiDialogflowChatbot\app\api\v1\trip.py", line 40, in trips_option rs: DialogServiceResult = await service.get_trips_option(data) │ │ └ TripQueryRequest(departure_city='Thành phố Hồ Chí Minh', destination_city='Thành phố Đà Lạt', origin_office=None, dest_office... │ └ File "C:\University-HCMUTE\InternFuta\ApiDialogflowChatbot\app\dialogflow\services\trip_service.py", line 153, in get_trips_option route_ids = await self.trip_repository.get_all_route_ids( │ │ └ │ └ File "C:\University-HCMUTE\InternFuta\ApiDialogflowChatbot\app\dialogflow\repositories\trip_repository.py", line 28, in get_all_route_ids route_ids = await self.client.get_route_ids_by_metadata( │ │ └ )> │ └ TypeError: FutabusClient.get_route_ids_by_metadata() got an unexpected keyword argument 'from_id' 2025-06-17 17:01:52.281 | ERROR | b34df4361c8f4b69a00b334fffc59360 | Exception in ASGI application Traceback (most recent call last): File "", line 1, in File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\spawn.py", line 116, in spawn_main exitcode = _main(fd, parent_sentinel) │ │ └ 340 │ └ 3 └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\spawn.py", line 129, in _main return self._bootstrap(parent_sentinel) │ │ └ 340 │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\process.py", line 315, in _bootstrap self.run() │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\process.py", line 108, in run self._target(*self._args, **self._kwargs) │ │ │ │ │ └ {'config': , 'target': │ │ │ └ () │ │ └ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\_subprocess.py", line 80, in subprocess_started target(sockets=sockets) │ └ [] └ > File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\server.py", line 66, in run return asyncio.run(self.serve(sockets=sockets)) │ │ │ │ └ [] │ │ │ └ │ │ └ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\runners.py", line 44, in run return loop.run_until_complete(main) │ │ └ │ └ └ <_WindowsSelectorEventLoop running=True closed=False debug=False> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 633, in run_until_complete self.run_forever() │ └ └ <_WindowsSelectorEventLoop running=True closed=False debug=False> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 600, in run_forever self._run_once() │ └ └ <_WindowsSelectorEventLoop running=True closed=False debug=False> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 1896, in _run_once handle._run() │ └ ()> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\events.py", line 80, in _run self._context.run(self._callback, *self._args) │ │ │ │ │ └ │ │ │ │ └ ()> │ │ │ └ │ │ └ ()> │ └ ()> > File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\protocols\http\h11_impl.py", line 403, in run_asgi result = await app( # type: ignore[func-returns-value] └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\middleware\proxy_headers.py", line 60, in __call__ return await self.app(scope, receive, send) │ │ │ │ └ > │ │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\fastapi\applications.py", line 1054, in __call__ await super().__call__(scope, receive, send) │ │ └ > │ └ > │ │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\errors.py", line 187, in __call__ raise exc File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\errors.py", line 165, in __call__ await self.app(scope, receive, _send) │ │ │ │ └ ._send at 0x0000022AD01D3400> │ │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\cors.py", line 85, in __call__ await self.app(scope, receive, send) │ │ │ │ └ ._send at 0x0000022AD01D3400> │ │ │ └ , header_name='... └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\asgi_correlation_id\middleware.py", line 90, in __call__ await self.app(scope, receive, handle_outgoing_request) │ │ │ │ └ .handle_outgoing_request at 0x0000022AD01D3010> │ │ │ └ └ CorrelationIdMiddleware(app=, header_name='... File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\exceptions.py", line 62, in __call__ await wrap_app_handling_exceptions(self.app, conn)(scope, receive, send) │ │ │ │ │ │ └ .handle_outgoing_request at 0x0000022AD01D3010> │ │ │ │ │ └ │ │ └ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 53, in wrapped_app raise exc File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 42, in wrapped_app await app(scope, receive, sender) │ │ │ └ .wrapped_app..sender at 0x0000022AD01D3130> │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 714, in __call__ await self.middleware_stack(scope, receive, send) │ │ │ │ └ .wrapped_app..sender at 0x0000022AD01D3130> │ │ │ └ > └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 734, in app await route.handle(scope, receive, send) │ │ │ │ └ .wrapped_app..sender at 0x0000022AD01D3130> │ │ │ └ └ APIRoute(path='/api/v1/trip/option', name='trips_option', methods=['POST']) File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 288, in handle await self.app(scope, receive, send) │ │ │ │ └ .wrapped_app..sender at 0x0000022AD01D3130> │ │ │ └ .app at 0x0000022AA3300040> └ APIRoute(path='/api/v1/trip/option', name='trips_option', methods=['POST']) File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 76, in app await wrap_app_handling_exceptions(app, request)(scope, receive, send) │ │ │ │ │ └ .wrapped_app..sender at 0x0000022AD01D3130> │ │ │ │ └ │ └ .app..app at 0x0000022AD01D2EF0> └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 53, in wrapped_app raise exc File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 42, in wrapped_app await app(scope, receive, sender) │ │ │ └ .wrapped_app..sender at 0x0000022AD01D3BE0> │ │ └ .app..app at 0x0000022AD01D2EF0> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 73, in app response = await f(request) │ └ .app at 0x0000022AA329AB90> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\fastapi\routing.py", line 301, in app raw_response = await run_endpoint_function( └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\fastapi\routing.py", line 212, in run_endpoint_function return await dependant.call(**values) │ │ └ {'service': , 'request': └ Dependant(path_params=[], query_params=[], header_params=[], cookie_params=[], body_params=[], dependencies=[Dependant(path_p... File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\dependency_injector\wiring.py", line 1072, in _patched return await fn(*args, **kwargs) │ │ └ {'service': , 'request': File "C:\University-HCMUTE\InternFuta\ApiDialogflowChatbot\app\api\v1\trip.py", line 40, in trips_option rs: DialogServiceResult = await service.get_trips_option(data) │ │ └ TripQueryRequest(departure_city='Thành phố Hồ Chí Minh', destination_city='Thành phố Đà Lạt', origin_office=None, dest_office... │ └ File "C:\University-HCMUTE\InternFuta\ApiDialogflowChatbot\app\dialogflow\services\trip_service.py", line 163, in get_trips_option from_time, to_time = get_time_range(data.date) │ │ └ {'year': 2025.0, 'month': 6.0, 'day': 18.0} │ └ TripQueryRequest(departure_city='Thành phố Hồ Chí Minh', destination_city='Thành phố Đà Lạt', origin_office=None, dest_office... └ File "C:\University-HCMUTE\InternFuta\ApiDialogflowChatbot\app\dialogflow\services\helper.py", line 50, in get_time_range to_time = from_time.replace(hour=23, minute=59, second=59) └ {'year': 2025.0, 'month': 6.0, 'day': 18.0} AttributeError: 'dict' object has no attribute 'replace' 2025-06-17 17:01:53.026 | ERROR | 9d85847db3d046cabc38d3eec6cf1e9a | Exception in ASGI application Traceback (most recent call last): File "", line 1, in File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\spawn.py", line 116, in spawn_main exitcode = _main(fd, parent_sentinel) │ │ └ 340 │ └ 3 └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\spawn.py", line 129, in _main return self._bootstrap(parent_sentinel) │ │ └ 340 │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\process.py", line 315, in _bootstrap self.run() │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\process.py", line 108, in run self._target(*self._args, **self._kwargs) │ │ │ │ │ └ {'config': , 'target': │ │ │ └ () │ │ └ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\_subprocess.py", line 80, in subprocess_started target(sockets=sockets) │ └ [] └ > File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\server.py", line 66, in run return asyncio.run(self.serve(sockets=sockets)) │ │ │ │ └ [] │ │ │ └ │ │ └ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\runners.py", line 44, in run return loop.run_until_complete(main) │ │ └ │ └ └ <_WindowsSelectorEventLoop running=True closed=False debug=False> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 633, in run_until_complete self.run_forever() │ └ └ <_WindowsSelectorEventLoop running=True closed=False debug=False> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 600, in run_forever self._run_once() │ └ └ <_WindowsSelectorEventLoop running=True closed=False debug=False> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 1896, in _run_once handle._run() │ └ ()> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\events.py", line 80, in _run self._context.run(self._callback, *self._args) │ │ │ │ │ └ │ │ │ │ └ ()> │ │ │ └ │ │ └ ()> │ └ ()> > File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\protocols\http\h11_impl.py", line 403, in run_asgi result = await app( # type: ignore[func-returns-value] └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\middleware\proxy_headers.py", line 60, in __call__ return await self.app(scope, receive, send) │ │ │ │ └ > │ │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\fastapi\applications.py", line 1054, in __call__ await super().__call__(scope, receive, send) │ │ └ > │ └ > │ │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\errors.py", line 187, in __call__ raise exc File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\errors.py", line 165, in __call__ await self.app(scope, receive, _send) │ │ │ │ └ ._send at 0x0000022AD01D3370> │ │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\cors.py", line 85, in __call__ await self.app(scope, receive, send) │ │ │ │ └ ._send at 0x0000022AD01D3370> │ │ │ └ , header_name='... └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\asgi_correlation_id\middleware.py", line 90, in __call__ await self.app(scope, receive, handle_outgoing_request) │ │ │ │ └ .handle_outgoing_request at 0x0000022AD02E3E20> │ │ │ └ └ CorrelationIdMiddleware(app=, header_name='... File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\exceptions.py", line 62, in __call__ await wrap_app_handling_exceptions(self.app, conn)(scope, receive, send) │ │ │ │ │ │ └ .handle_outgoing_request at 0x0000022AD02E3E20> │ │ │ │ │ └ │ │ └ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 53, in wrapped_app raise exc File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 42, in wrapped_app await app(scope, receive, sender) │ │ │ └ .wrapped_app..sender at 0x0000022AD01D3400> │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 714, in __call__ await self.middleware_stack(scope, receive, send) │ │ │ │ └ .wrapped_app..sender at 0x0000022AD01D3400> │ │ │ └ > └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 734, in app await route.handle(scope, receive, send) │ │ │ │ └ .wrapped_app..sender at 0x0000022AD01D3400> │ │ │ └ └ APIRoute(path='/api/v1/trip/option', name='trips_option', methods=['POST']) File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 288, in handle await self.app(scope, receive, send) │ │ │ │ └ .wrapped_app..sender at 0x0000022AD01D3400> │ │ │ └ .app at 0x0000022AA3300040> └ APIRoute(path='/api/v1/trip/option', name='trips_option', methods=['POST']) File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 76, in app await wrap_app_handling_exceptions(app, request)(scope, receive, send) │ │ │ │ │ └ .wrapped_app..sender at 0x0000022AD01D3400> │ │ │ │ └ │ └ .app..app at 0x0000022AD01D3010> └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 53, in wrapped_app raise exc File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 42, in wrapped_app await app(scope, receive, sender) │ │ │ └ .wrapped_app..sender at 0x0000022AD01D3130> │ │ └ .app..app at 0x0000022AD01D3010> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 73, in app response = await f(request) │ └ .app at 0x0000022AA329AB90> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\fastapi\routing.py", line 301, in app raw_response = await run_endpoint_function( └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\fastapi\routing.py", line 212, in run_endpoint_function return await dependant.call(**values) │ │ └ {'service': , 'request': └ Dependant(path_params=[], query_params=[], header_params=[], cookie_params=[], body_params=[], dependencies=[Dependant(path_p... File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\dependency_injector\wiring.py", line 1072, in _patched return await fn(*args, **kwargs) │ │ └ {'service': , 'request': File "C:\University-HCMUTE\InternFuta\ApiDialogflowChatbot\app\api\v1\trip.py", line 40, in trips_option rs: DialogServiceResult = await service.get_trips_option(data) │ │ └ TripQueryRequest(departure_city='Thành phố Hồ Chí Minh', destination_city='Thành phố Đà Lạt', origin_office=None, dest_office... │ └ File "C:\University-HCMUTE\InternFuta\ApiDialogflowChatbot\app\dialogflow\services\trip_service.py", line 163, in get_trips_option from_time, to_time = get_time_range(data.date) │ │ └ {'year': 2025.0, 'month': 6.0, 'day': 18.0} │ └ TripQueryRequest(departure_city='Thành phố Hồ Chí Minh', destination_city='Thành phố Đà Lạt', origin_office=None, dest_office... └ File "C:\University-HCMUTE\InternFuta\ApiDialogflowChatbot\app\dialogflow\services\helper.py", line 50, in get_time_range to_time = from_time.replace(hour=23, minute=59, second=59) └ {'year': 2025.0, 'month': 6.0, 'day': 18.0} AttributeError: 'dict' object has no attribute 'replace' 2025-06-18 09:33:21.113 | ERROR | 5e39275855414a1bb40603a1b5fa0531 | Exception in ASGI application Traceback (most recent call last): File "", line 1, in File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\spawn.py", line 116, in spawn_main exitcode = _main(fd, parent_sentinel) │ │ └ 324 │ └ 3 └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\spawn.py", line 129, in _main return self._bootstrap(parent_sentinel) │ │ └ 324 │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\process.py", line 315, in _bootstrap self.run() │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\process.py", line 108, in run self._target(*self._args, **self._kwargs) │ │ │ │ │ └ {'config': , 'target': │ │ │ └ () │ │ └ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\_subprocess.py", line 80, in subprocess_started target(sockets=sockets) │ └ [] └ > File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\server.py", line 66, in run return asyncio.run(self.serve(sockets=sockets)) │ │ │ │ └ [] │ │ │ └ │ │ └ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\runners.py", line 44, in run return loop.run_until_complete(main) │ │ └ │ └ └ <_WindowsSelectorEventLoop running=True closed=False debug=False> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 633, in run_until_complete self.run_forever() │ └ └ <_WindowsSelectorEventLoop running=True closed=False debug=False> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 600, in run_forever self._run_once() │ └ └ <_WindowsSelectorEventLoop running=True closed=False debug=False> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 1896, in _run_once handle._run() │ └ )> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\events.py", line 80, in _run self._context.run(self._callback, *self._args) │ │ │ │ │ └ │ │ │ │ └ )> │ │ │ └ │ │ └ )> │ └ )> > File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\protocols\http\h11_impl.py", line 403, in run_asgi result = await app( # type: ignore[func-returns-value] └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\middleware\proxy_headers.py", line 60, in __call__ return await self.app(scope, receive, send) │ │ │ │ └ > │ │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\fastapi\applications.py", line 1054, in __call__ await super().__call__(scope, receive, send) │ │ └ > │ └ > │ │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\errors.py", line 187, in __call__ raise exc File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\errors.py", line 165, in __call__ await self.app(scope, receive, _send) │ │ │ │ └ ._send at 0x000001BC562F2050> │ │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\cors.py", line 85, in __call__ await self.app(scope, receive, send) │ │ │ │ └ ._send at 0x000001BC562F2050> │ │ │ └ , header_name='... └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\asgi_correlation_id\middleware.py", line 90, in __call__ await self.app(scope, receive, handle_outgoing_request) │ │ │ │ └ .handle_outgoing_request at 0x000001BC0326B400> │ │ │ └ └ CorrelationIdMiddleware(app=, header_name='... File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\exceptions.py", line 62, in __call__ await wrap_app_handling_exceptions(self.app, conn)(scope, receive, send) │ │ │ │ │ │ └ .handle_outgoing_request at 0x000001BC0326B400> │ │ │ │ │ └ │ │ └ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 53, in wrapped_app raise exc File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 42, in wrapped_app await app(scope, receive, sender) │ │ │ └ .wrapped_app..sender at 0x000001BC0326B2E0> │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 714, in __call__ await self.middleware_stack(scope, receive, send) │ │ │ │ └ .wrapped_app..sender at 0x000001BC0326B2E0> │ │ │ └ > └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 734, in app await route.handle(scope, receive, send) │ │ │ │ └ .wrapped_app..sender at 0x000001BC0326B2E0> │ │ │ └ └ APIRoute(path='/api/v1/trip/validate-trip-selection', name='validate_trip_selection', methods=['POST']) File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 288, in handle await self.app(scope, receive, send) │ │ │ │ └ .wrapped_app..sender at 0x000001BC0326B2E0> │ │ │ └ .app at 0x000001BC562F04C0> └ APIRoute(path='/api/v1/trip/validate-trip-selection', name='validate_trip_selection', methods=['POST']) File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 76, in app await wrap_app_handling_exceptions(app, request)(scope, receive, send) │ │ │ │ │ └ .wrapped_app..sender at 0x000001BC0326B2E0> │ │ │ │ └ │ └ .app..app at 0x000001BC0326B0A0> └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 53, in wrapped_app raise exc File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 42, in wrapped_app await app(scope, receive, sender) │ │ │ └ .wrapped_app..sender at 0x000001BC0326B1C0> │ │ └ .app..app at 0x000001BC0326B0A0> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 73, in app response = await f(request) │ └ .app at 0x000001BC562F0430> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\fastapi\routing.py", line 301, in app raw_response = await run_endpoint_function( └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\fastapi\routing.py", line 212, in run_endpoint_function return await dependant.call(**values) │ │ └ {'service': , 'request': └ Dependant(path_params=[], query_params=[], header_params=[], cookie_params=[], body_params=[], dependencies=[Dependant(path_p... File "C:\University-HCMUTE\InternFuta\ApiDialogflowChatbot\app\api\v1\trip.py", line 88, in validate_trip_selection rs: DialogServiceResult = service.validate_trip_selection( └ AttributeError: 'Provide' object has no attribute 'validate_trip_selection' 2025-06-18 09:33:33.852 | ERROR | 1b2f73147ca6414ea250ccc43d2a9e5e | Exception in ASGI application Traceback (most recent call last): File "", line 1, in File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\spawn.py", line 116, in spawn_main exitcode = _main(fd, parent_sentinel) │ │ └ 340 │ └ 3 └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\spawn.py", line 129, in _main return self._bootstrap(parent_sentinel) │ │ └ 340 │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\process.py", line 315, in _bootstrap self.run() │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\process.py", line 108, in run self._target(*self._args, **self._kwargs) │ │ │ │ │ └ {'config': , 'target': │ │ │ └ () │ │ └ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\_subprocess.py", line 80, in subprocess_started target(sockets=sockets) │ └ [] └ > File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\server.py", line 66, in run return asyncio.run(self.serve(sockets=sockets)) │ │ │ │ └ [] │ │ │ └ │ │ └ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\runners.py", line 44, in run return loop.run_until_complete(main) │ │ └ │ └ └ <_WindowsSelectorEventLoop running=True closed=False debug=False> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 633, in run_until_complete self.run_forever() │ └ └ <_WindowsSelectorEventLoop running=True closed=False debug=False> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 600, in run_forever self._run_once() │ └ └ <_WindowsSelectorEventLoop running=True closed=False debug=False> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 1896, in _run_once handle._run() │ └ >)> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\events.py", line 80, in _run self._context.run(self._callback, *self._args) │ │ │ │ │ └ │ │ │ │ └ >)> │ │ │ └ │ │ └ >)> │ └ >)> > File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\protocols\http\h11_impl.py", line 403, in run_asgi result = await app( # type: ignore[func-returns-value] └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\middleware\proxy_headers.py", line 60, in __call__ return await self.app(scope, receive, send) │ │ │ │ └ > │ │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\fastapi\applications.py", line 1054, in __call__ await super().__call__(scope, receive, send) │ │ └ > │ └ > │ │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\errors.py", line 187, in __call__ raise exc File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\errors.py", line 165, in __call__ await self.app(scope, receive, _send) │ │ │ │ └ ._send at 0x000001B9EE6A20E0> │ │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\cors.py", line 85, in __call__ await self.app(scope, receive, send) │ │ │ │ └ ._send at 0x000001B9EE6A20E0> │ │ │ └ , header_name='... └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\asgi_correlation_id\middleware.py", line 90, in __call__ await self.app(scope, receive, handle_outgoing_request) │ │ │ │ └ .handle_outgoing_request at 0x000001B99B7E7490> │ │ │ └ └ CorrelationIdMiddleware(app=, header_name='... File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\exceptions.py", line 62, in __call__ await wrap_app_handling_exceptions(self.app, conn)(scope, receive, send) │ │ │ │ │ │ └ .handle_outgoing_request at 0x000001B99B7E7490> │ │ │ │ │ └ │ │ └ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 53, in wrapped_app raise exc File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 42, in wrapped_app await app(scope, receive, sender) │ │ │ └ .wrapped_app..sender at 0x000001B99B7E7370> │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 714, in __call__ await self.middleware_stack(scope, receive, send) │ │ │ │ └ .wrapped_app..sender at 0x000001B99B7E7370> │ │ │ └ > └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 734, in app await route.handle(scope, receive, send) │ │ │ │ └ .wrapped_app..sender at 0x000001B99B7E7370> │ │ │ └ └ APIRoute(path='/api/v1/trip/validate-trip-selection', name='validate_trip_selection', methods=['POST']) File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 288, in handle await self.app(scope, receive, send) │ │ │ │ └ .wrapped_app..sender at 0x000001B99B7E7370> │ │ │ └ .app at 0x000001B9EE6A0550> └ APIRoute(path='/api/v1/trip/validate-trip-selection', name='validate_trip_selection', methods=['POST']) File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 76, in app await wrap_app_handling_exceptions(app, request)(scope, receive, send) │ │ │ │ │ └ .wrapped_app..sender at 0x000001B99B7E7370> │ │ │ │ └ │ └ .app..app at 0x000001B99B7E7130> └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 53, in wrapped_app raise exc File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 42, in wrapped_app await app(scope, receive, sender) │ │ │ └ .wrapped_app..sender at 0x000001B99B7E7250> │ │ └ .app..app at 0x000001B99B7E7130> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 73, in app response = await f(request) │ └ .app at 0x000001B9EE6A04C0> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\fastapi\routing.py", line 301, in app raw_response = await run_endpoint_function( └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\fastapi\routing.py", line 212, in run_endpoint_function return await dependant.call(**values) │ │ └ {'service': , 'request': └ Dependant(path_params=[], query_params=[], header_params=[], cookie_params=[], body_params=[], dependencies=[Dependant(path_p... File "C:\University-HCMUTE\InternFuta\ApiDialogflowChatbot\app\api\v1\trip.py", line 78, in validate_trip_selection body = await request.json() │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\requests.py", line 248, in json body = await self.body() │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\requests.py", line 241, in body async for chunk in self.stream(): │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\requests.py", line 235, in stream raise ClientDisconnect() └ starlette.requests.ClientDisconnect 2025-06-18 09:41:51.376 | ERROR | ebe52baee1bb43549001f7436f5bac47 | Exception in ASGI application Traceback (most recent call last): File "", line 1, in File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\spawn.py", line 116, in spawn_main exitcode = _main(fd, parent_sentinel) │ │ └ 320 │ └ 3 └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\spawn.py", line 129, in _main return self._bootstrap(parent_sentinel) │ │ └ 320 │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\process.py", line 315, in _bootstrap self.run() │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\process.py", line 108, in run self._target(*self._args, **self._kwargs) │ │ │ │ │ └ {'config': , 'target': │ │ │ └ () │ │ └ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\_subprocess.py", line 80, in subprocess_started target(sockets=sockets) │ └ [] └ > File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\server.py", line 66, in run return asyncio.run(self.serve(sockets=sockets)) │ │ │ │ └ [] │ │ │ └ │ │ └ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\runners.py", line 44, in run return loop.run_until_complete(main) │ │ └ │ └ └ <_WindowsSelectorEventLoop running=True closed=False debug=False> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 633, in run_until_complete self.run_forever() │ └ └ <_WindowsSelectorEventLoop running=True closed=False debug=False> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 600, in run_forever self._run_once() │ └ └ <_WindowsSelectorEventLoop running=True closed=False debug=False> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 1896, in _run_once handle._run() │ └ >)> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\events.py", line 80, in _run self._context.run(self._callback, *self._args) │ │ │ │ │ └ │ │ │ │ └ >)> │ │ │ └ │ │ └ >)> │ └ >)> > File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\protocols\http\h11_impl.py", line 403, in run_asgi result = await app( # type: ignore[func-returns-value] └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\middleware\proxy_headers.py", line 60, in __call__ return await self.app(scope, receive, send) │ │ │ │ └ > │ │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\fastapi\applications.py", line 1054, in __call__ await super().__call__(scope, receive, send) │ │ └ > │ └ > │ │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\errors.py", line 187, in __call__ raise exc File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\errors.py", line 165, in __call__ await self.app(scope, receive, _send) │ │ │ │ └ ._send at 0x000001EFB28520E0> │ │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\cors.py", line 85, in __call__ await self.app(scope, receive, send) │ │ │ │ └ ._send at 0x000001EFB28520E0> │ │ │ └ , header_name='... └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\asgi_correlation_id\middleware.py", line 90, in __call__ await self.app(scope, receive, handle_outgoing_request) │ │ │ │ └ .handle_outgoing_request at 0x000001EFDF727490> │ │ │ └ └ CorrelationIdMiddleware(app=, header_name='... File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\exceptions.py", line 62, in __call__ await wrap_app_handling_exceptions(self.app, conn)(scope, receive, send) │ │ │ │ │ │ └ .handle_outgoing_request at 0x000001EFDF727490> │ │ │ │ │ └ │ │ └ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 53, in wrapped_app raise exc File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 42, in wrapped_app await app(scope, receive, sender) │ │ │ └ .wrapped_app..sender at 0x000001EFDF727370> │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 714, in __call__ await self.middleware_stack(scope, receive, send) │ │ │ │ └ .wrapped_app..sender at 0x000001EFDF727370> │ │ │ └ > └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 734, in app await route.handle(scope, receive, send) │ │ │ │ └ .wrapped_app..sender at 0x000001EFDF727370> │ │ │ └ └ APIRoute(path='/api/v1/trip/confirm-info', name='confirm', methods=['POST']) File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 288, in handle await self.app(scope, receive, send) │ │ │ │ └ .wrapped_app..sender at 0x000001EFDF727370> │ │ │ └ .app at 0x000001EFB2850430> └ APIRoute(path='/api/v1/trip/confirm-info', name='confirm', methods=['POST']) File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 76, in app await wrap_app_handling_exceptions(app, request)(scope, receive, send) │ │ │ │ │ └ .wrapped_app..sender at 0x000001EFDF727370> │ │ │ │ └ │ └ .app..app at 0x000001EFDF727130> └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 53, in wrapped_app raise exc File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 42, in wrapped_app await app(scope, receive, sender) │ │ │ └ .wrapped_app..sender at 0x000001EFDF727250> │ │ └ .app..app at 0x000001EFDF727130> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 73, in app response = await f(request) │ └ .app at 0x000001EFB28503A0> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\fastapi\routing.py", line 301, in app raw_response = await run_endpoint_function( └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\fastapi\routing.py", line 212, in run_endpoint_function return await dependant.call(**values) │ │ └ {'service': , 'request': └ Dependant(path_params=[], query_params=[], header_params=[], cookie_params=[], body_params=[], dependencies=[Dependant(path_p... File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\dependency_injector\wiring.py", line 1072, in _patched return await fn(*args, **kwargs) │ │ └ {'service': , 'request': File "C:\University-HCMUTE\InternFuta\ApiDialogflowChatbot\app\api\v1\trip.py", line 54, in confirm body = await request.json() │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\requests.py", line 248, in json body = await self.body() │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\requests.py", line 241, in body async for chunk in self.stream(): │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\requests.py", line 235, in stream raise ClientDisconnect() └ starlette.requests.ClientDisconnect 2025-06-18 09:52:36.891 | ERROR | 9365e23fa38849d38172719599ea48cb | Exception in ASGI application Traceback (most recent call last): File "", line 1, in File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\spawn.py", line 116, in spawn_main exitcode = _main(fd, parent_sentinel) │ │ └ 336 │ └ 3 └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\spawn.py", line 129, in _main return self._bootstrap(parent_sentinel) │ │ └ 336 │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\process.py", line 315, in _bootstrap self.run() │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\process.py", line 108, in run self._target(*self._args, **self._kwargs) │ │ │ │ │ └ {'config': , 'target': │ │ │ └ () │ │ └ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\_subprocess.py", line 80, in subprocess_started target(sockets=sockets) │ └ [] └ > File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\server.py", line 66, in run return asyncio.run(self.serve(sockets=sockets)) │ │ │ │ └ [] │ │ │ └ │ │ └ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\runners.py", line 44, in run return loop.run_until_complete(main) │ │ └ │ └ └ <_WindowsSelectorEventLoop running=True closed=False debug=False> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 633, in run_until_complete self.run_forever() │ └ └ <_WindowsSelectorEventLoop running=True closed=False debug=False> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 600, in run_forever self._run_once() │ └ └ <_WindowsSelectorEventLoop running=True closed=False debug=False> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 1896, in _run_once handle._run() │ └ >)> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\events.py", line 80, in _run self._context.run(self._callback, *self._args) │ │ │ │ │ └ │ │ │ │ └ >)> │ │ │ └ │ │ └ >)> │ └ >)> > File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\protocols\http\h11_impl.py", line 403, in run_asgi result = await app( # type: ignore[func-returns-value] └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\middleware\proxy_headers.py", line 60, in __call__ return await self.app(scope, receive, send) │ │ │ │ └ > │ │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\fastapi\applications.py", line 1054, in __call__ await super().__call__(scope, receive, send) │ │ └ > │ └ > │ │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\errors.py", line 187, in __call__ raise exc File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\errors.py", line 165, in __call__ await self.app(scope, receive, _send) │ │ │ │ └ ._send at 0x000001D81B44F7F0> │ │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\cors.py", line 85, in __call__ await self.app(scope, receive, send) │ │ │ │ └ ._send at 0x000001D81B44F7F0> │ │ │ └ , header_name='... └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\asgi_correlation_id\middleware.py", line 90, in __call__ await self.app(scope, receive, handle_outgoing_request) │ │ │ │ └ .handle_outgoing_request at 0x000001D86E2F25F0> │ │ │ └ └ CorrelationIdMiddleware(app=, header_name='... File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\exceptions.py", line 62, in __call__ await wrap_app_handling_exceptions(self.app, conn)(scope, receive, send) │ │ │ │ │ │ └ .handle_outgoing_request at 0x000001D86E2F25F0> │ │ │ │ │ └ │ │ └ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 53, in wrapped_app raise exc File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 42, in wrapped_app await app(scope, receive, sender) │ │ │ └ .wrapped_app..sender at 0x000001D81B3F36D0> │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 714, in __call__ await self.middleware_stack(scope, receive, send) │ │ │ │ └ .wrapped_app..sender at 0x000001D81B3F36D0> │ │ │ └ > └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 734, in app await route.handle(scope, receive, send) │ │ │ │ └ .wrapped_app..sender at 0x000001D81B3F36D0> │ │ │ └ └ APIRoute(path='/api/v1/trip/validate-trip-selection', name='validate_trip_selection', methods=['POST']) File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 288, in handle await self.app(scope, receive, send) │ │ │ │ └ .wrapped_app..sender at 0x000001D81B3F36D0> │ │ │ └ .app at 0x000001D86E2F0EE0> └ APIRoute(path='/api/v1/trip/validate-trip-selection', name='validate_trip_selection', methods=['POST']) File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 76, in app await wrap_app_handling_exceptions(app, request)(scope, receive, send) │ │ │ │ │ └ .wrapped_app..sender at 0x000001D81B3F36D0> │ │ │ │ └ │ └ .app..app at 0x000001D81B3F3370> └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 53, in wrapped_app raise exc File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 42, in wrapped_app await app(scope, receive, sender) │ │ │ └ .wrapped_app..sender at 0x000001D81B3F3880> │ │ └ .app..app at 0x000001D81B3F3370> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 73, in app response = await f(request) │ └ .app at 0x000001D86E2F0E50> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\fastapi\routing.py", line 301, in app raw_response = await run_endpoint_function( └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\fastapi\routing.py", line 212, in run_endpoint_function return await dependant.call(**values) │ │ └ {'service': , 'request': └ Dependant(path_params=[], query_params=[], header_params=[], cookie_params=[], body_params=[], dependencies=[Dependant(path_p... File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\dependency_injector\wiring.py", line 1072, in _patched return await fn(*args, **kwargs) │ │ └ {'service': , 'request': File "C:\University-HCMUTE\InternFuta\ApiDialogflowChatbot\app\api\v1\trip.py", line 91, in validate_trip_selection rs: DialogServiceResult = service.validate_trip_selection( │ └ File "C:\University-HCMUTE\InternFuta\ApiDialogflowChatbot\app\dialogflow\services\trip_service.py", line 245, in validate_trip_selection matched_trip = self.find_trip_by_route_name( │ └ TypeError: TripService.find_trip_by_route_name() got multiple values for argument 'route_name' 2025-06-18 09:52:38.017 | ERROR | 8088fced74fa4fefa1d494622be358b0 | Exception in ASGI application Traceback (most recent call last): File "", line 1, in File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\spawn.py", line 116, in spawn_main exitcode = _main(fd, parent_sentinel) │ │ └ 336 │ └ 3 └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\spawn.py", line 129, in _main return self._bootstrap(parent_sentinel) │ │ └ 336 │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\process.py", line 315, in _bootstrap self.run() │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\process.py", line 108, in run self._target(*self._args, **self._kwargs) │ │ │ │ │ └ {'config': , 'target': │ │ │ └ () │ │ └ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\_subprocess.py", line 80, in subprocess_started target(sockets=sockets) │ └ [] └ > File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\server.py", line 66, in run return asyncio.run(self.serve(sockets=sockets)) │ │ │ │ └ [] │ │ │ └ │ │ └ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\runners.py", line 44, in run return loop.run_until_complete(main) │ │ └ │ └ └ <_WindowsSelectorEventLoop running=True closed=False debug=False> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 633, in run_until_complete self.run_forever() │ └ └ <_WindowsSelectorEventLoop running=True closed=False debug=False> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 600, in run_forever self._run_once() │ └ └ <_WindowsSelectorEventLoop running=True closed=False debug=False> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 1896, in _run_once handle._run() │ └ )> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\events.py", line 80, in _run self._context.run(self._callback, *self._args) │ │ │ │ │ └ │ │ │ │ └ )> │ │ │ └ │ │ └ )> │ └ )> > File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\protocols\http\h11_impl.py", line 403, in run_asgi result = await app( # type: ignore[func-returns-value] └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\middleware\proxy_headers.py", line 60, in __call__ return await self.app(scope, receive, send) │ │ │ │ └ > │ │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\fastapi\applications.py", line 1054, in __call__ await super().__call__(scope, receive, send) │ │ └ > │ └ > │ │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\errors.py", line 187, in __call__ raise exc File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\errors.py", line 165, in __call__ await self.app(scope, receive, _send) │ │ │ │ └ ._send at 0x000001D83842EDD0> │ │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\cors.py", line 85, in __call__ await self.app(scope, receive, send) │ │ │ │ └ ._send at 0x000001D83842EDD0> │ │ │ └ , header_name='... └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\asgi_correlation_id\middleware.py", line 90, in __call__ await self.app(scope, receive, handle_outgoing_request) │ │ │ │ └ .handle_outgoing_request at 0x000001D83842EEF0> │ │ │ └ └ CorrelationIdMiddleware(app=, header_name='... File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\exceptions.py", line 62, in __call__ await wrap_app_handling_exceptions(self.app, conn)(scope, receive, send) │ │ │ │ │ │ └ .handle_outgoing_request at 0x000001D83842EEF0> │ │ │ │ │ └ │ │ └ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 53, in wrapped_app raise exc File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 42, in wrapped_app await app(scope, receive, sender) │ │ │ └ .wrapped_app..sender at 0x000001D83842EF80> │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 714, in __call__ await self.middleware_stack(scope, receive, send) │ │ │ │ └ .wrapped_app..sender at 0x000001D83842EF80> │ │ │ └ > └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 734, in app await route.handle(scope, receive, send) │ │ │ │ └ .wrapped_app..sender at 0x000001D83842EF80> │ │ │ └ └ APIRoute(path='/api/v1/trip/validate-trip-selection', name='validate_trip_selection', methods=['POST']) File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 288, in handle await self.app(scope, receive, send) │ │ │ │ └ .wrapped_app..sender at 0x000001D83842EF80> │ │ │ └ .app at 0x000001D86E2F0EE0> └ APIRoute(path='/api/v1/trip/validate-trip-selection', name='validate_trip_selection', methods=['POST']) File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 76, in app await wrap_app_handling_exceptions(app, request)(scope, receive, send) │ │ │ │ │ └ .wrapped_app..sender at 0x000001D83842EF80> │ │ │ │ └ │ └ .app..app at 0x000001D83842ED40> └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 53, in wrapped_app raise exc File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 42, in wrapped_app await app(scope, receive, sender) │ │ │ └ .wrapped_app..sender at 0x000001D83842EE60> │ │ └ .app..app at 0x000001D83842ED40> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 73, in app response = await f(request) │ └ .app at 0x000001D86E2F0E50> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\fastapi\routing.py", line 301, in app raw_response = await run_endpoint_function( └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\fastapi\routing.py", line 212, in run_endpoint_function return await dependant.call(**values) │ │ └ {'service': , 'request': └ Dependant(path_params=[], query_params=[], header_params=[], cookie_params=[], body_params=[], dependencies=[Dependant(path_p... File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\dependency_injector\wiring.py", line 1072, in _patched return await fn(*args, **kwargs) │ │ └ {'service': , 'request': File "C:\University-HCMUTE\InternFuta\ApiDialogflowChatbot\app\api\v1\trip.py", line 91, in validate_trip_selection rs: DialogServiceResult = service.validate_trip_selection( │ └ File "C:\University-HCMUTE\InternFuta\ApiDialogflowChatbot\app\dialogflow\services\trip_service.py", line 245, in validate_trip_selection matched_trip = self.find_trip_by_route_name( │ └ TypeError: TripService.find_trip_by_route_name() got multiple values for argument 'route_name' 2025-06-18 09:57:30.579 | ERROR | a29cd9bb230946c6ba5bfff285369ca6 | Invalid trip data for fetching seats 2025-06-18 09:57:30.580 | ERROR | a29cd9bb230946c6ba5bfff285369ca6 | Exception in ASGI application Traceback (most recent call last): File "", line 1, in File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\spawn.py", line 116, in spawn_main exitcode = _main(fd, parent_sentinel) │ │ └ 348 │ └ 3 └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\spawn.py", line 129, in _main return self._bootstrap(parent_sentinel) │ │ └ 348 │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\process.py", line 315, in _bootstrap self.run() │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\process.py", line 108, in run self._target(*self._args, **self._kwargs) │ │ │ │ │ └ {'config': , 'target': │ │ │ └ () │ │ └ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\_subprocess.py", line 80, in subprocess_started target(sockets=sockets) │ └ [] └ > File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\server.py", line 66, in run return asyncio.run(self.serve(sockets=sockets)) │ │ │ │ └ [] │ │ │ └ │ │ └ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\runners.py", line 44, in run return loop.run_until_complete(main) │ │ └ │ └ └ <_WindowsSelectorEventLoop running=True closed=False debug=False> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 633, in run_until_complete self.run_forever() │ └ └ <_WindowsSelectorEventLoop running=True closed=False debug=False> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 600, in run_forever self._run_once() │ └ └ <_WindowsSelectorEventLoop running=True closed=False debug=False> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 1896, in _run_once handle._run() │ └ )> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\events.py", line 80, in _run self._context.run(self._callback, *self._args) │ │ │ │ │ └ │ │ │ │ └ )> │ │ │ └ │ │ └ )> │ └ )> > File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\protocols\http\h11_impl.py", line 403, in run_asgi result = await app( # type: ignore[func-returns-value] └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\middleware\proxy_headers.py", line 60, in __call__ return await self.app(scope, receive, send) │ │ │ │ └ > │ │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\fastapi\applications.py", line 1054, in __call__ await super().__call__(scope, receive, send) │ │ └ > │ └ > │ │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\errors.py", line 187, in __call__ raise exc File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\errors.py", line 165, in __call__ await self.app(scope, receive, _send) │ │ │ │ └ ._send at 0x0000027C80BBB640> │ │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\cors.py", line 85, in __call__ await self.app(scope, receive, send) │ │ │ │ └ ._send at 0x0000027C80BBB640> │ │ │ └ , header_name='... └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\asgi_correlation_id\middleware.py", line 90, in __call__ await self.app(scope, receive, handle_outgoing_request) │ │ │ │ └ .handle_outgoing_request at 0x0000027C80C5BD00> │ │ │ └ └ CorrelationIdMiddleware(app=, header_name='... File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\exceptions.py", line 62, in __call__ await wrap_app_handling_exceptions(self.app, conn)(scope, receive, send) │ │ │ │ │ │ └ .handle_outgoing_request at 0x0000027C80C5BD00> │ │ │ │ │ └ │ │ └ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 53, in wrapped_app raise exc File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 42, in wrapped_app await app(scope, receive, sender) │ │ │ └ .wrapped_app..sender at 0x0000027C80C5BD90> │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 714, in __call__ await self.middleware_stack(scope, receive, send) │ │ │ │ └ .wrapped_app..sender at 0x0000027C80C5BD90> │ │ │ └ > └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 734, in app await route.handle(scope, receive, send) │ │ │ │ └ .wrapped_app..sender at 0x0000027C80C5BD90> │ │ │ └ └ APIRoute(path='/api/v1/trip/available-seat', name='fetch_available_seat', methods=['POST']) File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 288, in handle await self.app(scope, receive, send) │ │ │ │ └ .wrapped_app..sender at 0x0000027C80C5BD90> │ │ │ └ .app at 0x0000027CBD474CA0> └ APIRoute(path='/api/v1/trip/available-seat', name='fetch_available_seat', methods=['POST']) File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 76, in app await wrap_app_handling_exceptions(app, request)(scope, receive, send) │ │ │ │ │ └ .wrapped_app..sender at 0x0000027C80C5BD90> │ │ │ │ └ │ └ .app..app at 0x0000027C80C5BC70> └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 53, in wrapped_app raise exc File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 42, in wrapped_app await app(scope, receive, sender) │ │ │ └ .wrapped_app..sender at 0x0000027C80C5BB50> │ │ └ .app..app at 0x0000027C80C5BC70> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 73, in app response = await f(request) │ └ .app at 0x0000027CBD474C10> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\fastapi\routing.py", line 301, in app raw_response = await run_endpoint_function( └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\fastapi\routing.py", line 212, in run_endpoint_function return await dependant.call(**values) │ │ └ {'service': , 'request': └ Dependant(path_params=[], query_params=[], header_params=[], cookie_params=[], body_params=[], dependencies=[Dependant(path_p... File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\dependency_injector\wiring.py", line 1072, in _patched return await fn(*args, **kwargs) │ │ └ {'service': , 'request': File "C:\University-HCMUTE\InternFuta\ApiDialogflowChatbot\app\api\v1\trip.py", line 113, in fetch_available_seat rs: DialogServiceResult = await service.get_available_seat(data) │ │ └ TripDTO(id=None, route_id=None, way_id=None, route=None, raw_departure_date=None, raw_departure_time=None, seat_type_name=Non... │ └ TypeError: object list can't be used in 'await' expression 2025-06-18 09:57:31.479 | ERROR | caf417f4b69d46d7a3d64fb337b85bc5 | Invalid trip data for fetching seats 2025-06-18 09:57:31.480 | ERROR | caf417f4b69d46d7a3d64fb337b85bc5 | Exception in ASGI application Traceback (most recent call last): File "", line 1, in File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\spawn.py", line 116, in spawn_main exitcode = _main(fd, parent_sentinel) │ │ └ 348 │ └ 3 └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\spawn.py", line 129, in _main return self._bootstrap(parent_sentinel) │ │ └ 348 │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\process.py", line 315, in _bootstrap self.run() │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\process.py", line 108, in run self._target(*self._args, **self._kwargs) │ │ │ │ │ └ {'config': , 'target': │ │ │ └ () │ │ └ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\_subprocess.py", line 80, in subprocess_started target(sockets=sockets) │ └ [] └ > File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\server.py", line 66, in run return asyncio.run(self.serve(sockets=sockets)) │ │ │ │ └ [] │ │ │ └ │ │ └ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\runners.py", line 44, in run return loop.run_until_complete(main) │ │ └ │ └ └ <_WindowsSelectorEventLoop running=True closed=False debug=False> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 633, in run_until_complete self.run_forever() │ └ └ <_WindowsSelectorEventLoop running=True closed=False debug=False> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 600, in run_forever self._run_once() │ └ └ <_WindowsSelectorEventLoop running=True closed=False debug=False> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 1896, in _run_once handle._run() │ └ )> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\events.py", line 80, in _run self._context.run(self._callback, *self._args) │ │ │ │ │ └ │ │ │ │ └ )> │ │ │ └ │ │ └ )> │ └ )> > File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\protocols\http\h11_impl.py", line 403, in run_asgi result = await app( # type: ignore[func-returns-value] └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\middleware\proxy_headers.py", line 60, in __call__ return await self.app(scope, receive, send) │ │ │ │ └ > │ │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\fastapi\applications.py", line 1054, in __call__ await super().__call__(scope, receive, send) │ │ └ > │ └ > │ │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\errors.py", line 187, in __call__ raise exc File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\errors.py", line 165, in __call__ await self.app(scope, receive, _send) │ │ │ │ └ ._send at 0x0000027C97194790> │ │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\cors.py", line 85, in __call__ await self.app(scope, receive, send) │ │ │ │ └ ._send at 0x0000027C97194790> │ │ │ └ , header_name='... └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\asgi_correlation_id\middleware.py", line 90, in __call__ await self.app(scope, receive, handle_outgoing_request) │ │ │ │ └ .handle_outgoing_request at 0x0000027C971945E0> │ │ │ └ └ CorrelationIdMiddleware(app=, header_name='... File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\exceptions.py", line 62, in __call__ await wrap_app_handling_exceptions(self.app, conn)(scope, receive, send) │ │ │ │ │ │ └ .handle_outgoing_request at 0x0000027C971945E0> │ │ │ │ │ └ │ │ └ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 53, in wrapped_app raise exc File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 42, in wrapped_app await app(scope, receive, sender) │ │ │ └ .wrapped_app..sender at 0x0000027C970B63B0> │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 714, in __call__ await self.middleware_stack(scope, receive, send) │ │ │ │ └ .wrapped_app..sender at 0x0000027C970B63B0> │ │ │ └ > └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 734, in app await route.handle(scope, receive, send) │ │ │ │ └ .wrapped_app..sender at 0x0000027C970B63B0> │ │ │ └ └ APIRoute(path='/api/v1/trip/available-seat', name='fetch_available_seat', methods=['POST']) File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 288, in handle await self.app(scope, receive, send) │ │ │ │ └ .wrapped_app..sender at 0x0000027C970B63B0> │ │ │ └ .app at 0x0000027CBD474CA0> └ APIRoute(path='/api/v1/trip/available-seat', name='fetch_available_seat', methods=['POST']) File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 76, in app await wrap_app_handling_exceptions(app, request)(scope, receive, send) │ │ │ │ │ └ .wrapped_app..sender at 0x0000027C970B63B0> │ │ │ │ └ │ └ .app..app at 0x0000027C970B6290> └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 53, in wrapped_app raise exc File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 42, in wrapped_app await app(scope, receive, sender) │ │ │ └ .wrapped_app..sender at 0x0000027C970B6320> │ │ └ .app..app at 0x0000027C970B6290> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 73, in app response = await f(request) │ └ .app at 0x0000027CBD474C10> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\fastapi\routing.py", line 301, in app raw_response = await run_endpoint_function( └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\fastapi\routing.py", line 212, in run_endpoint_function return await dependant.call(**values) │ │ └ {'service': , 'request': └ Dependant(path_params=[], query_params=[], header_params=[], cookie_params=[], body_params=[], dependencies=[Dependant(path_p... File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\dependency_injector\wiring.py", line 1072, in _patched return await fn(*args, **kwargs) │ │ └ {'service': , 'request': File "C:\University-HCMUTE\InternFuta\ApiDialogflowChatbot\app\api\v1\trip.py", line 113, in fetch_available_seat rs: DialogServiceResult = await service.get_available_seat(data) │ │ └ TripDTO(id=None, route_id=None, way_id=None, route=None, raw_departure_date=None, raw_departure_time=None, seat_type_name=Non... │ └ TypeError: object list can't be used in 'await' expression 2025-06-18 10:02:05.337 | ERROR | dc0391ecd13149a7828f4f9f3893381f | Invalid trip data for fetching seats 2025-06-18 10:02:05.338 | ERROR | dc0391ecd13149a7828f4f9f3893381f | Exception in ASGI application Traceback (most recent call last): File "", line 1, in File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\spawn.py", line 116, in spawn_main exitcode = _main(fd, parent_sentinel) │ │ └ 352 │ └ 3 └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\spawn.py", line 129, in _main return self._bootstrap(parent_sentinel) │ │ └ 352 │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\process.py", line 315, in _bootstrap self.run() │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\process.py", line 108, in run self._target(*self._args, **self._kwargs) │ │ │ │ │ └ {'config': , 'target': │ │ │ └ () │ │ └ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\_subprocess.py", line 80, in subprocess_started target(sockets=sockets) │ └ [] └ > File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\server.py", line 66, in run return asyncio.run(self.serve(sockets=sockets)) │ │ │ │ └ [] │ │ │ └ │ │ └ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\runners.py", line 44, in run return loop.run_until_complete(main) │ │ └ │ └ └ <_WindowsSelectorEventLoop running=True closed=False debug=False> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 633, in run_until_complete self.run_forever() │ └ └ <_WindowsSelectorEventLoop running=True closed=False debug=False> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 600, in run_forever self._run_once() │ └ └ <_WindowsSelectorEventLoop running=True closed=False debug=False> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 1896, in _run_once handle._run() │ └ )> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\events.py", line 80, in _run self._context.run(self._callback, *self._args) │ │ │ │ │ └ │ │ │ │ └ )> │ │ │ └ │ │ └ )> │ └ )> > File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\protocols\http\h11_impl.py", line 403, in run_asgi result = await app( # type: ignore[func-returns-value] └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\middleware\proxy_headers.py", line 60, in __call__ return await self.app(scope, receive, send) │ │ │ │ └ > │ │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\fastapi\applications.py", line 1054, in __call__ await super().__call__(scope, receive, send) │ │ └ > │ └ > │ │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\errors.py", line 187, in __call__ raise exc File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\errors.py", line 165, in __call__ await self.app(scope, receive, _send) │ │ │ │ └ ._send at 0x000001BECB13B640> │ │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\cors.py", line 85, in __call__ await self.app(scope, receive, send) │ │ │ │ └ ._send at 0x000001BECB13B640> │ │ │ └ , header_name='... └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\asgi_correlation_id\middleware.py", line 90, in __call__ await self.app(scope, receive, handle_outgoing_request) │ │ │ │ └ .handle_outgoing_request at 0x000001BECB1DBC70> │ │ │ └ └ CorrelationIdMiddleware(app=, header_name='... File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\exceptions.py", line 62, in __call__ await wrap_app_handling_exceptions(self.app, conn)(scope, receive, send) │ │ │ │ │ │ └ .handle_outgoing_request at 0x000001BECB1DBC70> │ │ │ │ │ └ │ │ └ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 53, in wrapped_app raise exc File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 42, in wrapped_app await app(scope, receive, sender) │ │ │ └ .wrapped_app..sender at 0x000001BECB1DBD90> │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 714, in __call__ await self.middleware_stack(scope, receive, send) │ │ │ │ └ .wrapped_app..sender at 0x000001BECB1DBD90> │ │ │ └ > └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 734, in app await route.handle(scope, receive, send) │ │ │ │ └ .wrapped_app..sender at 0x000001BECB1DBD90> │ │ │ └ └ APIRoute(path='/api/v1/trip/available-seat', name='fetch_available_seat', methods=['POST']) File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 288, in handle await self.app(scope, receive, send) │ │ │ │ └ .wrapped_app..sender at 0x000001BECB1DBD90> │ │ │ └ .app at 0x000001BE9E1F4CA0> └ APIRoute(path='/api/v1/trip/available-seat', name='fetch_available_seat', methods=['POST']) File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 76, in app await wrap_app_handling_exceptions(app, request)(scope, receive, send) │ │ │ │ │ └ .wrapped_app..sender at 0x000001BECB1DBD90> │ │ │ │ └ │ └ .app..app at 0x000001BECB1DBD00> └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 53, in wrapped_app raise exc File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 42, in wrapped_app await app(scope, receive, sender) │ │ │ └ .wrapped_app..sender at 0x000001BECB1DBBE0> │ │ └ .app..app at 0x000001BECB1DBD00> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 73, in app response = await f(request) │ └ .app at 0x000001BE9E1F4C10> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\fastapi\routing.py", line 301, in app raw_response = await run_endpoint_function( └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\fastapi\routing.py", line 212, in run_endpoint_function return await dependant.call(**values) │ │ └ {'service': , 'request': └ Dependant(path_params=[], query_params=[], header_params=[], cookie_params=[], body_params=[], dependencies=[Dependant(path_p... File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\dependency_injector\wiring.py", line 1072, in _patched return await fn(*args, **kwargs) │ │ └ {'service': , 'request': File "C:\University-HCMUTE\InternFuta\ApiDialogflowChatbot\app\api\v1\trip.py", line 116, in fetch_available_seat .add_text(rs.text) └ [] AttributeError: 'list' object has no attribute 'text' 2025-06-18 10:02:06.223 | ERROR | e922e1d528f04a0daf733835a0678672 | Invalid trip data for fetching seats 2025-06-18 10:02:06.230 | ERROR | e922e1d528f04a0daf733835a0678672 | Exception in ASGI application Traceback (most recent call last): File "", line 1, in File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\spawn.py", line 116, in spawn_main exitcode = _main(fd, parent_sentinel) │ │ └ 352 │ └ 3 └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\spawn.py", line 129, in _main return self._bootstrap(parent_sentinel) │ │ └ 352 │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\process.py", line 315, in _bootstrap self.run() │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\process.py", line 108, in run self._target(*self._args, **self._kwargs) │ │ │ │ │ └ {'config': , 'target': │ │ │ └ () │ │ └ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\_subprocess.py", line 80, in subprocess_started target(sockets=sockets) │ └ [] └ > File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\server.py", line 66, in run return asyncio.run(self.serve(sockets=sockets)) │ │ │ │ └ [] │ │ │ └ │ │ └ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\runners.py", line 44, in run return loop.run_until_complete(main) │ │ └ │ └ └ <_WindowsSelectorEventLoop running=True closed=False debug=False> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 633, in run_until_complete self.run_forever() │ └ └ <_WindowsSelectorEventLoop running=True closed=False debug=False> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 600, in run_forever self._run_once() │ └ └ <_WindowsSelectorEventLoop running=True closed=False debug=False> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 1896, in _run_once handle._run() │ └ )> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\events.py", line 80, in _run self._context.run(self._callback, *self._args) │ │ │ │ │ └ │ │ │ │ └ )> │ │ │ └ │ │ └ )> │ └ )> > File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\protocols\http\h11_impl.py", line 403, in run_asgi result = await app( # type: ignore[func-returns-value] └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\middleware\proxy_headers.py", line 60, in __call__ return await self.app(scope, receive, send) │ │ │ │ └ > │ │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\fastapi\applications.py", line 1054, in __call__ await super().__call__(scope, receive, send) │ │ └ > │ └ > │ │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\errors.py", line 187, in __call__ raise exc File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\errors.py", line 165, in __call__ await self.app(scope, receive, _send) │ │ │ │ └ ._send at 0x000001BECB0CF520> │ │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\cors.py", line 85, in __call__ await self.app(scope, receive, send) │ │ │ │ └ ._send at 0x000001BECB0CF520> │ │ │ └ , header_name='... └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\asgi_correlation_id\middleware.py", line 90, in __call__ await self.app(scope, receive, handle_outgoing_request) │ │ │ │ └ .handle_outgoing_request at 0x000001BEE2B105E0> │ │ │ └ └ CorrelationIdMiddleware(app=, header_name='... File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\exceptions.py", line 62, in __call__ await wrap_app_handling_exceptions(self.app, conn)(scope, receive, send) │ │ │ │ │ │ └ .handle_outgoing_request at 0x000001BEE2B105E0> │ │ │ │ │ └ │ │ └ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 53, in wrapped_app raise exc File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 42, in wrapped_app await app(scope, receive, sender) │ │ │ └ .wrapped_app..sender at 0x000001BEE2B10790> │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 714, in __call__ await self.middleware_stack(scope, receive, send) │ │ │ │ └ .wrapped_app..sender at 0x000001BEE2B10790> │ │ │ └ > └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 734, in app await route.handle(scope, receive, send) │ │ │ │ └ .wrapped_app..sender at 0x000001BEE2B10790> │ │ │ └ └ APIRoute(path='/api/v1/trip/available-seat', name='fetch_available_seat', methods=['POST']) File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 288, in handle await self.app(scope, receive, send) │ │ │ │ └ .wrapped_app..sender at 0x000001BEE2B10790> │ │ │ └ .app at 0x000001BE9E1F4CA0> └ APIRoute(path='/api/v1/trip/available-seat', name='fetch_available_seat', methods=['POST']) File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 76, in app await wrap_app_handling_exceptions(app, request)(scope, receive, send) │ │ │ │ │ └ .wrapped_app..sender at 0x000001BEE2B10790> │ │ │ │ └ │ └ .app..app at 0x000001BECC6A6320> └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 53, in wrapped_app raise exc File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 42, in wrapped_app await app(scope, receive, sender) │ │ │ └ .wrapped_app..sender at 0x000001BECC6A6200> │ │ └ .app..app at 0x000001BECC6A6320> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 73, in app response = await f(request) │ └ .app at 0x000001BE9E1F4C10> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\fastapi\routing.py", line 301, in app raw_response = await run_endpoint_function( └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\fastapi\routing.py", line 212, in run_endpoint_function return await dependant.call(**values) │ │ └ {'service': , 'request': └ Dependant(path_params=[], query_params=[], header_params=[], cookie_params=[], body_params=[], dependencies=[Dependant(path_p... File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\dependency_injector\wiring.py", line 1072, in _patched return await fn(*args, **kwargs) │ │ └ {'service': , 'request': File "C:\University-HCMUTE\InternFuta\ApiDialogflowChatbot\app\api\v1\trip.py", line 116, in fetch_available_seat .add_text(rs.text) └ [] AttributeError: 'list' object has no attribute 'text' 2025-06-18 10:04:55.276 | ERROR | 72ed77f755e74daa80cfd7adb325a1f2 | Invalid trip data for fetching seats 2025-06-18 10:04:55.282 | ERROR | 72ed77f755e74daa80cfd7adb325a1f2 | Exception in ASGI application Traceback (most recent call last): File "", line 1, in File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\spawn.py", line 116, in spawn_main exitcode = _main(fd, parent_sentinel) │ │ └ 348 │ └ 3 └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\spawn.py", line 129, in _main return self._bootstrap(parent_sentinel) │ │ └ 348 │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\process.py", line 315, in _bootstrap self.run() │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\process.py", line 108, in run self._target(*self._args, **self._kwargs) │ │ │ │ │ └ {'config': , 'target': │ │ │ └ () │ │ └ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\_subprocess.py", line 80, in subprocess_started target(sockets=sockets) │ └ [] └ > File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\server.py", line 66, in run return asyncio.run(self.serve(sockets=sockets)) │ │ │ │ └ [] │ │ │ └ │ │ └ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\runners.py", line 44, in run return loop.run_until_complete(main) │ │ └ │ └ └ <_WindowsSelectorEventLoop running=True closed=False debug=False> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 633, in run_until_complete self.run_forever() │ └ └ <_WindowsSelectorEventLoop running=True closed=False debug=False> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 600, in run_forever self._run_once() │ └ └ <_WindowsSelectorEventLoop running=True closed=False debug=False> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 1896, in _run_once handle._run() │ └ )> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\events.py", line 80, in _run self._context.run(self._callback, *self._args) │ │ │ │ │ └ │ │ │ │ └ )> │ │ │ └ │ │ └ )> │ └ )> > File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\protocols\http\h11_impl.py", line 403, in run_asgi result = await app( # type: ignore[func-returns-value] └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\middleware\proxy_headers.py", line 60, in __call__ return await self.app(scope, receive, send) │ │ │ │ └ > │ │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\fastapi\applications.py", line 1054, in __call__ await super().__call__(scope, receive, send) │ │ └ > │ └ > │ │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\errors.py", line 187, in __call__ raise exc File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\errors.py", line 165, in __call__ await self.app(scope, receive, _send) │ │ │ │ └ ._send at 0x00000218BAD16290> │ │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\cors.py", line 85, in __call__ await self.app(scope, receive, send) │ │ │ │ └ ._send at 0x00000218BAD16290> │ │ │ └ , header_name='... └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\asgi_correlation_id\middleware.py", line 90, in __call__ await self.app(scope, receive, handle_outgoing_request) │ │ │ │ └ .handle_outgoing_request at 0x000002188156BC70> │ │ │ └ └ CorrelationIdMiddleware(app=, header_name='... File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\exceptions.py", line 62, in __call__ await wrap_app_handling_exceptions(self.app, conn)(scope, receive, send) │ │ │ │ │ │ └ .handle_outgoing_request at 0x000002188156BC70> │ │ │ │ │ └ │ │ └ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 53, in wrapped_app raise exc File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 42, in wrapped_app await app(scope, receive, sender) │ │ │ └ .wrapped_app..sender at 0x000002188156BD90> │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 714, in __call__ await self.middleware_stack(scope, receive, send) │ │ │ │ └ .wrapped_app..sender at 0x000002188156BD90> │ │ │ └ > └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 734, in app await route.handle(scope, receive, send) │ │ │ │ └ .wrapped_app..sender at 0x000002188156BD90> │ │ │ └ └ APIRoute(path='/api/v1/trip/available-seat', name='fetch_available_seat', methods=['POST']) File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 288, in handle await self.app(scope, receive, send) │ │ │ │ └ .wrapped_app..sender at 0x000002188156BD90> │ │ │ └ .app at 0x00000218BAD14CA0> └ APIRoute(path='/api/v1/trip/available-seat', name='fetch_available_seat', methods=['POST']) File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 76, in app await wrap_app_handling_exceptions(app, request)(scope, receive, send) │ │ │ │ │ └ .wrapped_app..sender at 0x000002188156BD90> │ │ │ │ └ │ └ .app..app at 0x000002188156BD00> └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 53, in wrapped_app raise exc File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 42, in wrapped_app await app(scope, receive, sender) │ │ │ └ .wrapped_app..sender at 0x000002188156BBE0> │ │ └ .app..app at 0x000002188156BD00> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 73, in app response = await f(request) │ └ .app at 0x00000218BAD14C10> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\fastapi\routing.py", line 301, in app raw_response = await run_endpoint_function( └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\fastapi\routing.py", line 212, in run_endpoint_function return await dependant.call(**values) │ │ └ {'service': , 'request': └ Dependant(path_params=[], query_params=[], header_params=[], cookie_params=[], body_params=[], dependencies=[Dependant(path_p... File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\dependency_injector\wiring.py", line 1072, in _patched return await fn(*args, **kwargs) │ │ └ {'service': , 'request': File "C:\University-HCMUTE\InternFuta\ApiDialogflowChatbot\app\api\v1\trip.py", line 116, in fetch_available_seat .add_text(rs.text) └ [] AttributeError: 'list' object has no attribute 'text' 2025-06-18 10:04:56.086 | ERROR | 8a55bf63840d4ca9998afc2aa888c44f | Invalid trip data for fetching seats 2025-06-18 10:04:56.092 | ERROR | 8a55bf63840d4ca9998afc2aa888c44f | Exception in ASGI application Traceback (most recent call last): File "", line 1, in File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\spawn.py", line 116, in spawn_main exitcode = _main(fd, parent_sentinel) │ │ └ 348 │ └ 3 └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\spawn.py", line 129, in _main return self._bootstrap(parent_sentinel) │ │ └ 348 │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\process.py", line 315, in _bootstrap self.run() │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\process.py", line 108, in run self._target(*self._args, **self._kwargs) │ │ │ │ │ └ {'config': , 'target': │ │ │ └ () │ │ └ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\_subprocess.py", line 80, in subprocess_started target(sockets=sockets) │ └ [] └ > File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\server.py", line 66, in run return asyncio.run(self.serve(sockets=sockets)) │ │ │ │ └ [] │ │ │ └ │ │ └ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\runners.py", line 44, in run return loop.run_until_complete(main) │ │ └ │ └ └ <_WindowsSelectorEventLoop running=True closed=False debug=False> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 633, in run_until_complete self.run_forever() │ └ └ <_WindowsSelectorEventLoop running=True closed=False debug=False> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 600, in run_forever self._run_once() │ └ └ <_WindowsSelectorEventLoop running=True closed=False debug=False> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 1896, in _run_once handle._run() │ └ )> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\events.py", line 80, in _run self._context.run(self._callback, *self._args) │ │ │ │ │ └ │ │ │ │ └ )> │ │ │ └ │ │ └ )> │ └ )> > File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\protocols\http\h11_impl.py", line 403, in run_asgi result = await app( # type: ignore[func-returns-value] └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\middleware\proxy_headers.py", line 60, in __call__ return await self.app(scope, receive, send) │ │ │ │ └ > │ │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\fastapi\applications.py", line 1054, in __call__ await super().__call__(scope, receive, send) │ │ └ > │ └ > │ │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\errors.py", line 187, in __call__ raise exc File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\errors.py", line 165, in __call__ await self.app(scope, receive, _send) │ │ │ │ └ ._send at 0x00000218969B05E0> │ │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\cors.py", line 85, in __call__ await self.app(scope, receive, send) │ │ │ │ └ ._send at 0x00000218969B05E0> │ │ │ └ , header_name='... └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\asgi_correlation_id\middleware.py", line 90, in __call__ await self.app(scope, receive, handle_outgoing_request) │ │ │ │ └ .handle_outgoing_request at 0x00000218969B0790> │ │ │ └ └ CorrelationIdMiddleware(app=, header_name='... File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\exceptions.py", line 62, in __call__ await wrap_app_handling_exceptions(self.app, conn)(scope, receive, send) │ │ │ │ │ │ └ .handle_outgoing_request at 0x00000218969B0790> │ │ │ │ │ └ │ │ └ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 53, in wrapped_app raise exc File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 42, in wrapped_app await app(scope, receive, sender) │ │ │ └ .wrapped_app..sender at 0x00000218968D2320> │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 714, in __call__ await self.middleware_stack(scope, receive, send) │ │ │ │ └ .wrapped_app..sender at 0x00000218968D2320> │ │ │ └ > └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 734, in app await route.handle(scope, receive, send) │ │ │ │ └ .wrapped_app..sender at 0x00000218968D2320> │ │ │ └ └ APIRoute(path='/api/v1/trip/available-seat', name='fetch_available_seat', methods=['POST']) File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 288, in handle await self.app(scope, receive, send) │ │ │ │ └ .wrapped_app..sender at 0x00000218968D2320> │ │ │ └ .app at 0x00000218BAD14CA0> └ APIRoute(path='/api/v1/trip/available-seat', name='fetch_available_seat', methods=['POST']) File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 76, in app await wrap_app_handling_exceptions(app, request)(scope, receive, send) │ │ │ │ │ └ .wrapped_app..sender at 0x00000218968D2320> │ │ │ │ └ │ └ .app..app at 0x00000218968D2200> └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 53, in wrapped_app raise exc File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 42, in wrapped_app await app(scope, receive, sender) │ │ │ └ .wrapped_app..sender at 0x00000218968D2290> │ │ └ .app..app at 0x00000218968D2200> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 73, in app response = await f(request) │ └ .app at 0x00000218BAD14C10> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\fastapi\routing.py", line 301, in app raw_response = await run_endpoint_function( └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\fastapi\routing.py", line 212, in run_endpoint_function return await dependant.call(**values) │ │ └ {'service': , 'request': └ Dependant(path_params=[], query_params=[], header_params=[], cookie_params=[], body_params=[], dependencies=[Dependant(path_p... File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\dependency_injector\wiring.py", line 1072, in _patched return await fn(*args, **kwargs) │ │ └ {'service': , 'request': File "C:\University-HCMUTE\InternFuta\ApiDialogflowChatbot\app\api\v1\trip.py", line 116, in fetch_available_seat .add_text(rs.text) └ [] AttributeError: 'list' object has no attribute 'text' 2025-06-18 10:09:31.188 | ERROR | 2f9a72a50a9c4ca59106f9b5579b121c | No seats found for trip None 2025-06-18 10:10:06.650 | ERROR | - | Traceback (most recent call last): File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\runners.py", line 44, in run return loop.run_until_complete(main) File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 633, in run_until_complete self.run_forever() File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 600, in run_forever self._run_once() File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 1896, in _run_once handle._run() File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\events.py", line 80, in _run self._context.run(self._callback, *self._args) File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\server.py", line 69, in serve with self.capture_signals(): File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\contextlib.py", line 142, in __exit__ next(self.gen) File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\server.py", line 330, in capture_signals signal.raise_signal(captured_signal) KeyboardInterrupt During handling of the above exception, another exception occurred: Traceback (most recent call last): File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 699, in lifespan await receive() File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\lifespan\on.py", line 137, in receive return await self.receive_queue.get() File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\queues.py", line 159, in get await getter asyncio.exceptions.CancelledError 2025-06-18 10:10:16.796 | ERROR | - | Traceback (most recent call last): File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\runners.py", line 44, in run return loop.run_until_complete(main) File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 633, in run_until_complete self.run_forever() File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 600, in run_forever self._run_once() File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 1896, in _run_once handle._run() File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\events.py", line 80, in _run self._context.run(self._callback, *self._args) File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\server.py", line 69, in serve with self.capture_signals(): File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\contextlib.py", line 142, in __exit__ next(self.gen) File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\server.py", line 330, in capture_signals signal.raise_signal(captured_signal) KeyboardInterrupt During handling of the above exception, another exception occurred: Traceback (most recent call last): File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 699, in lifespan await receive() File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\lifespan\on.py", line 137, in receive return await self.receive_queue.get() File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\queues.py", line 159, in get await getter asyncio.exceptions.CancelledError 2025-06-18 10:18:26.709 | ERROR | 687ee5121778470a9146d228f604ad3e | Error parsing trip parameters 2025-06-18 11:00:17.868 | ERROR | f66f6069466b4d2fb9f4ed475b37b5e9 | Exception in ASGI application Traceback (most recent call last): File "", line 1, in File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\spawn.py", line 116, in spawn_main exitcode = _main(fd, parent_sentinel) │ │ └ 348 │ └ 3 └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\spawn.py", line 129, in _main return self._bootstrap(parent_sentinel) │ │ └ 348 │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\process.py", line 315, in _bootstrap self.run() │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\process.py", line 108, in run self._target(*self._args, **self._kwargs) │ │ │ │ │ └ {'config': , 'target': │ │ │ └ () │ │ └ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\_subprocess.py", line 80, in subprocess_started target(sockets=sockets) │ └ [] └ > File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\server.py", line 66, in run return asyncio.run(self.serve(sockets=sockets)) │ │ │ │ └ [] │ │ │ └ │ │ └ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\runners.py", line 44, in run return loop.run_until_complete(main) │ │ └ │ └ └ <_WindowsSelectorEventLoop running=True closed=False debug=False> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 633, in run_until_complete self.run_forever() │ └ └ <_WindowsSelectorEventLoop running=True closed=False debug=False> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 600, in run_forever self._run_once() │ └ └ <_WindowsSelectorEventLoop running=True closed=False debug=False> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 1896, in _run_once handle._run() │ └ ()> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\events.py", line 80, in _run self._context.run(self._callback, *self._args) │ │ │ │ │ └ │ │ │ │ └ ()> │ │ │ └ │ │ └ ()> │ └ ()> > File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\protocols\http\h11_impl.py", line 403, in run_asgi result = await app( # type: ignore[func-returns-value] └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\middleware\proxy_headers.py", line 60, in __call__ return await self.app(scope, receive, send) │ │ │ │ └ > │ │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\fastapi\applications.py", line 1054, in __call__ await super().__call__(scope, receive, send) │ │ └ > │ └ > │ │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\errors.py", line 187, in __call__ raise exc File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\errors.py", line 165, in __call__ await self.app(scope, receive, _send) │ │ │ │ └ ._send at 0x0000017E766A2E60> │ │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\cors.py", line 85, in __call__ await self.app(scope, receive, send) │ │ │ │ └ ._send at 0x0000017E766A2E60> │ │ │ └ , header_name='... └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\asgi_correlation_id\middleware.py", line 90, in __call__ await self.app(scope, receive, handle_outgoing_request) │ │ │ │ └ .handle_outgoing_request at 0x0000017E766A2B00> │ │ │ └ └ CorrelationIdMiddleware(app=, header_name='... File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\exceptions.py", line 62, in __call__ await wrap_app_handling_exceptions(self.app, conn)(scope, receive, send) │ │ │ │ │ │ └ .handle_outgoing_request at 0x0000017E766A2B00> │ │ │ │ │ └ │ │ └ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 53, in wrapped_app raise exc File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 42, in wrapped_app await app(scope, receive, sender) │ │ │ └ .wrapped_app..sender at 0x0000017E766A2F80> │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 714, in __call__ await self.middleware_stack(scope, receive, send) │ │ │ │ └ .wrapped_app..sender at 0x0000017E766A2F80> │ │ │ └ > └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 734, in app await route.handle(scope, receive, send) │ │ │ │ └ .wrapped_app..sender at 0x0000017E766A2F80> │ │ │ └ └ APIRoute(path='/api/v1/trip/option', name='trips_option', methods=['POST']) File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 288, in handle await self.app(scope, receive, send) │ │ │ │ └ .wrapped_app..sender at 0x0000017E766A2F80> │ │ │ └ .app at 0x0000017E497C80D0> └ APIRoute(path='/api/v1/trip/option', name='trips_option', methods=['POST']) File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 76, in app await wrap_app_handling_exceptions(app, request)(scope, receive, send) │ │ │ │ │ └ .wrapped_app..sender at 0x0000017E766A2F80> │ │ │ │ └ │ └ .app..app at 0x0000017E766A2C20> └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 53, in wrapped_app raise exc File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 42, in wrapped_app await app(scope, receive, sender) │ │ │ └ .wrapped_app..sender at 0x0000017E766A2D40> │ │ └ .app..app at 0x0000017E766A2C20> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 73, in app response = await f(request) │ └ .app at 0x0000017E4975B7F0> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\fastapi\routing.py", line 301, in app raw_response = await run_endpoint_function( └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\fastapi\routing.py", line 212, in run_endpoint_function return await dependant.call(**values) │ │ └ {'service': , 'request': └ Dependant(path_params=[], query_params=[], header_params=[], cookie_params=[], body_params=[], dependencies=[Dependant(path_p... File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\dependency_injector\wiring.py", line 1072, in _patched return await fn(*args, **kwargs) │ │ └ {'service': , 'request': File "C:\University-HCMUTE\InternFuta\ApiDialogflowChatbot\app\api\v1\trip.py", line 36, in trips_option rs: DialogServiceResult = await service.get_trips_option(data) │ │ └ TripQueryRequest(departure_city='Thành phố Hồ Chí Minh', destination_city='Thành phố Đà Lạt', origin_office=None, dest_office... │ └ File "C:\University-HCMUTE\InternFuta\ApiDialogflowChatbot\app\dialogflow\services\trip_service.py", line 234, in get_trips_option trip_options: list[TripOptionDTO] = [ └ File "C:\University-HCMUTE\InternFuta\ApiDialogflowChatbot\app\dialogflow\services\trip_service.py", line 240, in if trip["empty_seat_quantity"] >= ticket_count └ {'id': 5898458, 'departure_time': 1750323600000, 'raw_departure_time': '16:00', 'raw_departure_date': '19-06-2025', 'arrival_... NameError: name 'ticket_count' is not defined 2025-06-18 11:00:19.683 | ERROR | 96826d3562aa414bbd536f058e5cdddf | Exception in ASGI application Traceback (most recent call last): File "", line 1, in File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\spawn.py", line 116, in spawn_main exitcode = _main(fd, parent_sentinel) │ │ └ 348 │ └ 3 └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\spawn.py", line 129, in _main return self._bootstrap(parent_sentinel) │ │ └ 348 │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\process.py", line 315, in _bootstrap self.run() │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\process.py", line 108, in run self._target(*self._args, **self._kwargs) │ │ │ │ │ └ {'config': , 'target': │ │ │ └ () │ │ └ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\_subprocess.py", line 80, in subprocess_started target(sockets=sockets) │ └ [] └ > File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\server.py", line 66, in run return asyncio.run(self.serve(sockets=sockets)) │ │ │ │ └ [] │ │ │ └ │ │ └ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\runners.py", line 44, in run return loop.run_until_complete(main) │ │ └ │ └ └ <_WindowsSelectorEventLoop running=True closed=False debug=False> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 633, in run_until_complete self.run_forever() │ └ └ <_WindowsSelectorEventLoop running=True closed=False debug=False> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 600, in run_forever self._run_once() │ └ └ <_WindowsSelectorEventLoop running=True closed=False debug=False> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 1896, in _run_once handle._run() │ └ ()> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\events.py", line 80, in _run self._context.run(self._callback, *self._args) │ │ │ │ │ └ │ │ │ │ └ ()> │ │ │ └ │ │ └ ()> │ └ ()> > File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\protocols\http\h11_impl.py", line 403, in run_asgi result = await app( # type: ignore[func-returns-value] └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\middleware\proxy_headers.py", line 60, in __call__ return await self.app(scope, receive, send) │ │ │ │ └ > │ │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\fastapi\applications.py", line 1054, in __call__ await super().__call__(scope, receive, send) │ │ └ > │ └ > │ │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\errors.py", line 187, in __call__ raise exc File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\errors.py", line 165, in __call__ await self.app(scope, receive, _send) │ │ │ │ └ ._send at 0x0000017E1662CC10> │ │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\cors.py", line 85, in __call__ await self.app(scope, receive, send) │ │ │ │ └ ._send at 0x0000017E1662CC10> │ │ │ └ , header_name='... └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\asgi_correlation_id\middleware.py", line 90, in __call__ await self.app(scope, receive, handle_outgoing_request) │ │ │ │ └ .handle_outgoing_request at 0x0000017E163A3490> │ │ │ └ └ CorrelationIdMiddleware(app=, header_name='... File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\exceptions.py", line 62, in __call__ await wrap_app_handling_exceptions(self.app, conn)(scope, receive, send) │ │ │ │ │ │ └ .handle_outgoing_request at 0x0000017E163A3490> │ │ │ │ │ └ │ │ └ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 53, in wrapped_app raise exc File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 42, in wrapped_app await app(scope, receive, sender) │ │ │ └ .wrapped_app..sender at 0x0000017E163A3370> │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 714, in __call__ await self.middleware_stack(scope, receive, send) │ │ │ │ └ .wrapped_app..sender at 0x0000017E163A3370> │ │ │ └ > └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 734, in app await route.handle(scope, receive, send) │ │ │ │ └ .wrapped_app..sender at 0x0000017E163A3370> │ │ │ └ └ APIRoute(path='/api/v1/trip/option', name='trips_option', methods=['POST']) File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 288, in handle await self.app(scope, receive, send) │ │ │ │ └ .wrapped_app..sender at 0x0000017E163A3370> │ │ │ └ .app at 0x0000017E497C80D0> └ APIRoute(path='/api/v1/trip/option', name='trips_option', methods=['POST']) File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 76, in app await wrap_app_handling_exceptions(app, request)(scope, receive, send) │ │ │ │ │ └ .wrapped_app..sender at 0x0000017E163A3370> │ │ │ │ └ │ └ .app..app at 0x0000017E163A3400> └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 53, in wrapped_app raise exc File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 42, in wrapped_app await app(scope, receive, sender) │ │ │ └ .wrapped_app..sender at 0x0000017E163A3520> │ │ └ .app..app at 0x0000017E163A3400> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 73, in app response = await f(request) │ └ .app at 0x0000017E4975B7F0> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\fastapi\routing.py", line 301, in app raw_response = await run_endpoint_function( └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\fastapi\routing.py", line 212, in run_endpoint_function return await dependant.call(**values) │ │ └ {'service': , 'request': └ Dependant(path_params=[], query_params=[], header_params=[], cookie_params=[], body_params=[], dependencies=[Dependant(path_p... File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\dependency_injector\wiring.py", line 1072, in _patched return await fn(*args, **kwargs) │ │ └ {'service': , 'request': File "C:\University-HCMUTE\InternFuta\ApiDialogflowChatbot\app\api\v1\trip.py", line 36, in trips_option rs: DialogServiceResult = await service.get_trips_option(data) │ │ └ TripQueryRequest(departure_city='Thành phố Hồ Chí Minh', destination_city='Thành phố Đà Lạt', origin_office=None, dest_office... │ └ File "C:\University-HCMUTE\InternFuta\ApiDialogflowChatbot\app\dialogflow\services\trip_service.py", line 234, in get_trips_option trip_options: list[TripOptionDTO] = [ └ File "C:\University-HCMUTE\InternFuta\ApiDialogflowChatbot\app\dialogflow\services\trip_service.py", line 240, in if trip["empty_seat_quantity"] >= ticket_count └ {'id': 5898458, 'departure_time': 1750323600000, 'raw_departure_time': '16:00', 'raw_departure_date': '19-06-2025', 'arrival_... NameError: name 'ticket_count' is not defined 2025-06-18 11:00:21.639 | ERROR | d6fc80421f6f408a81192b1df56a3bb6 | Invalid trip selection data 2025-06-18 11:00:23.615 | ERROR | 41111194ab2d4eb9aa7b301d246d868b | Exception in ASGI application Traceback (most recent call last): File "", line 1, in File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\spawn.py", line 116, in spawn_main exitcode = _main(fd, parent_sentinel) │ │ └ 348 │ └ 3 └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\spawn.py", line 129, in _main return self._bootstrap(parent_sentinel) │ │ └ 348 │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\process.py", line 315, in _bootstrap self.run() │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\process.py", line 108, in run self._target(*self._args, **self._kwargs) │ │ │ │ │ └ {'config': , 'target': │ │ │ └ () │ │ └ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\_subprocess.py", line 80, in subprocess_started target(sockets=sockets) │ └ [] └ > File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\server.py", line 66, in run return asyncio.run(self.serve(sockets=sockets)) │ │ │ │ └ [] │ │ │ └ │ │ └ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\runners.py", line 44, in run return loop.run_until_complete(main) │ │ └ │ └ └ <_WindowsSelectorEventLoop running=True closed=False debug=False> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 633, in run_until_complete self.run_forever() │ └ └ <_WindowsSelectorEventLoop running=True closed=False debug=False> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 600, in run_forever self._run_once() │ └ └ <_WindowsSelectorEventLoop running=True closed=False debug=False> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 1896, in _run_once handle._run() │ └ ()> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\events.py", line 80, in _run self._context.run(self._callback, *self._args) │ │ │ │ │ └ │ │ │ │ └ ()> │ │ │ └ │ │ └ ()> │ └ ()> > File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\protocols\http\h11_impl.py", line 403, in run_asgi result = await app( # type: ignore[func-returns-value] └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\middleware\proxy_headers.py", line 60, in __call__ return await self.app(scope, receive, send) │ │ │ │ └ > │ │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\fastapi\applications.py", line 1054, in __call__ await super().__call__(scope, receive, send) │ │ └ > │ └ > │ │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\errors.py", line 187, in __call__ raise exc File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\errors.py", line 165, in __call__ await self.app(scope, receive, _send) │ │ │ │ └ ._send at 0x0000017E16C80D30> │ │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\cors.py", line 85, in __call__ await self.app(scope, receive, send) │ │ │ │ └ ._send at 0x0000017E16C80D30> │ │ │ └ , header_name='... └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\asgi_correlation_id\middleware.py", line 90, in __call__ await self.app(scope, receive, handle_outgoing_request) │ │ │ │ └ .handle_outgoing_request at 0x0000017E16C80E50> │ │ │ └ └ CorrelationIdMiddleware(app=, header_name='... File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\exceptions.py", line 62, in __call__ await wrap_app_handling_exceptions(self.app, conn)(scope, receive, send) │ │ │ │ │ │ └ .handle_outgoing_request at 0x0000017E16C80E50> │ │ │ │ │ └ │ │ └ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 53, in wrapped_app raise exc File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 42, in wrapped_app await app(scope, receive, sender) │ │ │ └ .wrapped_app..sender at 0x0000017E16C80CA0> │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 714, in __call__ await self.middleware_stack(scope, receive, send) │ │ │ │ └ .wrapped_app..sender at 0x0000017E16C80CA0> │ │ │ └ > └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 734, in app await route.handle(scope, receive, send) │ │ │ │ └ .wrapped_app..sender at 0x0000017E16C80CA0> │ │ │ └ └ APIRoute(path='/api/v1/trip/option', name='trips_option', methods=['POST']) File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 288, in handle await self.app(scope, receive, send) │ │ │ │ └ .wrapped_app..sender at 0x0000017E16C80CA0> │ │ │ └ .app at 0x0000017E497C80D0> └ APIRoute(path='/api/v1/trip/option', name='trips_option', methods=['POST']) File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 76, in app await wrap_app_handling_exceptions(app, request)(scope, receive, send) │ │ │ │ │ └ .wrapped_app..sender at 0x0000017E16C80CA0> │ │ │ │ └ │ └ .app..app at 0x0000017E16C80DC0> └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 53, in wrapped_app raise exc File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 42, in wrapped_app await app(scope, receive, sender) │ │ │ └ .wrapped_app..sender at 0x0000017E16C80C10> │ │ └ .app..app at 0x0000017E16C80DC0> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 73, in app response = await f(request) │ └ .app at 0x0000017E4975B7F0> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\fastapi\routing.py", line 301, in app raw_response = await run_endpoint_function( └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\fastapi\routing.py", line 212, in run_endpoint_function return await dependant.call(**values) │ │ └ {'service': , 'request': └ Dependant(path_params=[], query_params=[], header_params=[], cookie_params=[], body_params=[], dependencies=[Dependant(path_p... File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\dependency_injector\wiring.py", line 1072, in _patched return await fn(*args, **kwargs) │ │ └ {'service': , 'request': File "C:\University-HCMUTE\InternFuta\ApiDialogflowChatbot\app\api\v1\trip.py", line 36, in trips_option rs: DialogServiceResult = await service.get_trips_option(data) │ │ └ TripQueryRequest(departure_city='Thành phố Hồ Chí Minh', destination_city='Thành phố Đà Lạt', origin_office=None, dest_office... │ └ File "C:\University-HCMUTE\InternFuta\ApiDialogflowChatbot\app\dialogflow\services\trip_service.py", line 234, in get_trips_option trip_options: list[TripOptionDTO] = [ └ File "C:\University-HCMUTE\InternFuta\ApiDialogflowChatbot\app\dialogflow\services\trip_service.py", line 240, in if trip["empty_seat_quantity"] >= ticket_count └ {'id': 5898458, 'departure_time': 1750323600000, 'raw_departure_time': '16:00', 'raw_departure_date': '19-06-2025', 'arrival_... NameError: name 'ticket_count' is not defined 2025-06-18 11:00:25.532 | ERROR | a7e0ff853be14aca8f84010cb5340d38 | Exception in ASGI application Traceback (most recent call last): File "", line 1, in File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\spawn.py", line 116, in spawn_main exitcode = _main(fd, parent_sentinel) │ │ └ 348 │ └ 3 └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\spawn.py", line 129, in _main return self._bootstrap(parent_sentinel) │ │ └ 348 │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\process.py", line 315, in _bootstrap self.run() │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\process.py", line 108, in run self._target(*self._args, **self._kwargs) │ │ │ │ │ └ {'config': , 'target': │ │ │ └ () │ │ └ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\_subprocess.py", line 80, in subprocess_started target(sockets=sockets) │ └ [] └ > File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\server.py", line 66, in run return asyncio.run(self.serve(sockets=sockets)) │ │ │ │ └ [] │ │ │ └ │ │ └ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\runners.py", line 44, in run return loop.run_until_complete(main) │ │ └ │ └ └ <_WindowsSelectorEventLoop running=True closed=False debug=False> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 633, in run_until_complete self.run_forever() │ └ └ <_WindowsSelectorEventLoop running=True closed=False debug=False> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 600, in run_forever self._run_once() │ └ └ <_WindowsSelectorEventLoop running=True closed=False debug=False> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 1896, in _run_once handle._run() │ └ ()> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\events.py", line 80, in _run self._context.run(self._callback, *self._args) │ │ │ │ │ └ │ │ │ │ └ ()> │ │ │ └ │ │ └ ()> │ └ ()> > File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\protocols\http\h11_impl.py", line 403, in run_asgi result = await app( # type: ignore[func-returns-value] └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\middleware\proxy_headers.py", line 60, in __call__ return await self.app(scope, receive, send) │ │ │ │ └ > │ │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\fastapi\applications.py", line 1054, in __call__ await super().__call__(scope, receive, send) │ │ └ > │ └ > │ │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\errors.py", line 187, in __call__ raise exc File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\errors.py", line 165, in __call__ await self.app(scope, receive, _send) │ │ │ │ └ ._send at 0x0000017E171569E0> │ │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\cors.py", line 85, in __call__ await self.app(scope, receive, send) │ │ │ │ └ ._send at 0x0000017E171569E0> │ │ │ └ , header_name='... └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\asgi_correlation_id\middleware.py", line 90, in __call__ await self.app(scope, receive, handle_outgoing_request) │ │ │ │ └ .handle_outgoing_request at 0x0000017E17156950> │ │ │ └ └ CorrelationIdMiddleware(app=, header_name='... File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\exceptions.py", line 62, in __call__ await wrap_app_handling_exceptions(self.app, conn)(scope, receive, send) │ │ │ │ │ │ └ .handle_outgoing_request at 0x0000017E17156950> │ │ │ │ │ └ │ │ └ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 53, in wrapped_app raise exc File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 42, in wrapped_app await app(scope, receive, sender) │ │ │ └ .wrapped_app..sender at 0x0000017E171567A0> │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 714, in __call__ await self.middleware_stack(scope, receive, send) │ │ │ │ └ .wrapped_app..sender at 0x0000017E171567A0> │ │ │ └ > └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 734, in app await route.handle(scope, receive, send) │ │ │ │ └ .wrapped_app..sender at 0x0000017E171567A0> │ │ │ └ └ APIRoute(path='/api/v1/trip/option', name='trips_option', methods=['POST']) File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 288, in handle await self.app(scope, receive, send) │ │ │ │ └ .wrapped_app..sender at 0x0000017E171567A0> │ │ │ └ .app at 0x0000017E497C80D0> └ APIRoute(path='/api/v1/trip/option', name='trips_option', methods=['POST']) File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 76, in app await wrap_app_handling_exceptions(app, request)(scope, receive, send) │ │ │ │ │ └ .wrapped_app..sender at 0x0000017E171567A0> │ │ │ │ └ │ └ .app..app at 0x0000017E171568C0> └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 53, in wrapped_app raise exc File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 42, in wrapped_app await app(scope, receive, sender) │ │ │ └ .wrapped_app..sender at 0x0000017E17156710> │ │ └ .app..app at 0x0000017E171568C0> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 73, in app response = await f(request) │ └ .app at 0x0000017E4975B7F0> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\fastapi\routing.py", line 301, in app raw_response = await run_endpoint_function( └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\fastapi\routing.py", line 212, in run_endpoint_function return await dependant.call(**values) │ │ └ {'service': , 'request': └ Dependant(path_params=[], query_params=[], header_params=[], cookie_params=[], body_params=[], dependencies=[Dependant(path_p... File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\dependency_injector\wiring.py", line 1072, in _patched return await fn(*args, **kwargs) │ │ └ {'service': , 'request': File "C:\University-HCMUTE\InternFuta\ApiDialogflowChatbot\app\api\v1\trip.py", line 36, in trips_option rs: DialogServiceResult = await service.get_trips_option(data) │ │ └ TripQueryRequest(departure_city='Thành phố Hồ Chí Minh', destination_city='Thành phố Đà Lạt', origin_office=None, dest_office... │ └ File "C:\University-HCMUTE\InternFuta\ApiDialogflowChatbot\app\dialogflow\services\trip_service.py", line 234, in get_trips_option trip_options: list[TripOptionDTO] = [ └ File "C:\University-HCMUTE\InternFuta\ApiDialogflowChatbot\app\dialogflow\services\trip_service.py", line 240, in if trip["empty_seat_quantity"] >= ticket_count └ {'id': 5898458, 'departure_time': 1750323600000, 'raw_departure_time': '16:00', 'raw_departure_date': '19-06-2025', 'arrival_... NameError: name 'ticket_count' is not defined 2025-06-18 11:05:54.284 | ERROR | e8b62f16ab984b5bac0762bba3197434 | Exception in ASGI application Traceback (most recent call last): File "", line 1, in File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\spawn.py", line 116, in spawn_main exitcode = _main(fd, parent_sentinel) │ │ └ 360 │ └ 3 └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\spawn.py", line 129, in _main return self._bootstrap(parent_sentinel) │ │ └ 360 │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\process.py", line 315, in _bootstrap self.run() │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\process.py", line 108, in run self._target(*self._args, **self._kwargs) │ │ │ │ │ └ {'config': , 'target': │ │ │ └ () │ │ └ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\_subprocess.py", line 80, in subprocess_started target(sockets=sockets) │ └ [] └ > File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\server.py", line 66, in run return asyncio.run(self.serve(sockets=sockets)) │ │ │ │ └ [] │ │ │ └ │ │ └ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\runners.py", line 44, in run return loop.run_until_complete(main) │ │ └ │ └ └ <_WindowsSelectorEventLoop running=True closed=False debug=False> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 633, in run_until_complete self.run_forever() │ └ └ <_WindowsSelectorEventLoop running=True closed=False debug=False> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 600, in run_forever self._run_once() │ └ └ <_WindowsSelectorEventLoop running=True closed=False debug=False> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 1896, in _run_once handle._run() │ └ >)> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\events.py", line 80, in _run self._context.run(self._callback, *self._args) │ │ │ │ │ └ │ │ │ │ └ >)> │ │ │ └ │ │ └ >)> │ └ >)> > File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\protocols\http\h11_impl.py", line 403, in run_asgi result = await app( # type: ignore[func-returns-value] └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\middleware\proxy_headers.py", line 60, in __call__ return await self.app(scope, receive, send) │ │ │ │ └ > │ │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\fastapi\applications.py", line 1054, in __call__ await super().__call__(scope, receive, send) │ │ └ > │ └ > │ │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\errors.py", line 187, in __call__ raise exc File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\errors.py", line 165, in __call__ await self.app(scope, receive, _send) │ │ │ │ └ ._send at 0x000001E389EE9BD0> │ │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\cors.py", line 85, in __call__ await self.app(scope, receive, send) │ │ │ │ └ ._send at 0x000001E389EE9BD0> │ │ │ └ , header_name='... └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\asgi_correlation_id\middleware.py", line 90, in __call__ await self.app(scope, receive, handle_outgoing_request) │ │ │ │ └ .handle_outgoing_request at 0x000001E3B6DC6C20> │ │ │ └ └ CorrelationIdMiddleware(app=, header_name='... File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\exceptions.py", line 62, in __call__ await wrap_app_handling_exceptions(self.app, conn)(scope, receive, send) │ │ │ │ │ │ └ .handle_outgoing_request at 0x000001E3B6DC6C20> │ │ │ │ │ └ │ │ └ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 53, in wrapped_app raise exc File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 42, in wrapped_app await app(scope, receive, sender) │ │ │ └ .wrapped_app..sender at 0x000001E3B6DC76D0> │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 714, in __call__ await self.middleware_stack(scope, receive, send) │ │ │ │ └ .wrapped_app..sender at 0x000001E3B6DC76D0> │ │ │ └ > └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 734, in app await route.handle(scope, receive, send) │ │ │ │ └ .wrapped_app..sender at 0x000001E3B6DC76D0> │ │ │ └ └ APIRoute(path='/api/v1/trip/validate-trip-selection', name='validate_trip_selection', methods=['POST']) File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 288, in handle await self.app(scope, receive, send) │ │ │ │ └ .wrapped_app..sender at 0x000001E3B6DC76D0> │ │ │ └ .app at 0x000001E389EE84C0> └ APIRoute(path='/api/v1/trip/validate-trip-selection', name='validate_trip_selection', methods=['POST']) File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 76, in app await wrap_app_handling_exceptions(app, request)(scope, receive, send) │ │ │ │ │ └ .wrapped_app..sender at 0x000001E3B6DC76D0> │ │ │ │ └ │ └ .app..app at 0x000001E3B6DC6D40> └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 53, in wrapped_app raise exc File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 42, in wrapped_app await app(scope, receive, sender) │ │ │ └ .wrapped_app..sender at 0x000001E3B6DC7010> │ │ └ .app..app at 0x000001E3B6DC6D40> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 73, in app response = await f(request) │ └ .app at 0x000001E389EE8430> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\fastapi\routing.py", line 301, in app raw_response = await run_endpoint_function( └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\fastapi\routing.py", line 212, in run_endpoint_function return await dependant.call(**values) │ │ └ {'service': , 'request': └ Dependant(path_params=[], query_params=[], header_params=[], cookie_params=[], body_params=[], dependencies=[Dependant(path_p... File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\dependency_injector\wiring.py", line 1072, in _patched return await fn(*args, **kwargs) │ │ └ {'service': , 'request': File "C:\University-HCMUTE\InternFuta\ApiDialogflowChatbot\app\api\v1\trip.py", line 87, in validate_trip_selection rs: DialogServiceResult = service.validate_trip_selection( │ └ File "C:\University-HCMUTE\InternFuta\ApiDialogflowChatbot\app\dialogflow\services\trip_service.py", line 295, in validate_trip_selection matched_trip = self.find_trip_by_id(trip_id=matched_trip_option.id) │ │ └ TripOptionDTO(trip_id=5898458, route='16:00 | Bến Xe Miền Tây => Bến Xe Đà Lạt') │ └ )> └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\pydantic\main.py", line 994, in __getattr__ raise AttributeError(f'{type(self).__name__!r} object has no attribute {item!r}') AttributeError: 'TripOptionDTO' object has no attribute 'id' 2025-06-18 11:05:54.922 | ERROR | be182501f3e44bc8bf64eb96014036de | Exception in ASGI application Traceback (most recent call last): File "", line 1, in File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\spawn.py", line 116, in spawn_main exitcode = _main(fd, parent_sentinel) │ │ └ 360 │ └ 3 └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\spawn.py", line 129, in _main return self._bootstrap(parent_sentinel) │ │ └ 360 │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\process.py", line 315, in _bootstrap self.run() │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\process.py", line 108, in run self._target(*self._args, **self._kwargs) │ │ │ │ │ └ {'config': , 'target': │ │ │ └ () │ │ └ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\_subprocess.py", line 80, in subprocess_started target(sockets=sockets) │ └ [] └ > File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\server.py", line 66, in run return asyncio.run(self.serve(sockets=sockets)) │ │ │ │ └ [] │ │ │ └ │ │ └ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\runners.py", line 44, in run return loop.run_until_complete(main) │ │ └ │ └ └ <_WindowsSelectorEventLoop running=True closed=False debug=False> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 633, in run_until_complete self.run_forever() │ └ └ <_WindowsSelectorEventLoop running=True closed=False debug=False> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 600, in run_forever self._run_once() │ └ └ <_WindowsSelectorEventLoop running=True closed=False debug=False> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 1896, in _run_once handle._run() │ └ >)> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\events.py", line 80, in _run self._context.run(self._callback, *self._args) │ │ │ │ │ └ │ │ │ │ └ >)> │ │ │ └ │ │ └ >)> │ └ >)> > File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\protocols\http\h11_impl.py", line 403, in run_asgi result = await app( # type: ignore[func-returns-value] └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\middleware\proxy_headers.py", line 60, in __call__ return await self.app(scope, receive, send) │ │ │ │ └ > │ │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\fastapi\applications.py", line 1054, in __call__ await super().__call__(scope, receive, send) │ │ └ > │ └ > │ │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\errors.py", line 187, in __call__ raise exc File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\errors.py", line 165, in __call__ await self.app(scope, receive, _send) │ │ │ │ └ ._send at 0x000001E3B6E36F80> │ │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\cors.py", line 85, in __call__ await self.app(scope, receive, send) │ │ │ │ └ ._send at 0x000001E3B6E36F80> │ │ │ └ , header_name='... └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\asgi_correlation_id\middleware.py", line 90, in __call__ await self.app(scope, receive, handle_outgoing_request) │ │ │ │ └ .handle_outgoing_request at 0x000001E3B6DC6E60> │ │ │ └ └ CorrelationIdMiddleware(app=, header_name='... File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\exceptions.py", line 62, in __call__ await wrap_app_handling_exceptions(self.app, conn)(scope, receive, send) │ │ │ │ │ │ └ .handle_outgoing_request at 0x000001E3B6DC6E60> │ │ │ │ │ └ │ │ └ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 53, in wrapped_app raise exc File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 42, in wrapped_app await app(scope, receive, sender) │ │ │ └ .wrapped_app..sender at 0x000001E3B8B66E60> │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 714, in __call__ await self.middleware_stack(scope, receive, send) │ │ │ │ └ .wrapped_app..sender at 0x000001E3B8B66E60> │ │ │ └ > └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 734, in app await route.handle(scope, receive, send) │ │ │ │ └ .wrapped_app..sender at 0x000001E3B8B66E60> │ │ │ └ └ APIRoute(path='/api/v1/trip/validate-trip-selection', name='validate_trip_selection', methods=['POST']) File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 288, in handle await self.app(scope, receive, send) │ │ │ │ └ .wrapped_app..sender at 0x000001E3B8B66E60> │ │ │ └ .app at 0x000001E389EE84C0> └ APIRoute(path='/api/v1/trip/validate-trip-selection', name='validate_trip_selection', methods=['POST']) File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 76, in app await wrap_app_handling_exceptions(app, request)(scope, receive, send) │ │ │ │ │ └ .wrapped_app..sender at 0x000001E3B8B66E60> │ │ │ │ └ │ └ .app..app at 0x000001E3B8B67130> └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 53, in wrapped_app raise exc File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 42, in wrapped_app await app(scope, receive, sender) │ │ │ └ .wrapped_app..sender at 0x000001E3B8B66F80> │ │ └ .app..app at 0x000001E3B8B67130> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 73, in app response = await f(request) │ └ .app at 0x000001E389EE8430> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\fastapi\routing.py", line 301, in app raw_response = await run_endpoint_function( └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\fastapi\routing.py", line 212, in run_endpoint_function return await dependant.call(**values) │ │ └ {'service': , 'request': └ Dependant(path_params=[], query_params=[], header_params=[], cookie_params=[], body_params=[], dependencies=[Dependant(path_p... File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\dependency_injector\wiring.py", line 1072, in _patched return await fn(*args, **kwargs) │ │ └ {'service': , 'request': File "C:\University-HCMUTE\InternFuta\ApiDialogflowChatbot\app\api\v1\trip.py", line 87, in validate_trip_selection rs: DialogServiceResult = service.validate_trip_selection( │ └ File "C:\University-HCMUTE\InternFuta\ApiDialogflowChatbot\app\dialogflow\services\trip_service.py", line 295, in validate_trip_selection matched_trip = self.find_trip_by_id(trip_id=matched_trip_option.id) │ │ └ TripOptionDTO(trip_id=5898458, route='16:00 | Bến Xe Miền Tây => Bến Xe Đà Lạt') │ └ )> └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\pydantic\main.py", line 994, in __getattr__ raise AttributeError(f'{type(self).__name__!r} object has no attribute {item!r}') AttributeError: 'TripOptionDTO' object has no attribute 'id' 2025-06-18 11:07:13.759 | ERROR | - | Traceback (most recent call last): File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\runners.py", line 44, in run return loop.run_until_complete(main) File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 633, in run_until_complete self.run_forever() File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 600, in run_forever self._run_once() File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 1896, in _run_once handle._run() File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\events.py", line 80, in _run self._context.run(self._callback, *self._args) File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\server.py", line 69, in serve with self.capture_signals(): File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\contextlib.py", line 142, in __exit__ next(self.gen) File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\server.py", line 330, in capture_signals signal.raise_signal(captured_signal) KeyboardInterrupt During handling of the above exception, another exception occurred: Traceback (most recent call last): File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 699, in lifespan await receive() File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\lifespan\on.py", line 137, in receive return await self.receive_queue.get() File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\queues.py", line 159, in get await getter asyncio.exceptions.CancelledError 2025-06-18 11:15:32.889 | ERROR | 14f4935e3dc241449a5647d3c4d51209 | Exception in ASGI application Traceback (most recent call last): File "", line 1, in File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\spawn.py", line 116, in spawn_main exitcode = _main(fd, parent_sentinel) │ │ └ 348 │ └ 3 └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\spawn.py", line 129, in _main return self._bootstrap(parent_sentinel) │ │ └ 348 │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\process.py", line 315, in _bootstrap self.run() │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\process.py", line 108, in run self._target(*self._args, **self._kwargs) │ │ │ │ │ └ {'config': , 'target': │ │ │ └ () │ │ └ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\_subprocess.py", line 80, in subprocess_started target(sockets=sockets) │ └ [] └ > File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\server.py", line 66, in run return asyncio.run(self.serve(sockets=sockets)) │ │ │ │ └ [] │ │ │ └ │ │ └ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\runners.py", line 44, in run return loop.run_until_complete(main) │ │ └ │ └ └ <_WindowsSelectorEventLoop running=True closed=False debug=False> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 633, in run_until_complete self.run_forever() │ └ └ <_WindowsSelectorEventLoop running=True closed=False debug=False> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 600, in run_forever self._run_once() │ └ └ <_WindowsSelectorEventLoop running=True closed=False debug=False> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 1896, in _run_once handle._run() │ └ >)> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\events.py", line 80, in _run self._context.run(self._callback, *self._args) │ │ │ │ │ └ │ │ │ │ └ >)> │ │ │ └ │ │ └ >)> │ └ >)> > File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\protocols\http\h11_impl.py", line 403, in run_asgi result = await app( # type: ignore[func-returns-value] └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\middleware\proxy_headers.py", line 60, in __call__ return await self.app(scope, receive, send) │ │ │ │ └ > │ │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\fastapi\applications.py", line 1054, in __call__ await super().__call__(scope, receive, send) │ │ └ > │ └ > │ │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\errors.py", line 187, in __call__ raise exc File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\errors.py", line 165, in __call__ await self.app(scope, receive, _send) │ │ │ │ └ ._send at 0x0000020AC5FF76D0> │ │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\cors.py", line 85, in __call__ await self.app(scope, receive, send) │ │ │ │ └ ._send at 0x0000020AC5FF76D0> │ │ │ └ , header_name='... └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\asgi_correlation_id\middleware.py", line 90, in __call__ await self.app(scope, receive, handle_outgoing_request) │ │ │ │ └ .handle_outgoing_request at 0x0000020AC5FF6D40> │ │ │ └ └ CorrelationIdMiddleware(app=, header_name='... File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\exceptions.py", line 62, in __call__ await wrap_app_handling_exceptions(self.app, conn)(scope, receive, send) │ │ │ │ │ │ └ .handle_outgoing_request at 0x0000020AC5FF6D40> │ │ │ │ │ └ │ │ └ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 53, in wrapped_app raise exc File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 42, in wrapped_app await app(scope, receive, sender) │ │ │ └ .wrapped_app..sender at 0x0000020AC5FF7010> │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 714, in __call__ await self.middleware_stack(scope, receive, send) │ │ │ │ └ .wrapped_app..sender at 0x0000020AC5FF7010> │ │ │ └ > └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 734, in app await route.handle(scope, receive, send) │ │ │ │ └ .wrapped_app..sender at 0x0000020AC5FF7010> │ │ │ └ └ APIRoute(path='/api/v1/trip/validate-trip-selection', name='validate_trip_selection', methods=['POST']) File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 288, in handle await self.app(scope, receive, send) │ │ │ │ └ .wrapped_app..sender at 0x0000020AC5FF7010> │ │ │ └ .app at 0x0000020A991184C0> └ APIRoute(path='/api/v1/trip/validate-trip-selection', name='validate_trip_selection', methods=['POST']) File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 76, in app await wrap_app_handling_exceptions(app, request)(scope, receive, send) │ │ │ │ │ └ .wrapped_app..sender at 0x0000020AC5FF7010> │ │ │ │ └ │ └ .app..app at 0x0000020AC5FF6F80> └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 53, in wrapped_app raise exc File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 42, in wrapped_app await app(scope, receive, sender) │ │ │ └ .wrapped_app..sender at 0x0000020AC5FF6E60> │ │ └ .app..app at 0x0000020AC5FF6F80> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 73, in app response = await f(request) │ └ .app at 0x0000020A99118430> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\fastapi\routing.py", line 301, in app raw_response = await run_endpoint_function( └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\fastapi\routing.py", line 212, in run_endpoint_function return await dependant.call(**values) │ │ └ {'service': , 'request': └ Dependant(path_params=[], query_params=[], header_params=[], cookie_params=[], body_params=[], dependencies=[Dependant(path_p... File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\dependency_injector\wiring.py", line 1072, in _patched return await fn(*args, **kwargs) │ │ └ {'service': , 'request': File "C:\University-HCMUTE\InternFuta\ApiDialogflowChatbot\app\api\v1\trip.py", line 90, in validate_trip_selection return DialogflowResponseBuilder().set_parameters(rs.parameters).build() │ │ └ {'is_valid_trip': True, 'trip_data': } │ └ DialogServiceResult(text=None, options=None, parameters={'is_valid_trip': True, 'trip_data': File "C:\University-HCMUTE\InternFuta\ApiDialogflowChatbot\app\dialogflow\schemas\response.py", line 134, in build return JSONResponse(content=response.model_dump(mode="json")) │ │ └ │ └ DialogflowResponse(fulfillment_response=FulfillmentResponse(messages=[]), sessionInfo=SessionInfo(parameters={'is_valid_trip'... └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\pydantic\main.py", line 463, in model_dump return self.__pydantic_serializer__.to_python( │ │ └ │ └ SchemaSerializer(serializer=Model( │ ModelSerializer { │ class: Py( │ 0x0000020a97545e50, │ ), │ ... └ DialogflowResponse(fulfillment_response=FulfillmentResponse(messages=[]), sessionInfo=SessionInfo(parameters={'is_valid_trip'... pydantic_core._pydantic_core.PydanticSerializationError: Unable to serialize unknown type: 2025-06-18 11:15:33.448 | ERROR | 23c22b1846d84b308c14061fcdb34949 | Exception in ASGI application Traceback (most recent call last): File "", line 1, in File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\spawn.py", line 116, in spawn_main exitcode = _main(fd, parent_sentinel) │ │ └ 348 │ └ 3 └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\spawn.py", line 129, in _main return self._bootstrap(parent_sentinel) │ │ └ 348 │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\process.py", line 315, in _bootstrap self.run() │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\process.py", line 108, in run self._target(*self._args, **self._kwargs) │ │ │ │ │ └ {'config': , 'target': │ │ │ └ () │ │ └ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\_subprocess.py", line 80, in subprocess_started target(sockets=sockets) │ └ [] └ > File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\server.py", line 66, in run return asyncio.run(self.serve(sockets=sockets)) │ │ │ │ └ [] │ │ │ └ │ │ └ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\runners.py", line 44, in run return loop.run_until_complete(main) │ │ └ │ └ └ <_WindowsSelectorEventLoop running=True closed=False debug=False> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 633, in run_until_complete self.run_forever() │ └ └ <_WindowsSelectorEventLoop running=True closed=False debug=False> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 600, in run_forever self._run_once() │ └ └ <_WindowsSelectorEventLoop running=True closed=False debug=False> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 1896, in _run_once handle._run() │ └ >)> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\events.py", line 80, in _run self._context.run(self._callback, *self._args) │ │ │ │ │ └ │ │ │ │ └ >)> │ │ │ └ │ │ └ >)> │ └ >)> > File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\protocols\http\h11_impl.py", line 403, in run_asgi result = await app( # type: ignore[func-returns-value] └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\middleware\proxy_headers.py", line 60, in __call__ return await self.app(scope, receive, send) │ │ │ │ └ > │ │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\fastapi\applications.py", line 1054, in __call__ await super().__call__(scope, receive, send) │ │ └ > │ └ > │ │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\errors.py", line 187, in __call__ raise exc File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\errors.py", line 165, in __call__ await self.app(scope, receive, _send) │ │ │ │ └ ._send at 0x0000020A99119BD0> │ │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\cors.py", line 85, in __call__ await self.app(scope, receive, send) │ │ │ │ └ ._send at 0x0000020A99119BD0> │ │ │ └ , header_name='... └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\asgi_correlation_id\middleware.py", line 90, in __call__ await self.app(scope, receive, handle_outgoing_request) │ │ │ │ └ .handle_outgoing_request at 0x0000020AC5FF6C20> │ │ │ └ └ CorrelationIdMiddleware(app=, header_name='... File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\exceptions.py", line 62, in __call__ await wrap_app_handling_exceptions(self.app, conn)(scope, receive, send) │ │ │ │ │ │ └ .handle_outgoing_request at 0x0000020AC5FF6C20> │ │ │ │ │ └ │ │ └ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 53, in wrapped_app raise exc File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 42, in wrapped_app await app(scope, receive, sender) │ │ │ └ .wrapped_app..sender at 0x0000020AC62AA560> │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 714, in __call__ await self.middleware_stack(scope, receive, send) │ │ │ │ └ .wrapped_app..sender at 0x0000020AC62AA560> │ │ │ └ > └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 734, in app await route.handle(scope, receive, send) │ │ │ │ └ .wrapped_app..sender at 0x0000020AC62AA560> │ │ │ └ └ APIRoute(path='/api/v1/trip/validate-trip-selection', name='validate_trip_selection', methods=['POST']) File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 288, in handle await self.app(scope, receive, send) │ │ │ │ └ .wrapped_app..sender at 0x0000020AC62AA560> │ │ │ └ .app at 0x0000020A991184C0> └ APIRoute(path='/api/v1/trip/validate-trip-selection', name='validate_trip_selection', methods=['POST']) File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 76, in app await wrap_app_handling_exceptions(app, request)(scope, receive, send) │ │ │ │ │ └ .wrapped_app..sender at 0x0000020AC62AA560> │ │ │ │ └ │ └ .app..app at 0x0000020AC62AA4D0> └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 53, in wrapped_app raise exc File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 42, in wrapped_app await app(scope, receive, sender) │ │ │ └ .wrapped_app..sender at 0x0000020AC62AA5F0> │ │ └ .app..app at 0x0000020AC62AA4D0> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 73, in app response = await f(request) │ └ .app at 0x0000020A99118430> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\fastapi\routing.py", line 301, in app raw_response = await run_endpoint_function( └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\fastapi\routing.py", line 212, in run_endpoint_function return await dependant.call(**values) │ │ └ {'service': , 'request': └ Dependant(path_params=[], query_params=[], header_params=[], cookie_params=[], body_params=[], dependencies=[Dependant(path_p... File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\dependency_injector\wiring.py", line 1072, in _patched return await fn(*args, **kwargs) │ │ └ {'service': , 'request': File "C:\University-HCMUTE\InternFuta\ApiDialogflowChatbot\app\api\v1\trip.py", line 90, in validate_trip_selection return DialogflowResponseBuilder().set_parameters(rs.parameters).build() │ │ └ {'is_valid_trip': True, 'trip_data': } │ └ DialogServiceResult(text=None, options=None, parameters={'is_valid_trip': True, 'trip_data': File "C:\University-HCMUTE\InternFuta\ApiDialogflowChatbot\app\dialogflow\schemas\response.py", line 134, in build return JSONResponse(content=response.model_dump(mode="json")) │ │ └ │ └ DialogflowResponse(fulfillment_response=FulfillmentResponse(messages=[]), sessionInfo=SessionInfo(parameters={'is_valid_trip'... └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\pydantic\main.py", line 463, in model_dump return self.__pydantic_serializer__.to_python( │ │ └ │ └ SchemaSerializer(serializer=Model( │ ModelSerializer { │ class: Py( │ 0x0000020a97545e50, │ ), │ ... └ DialogflowResponse(fulfillment_response=FulfillmentResponse(messages=[]), sessionInfo=SessionInfo(parameters={'is_valid_trip'... pydantic_core._pydantic_core.PydanticSerializationError: Unable to serialize unknown type: 2025-06-18 11:28:20.836 | ERROR | 1207e4e36f474c84976e9917814b3752 | Exception in ASGI application Traceback (most recent call last): File "", line 1, in File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\spawn.py", line 116, in spawn_main exitcode = _main(fd, parent_sentinel) │ │ └ 360 │ └ 3 └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\spawn.py", line 129, in _main return self._bootstrap(parent_sentinel) │ │ └ 360 │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\process.py", line 315, in _bootstrap self.run() │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\process.py", line 108, in run self._target(*self._args, **self._kwargs) │ │ │ │ │ └ {'config': , 'target': │ │ │ └ () │ │ └ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\_subprocess.py", line 80, in subprocess_started target(sockets=sockets) │ └ [] └ > File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\server.py", line 66, in run return asyncio.run(self.serve(sockets=sockets)) │ │ │ │ └ [] │ │ │ └ │ │ └ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\runners.py", line 44, in run return loop.run_until_complete(main) │ │ └ │ └ └ <_WindowsSelectorEventLoop running=True closed=False debug=False> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 633, in run_until_complete self.run_forever() │ └ └ <_WindowsSelectorEventLoop running=True closed=False debug=False> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 600, in run_forever self._run_once() │ └ └ <_WindowsSelectorEventLoop running=True closed=False debug=False> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 1896, in _run_once handle._run() │ └ >)> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\events.py", line 80, in _run self._context.run(self._callback, *self._args) │ │ │ │ │ └ │ │ │ │ └ >)> │ │ │ └ │ │ └ >)> │ └ >)> > File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\protocols\http\h11_impl.py", line 403, in run_asgi result = await app( # type: ignore[func-returns-value] └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\middleware\proxy_headers.py", line 60, in __call__ return await self.app(scope, receive, send) │ │ │ │ └ > │ │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\fastapi\applications.py", line 1054, in __call__ await super().__call__(scope, receive, send) │ │ └ > │ └ > │ │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\errors.py", line 187, in __call__ raise exc File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\errors.py", line 165, in __call__ await self.app(scope, receive, _send) │ │ │ │ └ ._send at 0x000001CB6F657010> │ │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\cors.py", line 85, in __call__ await self.app(scope, receive, send) │ │ │ │ └ ._send at 0x000001CB6F657010> │ │ │ └ , header_name='... └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\asgi_correlation_id\middleware.py", line 90, in __call__ await self.app(scope, receive, handle_outgoing_request) │ │ │ │ └ .handle_outgoing_request at 0x000001CB6F656DD0> │ │ │ └ └ CorrelationIdMiddleware(app=, header_name='... File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\exceptions.py", line 62, in __call__ await wrap_app_handling_exceptions(self.app, conn)(scope, receive, send) │ │ │ │ │ │ └ .handle_outgoing_request at 0x000001CB6F656DD0> │ │ │ │ │ └ │ │ └ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 53, in wrapped_app raise exc File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 42, in wrapped_app await app(scope, receive, sender) │ │ │ └ .wrapped_app..sender at 0x000001CB6F656F80> │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 714, in __call__ await self.middleware_stack(scope, receive, send) │ │ │ │ └ .wrapped_app..sender at 0x000001CB6F656F80> │ │ │ └ > └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 734, in app await route.handle(scope, receive, send) │ │ │ │ └ .wrapped_app..sender at 0x000001CB6F656F80> │ │ │ └ └ APIRoute(path='/api/v1/trip/validate-trip-selection', name='validate_trip_selection', methods=['POST']) File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 288, in handle await self.app(scope, receive, send) │ │ │ │ └ .wrapped_app..sender at 0x000001CB6F656F80> │ │ │ └ .app at 0x000001CB427784C0> └ APIRoute(path='/api/v1/trip/validate-trip-selection', name='validate_trip_selection', methods=['POST']) File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 76, in app await wrap_app_handling_exceptions(app, request)(scope, receive, send) │ │ │ │ │ └ .wrapped_app..sender at 0x000001CB6F656F80> │ │ │ │ └ │ └ .app..app at 0x000001CB6F656E60> └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 53, in wrapped_app raise exc File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 42, in wrapped_app await app(scope, receive, sender) │ │ │ └ .wrapped_app..sender at 0x000001CB6F656C20> │ │ └ .app..app at 0x000001CB6F656E60> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 73, in app response = await f(request) │ └ .app at 0x000001CB42778430> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\fastapi\routing.py", line 301, in app raw_response = await run_endpoint_function( └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\fastapi\routing.py", line 212, in run_endpoint_function return await dependant.call(**values) │ │ └ {'service': , 'request': └ Dependant(path_params=[], query_params=[], header_params=[], cookie_params=[], body_params=[], dependencies=[Dependant(path_p... File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\dependency_injector\wiring.py", line 1072, in _patched return await fn(*args, **kwargs) │ │ └ {'service': , 'request': File "C:\University-HCMUTE\InternFuta\ApiDialogflowChatbot\app\api\v1\trip.py", line 87, in validate_trip_selection rs: DialogServiceResult = await service.validate_trip_selection( │ └ File "C:\University-HCMUTE\InternFuta\ApiDialogflowChatbot\app\dialogflow\services\trip_service.py", line 295, in validate_trip_selection matched_trip = await self.find_trip_by_id( │ └ File "C:\University-HCMUTE\InternFuta\ApiDialogflowChatbot\app\dialogflow\services\trip_service.py", line 311, in find_trip_by_id trips = await self.get_all_trip_data(data) │ │ └ TripValidateRequest(trip_options=[TripOptionDTO(trip_id=5898458, route='16:00 | Bến Xe Miền Tây => Bến Xe Đà Lạt'), TripOptio... │ └ File "C:\University-HCMUTE\InternFuta\ApiDialogflowChatbot\app\dialogflow\services\trip_service.py", line 142, in get_all_trip_data ticket_count = data.ticket_number or 1 └ TripValidateRequest(trip_options=[TripOptionDTO(trip_id=5898458, route='16:00 | Bến Xe Miền Tây => Bến Xe Đà Lạt'), TripOptio... File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\pydantic\main.py", line 994, in __getattr__ raise AttributeError(f'{type(self).__name__!r} object has no attribute {item!r}') AttributeError: 'TripValidateRequest' object has no attribute 'ticket_number' 2025-06-18 11:28:21.324 | ERROR | 57769cf81251413cb3fb1f7919c87d82 | Exception in ASGI application Traceback (most recent call last): File "", line 1, in File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\spawn.py", line 116, in spawn_main exitcode = _main(fd, parent_sentinel) │ │ └ 360 │ └ 3 └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\spawn.py", line 129, in _main return self._bootstrap(parent_sentinel) │ │ └ 360 │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\process.py", line 315, in _bootstrap self.run() │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\process.py", line 108, in run self._target(*self._args, **self._kwargs) │ │ │ │ │ └ {'config': , 'target': │ │ │ └ () │ │ └ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\_subprocess.py", line 80, in subprocess_started target(sockets=sockets) │ └ [] └ > File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\server.py", line 66, in run return asyncio.run(self.serve(sockets=sockets)) │ │ │ │ └ [] │ │ │ └ │ │ └ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\runners.py", line 44, in run return loop.run_until_complete(main) │ │ └ │ └ └ <_WindowsSelectorEventLoop running=True closed=False debug=False> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 633, in run_until_complete self.run_forever() │ └ └ <_WindowsSelectorEventLoop running=True closed=False debug=False> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 600, in run_forever self._run_once() │ └ └ <_WindowsSelectorEventLoop running=True closed=False debug=False> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 1896, in _run_once handle._run() │ └ >)> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\events.py", line 80, in _run self._context.run(self._callback, *self._args) │ │ │ │ │ └ │ │ │ │ └ >)> │ │ │ └ │ │ └ >)> │ └ >)> > File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\protocols\http\h11_impl.py", line 403, in run_asgi result = await app( # type: ignore[func-returns-value] └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\middleware\proxy_headers.py", line 60, in __call__ return await self.app(scope, receive, send) │ │ │ │ └ > │ │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\fastapi\applications.py", line 1054, in __call__ await super().__call__(scope, receive, send) │ │ └ > │ └ > │ │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\errors.py", line 187, in __call__ raise exc File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\errors.py", line 165, in __call__ await self.app(scope, receive, _send) │ │ │ │ └ ._send at 0x000001CB410F4280> │ │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\cors.py", line 85, in __call__ await self.app(scope, receive, send) │ │ │ │ └ ._send at 0x000001CB410F4280> │ │ │ └ , header_name='... └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\asgi_correlation_id\middleware.py", line 90, in __call__ await self.app(scope, receive, handle_outgoing_request) │ │ │ │ └ .handle_outgoing_request at 0x000001CB00BF2CB0> │ │ │ └ └ CorrelationIdMiddleware(app=, header_name='... File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\exceptions.py", line 62, in __call__ await wrap_app_handling_exceptions(self.app, conn)(scope, receive, send) │ │ │ │ │ │ └ .handle_outgoing_request at 0x000001CB00BF2CB0> │ │ │ │ │ └ │ │ └ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 53, in wrapped_app raise exc File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 42, in wrapped_app await app(scope, receive, sender) │ │ │ └ .wrapped_app..sender at 0x000001CB00BF2E60> │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 714, in __call__ await self.middleware_stack(scope, receive, send) │ │ │ │ └ .wrapped_app..sender at 0x000001CB00BF2E60> │ │ │ └ > └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 734, in app await route.handle(scope, receive, send) │ │ │ │ └ .wrapped_app..sender at 0x000001CB00BF2E60> │ │ │ └ └ APIRoute(path='/api/v1/trip/validate-trip-selection', name='validate_trip_selection', methods=['POST']) File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 288, in handle await self.app(scope, receive, send) │ │ │ │ └ .wrapped_app..sender at 0x000001CB00BF2E60> │ │ │ └ .app at 0x000001CB427784C0> └ APIRoute(path='/api/v1/trip/validate-trip-selection', name='validate_trip_selection', methods=['POST']) File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 76, in app await wrap_app_handling_exceptions(app, request)(scope, receive, send) │ │ │ │ │ └ .wrapped_app..sender at 0x000001CB00BF2E60> │ │ │ │ └ │ └ .app..app at 0x000001CB00BF2EF0> └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 53, in wrapped_app raise exc File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 42, in wrapped_app await app(scope, receive, sender) │ │ │ └ .wrapped_app..sender at 0x000001CB00BF2DD0> │ │ └ .app..app at 0x000001CB00BF2EF0> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 73, in app response = await f(request) │ └ .app at 0x000001CB42778430> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\fastapi\routing.py", line 301, in app raw_response = await run_endpoint_function( └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\fastapi\routing.py", line 212, in run_endpoint_function return await dependant.call(**values) │ │ └ {'service': , 'request': └ Dependant(path_params=[], query_params=[], header_params=[], cookie_params=[], body_params=[], dependencies=[Dependant(path_p... File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\dependency_injector\wiring.py", line 1072, in _patched return await fn(*args, **kwargs) │ │ └ {'service': , 'request': File "C:\University-HCMUTE\InternFuta\ApiDialogflowChatbot\app\api\v1\trip.py", line 87, in validate_trip_selection rs: DialogServiceResult = await service.validate_trip_selection( │ └ File "C:\University-HCMUTE\InternFuta\ApiDialogflowChatbot\app\dialogflow\services\trip_service.py", line 295, in validate_trip_selection matched_trip = await self.find_trip_by_id( │ └ File "C:\University-HCMUTE\InternFuta\ApiDialogflowChatbot\app\dialogflow\services\trip_service.py", line 311, in find_trip_by_id trips = await self.get_all_trip_data(data) │ │ └ TripValidateRequest(trip_options=[TripOptionDTO(trip_id=5898458, route='16:00 | Bến Xe Miền Tây => Bến Xe Đà Lạt'), TripOptio... │ └ File "C:\University-HCMUTE\InternFuta\ApiDialogflowChatbot\app\dialogflow\services\trip_service.py", line 142, in get_all_trip_data ticket_count = data.ticket_number or 1 └ TripValidateRequest(trip_options=[TripOptionDTO(trip_id=5898458, route='16:00 | Bến Xe Miền Tây => Bến Xe Đà Lạt'), TripOptio... File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\pydantic\main.py", line 994, in __getattr__ raise AttributeError(f'{type(self).__name__!r} object has no attribute {item!r}') AttributeError: 'TripValidateRequest' object has no attribute 'ticket_number' 2025-06-18 11:34:49.209 | ERROR | 6d8143c64f8a45748e16b606219b2df7 | Exception in ASGI application Traceback (most recent call last): File "", line 1, in File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\spawn.py", line 116, in spawn_main exitcode = _main(fd, parent_sentinel) │ │ └ 340 │ └ 3 └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\spawn.py", line 129, in _main return self._bootstrap(parent_sentinel) │ │ └ 340 │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\process.py", line 315, in _bootstrap self.run() │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\process.py", line 108, in run self._target(*self._args, **self._kwargs) │ │ │ │ │ └ {'config': , 'target': │ │ │ └ () │ │ └ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\_subprocess.py", line 80, in subprocess_started target(sockets=sockets) │ └ [] └ > File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\server.py", line 66, in run return asyncio.run(self.serve(sockets=sockets)) │ │ │ │ └ [] │ │ │ └ │ │ └ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\runners.py", line 44, in run return loop.run_until_complete(main) │ │ └ │ └ └ <_WindowsSelectorEventLoop running=True closed=False debug=False> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 633, in run_until_complete self.run_forever() │ └ └ <_WindowsSelectorEventLoop running=True closed=False debug=False> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 600, in run_forever self._run_once() │ └ └ <_WindowsSelectorEventLoop running=True closed=False debug=False> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 1896, in _run_once handle._run() │ └ ()> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\events.py", line 80, in _run self._context.run(self._callback, *self._args) │ │ │ │ │ └ │ │ │ │ └ ()> │ │ │ └ │ │ └ ()> │ └ ()> > File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\protocols\http\h11_impl.py", line 403, in run_asgi result = await app( # type: ignore[func-returns-value] └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\middleware\proxy_headers.py", line 60, in __call__ return await self.app(scope, receive, send) │ │ │ │ └ > │ │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\fastapi\applications.py", line 1054, in __call__ await super().__call__(scope, receive, send) │ │ └ > │ └ > │ │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\errors.py", line 187, in __call__ raise exc File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\errors.py", line 165, in __call__ await self.app(scope, receive, _send) │ │ │ │ └ ._send at 0x000001AC3EFF2DD0> │ │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\cors.py", line 85, in __call__ await self.app(scope, receive, send) │ │ │ │ └ ._send at 0x000001AC3EFF2DD0> │ │ │ └ , header_name='... └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\asgi_correlation_id\middleware.py", line 90, in __call__ await self.app(scope, receive, handle_outgoing_request) │ │ │ │ └ .handle_outgoing_request at 0x000001AC3EFF2CB0> │ │ │ └ └ CorrelationIdMiddleware(app=, header_name='... File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\exceptions.py", line 62, in __call__ await wrap_app_handling_exceptions(self.app, conn)(scope, receive, send) │ │ │ │ │ │ └ .handle_outgoing_request at 0x000001AC3EFF2CB0> │ │ │ │ │ └ │ │ └ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 53, in wrapped_app raise exc File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 42, in wrapped_app await app(scope, receive, sender) │ │ │ └ .wrapped_app..sender at 0x000001AC3EFF2A70> │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 714, in __call__ await self.middleware_stack(scope, receive, send) │ │ │ │ └ .wrapped_app..sender at 0x000001AC3EFF2A70> │ │ │ └ > └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 734, in app await route.handle(scope, receive, send) │ │ │ │ └ .wrapped_app..sender at 0x000001AC3EFF2A70> │ │ │ └ └ APIRoute(path='/api/v1/trip/validate-trip-selection', name='validate_trip_selection', methods=['POST']) File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 288, in handle await self.app(scope, receive, send) │ │ │ │ └ .wrapped_app..sender at 0x000001AC3EFF2A70> │ │ │ └ .app at 0x000001AC12118430> └ APIRoute(path='/api/v1/trip/validate-trip-selection', name='validate_trip_selection', methods=['POST']) File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 76, in app await wrap_app_handling_exceptions(app, request)(scope, receive, send) │ │ │ │ │ └ .wrapped_app..sender at 0x000001AC3EFF2A70> │ │ │ │ └ │ └ .app..app at 0x000001AC3EFF2B90> └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 53, in wrapped_app raise exc File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 42, in wrapped_app await app(scope, receive, sender) │ │ │ └ .wrapped_app..sender at 0x000001AC3EFF3640> │ │ └ .app..app at 0x000001AC3EFF2B90> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 73, in app response = await f(request) │ └ .app at 0x000001AC121183A0> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\fastapi\routing.py", line 301, in app raw_response = await run_endpoint_function( └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\fastapi\routing.py", line 212, in run_endpoint_function return await dependant.call(**values) │ │ └ {'service': , 'request': └ Dependant(path_params=[], query_params=[], header_params=[], cookie_params=[], body_params=[], dependencies=[Dependant(path_p... File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\dependency_injector\wiring.py", line 1072, in _patched return await fn(*args, **kwargs) │ │ └ {'service': , 'request': File "C:\University-HCMUTE\InternFuta\ApiDialogflowChatbot\app\api\v1\trip.py", line 88, in validate_trip_selection rs: DialogServiceResult = await service.validate_trip_selection( │ └ File "C:\University-HCMUTE\InternFuta\ApiDialogflowChatbot\app\dialogflow\services\trip_service.py", line 294, in validate_trip_selection matched_trip = await self.find_trip_by_id( │ └ File "C:\University-HCMUTE\InternFuta\ApiDialogflowChatbot\app\dialogflow\services\trip_service.py", line 315, in find_trip_by_id return next((trip for trip in trips if trip.id == trip_id), None) │ └ 5898458 └ [{'id': 5896827, 'departure_time': 1750266000000, 'raw_departure_time': '00:00', 'raw_departure_date': '19-06-2025', 'arrival... File "C:\University-HCMUTE\InternFuta\ApiDialogflowChatbot\app\dialogflow\services\trip_service.py", line 315, in return next((trip for trip in trips if trip.id == trip_id), None) │ │ │ └ 5898458 │ │ └ {'id': 5896827, 'departure_time': 1750266000000, 'raw_departure_time': '00:00', 'raw_departure_date': '19-06-2025', 'arrival_... │ └ {'id': 5896827, 'departure_time': 1750266000000, 'raw_departure_time': '00:00', 'raw_departure_date': '19-06-2025', 'arrival_... └ {'id': 5896827, 'departure_time': 1750266000000, 'raw_departure_time': '00:00', 'raw_departure_date': '19-06-2025', 'arrival_... AttributeError: 'dict' object has no attribute 'id' 2025-06-18 11:34:50.853 | ERROR | eb620fcf970e412bb35f74900eb40ba7 | Exception in ASGI application Traceback (most recent call last): File "", line 1, in File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\spawn.py", line 116, in spawn_main exitcode = _main(fd, parent_sentinel) │ │ └ 340 │ └ 3 └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\spawn.py", line 129, in _main return self._bootstrap(parent_sentinel) │ │ └ 340 │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\process.py", line 315, in _bootstrap self.run() │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\process.py", line 108, in run self._target(*self._args, **self._kwargs) │ │ │ │ │ └ {'config': , 'target': │ │ │ └ () │ │ └ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\_subprocess.py", line 80, in subprocess_started target(sockets=sockets) │ └ [] └ > File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\server.py", line 66, in run return asyncio.run(self.serve(sockets=sockets)) │ │ │ │ └ [] │ │ │ └ │ │ └ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\runners.py", line 44, in run return loop.run_until_complete(main) │ │ └ │ └ └ <_WindowsSelectorEventLoop running=True closed=False debug=False> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 633, in run_until_complete self.run_forever() │ └ └ <_WindowsSelectorEventLoop running=True closed=False debug=False> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 600, in run_forever self._run_once() │ └ └ <_WindowsSelectorEventLoop running=True closed=False debug=False> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 1896, in _run_once handle._run() │ └ ()> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\events.py", line 80, in _run self._context.run(self._callback, *self._args) │ │ │ │ │ └ │ │ │ │ └ ()> │ │ │ └ │ │ └ ()> │ └ ()> > File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\protocols\http\h11_impl.py", line 403, in run_asgi result = await app( # type: ignore[func-returns-value] └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\middleware\proxy_headers.py", line 60, in __call__ return await self.app(scope, receive, send) │ │ │ │ └ > │ │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\fastapi\applications.py", line 1054, in __call__ await super().__call__(scope, receive, send) │ │ └ > │ └ > │ │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\errors.py", line 187, in __call__ raise exc File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\errors.py", line 165, in __call__ await self.app(scope, receive, _send) │ │ │ │ └ ._send at 0x000001AC3EFF2EF0> │ │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\cors.py", line 85, in __call__ await self.app(scope, receive, send) │ │ │ │ └ ._send at 0x000001AC3EFF2EF0> │ │ │ └ , header_name='... └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\asgi_correlation_id\middleware.py", line 90, in __call__ await self.app(scope, receive, handle_outgoing_request) │ │ │ │ └ .handle_outgoing_request at 0x000001AC42EE7760> │ │ │ └ └ CorrelationIdMiddleware(app=, header_name='... File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\exceptions.py", line 62, in __call__ await wrap_app_handling_exceptions(self.app, conn)(scope, receive, send) │ │ │ │ │ │ └ .handle_outgoing_request at 0x000001AC42EE7760> │ │ │ │ │ └ │ │ └ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 53, in wrapped_app raise exc File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 42, in wrapped_app await app(scope, receive, sender) │ │ │ └ .wrapped_app..sender at 0x000001AC5B291F30> │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 714, in __call__ await self.middleware_stack(scope, receive, send) │ │ │ │ └ .wrapped_app..sender at 0x000001AC5B291F30> │ │ │ └ > └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 734, in app await route.handle(scope, receive, send) │ │ │ │ └ .wrapped_app..sender at 0x000001AC5B291F30> │ │ │ └ └ APIRoute(path='/api/v1/trip/validate-trip-selection', name='validate_trip_selection', methods=['POST']) File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 288, in handle await self.app(scope, receive, send) │ │ │ │ └ .wrapped_app..sender at 0x000001AC5B291F30> │ │ │ └ .app at 0x000001AC12118430> └ APIRoute(path='/api/v1/trip/validate-trip-selection', name='validate_trip_selection', methods=['POST']) File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 76, in app await wrap_app_handling_exceptions(app, request)(scope, receive, send) │ │ │ │ │ └ .wrapped_app..sender at 0x000001AC5B291F30> │ │ │ │ └ │ └ .app..app at 0x000001AC5B291EA0> └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 53, in wrapped_app raise exc File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 42, in wrapped_app await app(scope, receive, sender) │ │ │ └ .wrapped_app..sender at 0x000001AC5B291FC0> │ │ └ .app..app at 0x000001AC5B291EA0> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 73, in app response = await f(request) │ └ .app at 0x000001AC121183A0> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\fastapi\routing.py", line 301, in app raw_response = await run_endpoint_function( └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\fastapi\routing.py", line 212, in run_endpoint_function return await dependant.call(**values) │ │ └ {'service': , 'request': └ Dependant(path_params=[], query_params=[], header_params=[], cookie_params=[], body_params=[], dependencies=[Dependant(path_p... File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\dependency_injector\wiring.py", line 1072, in _patched return await fn(*args, **kwargs) │ │ └ {'service': , 'request': File "C:\University-HCMUTE\InternFuta\ApiDialogflowChatbot\app\api\v1\trip.py", line 88, in validate_trip_selection rs: DialogServiceResult = await service.validate_trip_selection( │ └ File "C:\University-HCMUTE\InternFuta\ApiDialogflowChatbot\app\dialogflow\services\trip_service.py", line 294, in validate_trip_selection matched_trip = await self.find_trip_by_id( │ └ File "C:\University-HCMUTE\InternFuta\ApiDialogflowChatbot\app\dialogflow\services\trip_service.py", line 315, in find_trip_by_id return next((trip for trip in trips if trip.id == trip_id), None) │ └ 5898458 └ [{'id': 5896827, 'departure_time': 1750266000000, 'raw_departure_time': '00:00', 'raw_departure_date': '19-06-2025', 'arrival... File "C:\University-HCMUTE\InternFuta\ApiDialogflowChatbot\app\dialogflow\services\trip_service.py", line 315, in return next((trip for trip in trips if trip.id == trip_id), None) │ │ │ └ 5898458 │ │ └ {'id': 5896827, 'departure_time': 1750266000000, 'raw_departure_time': '00:00', 'raw_departure_date': '19-06-2025', 'arrival_... │ └ {'id': 5896827, 'departure_time': 1750266000000, 'raw_departure_time': '00:00', 'raw_departure_date': '19-06-2025', 'arrival_... └ {'id': 5896827, 'departure_time': 1750266000000, 'raw_departure_time': '00:00', 'raw_departure_date': '19-06-2025', 'arrival_... AttributeError: 'dict' object has no attribute 'id' 2025-06-18 11:38:01.301 | ERROR | 110e1cf1d0a34e49afaee81738619fec | Error parsing trip parameters 2025-06-18 11:43:36.111 | ERROR | 178d6ec697e94296b9d616f1a2946d5e | Error parsing trip parameters 2025-06-18 11:54:04.921 | ERROR | d02bcf03cd58413ea166698107e51b2b | Error parsing trip parameters 2025-06-18 13:27:16.478 | ERROR | b0f554a83df24f4bac81a1ca10b5a344 | Error parsing trip parameters 2025-06-18 13:30:02.243 | ERROR | 0e4b7a6d0e9c415498aeefef8c01eb33 | Error parsing trip parameters 1 validation error for SeatAvailableRequest trip_data.price Input should be a valid string [type=string_type, input_value=290000, input_type=int] For further information visit https://errors.pydantic.dev/2.11/v/string_type 2025-06-18 13:31:21.258 | ERROR | 885a5f7f95ee492982bae5ab6aef5866 | No seats found for trip 5898458 2025-06-18 13:51:47.544 | ERROR | e001d8c41f6646dea61513ae4179d18a | No seats found for trip 5898458 2025-06-18 13:58:03.668 | ERROR | e8c9b4e76ddc4e20a2ff50f72f7cfe27 | Exception in ASGI application Traceback (most recent call last): File "", line 1, in File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\spawn.py", line 116, in spawn_main exitcode = _main(fd, parent_sentinel) │ │ └ 332 │ └ 3 └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\spawn.py", line 129, in _main return self._bootstrap(parent_sentinel) │ │ └ 332 │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\process.py", line 315, in _bootstrap self.run() │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\process.py", line 108, in run self._target(*self._args, **self._kwargs) │ │ │ │ │ └ {'config': , 'target': │ │ │ └ () │ │ └ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\_subprocess.py", line 80, in subprocess_started target(sockets=sockets) │ └ [] └ > File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\server.py", line 66, in run return asyncio.run(self.serve(sockets=sockets)) │ │ │ │ └ [] │ │ │ └ │ │ └ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\runners.py", line 44, in run return loop.run_until_complete(main) │ │ └ │ └ └ <_WindowsSelectorEventLoop running=True closed=False debug=False> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 633, in run_until_complete self.run_forever() │ └ └ <_WindowsSelectorEventLoop running=True closed=False debug=False> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 600, in run_forever self._run_once() │ └ └ <_WindowsSelectorEventLoop running=True closed=False debug=False> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 1896, in _run_once handle._run() │ └ ()> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\events.py", line 80, in _run self._context.run(self._callback, *self._args) │ │ │ │ │ └ │ │ │ │ └ ()> │ │ │ └ │ │ └ ()> │ └ ()> > File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\protocols\http\h11_impl.py", line 403, in run_asgi result = await app( # type: ignore[func-returns-value] └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\middleware\proxy_headers.py", line 60, in __call__ return await self.app(scope, receive, send) │ │ │ │ └ > │ │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\fastapi\applications.py", line 1054, in __call__ await super().__call__(scope, receive, send) │ │ └ > │ └ > │ │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\errors.py", line 187, in __call__ raise exc File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\errors.py", line 165, in __call__ await self.app(scope, receive, _send) │ │ │ │ └ ._send at 0x0000023AE9D46E60> │ │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\cors.py", line 85, in __call__ await self.app(scope, receive, send) │ │ │ │ └ ._send at 0x0000023AE9D46E60> │ │ │ └ , header_name='... └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\asgi_correlation_id\middleware.py", line 90, in __call__ await self.app(scope, receive, handle_outgoing_request) │ │ │ │ └ .handle_outgoing_request at 0x0000023AE9D46B00> │ │ │ └ └ CorrelationIdMiddleware(app=, header_name='... File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\exceptions.py", line 62, in __call__ await wrap_app_handling_exceptions(self.app, conn)(scope, receive, send) │ │ │ │ │ │ └ .handle_outgoing_request at 0x0000023AE9D46B00> │ │ │ │ │ └ │ │ └ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 53, in wrapped_app raise exc File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 42, in wrapped_app await app(scope, receive, sender) │ │ │ └ .wrapped_app..sender at 0x0000023AE9D47010> │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 714, in __call__ await self.middleware_stack(scope, receive, send) │ │ │ │ └ .wrapped_app..sender at 0x0000023AE9D47010> │ │ │ └ > └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 734, in app await route.handle(scope, receive, send) │ │ │ │ └ .wrapped_app..sender at 0x0000023AE9D47010> │ │ │ └ └ APIRoute(path='/api/v1/trip/available-seat', name='fetch_available_seat', methods=['POST']) File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 288, in handle await self.app(scope, receive, send) │ │ │ │ └ .wrapped_app..sender at 0x0000023AE9D47010> │ │ │ └ .app at 0x0000023ABCE68700> └ APIRoute(path='/api/v1/trip/available-seat', name='fetch_available_seat', methods=['POST']) File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 76, in app await wrap_app_handling_exceptions(app, request)(scope, receive, send) │ │ │ │ │ └ .wrapped_app..sender at 0x0000023AE9D47010> │ │ │ │ └ │ └ .app..app at 0x0000023AE9D46C20> └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 53, in wrapped_app raise exc File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 42, in wrapped_app await app(scope, receive, sender) │ │ │ └ .wrapped_app..sender at 0x0000023AE9D46D40> │ │ └ .app..app at 0x0000023AE9D46C20> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 73, in app response = await f(request) │ └ .app at 0x0000023ABCE68670> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\fastapi\routing.py", line 301, in app raw_response = await run_endpoint_function( └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\fastapi\routing.py", line 212, in run_endpoint_function return await dependant.call(**values) │ │ └ {'service': , 'request': └ Dependant(path_params=[], query_params=[], header_params=[], cookie_params=[], body_params=[], dependencies=[Dependant(path_p... File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\dependency_injector\wiring.py", line 1072, in _patched return await fn(*args, **kwargs) │ │ └ {'service': , 'request': File "C:\University-HCMUTE\InternFuta\ApiDialogflowChatbot\app\api\v1\trip.py", line 111, in fetch_available_seat rs: DialogServiceResult = await service.get_available_seat(data.trip_data) │ │ │ └ TripDTO(id=5898458, route_id=405, way_id=177, route=Route(name='Mien Tay - Da Lat'), raw_departure_date='19-06-2025', raw_dep... │ │ └ SeatAvailableRequest(trip_data=TripDTO(id=5898458, route_id=405, way_id=177, route=Route(name='Mien Tay - Da Lat'), raw_depar... │ └ File "C:\University-HCMUTE\InternFuta\ApiDialogflowChatbot\app\dialogflow\services\trip_service.py", line 346, in get_available_seat text = f"Chuyến xe {trip.route_name} có {len(available_seats)} ghế trống" File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\pydantic\main.py", line 994, in __getattr__ raise AttributeError(f'{type(self).__name__!r} object has no attribute {item!r}') AttributeError: 'TripDTO' object has no attribute 'route_name' 2025-06-18 13:58:04.942 | ERROR | 298d675034b34babb998d7415a3e20ae | Exception in ASGI application Traceback (most recent call last): File "", line 1, in File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\spawn.py", line 116, in spawn_main exitcode = _main(fd, parent_sentinel) │ │ └ 332 │ └ 3 └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\spawn.py", line 129, in _main return self._bootstrap(parent_sentinel) │ │ └ 332 │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\process.py", line 315, in _bootstrap self.run() │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\process.py", line 108, in run self._target(*self._args, **self._kwargs) │ │ │ │ │ └ {'config': , 'target': │ │ │ └ () │ │ └ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\_subprocess.py", line 80, in subprocess_started target(sockets=sockets) │ └ [] └ > File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\server.py", line 66, in run return asyncio.run(self.serve(sockets=sockets)) │ │ │ │ └ [] │ │ │ └ │ │ └ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\runners.py", line 44, in run return loop.run_until_complete(main) │ │ └ │ └ └ <_WindowsSelectorEventLoop running=True closed=False debug=False> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 633, in run_until_complete self.run_forever() │ └ └ <_WindowsSelectorEventLoop running=True closed=False debug=False> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 600, in run_forever self._run_once() │ └ └ <_WindowsSelectorEventLoop running=True closed=False debug=False> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 1896, in _run_once handle._run() │ └ ()> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\events.py", line 80, in _run self._context.run(self._callback, *self._args) │ │ │ │ │ └ │ │ │ │ └ ()> │ │ │ └ │ │ └ ()> │ └ ()> > File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\protocols\http\h11_impl.py", line 403, in run_asgi result = await app( # type: ignore[func-returns-value] └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\middleware\proxy_headers.py", line 60, in __call__ return await self.app(scope, receive, send) │ │ │ │ └ > │ │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\fastapi\applications.py", line 1054, in __call__ await super().__call__(scope, receive, send) │ │ └ > │ └ > │ │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\errors.py", line 187, in __call__ raise exc File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\errors.py", line 165, in __call__ await self.app(scope, receive, _send) │ │ │ │ └ ._send at 0x0000023ABCE69CF0> │ │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\cors.py", line 85, in __call__ await self.app(scope, receive, send) │ │ │ │ └ ._send at 0x0000023ABCE69CF0> │ │ │ └ , header_name='... └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\asgi_correlation_id\middleware.py", line 90, in __call__ await self.app(scope, receive, handle_outgoing_request) │ │ │ │ └ .handle_outgoing_request at 0x0000023AE9E53A30> │ │ │ └ └ CorrelationIdMiddleware(app=, header_name='... File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\exceptions.py", line 62, in __call__ await wrap_app_handling_exceptions(self.app, conn)(scope, receive, send) │ │ │ │ │ │ └ .handle_outgoing_request at 0x0000023AE9E53A30> │ │ │ │ │ └ │ │ └ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 53, in wrapped_app raise exc File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 42, in wrapped_app await app(scope, receive, sender) │ │ │ └ .wrapped_app..sender at 0x0000023AE9E535B0> │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 714, in __call__ await self.middleware_stack(scope, receive, send) │ │ │ │ └ .wrapped_app..sender at 0x0000023AE9E535B0> │ │ │ └ > └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 734, in app await route.handle(scope, receive, send) │ │ │ │ └ .wrapped_app..sender at 0x0000023AE9E535B0> │ │ │ └ └ APIRoute(path='/api/v1/trip/available-seat', name='fetch_available_seat', methods=['POST']) File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 288, in handle await self.app(scope, receive, send) │ │ │ │ └ .wrapped_app..sender at 0x0000023AE9E535B0> │ │ │ └ .app at 0x0000023ABCE68700> └ APIRoute(path='/api/v1/trip/available-seat', name='fetch_available_seat', methods=['POST']) File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 76, in app await wrap_app_handling_exceptions(app, request)(scope, receive, send) │ │ │ │ │ └ .wrapped_app..sender at 0x0000023AE9E535B0> │ │ │ │ └ │ └ .app..app at 0x0000023AE9E53370> └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 53, in wrapped_app raise exc File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 42, in wrapped_app await app(scope, receive, sender) │ │ │ └ .wrapped_app..sender at 0x0000023A820E31C0> │ │ └ .app..app at 0x0000023AE9E53370> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 73, in app response = await f(request) │ └ .app at 0x0000023ABCE68670> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\fastapi\routing.py", line 301, in app raw_response = await run_endpoint_function( └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\fastapi\routing.py", line 212, in run_endpoint_function return await dependant.call(**values) │ │ └ {'service': , 'request': └ Dependant(path_params=[], query_params=[], header_params=[], cookie_params=[], body_params=[], dependencies=[Dependant(path_p... File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\dependency_injector\wiring.py", line 1072, in _patched return await fn(*args, **kwargs) │ │ └ {'service': , 'request': File "C:\University-HCMUTE\InternFuta\ApiDialogflowChatbot\app\api\v1\trip.py", line 111, in fetch_available_seat rs: DialogServiceResult = await service.get_available_seat(data.trip_data) │ │ │ └ TripDTO(id=5898458, route_id=405, way_id=177, route=Route(name='Mien Tay - Da Lat'), raw_departure_date='19-06-2025', raw_dep... │ │ └ SeatAvailableRequest(trip_data=TripDTO(id=5898458, route_id=405, way_id=177, route=Route(name='Mien Tay - Da Lat'), raw_depar... │ └ File "C:\University-HCMUTE\InternFuta\ApiDialogflowChatbot\app\dialogflow\services\trip_service.py", line 346, in get_available_seat text = f"Chuyến xe {trip.route_name} có {len(available_seats)} ghế trống" File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\pydantic\main.py", line 994, in __getattr__ raise AttributeError(f'{type(self).__name__!r} object has no attribute {item!r}') AttributeError: 'TripDTO' object has no attribute 'route_name' 2025-06-18 14:05:17.751 | ERROR | 893ec8ee0611491dbad33f73f86019ac | Invalid trip selection data 2025-06-18 14:06:56.333 | ERROR | b383a92821194ac48e362942d8e385de | Invalid trip selection data 2025-06-18 14:20:17.840 | ERROR | 6293b0c546354b0c86cb055529b63212 | Invalid seat selection data 2025-06-18 14:20:17.846 | ERROR | 6293b0c546354b0c86cb055529b63212 | Exception in ASGI application Traceback (most recent call last): File "", line 1, in File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\spawn.py", line 116, in spawn_main exitcode = _main(fd, parent_sentinel) │ │ └ 360 │ └ 3 └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\spawn.py", line 129, in _main return self._bootstrap(parent_sentinel) │ │ └ 360 │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\process.py", line 315, in _bootstrap self.run() │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\process.py", line 108, in run self._target(*self._args, **self._kwargs) │ │ │ │ │ └ {'config': , 'target': │ │ │ └ () │ │ └ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\_subprocess.py", line 80, in subprocess_started target(sockets=sockets) │ └ [] └ > File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\server.py", line 66, in run return asyncio.run(self.serve(sockets=sockets)) │ │ │ │ └ [] │ │ │ └ │ │ └ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\runners.py", line 44, in run return loop.run_until_complete(main) │ │ └ │ └ └ <_WindowsSelectorEventLoop running=True closed=False debug=False> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 633, in run_until_complete self.run_forever() │ └ └ <_WindowsSelectorEventLoop running=True closed=False debug=False> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 600, in run_forever self._run_once() │ └ └ <_WindowsSelectorEventLoop running=True closed=False debug=False> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 1896, in _run_once handle._run() │ └ )> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\events.py", line 80, in _run self._context.run(self._callback, *self._args) │ │ │ │ │ └ │ │ │ │ └ )> │ │ │ └ │ │ └ )> │ └ )> > File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\protocols\http\h11_impl.py", line 403, in run_asgi result = await app( # type: ignore[func-returns-value] └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\middleware\proxy_headers.py", line 60, in __call__ return await self.app(scope, receive, send) │ │ │ │ └ > │ │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\fastapi\applications.py", line 1054, in __call__ await super().__call__(scope, receive, send) │ │ └ > │ └ > │ │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\errors.py", line 187, in __call__ raise exc File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\errors.py", line 165, in __call__ await self.app(scope, receive, _send) │ │ │ │ └ ._send at 0x000001F47A75B0A0> │ │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\cors.py", line 85, in __call__ await self.app(scope, receive, send) │ │ │ │ └ ._send at 0x000001F47A75B0A0> │ │ │ └ , header_name='... └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\asgi_correlation_id\middleware.py", line 90, in __call__ await self.app(scope, receive, handle_outgoing_request) │ │ │ │ └ .handle_outgoing_request at 0x000001F47A75AE60> │ │ │ └ └ CorrelationIdMiddleware(app=, header_name='... File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\exceptions.py", line 62, in __call__ await wrap_app_handling_exceptions(self.app, conn)(scope, receive, send) │ │ │ │ │ │ └ .handle_outgoing_request at 0x000001F47A75AE60> │ │ │ │ │ └ │ │ └ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 53, in wrapped_app raise exc File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 42, in wrapped_app await app(scope, receive, sender) │ │ │ └ .wrapped_app..sender at 0x000001F47A75AD40> │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 714, in __call__ await self.middleware_stack(scope, receive, send) │ │ │ │ └ .wrapped_app..sender at 0x000001F47A75AD40> │ │ │ └ > └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 734, in app await route.handle(scope, receive, send) │ │ │ │ └ .wrapped_app..sender at 0x000001F47A75AD40> │ │ │ └ └ APIRoute(path='/api/v1/trip/validate-seat-selection', name='validate_seat_selection', methods=['POST']) File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 288, in handle await self.app(scope, receive, send) │ │ │ │ └ .wrapped_app..sender at 0x000001F47A75AD40> │ │ │ └ .app at 0x000001F44D878940> └ APIRoute(path='/api/v1/trip/validate-seat-selection', name='validate_seat_selection', methods=['POST']) File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 76, in app await wrap_app_handling_exceptions(app, request)(scope, receive, send) │ │ │ │ │ └ .wrapped_app..sender at 0x000001F47A75AD40> │ │ │ │ └ │ └ .app..app at 0x000001F47A75B7F0> └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 53, in wrapped_app raise exc File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 42, in wrapped_app await app(scope, receive, sender) │ │ │ └ .wrapped_app..sender at 0x000001F47A75AF80> │ │ └ .app..app at 0x000001F47A75B7F0> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 73, in app response = await f(request) │ └ .app at 0x000001F44D8788B0> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\fastapi\routing.py", line 301, in app raw_response = await run_endpoint_function( └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\fastapi\routing.py", line 212, in run_endpoint_function return await dependant.call(**values) │ │ └ {'service': , 'request': └ Dependant(path_params=[], query_params=[], header_params=[], cookie_params=[], body_params=[], dependencies=[Dependant(path_p... File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\dependency_injector\wiring.py", line 1072, in _patched return await fn(*args, **kwargs) │ │ └ {'service': , 'request': File "C:\University-HCMUTE\InternFuta\ApiDialogflowChatbot\app\api\v1\trip.py", line 138, in validate_seat_selection rs: DialogServiceResult = await service.validate_seat_selection( │ └ TypeError: object DialogServiceResult can't be used in 'await' expression 2025-06-18 14:20:18.637 | ERROR | 46c6c23ff99a4166b0da4bd80de48e02 | Invalid seat selection data 2025-06-18 14:20:18.641 | ERROR | 46c6c23ff99a4166b0da4bd80de48e02 | Exception in ASGI application Traceback (most recent call last): File "", line 1, in File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\spawn.py", line 116, in spawn_main exitcode = _main(fd, parent_sentinel) │ │ └ 360 │ └ 3 └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\spawn.py", line 129, in _main return self._bootstrap(parent_sentinel) │ │ └ 360 │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\process.py", line 315, in _bootstrap self.run() │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\process.py", line 108, in run self._target(*self._args, **self._kwargs) │ │ │ │ │ └ {'config': , 'target': │ │ │ └ () │ │ └ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\_subprocess.py", line 80, in subprocess_started target(sockets=sockets) │ └ [] └ > File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\server.py", line 66, in run return asyncio.run(self.serve(sockets=sockets)) │ │ │ │ └ [] │ │ │ └ │ │ └ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\runners.py", line 44, in run return loop.run_until_complete(main) │ │ └ │ └ └ <_WindowsSelectorEventLoop running=True closed=False debug=False> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 633, in run_until_complete self.run_forever() │ └ └ <_WindowsSelectorEventLoop running=True closed=False debug=False> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 600, in run_forever self._run_once() │ └ └ <_WindowsSelectorEventLoop running=True closed=False debug=False> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 1896, in _run_once handle._run() │ └ )> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\events.py", line 80, in _run self._context.run(self._callback, *self._args) │ │ │ │ │ └ │ │ │ │ └ )> │ │ │ └ │ │ └ )> │ └ )> > File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\protocols\http\h11_impl.py", line 403, in run_asgi result = await app( # type: ignore[func-returns-value] └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\middleware\proxy_headers.py", line 60, in __call__ return await self.app(scope, receive, send) │ │ │ │ └ > │ │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\fastapi\applications.py", line 1054, in __call__ await super().__call__(scope, receive, send) │ │ └ > │ └ > │ │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\errors.py", line 187, in __call__ raise exc File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\errors.py", line 165, in __call__ await self.app(scope, receive, _send) │ │ │ │ └ ._send at 0x000001F47A857640> │ │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\cors.py", line 85, in __call__ await self.app(scope, receive, send) │ │ │ │ └ ._send at 0x000001F47A857640> │ │ │ └ , header_name='... └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\asgi_correlation_id\middleware.py", line 90, in __call__ await self.app(scope, receive, handle_outgoing_request) │ │ │ │ └ .handle_outgoing_request at 0x000001F47A857AC0> │ │ │ └ └ CorrelationIdMiddleware(app=, header_name='... File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\exceptions.py", line 62, in __call__ await wrap_app_handling_exceptions(self.app, conn)(scope, receive, send) │ │ │ │ │ │ └ .handle_outgoing_request at 0x000001F47A857AC0> │ │ │ │ │ └ │ │ └ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 53, in wrapped_app raise exc File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 42, in wrapped_app await app(scope, receive, sender) │ │ │ └ .wrapped_app..sender at 0x000001F40496D360> │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 714, in __call__ await self.middleware_stack(scope, receive, send) │ │ │ │ └ .wrapped_app..sender at 0x000001F40496D360> │ │ │ └ > └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 734, in app await route.handle(scope, receive, send) │ │ │ │ └ .wrapped_app..sender at 0x000001F40496D360> │ │ │ └ └ APIRoute(path='/api/v1/trip/validate-seat-selection', name='validate_seat_selection', methods=['POST']) File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 288, in handle await self.app(scope, receive, send) │ │ │ │ └ .wrapped_app..sender at 0x000001F40496D360> │ │ │ └ .app at 0x000001F44D878940> └ APIRoute(path='/api/v1/trip/validate-seat-selection', name='validate_seat_selection', methods=['POST']) File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 76, in app await wrap_app_handling_exceptions(app, request)(scope, receive, send) │ │ │ │ │ └ .wrapped_app..sender at 0x000001F40496D360> │ │ │ │ └ │ └ .app..app at 0x000001F40496D480> └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 53, in wrapped_app raise exc File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 42, in wrapped_app await app(scope, receive, sender) │ │ │ └ .wrapped_app..sender at 0x000001F40496D510> │ │ └ .app..app at 0x000001F40496D480> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 73, in app response = await f(request) │ └ .app at 0x000001F44D8788B0> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\fastapi\routing.py", line 301, in app raw_response = await run_endpoint_function( └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\fastapi\routing.py", line 212, in run_endpoint_function return await dependant.call(**values) │ │ └ {'service': , 'request': └ Dependant(path_params=[], query_params=[], header_params=[], cookie_params=[], body_params=[], dependencies=[Dependant(path_p... File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\dependency_injector\wiring.py", line 1072, in _patched return await fn(*args, **kwargs) │ │ └ {'service': , 'request': File "C:\University-HCMUTE\InternFuta\ApiDialogflowChatbot\app\api\v1\trip.py", line 138, in validate_seat_selection rs: DialogServiceResult = await service.validate_seat_selection( │ └ TypeError: object DialogServiceResult can't be used in 'await' expression 2025-06-18 14:23:59.876 | ERROR | 9f2fd6f5f3384fedb9df2a85945f0923 | No seats found for trip 5898458 2025-06-18 14:24:01.749 | ERROR | 162e1241323044b8a5342e252bf8dd54 | Invalid seat selection data 2025-06-18 14:24:06.333 | ERROR | b2d54bd9cc9e400390f53bce7c5b7a35 | Invalid seat selection data 2025-06-18 14:24:15.145 | ERROR | 622e5cf0ca7945428bd679c4bab13ae1 | Invalid seat selection data 2025-06-18 14:24:19.394 | ERROR | 0000c1500ac34c34995641b09be05677 | Invalid seat selection data 2025-06-18 14:24:24.558 | ERROR | 8a9bce21363e4f76a5392ac36416836f | Invalid seat selection data 2025-06-18 14:24:28.457 | ERROR | d02df88993734e57b519668fdd68f246 | Invalid seat selection data 2025-06-18 14:24:31.177 | ERROR | 34fb998947eb4e099118189ae96fe8f1 | Invalid seat selection data 2025-06-18 14:24:34.625 | ERROR | 1297020af5c24d289af0ff7c3d6a6631 | Invalid seat selection data 2025-06-18 14:24:41.242 | ERROR | 80c6333ac71c4ecd8067fcc4bb0e9ac0 | Invalid seat selection data 2025-06-18 14:24:45.180 | ERROR | b3b00782d0dc43879fdaedc8d11bf2dc | Invalid seat selection data 2025-06-18 14:24:50.265 | ERROR | 310494cdedef495fb77ae8ae97376382 | Invalid seat selection data 2025-06-18 14:31:22.935 | ERROR | f62c0ad10bf84fd3a7dc81ebbed3ccca | Invalid seat selection data 2025-06-18 14:31:24.977 | ERROR | b3a11477bd524fef97389cd9db68730c | Invalid seat selection data 2025-06-18 14:31:27.001 | ERROR | 03cd5b86560944e99805747f417a1ea2 | Invalid seat selection data 2025-06-18 14:31:30.090 | ERROR | 80daf5b20acd404bbdf087c36a5b48c9 | Invalid seat selection data 2025-06-18 14:31:32.220 | ERROR | 5eee64e77f4b4ab780b99380698f313a | Invalid seat selection data 2025-06-18 14:31:34.468 | ERROR | 214e7a2c26b54d578681bc23b224267c | Invalid seat selection data 2025-06-18 14:31:36.490 | ERROR | 1bc829130fd14f548d93766ce487eedc | Invalid seat selection data 2025-06-18 14:31:38.841 | ERROR | 1ec3cd26e4854580ad81c651ac43cad1 | Invalid seat selection data 2025-06-18 14:31:40.500 | ERROR | 02830d9b474b480eb9cb4a718c5edcba | Invalid seat selection data 2025-06-18 14:31:42.764 | ERROR | bbc180603a5c4edba98847194dbba21e | Invalid seat selection data 2025-06-18 14:31:44.439 | ERROR | 2bf994b0e8914ff397b427e6de18dff1 | Invalid seat selection data 2025-06-18 14:31:47.042 | ERROR | f0c2e5eb0ed549fda5b5c05903162c7e | Invalid seat selection data 2025-06-18 14:31:49.303 | ERROR | 153c42d4f8494970bec59525e1821f6c | Invalid seat selection data 2025-06-18 14:31:51.146 | ERROR | d46b64ce050a45bca860ad3ed557f4b6 | Invalid seat selection data 2025-06-18 14:31:53.108 | ERROR | c6757fd7530346d6918719443633b072 | Invalid seat selection data 2025-06-18 14:31:54.583 | ERROR | 1410a415b91f422d927e5d64370d9e7d | Invalid seat selection data 2025-06-18 14:31:56.940 | ERROR | 6195b0528c7f4f7dbadf801872677f91 | Invalid seat selection data 2025-06-18 14:31:58.991 | ERROR | a4888bc7521045a0bf30e0ffcb72c539 | Invalid seat selection data 2025-06-18 14:32:00.984 | ERROR | 26af38b943b74dae80e18a0c50f70b04 | Invalid seat selection data 2025-06-18 14:32:04.014 | ERROR | c0ee8506af5c4d1883ee0a7eab6a58a1 | Invalid seat selection data 2025-06-18 14:32:06.503 | ERROR | 5b9329ebad8a444b866cbf6bcc94bdbc | Invalid seat selection data 2025-06-18 14:32:08.251 | ERROR | 6e59a3900aa4483293efb0b2f399ab45 | Invalid seat selection data 2025-06-18 14:32:09.836 | ERROR | 839a547ceef14d46accb46f72700dbee | Invalid seat selection data 2025-06-18 14:32:11.952 | ERROR | 94fe7e1f00d4429a92b7372b0f5a8b10 | Invalid seat selection data 2025-06-18 14:37:31.420 | ERROR | 3986f57256194b0b9d43e6c11679ff4e | Exception in ASGI application Traceback (most recent call last): File "", line 1, in File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\spawn.py", line 116, in spawn_main exitcode = _main(fd, parent_sentinel) │ │ └ 368 │ └ 3 └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\spawn.py", line 129, in _main return self._bootstrap(parent_sentinel) │ │ └ 368 │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\process.py", line 315, in _bootstrap self.run() │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\process.py", line 108, in run self._target(*self._args, **self._kwargs) │ │ │ │ │ └ {'config': , 'target': │ │ │ └ () │ │ └ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\_subprocess.py", line 80, in subprocess_started target(sockets=sockets) │ └ [] └ > File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\server.py", line 66, in run return asyncio.run(self.serve(sockets=sockets)) │ │ │ │ └ [] │ │ │ └ │ │ └ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\runners.py", line 44, in run return loop.run_until_complete(main) │ │ └ │ └ └ <_WindowsSelectorEventLoop running=True closed=False debug=False> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 633, in run_until_complete self.run_forever() │ └ └ <_WindowsSelectorEventLoop running=True closed=False debug=False> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 600, in run_forever self._run_once() │ └ └ <_WindowsSelectorEventLoop running=True closed=False debug=False> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 1896, in _run_once handle._run() │ └ )> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\events.py", line 80, in _run self._context.run(self._callback, *self._args) │ │ │ │ │ └ │ │ │ │ └ )> │ │ │ └ │ │ └ )> │ └ )> > File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\protocols\http\h11_impl.py", line 403, in run_asgi result = await app( # type: ignore[func-returns-value] └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\middleware\proxy_headers.py", line 60, in __call__ return await self.app(scope, receive, send) │ │ │ │ └ > │ │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\fastapi\applications.py", line 1054, in __call__ await super().__call__(scope, receive, send) │ │ └ > │ └ > │ │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\errors.py", line 187, in __call__ raise exc File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\errors.py", line 165, in __call__ await self.app(scope, receive, _send) │ │ │ │ └ ._send at 0x0000025051AC6EF0> │ │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\cors.py", line 85, in __call__ await self.app(scope, receive, send) │ │ │ │ └ ._send at 0x0000025051AC6EF0> │ │ │ └ , header_name='... └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\asgi_correlation_id\middleware.py", line 90, in __call__ await self.app(scope, receive, handle_outgoing_request) │ │ │ │ └ .handle_outgoing_request at 0x0000025051AC70A0> │ │ │ └ └ CorrelationIdMiddleware(app=, header_name='... File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\exceptions.py", line 62, in __call__ await wrap_app_handling_exceptions(self.app, conn)(scope, receive, send) │ │ │ │ │ │ └ .handle_outgoing_request at 0x0000025051AC70A0> │ │ │ │ │ └ │ │ └ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 53, in wrapped_app raise exc File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 42, in wrapped_app await app(scope, receive, sender) │ │ │ └ .wrapped_app..sender at 0x0000025051AC6F80> │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 714, in __call__ await self.middleware_stack(scope, receive, send) │ │ │ │ └ .wrapped_app..sender at 0x0000025051AC6F80> │ │ │ └ > └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 734, in app await route.handle(scope, receive, send) │ │ │ │ └ .wrapped_app..sender at 0x0000025051AC6F80> │ │ │ └ └ APIRoute(path='/api/v1/trip/validate-seat-selection', name='validate_seat_selection', methods=['POST']) File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 288, in handle await self.app(scope, receive, send) │ │ │ │ └ .wrapped_app..sender at 0x0000025051AC6F80> │ │ │ └ .app at 0x0000025024BE88B0> └ APIRoute(path='/api/v1/trip/validate-seat-selection', name='validate_seat_selection', methods=['POST']) File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 76, in app await wrap_app_handling_exceptions(app, request)(scope, receive, send) │ │ │ │ │ └ .wrapped_app..sender at 0x0000025051AC6F80> │ │ │ │ └ │ └ .app..app at 0x0000025051AC7760> └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 53, in wrapped_app raise exc File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 42, in wrapped_app await app(scope, receive, sender) │ │ │ └ .wrapped_app..sender at 0x0000025051AC6CB0> │ │ └ .app..app at 0x0000025051AC7760> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 73, in app response = await f(request) │ └ .app at 0x0000025024BE8820> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\fastapi\routing.py", line 301, in app raw_response = await run_endpoint_function( └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\fastapi\routing.py", line 212, in run_endpoint_function return await dependant.call(**values) │ │ └ {'service': , 'request': └ Dependant(path_params=[], query_params=[], header_params=[], cookie_params=[], body_params=[], dependencies=[Dependant(path_p... File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\dependency_injector\wiring.py", line 1072, in _patched return await fn(*args, **kwargs) │ │ └ {'service': , 'request': File "C:\University-HCMUTE\InternFuta\ApiDialogflowChatbot\app\api\v1\trip.py", line 138, in validate_seat_selection rs: DialogServiceResult = await service.validate_seat_selection( │ └ File "C:\University-HCMUTE\InternFuta\ApiDialogflowChatbot\app\dialogflow\services\trip_service.py", line 370, in validate_seat_selection if selected.lower() in [s.get("chair").lower() for s in seats]: │ │ └ │ └ └ 'a11' TypeError: 'coroutine' object is not iterable 2025-06-18 14:37:32.165 | ERROR | 2df2e1f8be37425ba5ad4060ac491e8d | Exception in ASGI application Traceback (most recent call last): File "", line 1, in File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\spawn.py", line 116, in spawn_main exitcode = _main(fd, parent_sentinel) │ │ └ 368 │ └ 3 └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\spawn.py", line 129, in _main return self._bootstrap(parent_sentinel) │ │ └ 368 │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\process.py", line 315, in _bootstrap self.run() │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\process.py", line 108, in run self._target(*self._args, **self._kwargs) │ │ │ │ │ └ {'config': , 'target': │ │ │ └ () │ │ └ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\_subprocess.py", line 80, in subprocess_started target(sockets=sockets) │ └ [] └ > File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\server.py", line 66, in run return asyncio.run(self.serve(sockets=sockets)) │ │ │ │ └ [] │ │ │ └ │ │ └ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\runners.py", line 44, in run return loop.run_until_complete(main) │ │ └ │ └ └ <_WindowsSelectorEventLoop running=True closed=False debug=False> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 633, in run_until_complete self.run_forever() │ └ └ <_WindowsSelectorEventLoop running=True closed=False debug=False> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 600, in run_forever self._run_once() │ └ └ <_WindowsSelectorEventLoop running=True closed=False debug=False> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 1896, in _run_once handle._run() │ └ )> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\events.py", line 80, in _run self._context.run(self._callback, *self._args) │ │ │ │ │ └ │ │ │ │ └ )> │ │ │ └ │ │ └ )> │ └ )> > File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\protocols\http\h11_impl.py", line 403, in run_asgi result = await app( # type: ignore[func-returns-value] └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\middleware\proxy_headers.py", line 60, in __call__ return await self.app(scope, receive, send) │ │ │ │ └ > │ │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\fastapi\applications.py", line 1054, in __call__ await super().__call__(scope, receive, send) │ │ └ > │ └ > │ │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\errors.py", line 187, in __call__ raise exc File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\errors.py", line 165, in __call__ await self.app(scope, receive, _send) │ │ │ │ └ ._send at 0x0000025051AC6B90> │ │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\cors.py", line 85, in __call__ await self.app(scope, receive, send) │ │ │ │ └ ._send at 0x0000025051AC6B90> │ │ │ └ , header_name='... └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\asgi_correlation_id\middleware.py", line 90, in __call__ await self.app(scope, receive, handle_outgoing_request) │ │ │ │ └ .handle_outgoing_request at 0x00000250538A9F30> │ │ │ └ └ CorrelationIdMiddleware(app=, header_name='... File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\exceptions.py", line 62, in __call__ await wrap_app_handling_exceptions(self.app, conn)(scope, receive, send) │ │ │ │ │ │ └ .handle_outgoing_request at 0x00000250538A9F30> │ │ │ │ │ └ │ │ └ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 53, in wrapped_app raise exc File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 42, in wrapped_app await app(scope, receive, sender) │ │ │ └ .wrapped_app..sender at 0x00000250538A9EA0> │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 714, in __call__ await self.middleware_stack(scope, receive, send) │ │ │ │ └ .wrapped_app..sender at 0x00000250538A9EA0> │ │ │ └ > └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 734, in app await route.handle(scope, receive, send) │ │ │ │ └ .wrapped_app..sender at 0x00000250538A9EA0> │ │ │ └ └ APIRoute(path='/api/v1/trip/validate-seat-selection', name='validate_seat_selection', methods=['POST']) File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 288, in handle await self.app(scope, receive, send) │ │ │ │ └ .wrapped_app..sender at 0x00000250538A9EA0> │ │ │ └ .app at 0x0000025024BE88B0> └ APIRoute(path='/api/v1/trip/validate-seat-selection', name='validate_seat_selection', methods=['POST']) File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 76, in app await wrap_app_handling_exceptions(app, request)(scope, receive, send) │ │ │ │ │ └ .wrapped_app..sender at 0x00000250538A9EA0> │ │ │ │ └ │ └ .app..app at 0x00000250538A9FC0> └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 53, in wrapped_app raise exc File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 42, in wrapped_app await app(scope, receive, sender) │ │ │ └ .wrapped_app..sender at 0x00000250538A9E10> │ │ └ .app..app at 0x00000250538A9FC0> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 73, in app response = await f(request) │ └ .app at 0x0000025024BE8820> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\fastapi\routing.py", line 301, in app raw_response = await run_endpoint_function( └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\fastapi\routing.py", line 212, in run_endpoint_function return await dependant.call(**values) │ │ └ {'service': , 'request': └ Dependant(path_params=[], query_params=[], header_params=[], cookie_params=[], body_params=[], dependencies=[Dependant(path_p... File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\dependency_injector\wiring.py", line 1072, in _patched return await fn(*args, **kwargs) │ │ └ {'service': , 'request': File "C:\University-HCMUTE\InternFuta\ApiDialogflowChatbot\app\api\v1\trip.py", line 138, in validate_seat_selection rs: DialogServiceResult = await service.validate_seat_selection( │ └ File "C:\University-HCMUTE\InternFuta\ApiDialogflowChatbot\app\dialogflow\services\trip_service.py", line 370, in validate_seat_selection if selected.lower() in [s.get("chair").lower() for s in seats]: │ │ └ │ └ └ 'a11' TypeError: 'coroutine' object is not iterable 2025-06-18 14:40:41.769 | ERROR | d5e666806083405285952f0b4be7de36 | Exception in ASGI application Traceback (most recent call last): File "", line 1, in File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\spawn.py", line 116, in spawn_main exitcode = _main(fd, parent_sentinel) │ │ └ 336 │ └ 3 └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\spawn.py", line 129, in _main return self._bootstrap(parent_sentinel) │ │ └ 336 │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\process.py", line 315, in _bootstrap self.run() │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\process.py", line 108, in run self._target(*self._args, **self._kwargs) │ │ │ │ │ └ {'config': , 'target': │ │ │ └ () │ │ └ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\_subprocess.py", line 80, in subprocess_started target(sockets=sockets) │ └ [] └ > File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\server.py", line 66, in run return asyncio.run(self.serve(sockets=sockets)) │ │ │ │ └ [] │ │ │ └ │ │ └ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\runners.py", line 44, in run return loop.run_until_complete(main) │ │ └ │ └ └ <_WindowsSelectorEventLoop running=True closed=False debug=False> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 633, in run_until_complete self.run_forever() │ └ └ <_WindowsSelectorEventLoop running=True closed=False debug=False> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 600, in run_forever self._run_once() │ └ └ <_WindowsSelectorEventLoop running=True closed=False debug=False> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 1896, in _run_once handle._run() │ └ )> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\events.py", line 80, in _run self._context.run(self._callback, *self._args) │ │ │ │ │ └ │ │ │ │ └ )> │ │ │ └ │ │ └ )> │ └ )> > File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\protocols\http\h11_impl.py", line 403, in run_asgi result = await app( # type: ignore[func-returns-value] └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\middleware\proxy_headers.py", line 60, in __call__ return await self.app(scope, receive, send) │ │ │ │ └ > │ │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\fastapi\applications.py", line 1054, in __call__ await super().__call__(scope, receive, send) │ │ └ > │ └ > │ │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\errors.py", line 187, in __call__ raise exc File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\errors.py", line 165, in __call__ await self.app(scope, receive, _send) │ │ │ │ └ ._send at 0x0000026FBD91AB90> │ │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\cors.py", line 85, in __call__ await self.app(scope, receive, send) │ │ │ │ └ ._send at 0x0000026FBD91AB90> │ │ │ └ , header_name='... └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\asgi_correlation_id\middleware.py", line 90, in __call__ await self.app(scope, receive, handle_outgoing_request) │ │ │ │ └ .handle_outgoing_request at 0x0000026FBD91B0A0> │ │ │ └ └ CorrelationIdMiddleware(app=, header_name='... File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\exceptions.py", line 62, in __call__ await wrap_app_handling_exceptions(self.app, conn)(scope, receive, send) │ │ │ │ │ │ └ .handle_outgoing_request at 0x0000026FBD91B0A0> │ │ │ │ │ └ │ │ └ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 53, in wrapped_app raise exc File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 42, in wrapped_app await app(scope, receive, sender) │ │ │ └ .wrapped_app..sender at 0x0000026FBD91ADD0> │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 714, in __call__ await self.middleware_stack(scope, receive, send) │ │ │ │ └ .wrapped_app..sender at 0x0000026FBD91ADD0> │ │ │ └ > └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 734, in app await route.handle(scope, receive, send) │ │ │ │ └ .wrapped_app..sender at 0x0000026FBD91ADD0> │ │ │ └ └ APIRoute(path='/api/v1/user/info', name='get_user_info', methods=['POST']) File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 288, in handle await self.app(scope, receive, send) │ │ │ │ └ .wrapped_app..sender at 0x0000026FBD91ADD0> │ │ │ └ .app at 0x0000026F90A391B0> └ APIRoute(path='/api/v1/user/info', name='get_user_info', methods=['POST']) File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 76, in app await wrap_app_handling_exceptions(app, request)(scope, receive, send) │ │ │ │ │ └ .wrapped_app..sender at 0x0000026FBD91ADD0> │ │ │ │ └ │ └ .app..app at 0x0000026FBD91AF80> └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 53, in wrapped_app raise exc File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 42, in wrapped_app await app(scope, receive, sender) │ │ │ └ .wrapped_app..sender at 0x0000026FBD91ACB0> │ │ └ .app..app at 0x0000026FBD91AF80> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 73, in app response = await f(request) │ └ .app at 0x0000026F90A39120> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\fastapi\routing.py", line 301, in app raw_response = await run_endpoint_function( └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\fastapi\routing.py", line 212, in run_endpoint_function return await dependant.call(**values) │ │ └ {'service': , 'request': └ Dependant(path_params=[], query_params=[], header_params=[], cookie_params=[], body_params=[], dependencies=[Dependant(path_p... File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\dependency_injector\wiring.py", line 1072, in _patched return await fn(*args, **kwargs) │ │ └ {'service': , 'request': File "C:\University-HCMUTE\InternFuta\ApiDialogflowChatbot\app\api\v1\user.py", line 41, in get_user_info "user_name": user.user_name if is_exist else None, │ └ True └ AttributeError: 'coroutine' object has no attribute 'user_name' 2025-06-18 14:45:32.478 | ERROR | - | Traceback (most recent call last): File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\runners.py", line 44, in run return loop.run_until_complete(main) File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 633, in run_until_complete self.run_forever() File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 600, in run_forever self._run_once() File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 1896, in _run_once handle._run() File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\events.py", line 80, in _run self._context.run(self._callback, *self._args) File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\server.py", line 69, in serve with self.capture_signals(): File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\contextlib.py", line 142, in __exit__ next(self.gen) File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\server.py", line 330, in capture_signals signal.raise_signal(captured_signal) KeyboardInterrupt During handling of the above exception, another exception occurred: Traceback (most recent call last): File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 699, in lifespan await receive() File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\lifespan\on.py", line 137, in receive return await self.receive_queue.get() File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\queues.py", line 159, in get await getter asyncio.exceptions.CancelledError 2025-06-18 14:46:45.345 | ERROR | d497142386694c88a80ff84225582e29 | Exception in ASGI application Traceback (most recent call last): File "", line 1, in File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\spawn.py", line 116, in spawn_main exitcode = _main(fd, parent_sentinel) │ │ └ 304 │ └ 3 └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\spawn.py", line 129, in _main return self._bootstrap(parent_sentinel) │ │ └ 304 │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\process.py", line 315, in _bootstrap self.run() │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\process.py", line 108, in run self._target(*self._args, **self._kwargs) │ │ │ │ │ └ {'config': , 'target': │ │ │ └ () │ │ └ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\_subprocess.py", line 80, in subprocess_started target(sockets=sockets) │ └ [] └ > File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\server.py", line 66, in run return asyncio.run(self.serve(sockets=sockets)) │ │ │ │ └ [] │ │ │ └ │ │ └ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\runners.py", line 44, in run return loop.run_until_complete(main) │ │ └ │ └ └ <_WindowsSelectorEventLoop running=True closed=False debug=False> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 633, in run_until_complete self.run_forever() │ └ └ <_WindowsSelectorEventLoop running=True closed=False debug=False> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 600, in run_forever self._run_once() │ └ └ <_WindowsSelectorEventLoop running=True closed=False debug=False> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 1896, in _run_once handle._run() │ └ )> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\events.py", line 80, in _run self._context.run(self._callback, *self._args) │ │ │ │ │ └ │ │ │ │ └ )> │ │ │ └ │ │ └ )> │ └ )> > File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\protocols\http\h11_impl.py", line 403, in run_asgi result = await app( # type: ignore[func-returns-value] └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\middleware\proxy_headers.py", line 60, in __call__ return await self.app(scope, receive, send) │ │ │ │ └ > │ │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\fastapi\applications.py", line 1054, in __call__ await super().__call__(scope, receive, send) │ │ └ > │ └ > │ │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\errors.py", line 187, in __call__ raise exc File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\errors.py", line 165, in __call__ await self.app(scope, receive, _send) │ │ │ │ └ ._send at 0x000001A964A1B7F0> │ │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\cors.py", line 85, in __call__ await self.app(scope, receive, send) │ │ │ │ └ ._send at 0x000001A964A1B7F0> │ │ │ └ , header_name='... └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\asgi_correlation_id\middleware.py", line 90, in __call__ await self.app(scope, receive, handle_outgoing_request) │ │ │ │ └ .handle_outgoing_request at 0x000001A964A1AE60> │ │ │ └ └ CorrelationIdMiddleware(app=, header_name='... File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\exceptions.py", line 62, in __call__ await wrap_app_handling_exceptions(self.app, conn)(scope, receive, send) │ │ │ │ │ │ └ .handle_outgoing_request at 0x000001A964A1AE60> │ │ │ │ │ └ │ │ └ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 53, in wrapped_app raise exc File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 42, in wrapped_app await app(scope, receive, sender) │ │ │ └ .wrapped_app..sender at 0x000001A964A1AD40> │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 714, in __call__ await self.middleware_stack(scope, receive, send) │ │ │ │ └ .wrapped_app..sender at 0x000001A964A1AD40> │ │ │ └ > └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 734, in app await route.handle(scope, receive, send) │ │ │ │ └ .wrapped_app..sender at 0x000001A964A1AD40> │ │ │ └ └ APIRoute(path='/api/v1/user/info', name='get_user_info', methods=['POST']) File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 288, in handle await self.app(scope, receive, send) │ │ │ │ └ .wrapped_app..sender at 0x000001A964A1AD40> │ │ │ └ .app at 0x000001A937B3D240> └ APIRoute(path='/api/v1/user/info', name='get_user_info', methods=['POST']) File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 76, in app await wrap_app_handling_exceptions(app, request)(scope, receive, send) │ │ │ │ │ └ .wrapped_app..sender at 0x000001A964A1AD40> │ │ │ │ └ │ └ .app..app at 0x000001A964A1B0A0> └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 53, in wrapped_app raise exc File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 42, in wrapped_app await app(scope, receive, sender) │ │ │ └ .wrapped_app..sender at 0x000001A964A1AF80> │ │ └ .app..app at 0x000001A964A1B0A0> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 73, in app response = await f(request) │ └ .app at 0x000001A937B3D1B0> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\fastapi\routing.py", line 301, in app raw_response = await run_endpoint_function( └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\fastapi\routing.py", line 212, in run_endpoint_function return await dependant.call(**values) │ │ └ {'service': , 'request': └ Dependant(path_params=[], query_params=[], header_params=[], cookie_params=[], body_params=[], dependencies=[Dependant(path_p... File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\dependency_injector\wiring.py", line 1072, in _patched return await fn(*args, **kwargs) │ │ └ {'service': , 'request': File "C:\University-HCMUTE\InternFuta\ApiDialogflowChatbot\app\api\v1\user.py", line 41, in get_user_info "user_name": user.user_name if is_exist else None, │ └ True └ None AttributeError: 'NoneType' object has no attribute 'user_name' 2025-06-18 14:46:46.082 | ERROR | a0b4e7eaec1d4060824fbb0561959c83 | Exception in ASGI application Traceback (most recent call last): File "", line 1, in File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\spawn.py", line 116, in spawn_main exitcode = _main(fd, parent_sentinel) │ │ └ 304 │ └ 3 └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\spawn.py", line 129, in _main return self._bootstrap(parent_sentinel) │ │ └ 304 │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\process.py", line 315, in _bootstrap self.run() │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\process.py", line 108, in run self._target(*self._args, **self._kwargs) │ │ │ │ │ └ {'config': , 'target': │ │ │ └ () │ │ └ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\_subprocess.py", line 80, in subprocess_started target(sockets=sockets) │ └ [] └ > File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\server.py", line 66, in run return asyncio.run(self.serve(sockets=sockets)) │ │ │ │ └ [] │ │ │ └ │ │ └ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\runners.py", line 44, in run return loop.run_until_complete(main) │ │ └ │ └ └ <_WindowsSelectorEventLoop running=True closed=False debug=False> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 633, in run_until_complete self.run_forever() │ └ └ <_WindowsSelectorEventLoop running=True closed=False debug=False> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 600, in run_forever self._run_once() │ └ └ <_WindowsSelectorEventLoop running=True closed=False debug=False> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 1896, in _run_once handle._run() │ └ )> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\events.py", line 80, in _run self._context.run(self._callback, *self._args) │ │ │ │ │ └ │ │ │ │ └ )> │ │ │ └ │ │ └ )> │ └ )> > File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\protocols\http\h11_impl.py", line 403, in run_asgi result = await app( # type: ignore[func-returns-value] └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\middleware\proxy_headers.py", line 60, in __call__ return await self.app(scope, receive, send) │ │ │ │ └ > │ │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\fastapi\applications.py", line 1054, in __call__ await super().__call__(scope, receive, send) │ │ └ > │ └ > │ │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\errors.py", line 187, in __call__ raise exc File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\errors.py", line 165, in __call__ await self.app(scope, receive, _send) │ │ │ │ └ ._send at 0x000001A964B23D90> │ │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\cors.py", line 85, in __call__ await self.app(scope, receive, send) │ │ │ │ └ ._send at 0x000001A964B23D90> │ │ │ └ , header_name='... └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\asgi_correlation_id\middleware.py", line 90, in __call__ await self.app(scope, receive, handle_outgoing_request) │ │ │ │ └ .handle_outgoing_request at 0x000001A964B236D0> │ │ │ └ └ CorrelationIdMiddleware(app=, header_name='... File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\exceptions.py", line 62, in __call__ await wrap_app_handling_exceptions(self.app, conn)(scope, receive, send) │ │ │ │ │ │ └ .handle_outgoing_request at 0x000001A964B236D0> │ │ │ │ │ └ │ │ └ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 53, in wrapped_app raise exc File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 42, in wrapped_app await app(scope, receive, sender) │ │ │ └ .wrapped_app..sender at 0x000001A964B23910> │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 714, in __call__ await self.middleware_stack(scope, receive, send) │ │ │ │ └ .wrapped_app..sender at 0x000001A964B23910> │ │ │ └ > └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 734, in app await route.handle(scope, receive, send) │ │ │ │ └ .wrapped_app..sender at 0x000001A964B23910> │ │ │ └ └ APIRoute(path='/api/v1/user/info', name='get_user_info', methods=['POST']) File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 288, in handle await self.app(scope, receive, send) │ │ │ │ └ .wrapped_app..sender at 0x000001A964B23910> │ │ │ └ .app at 0x000001A937B3D240> └ APIRoute(path='/api/v1/user/info', name='get_user_info', methods=['POST']) File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 76, in app await wrap_app_handling_exceptions(app, request)(scope, receive, send) │ │ │ │ │ └ .wrapped_app..sender at 0x000001A964B23910> │ │ │ │ └ │ └ .app..app at 0x000001A964B23C70> └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 53, in wrapped_app raise exc File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 42, in wrapped_app await app(scope, receive, sender) │ │ │ └ .wrapped_app..sender at 0x000001A964B23B50> │ │ └ .app..app at 0x000001A964B23C70> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 73, in app response = await f(request) │ └ .app at 0x000001A937B3D1B0> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\fastapi\routing.py", line 301, in app raw_response = await run_endpoint_function( └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\fastapi\routing.py", line 212, in run_endpoint_function return await dependant.call(**values) │ │ └ {'service': , 'request': └ Dependant(path_params=[], query_params=[], header_params=[], cookie_params=[], body_params=[], dependencies=[Dependant(path_p... File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\dependency_injector\wiring.py", line 1072, in _patched return await fn(*args, **kwargs) │ │ └ {'service': , 'request': File "C:\University-HCMUTE\InternFuta\ApiDialogflowChatbot\app\api\v1\user.py", line 41, in get_user_info "user_name": user.user_name if is_exist else None, │ └ True └ None AttributeError: 'NoneType' object has no attribute 'user_name' 2025-06-18 15:09:56.762 | ERROR | 09fb1c477d6241c6a8e3857aa187815d | Exception in ASGI application Traceback (most recent call last): File "", line 1, in File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\spawn.py", line 116, in spawn_main exitcode = _main(fd, parent_sentinel) │ │ └ 368 │ └ 3 └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\spawn.py", line 129, in _main return self._bootstrap(parent_sentinel) │ │ └ 368 │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\process.py", line 315, in _bootstrap self.run() │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\process.py", line 108, in run self._target(*self._args, **self._kwargs) │ │ │ │ │ └ {'config': , 'target': │ │ │ └ () │ │ └ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\_subprocess.py", line 80, in subprocess_started target(sockets=sockets) │ └ [] └ > File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\server.py", line 66, in run return asyncio.run(self.serve(sockets=sockets)) │ │ │ │ └ [] │ │ │ └ │ │ └ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\runners.py", line 44, in run return loop.run_until_complete(main) │ │ └ │ └ └ <_WindowsSelectorEventLoop running=True closed=False debug=False> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 633, in run_until_complete self.run_forever() │ └ └ <_WindowsSelectorEventLoop running=True closed=False debug=False> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 600, in run_forever self._run_once() │ └ └ <_WindowsSelectorEventLoop running=True closed=False debug=False> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 1896, in _run_once handle._run() │ └ >)> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\events.py", line 80, in _run self._context.run(self._callback, *self._args) │ │ │ │ │ └ │ │ │ │ └ >)> │ │ │ └ │ │ └ >)> │ └ >)> > File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\protocols\http\h11_impl.py", line 403, in run_asgi result = await app( # type: ignore[func-returns-value] └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\middleware\proxy_headers.py", line 60, in __call__ return await self.app(scope, receive, send) │ │ │ │ └ > │ │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\fastapi\applications.py", line 1054, in __call__ await super().__call__(scope, receive, send) │ │ └ > │ └ > │ │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\errors.py", line 187, in __call__ raise exc File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\errors.py", line 165, in __call__ await self.app(scope, receive, _send) │ │ │ │ └ ._send at 0x0000025BF4BFB010> │ │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\cors.py", line 85, in __call__ await self.app(scope, receive, send) │ │ │ │ └ ._send at 0x0000025BF4BFB010> │ │ │ └ , header_name='... └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\asgi_correlation_id\middleware.py", line 90, in __call__ await self.app(scope, receive, handle_outgoing_request) │ │ │ │ └ .handle_outgoing_request at 0x0000025BF4BFB1C0> │ │ │ └ └ CorrelationIdMiddleware(app=, header_name='... File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\exceptions.py", line 62, in __call__ await wrap_app_handling_exceptions(self.app, conn)(scope, receive, send) │ │ │ │ │ │ └ .handle_outgoing_request at 0x0000025BF4BFB1C0> │ │ │ │ │ └ │ │ └ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 53, in wrapped_app raise exc File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 42, in wrapped_app await app(scope, receive, sender) │ │ │ └ .wrapped_app..sender at 0x0000025BF4BFADD0> │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 714, in __call__ await self.middleware_stack(scope, receive, send) │ │ │ │ └ .wrapped_app..sender at 0x0000025BF4BFADD0> │ │ │ └ > └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 734, in app await route.handle(scope, receive, send) │ │ │ │ └ .wrapped_app..sender at 0x0000025BF4BFADD0> │ │ │ └ └ APIRoute(path='/api/v1/user/info', name='get_user_info', methods=['POST']) File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 288, in handle await self.app(scope, receive, send) │ │ │ │ └ .wrapped_app..sender at 0x0000025BF4BFADD0> │ │ │ └ .app at 0x0000025BC7D1D2D0> └ APIRoute(path='/api/v1/user/info', name='get_user_info', methods=['POST']) File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 76, in app await wrap_app_handling_exceptions(app, request)(scope, receive, send) │ │ │ │ │ └ .wrapped_app..sender at 0x0000025BF4BFADD0> │ │ │ │ └ │ └ .app..app at 0x0000025BF4BFAEF0> └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 53, in wrapped_app raise exc File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 42, in wrapped_app await app(scope, receive, sender) │ │ │ └ .wrapped_app..sender at 0x0000025BF4BFB880> │ │ └ .app..app at 0x0000025BF4BFAEF0> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 73, in app response = await f(request) │ └ .app at 0x0000025BC7D1D240> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\fastapi\routing.py", line 301, in app raw_response = await run_endpoint_function( └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\fastapi\routing.py", line 212, in run_endpoint_function return await dependant.call(**values) │ │ └ {'service': , 'request': └ Dependant(path_params=[], query_params=[], header_params=[], cookie_params=[], body_params=[], dependencies=[Dependant(path_p... File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\dependency_injector\wiring.py", line 1072, in _patched return await fn(*args, **kwargs) │ │ └ {'service': , 'request': File "C:\University-HCMUTE\InternFuta\ApiDialogflowChatbot\app\api\v1\user.py", line 43, in get_user_info "user_name": user.user_name, └ None AttributeError: 'NoneType' object has no attribute 'user_name' 2025-06-18 15:09:57.271 | ERROR | 71e1bf0d8eb343ba9f12a731b80a7001 | Exception in ASGI application Traceback (most recent call last): File "", line 1, in File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\spawn.py", line 116, in spawn_main exitcode = _main(fd, parent_sentinel) │ │ └ 368 │ └ 3 └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\spawn.py", line 129, in _main return self._bootstrap(parent_sentinel) │ │ └ 368 │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\process.py", line 315, in _bootstrap self.run() │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\process.py", line 108, in run self._target(*self._args, **self._kwargs) │ │ │ │ │ └ {'config': , 'target': │ │ │ └ () │ │ └ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\_subprocess.py", line 80, in subprocess_started target(sockets=sockets) │ └ [] └ > File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\server.py", line 66, in run return asyncio.run(self.serve(sockets=sockets)) │ │ │ │ └ [] │ │ │ └ │ │ └ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\runners.py", line 44, in run return loop.run_until_complete(main) │ │ └ │ └ └ <_WindowsSelectorEventLoop running=True closed=False debug=False> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 633, in run_until_complete self.run_forever() │ └ └ <_WindowsSelectorEventLoop running=True closed=False debug=False> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 600, in run_forever self._run_once() │ └ └ <_WindowsSelectorEventLoop running=True closed=False debug=False> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 1896, in _run_once handle._run() │ └ )> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\events.py", line 80, in _run self._context.run(self._callback, *self._args) │ │ │ │ │ └ │ │ │ │ └ )> │ │ │ └ │ │ └ )> │ └ )> > File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\protocols\http\h11_impl.py", line 403, in run_asgi result = await app( # type: ignore[func-returns-value] └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\middleware\proxy_headers.py", line 60, in __call__ return await self.app(scope, receive, send) │ │ │ │ └ > │ │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\fastapi\applications.py", line 1054, in __call__ await super().__call__(scope, receive, send) │ │ └ > │ └ > │ │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\errors.py", line 187, in __call__ raise exc File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\errors.py", line 165, in __call__ await self.app(scope, receive, _send) │ │ │ │ └ ._send at 0x0000025BC7D1DEA0> │ │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\cors.py", line 85, in __call__ await self.app(scope, receive, send) │ │ │ │ └ ._send at 0x0000025BC7D1DEA0> │ │ │ └ , header_name='... └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\asgi_correlation_id\middleware.py", line 90, in __call__ await self.app(scope, receive, handle_outgoing_request) │ │ │ │ └ .handle_outgoing_request at 0x0000025BF4CFFD00> │ │ │ └ └ CorrelationIdMiddleware(app=, header_name='... File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\exceptions.py", line 62, in __call__ await wrap_app_handling_exceptions(self.app, conn)(scope, receive, send) │ │ │ │ │ │ └ .handle_outgoing_request at 0x0000025BF4CFFD00> │ │ │ │ │ └ │ │ └ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 53, in wrapped_app raise exc File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 42, in wrapped_app await app(scope, receive, sender) │ │ │ └ .wrapped_app..sender at 0x0000025BF4CFFE20> │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 714, in __call__ await self.middleware_stack(scope, receive, send) │ │ │ │ └ .wrapped_app..sender at 0x0000025BF4CFFE20> │ │ │ └ > └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 734, in app await route.handle(scope, receive, send) │ │ │ │ └ .wrapped_app..sender at 0x0000025BF4CFFE20> │ │ │ └ └ APIRoute(path='/api/v1/user/info', name='get_user_info', methods=['POST']) File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 288, in handle await self.app(scope, receive, send) │ │ │ │ └ .wrapped_app..sender at 0x0000025BF4CFFE20> │ │ │ └ .app at 0x0000025BC7D1D2D0> └ APIRoute(path='/api/v1/user/info', name='get_user_info', methods=['POST']) File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 76, in app await wrap_app_handling_exceptions(app, request)(scope, receive, send) │ │ │ │ │ └ .wrapped_app..sender at 0x0000025BF4CFFE20> │ │ │ │ └ │ └ .app..app at 0x0000025BF4CFF760> └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 53, in wrapped_app raise exc File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 42, in wrapped_app await app(scope, receive, sender) │ │ │ └ .wrapped_app..sender at 0x0000025BF4CFF520> │ │ └ .app..app at 0x0000025BF4CFF760> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 73, in app response = await f(request) │ └ .app at 0x0000025BC7D1D240> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\fastapi\routing.py", line 301, in app raw_response = await run_endpoint_function( └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\fastapi\routing.py", line 212, in run_endpoint_function return await dependant.call(**values) │ │ └ {'service': , 'request': └ Dependant(path_params=[], query_params=[], header_params=[], cookie_params=[], body_params=[], dependencies=[Dependant(path_p... File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\dependency_injector\wiring.py", line 1072, in _patched return await fn(*args, **kwargs) │ │ └ {'service': , 'request': File "C:\University-HCMUTE\InternFuta\ApiDialogflowChatbot\app\api\v1\user.py", line 43, in get_user_info "user_name": user.user_name, └ None AttributeError: 'NoneType' object has no attribute 'user_name' 2025-06-18 15:13:34.537 | ERROR | d35470009274483cb8ef442ed246706a | Exception in ASGI application Traceback (most recent call last): File "", line 1, in File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\spawn.py", line 116, in spawn_main exitcode = _main(fd, parent_sentinel) │ │ └ 352 │ └ 3 └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\spawn.py", line 129, in _main return self._bootstrap(parent_sentinel) │ │ └ 352 │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\process.py", line 315, in _bootstrap self.run() │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\process.py", line 108, in run self._target(*self._args, **self._kwargs) │ │ │ │ │ └ {'config': , 'target': │ │ │ └ () │ │ └ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\_subprocess.py", line 80, in subprocess_started target(sockets=sockets) │ └ [] └ > File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\server.py", line 66, in run return asyncio.run(self.serve(sockets=sockets)) │ │ │ │ └ [] │ │ │ └ │ │ └ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\runners.py", line 44, in run return loop.run_until_complete(main) │ │ └ │ └ └ <_WindowsSelectorEventLoop running=True closed=False debug=False> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 633, in run_until_complete self.run_forever() │ └ └ <_WindowsSelectorEventLoop running=True closed=False debug=False> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 600, in run_forever self._run_once() │ └ └ <_WindowsSelectorEventLoop running=True closed=False debug=False> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 1896, in _run_once handle._run() │ └ >)> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\events.py", line 80, in _run self._context.run(self._callback, *self._args) │ │ │ │ │ └ │ │ │ │ └ >)> │ │ │ └ │ │ └ >)> │ └ >)> > File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\protocols\http\h11_impl.py", line 403, in run_asgi result = await app( # type: ignore[func-returns-value] └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\middleware\proxy_headers.py", line 60, in __call__ return await self.app(scope, receive, send) │ │ │ │ └ > │ │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\fastapi\applications.py", line 1054, in __call__ await super().__call__(scope, receive, send) │ │ └ > │ └ > │ │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\errors.py", line 187, in __call__ raise exc File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\errors.py", line 165, in __call__ await self.app(scope, receive, _send) │ │ │ │ └ ._send at 0x0000012EB54CB010> │ │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\cors.py", line 85, in __call__ await self.app(scope, receive, send) │ │ │ │ └ ._send at 0x0000012EB54CB010> │ │ │ └ , header_name='... └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\asgi_correlation_id\middleware.py", line 90, in __call__ await self.app(scope, receive, handle_outgoing_request) │ │ │ │ └ .handle_outgoing_request at 0x0000012E8857DD80> │ │ │ └ └ CorrelationIdMiddleware(app=, header_name='... File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\exceptions.py", line 62, in __call__ await wrap_app_handling_exceptions(self.app, conn)(scope, receive, send) │ │ │ │ │ │ └ .handle_outgoing_request at 0x0000012E8857DD80> │ │ │ │ │ └ │ │ └ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 53, in wrapped_app raise exc File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 42, in wrapped_app await app(scope, receive, sender) │ │ │ └ .wrapped_app..sender at 0x0000012EB545B760> │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 714, in __call__ await self.middleware_stack(scope, receive, send) │ │ │ │ └ .wrapped_app..sender at 0x0000012EB545B760> │ │ │ └ > └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 734, in app await route.handle(scope, receive, send) │ │ │ │ └ .wrapped_app..sender at 0x0000012EB545B760> │ │ │ └ └ APIRoute(path='/api/v1/user/extract-name', name='extract_user_name', methods=['POST']) File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 288, in handle await self.app(scope, receive, send) │ │ │ │ └ .wrapped_app..sender at 0x0000012EB545B760> │ │ │ └ .app at 0x0000012E8857D2D0> └ APIRoute(path='/api/v1/user/extract-name', name='extract_user_name', methods=['POST']) File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 76, in app await wrap_app_handling_exceptions(app, request)(scope, receive, send) │ │ │ │ │ └ .wrapped_app..sender at 0x0000012EB545B760> │ │ │ │ └ │ └ .app..app at 0x0000012EB545AB90> └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 53, in wrapped_app raise exc File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 42, in wrapped_app await app(scope, receive, sender) │ │ │ └ .wrapped_app..sender at 0x0000012EB545B010> │ │ └ .app..app at 0x0000012EB545AB90> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 73, in app response = await f(request) │ └ .app at 0x0000012E8857D240> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\fastapi\routing.py", line 301, in app raw_response = await run_endpoint_function( └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\fastapi\routing.py", line 212, in run_endpoint_function return await dependant.call(**values) │ │ └ {'service': , 'request': └ Dependant(path_params=[], query_params=[], header_params=[], cookie_params=[], body_params=[], dependencies=[Dependant(path_p... File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\dependency_injector\wiring.py", line 1072, in _patched return await fn(*args, **kwargs) │ │ └ {'service': , 'request': File "C:\University-HCMUTE\InternFuta\ApiDialogflowChatbot\app\api\v1\user.py", line 61, in extract_user_name return DialogflowResponseBuilder().set_parameters({"user_name": user_name}).build() │ └ File "C:\University-HCMUTE\InternFuta\ApiDialogflowChatbot\app\dialogflow\schemas\response.py", line 134, in build return JSONResponse(content=response.model_dump(mode="json")) │ │ └ │ └ DialogflowResponse(fulfillment_response=FulfillmentResponse(messages=[]), sessionInfo=SessionInfo(parameters={'user_name': File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\pydantic\main.py", line 463, in model_dump return self.__pydantic_serializer__.to_python( │ │ └ │ └ SchemaSerializer(serializer=Model( │ ModelSerializer { │ class: Py( │ 0x0000012e86958090, │ ), │ ... └ DialogflowResponse(fulfillment_response=FulfillmentResponse(messages=[]), sessionInfo=SessionInfo(parameters={'user_name': 2025-06-18 15:13:35.466 | ERROR | dc5887ab833d4541aff6dc506334ebcb | Exception in ASGI application Traceback (most recent call last): File "", line 1, in File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\spawn.py", line 116, in spawn_main exitcode = _main(fd, parent_sentinel) │ │ └ 352 │ └ 3 └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\spawn.py", line 129, in _main return self._bootstrap(parent_sentinel) │ │ └ 352 │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\process.py", line 315, in _bootstrap self.run() │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\process.py", line 108, in run self._target(*self._args, **self._kwargs) │ │ │ │ │ └ {'config': , 'target': │ │ │ └ () │ │ └ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\_subprocess.py", line 80, in subprocess_started target(sockets=sockets) │ └ [] └ > File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\server.py", line 66, in run return asyncio.run(self.serve(sockets=sockets)) │ │ │ │ └ [] │ │ │ └ │ │ └ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\runners.py", line 44, in run return loop.run_until_complete(main) │ │ └ │ └ └ <_WindowsSelectorEventLoop running=True closed=False debug=False> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 633, in run_until_complete self.run_forever() │ └ └ <_WindowsSelectorEventLoop running=True closed=False debug=False> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 600, in run_forever self._run_once() │ └ └ <_WindowsSelectorEventLoop running=True closed=False debug=False> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 1896, in _run_once handle._run() │ └ )> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\events.py", line 80, in _run self._context.run(self._callback, *self._args) │ │ │ │ │ └ │ │ │ │ └ )> │ │ │ └ │ │ └ )> │ └ )> > File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\protocols\http\h11_impl.py", line 403, in run_asgi result = await app( # type: ignore[func-returns-value] └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\middleware\proxy_headers.py", line 60, in __call__ return await self.app(scope, receive, send) │ │ │ │ └ > │ │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\fastapi\applications.py", line 1054, in __call__ await super().__call__(scope, receive, send) │ │ └ > │ └ > │ │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\errors.py", line 187, in __call__ raise exc File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\errors.py", line 165, in __call__ await self.app(scope, receive, _send) │ │ │ │ └ ._send at 0x0000012EB545ADD0> │ │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\cors.py", line 85, in __call__ await self.app(scope, receive, send) │ │ │ │ └ ._send at 0x0000012EB545ADD0> │ │ │ └ , header_name='... └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\asgi_correlation_id\middleware.py", line 90, in __call__ await self.app(scope, receive, handle_outgoing_request) │ │ │ │ └ .handle_outgoing_request at 0x0000012EB5567D00> │ │ │ └ └ CorrelationIdMiddleware(app=, header_name='... File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\exceptions.py", line 62, in __call__ await wrap_app_handling_exceptions(self.app, conn)(scope, receive, send) │ │ │ │ │ │ └ .handle_outgoing_request at 0x0000012EB5567D00> │ │ │ │ │ └ │ │ └ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 53, in wrapped_app raise exc File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 42, in wrapped_app await app(scope, receive, sender) │ │ │ └ .wrapped_app..sender at 0x0000012EB5567910> │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 714, in __call__ await self.middleware_stack(scope, receive, send) │ │ │ │ └ .wrapped_app..sender at 0x0000012EB5567910> │ │ │ └ > └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 734, in app await route.handle(scope, receive, send) │ │ │ │ └ .wrapped_app..sender at 0x0000012EB5567910> │ │ │ └ └ APIRoute(path='/api/v1/user/extract-name', name='extract_user_name', methods=['POST']) File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 288, in handle await self.app(scope, receive, send) │ │ │ │ └ .wrapped_app..sender at 0x0000012EB5567910> │ │ │ └ .app at 0x0000012E8857D2D0> └ APIRoute(path='/api/v1/user/extract-name', name='extract_user_name', methods=['POST']) File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 76, in app await wrap_app_handling_exceptions(app, request)(scope, receive, send) │ │ │ │ │ └ .wrapped_app..sender at 0x0000012EB5567910> │ │ │ │ └ │ └ .app..app at 0x0000012EB5567BE0> └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 53, in wrapped_app raise exc File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 42, in wrapped_app await app(scope, receive, sender) │ │ │ └ .wrapped_app..sender at 0x0000012EB5567AC0> │ │ └ .app..app at 0x0000012EB5567BE0> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 73, in app response = await f(request) │ └ .app at 0x0000012E8857D240> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\fastapi\routing.py", line 301, in app raw_response = await run_endpoint_function( └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\fastapi\routing.py", line 212, in run_endpoint_function return await dependant.call(**values) │ │ └ {'service': , 'request': └ Dependant(path_params=[], query_params=[], header_params=[], cookie_params=[], body_params=[], dependencies=[Dependant(path_p... File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\dependency_injector\wiring.py", line 1072, in _patched return await fn(*args, **kwargs) │ │ └ {'service': , 'request': File "C:\University-HCMUTE\InternFuta\ApiDialogflowChatbot\app\api\v1\user.py", line 61, in extract_user_name return DialogflowResponseBuilder().set_parameters({"user_name": user_name}).build() │ └ File "C:\University-HCMUTE\InternFuta\ApiDialogflowChatbot\app\dialogflow\schemas\response.py", line 134, in build return JSONResponse(content=response.model_dump(mode="json")) │ │ └ │ └ DialogflowResponse(fulfillment_response=FulfillmentResponse(messages=[]), sessionInfo=SessionInfo(parameters={'user_name': File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\pydantic\main.py", line 463, in model_dump return self.__pydantic_serializer__.to_python( │ │ └ │ └ SchemaSerializer(serializer=Model( │ ModelSerializer { │ class: Py( │ 0x0000012e86958090, │ ), │ ... └ DialogflowResponse(fulfillment_response=FulfillmentResponse(messages=[]), sessionInfo=SessionInfo(parameters={'user_name': 2025-06-18 15:14:02.936 | ERROR | 240bcdd19a3d4922b2a190c6e4dfaa63 | Exception in ASGI application Traceback (most recent call last): File "", line 1, in File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\spawn.py", line 116, in spawn_main exitcode = _main(fd, parent_sentinel) │ │ └ 352 │ └ 3 └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\spawn.py", line 129, in _main return self._bootstrap(parent_sentinel) │ │ └ 352 │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\process.py", line 315, in _bootstrap self.run() │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\process.py", line 108, in run self._target(*self._args, **self._kwargs) │ │ │ │ │ └ {'config': , 'target': │ │ │ └ () │ │ └ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\_subprocess.py", line 80, in subprocess_started target(sockets=sockets) │ └ [] └ > File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\server.py", line 66, in run return asyncio.run(self.serve(sockets=sockets)) │ │ │ │ └ [] │ │ │ └ │ │ └ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\runners.py", line 44, in run return loop.run_until_complete(main) │ │ └ │ └ └ <_WindowsSelectorEventLoop running=True closed=False debug=False> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 633, in run_until_complete self.run_forever() │ └ └ <_WindowsSelectorEventLoop running=True closed=False debug=False> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 600, in run_forever self._run_once() │ └ └ <_WindowsSelectorEventLoop running=True closed=False debug=False> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 1896, in _run_once handle._run() │ └ )> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\events.py", line 80, in _run self._context.run(self._callback, *self._args) │ │ │ │ │ └ │ │ │ │ └ )> │ │ │ └ │ │ └ )> │ └ )> > File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\protocols\http\h11_impl.py", line 403, in run_asgi result = await app( # type: ignore[func-returns-value] └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\middleware\proxy_headers.py", line 60, in __call__ return await self.app(scope, receive, send) │ │ │ │ └ > │ │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\fastapi\applications.py", line 1054, in __call__ await super().__call__(scope, receive, send) │ │ └ > │ └ > │ │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\errors.py", line 187, in __call__ raise exc File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\errors.py", line 165, in __call__ await self.app(scope, receive, _send) │ │ │ │ └ ._send at 0x0000012ECCCB2170> │ │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\cors.py", line 85, in __call__ await self.app(scope, receive, send) │ │ │ │ └ ._send at 0x0000012ECCCB2170> │ │ │ └ , header_name='... └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\asgi_correlation_id\middleware.py", line 90, in __call__ await self.app(scope, receive, handle_outgoing_request) │ │ │ │ └ .handle_outgoing_request at 0x0000012ECCCB1D80> │ │ │ └ └ CorrelationIdMiddleware(app=, header_name='... File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\exceptions.py", line 62, in __call__ await wrap_app_handling_exceptions(self.app, conn)(scope, receive, send) │ │ │ │ │ │ └ .handle_outgoing_request at 0x0000012ECCCB1D80> │ │ │ │ │ └ │ │ └ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 53, in wrapped_app raise exc File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 42, in wrapped_app await app(scope, receive, sender) │ │ │ └ .wrapped_app..sender at 0x0000012ECCCB20E0> │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 714, in __call__ await self.middleware_stack(scope, receive, send) │ │ │ │ └ .wrapped_app..sender at 0x0000012ECCCB20E0> │ │ │ └ > └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 734, in app await route.handle(scope, receive, send) │ │ │ │ └ .wrapped_app..sender at 0x0000012ECCCB20E0> │ │ │ └ └ APIRoute(path='/api/v1/user/extract-name', name='extract_user_name', methods=['POST']) File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 288, in handle await self.app(scope, receive, send) │ │ │ │ └ .wrapped_app..sender at 0x0000012ECCCB20E0> │ │ │ └ .app at 0x0000012E8857D2D0> └ APIRoute(path='/api/v1/user/extract-name', name='extract_user_name', methods=['POST']) File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 76, in app await wrap_app_handling_exceptions(app, request)(scope, receive, send) │ │ │ │ │ └ .wrapped_app..sender at 0x0000012ECCCB20E0> │ │ │ │ └ │ └ .app..app at 0x0000012ECCCB2050> └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 53, in wrapped_app raise exc File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 42, in wrapped_app await app(scope, receive, sender) │ │ │ └ .wrapped_app..sender at 0x0000012ECCCB1EA0> │ │ └ .app..app at 0x0000012ECCCB2050> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 73, in app response = await f(request) │ └ .app at 0x0000012E8857D240> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\fastapi\routing.py", line 301, in app raw_response = await run_endpoint_function( └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\fastapi\routing.py", line 212, in run_endpoint_function return await dependant.call(**values) │ │ └ {'service': , 'request': └ Dependant(path_params=[], query_params=[], header_params=[], cookie_params=[], body_params=[], dependencies=[Dependant(path_p... File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\dependency_injector\wiring.py", line 1072, in _patched return await fn(*args, **kwargs) │ │ └ {'service': , 'request': File "C:\University-HCMUTE\InternFuta\ApiDialogflowChatbot\app\api\v1\user.py", line 61, in extract_user_name return DialogflowResponseBuilder().set_parameters({"user_name": user_name}).build() │ └ File "C:\University-HCMUTE\InternFuta\ApiDialogflowChatbot\app\dialogflow\schemas\response.py", line 134, in build return JSONResponse(content=response.model_dump(mode="json")) │ │ └ │ └ DialogflowResponse(fulfillment_response=FulfillmentResponse(messages=[]), sessionInfo=SessionInfo(parameters={'user_name': File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\pydantic\main.py", line 463, in model_dump return self.__pydantic_serializer__.to_python( │ │ └ │ └ SchemaSerializer(serializer=Model( │ ModelSerializer { │ class: Py( │ 0x0000012e86958090, │ ), │ ... └ DialogflowResponse(fulfillment_response=FulfillmentResponse(messages=[]), sessionInfo=SessionInfo(parameters={'user_name': 2025-06-18 15:14:03.619 | ERROR | 3d44668bd28f496e815f233e9dfa7519 | Exception in ASGI application Traceback (most recent call last): File "", line 1, in File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\spawn.py", line 116, in spawn_main exitcode = _main(fd, parent_sentinel) │ │ └ 352 │ └ 3 └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\spawn.py", line 129, in _main return self._bootstrap(parent_sentinel) │ │ └ 352 │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\process.py", line 315, in _bootstrap self.run() │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\process.py", line 108, in run self._target(*self._args, **self._kwargs) │ │ │ │ │ └ {'config': , 'target': │ │ │ └ () │ │ └ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\_subprocess.py", line 80, in subprocess_started target(sockets=sockets) │ └ [] └ > File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\server.py", line 66, in run return asyncio.run(self.serve(sockets=sockets)) │ │ │ │ └ [] │ │ │ └ │ │ └ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\runners.py", line 44, in run return loop.run_until_complete(main) │ │ └ │ └ └ <_WindowsSelectorEventLoop running=True closed=False debug=False> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 633, in run_until_complete self.run_forever() │ └ └ <_WindowsSelectorEventLoop running=True closed=False debug=False> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 600, in run_forever self._run_once() │ └ └ <_WindowsSelectorEventLoop running=True closed=False debug=False> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 1896, in _run_once handle._run() │ └ >)> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\events.py", line 80, in _run self._context.run(self._callback, *self._args) │ │ │ │ │ └ │ │ │ │ └ >)> │ │ │ └ │ │ └ >)> │ └ >)> > File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\protocols\http\h11_impl.py", line 403, in run_asgi result = await app( # type: ignore[func-returns-value] └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\middleware\proxy_headers.py", line 60, in __call__ return await self.app(scope, receive, send) │ │ │ │ └ > │ │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\fastapi\applications.py", line 1054, in __call__ await super().__call__(scope, receive, send) │ │ └ > │ └ > │ │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\errors.py", line 187, in __call__ raise exc File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\errors.py", line 165, in __call__ await self.app(scope, receive, _send) │ │ │ │ └ ._send at 0x0000012ECCCB1E10> │ │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\cors.py", line 85, in __call__ await self.app(scope, receive, send) │ │ │ │ └ ._send at 0x0000012ECCCB1E10> │ │ │ └ , header_name='... └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\asgi_correlation_id\middleware.py", line 90, in __call__ await self.app(scope, receive, handle_outgoing_request) │ │ │ │ └ .handle_outgoing_request at 0x0000012ECCCB24D0> │ │ │ └ └ CorrelationIdMiddleware(app=, header_name='... File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\exceptions.py", line 62, in __call__ await wrap_app_handling_exceptions(self.app, conn)(scope, receive, send) │ │ │ │ │ │ └ .handle_outgoing_request at 0x0000012ECCCB24D0> │ │ │ │ │ └ │ │ └ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 53, in wrapped_app raise exc File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 42, in wrapped_app await app(scope, receive, sender) │ │ │ └ .wrapped_app..sender at 0x0000012ECCCB2320> │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 714, in __call__ await self.middleware_stack(scope, receive, send) │ │ │ │ └ .wrapped_app..sender at 0x0000012ECCCB2320> │ │ │ └ > └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 734, in app await route.handle(scope, receive, send) │ │ │ │ └ .wrapped_app..sender at 0x0000012ECCCB2320> │ │ │ └ └ APIRoute(path='/api/v1/user/extract-name', name='extract_user_name', methods=['POST']) File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 288, in handle await self.app(scope, receive, send) │ │ │ │ └ .wrapped_app..sender at 0x0000012ECCCB2320> │ │ │ └ .app at 0x0000012E8857D2D0> └ APIRoute(path='/api/v1/user/extract-name', name='extract_user_name', methods=['POST']) File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 76, in app await wrap_app_handling_exceptions(app, request)(scope, receive, send) │ │ │ │ │ └ .wrapped_app..sender at 0x0000012ECCCB2320> │ │ │ │ └ │ └ .app..app at 0x0000012ECCCB25F0> └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 53, in wrapped_app raise exc File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 42, in wrapped_app await app(scope, receive, sender) │ │ │ └ .wrapped_app..sender at 0x0000012ECCCB2560> │ │ └ .app..app at 0x0000012ECCCB25F0> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 73, in app response = await f(request) │ └ .app at 0x0000012E8857D240> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\fastapi\routing.py", line 301, in app raw_response = await run_endpoint_function( └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\fastapi\routing.py", line 212, in run_endpoint_function return await dependant.call(**values) │ │ └ {'service': , 'request': └ Dependant(path_params=[], query_params=[], header_params=[], cookie_params=[], body_params=[], dependencies=[Dependant(path_p... File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\dependency_injector\wiring.py", line 1072, in _patched return await fn(*args, **kwargs) │ │ └ {'service': , 'request': File "C:\University-HCMUTE\InternFuta\ApiDialogflowChatbot\app\api\v1\user.py", line 61, in extract_user_name return DialogflowResponseBuilder().set_parameters({"user_name": user_name}).build() │ └ File "C:\University-HCMUTE\InternFuta\ApiDialogflowChatbot\app\dialogflow\schemas\response.py", line 134, in build return JSONResponse(content=response.model_dump(mode="json")) │ │ └ │ └ DialogflowResponse(fulfillment_response=FulfillmentResponse(messages=[]), sessionInfo=SessionInfo(parameters={'user_name': File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\pydantic\main.py", line 463, in model_dump return self.__pydantic_serializer__.to_python( │ │ └ │ └ SchemaSerializer(serializer=Model( │ ModelSerializer { │ class: Py( │ 0x0000012e86958090, │ ), │ ... └ DialogflowResponse(fulfillment_response=FulfillmentResponse(messages=[]), sessionInfo=SessionInfo(parameters={'user_name': 2025-06-18 15:14:31.374 | ERROR | ad3226768f924ab99e819081aa692df6 | No stops found for route None and way None 2025-06-18 15:18:35.647 | ERROR | 1c0ee121174f4abf9c548d0ef977ed65 | No stops found for route None and way None 2025-06-18 15:21:59.689 | ERROR | - | Traceback (most recent call last): File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\runners.py", line 44, in run return loop.run_until_complete(main) File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 633, in run_until_complete self.run_forever() File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 600, in run_forever self._run_once() File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 1896, in _run_once handle._run() File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\events.py", line 80, in _run self._context.run(self._callback, *self._args) File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\server.py", line 69, in serve with self.capture_signals(): File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\contextlib.py", line 142, in __exit__ next(self.gen) File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\server.py", line 330, in capture_signals signal.raise_signal(captured_signal) KeyboardInterrupt During handling of the above exception, another exception occurred: Traceback (most recent call last): File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 699, in lifespan await receive() File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\lifespan\on.py", line 137, in receive return await self.receive_queue.get() File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\queues.py", line 159, in get await getter asyncio.exceptions.CancelledError 2025-06-18 15:25:44.691 | ERROR | d2f5c2f54c724313afd97b8620e59957 | Exception in ASGI application Traceback (most recent call last): File "", line 1, in File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\spawn.py", line 116, in spawn_main exitcode = _main(fd, parent_sentinel) │ │ └ 364 │ └ 3 └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\spawn.py", line 129, in _main return self._bootstrap(parent_sentinel) │ │ └ 364 │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\process.py", line 315, in _bootstrap self.run() │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\process.py", line 108, in run self._target(*self._args, **self._kwargs) │ │ │ │ │ └ {'config': , 'target': │ │ │ └ () │ │ └ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\_subprocess.py", line 80, in subprocess_started target(sockets=sockets) │ └ [] └ > File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\server.py", line 66, in run return asyncio.run(self.serve(sockets=sockets)) │ │ │ │ └ [] │ │ │ └ │ │ └ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\runners.py", line 44, in run return loop.run_until_complete(main) │ │ └ │ └ └ <_WindowsSelectorEventLoop running=True closed=False debug=False> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 633, in run_until_complete self.run_forever() │ └ └ <_WindowsSelectorEventLoop running=True closed=False debug=False> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 600, in run_forever self._run_once() │ └ └ <_WindowsSelectorEventLoop running=True closed=False debug=False> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 1896, in _run_once handle._run() │ └ )> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\events.py", line 80, in _run self._context.run(self._callback, *self._args) │ │ │ │ │ └ │ │ │ │ └ )> │ │ │ └ │ │ └ )> │ └ )> > File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\protocols\http\h11_impl.py", line 403, in run_asgi result = await app( # type: ignore[func-returns-value] └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\middleware\proxy_headers.py", line 60, in __call__ return await self.app(scope, receive, send) │ │ │ │ └ > │ │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\fastapi\applications.py", line 1054, in __call__ await super().__call__(scope, receive, send) │ │ └ > │ └ > │ │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\errors.py", line 187, in __call__ raise exc File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\errors.py", line 165, in __call__ await self.app(scope, receive, _send) │ │ │ │ └ ._send at 0x0000013EB1C46F80> │ │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\cors.py", line 85, in __call__ await self.app(scope, receive, send) │ │ │ │ └ ._send at 0x0000013EB1C46F80> │ │ │ └ , header_name='... └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\asgi_correlation_id\middleware.py", line 90, in __call__ await self.app(scope, receive, handle_outgoing_request) │ │ │ │ └ .handle_outgoing_request at 0x0000013EB1BDAE60> │ │ │ └ └ CorrelationIdMiddleware(app=, header_name='... File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\exceptions.py", line 62, in __call__ await wrap_app_handling_exceptions(self.app, conn)(scope, receive, send) │ │ │ │ │ │ └ .handle_outgoing_request at 0x0000013EB1BDAE60> │ │ │ │ │ └ │ │ └ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 53, in wrapped_app raise exc File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 42, in wrapped_app await app(scope, receive, sender) │ │ │ └ .wrapped_app..sender at 0x0000013EB1BDAF80> │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 714, in __call__ await self.middleware_stack(scope, receive, send) │ │ │ │ └ .wrapped_app..sender at 0x0000013EB1BDAF80> │ │ │ └ > └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 734, in app await route.handle(scope, receive, send) │ │ │ │ └ .wrapped_app..sender at 0x0000013EB1BDAF80> │ │ │ └ └ APIRoute(path='/api/v1/trip/pick-up', name='pick_up_stop', methods=['POST']) File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 288, in handle await self.app(scope, receive, send) │ │ │ │ └ .wrapped_app..sender at 0x0000013EB1BDAF80> │ │ │ └ .app at 0x0000013E84CF0940> └ APIRoute(path='/api/v1/trip/pick-up', name='pick_up_stop', methods=['POST']) File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 76, in app await wrap_app_handling_exceptions(app, request)(scope, receive, send) │ │ │ │ │ └ .wrapped_app..sender at 0x0000013EB1BDAF80> │ │ │ │ └ │ └ .app..app at 0x0000013EB1BDB6D0> └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 53, in wrapped_app raise exc File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 42, in wrapped_app await app(scope, receive, sender) │ │ │ └ .wrapped_app..sender at 0x0000013EB1BDAC20> │ │ └ .app..app at 0x0000013EB1BDB6D0> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 73, in app response = await f(request) │ └ .app at 0x0000013E84CF08B0> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\fastapi\routing.py", line 301, in app raw_response = await run_endpoint_function( └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\fastapi\routing.py", line 212, in run_endpoint_function return await dependant.call(**values) │ │ └ {'service': , 'request': └ Dependant(path_params=[], query_params=[], header_params=[], cookie_params=[], body_params=[], dependencies=[Dependant(path_p... File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\dependency_injector\wiring.py", line 1072, in _patched return await fn(*args, **kwargs) │ │ └ {'service': , 'request': File "C:\University-HCMUTE\InternFuta\ApiDialogflowChatbot\app\api\v1\trip.py", line 166, in pick_up_stop route_id=data.route_id, way_id=data.way_id │ └ TripSelectionRequest(trip_data=TripDTO(id=5898458, route_id=405, way_id=177, route=Route(name='Mien Tay - Da Lat'), raw_depar... └ TripSelectionRequest(trip_data=TripDTO(id=5898458, route_id=405, way_id=177, route=Route(name='Mien Tay - Da Lat'), raw_depar... File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\pydantic\main.py", line 994, in __getattr__ raise AttributeError(f'{type(self).__name__!r} object has no attribute {item!r}') AttributeError: 'TripSelectionRequest' object has no attribute 'route_id' 2025-06-18 15:25:45.441 | ERROR | 52a8e844f8ac435a916995d2012ece5f | Exception in ASGI application Traceback (most recent call last): File "", line 1, in File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\spawn.py", line 116, in spawn_main exitcode = _main(fd, parent_sentinel) │ │ └ 364 │ └ 3 └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\spawn.py", line 129, in _main return self._bootstrap(parent_sentinel) │ │ └ 364 │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\process.py", line 315, in _bootstrap self.run() │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\process.py", line 108, in run self._target(*self._args, **self._kwargs) │ │ │ │ │ └ {'config': , 'target': │ │ │ └ () │ │ └ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\_subprocess.py", line 80, in subprocess_started target(sockets=sockets) │ └ [] └ > File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\server.py", line 66, in run return asyncio.run(self.serve(sockets=sockets)) │ │ │ │ └ [] │ │ │ └ │ │ └ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\runners.py", line 44, in run return loop.run_until_complete(main) │ │ └ │ └ └ <_WindowsSelectorEventLoop running=True closed=False debug=False> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 633, in run_until_complete self.run_forever() │ └ └ <_WindowsSelectorEventLoop running=True closed=False debug=False> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 600, in run_forever self._run_once() │ └ └ <_WindowsSelectorEventLoop running=True closed=False debug=False> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 1896, in _run_once handle._run() │ └ )> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\events.py", line 80, in _run self._context.run(self._callback, *self._args) │ │ │ │ │ └ │ │ │ │ └ )> │ │ │ └ │ │ └ )> │ └ )> > File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\protocols\http\h11_impl.py", line 403, in run_asgi result = await app( # type: ignore[func-returns-value] └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\middleware\proxy_headers.py", line 60, in __call__ return await self.app(scope, receive, send) │ │ │ │ └ > │ │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\fastapi\applications.py", line 1054, in __call__ await super().__call__(scope, receive, send) │ │ └ > │ └ > │ │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\errors.py", line 187, in __call__ raise exc File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\errors.py", line 165, in __call__ await self.app(scope, receive, _send) │ │ │ │ └ ._send at 0x0000013EB1CE3BE0> │ │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\cors.py", line 85, in __call__ await self.app(scope, receive, send) │ │ │ │ └ ._send at 0x0000013EB1CE3BE0> │ │ │ └ , header_name='... └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\asgi_correlation_id\middleware.py", line 90, in __call__ await self.app(scope, receive, handle_outgoing_request) │ │ │ │ └ .handle_outgoing_request at 0x0000013EB1CE36D0> │ │ │ └ └ CorrelationIdMiddleware(app=, header_name='... File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\exceptions.py", line 62, in __call__ await wrap_app_handling_exceptions(self.app, conn)(scope, receive, send) │ │ │ │ │ │ └ .handle_outgoing_request at 0x0000013EB1CE36D0> │ │ │ │ │ └ │ │ └ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 53, in wrapped_app raise exc File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 42, in wrapped_app await app(scope, receive, sender) │ │ │ └ .wrapped_app..sender at 0x0000013EB1CE3910> │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 714, in __call__ await self.middleware_stack(scope, receive, send) │ │ │ │ └ .wrapped_app..sender at 0x0000013EB1CE3910> │ │ │ └ > └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 734, in app await route.handle(scope, receive, send) │ │ │ │ └ .wrapped_app..sender at 0x0000013EB1CE3910> │ │ │ └ └ APIRoute(path='/api/v1/trip/pick-up', name='pick_up_stop', methods=['POST']) File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 288, in handle await self.app(scope, receive, send) │ │ │ │ └ .wrapped_app..sender at 0x0000013EB1CE3910> │ │ │ └ .app at 0x0000013E84CF0940> └ APIRoute(path='/api/v1/trip/pick-up', name='pick_up_stop', methods=['POST']) File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 76, in app await wrap_app_handling_exceptions(app, request)(scope, receive, send) │ │ │ │ │ └ .wrapped_app..sender at 0x0000013EB1CE3910> │ │ │ │ └ │ └ .app..app at 0x0000013EB1CE3640> └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 53, in wrapped_app raise exc File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 42, in wrapped_app await app(scope, receive, sender) │ │ │ └ .wrapped_app..sender at 0x0000013EB1CE3AC0> │ │ └ .app..app at 0x0000013EB1CE3640> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 73, in app response = await f(request) │ └ .app at 0x0000013E84CF08B0> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\fastapi\routing.py", line 301, in app raw_response = await run_endpoint_function( └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\fastapi\routing.py", line 212, in run_endpoint_function return await dependant.call(**values) │ │ └ {'service': , 'request': └ Dependant(path_params=[], query_params=[], header_params=[], cookie_params=[], body_params=[], dependencies=[Dependant(path_p... File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\dependency_injector\wiring.py", line 1072, in _patched return await fn(*args, **kwargs) │ │ └ {'service': , 'request': File "C:\University-HCMUTE\InternFuta\ApiDialogflowChatbot\app\api\v1\trip.py", line 166, in pick_up_stop route_id=data.route_id, way_id=data.way_id │ └ TripSelectionRequest(trip_data=TripDTO(id=5898458, route_id=405, way_id=177, route=Route(name='Mien Tay - Da Lat'), raw_depar... └ TripSelectionRequest(trip_data=TripDTO(id=5898458, route_id=405, way_id=177, route=Route(name='Mien Tay - Da Lat'), raw_depar... File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\pydantic\main.py", line 994, in __getattr__ raise AttributeError(f'{type(self).__name__!r} object has no attribute {item!r}') AttributeError: 'TripSelectionRequest' object has no attribute 'route_id' 2025-06-18 16:10:33.708 | ERROR | a1f5b6eb70c045f5ad6d4f341af88897 | Invalid trip selection data 2025-06-18 16:41:29.157 | ERROR | 93491d393dfc40ada55d60d5d41b1bf0 | Exception in ASGI application Traceback (most recent call last): File "", line 1, in File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\spawn.py", line 116, in spawn_main exitcode = _main(fd, parent_sentinel) │ │ └ 344 │ └ 3 └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\spawn.py", line 129, in _main return self._bootstrap(parent_sentinel) │ │ └ 344 │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\process.py", line 315, in _bootstrap self.run() │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\process.py", line 108, in run self._target(*self._args, **self._kwargs) │ │ │ │ │ └ {'config': , 'target': │ │ │ └ () │ │ └ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\_subprocess.py", line 80, in subprocess_started target(sockets=sockets) │ └ [] └ > File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\server.py", line 66, in run return asyncio.run(self.serve(sockets=sockets)) │ │ │ │ └ [] │ │ │ └ │ │ └ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\runners.py", line 44, in run return loop.run_until_complete(main) │ │ └ │ └ └ <_WindowsSelectorEventLoop running=True closed=False debug=False> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 633, in run_until_complete self.run_forever() │ └ └ <_WindowsSelectorEventLoop running=True closed=False debug=False> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 600, in run_forever self._run_once() │ └ └ <_WindowsSelectorEventLoop running=True closed=False debug=False> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 1896, in _run_once handle._run() │ └ >)> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\events.py", line 80, in _run self._context.run(self._callback, *self._args) │ │ │ │ │ └ │ │ │ │ └ >)> │ │ │ └ │ │ └ >)> │ └ >)> > File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\protocols\http\h11_impl.py", line 403, in run_asgi result = await app( # type: ignore[func-returns-value] └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\middleware\proxy_headers.py", line 60, in __call__ return await self.app(scope, receive, send) │ │ │ │ └ > │ │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\fastapi\applications.py", line 1054, in __call__ await super().__call__(scope, receive, send) │ │ └ > │ └ > │ │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\errors.py", line 187, in __call__ raise exc File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\errors.py", line 165, in __call__ await self.app(scope, receive, _send) │ │ │ │ └ ._send at 0x0000013D1862AEF0> │ │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\cors.py", line 85, in __call__ await self.app(scope, receive, send) │ │ │ │ └ ._send at 0x0000013D1862AEF0> │ │ │ └ , header_name='... └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\asgi_correlation_id\middleware.py", line 90, in __call__ await self.app(scope, receive, handle_outgoing_request) │ │ │ │ └ .handle_outgoing_request at 0x0000013D1862ACB0> │ │ │ └ └ CorrelationIdMiddleware(app=, header_name='... File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\exceptions.py", line 62, in __call__ await wrap_app_handling_exceptions(self.app, conn)(scope, receive, send) │ │ │ │ │ │ └ .handle_outgoing_request at 0x0000013D1862ACB0> │ │ │ │ │ └ │ │ └ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 53, in wrapped_app raise exc File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 42, in wrapped_app await app(scope, receive, sender) │ │ │ └ .wrapped_app..sender at 0x0000013D1862B0A0> │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 714, in __call__ await self.middleware_stack(scope, receive, send) │ │ │ │ └ .wrapped_app..sender at 0x0000013D1862B0A0> │ │ │ └ > └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 734, in app await route.handle(scope, receive, send) │ │ │ │ └ .wrapped_app..sender at 0x0000013D1862B0A0> │ │ │ └ └ APIRoute(path='/api/v1/trip/option', name='trips_option', methods=['POST']) File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 288, in handle await self.app(scope, receive, send) │ │ │ │ └ .wrapped_app..sender at 0x0000013D1862B0A0> │ │ │ └ .app at 0x0000013D6B470280> └ APIRoute(path='/api/v1/trip/option', name='trips_option', methods=['POST']) File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 76, in app await wrap_app_handling_exceptions(app, request)(scope, receive, send) │ │ │ │ │ └ .wrapped_app..sender at 0x0000013D1862B0A0> │ │ │ │ └ │ └ .app..app at 0x0000013D1862B760> └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 53, in wrapped_app raise exc File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 42, in wrapped_app await app(scope, receive, sender) │ │ │ └ .wrapped_app..sender at 0x0000013D1862AF80> │ │ └ .app..app at 0x0000013D1862B760> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 73, in app response = await f(request) │ └ .app at 0x0000013D6B40BA30> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\fastapi\routing.py", line 301, in app raw_response = await run_endpoint_function( └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\fastapi\routing.py", line 212, in run_endpoint_function return await dependant.call(**values) │ │ └ {'service': , 'request': └ Dependant(path_params=[], query_params=[], header_params=[], cookie_params=[], body_params=[], dependencies=[Dependant(path_p... File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\dependency_injector\wiring.py", line 1072, in _patched return await fn(*args, **kwargs) │ │ └ {'service': , 'request': File "C:\University-HCMUTE\InternFuta\ApiDialogflowChatbot\app\api\v1\trip.py", line 37, in trips_option rs: DialogServiceResult = await service.get_trips_option(data) │ │ └ TripQueryRequest(departure_city='TP. Hồ Chí Minh', destination_city='Thành phố Đà Lạt', origin_office='Bến xe Miền Tây', dest... │ └ File "C:\University-HCMUTE\InternFuta\ApiDialogflowChatbot\app\dialogflow\services\trip_service.py", line 187, in get_trips_option origin_id, origin_code, origin_ids = await self.location_resolver.resolve_info( │ │ └ │ └ File "C:\University-HCMUTE\InternFuta\ApiDialogflowChatbot\app\dialogflow\resolvers\location_resolver.py", line 19, in resolve_info id, code, _ = await self.location_service.get_city_by_office( │ └ typing.Annotated[app.dialogflow.services.location_service.LocationService, Depends(LocationService)] └ TypeError: LocationService.get_city_by_office() missing 1 required positional argument: 'self' 2025-06-18 16:41:29.786 | ERROR | 805c9cf406fa4c66bdec6e7168c0547d | Exception in ASGI application Traceback (most recent call last): File "", line 1, in File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\spawn.py", line 116, in spawn_main exitcode = _main(fd, parent_sentinel) │ │ └ 344 │ └ 3 └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\spawn.py", line 129, in _main return self._bootstrap(parent_sentinel) │ │ └ 344 │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\process.py", line 315, in _bootstrap self.run() │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\process.py", line 108, in run self._target(*self._args, **self._kwargs) │ │ │ │ │ └ {'config': , 'target': │ │ │ └ () │ │ └ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\_subprocess.py", line 80, in subprocess_started target(sockets=sockets) │ └ [] └ > File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\server.py", line 66, in run return asyncio.run(self.serve(sockets=sockets)) │ │ │ │ └ [] │ │ │ └ │ │ └ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\runners.py", line 44, in run return loop.run_until_complete(main) │ │ └ │ └ └ <_WindowsSelectorEventLoop running=True closed=False debug=False> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 633, in run_until_complete self.run_forever() │ └ └ <_WindowsSelectorEventLoop running=True closed=False debug=False> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 600, in run_forever self._run_once() │ └ └ <_WindowsSelectorEventLoop running=True closed=False debug=False> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 1896, in _run_once handle._run() │ └ >)> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\events.py", line 80, in _run self._context.run(self._callback, *self._args) │ │ │ │ │ └ │ │ │ │ └ >)> │ │ │ └ │ │ └ >)> │ └ >)> > File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\protocols\http\h11_impl.py", line 403, in run_asgi result = await app( # type: ignore[func-returns-value] └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\middleware\proxy_headers.py", line 60, in __call__ return await self.app(scope, receive, send) │ │ │ │ └ > │ │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\fastapi\applications.py", line 1054, in __call__ await super().__call__(scope, receive, send) │ │ └ > │ └ > │ │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\errors.py", line 187, in __call__ raise exc File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\errors.py", line 165, in __call__ await self.app(scope, receive, _send) │ │ │ │ └ ._send at 0x0000013D343A60E0> │ │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\cors.py", line 85, in __call__ await self.app(scope, receive, send) │ │ │ │ └ ._send at 0x0000013D343A60E0> │ │ │ └ , header_name='... └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\asgi_correlation_id\middleware.py", line 90, in __call__ await self.app(scope, receive, handle_outgoing_request) │ │ │ │ └ .handle_outgoing_request at 0x0000013D343A5FC0> │ │ │ └ └ CorrelationIdMiddleware(app=, header_name='... File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\exceptions.py", line 62, in __call__ await wrap_app_handling_exceptions(self.app, conn)(scope, receive, send) │ │ │ │ │ │ └ .handle_outgoing_request at 0x0000013D343A5FC0> │ │ │ │ │ └ │ │ └ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 53, in wrapped_app raise exc File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 42, in wrapped_app await app(scope, receive, sender) │ │ │ └ .wrapped_app..sender at 0x0000013D343A6170> │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 714, in __call__ await self.middleware_stack(scope, receive, send) │ │ │ │ └ .wrapped_app..sender at 0x0000013D343A6170> │ │ │ └ > └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 734, in app await route.handle(scope, receive, send) │ │ │ │ └ .wrapped_app..sender at 0x0000013D343A6170> │ │ │ └ └ APIRoute(path='/api/v1/trip/option', name='trips_option', methods=['POST']) File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 288, in handle await self.app(scope, receive, send) │ │ │ │ └ .wrapped_app..sender at 0x0000013D343A6170> │ │ │ └ .app at 0x0000013D6B470280> └ APIRoute(path='/api/v1/trip/option', name='trips_option', methods=['POST']) File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 76, in app await wrap_app_handling_exceptions(app, request)(scope, receive, send) │ │ │ │ │ └ .wrapped_app..sender at 0x0000013D343A6170> │ │ │ │ └ │ └ .app..app at 0x0000013D343A6050> └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 53, in wrapped_app raise exc File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 42, in wrapped_app await app(scope, receive, sender) │ │ │ └ .wrapped_app..sender at 0x0000013D343A5EA0> │ │ └ .app..app at 0x0000013D343A6050> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 73, in app response = await f(request) │ └ .app at 0x0000013D6B40BA30> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\fastapi\routing.py", line 301, in app raw_response = await run_endpoint_function( └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\fastapi\routing.py", line 212, in run_endpoint_function return await dependant.call(**values) │ │ └ {'service': , 'request': └ Dependant(path_params=[], query_params=[], header_params=[], cookie_params=[], body_params=[], dependencies=[Dependant(path_p... File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\dependency_injector\wiring.py", line 1072, in _patched return await fn(*args, **kwargs) │ │ └ {'service': , 'request': File "C:\University-HCMUTE\InternFuta\ApiDialogflowChatbot\app\api\v1\trip.py", line 37, in trips_option rs: DialogServiceResult = await service.get_trips_option(data) │ │ └ TripQueryRequest(departure_city='TP. Hồ Chí Minh', destination_city='Thành phố Đà Lạt', origin_office='Bến xe Miền Tây', dest... │ └ File "C:\University-HCMUTE\InternFuta\ApiDialogflowChatbot\app\dialogflow\services\trip_service.py", line 187, in get_trips_option origin_id, origin_code, origin_ids = await self.location_resolver.resolve_info( │ │ └ │ └ File "C:\University-HCMUTE\InternFuta\ApiDialogflowChatbot\app\dialogflow\resolvers\location_resolver.py", line 19, in resolve_info id, code, _ = await self.location_service.get_city_by_office( │ └ typing.Annotated[app.dialogflow.services.location_service.LocationService, Depends(LocationService)] └ TypeError: LocationService.get_city_by_office() missing 1 required positional argument: 'self' 2025-06-18 16:47:59.229 | ERROR | 90edbebf652c401aa6f2eefaa303244c | Exception in ASGI application Traceback (most recent call last): File "", line 1, in File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\spawn.py", line 116, in spawn_main exitcode = _main(fd, parent_sentinel) │ │ └ 340 │ └ 3 └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\spawn.py", line 129, in _main return self._bootstrap(parent_sentinel) │ │ └ 340 │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\process.py", line 315, in _bootstrap self.run() │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\process.py", line 108, in run self._target(*self._args, **self._kwargs) │ │ │ │ │ └ {'config': , 'target': │ │ │ └ () │ │ └ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\_subprocess.py", line 80, in subprocess_started target(sockets=sockets) │ └ [] └ > File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\server.py", line 66, in run return asyncio.run(self.serve(sockets=sockets)) │ │ │ │ └ [] │ │ │ └ │ │ └ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\runners.py", line 44, in run return loop.run_until_complete(main) │ │ └ │ └ └ <_WindowsSelectorEventLoop running=True closed=False debug=False> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 633, in run_until_complete self.run_forever() │ └ └ <_WindowsSelectorEventLoop running=True closed=False debug=False> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 600, in run_forever self._run_once() │ └ └ <_WindowsSelectorEventLoop running=True closed=False debug=False> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 1896, in _run_once handle._run() │ └ >)> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\events.py", line 80, in _run self._context.run(self._callback, *self._args) │ │ │ │ │ └ │ │ │ │ └ >)> │ │ │ └ │ │ └ >)> │ └ >)> > File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\protocols\http\h11_impl.py", line 403, in run_asgi result = await app( # type: ignore[func-returns-value] └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\middleware\proxy_headers.py", line 60, in __call__ return await self.app(scope, receive, send) │ │ │ │ └ > │ │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\fastapi\applications.py", line 1054, in __call__ await super().__call__(scope, receive, send) │ │ └ > │ └ > │ │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\errors.py", line 187, in __call__ raise exc File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\errors.py", line 165, in __call__ await self.app(scope, receive, _send) │ │ │ │ └ ._send at 0x00000139ADC26F80> │ │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\cors.py", line 85, in __call__ await self.app(scope, receive, send) │ │ │ │ └ ._send at 0x00000139ADC26F80> │ │ │ └ , header_name='... └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\asgi_correlation_id\middleware.py", line 90, in __call__ await self.app(scope, receive, handle_outgoing_request) │ │ │ │ └ .handle_outgoing_request at 0x00000139ADC26D40> │ │ │ └ └ CorrelationIdMiddleware(app=, header_name='... File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\exceptions.py", line 62, in __call__ await wrap_app_handling_exceptions(self.app, conn)(scope, receive, send) │ │ │ │ │ │ └ .handle_outgoing_request at 0x00000139ADC26D40> │ │ │ │ │ └ │ │ └ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 53, in wrapped_app raise exc File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 42, in wrapped_app await app(scope, receive, sender) │ │ │ └ .wrapped_app..sender at 0x00000139ADC26E60> │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 714, in __call__ await self.middleware_stack(scope, receive, send) │ │ │ │ └ .wrapped_app..sender at 0x00000139ADC26E60> │ │ │ └ > └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 734, in app await route.handle(scope, receive, send) │ │ │ │ └ .wrapped_app..sender at 0x00000139ADC26E60> │ │ │ └ └ APIRoute(path='/api/v1/trip/confirm-info', name='confirm', methods=['POST']) File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 288, in handle await self.app(scope, receive, send) │ │ │ │ └ .wrapped_app..sender at 0x00000139ADC26E60> │ │ │ └ .app at 0x0000013980D9C5E0> └ APIRoute(path='/api/v1/trip/confirm-info', name='confirm', methods=['POST']) File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 76, in app await wrap_app_handling_exceptions(app, request)(scope, receive, send) │ │ │ │ │ └ .wrapped_app..sender at 0x00000139ADC26E60> │ │ │ │ └ │ └ .app..app at 0x00000139ADC27130> └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 53, in wrapped_app raise exc File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 42, in wrapped_app await app(scope, receive, sender) │ │ │ └ .wrapped_app..sender at 0x00000139ADC277F0> │ │ └ .app..app at 0x00000139ADC27130> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 73, in app response = await f(request) │ └ .app at 0x0000013980D9C550> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\fastapi\routing.py", line 301, in app raw_response = await run_endpoint_function( └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\fastapi\routing.py", line 212, in run_endpoint_function return await dependant.call(**values) │ │ └ {'service': , 'request': └ Dependant(path_params=[], query_params=[], header_params=[], cookie_params=[], body_params=[], dependencies=[Dependant(path_p... File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\dependency_injector\wiring.py", line 1071, in _patched async with resolver as kwargs: └ File "src/dependency_injector/_cwiring.pyx", line 95, in __aenter__ File "src/dependency_injector/_cwiring.pyx", line 60, in dependency_injector._cwiring.DependencyResolver._handle_injections_async File "src/dependency_injector/providers.pyx", line 231, in dependency_injector.providers.Provider.__call__ File "src/dependency_injector/providers.pyx", line 2661, in dependency_injector.providers.Factory._provide File "src/dependency_injector/providers.pxd", line 646, in dependency_injector.providers.__factory_call File "src/dependency_injector/providers.pxd", line 573, in dependency_injector.providers.__call File "src/dependency_injector/providers.pxd", line 441, in dependency_injector.providers.__provide_keyword_args File "src/dependency_injector/providers.pxd", line 361, in dependency_injector.providers.__get_value File "src/dependency_injector/providers.pyx", line 231, in dependency_injector.providers.Provider.__call__ File "src/dependency_injector/providers.pyx", line 2661, in dependency_injector.providers.Factory._provide File "src/dependency_injector/providers.pxd", line 646, in dependency_injector.providers.__factory_call File "src/dependency_injector/providers.pxd", line 604, in dependency_injector.providers.__call TypeError: LocationResolver.__init__() got an unexpected keyword argument 'location_service' 2025-06-18 16:47:59.810 | ERROR | bc242f61ef9543b68143c667b02c28ed | Exception in ASGI application Traceback (most recent call last): File "", line 1, in File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\spawn.py", line 116, in spawn_main exitcode = _main(fd, parent_sentinel) │ │ └ 340 │ └ 3 └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\spawn.py", line 129, in _main return self._bootstrap(parent_sentinel) │ │ └ 340 │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\process.py", line 315, in _bootstrap self.run() │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\process.py", line 108, in run self._target(*self._args, **self._kwargs) │ │ │ │ │ └ {'config': , 'target': │ │ │ └ () │ │ └ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\_subprocess.py", line 80, in subprocess_started target(sockets=sockets) │ └ [] └ > File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\server.py", line 66, in run return asyncio.run(self.serve(sockets=sockets)) │ │ │ │ └ [] │ │ │ └ │ │ └ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\runners.py", line 44, in run return loop.run_until_complete(main) │ │ └ │ └ └ <_WindowsSelectorEventLoop running=True closed=False debug=False> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 633, in run_until_complete self.run_forever() │ └ └ <_WindowsSelectorEventLoop running=True closed=False debug=False> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 600, in run_forever self._run_once() │ └ └ <_WindowsSelectorEventLoop running=True closed=False debug=False> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 1896, in _run_once handle._run() │ └ >)> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\events.py", line 80, in _run self._context.run(self._callback, *self._args) │ │ │ │ │ └ │ │ │ │ └ >)> │ │ │ └ │ │ └ >)> │ └ >)> > File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\protocols\http\h11_impl.py", line 403, in run_asgi result = await app( # type: ignore[func-returns-value] └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\middleware\proxy_headers.py", line 60, in __call__ return await self.app(scope, receive, send) │ │ │ │ └ > │ │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\fastapi\applications.py", line 1054, in __call__ await super().__call__(scope, receive, send) │ │ └ > │ └ > │ │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\errors.py", line 187, in __call__ raise exc File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\errors.py", line 165, in __call__ await self.app(scope, receive, _send) │ │ │ │ └ ._send at 0x00000139AF970550> │ │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\cors.py", line 85, in __call__ await self.app(scope, receive, send) │ │ │ │ └ ._send at 0x00000139AF970550> │ │ │ └ , header_name='... └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\asgi_correlation_id\middleware.py", line 90, in __call__ await self.app(scope, receive, handle_outgoing_request) │ │ │ │ └ .handle_outgoing_request at 0x00000139AF9705E0> │ │ │ └ └ CorrelationIdMiddleware(app=, header_name='... File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\exceptions.py", line 62, in __call__ await wrap_app_handling_exceptions(self.app, conn)(scope, receive, send) │ │ │ │ │ │ └ .handle_outgoing_request at 0x00000139AF9705E0> │ │ │ │ │ └ │ │ └ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 53, in wrapped_app raise exc File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 42, in wrapped_app await app(scope, receive, sender) │ │ │ └ .wrapped_app..sender at 0x00000139AF970820> │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 714, in __call__ await self.middleware_stack(scope, receive, send) │ │ │ │ └ .wrapped_app..sender at 0x00000139AF970820> │ │ │ └ > └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 734, in app await route.handle(scope, receive, send) │ │ │ │ └ .wrapped_app..sender at 0x00000139AF970820> │ │ │ └ └ APIRoute(path='/api/v1/trip/confirm-info', name='confirm', methods=['POST']) File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 288, in handle await self.app(scope, receive, send) │ │ │ │ └ .wrapped_app..sender at 0x00000139AF970820> │ │ │ └ .app at 0x0000013980D9C5E0> └ APIRoute(path='/api/v1/trip/confirm-info', name='confirm', methods=['POST']) File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 76, in app await wrap_app_handling_exceptions(app, request)(scope, receive, send) │ │ │ │ │ └ .wrapped_app..sender at 0x00000139AF970820> │ │ │ │ └ │ └ .app..app at 0x00000139AF970670> └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 53, in wrapped_app raise exc File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 42, in wrapped_app await app(scope, receive, sender) │ │ │ └ .wrapped_app..sender at 0x00000139AF970790> │ │ └ .app..app at 0x00000139AF970670> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 73, in app response = await f(request) │ └ .app at 0x0000013980D9C550> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\fastapi\routing.py", line 301, in app raw_response = await run_endpoint_function( └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\fastapi\routing.py", line 212, in run_endpoint_function return await dependant.call(**values) │ │ └ {'service': , 'request': └ Dependant(path_params=[], query_params=[], header_params=[], cookie_params=[], body_params=[], dependencies=[Dependant(path_p... File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\dependency_injector\wiring.py", line 1071, in _patched async with resolver as kwargs: └ File "src/dependency_injector/_cwiring.pyx", line 95, in __aenter__ File "src/dependency_injector/_cwiring.pyx", line 60, in dependency_injector._cwiring.DependencyResolver._handle_injections_async File "src/dependency_injector/providers.pyx", line 231, in dependency_injector.providers.Provider.__call__ File "src/dependency_injector/providers.pyx", line 2661, in dependency_injector.providers.Factory._provide File "src/dependency_injector/providers.pxd", line 646, in dependency_injector.providers.__factory_call File "src/dependency_injector/providers.pxd", line 573, in dependency_injector.providers.__call File "src/dependency_injector/providers.pxd", line 441, in dependency_injector.providers.__provide_keyword_args File "src/dependency_injector/providers.pxd", line 361, in dependency_injector.providers.__get_value File "src/dependency_injector/providers.pyx", line 231, in dependency_injector.providers.Provider.__call__ File "src/dependency_injector/providers.pyx", line 2661, in dependency_injector.providers.Factory._provide File "src/dependency_injector/providers.pxd", line 646, in dependency_injector.providers.__factory_call File "src/dependency_injector/providers.pxd", line 604, in dependency_injector.providers.__call TypeError: LocationResolver.__init__() got an unexpected keyword argument 'location_service' 2025-06-19 09:39:32.154 | ERROR | - | Traceback (most recent call last): File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\runners.py", line 44, in run return loop.run_until_complete(main) File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 633, in run_until_complete self.run_forever() File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 600, in run_forever self._run_once() File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 1896, in _run_once handle._run() File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\events.py", line 80, in _run self._context.run(self._callback, *self._args) File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\server.py", line 69, in serve with self.capture_signals(): File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\contextlib.py", line 142, in __exit__ next(self.gen) File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\server.py", line 330, in capture_signals signal.raise_signal(captured_signal) KeyboardInterrupt During handling of the above exception, another exception occurred: Traceback (most recent call last): File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 699, in lifespan await receive() File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\lifespan\on.py", line 137, in receive return await self.receive_queue.get() File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\queues.py", line 159, in get await getter asyncio.exceptions.CancelledError 2025-06-19 09:39:42.401 | ERROR | - | Traceback (most recent call last): File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\runners.py", line 44, in run return loop.run_until_complete(main) File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 633, in run_until_complete self.run_forever() File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 600, in run_forever self._run_once() File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 1896, in _run_once handle._run() File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\events.py", line 80, in _run self._context.run(self._callback, *self._args) File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\server.py", line 69, in serve with self.capture_signals(): File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\contextlib.py", line 142, in __exit__ next(self.gen) File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\server.py", line 330, in capture_signals signal.raise_signal(captured_signal) KeyboardInterrupt During handling of the above exception, another exception occurred: Traceback (most recent call last): File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 699, in lifespan await receive() File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\lifespan\on.py", line 137, in receive return await self.receive_queue.get() File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\queues.py", line 159, in get await getter asyncio.exceptions.CancelledError 2025-06-19 10:09:17.817 | ERROR | 6401977d26ee4ec7895505f25ed3996a | Invalid role for stop selection: pick_up 2025-06-19 10:10:15.668 | ERROR | f0448c3958dd4293a85a2136fa1dca27 | Invalid role for stop selection: pick_up 2025-06-19 10:15:19.939 | ERROR | 1aeb45d1d0044a6881f6ae9e6a9e8de1 | Invalid role for stop selection: pick_up 2025-06-19 10:15:20.491 | ERROR | 1565a74ef8a840e9a5696509de05a157 | Exception in ASGI application Traceback (most recent call last): File "", line 1, in File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\spawn.py", line 116, in spawn_main exitcode = _main(fd, parent_sentinel) │ │ └ 336 │ └ 3 └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\spawn.py", line 129, in _main return self._bootstrap(parent_sentinel) │ │ └ 336 │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\process.py", line 315, in _bootstrap self.run() │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\process.py", line 108, in run self._target(*self._args, **self._kwargs) │ │ │ │ │ └ {'config': , 'target': │ │ │ └ () │ │ └ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\_subprocess.py", line 80, in subprocess_started target(sockets=sockets) │ └ [] └ > File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\server.py", line 66, in run return asyncio.run(self.serve(sockets=sockets)) │ │ │ │ └ [] │ │ │ └ │ │ └ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\runners.py", line 44, in run return loop.run_until_complete(main) │ │ └ │ └ └ <_WindowsSelectorEventLoop running=True closed=False debug=False> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 633, in run_until_complete self.run_forever() │ └ └ <_WindowsSelectorEventLoop running=True closed=False debug=False> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 600, in run_forever self._run_once() │ └ └ <_WindowsSelectorEventLoop running=True closed=False debug=False> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 1896, in _run_once handle._run() │ └ >)> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\events.py", line 80, in _run self._context.run(self._callback, *self._args) │ │ │ │ │ └ │ │ │ │ └ >)> │ │ │ └ │ │ └ >)> │ └ >)> > File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\protocols\http\h11_impl.py", line 403, in run_asgi result = await app( # type: ignore[func-returns-value] └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\middleware\proxy_headers.py", line 60, in __call__ return await self.app(scope, receive, send) │ │ │ │ └ > │ │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\fastapi\applications.py", line 1054, in __call__ await super().__call__(scope, receive, send) │ │ └ > │ └ > │ │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\errors.py", line 187, in __call__ raise exc File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\errors.py", line 165, in __call__ await self.app(scope, receive, _send) │ │ │ │ └ ._send at 0x0000020F9772B1C0> │ │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\cors.py", line 85, in __call__ await self.app(scope, receive, send) │ │ │ │ └ ._send at 0x0000020F9772B1C0> │ │ │ └ , header_name='... └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\asgi_correlation_id\middleware.py", line 90, in __call__ await self.app(scope, receive, handle_outgoing_request) │ │ │ │ └ .handle_outgoing_request at 0x0000020F9772B130> │ │ │ └ └ CorrelationIdMiddleware(app=, header_name='... File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\exceptions.py", line 62, in __call__ await wrap_app_handling_exceptions(self.app, conn)(scope, receive, send) │ │ │ │ │ │ └ .handle_outgoing_request at 0x0000020F9772B130> │ │ │ │ │ └ │ │ └ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 53, in wrapped_app raise exc File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 42, in wrapped_app await app(scope, receive, sender) │ │ │ └ .wrapped_app..sender at 0x0000020F9772AEF0> │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 714, in __call__ await self.middleware_stack(scope, receive, send) │ │ │ │ └ .wrapped_app..sender at 0x0000020F9772AEF0> │ │ │ └ > └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 734, in app await route.handle(scope, receive, send) │ │ │ │ └ .wrapped_app..sender at 0x0000020F9772AEF0> │ │ │ └ └ APIRoute(path='/api/v1/trip/pick-up', name='pick_up_stop', methods=['POST']) File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 288, in handle await self.app(scope, receive, send) │ │ │ │ └ .wrapped_app..sender at 0x0000020F9772AEF0> │ │ │ └ .app at 0x0000020FEA5C4C10> └ APIRoute(path='/api/v1/trip/pick-up', name='pick_up_stop', methods=['POST']) File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 76, in app await wrap_app_handling_exceptions(app, request)(scope, receive, send) │ │ │ │ │ └ .wrapped_app..sender at 0x0000020F9772AEF0> │ │ │ │ └ │ └ .app..app at 0x0000020F9772B010> └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 53, in wrapped_app raise exc File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 42, in wrapped_app await app(scope, receive, sender) │ │ │ └ .wrapped_app..sender at 0x0000020F9772B910> │ │ └ .app..app at 0x0000020F9772B010> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 73, in app response = await f(request) │ └ .app at 0x0000020FEA5C4B80> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\fastapi\routing.py", line 301, in app raw_response = await run_endpoint_function( └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\fastapi\routing.py", line 212, in run_endpoint_function return await dependant.call(**values) │ │ └ {'service': , 'request': └ Dependant(path_params=[], query_params=[], header_params=[], cookie_params=[], body_params=[], dependencies=[Dependant(path_p... File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\dependency_injector\wiring.py", line 1072, in _patched return await fn(*args, **kwargs) │ │ └ {'service': , 'request': File "C:\University-HCMUTE\InternFuta\ApiDialogflowChatbot\app\api\v1\trip.py", line 165, in pick_up_stop route_id=data.trip_data.route_id, way_id=data.trip_data.way_id │ │ │ └ None │ │ └ TripSelectionRequest(trip_data=None) │ └ None └ TripSelectionRequest(trip_data=None) AttributeError: 'NoneType' object has no attribute 'route_id' 2025-06-19 10:15:21.111 | ERROR | cd16979dcb4a43c68de8d5c85212c805 | Exception in ASGI application Traceback (most recent call last): File "", line 1, in File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\spawn.py", line 116, in spawn_main exitcode = _main(fd, parent_sentinel) │ │ └ 336 │ └ 3 └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\spawn.py", line 129, in _main return self._bootstrap(parent_sentinel) │ │ └ 336 │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\process.py", line 315, in _bootstrap self.run() │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\process.py", line 108, in run self._target(*self._args, **self._kwargs) │ │ │ │ │ └ {'config': , 'target': │ │ │ └ () │ │ └ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\_subprocess.py", line 80, in subprocess_started target(sockets=sockets) │ └ [] └ > File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\server.py", line 66, in run return asyncio.run(self.serve(sockets=sockets)) │ │ │ │ └ [] │ │ │ └ │ │ └ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\runners.py", line 44, in run return loop.run_until_complete(main) │ │ └ │ └ └ <_WindowsSelectorEventLoop running=True closed=False debug=False> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 633, in run_until_complete self.run_forever() │ └ └ <_WindowsSelectorEventLoop running=True closed=False debug=False> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 600, in run_forever self._run_once() │ └ └ <_WindowsSelectorEventLoop running=True closed=False debug=False> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 1896, in _run_once handle._run() │ └ >)> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\events.py", line 80, in _run self._context.run(self._callback, *self._args) │ │ │ │ │ └ │ │ │ │ └ >)> │ │ │ └ │ │ └ >)> │ └ >)> > File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\protocols\http\h11_impl.py", line 403, in run_asgi result = await app( # type: ignore[func-returns-value] └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\middleware\proxy_headers.py", line 60, in __call__ return await self.app(scope, receive, send) │ │ │ │ └ > │ │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\fastapi\applications.py", line 1054, in __call__ await super().__call__(scope, receive, send) │ │ └ > │ └ > │ │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\errors.py", line 187, in __call__ raise exc File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\errors.py", line 165, in __call__ await self.app(scope, receive, _send) │ │ │ │ └ ._send at 0x0000020F9772ADD0> │ │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\cors.py", line 85, in __call__ await self.app(scope, receive, send) │ │ │ │ └ ._send at 0x0000020F9772ADD0> │ │ │ └ , header_name='... └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\asgi_correlation_id\middleware.py", line 90, in __call__ await self.app(scope, receive, handle_outgoing_request) │ │ │ │ └ .handle_outgoing_request at 0x0000020F9772B2E0> │ │ │ └ └ CorrelationIdMiddleware(app=, header_name='... File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\exceptions.py", line 62, in __call__ await wrap_app_handling_exceptions(self.app, conn)(scope, receive, send) │ │ │ │ │ │ └ .handle_outgoing_request at 0x0000020F9772B2E0> │ │ │ │ │ └ │ │ └ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 53, in wrapped_app raise exc File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 42, in wrapped_app await app(scope, receive, sender) │ │ │ └ .wrapped_app..sender at 0x0000020F99485EA0> │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 714, in __call__ await self.middleware_stack(scope, receive, send) │ │ │ │ └ .wrapped_app..sender at 0x0000020F99485EA0> │ │ │ └ > └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 734, in app await route.handle(scope, receive, send) │ │ │ │ └ .wrapped_app..sender at 0x0000020F99485EA0> │ │ │ └ └ APIRoute(path='/api/v1/trip/pick-up', name='pick_up_stop', methods=['POST']) File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 288, in handle await self.app(scope, receive, send) │ │ │ │ └ .wrapped_app..sender at 0x0000020F99485EA0> │ │ │ └ .app at 0x0000020FEA5C4C10> └ APIRoute(path='/api/v1/trip/pick-up', name='pick_up_stop', methods=['POST']) File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 76, in app await wrap_app_handling_exceptions(app, request)(scope, receive, send) │ │ │ │ │ └ .wrapped_app..sender at 0x0000020F99485EA0> │ │ │ │ └ │ └ .app..app at 0x0000020F99485F30> └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 53, in wrapped_app raise exc File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 42, in wrapped_app await app(scope, receive, sender) │ │ │ └ .wrapped_app..sender at 0x0000020F99485FC0> │ │ └ .app..app at 0x0000020F99485F30> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 73, in app response = await f(request) │ └ .app at 0x0000020FEA5C4B80> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\fastapi\routing.py", line 301, in app raw_response = await run_endpoint_function( └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\fastapi\routing.py", line 212, in run_endpoint_function return await dependant.call(**values) │ │ └ {'service': , 'request': └ Dependant(path_params=[], query_params=[], header_params=[], cookie_params=[], body_params=[], dependencies=[Dependant(path_p... File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\dependency_injector\wiring.py", line 1072, in _patched return await fn(*args, **kwargs) │ │ └ {'service': , 'request': File "C:\University-HCMUTE\InternFuta\ApiDialogflowChatbot\app\api\v1\trip.py", line 165, in pick_up_stop route_id=data.trip_data.route_id, way_id=data.trip_data.way_id │ │ │ └ None │ │ └ TripSelectionRequest(trip_data=None) │ └ None └ TripSelectionRequest(trip_data=None) AttributeError: 'NoneType' object has no attribute 'route_id' 2025-06-19 10:16:48.925 | ERROR | 5cfd5dc0920d4d56a2207b4575b61d22 | Invalid role for stop selection: pick_up 2025-06-19 10:16:49.462 | ERROR | 3fd917cf26d34c7aa8fadb7f6d49aa74 | Exception in ASGI application Traceback (most recent call last): File "", line 1, in File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\spawn.py", line 116, in spawn_main exitcode = _main(fd, parent_sentinel) │ │ └ 336 │ └ 3 └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\spawn.py", line 129, in _main return self._bootstrap(parent_sentinel) │ │ └ 336 │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\process.py", line 315, in _bootstrap self.run() │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\process.py", line 108, in run self._target(*self._args, **self._kwargs) │ │ │ │ │ └ {'config': , 'target': │ │ │ └ () │ │ └ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\_subprocess.py", line 80, in subprocess_started target(sockets=sockets) │ └ [] └ > File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\server.py", line 66, in run return asyncio.run(self.serve(sockets=sockets)) │ │ │ │ └ [] │ │ │ └ │ │ └ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\runners.py", line 44, in run return loop.run_until_complete(main) │ │ └ │ └ └ <_WindowsSelectorEventLoop running=True closed=False debug=False> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 633, in run_until_complete self.run_forever() │ └ └ <_WindowsSelectorEventLoop running=True closed=False debug=False> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 600, in run_forever self._run_once() │ └ └ <_WindowsSelectorEventLoop running=True closed=False debug=False> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 1896, in _run_once handle._run() │ └ >)> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\events.py", line 80, in _run self._context.run(self._callback, *self._args) │ │ │ │ │ └ │ │ │ │ └ >)> │ │ │ └ │ │ └ >)> │ └ >)> > File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\protocols\http\h11_impl.py", line 403, in run_asgi result = await app( # type: ignore[func-returns-value] └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\middleware\proxy_headers.py", line 60, in __call__ return await self.app(scope, receive, send) │ │ │ │ └ > │ │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\fastapi\applications.py", line 1054, in __call__ await super().__call__(scope, receive, send) │ │ └ > │ └ > │ │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\errors.py", line 187, in __call__ raise exc File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\errors.py", line 165, in __call__ await self.app(scope, receive, _send) │ │ │ │ └ ._send at 0x0000020F99485E10> │ │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\cors.py", line 85, in __call__ await self.app(scope, receive, send) │ │ │ │ └ ._send at 0x0000020F99485E10> │ │ │ └ , header_name='... └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\asgi_correlation_id\middleware.py", line 90, in __call__ await self.app(scope, receive, handle_outgoing_request) │ │ │ │ └ .handle_outgoing_request at 0x0000020F99486170> │ │ │ └ └ CorrelationIdMiddleware(app=, header_name='... File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\exceptions.py", line 62, in __call__ await wrap_app_handling_exceptions(self.app, conn)(scope, receive, send) │ │ │ │ │ │ └ .handle_outgoing_request at 0x0000020F99486170> │ │ │ │ │ └ │ │ └ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 53, in wrapped_app raise exc File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 42, in wrapped_app await app(scope, receive, sender) │ │ │ └ .wrapped_app..sender at 0x0000020F99486200> │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 714, in __call__ await self.middleware_stack(scope, receive, send) │ │ │ │ └ .wrapped_app..sender at 0x0000020F99486200> │ │ │ └ > └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 734, in app await route.handle(scope, receive, send) │ │ │ │ └ .wrapped_app..sender at 0x0000020F99486200> │ │ │ └ └ APIRoute(path='/api/v1/trip/pick-up', name='pick_up_stop', methods=['POST']) File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 288, in handle await self.app(scope, receive, send) │ │ │ │ └ .wrapped_app..sender at 0x0000020F99486200> │ │ │ └ .app at 0x0000020FEA5C4C10> └ APIRoute(path='/api/v1/trip/pick-up', name='pick_up_stop', methods=['POST']) File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 76, in app await wrap_app_handling_exceptions(app, request)(scope, receive, send) │ │ │ │ │ └ .wrapped_app..sender at 0x0000020F99486200> │ │ │ │ └ │ └ .app..app at 0x0000020F99486290> └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 53, in wrapped_app raise exc File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 42, in wrapped_app await app(scope, receive, sender) │ │ │ └ .wrapped_app..sender at 0x0000020F99486320> │ │ └ .app..app at 0x0000020F99486290> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 73, in app response = await f(request) │ └ .app at 0x0000020FEA5C4B80> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\fastapi\routing.py", line 301, in app raw_response = await run_endpoint_function( └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\fastapi\routing.py", line 212, in run_endpoint_function return await dependant.call(**values) │ │ └ {'service': , 'request': └ Dependant(path_params=[], query_params=[], header_params=[], cookie_params=[], body_params=[], dependencies=[Dependant(path_p... File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\dependency_injector\wiring.py", line 1072, in _patched return await fn(*args, **kwargs) │ │ └ {'service': , 'request': File "C:\University-HCMUTE\InternFuta\ApiDialogflowChatbot\app\api\v1\trip.py", line 165, in pick_up_stop route_id=data.trip_data.route_id, way_id=data.trip_data.way_id │ │ │ └ None │ │ └ TripSelectionRequest(trip_data=None) │ └ None └ TripSelectionRequest(trip_data=None) AttributeError: 'NoneType' object has no attribute 'route_id' 2025-06-19 10:16:49.985 | ERROR | 54cae5c0e0864b45b8e5141a3ee0656f | Exception in ASGI application Traceback (most recent call last): File "", line 1, in File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\spawn.py", line 116, in spawn_main exitcode = _main(fd, parent_sentinel) │ │ └ 336 │ └ 3 └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\spawn.py", line 129, in _main return self._bootstrap(parent_sentinel) │ │ └ 336 │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\process.py", line 315, in _bootstrap self.run() │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\process.py", line 108, in run self._target(*self._args, **self._kwargs) │ │ │ │ │ └ {'config': , 'target': │ │ │ └ () │ │ └ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\_subprocess.py", line 80, in subprocess_started target(sockets=sockets) │ └ [] └ > File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\server.py", line 66, in run return asyncio.run(self.serve(sockets=sockets)) │ │ │ │ └ [] │ │ │ └ │ │ └ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\runners.py", line 44, in run return loop.run_until_complete(main) │ │ └ │ └ └ <_WindowsSelectorEventLoop running=True closed=False debug=False> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 633, in run_until_complete self.run_forever() │ └ └ <_WindowsSelectorEventLoop running=True closed=False debug=False> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 600, in run_forever self._run_once() │ └ └ <_WindowsSelectorEventLoop running=True closed=False debug=False> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 1896, in _run_once handle._run() │ └ >)> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\events.py", line 80, in _run self._context.run(self._callback, *self._args) │ │ │ │ │ └ │ │ │ │ └ >)> │ │ │ └ │ │ └ >)> │ └ >)> > File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\protocols\http\h11_impl.py", line 403, in run_asgi result = await app( # type: ignore[func-returns-value] └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\middleware\proxy_headers.py", line 60, in __call__ return await self.app(scope, receive, send) │ │ │ │ └ > │ │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\fastapi\applications.py", line 1054, in __call__ await super().__call__(scope, receive, send) │ │ └ > │ └ > │ │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\errors.py", line 187, in __call__ raise exc File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\errors.py", line 165, in __call__ await self.app(scope, receive, _send) │ │ │ │ └ ._send at 0x0000020F994860E0> │ │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\cors.py", line 85, in __call__ await self.app(scope, receive, send) │ │ │ │ └ ._send at 0x0000020F994860E0> │ │ │ └ , header_name='... └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\asgi_correlation_id\middleware.py", line 90, in __call__ await self.app(scope, receive, handle_outgoing_request) │ │ │ │ └ .handle_outgoing_request at 0x0000020F99486680> │ │ │ └ └ CorrelationIdMiddleware(app=, header_name='... File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\exceptions.py", line 62, in __call__ await wrap_app_handling_exceptions(self.app, conn)(scope, receive, send) │ │ │ │ │ │ └ .handle_outgoing_request at 0x0000020F99486680> │ │ │ │ │ └ │ │ └ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 53, in wrapped_app raise exc File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 42, in wrapped_app await app(scope, receive, sender) │ │ │ └ .wrapped_app..sender at 0x0000020F99486560> │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 714, in __call__ await self.middleware_stack(scope, receive, send) │ │ │ │ └ .wrapped_app..sender at 0x0000020F99486560> │ │ │ └ > └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 734, in app await route.handle(scope, receive, send) │ │ │ │ └ .wrapped_app..sender at 0x0000020F99486560> │ │ │ └ └ APIRoute(path='/api/v1/trip/pick-up', name='pick_up_stop', methods=['POST']) File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 288, in handle await self.app(scope, receive, send) │ │ │ │ └ .wrapped_app..sender at 0x0000020F99486560> │ │ │ └ .app at 0x0000020FEA5C4C10> └ APIRoute(path='/api/v1/trip/pick-up', name='pick_up_stop', methods=['POST']) File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 76, in app await wrap_app_handling_exceptions(app, request)(scope, receive, send) │ │ │ │ │ └ .wrapped_app..sender at 0x0000020F99486560> │ │ │ │ └ │ └ .app..app at 0x0000020F9772ADD0> └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 53, in wrapped_app raise exc File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 42, in wrapped_app await app(scope, receive, sender) │ │ │ └ .wrapped_app..sender at 0x0000020F9772B2E0> │ │ └ .app..app at 0x0000020F9772ADD0> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 73, in app response = await f(request) │ └ .app at 0x0000020FEA5C4B80> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\fastapi\routing.py", line 301, in app raw_response = await run_endpoint_function( └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\fastapi\routing.py", line 212, in run_endpoint_function return await dependant.call(**values) │ │ └ {'service': , 'request': └ Dependant(path_params=[], query_params=[], header_params=[], cookie_params=[], body_params=[], dependencies=[Dependant(path_p... File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\dependency_injector\wiring.py", line 1072, in _patched return await fn(*args, **kwargs) │ │ └ {'service': , 'request': File "C:\University-HCMUTE\InternFuta\ApiDialogflowChatbot\app\api\v1\trip.py", line 165, in pick_up_stop route_id=data.trip_data.route_id, way_id=data.trip_data.way_id │ │ │ └ None │ │ └ TripSelectionRequest(trip_data=None) │ └ None └ TripSelectionRequest(trip_data=None) AttributeError: 'NoneType' object has no attribute 'route_id' 2025-06-19 10:16:50.528 | ERROR | e7f2ee2ac83b418ca50a9ac163b06964 | Invalid role for stop selection: pick_up 2025-06-19 10:16:51.008 | ERROR | ea3acb6e31a4418d9450050863e64a99 | Exception in ASGI application Traceback (most recent call last): File "", line 1, in File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\spawn.py", line 116, in spawn_main exitcode = _main(fd, parent_sentinel) │ │ └ 336 │ └ 3 └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\spawn.py", line 129, in _main return self._bootstrap(parent_sentinel) │ │ └ 336 │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\process.py", line 315, in _bootstrap self.run() │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\process.py", line 108, in run self._target(*self._args, **self._kwargs) │ │ │ │ │ └ {'config': , 'target': │ │ │ └ () │ │ └ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\_subprocess.py", line 80, in subprocess_started target(sockets=sockets) │ └ [] └ > File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\server.py", line 66, in run return asyncio.run(self.serve(sockets=sockets)) │ │ │ │ └ [] │ │ │ └ │ │ └ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\runners.py", line 44, in run return loop.run_until_complete(main) │ │ └ │ └ └ <_WindowsSelectorEventLoop running=True closed=False debug=False> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 633, in run_until_complete self.run_forever() │ └ └ <_WindowsSelectorEventLoop running=True closed=False debug=False> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 600, in run_forever self._run_once() │ └ └ <_WindowsSelectorEventLoop running=True closed=False debug=False> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 1896, in _run_once handle._run() │ └ >)> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\events.py", line 80, in _run self._context.run(self._callback, *self._args) │ │ │ │ │ └ │ │ │ │ └ >)> │ │ │ └ │ │ └ >)> │ └ >)> > File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\protocols\http\h11_impl.py", line 403, in run_asgi result = await app( # type: ignore[func-returns-value] └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\middleware\proxy_headers.py", line 60, in __call__ return await self.app(scope, receive, send) │ │ │ │ └ > │ │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\fastapi\applications.py", line 1054, in __call__ await super().__call__(scope, receive, send) │ │ └ > │ └ > │ │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\errors.py", line 187, in __call__ raise exc File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\errors.py", line 165, in __call__ await self.app(scope, receive, _send) │ │ │ │ └ ._send at 0x0000020F99485EA0> │ │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\cors.py", line 85, in __call__ await self.app(scope, receive, send) │ │ │ │ └ ._send at 0x0000020F99485EA0> │ │ │ └ , header_name='... └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\asgi_correlation_id\middleware.py", line 90, in __call__ await self.app(scope, receive, handle_outgoing_request) │ │ │ │ └ .handle_outgoing_request at 0x0000020F99486200> │ │ │ └ └ CorrelationIdMiddleware(app=, header_name='... File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\exceptions.py", line 62, in __call__ await wrap_app_handling_exceptions(self.app, conn)(scope, receive, send) │ │ │ │ │ │ └ .handle_outgoing_request at 0x0000020F99486200> │ │ │ │ │ └ │ │ └ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 53, in wrapped_app raise exc File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 42, in wrapped_app await app(scope, receive, sender) │ │ │ └ .wrapped_app..sender at 0x0000020F99486290> │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 714, in __call__ await self.middleware_stack(scope, receive, send) │ │ │ │ └ .wrapped_app..sender at 0x0000020F99486290> │ │ │ └ > └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 734, in app await route.handle(scope, receive, send) │ │ │ │ └ .wrapped_app..sender at 0x0000020F99486290> │ │ │ └ └ APIRoute(path='/api/v1/trip/pick-up', name='pick_up_stop', methods=['POST']) File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 288, in handle await self.app(scope, receive, send) │ │ │ │ └ .wrapped_app..sender at 0x0000020F99486290> │ │ │ └ .app at 0x0000020FEA5C4C10> └ APIRoute(path='/api/v1/trip/pick-up', name='pick_up_stop', methods=['POST']) File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 76, in app await wrap_app_handling_exceptions(app, request)(scope, receive, send) │ │ │ │ │ └ .wrapped_app..sender at 0x0000020F99486290> │ │ │ │ └ │ └ .app..app at 0x0000020F99486440> └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 53, in wrapped_app raise exc File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 42, in wrapped_app await app(scope, receive, sender) │ │ │ └ .wrapped_app..sender at 0x0000020F99486170> │ │ └ .app..app at 0x0000020F99486440> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 73, in app response = await f(request) │ └ .app at 0x0000020FEA5C4B80> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\fastapi\routing.py", line 301, in app raw_response = await run_endpoint_function( └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\fastapi\routing.py", line 212, in run_endpoint_function return await dependant.call(**values) │ │ └ {'service': , 'request': └ Dependant(path_params=[], query_params=[], header_params=[], cookie_params=[], body_params=[], dependencies=[Dependant(path_p... File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\dependency_injector\wiring.py", line 1072, in _patched return await fn(*args, **kwargs) │ │ └ {'service': , 'request': File "C:\University-HCMUTE\InternFuta\ApiDialogflowChatbot\app\api\v1\trip.py", line 165, in pick_up_stop route_id=data.trip_data.route_id, way_id=data.trip_data.way_id │ │ │ └ None │ │ └ TripSelectionRequest(trip_data=None) │ └ None └ TripSelectionRequest(trip_data=None) AttributeError: 'NoneType' object has no attribute 'route_id' 2025-06-19 10:16:51.594 | ERROR | eef86f9cbd1d4a0ba7dd2f01d069576e | Exception in ASGI application Traceback (most recent call last): File "", line 1, in File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\spawn.py", line 116, in spawn_main exitcode = _main(fd, parent_sentinel) │ │ └ 336 │ └ 3 └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\spawn.py", line 129, in _main return self._bootstrap(parent_sentinel) │ │ └ 336 │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\process.py", line 315, in _bootstrap self.run() │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\process.py", line 108, in run self._target(*self._args, **self._kwargs) │ │ │ │ │ └ {'config': , 'target': │ │ │ └ () │ │ └ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\_subprocess.py", line 80, in subprocess_started target(sockets=sockets) │ └ [] └ > File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\server.py", line 66, in run return asyncio.run(self.serve(sockets=sockets)) │ │ │ │ └ [] │ │ │ └ │ │ └ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\runners.py", line 44, in run return loop.run_until_complete(main) │ │ └ │ └ └ <_WindowsSelectorEventLoop running=True closed=False debug=False> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 633, in run_until_complete self.run_forever() │ └ └ <_WindowsSelectorEventLoop running=True closed=False debug=False> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 600, in run_forever self._run_once() │ └ └ <_WindowsSelectorEventLoop running=True closed=False debug=False> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 1896, in _run_once handle._run() │ └ >)> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\events.py", line 80, in _run self._context.run(self._callback, *self._args) │ │ │ │ │ └ │ │ │ │ └ >)> │ │ │ └ │ │ └ >)> │ └ >)> > File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\protocols\http\h11_impl.py", line 403, in run_asgi result = await app( # type: ignore[func-returns-value] └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\middleware\proxy_headers.py", line 60, in __call__ return await self.app(scope, receive, send) │ │ │ │ └ > │ │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\fastapi\applications.py", line 1054, in __call__ await super().__call__(scope, receive, send) │ │ └ > │ └ > │ │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\errors.py", line 187, in __call__ raise exc File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\errors.py", line 165, in __call__ await self.app(scope, receive, _send) │ │ │ │ └ ._send at 0x0000020F99485FC0> │ │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\cors.py", line 85, in __call__ await self.app(scope, receive, send) │ │ │ │ └ ._send at 0x0000020F99485FC0> │ │ │ └ , header_name='... └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\asgi_correlation_id\middleware.py", line 90, in __call__ await self.app(scope, receive, handle_outgoing_request) │ │ │ │ └ .handle_outgoing_request at 0x0000020F99486050> │ │ │ └ └ CorrelationIdMiddleware(app=, header_name='... File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\exceptions.py", line 62, in __call__ await wrap_app_handling_exceptions(self.app, conn)(scope, receive, send) │ │ │ │ │ │ └ .handle_outgoing_request at 0x0000020F99486050> │ │ │ │ │ └ │ │ └ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 53, in wrapped_app raise exc File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 42, in wrapped_app await app(scope, receive, sender) │ │ │ └ .wrapped_app..sender at 0x0000020F994864D0> │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 714, in __call__ await self.middleware_stack(scope, receive, send) │ │ │ │ └ .wrapped_app..sender at 0x0000020F994864D0> │ │ │ └ > └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 734, in app await route.handle(scope, receive, send) │ │ │ │ └ .wrapped_app..sender at 0x0000020F994864D0> │ │ │ └ └ APIRoute(path='/api/v1/trip/pick-up', name='pick_up_stop', methods=['POST']) File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 288, in handle await self.app(scope, receive, send) │ │ │ │ └ .wrapped_app..sender at 0x0000020F994864D0> │ │ │ └ .app at 0x0000020FEA5C4C10> └ APIRoute(path='/api/v1/trip/pick-up', name='pick_up_stop', methods=['POST']) File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 76, in app await wrap_app_handling_exceptions(app, request)(scope, receive, send) │ │ │ │ │ └ .wrapped_app..sender at 0x0000020F994864D0> │ │ │ │ └ │ └ .app..app at 0x0000020F994863B0> └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 53, in wrapped_app raise exc File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 42, in wrapped_app await app(scope, receive, sender) │ │ │ └ .wrapped_app..sender at 0x0000020F99485F30> │ │ └ .app..app at 0x0000020F994863B0> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 73, in app response = await f(request) │ └ .app at 0x0000020FEA5C4B80> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\fastapi\routing.py", line 301, in app raw_response = await run_endpoint_function( └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\fastapi\routing.py", line 212, in run_endpoint_function return await dependant.call(**values) │ │ └ {'service': , 'request': └ Dependant(path_params=[], query_params=[], header_params=[], cookie_params=[], body_params=[], dependencies=[Dependant(path_p... File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\dependency_injector\wiring.py", line 1072, in _patched return await fn(*args, **kwargs) │ │ └ {'service': , 'request': File "C:\University-HCMUTE\InternFuta\ApiDialogflowChatbot\app\api\v1\trip.py", line 165, in pick_up_stop route_id=data.trip_data.route_id, way_id=data.trip_data.way_id │ │ │ └ None │ │ └ TripSelectionRequest(trip_data=None) │ └ None └ TripSelectionRequest(trip_data=None) AttributeError: 'NoneType' object has no attribute 'route_id' 2025-06-19 10:16:51.882 | ERROR | d21bf99d238d4a4bb1ec66f89b670486 | Invalid role for stop selection: pick_up 2025-06-19 10:16:52.367 | ERROR | f3a4a5dcf3b148eabb64aac658de7fb6 | Exception in ASGI application Traceback (most recent call last): File "", line 1, in File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\spawn.py", line 116, in spawn_main exitcode = _main(fd, parent_sentinel) │ │ └ 336 │ └ 3 └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\spawn.py", line 129, in _main return self._bootstrap(parent_sentinel) │ │ └ 336 │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\process.py", line 315, in _bootstrap self.run() │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\process.py", line 108, in run self._target(*self._args, **self._kwargs) │ │ │ │ │ └ {'config': , 'target': │ │ │ └ () │ │ └ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\_subprocess.py", line 80, in subprocess_started target(sockets=sockets) │ └ [] └ > File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\server.py", line 66, in run return asyncio.run(self.serve(sockets=sockets)) │ │ │ │ └ [] │ │ │ └ │ │ └ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\runners.py", line 44, in run return loop.run_until_complete(main) │ │ └ │ └ └ <_WindowsSelectorEventLoop running=True closed=False debug=False> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 633, in run_until_complete self.run_forever() │ └ └ <_WindowsSelectorEventLoop running=True closed=False debug=False> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 600, in run_forever self._run_once() │ └ └ <_WindowsSelectorEventLoop running=True closed=False debug=False> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 1896, in _run_once handle._run() │ └ >)> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\events.py", line 80, in _run self._context.run(self._callback, *self._args) │ │ │ │ │ └ │ │ │ │ └ >)> │ │ │ └ │ │ └ >)> │ └ >)> > File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\protocols\http\h11_impl.py", line 403, in run_asgi result = await app( # type: ignore[func-returns-value] └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\middleware\proxy_headers.py", line 60, in __call__ return await self.app(scope, receive, send) │ │ │ │ └ > │ │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\fastapi\applications.py", line 1054, in __call__ await super().__call__(scope, receive, send) │ │ └ > │ └ > │ │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\errors.py", line 187, in __call__ raise exc File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\errors.py", line 165, in __call__ await self.app(scope, receive, _send) │ │ │ │ └ ._send at 0x0000020F994869E0> │ │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\cors.py", line 85, in __call__ await self.app(scope, receive, send) │ │ │ │ └ ._send at 0x0000020F994869E0> │ │ │ └ , header_name='... └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\asgi_correlation_id\middleware.py", line 90, in __call__ await self.app(scope, receive, handle_outgoing_request) │ │ │ │ └ .handle_outgoing_request at 0x0000020F994868C0> │ │ │ └ └ CorrelationIdMiddleware(app=, header_name='... File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\exceptions.py", line 62, in __call__ await wrap_app_handling_exceptions(self.app, conn)(scope, receive, send) │ │ │ │ │ │ └ .handle_outgoing_request at 0x0000020F994868C0> │ │ │ │ │ └ │ │ └ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 53, in wrapped_app raise exc File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 42, in wrapped_app await app(scope, receive, sender) │ │ │ └ .wrapped_app..sender at 0x0000020F99486950> │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 714, in __call__ await self.middleware_stack(scope, receive, send) │ │ │ │ └ .wrapped_app..sender at 0x0000020F99486950> │ │ │ └ > └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 734, in app await route.handle(scope, receive, send) │ │ │ │ └ .wrapped_app..sender at 0x0000020F99486950> │ │ │ └ └ APIRoute(path='/api/v1/trip/pick-up', name='pick_up_stop', methods=['POST']) File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 288, in handle await self.app(scope, receive, send) │ │ │ │ └ .wrapped_app..sender at 0x0000020F99486950> │ │ │ └ .app at 0x0000020FEA5C4C10> └ APIRoute(path='/api/v1/trip/pick-up', name='pick_up_stop', methods=['POST']) File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 76, in app await wrap_app_handling_exceptions(app, request)(scope, receive, send) │ │ │ │ │ └ .wrapped_app..sender at 0x0000020F99486950> │ │ │ │ └ │ └ .app..app at 0x0000020F994867A0> └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 53, in wrapped_app raise exc File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 42, in wrapped_app await app(scope, receive, sender) │ │ │ └ .wrapped_app..sender at 0x0000020F99486A70> │ │ └ .app..app at 0x0000020F994867A0> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 73, in app response = await f(request) │ └ .app at 0x0000020FEA5C4B80> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\fastapi\routing.py", line 301, in app raw_response = await run_endpoint_function( └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\fastapi\routing.py", line 212, in run_endpoint_function return await dependant.call(**values) │ │ └ {'service': , 'request': └ Dependant(path_params=[], query_params=[], header_params=[], cookie_params=[], body_params=[], dependencies=[Dependant(path_p... File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\dependency_injector\wiring.py", line 1072, in _patched return await fn(*args, **kwargs) │ │ └ {'service': , 'request': File "C:\University-HCMUTE\InternFuta\ApiDialogflowChatbot\app\api\v1\trip.py", line 165, in pick_up_stop route_id=data.trip_data.route_id, way_id=data.trip_data.way_id │ │ │ └ None │ │ └ TripSelectionRequest(trip_data=None) │ └ None └ TripSelectionRequest(trip_data=None) AttributeError: 'NoneType' object has no attribute 'route_id' 2025-06-19 10:16:52.658 | ERROR | 67383bdbc049400dab53b075dc4fcbd6 | Exception in ASGI application Traceback (most recent call last): File "", line 1, in File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\spawn.py", line 116, in spawn_main exitcode = _main(fd, parent_sentinel) │ │ └ 336 │ └ 3 └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\spawn.py", line 129, in _main return self._bootstrap(parent_sentinel) │ │ └ 336 │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\process.py", line 315, in _bootstrap self.run() │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\process.py", line 108, in run self._target(*self._args, **self._kwargs) │ │ │ │ │ └ {'config': , 'target': │ │ │ └ () │ │ └ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\_subprocess.py", line 80, in subprocess_started target(sockets=sockets) │ └ [] └ > File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\server.py", line 66, in run return asyncio.run(self.serve(sockets=sockets)) │ │ │ │ └ [] │ │ │ └ │ │ └ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\runners.py", line 44, in run return loop.run_until_complete(main) │ │ └ │ └ └ <_WindowsSelectorEventLoop running=True closed=False debug=False> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 633, in run_until_complete self.run_forever() │ └ └ <_WindowsSelectorEventLoop running=True closed=False debug=False> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 600, in run_forever self._run_once() │ └ └ <_WindowsSelectorEventLoop running=True closed=False debug=False> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 1896, in _run_once handle._run() │ └ >)> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\events.py", line 80, in _run self._context.run(self._callback, *self._args) │ │ │ │ │ └ │ │ │ │ └ >)> │ │ │ └ │ │ └ >)> │ └ >)> > File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\protocols\http\h11_impl.py", line 403, in run_asgi result = await app( # type: ignore[func-returns-value] └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\middleware\proxy_headers.py", line 60, in __call__ return await self.app(scope, receive, send) │ │ │ │ └ > │ │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\fastapi\applications.py", line 1054, in __call__ await super().__call__(scope, receive, send) │ │ └ > │ └ > │ │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\errors.py", line 187, in __call__ raise exc File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\errors.py", line 165, in __call__ await self.app(scope, receive, _send) │ │ │ │ └ ._send at 0x0000020FEA5C5FC0> │ │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\cors.py", line 85, in __call__ await self.app(scope, receive, send) │ │ │ │ └ ._send at 0x0000020FEA5C5FC0> │ │ │ └ , header_name='... └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\asgi_correlation_id\middleware.py", line 90, in __call__ await self.app(scope, receive, handle_outgoing_request) │ │ │ │ └ .handle_outgoing_request at 0x0000020F99486B00> │ │ │ └ └ CorrelationIdMiddleware(app=, header_name='... File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\exceptions.py", line 62, in __call__ await wrap_app_handling_exceptions(self.app, conn)(scope, receive, send) │ │ │ │ │ │ └ .handle_outgoing_request at 0x0000020F99486B00> │ │ │ │ │ └ │ │ └ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 53, in wrapped_app raise exc File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 42, in wrapped_app await app(scope, receive, sender) │ │ │ └ .wrapped_app..sender at 0x0000020F99486830> │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 714, in __call__ await self.middleware_stack(scope, receive, send) │ │ │ │ └ .wrapped_app..sender at 0x0000020F99486830> │ │ │ └ > └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 734, in app await route.handle(scope, receive, send) │ │ │ │ └ .wrapped_app..sender at 0x0000020F99486830> │ │ │ └ └ APIRoute(path='/api/v1/trip/pick-up', name='pick_up_stop', methods=['POST']) File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 288, in handle await self.app(scope, receive, send) │ │ │ │ └ .wrapped_app..sender at 0x0000020F99486830> │ │ │ └ .app at 0x0000020FEA5C4C10> └ APIRoute(path='/api/v1/trip/pick-up', name='pick_up_stop', methods=['POST']) File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 76, in app await wrap_app_handling_exceptions(app, request)(scope, receive, send) │ │ │ │ │ └ .wrapped_app..sender at 0x0000020F99486830> │ │ │ │ └ │ └ .app..app at 0x0000020F99486050> └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 53, in wrapped_app raise exc File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 42, in wrapped_app await app(scope, receive, sender) │ │ │ └ .wrapped_app..sender at 0x0000020F99486C20> │ │ └ .app..app at 0x0000020F99486050> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 73, in app response = await f(request) │ └ .app at 0x0000020FEA5C4B80> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\fastapi\routing.py", line 301, in app raw_response = await run_endpoint_function( └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\fastapi\routing.py", line 212, in run_endpoint_function return await dependant.call(**values) │ │ └ {'service': , 'request': └ Dependant(path_params=[], query_params=[], header_params=[], cookie_params=[], body_params=[], dependencies=[Dependant(path_p... File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\dependency_injector\wiring.py", line 1072, in _patched return await fn(*args, **kwargs) │ │ └ {'service': , 'request': File "C:\University-HCMUTE\InternFuta\ApiDialogflowChatbot\app\api\v1\trip.py", line 165, in pick_up_stop route_id=data.trip_data.route_id, way_id=data.trip_data.way_id │ │ │ └ None │ │ └ TripSelectionRequest(trip_data=None) │ └ None └ TripSelectionRequest(trip_data=None) AttributeError: 'NoneType' object has no attribute 'route_id' 2025-06-19 10:16:53.200 | ERROR | cc4e4b43d9194cdba6d516b36f8f9d08 | Invalid role for stop selection: pick_up 2025-06-19 10:16:53.728 | ERROR | 753a57b9296d41ac8a496c673b2eb464 | Exception in ASGI application Traceback (most recent call last): File "", line 1, in File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\spawn.py", line 116, in spawn_main exitcode = _main(fd, parent_sentinel) │ │ └ 336 │ └ 3 └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\spawn.py", line 129, in _main return self._bootstrap(parent_sentinel) │ │ └ 336 │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\process.py", line 315, in _bootstrap self.run() │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\process.py", line 108, in run self._target(*self._args, **self._kwargs) │ │ │ │ │ └ {'config': , 'target': │ │ │ └ () │ │ └ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\_subprocess.py", line 80, in subprocess_started target(sockets=sockets) │ └ [] └ > File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\server.py", line 66, in run return asyncio.run(self.serve(sockets=sockets)) │ │ │ │ └ [] │ │ │ └ │ │ └ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\runners.py", line 44, in run return loop.run_until_complete(main) │ │ └ │ └ └ <_WindowsSelectorEventLoop running=True closed=False debug=False> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 633, in run_until_complete self.run_forever() │ └ └ <_WindowsSelectorEventLoop running=True closed=False debug=False> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 600, in run_forever self._run_once() │ └ └ <_WindowsSelectorEventLoop running=True closed=False debug=False> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 1896, in _run_once handle._run() │ └ >)> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\events.py", line 80, in _run self._context.run(self._callback, *self._args) │ │ │ │ │ └ │ │ │ │ └ >)> │ │ │ └ │ │ └ >)> │ └ >)> > File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\protocols\http\h11_impl.py", line 403, in run_asgi result = await app( # type: ignore[func-returns-value] └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\middleware\proxy_headers.py", line 60, in __call__ return await self.app(scope, receive, send) │ │ │ │ └ > │ │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\fastapi\applications.py", line 1054, in __call__ await super().__call__(scope, receive, send) │ │ └ > │ └ > │ │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\errors.py", line 187, in __call__ raise exc File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\errors.py", line 165, in __call__ await self.app(scope, receive, _send) │ │ │ │ └ ._send at 0x0000020F99485F30> │ │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\cors.py", line 85, in __call__ await self.app(scope, receive, send) │ │ │ │ └ ._send at 0x0000020F99485F30> │ │ │ └ , header_name='... └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\asgi_correlation_id\middleware.py", line 90, in __call__ await self.app(scope, receive, handle_outgoing_request) │ │ │ │ └ .handle_outgoing_request at 0x0000020F99486B90> │ │ │ └ └ CorrelationIdMiddleware(app=, header_name='... File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\exceptions.py", line 62, in __call__ await wrap_app_handling_exceptions(self.app, conn)(scope, receive, send) │ │ │ │ │ │ └ .handle_outgoing_request at 0x0000020F99486B90> │ │ │ │ │ └ │ │ └ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 53, in wrapped_app raise exc File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 42, in wrapped_app await app(scope, receive, sender) │ │ │ └ .wrapped_app..sender at 0x0000020F99485FC0> │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 714, in __call__ await self.middleware_stack(scope, receive, send) │ │ │ │ └ .wrapped_app..sender at 0x0000020F99485FC0> │ │ │ └ > └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 734, in app await route.handle(scope, receive, send) │ │ │ │ └ .wrapped_app..sender at 0x0000020F99485FC0> │ │ │ └ └ APIRoute(path='/api/v1/trip/pick-up', name='pick_up_stop', methods=['POST']) File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 288, in handle await self.app(scope, receive, send) │ │ │ │ └ .wrapped_app..sender at 0x0000020F99485FC0> │ │ │ └ .app at 0x0000020FEA5C4C10> └ APIRoute(path='/api/v1/trip/pick-up', name='pick_up_stop', methods=['POST']) File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 76, in app await wrap_app_handling_exceptions(app, request)(scope, receive, send) │ │ │ │ │ └ .wrapped_app..sender at 0x0000020F99485FC0> │ │ │ │ └ │ └ .app..app at 0x0000020F994864D0> └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 53, in wrapped_app raise exc File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 42, in wrapped_app await app(scope, receive, sender) │ │ │ └ .wrapped_app..sender at 0x0000020F99486290> │ │ └ .app..app at 0x0000020F994864D0> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 73, in app response = await f(request) │ └ .app at 0x0000020FEA5C4B80> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\fastapi\routing.py", line 301, in app raw_response = await run_endpoint_function( └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\fastapi\routing.py", line 212, in run_endpoint_function return await dependant.call(**values) │ │ └ {'service': , 'request': └ Dependant(path_params=[], query_params=[], header_params=[], cookie_params=[], body_params=[], dependencies=[Dependant(path_p... File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\dependency_injector\wiring.py", line 1072, in _patched return await fn(*args, **kwargs) │ │ └ {'service': , 'request': File "C:\University-HCMUTE\InternFuta\ApiDialogflowChatbot\app\api\v1\trip.py", line 165, in pick_up_stop route_id=data.trip_data.route_id, way_id=data.trip_data.way_id │ │ │ └ None │ │ └ TripSelectionRequest(trip_data=None) │ └ None └ TripSelectionRequest(trip_data=None) AttributeError: 'NoneType' object has no attribute 'route_id' 2025-06-19 10:16:54.279 | ERROR | 33fc6bbfb21042d880cde7c468db6e36 | Exception in ASGI application Traceback (most recent call last): File "", line 1, in File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\spawn.py", line 116, in spawn_main exitcode = _main(fd, parent_sentinel) │ │ └ 336 │ └ 3 └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\spawn.py", line 129, in _main return self._bootstrap(parent_sentinel) │ │ └ 336 │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\process.py", line 315, in _bootstrap self.run() │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\process.py", line 108, in run self._target(*self._args, **self._kwargs) │ │ │ │ │ └ {'config': , 'target': │ │ │ └ () │ │ └ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\_subprocess.py", line 80, in subprocess_started target(sockets=sockets) │ └ [] └ > File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\server.py", line 66, in run return asyncio.run(self.serve(sockets=sockets)) │ │ │ │ └ [] │ │ │ └ │ │ └ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\runners.py", line 44, in run return loop.run_until_complete(main) │ │ └ │ └ └ <_WindowsSelectorEventLoop running=True closed=False debug=False> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 633, in run_until_complete self.run_forever() │ └ └ <_WindowsSelectorEventLoop running=True closed=False debug=False> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 600, in run_forever self._run_once() │ └ └ <_WindowsSelectorEventLoop running=True closed=False debug=False> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 1896, in _run_once handle._run() │ └ >)> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\events.py", line 80, in _run self._context.run(self._callback, *self._args) │ │ │ │ │ └ │ │ │ │ └ >)> │ │ │ └ │ │ └ >)> │ └ >)> > File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\protocols\http\h11_impl.py", line 403, in run_asgi result = await app( # type: ignore[func-returns-value] └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\middleware\proxy_headers.py", line 60, in __call__ return await self.app(scope, receive, send) │ │ │ │ └ > │ │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\fastapi\applications.py", line 1054, in __call__ await super().__call__(scope, receive, send) │ │ └ > │ └ > │ │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\errors.py", line 187, in __call__ raise exc File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\errors.py", line 165, in __call__ await self.app(scope, receive, _send) │ │ │ │ └ ._send at 0x0000020F994865F0> │ │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\cors.py", line 85, in __call__ await self.app(scope, receive, send) │ │ │ │ └ ._send at 0x0000020F994865F0> │ │ │ └ , header_name='... └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\asgi_correlation_id\middleware.py", line 90, in __call__ await self.app(scope, receive, handle_outgoing_request) │ │ │ │ └ .handle_outgoing_request at 0x0000020F99486DD0> │ │ │ └ └ CorrelationIdMiddleware(app=, header_name='... File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\exceptions.py", line 62, in __call__ await wrap_app_handling_exceptions(self.app, conn)(scope, receive, send) │ │ │ │ │ │ └ .handle_outgoing_request at 0x0000020F99486DD0> │ │ │ │ │ └ │ │ └ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 53, in wrapped_app raise exc File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 42, in wrapped_app await app(scope, receive, sender) │ │ │ └ .wrapped_app..sender at 0x0000020F99486CB0> │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 714, in __call__ await self.middleware_stack(scope, receive, send) │ │ │ │ └ .wrapped_app..sender at 0x0000020F99486CB0> │ │ │ └ > └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 734, in app await route.handle(scope, receive, send) │ │ │ │ └ .wrapped_app..sender at 0x0000020F99486CB0> │ │ │ └ └ APIRoute(path='/api/v1/trip/pick-up', name='pick_up_stop', methods=['POST']) File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 288, in handle await self.app(scope, receive, send) │ │ │ │ └ .wrapped_app..sender at 0x0000020F99486CB0> │ │ │ └ .app at 0x0000020FEA5C4C10> └ APIRoute(path='/api/v1/trip/pick-up', name='pick_up_stop', methods=['POST']) File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 76, in app await wrap_app_handling_exceptions(app, request)(scope, receive, send) │ │ │ │ │ └ .wrapped_app..sender at 0x0000020F99486CB0> │ │ │ │ └ │ └ .app..app at 0x0000020F99486D40> └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 53, in wrapped_app raise exc File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 42, in wrapped_app await app(scope, receive, sender) │ │ │ └ .wrapped_app..sender at 0x0000020F99486710> │ │ └ .app..app at 0x0000020F99486D40> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 73, in app response = await f(request) │ └ .app at 0x0000020FEA5C4B80> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\fastapi\routing.py", line 301, in app raw_response = await run_endpoint_function( └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\fastapi\routing.py", line 212, in run_endpoint_function return await dependant.call(**values) │ │ └ {'service': , 'request': └ Dependant(path_params=[], query_params=[], header_params=[], cookie_params=[], body_params=[], dependencies=[Dependant(path_p... File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\dependency_injector\wiring.py", line 1072, in _patched return await fn(*args, **kwargs) │ │ └ {'service': , 'request': File "C:\University-HCMUTE\InternFuta\ApiDialogflowChatbot\app\api\v1\trip.py", line 165, in pick_up_stop route_id=data.trip_data.route_id, way_id=data.trip_data.way_id │ │ │ └ None │ │ └ TripSelectionRequest(trip_data=None) │ └ None └ TripSelectionRequest(trip_data=None) AttributeError: 'NoneType' object has no attribute 'route_id' 2025-06-19 10:16:54.776 | ERROR | f38fde0581e0418e924088b7a16e0b27 | Invalid role for stop selection: pick_up 2025-06-19 10:16:55.346 | ERROR | 994b1e54aa6244018d274867a847197d | Exception in ASGI application Traceback (most recent call last): File "", line 1, in File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\spawn.py", line 116, in spawn_main exitcode = _main(fd, parent_sentinel) │ │ └ 336 │ └ 3 └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\spawn.py", line 129, in _main return self._bootstrap(parent_sentinel) │ │ └ 336 │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\process.py", line 315, in _bootstrap self.run() │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\process.py", line 108, in run self._target(*self._args, **self._kwargs) │ │ │ │ │ └ {'config': , 'target': │ │ │ └ () │ │ └ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\_subprocess.py", line 80, in subprocess_started target(sockets=sockets) │ └ [] └ > File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\server.py", line 66, in run return asyncio.run(self.serve(sockets=sockets)) │ │ │ │ └ [] │ │ │ └ │ │ └ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\runners.py", line 44, in run return loop.run_until_complete(main) │ │ └ │ └ └ <_WindowsSelectorEventLoop running=True closed=False debug=False> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 633, in run_until_complete self.run_forever() │ └ └ <_WindowsSelectorEventLoop running=True closed=False debug=False> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 600, in run_forever self._run_once() │ └ └ <_WindowsSelectorEventLoop running=True closed=False debug=False> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 1896, in _run_once handle._run() │ └ >)> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\events.py", line 80, in _run self._context.run(self._callback, *self._args) │ │ │ │ │ └ │ │ │ │ └ >)> │ │ │ └ │ │ └ >)> │ └ >)> > File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\protocols\http\h11_impl.py", line 403, in run_asgi result = await app( # type: ignore[func-returns-value] └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\middleware\proxy_headers.py", line 60, in __call__ return await self.app(scope, receive, send) │ │ │ │ └ > │ │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\fastapi\applications.py", line 1054, in __call__ await super().__call__(scope, receive, send) │ │ └ > │ └ > │ │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\errors.py", line 187, in __call__ raise exc File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\errors.py", line 165, in __call__ await self.app(scope, receive, _send) │ │ │ │ └ ._send at 0x0000020F994865F0> │ │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\cors.py", line 85, in __call__ await self.app(scope, receive, send) │ │ │ │ └ ._send at 0x0000020F994865F0> │ │ │ └ , header_name='... └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\asgi_correlation_id\middleware.py", line 90, in __call__ await self.app(scope, receive, handle_outgoing_request) │ │ │ │ └ .handle_outgoing_request at 0x0000020F99486F80> │ │ │ └ └ CorrelationIdMiddleware(app=, header_name='... File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\exceptions.py", line 62, in __call__ await wrap_app_handling_exceptions(self.app, conn)(scope, receive, send) │ │ │ │ │ │ └ .handle_outgoing_request at 0x0000020F99486F80> │ │ │ │ │ └ │ │ └ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 53, in wrapped_app raise exc File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 42, in wrapped_app await app(scope, receive, sender) │ │ │ └ .wrapped_app..sender at 0x0000020F99487010> │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 714, in __call__ await self.middleware_stack(scope, receive, send) │ │ │ │ └ .wrapped_app..sender at 0x0000020F99487010> │ │ │ └ > └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 734, in app await route.handle(scope, receive, send) │ │ │ │ └ .wrapped_app..sender at 0x0000020F99487010> │ │ │ └ └ APIRoute(path='/api/v1/trip/pick-up', name='pick_up_stop', methods=['POST']) File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 288, in handle await self.app(scope, receive, send) │ │ │ │ └ .wrapped_app..sender at 0x0000020F99487010> │ │ │ └ .app at 0x0000020FEA5C4C10> └ APIRoute(path='/api/v1/trip/pick-up', name='pick_up_stop', methods=['POST']) File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 76, in app await wrap_app_handling_exceptions(app, request)(scope, receive, send) │ │ │ │ │ └ .wrapped_app..sender at 0x0000020F99487010> │ │ │ │ └ │ └ .app..app at 0x0000020F99486170> └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 53, in wrapped_app raise exc File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 42, in wrapped_app await app(scope, receive, sender) │ │ │ └ .wrapped_app..sender at 0x0000020F99486200> │ │ └ .app..app at 0x0000020F99486170> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 73, in app response = await f(request) │ └ .app at 0x0000020FEA5C4B80> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\fastapi\routing.py", line 301, in app raw_response = await run_endpoint_function( └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\fastapi\routing.py", line 212, in run_endpoint_function return await dependant.call(**values) │ │ └ {'service': , 'request': └ Dependant(path_params=[], query_params=[], header_params=[], cookie_params=[], body_params=[], dependencies=[Dependant(path_p... File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\dependency_injector\wiring.py", line 1072, in _patched return await fn(*args, **kwargs) │ │ └ {'service': , 'request': File "C:\University-HCMUTE\InternFuta\ApiDialogflowChatbot\app\api\v1\trip.py", line 165, in pick_up_stop route_id=data.trip_data.route_id, way_id=data.trip_data.way_id │ │ │ └ None │ │ └ TripSelectionRequest(trip_data=None) │ └ None └ TripSelectionRequest(trip_data=None) AttributeError: 'NoneType' object has no attribute 'route_id' 2025-06-19 10:16:55.867 | ERROR | 8e1eefaa46fd4e7ba336470d0578849a | Exception in ASGI application Traceback (most recent call last): File "", line 1, in File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\spawn.py", line 116, in spawn_main exitcode = _main(fd, parent_sentinel) │ │ └ 336 │ └ 3 └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\spawn.py", line 129, in _main return self._bootstrap(parent_sentinel) │ │ └ 336 │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\process.py", line 315, in _bootstrap self.run() │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\process.py", line 108, in run self._target(*self._args, **self._kwargs) │ │ │ │ │ └ {'config': , 'target': │ │ │ └ () │ │ └ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\_subprocess.py", line 80, in subprocess_started target(sockets=sockets) │ └ [] └ > File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\server.py", line 66, in run return asyncio.run(self.serve(sockets=sockets)) │ │ │ │ └ [] │ │ │ └ │ │ └ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\runners.py", line 44, in run return loop.run_until_complete(main) │ │ └ │ └ └ <_WindowsSelectorEventLoop running=True closed=False debug=False> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 633, in run_until_complete self.run_forever() │ └ └ <_WindowsSelectorEventLoop running=True closed=False debug=False> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 600, in run_forever self._run_once() │ └ └ <_WindowsSelectorEventLoop running=True closed=False debug=False> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 1896, in _run_once handle._run() │ └ >)> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\events.py", line 80, in _run self._context.run(self._callback, *self._args) │ │ │ │ │ └ │ │ │ │ └ >)> │ │ │ └ │ │ └ >)> │ └ >)> > File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\protocols\http\h11_impl.py", line 403, in run_asgi result = await app( # type: ignore[func-returns-value] └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\middleware\proxy_headers.py", line 60, in __call__ return await self.app(scope, receive, send) │ │ │ │ └ > │ │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\fastapi\applications.py", line 1054, in __call__ await super().__call__(scope, receive, send) │ │ └ > │ └ > │ │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\errors.py", line 187, in __call__ raise exc File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\errors.py", line 165, in __call__ await self.app(scope, receive, _send) │ │ │ │ └ ._send at 0x0000020F99486CB0> │ │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\cors.py", line 85, in __call__ await self.app(scope, receive, send) │ │ │ │ └ ._send at 0x0000020F99486CB0> │ │ │ └ , header_name='... └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\asgi_correlation_id\middleware.py", line 90, in __call__ await self.app(scope, receive, handle_outgoing_request) │ │ │ │ └ .handle_outgoing_request at 0x0000020F99485F30> │ │ │ └ └ CorrelationIdMiddleware(app=, header_name='... File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\exceptions.py", line 62, in __call__ await wrap_app_handling_exceptions(self.app, conn)(scope, receive, send) │ │ │ │ │ │ └ .handle_outgoing_request at 0x0000020F99485F30> │ │ │ │ │ └ │ │ └ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 53, in wrapped_app raise exc File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 42, in wrapped_app await app(scope, receive, sender) │ │ │ └ .wrapped_app..sender at 0x0000020F99486D40> │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 714, in __call__ await self.middleware_stack(scope, receive, send) │ │ │ │ └ .wrapped_app..sender at 0x0000020F99486D40> │ │ │ └ > └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 734, in app await route.handle(scope, receive, send) │ │ │ │ └ .wrapped_app..sender at 0x0000020F99486D40> │ │ │ └ └ APIRoute(path='/api/v1/trip/pick-up', name='pick_up_stop', methods=['POST']) File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 288, in handle await self.app(scope, receive, send) │ │ │ │ └ .wrapped_app..sender at 0x0000020F99486D40> │ │ │ └ .app at 0x0000020FEA5C4C10> └ APIRoute(path='/api/v1/trip/pick-up', name='pick_up_stop', methods=['POST']) File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 76, in app await wrap_app_handling_exceptions(app, request)(scope, receive, send) │ │ │ │ │ └ .wrapped_app..sender at 0x0000020F99486D40> │ │ │ │ └ │ └ .app..app at 0x0000020F99486EF0> └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 53, in wrapped_app raise exc File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 42, in wrapped_app await app(scope, receive, sender) │ │ │ └ .wrapped_app..sender at 0x0000020F99486DD0> │ │ └ .app..app at 0x0000020F99486EF0> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 73, in app response = await f(request) │ └ .app at 0x0000020FEA5C4B80> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\fastapi\routing.py", line 301, in app raw_response = await run_endpoint_function( └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\fastapi\routing.py", line 212, in run_endpoint_function return await dependant.call(**values) │ │ └ {'service': , 'request': └ Dependant(path_params=[], query_params=[], header_params=[], cookie_params=[], body_params=[], dependencies=[Dependant(path_p... File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\dependency_injector\wiring.py", line 1072, in _patched return await fn(*args, **kwargs) │ │ └ {'service': , 'request': File "C:\University-HCMUTE\InternFuta\ApiDialogflowChatbot\app\api\v1\trip.py", line 165, in pick_up_stop route_id=data.trip_data.route_id, way_id=data.trip_data.way_id │ │ │ └ None │ │ └ TripSelectionRequest(trip_data=None) │ └ None └ TripSelectionRequest(trip_data=None) AttributeError: 'NoneType' object has no attribute 'route_id' 2025-06-19 10:16:56.144 | ERROR | ce695b34850f49e08212900529940fd1 | Invalid role for stop selection: pick_up 2025-06-19 10:16:56.431 | ERROR | 1b25acc9d05b4af6986548c13eb0220e | Exception in ASGI application Traceback (most recent call last): File "", line 1, in File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\spawn.py", line 116, in spawn_main exitcode = _main(fd, parent_sentinel) │ │ └ 336 │ └ 3 └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\spawn.py", line 129, in _main return self._bootstrap(parent_sentinel) │ │ └ 336 │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\process.py", line 315, in _bootstrap self.run() │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\process.py", line 108, in run self._target(*self._args, **self._kwargs) │ │ │ │ │ └ {'config': , 'target': │ │ │ └ () │ │ └ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\_subprocess.py", line 80, in subprocess_started target(sockets=sockets) │ └ [] └ > File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\server.py", line 66, in run return asyncio.run(self.serve(sockets=sockets)) │ │ │ │ └ [] │ │ │ └ │ │ └ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\runners.py", line 44, in run return loop.run_until_complete(main) │ │ └ │ └ └ <_WindowsSelectorEventLoop running=True closed=False debug=False> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 633, in run_until_complete self.run_forever() │ └ └ <_WindowsSelectorEventLoop running=True closed=False debug=False> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 600, in run_forever self._run_once() │ └ └ <_WindowsSelectorEventLoop running=True closed=False debug=False> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 1896, in _run_once handle._run() │ └ >)> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\events.py", line 80, in _run self._context.run(self._callback, *self._args) │ │ │ │ │ └ │ │ │ │ └ >)> │ │ │ └ │ │ └ >)> │ └ >)> > File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\protocols\http\h11_impl.py", line 403, in run_asgi result = await app( # type: ignore[func-returns-value] └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\middleware\proxy_headers.py", line 60, in __call__ return await self.app(scope, receive, send) │ │ │ │ └ > │ │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\fastapi\applications.py", line 1054, in __call__ await super().__call__(scope, receive, send) │ │ └ > │ └ > │ │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\errors.py", line 187, in __call__ raise exc File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\errors.py", line 165, in __call__ await self.app(scope, receive, _send) │ │ │ │ └ ._send at 0x0000020F99485EA0> │ │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\cors.py", line 85, in __call__ await self.app(scope, receive, send) │ │ │ │ └ ._send at 0x0000020F99485EA0> │ │ │ └ , header_name='... └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\asgi_correlation_id\middleware.py", line 90, in __call__ await self.app(scope, receive, handle_outgoing_request) │ │ │ │ └ .handle_outgoing_request at 0x0000020F99486440> │ │ │ └ └ CorrelationIdMiddleware(app=, header_name='... File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\exceptions.py", line 62, in __call__ await wrap_app_handling_exceptions(self.app, conn)(scope, receive, send) │ │ │ │ │ │ └ .handle_outgoing_request at 0x0000020F99486440> │ │ │ │ │ └ │ │ └ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 53, in wrapped_app raise exc File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 42, in wrapped_app await app(scope, receive, sender) │ │ │ └ .wrapped_app..sender at 0x0000020F994864D0> │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 714, in __call__ await self.middleware_stack(scope, receive, send) │ │ │ │ └ .wrapped_app..sender at 0x0000020F994864D0> │ │ │ └ > └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 734, in app await route.handle(scope, receive, send) │ │ │ │ └ .wrapped_app..sender at 0x0000020F994864D0> │ │ │ └ └ APIRoute(path='/api/v1/trip/pick-up', name='pick_up_stop', methods=['POST']) File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 288, in handle await self.app(scope, receive, send) │ │ │ │ └ .wrapped_app..sender at 0x0000020F994864D0> │ │ │ └ .app at 0x0000020FEA5C4C10> └ APIRoute(path='/api/v1/trip/pick-up', name='pick_up_stop', methods=['POST']) File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 76, in app await wrap_app_handling_exceptions(app, request)(scope, receive, send) │ │ │ │ │ └ .wrapped_app..sender at 0x0000020F994864D0> │ │ │ │ └ │ └ .app..app at 0x0000020F99486290> └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 53, in wrapped_app raise exc File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 42, in wrapped_app await app(scope, receive, sender) │ │ │ └ .wrapped_app..sender at 0x0000020F99486B90> │ │ └ .app..app at 0x0000020F99486290> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 73, in app response = await f(request) │ └ .app at 0x0000020FEA5C4B80> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\fastapi\routing.py", line 301, in app raw_response = await run_endpoint_function( └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\fastapi\routing.py", line 212, in run_endpoint_function return await dependant.call(**values) │ │ └ {'service': , 'request': └ Dependant(path_params=[], query_params=[], header_params=[], cookie_params=[], body_params=[], dependencies=[Dependant(path_p... File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\dependency_injector\wiring.py", line 1072, in _patched return await fn(*args, **kwargs) │ │ └ {'service': , 'request': File "C:\University-HCMUTE\InternFuta\ApiDialogflowChatbot\app\api\v1\trip.py", line 165, in pick_up_stop route_id=data.trip_data.route_id, way_id=data.trip_data.way_id │ │ │ └ None │ │ └ TripSelectionRequest(trip_data=None) │ └ None └ TripSelectionRequest(trip_data=None) AttributeError: 'NoneType' object has no attribute 'route_id' 2025-06-19 10:16:56.957 | ERROR | 7f459a1daebf4854ae17d55c0f87eb48 | Exception in ASGI application Traceback (most recent call last): File "", line 1, in File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\spawn.py", line 116, in spawn_main exitcode = _main(fd, parent_sentinel) │ │ └ 336 │ └ 3 └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\spawn.py", line 129, in _main return self._bootstrap(parent_sentinel) │ │ └ 336 │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\process.py", line 315, in _bootstrap self.run() │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\process.py", line 108, in run self._target(*self._args, **self._kwargs) │ │ │ │ │ └ {'config': , 'target': │ │ │ └ () │ │ └ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\_subprocess.py", line 80, in subprocess_started target(sockets=sockets) │ └ [] └ > File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\server.py", line 66, in run return asyncio.run(self.serve(sockets=sockets)) │ │ │ │ └ [] │ │ │ └ │ │ └ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\runners.py", line 44, in run return loop.run_until_complete(main) │ │ └ │ └ └ <_WindowsSelectorEventLoop running=True closed=False debug=False> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 633, in run_until_complete self.run_forever() │ └ └ <_WindowsSelectorEventLoop running=True closed=False debug=False> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 600, in run_forever self._run_once() │ └ └ <_WindowsSelectorEventLoop running=True closed=False debug=False> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 1896, in _run_once handle._run() │ └ >)> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\events.py", line 80, in _run self._context.run(self._callback, *self._args) │ │ │ │ │ └ │ │ │ │ └ >)> │ │ │ └ │ │ └ >)> │ └ >)> > File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\protocols\http\h11_impl.py", line 403, in run_asgi result = await app( # type: ignore[func-returns-value] └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\middleware\proxy_headers.py", line 60, in __call__ return await self.app(scope, receive, send) │ │ │ │ └ > │ │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\fastapi\applications.py", line 1054, in __call__ await super().__call__(scope, receive, send) │ │ └ > │ └ > │ │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\errors.py", line 187, in __call__ raise exc File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\errors.py", line 165, in __call__ await self.app(scope, receive, _send) │ │ │ │ └ ._send at 0x0000020F99486320> │ │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\cors.py", line 85, in __call__ await self.app(scope, receive, send) │ │ │ │ └ ._send at 0x0000020F99486320> │ │ │ └ , header_name='... └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\asgi_correlation_id\middleware.py", line 90, in __call__ await self.app(scope, receive, handle_outgoing_request) │ │ │ │ └ .handle_outgoing_request at 0x0000020F99486710> │ │ │ └ └ CorrelationIdMiddleware(app=, header_name='... File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\exceptions.py", line 62, in __call__ await wrap_app_handling_exceptions(self.app, conn)(scope, receive, send) │ │ │ │ │ │ └ .handle_outgoing_request at 0x0000020F99486710> │ │ │ │ │ └ │ │ └ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 53, in wrapped_app raise exc File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 42, in wrapped_app await app(scope, receive, sender) │ │ │ └ .wrapped_app..sender at 0x0000020F99487130> │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 714, in __call__ await self.middleware_stack(scope, receive, send) │ │ │ │ └ .wrapped_app..sender at 0x0000020F99487130> │ │ │ └ > └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 734, in app await route.handle(scope, receive, send) │ │ │ │ └ .wrapped_app..sender at 0x0000020F99487130> │ │ │ └ └ APIRoute(path='/api/v1/trip/pick-up', name='pick_up_stop', methods=['POST']) File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 288, in handle await self.app(scope, receive, send) │ │ │ │ └ .wrapped_app..sender at 0x0000020F99487130> │ │ │ └ .app at 0x0000020FEA5C4C10> └ APIRoute(path='/api/v1/trip/pick-up', name='pick_up_stop', methods=['POST']) File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 76, in app await wrap_app_handling_exceptions(app, request)(scope, receive, send) │ │ │ │ │ └ .wrapped_app..sender at 0x0000020F99487130> │ │ │ │ └ │ └ .app..app at 0x0000020F99486050> └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 53, in wrapped_app raise exc File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 42, in wrapped_app await app(scope, receive, sender) │ │ │ └ .wrapped_app..sender at 0x0000020F994863B0> │ │ └ .app..app at 0x0000020F99486050> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 73, in app response = await f(request) │ └ .app at 0x0000020FEA5C4B80> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\fastapi\routing.py", line 301, in app raw_response = await run_endpoint_function( └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\fastapi\routing.py", line 212, in run_endpoint_function return await dependant.call(**values) │ │ └ {'service': , 'request': └ Dependant(path_params=[], query_params=[], header_params=[], cookie_params=[], body_params=[], dependencies=[Dependant(path_p... File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\dependency_injector\wiring.py", line 1072, in _patched return await fn(*args, **kwargs) │ │ └ {'service': , 'request': File "C:\University-HCMUTE\InternFuta\ApiDialogflowChatbot\app\api\v1\trip.py", line 165, in pick_up_stop route_id=data.trip_data.route_id, way_id=data.trip_data.way_id │ │ │ └ None │ │ └ TripSelectionRequest(trip_data=None) │ └ None └ TripSelectionRequest(trip_data=None) AttributeError: 'NoneType' object has no attribute 'route_id' 2025-06-19 10:16:57.448 | ERROR | 34ca2755f4884d4fb3d0af2dd028a768 | Invalid role for stop selection: pick_up 2025-06-19 10:16:58.037 | ERROR | d3d4f59bd37e4b25b9a9e3b8c02359c0 | Exception in ASGI application Traceback (most recent call last): File "", line 1, in File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\spawn.py", line 116, in spawn_main exitcode = _main(fd, parent_sentinel) │ │ └ 336 │ └ 3 └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\spawn.py", line 129, in _main return self._bootstrap(parent_sentinel) │ │ └ 336 │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\process.py", line 315, in _bootstrap self.run() │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\process.py", line 108, in run self._target(*self._args, **self._kwargs) │ │ │ │ │ └ {'config': , 'target': │ │ │ └ () │ │ └ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\_subprocess.py", line 80, in subprocess_started target(sockets=sockets) │ └ [] └ > File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\server.py", line 66, in run return asyncio.run(self.serve(sockets=sockets)) │ │ │ │ └ [] │ │ │ └ │ │ └ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\runners.py", line 44, in run return loop.run_until_complete(main) │ │ └ │ └ └ <_WindowsSelectorEventLoop running=True closed=False debug=False> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 633, in run_until_complete self.run_forever() │ └ └ <_WindowsSelectorEventLoop running=True closed=False debug=False> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 600, in run_forever self._run_once() │ └ └ <_WindowsSelectorEventLoop running=True closed=False debug=False> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 1896, in _run_once handle._run() │ └ >)> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\events.py", line 80, in _run self._context.run(self._callback, *self._args) │ │ │ │ │ └ │ │ │ │ └ >)> │ │ │ └ │ │ └ >)> │ └ >)> > File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\protocols\http\h11_impl.py", line 403, in run_asgi result = await app( # type: ignore[func-returns-value] └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\middleware\proxy_headers.py", line 60, in __call__ return await self.app(scope, receive, send) │ │ │ │ └ > │ │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\fastapi\applications.py", line 1054, in __call__ await super().__call__(scope, receive, send) │ │ └ > │ └ > │ │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\errors.py", line 187, in __call__ raise exc File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\errors.py", line 165, in __call__ await self.app(scope, receive, _send) │ │ │ │ └ ._send at 0x0000020F99487250> │ │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\cors.py", line 85, in __call__ await self.app(scope, receive, send) │ │ │ │ └ ._send at 0x0000020F99487250> │ │ │ └ , header_name='... └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\asgi_correlation_id\middleware.py", line 90, in __call__ await self.app(scope, receive, handle_outgoing_request) │ │ │ │ └ .handle_outgoing_request at 0x0000020F994872E0> │ │ │ └ └ CorrelationIdMiddleware(app=, header_name='... File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\exceptions.py", line 62, in __call__ await wrap_app_handling_exceptions(self.app, conn)(scope, receive, send) │ │ │ │ │ │ └ .handle_outgoing_request at 0x0000020F994872E0> │ │ │ │ │ └ │ │ └ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 53, in wrapped_app raise exc File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 42, in wrapped_app await app(scope, receive, sender) │ │ │ └ .wrapped_app..sender at 0x0000020F99486B00> │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 714, in __call__ await self.middleware_stack(scope, receive, send) │ │ │ │ └ .wrapped_app..sender at 0x0000020F99486B00> │ │ │ └ > └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 734, in app await route.handle(scope, receive, send) │ │ │ │ └ .wrapped_app..sender at 0x0000020F99486B00> │ │ │ └ └ APIRoute(path='/api/v1/trip/pick-up', name='pick_up_stop', methods=['POST']) File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 288, in handle await self.app(scope, receive, send) │ │ │ │ └ .wrapped_app..sender at 0x0000020F99486B00> │ │ │ └ .app at 0x0000020FEA5C4C10> └ APIRoute(path='/api/v1/trip/pick-up', name='pick_up_stop', methods=['POST']) File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 76, in app await wrap_app_handling_exceptions(app, request)(scope, receive, send) │ │ │ │ │ └ .wrapped_app..sender at 0x0000020F99486B00> │ │ │ │ └ │ └ .app..app at 0x0000020F99485FC0> └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 53, in wrapped_app raise exc File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 42, in wrapped_app await app(scope, receive, sender) │ │ │ └ .wrapped_app..sender at 0x0000020F99486320> │ │ └ .app..app at 0x0000020F99485FC0> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 73, in app response = await f(request) │ └ .app at 0x0000020FEA5C4B80> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\fastapi\routing.py", line 301, in app raw_response = await run_endpoint_function( └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\fastapi\routing.py", line 212, in run_endpoint_function return await dependant.call(**values) │ │ └ {'service': , 'request': └ Dependant(path_params=[], query_params=[], header_params=[], cookie_params=[], body_params=[], dependencies=[Dependant(path_p... File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\dependency_injector\wiring.py", line 1072, in _patched return await fn(*args, **kwargs) │ │ └ {'service': , 'request': File "C:\University-HCMUTE\InternFuta\ApiDialogflowChatbot\app\api\v1\trip.py", line 165, in pick_up_stop route_id=data.trip_data.route_id, way_id=data.trip_data.way_id │ │ │ └ None │ │ └ TripSelectionRequest(trip_data=None) │ └ None └ TripSelectionRequest(trip_data=None) AttributeError: 'NoneType' object has no attribute 'route_id' 2025-06-19 10:16:58.525 | ERROR | 0a11c780d1714abc839dfda42c8559b1 | Exception in ASGI application Traceback (most recent call last): File "", line 1, in File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\spawn.py", line 116, in spawn_main exitcode = _main(fd, parent_sentinel) │ │ └ 336 │ └ 3 └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\spawn.py", line 129, in _main return self._bootstrap(parent_sentinel) │ │ └ 336 │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\process.py", line 315, in _bootstrap self.run() │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\process.py", line 108, in run self._target(*self._args, **self._kwargs) │ │ │ │ │ └ {'config': , 'target': │ │ │ └ () │ │ └ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\_subprocess.py", line 80, in subprocess_started target(sockets=sockets) │ └ [] └ > File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\server.py", line 66, in run return asyncio.run(self.serve(sockets=sockets)) │ │ │ │ └ [] │ │ │ └ │ │ └ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\runners.py", line 44, in run return loop.run_until_complete(main) │ │ └ │ └ └ <_WindowsSelectorEventLoop running=True closed=False debug=False> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 633, in run_until_complete self.run_forever() │ └ └ <_WindowsSelectorEventLoop running=True closed=False debug=False> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 600, in run_forever self._run_once() │ └ └ <_WindowsSelectorEventLoop running=True closed=False debug=False> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 1896, in _run_once handle._run() │ └ >)> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\events.py", line 80, in _run self._context.run(self._callback, *self._args) │ │ │ │ │ └ │ │ │ │ └ >)> │ │ │ └ │ │ └ >)> │ └ >)> > File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\protocols\http\h11_impl.py", line 403, in run_asgi result = await app( # type: ignore[func-returns-value] └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\middleware\proxy_headers.py", line 60, in __call__ return await self.app(scope, receive, send) │ │ │ │ └ > │ │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\fastapi\applications.py", line 1054, in __call__ await super().__call__(scope, receive, send) │ │ └ > │ └ > │ │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\errors.py", line 187, in __call__ raise exc File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\errors.py", line 165, in __call__ await self.app(scope, receive, _send) │ │ │ │ └ ._send at 0x0000020F99487130> │ │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\cors.py", line 85, in __call__ await self.app(scope, receive, send) │ │ │ │ └ ._send at 0x0000020F99487130> │ │ │ └ , header_name='... └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\asgi_correlation_id\middleware.py", line 90, in __call__ await self.app(scope, receive, handle_outgoing_request) │ │ │ │ └ .handle_outgoing_request at 0x0000020F99485EA0> │ │ │ └ └ CorrelationIdMiddleware(app=, header_name='... File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\exceptions.py", line 62, in __call__ await wrap_app_handling_exceptions(self.app, conn)(scope, receive, send) │ │ │ │ │ │ └ .handle_outgoing_request at 0x0000020F99485EA0> │ │ │ │ │ └ │ │ └ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 53, in wrapped_app raise exc File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 42, in wrapped_app await app(scope, receive, sender) │ │ │ └ .wrapped_app..sender at 0x0000020F99486C20> │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 714, in __call__ await self.middleware_stack(scope, receive, send) │ │ │ │ └ .wrapped_app..sender at 0x0000020F99486C20> │ │ │ └ > └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 734, in app await route.handle(scope, receive, send) │ │ │ │ └ .wrapped_app..sender at 0x0000020F99486C20> │ │ │ └ └ APIRoute(path='/api/v1/trip/pick-up', name='pick_up_stop', methods=['POST']) File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 288, in handle await self.app(scope, receive, send) │ │ │ │ └ .wrapped_app..sender at 0x0000020F99486C20> │ │ │ └ .app at 0x0000020FEA5C4C10> └ APIRoute(path='/api/v1/trip/pick-up', name='pick_up_stop', methods=['POST']) File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 76, in app await wrap_app_handling_exceptions(app, request)(scope, receive, send) │ │ │ │ │ └ .wrapped_app..sender at 0x0000020F99486C20> │ │ │ │ └ │ └ .app..app at 0x0000020F994871C0> └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 53, in wrapped_app raise exc File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 42, in wrapped_app await app(scope, receive, sender) │ │ │ └ .wrapped_app..sender at 0x0000020F99486710> │ │ └ .app..app at 0x0000020F994871C0> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 73, in app response = await f(request) │ └ .app at 0x0000020FEA5C4B80> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\fastapi\routing.py", line 301, in app raw_response = await run_endpoint_function( └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\fastapi\routing.py", line 212, in run_endpoint_function return await dependant.call(**values) │ │ └ {'service': , 'request': └ Dependant(path_params=[], query_params=[], header_params=[], cookie_params=[], body_params=[], dependencies=[Dependant(path_p... File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\dependency_injector\wiring.py", line 1072, in _patched return await fn(*args, **kwargs) │ │ └ {'service': , 'request': File "C:\University-HCMUTE\InternFuta\ApiDialogflowChatbot\app\api\v1\trip.py", line 165, in pick_up_stop route_id=data.trip_data.route_id, way_id=data.trip_data.way_id │ │ │ └ None │ │ └ TripSelectionRequest(trip_data=None) │ └ None └ TripSelectionRequest(trip_data=None) AttributeError: 'NoneType' object has no attribute 'route_id' 2025-06-19 10:16:59.013 | ERROR | 066f84e367de4522bb2d9e881d7b26c8 | Invalid role for stop selection: pick_up 2025-06-19 10:16:59.523 | ERROR | 144ed7adbe2644f89eb8a6c3d91952eb | Exception in ASGI application Traceback (most recent call last): File "", line 1, in File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\spawn.py", line 116, in spawn_main exitcode = _main(fd, parent_sentinel) │ │ └ 336 │ └ 3 └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\spawn.py", line 129, in _main return self._bootstrap(parent_sentinel) │ │ └ 336 │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\process.py", line 315, in _bootstrap self.run() │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\process.py", line 108, in run self._target(*self._args, **self._kwargs) │ │ │ │ │ └ {'config': , 'target': │ │ │ └ () │ │ └ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\_subprocess.py", line 80, in subprocess_started target(sockets=sockets) │ └ [] └ > File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\server.py", line 66, in run return asyncio.run(self.serve(sockets=sockets)) │ │ │ │ └ [] │ │ │ └ │ │ └ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\runners.py", line 44, in run return loop.run_until_complete(main) │ │ └ │ └ └ <_WindowsSelectorEventLoop running=True closed=False debug=False> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 633, in run_until_complete self.run_forever() │ └ └ <_WindowsSelectorEventLoop running=True closed=False debug=False> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 600, in run_forever self._run_once() │ └ └ <_WindowsSelectorEventLoop running=True closed=False debug=False> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 1896, in _run_once handle._run() │ └ >)> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\events.py", line 80, in _run self._context.run(self._callback, *self._args) │ │ │ │ │ └ │ │ │ │ └ >)> │ │ │ └ │ │ └ >)> │ └ >)> > File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\protocols\http\h11_impl.py", line 403, in run_asgi result = await app( # type: ignore[func-returns-value] └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\middleware\proxy_headers.py", line 60, in __call__ return await self.app(scope, receive, send) │ │ │ │ └ > │ │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\fastapi\applications.py", line 1054, in __call__ await super().__call__(scope, receive, send) │ │ └ > │ └ > │ │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\errors.py", line 187, in __call__ raise exc File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\errors.py", line 165, in __call__ await self.app(scope, receive, _send) │ │ │ │ └ ._send at 0x0000020F99485F30> │ │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\cors.py", line 85, in __call__ await self.app(scope, receive, send) │ │ │ │ └ ._send at 0x0000020F99485F30> │ │ │ └ , header_name='... └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\asgi_correlation_id\middleware.py", line 90, in __call__ await self.app(scope, receive, handle_outgoing_request) │ │ │ │ └ .handle_outgoing_request at 0x0000020F99486290> │ │ │ └ └ CorrelationIdMiddleware(app=, header_name='... File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\exceptions.py", line 62, in __call__ await wrap_app_handling_exceptions(self.app, conn)(scope, receive, send) │ │ │ │ │ │ └ .handle_outgoing_request at 0x0000020F99486290> │ │ │ │ │ └ │ │ └ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 53, in wrapped_app raise exc File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 42, in wrapped_app await app(scope, receive, sender) │ │ │ └ .wrapped_app..sender at 0x0000020F99486B90> │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 714, in __call__ await self.middleware_stack(scope, receive, send) │ │ │ │ └ .wrapped_app..sender at 0x0000020F99486B90> │ │ │ └ > └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 734, in app await route.handle(scope, receive, send) │ │ │ │ └ .wrapped_app..sender at 0x0000020F99486B90> │ │ │ └ └ APIRoute(path='/api/v1/trip/pick-up', name='pick_up_stop', methods=['POST']) File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 288, in handle await self.app(scope, receive, send) │ │ │ │ └ .wrapped_app..sender at 0x0000020F99486B90> │ │ │ └ .app at 0x0000020FEA5C4C10> └ APIRoute(path='/api/v1/trip/pick-up', name='pick_up_stop', methods=['POST']) File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 76, in app await wrap_app_handling_exceptions(app, request)(scope, receive, send) │ │ │ │ │ └ .wrapped_app..sender at 0x0000020F99486B90> │ │ │ │ └ │ └ .app..app at 0x0000020F99486440> └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 53, in wrapped_app raise exc File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 42, in wrapped_app await app(scope, receive, sender) │ │ │ └ .wrapped_app..sender at 0x0000020F994863B0> │ │ └ .app..app at 0x0000020F99486440> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 73, in app response = await f(request) │ └ .app at 0x0000020FEA5C4B80> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\fastapi\routing.py", line 301, in app raw_response = await run_endpoint_function( └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\fastapi\routing.py", line 212, in run_endpoint_function return await dependant.call(**values) │ │ └ {'service': , 'request': └ Dependant(path_params=[], query_params=[], header_params=[], cookie_params=[], body_params=[], dependencies=[Dependant(path_p... File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\dependency_injector\wiring.py", line 1072, in _patched return await fn(*args, **kwargs) │ │ └ {'service': , 'request': File "C:\University-HCMUTE\InternFuta\ApiDialogflowChatbot\app\api\v1\trip.py", line 165, in pick_up_stop route_id=data.trip_data.route_id, way_id=data.trip_data.way_id │ │ │ └ None │ │ └ TripSelectionRequest(trip_data=None) │ └ None └ TripSelectionRequest(trip_data=None) AttributeError: 'NoneType' object has no attribute 'route_id' 2025-06-19 10:17:00.066 | ERROR | 8b0373dfa6e047e4981fe4ee13e3ed53 | Exception in ASGI application Traceback (most recent call last): File "", line 1, in File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\spawn.py", line 116, in spawn_main exitcode = _main(fd, parent_sentinel) │ │ └ 336 │ └ 3 └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\spawn.py", line 129, in _main return self._bootstrap(parent_sentinel) │ │ └ 336 │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\process.py", line 315, in _bootstrap self.run() │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\process.py", line 108, in run self._target(*self._args, **self._kwargs) │ │ │ │ │ └ {'config': , 'target': │ │ │ └ () │ │ └ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\_subprocess.py", line 80, in subprocess_started target(sockets=sockets) │ └ [] └ > File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\server.py", line 66, in run return asyncio.run(self.serve(sockets=sockets)) │ │ │ │ └ [] │ │ │ └ │ │ └ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\runners.py", line 44, in run return loop.run_until_complete(main) │ │ └ │ └ └ <_WindowsSelectorEventLoop running=True closed=False debug=False> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 633, in run_until_complete self.run_forever() │ └ └ <_WindowsSelectorEventLoop running=True closed=False debug=False> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 600, in run_forever self._run_once() │ └ └ <_WindowsSelectorEventLoop running=True closed=False debug=False> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 1896, in _run_once handle._run() │ └ >)> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\events.py", line 80, in _run self._context.run(self._callback, *self._args) │ │ │ │ │ └ │ │ │ │ └ >)> │ │ │ └ │ │ └ >)> │ └ >)> > File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\protocols\http\h11_impl.py", line 403, in run_asgi result = await app( # type: ignore[func-returns-value] └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\middleware\proxy_headers.py", line 60, in __call__ return await self.app(scope, receive, send) │ │ │ │ └ > │ │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\fastapi\applications.py", line 1054, in __call__ await super().__call__(scope, receive, send) │ │ └ > │ └ > │ │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\errors.py", line 187, in __call__ raise exc File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\errors.py", line 165, in __call__ await self.app(scope, receive, _send) │ │ │ │ └ ._send at 0x0000020F99486DD0> │ │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\cors.py", line 85, in __call__ await self.app(scope, receive, send) │ │ │ │ └ ._send at 0x0000020F99486DD0> │ │ │ └ , header_name='... └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\asgi_correlation_id\middleware.py", line 90, in __call__ await self.app(scope, receive, handle_outgoing_request) │ │ │ │ └ .handle_outgoing_request at 0x0000020F994864D0> │ │ │ └ └ CorrelationIdMiddleware(app=, header_name='... File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\exceptions.py", line 62, in __call__ await wrap_app_handling_exceptions(self.app, conn)(scope, receive, send) │ │ │ │ │ │ └ .handle_outgoing_request at 0x0000020F994864D0> │ │ │ │ │ └ │ │ └ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 53, in wrapped_app raise exc File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 42, in wrapped_app await app(scope, receive, sender) │ │ │ └ .wrapped_app..sender at 0x0000020F99486E60> │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 714, in __call__ await self.middleware_stack(scope, receive, send) │ │ │ │ └ .wrapped_app..sender at 0x0000020F99486E60> │ │ │ └ > └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 734, in app await route.handle(scope, receive, send) │ │ │ │ └ .wrapped_app..sender at 0x0000020F99486E60> │ │ │ └ └ APIRoute(path='/api/v1/trip/pick-up', name='pick_up_stop', methods=['POST']) File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 288, in handle await self.app(scope, receive, send) │ │ │ │ └ .wrapped_app..sender at 0x0000020F99486E60> │ │ │ └ .app at 0x0000020FEA5C4C10> └ APIRoute(path='/api/v1/trip/pick-up', name='pick_up_stop', methods=['POST']) File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 76, in app await wrap_app_handling_exceptions(app, request)(scope, receive, send) │ │ │ │ │ └ .wrapped_app..sender at 0x0000020F99486E60> │ │ │ │ └ │ └ .app..app at 0x0000020F994865F0> └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 53, in wrapped_app raise exc File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 42, in wrapped_app await app(scope, receive, sender) │ │ │ └ .wrapped_app..sender at 0x0000020F99486EF0> │ │ └ .app..app at 0x0000020F994865F0> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 73, in app response = await f(request) │ └ .app at 0x0000020FEA5C4B80> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\fastapi\routing.py", line 301, in app raw_response = await run_endpoint_function( └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\fastapi\routing.py", line 212, in run_endpoint_function return await dependant.call(**values) │ │ └ {'service': , 'request': └ Dependant(path_params=[], query_params=[], header_params=[], cookie_params=[], body_params=[], dependencies=[Dependant(path_p... File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\dependency_injector\wiring.py", line 1072, in _patched return await fn(*args, **kwargs) │ │ └ {'service': , 'request': File "C:\University-HCMUTE\InternFuta\ApiDialogflowChatbot\app\api\v1\trip.py", line 165, in pick_up_stop route_id=data.trip_data.route_id, way_id=data.trip_data.way_id │ │ │ └ None │ │ └ TripSelectionRequest(trip_data=None) │ └ None └ TripSelectionRequest(trip_data=None) AttributeError: 'NoneType' object has no attribute 'route_id' 2025-06-19 10:17:00.650 | ERROR | 563d0445443448c4bda356afd79510c9 | Invalid role for stop selection: pick_up 2025-06-19 10:17:00.978 | ERROR | d128bffddb894823996ef8f6fb286cdc | Exception in ASGI application Traceback (most recent call last): File "", line 1, in File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\spawn.py", line 116, in spawn_main exitcode = _main(fd, parent_sentinel) │ │ └ 336 │ └ 3 └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\spawn.py", line 129, in _main return self._bootstrap(parent_sentinel) │ │ └ 336 │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\process.py", line 315, in _bootstrap self.run() │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\process.py", line 108, in run self._target(*self._args, **self._kwargs) │ │ │ │ │ └ {'config': , 'target': │ │ │ └ () │ │ └ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\_subprocess.py", line 80, in subprocess_started target(sockets=sockets) │ └ [] └ > File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\server.py", line 66, in run return asyncio.run(self.serve(sockets=sockets)) │ │ │ │ └ [] │ │ │ └ │ │ └ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\runners.py", line 44, in run return loop.run_until_complete(main) │ │ └ │ └ └ <_WindowsSelectorEventLoop running=True closed=False debug=False> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 633, in run_until_complete self.run_forever() │ └ └ <_WindowsSelectorEventLoop running=True closed=False debug=False> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 600, in run_forever self._run_once() │ └ └ <_WindowsSelectorEventLoop running=True closed=False debug=False> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 1896, in _run_once handle._run() │ └ >)> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\events.py", line 80, in _run self._context.run(self._callback, *self._args) │ │ │ │ │ └ │ │ │ │ └ >)> │ │ │ └ │ │ └ >)> │ └ >)> > File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\protocols\http\h11_impl.py", line 403, in run_asgi result = await app( # type: ignore[func-returns-value] └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\middleware\proxy_headers.py", line 60, in __call__ return await self.app(scope, receive, send) │ │ │ │ └ > │ │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\fastapi\applications.py", line 1054, in __call__ await super().__call__(scope, receive, send) │ │ └ > │ └ > │ │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\errors.py", line 187, in __call__ raise exc File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\errors.py", line 165, in __call__ await self.app(scope, receive, _send) │ │ │ │ └ ._send at 0x0000020FEA5C5FC0> │ │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\cors.py", line 85, in __call__ await self.app(scope, receive, send) │ │ │ │ └ ._send at 0x0000020FEA5C5FC0> │ │ │ └ , header_name='... └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\asgi_correlation_id\middleware.py", line 90, in __call__ await self.app(scope, receive, handle_outgoing_request) │ │ │ │ └ .handle_outgoing_request at 0x0000020F9772B910> │ │ │ └ └ CorrelationIdMiddleware(app=, header_name='... File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\exceptions.py", line 62, in __call__ await wrap_app_handling_exceptions(self.app, conn)(scope, receive, send) │ │ │ │ │ │ └ .handle_outgoing_request at 0x0000020F9772B910> │ │ │ │ │ └ │ │ └ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 53, in wrapped_app raise exc File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 42, in wrapped_app await app(scope, receive, sender) │ │ │ └ .wrapped_app..sender at 0x0000020F9772B1C0> │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 714, in __call__ await self.middleware_stack(scope, receive, send) │ │ │ │ └ .wrapped_app..sender at 0x0000020F9772B1C0> │ │ │ └ > └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 734, in app await route.handle(scope, receive, send) │ │ │ │ └ .wrapped_app..sender at 0x0000020F9772B1C0> │ │ │ └ └ APIRoute(path='/api/v1/trip/pick-up', name='pick_up_stop', methods=['POST']) File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 288, in handle await self.app(scope, receive, send) │ │ │ │ └ .wrapped_app..sender at 0x0000020F9772B1C0> │ │ │ └ .app at 0x0000020FEA5C4C10> └ APIRoute(path='/api/v1/trip/pick-up', name='pick_up_stop', methods=['POST']) File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 76, in app await wrap_app_handling_exceptions(app, request)(scope, receive, send) │ │ │ │ │ └ .wrapped_app..sender at 0x0000020F9772B1C0> │ │ │ │ └ │ └ .app..app at 0x0000020F9772B130> └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 53, in wrapped_app raise exc File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 42, in wrapped_app await app(scope, receive, sender) │ │ │ └ .wrapped_app..sender at 0x0000020F9772AEF0> │ │ └ .app..app at 0x0000020F9772B130> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 73, in app response = await f(request) │ └ .app at 0x0000020FEA5C4B80> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\fastapi\routing.py", line 301, in app raw_response = await run_endpoint_function( └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\fastapi\routing.py", line 212, in run_endpoint_function return await dependant.call(**values) │ │ └ {'service': , 'request': └ Dependant(path_params=[], query_params=[], header_params=[], cookie_params=[], body_params=[], dependencies=[Dependant(path_p... File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\dependency_injector\wiring.py", line 1072, in _patched return await fn(*args, **kwargs) │ │ └ {'service': , 'request': File "C:\University-HCMUTE\InternFuta\ApiDialogflowChatbot\app\api\v1\trip.py", line 165, in pick_up_stop route_id=data.trip_data.route_id, way_id=data.trip_data.way_id │ │ │ └ None │ │ └ TripSelectionRequest(trip_data=None) │ └ None └ TripSelectionRequest(trip_data=None) AttributeError: 'NoneType' object has no attribute 'route_id' 2025-06-19 10:17:01.284 | ERROR | 3debddbf07ff469ba23d2218f7efa5c1 | Exception in ASGI application Traceback (most recent call last): File "", line 1, in File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\spawn.py", line 116, in spawn_main exitcode = _main(fd, parent_sentinel) │ │ └ 336 │ └ 3 └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\spawn.py", line 129, in _main return self._bootstrap(parent_sentinel) │ │ └ 336 │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\process.py", line 315, in _bootstrap self.run() │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\process.py", line 108, in run self._target(*self._args, **self._kwargs) │ │ │ │ │ └ {'config': , 'target': │ │ │ └ () │ │ └ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\_subprocess.py", line 80, in subprocess_started target(sockets=sockets) │ └ [] └ > File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\server.py", line 66, in run return asyncio.run(self.serve(sockets=sockets)) │ │ │ │ └ [] │ │ │ └ │ │ └ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\runners.py", line 44, in run return loop.run_until_complete(main) │ │ └ │ └ └ <_WindowsSelectorEventLoop running=True closed=False debug=False> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 633, in run_until_complete self.run_forever() │ └ └ <_WindowsSelectorEventLoop running=True closed=False debug=False> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 600, in run_forever self._run_once() │ └ └ <_WindowsSelectorEventLoop running=True closed=False debug=False> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 1896, in _run_once handle._run() │ └ >)> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\events.py", line 80, in _run self._context.run(self._callback, *self._args) │ │ │ │ │ └ │ │ │ │ └ >)> │ │ │ └ │ │ └ >)> │ └ >)> > File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\protocols\http\h11_impl.py", line 403, in run_asgi result = await app( # type: ignore[func-returns-value] └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\middleware\proxy_headers.py", line 60, in __call__ return await self.app(scope, receive, send) │ │ │ │ └ > │ │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\fastapi\applications.py", line 1054, in __call__ await super().__call__(scope, receive, send) │ │ └ > │ └ > │ │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\errors.py", line 187, in __call__ raise exc File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\errors.py", line 165, in __call__ await self.app(scope, receive, _send) │ │ │ │ └ ._send at 0x0000020F9772B010> │ │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\cors.py", line 85, in __call__ await self.app(scope, receive, send) │ │ │ │ └ ._send at 0x0000020F9772B010> │ │ │ └ , header_name='... └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\asgi_correlation_id\middleware.py", line 90, in __call__ await self.app(scope, receive, handle_outgoing_request) │ │ │ │ └ .handle_outgoing_request at 0x0000020F9772B2E0> │ │ │ └ └ CorrelationIdMiddleware(app=, header_name='... File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\exceptions.py", line 62, in __call__ await wrap_app_handling_exceptions(self.app, conn)(scope, receive, send) │ │ │ │ │ │ └ .handle_outgoing_request at 0x0000020F9772B2E0> │ │ │ │ │ └ │ │ └ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 53, in wrapped_app raise exc File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 42, in wrapped_app await app(scope, receive, sender) │ │ │ └ .wrapped_app..sender at 0x0000020F9772B9A0> │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 714, in __call__ await self.middleware_stack(scope, receive, send) │ │ │ │ └ .wrapped_app..sender at 0x0000020F9772B9A0> │ │ │ └ > └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 734, in app await route.handle(scope, receive, send) │ │ │ │ └ .wrapped_app..sender at 0x0000020F9772B9A0> │ │ │ └ └ APIRoute(path='/api/v1/trip/pick-up', name='pick_up_stop', methods=['POST']) File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 288, in handle await self.app(scope, receive, send) │ │ │ │ └ .wrapped_app..sender at 0x0000020F9772B9A0> │ │ │ └ .app at 0x0000020FEA5C4C10> └ APIRoute(path='/api/v1/trip/pick-up', name='pick_up_stop', methods=['POST']) File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 76, in app await wrap_app_handling_exceptions(app, request)(scope, receive, send) │ │ │ │ │ └ .wrapped_app..sender at 0x0000020F9772B9A0> │ │ │ │ └ │ └ .app..app at 0x0000020F99487370> └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 53, in wrapped_app raise exc File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 42, in wrapped_app await app(scope, receive, sender) │ │ │ └ .wrapped_app..sender at 0x0000020F994870A0> │ │ └ .app..app at 0x0000020F99487370> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 73, in app response = await f(request) │ └ .app at 0x0000020FEA5C4B80> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\fastapi\routing.py", line 301, in app raw_response = await run_endpoint_function( └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\fastapi\routing.py", line 212, in run_endpoint_function return await dependant.call(**values) │ │ └ {'service': , 'request': └ Dependant(path_params=[], query_params=[], header_params=[], cookie_params=[], body_params=[], dependencies=[Dependant(path_p... File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\dependency_injector\wiring.py", line 1072, in _patched return await fn(*args, **kwargs) │ │ └ {'service': , 'request': File "C:\University-HCMUTE\InternFuta\ApiDialogflowChatbot\app\api\v1\trip.py", line 165, in pick_up_stop route_id=data.trip_data.route_id, way_id=data.trip_data.way_id │ │ │ └ None │ │ └ TripSelectionRequest(trip_data=None) │ └ None └ TripSelectionRequest(trip_data=None) AttributeError: 'NoneType' object has no attribute 'route_id' 2025-06-19 10:17:01.776 | ERROR | 47f06e7b8cdc4782944d6cb74d6116f2 | Invalid role for stop selection: pick_up 2025-06-19 10:17:02.470 | ERROR | 54a7d847adeb4a569e5433909bb0db67 | Exception in ASGI application Traceback (most recent call last): File "", line 1, in File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\spawn.py", line 116, in spawn_main exitcode = _main(fd, parent_sentinel) │ │ └ 336 │ └ 3 └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\spawn.py", line 129, in _main return self._bootstrap(parent_sentinel) │ │ └ 336 │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\process.py", line 315, in _bootstrap self.run() │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\process.py", line 108, in run self._target(*self._args, **self._kwargs) │ │ │ │ │ └ {'config': , 'target': │ │ │ └ () │ │ └ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\_subprocess.py", line 80, in subprocess_started target(sockets=sockets) │ └ [] └ > File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\server.py", line 66, in run return asyncio.run(self.serve(sockets=sockets)) │ │ │ │ └ [] │ │ │ └ │ │ └ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\runners.py", line 44, in run return loop.run_until_complete(main) │ │ └ │ └ └ <_WindowsSelectorEventLoop running=True closed=False debug=False> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 633, in run_until_complete self.run_forever() │ └ └ <_WindowsSelectorEventLoop running=True closed=False debug=False> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 600, in run_forever self._run_once() │ └ └ <_WindowsSelectorEventLoop running=True closed=False debug=False> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 1896, in _run_once handle._run() │ └ >)> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\events.py", line 80, in _run self._context.run(self._callback, *self._args) │ │ │ │ │ └ │ │ │ │ └ >)> │ │ │ └ │ │ └ >)> │ └ >)> > File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\protocols\http\h11_impl.py", line 403, in run_asgi result = await app( # type: ignore[func-returns-value] └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\middleware\proxy_headers.py", line 60, in __call__ return await self.app(scope, receive, send) │ │ │ │ └ > │ │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\fastapi\applications.py", line 1054, in __call__ await super().__call__(scope, receive, send) │ │ └ > │ └ > │ │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\errors.py", line 187, in __call__ raise exc File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\errors.py", line 165, in __call__ await self.app(scope, receive, _send) │ │ │ │ └ ._send at 0x0000020F99486B90> │ │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\cors.py", line 85, in __call__ await self.app(scope, receive, send) │ │ │ │ └ ._send at 0x0000020F99486B90> │ │ │ └ , header_name='... └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\asgi_correlation_id\middleware.py", line 90, in __call__ await self.app(scope, receive, handle_outgoing_request) │ │ │ │ └ .handle_outgoing_request at 0x0000020F994863B0> │ │ │ └ └ CorrelationIdMiddleware(app=, header_name='... File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\exceptions.py", line 62, in __call__ await wrap_app_handling_exceptions(self.app, conn)(scope, receive, send) │ │ │ │ │ │ └ .handle_outgoing_request at 0x0000020F994863B0> │ │ │ │ │ └ │ │ └ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 53, in wrapped_app raise exc File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 42, in wrapped_app await app(scope, receive, sender) │ │ │ └ .wrapped_app..sender at 0x0000020F99485F30> │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 714, in __call__ await self.middleware_stack(scope, receive, send) │ │ │ │ └ .wrapped_app..sender at 0x0000020F99485F30> │ │ │ └ > └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 734, in app await route.handle(scope, receive, send) │ │ │ │ └ .wrapped_app..sender at 0x0000020F99485F30> │ │ │ └ └ APIRoute(path='/api/v1/trip/pick-up', name='pick_up_stop', methods=['POST']) File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 288, in handle await self.app(scope, receive, send) │ │ │ │ └ .wrapped_app..sender at 0x0000020F99485F30> │ │ │ └ .app at 0x0000020FEA5C4C10> └ APIRoute(path='/api/v1/trip/pick-up', name='pick_up_stop', methods=['POST']) File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 76, in app await wrap_app_handling_exceptions(app, request)(scope, receive, send) │ │ │ │ │ └ .wrapped_app..sender at 0x0000020F99485F30> │ │ │ │ └ │ └ .app..app at 0x0000020F99486290> └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 53, in wrapped_app raise exc File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 42, in wrapped_app await app(scope, receive, sender) │ │ │ └ .wrapped_app..sender at 0x0000020F99485EA0> │ │ └ .app..app at 0x0000020F99486290> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 73, in app response = await f(request) │ └ .app at 0x0000020FEA5C4B80> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\fastapi\routing.py", line 301, in app raw_response = await run_endpoint_function( └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\fastapi\routing.py", line 212, in run_endpoint_function return await dependant.call(**values) │ │ └ {'service': , 'request': └ Dependant(path_params=[], query_params=[], header_params=[], cookie_params=[], body_params=[], dependencies=[Dependant(path_p... File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\dependency_injector\wiring.py", line 1072, in _patched return await fn(*args, **kwargs) │ │ └ {'service': , 'request': File "C:\University-HCMUTE\InternFuta\ApiDialogflowChatbot\app\api\v1\trip.py", line 165, in pick_up_stop route_id=data.trip_data.route_id, way_id=data.trip_data.way_id │ │ │ └ None │ │ └ TripSelectionRequest(trip_data=None) │ └ None └ TripSelectionRequest(trip_data=None) AttributeError: 'NoneType' object has no attribute 'route_id' 2025-06-19 10:17:03.038 | ERROR | 644cd5cecab844ab9d05b5b24fb330f1 | Exception in ASGI application Traceback (most recent call last): File "", line 1, in File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\spawn.py", line 116, in spawn_main exitcode = _main(fd, parent_sentinel) │ │ └ 336 │ └ 3 └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\spawn.py", line 129, in _main return self._bootstrap(parent_sentinel) │ │ └ 336 │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\process.py", line 315, in _bootstrap self.run() │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\process.py", line 108, in run self._target(*self._args, **self._kwargs) │ │ │ │ │ └ {'config': , 'target': │ │ │ └ () │ │ └ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\_subprocess.py", line 80, in subprocess_started target(sockets=sockets) │ └ [] └ > File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\server.py", line 66, in run return asyncio.run(self.serve(sockets=sockets)) │ │ │ │ └ [] │ │ │ └ │ │ └ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\runners.py", line 44, in run return loop.run_until_complete(main) │ │ └ │ └ └ <_WindowsSelectorEventLoop running=True closed=False debug=False> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 633, in run_until_complete self.run_forever() │ └ └ <_WindowsSelectorEventLoop running=True closed=False debug=False> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 600, in run_forever self._run_once() │ └ └ <_WindowsSelectorEventLoop running=True closed=False debug=False> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 1896, in _run_once handle._run() │ └ >)> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\events.py", line 80, in _run self._context.run(self._callback, *self._args) │ │ │ │ │ └ │ │ │ │ └ >)> │ │ │ └ │ │ └ >)> │ └ >)> > File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\protocols\http\h11_impl.py", line 403, in run_asgi result = await app( # type: ignore[func-returns-value] └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\middleware\proxy_headers.py", line 60, in __call__ return await self.app(scope, receive, send) │ │ │ │ └ > │ │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\fastapi\applications.py", line 1054, in __call__ await super().__call__(scope, receive, send) │ │ └ > │ └ > │ │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\errors.py", line 187, in __call__ raise exc File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\errors.py", line 165, in __call__ await self.app(scope, receive, _send) │ │ │ │ └ ._send at 0x0000020F99486440> │ │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\cors.py", line 85, in __call__ await self.app(scope, receive, send) │ │ │ │ └ ._send at 0x0000020F99486440> │ │ │ └ , header_name='... └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\asgi_correlation_id\middleware.py", line 90, in __call__ await self.app(scope, receive, handle_outgoing_request) │ │ │ │ └ .handle_outgoing_request at 0x0000020F994872E0> │ │ │ └ └ CorrelationIdMiddleware(app=, header_name='... File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\exceptions.py", line 62, in __call__ await wrap_app_handling_exceptions(self.app, conn)(scope, receive, send) │ │ │ │ │ │ └ .handle_outgoing_request at 0x0000020F994872E0> │ │ │ │ │ └ │ │ └ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 53, in wrapped_app raise exc File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 42, in wrapped_app await app(scope, receive, sender) │ │ │ └ .wrapped_app..sender at 0x0000020F99486050> │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 714, in __call__ await self.middleware_stack(scope, receive, send) │ │ │ │ └ .wrapped_app..sender at 0x0000020F99486050> │ │ │ └ > └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 734, in app await route.handle(scope, receive, send) │ │ │ │ └ .wrapped_app..sender at 0x0000020F99486050> │ │ │ └ └ APIRoute(path='/api/v1/trip/pick-up', name='pick_up_stop', methods=['POST']) File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 288, in handle await self.app(scope, receive, send) │ │ │ │ └ .wrapped_app..sender at 0x0000020F99486050> │ │ │ └ .app at 0x0000020FEA5C4C10> └ APIRoute(path='/api/v1/trip/pick-up', name='pick_up_stop', methods=['POST']) File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 76, in app await wrap_app_handling_exceptions(app, request)(scope, receive, send) │ │ │ │ │ └ .wrapped_app..sender at 0x0000020F99486050> │ │ │ │ └ │ └ .app..app at 0x0000020F99487250> └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 53, in wrapped_app raise exc File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 42, in wrapped_app await app(scope, receive, sender) │ │ │ └ .wrapped_app..sender at 0x0000020F99486710> │ │ └ .app..app at 0x0000020F99487250> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 73, in app response = await f(request) │ └ .app at 0x0000020FEA5C4B80> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\fastapi\routing.py", line 301, in app raw_response = await run_endpoint_function( └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\fastapi\routing.py", line 212, in run_endpoint_function return await dependant.call(**values) │ │ └ {'service': , 'request': └ Dependant(path_params=[], query_params=[], header_params=[], cookie_params=[], body_params=[], dependencies=[Dependant(path_p... File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\dependency_injector\wiring.py", line 1072, in _patched return await fn(*args, **kwargs) │ │ └ {'service': , 'request': File "C:\University-HCMUTE\InternFuta\ApiDialogflowChatbot\app\api\v1\trip.py", line 165, in pick_up_stop route_id=data.trip_data.route_id, way_id=data.trip_data.way_id │ │ │ └ None │ │ └ TripSelectionRequest(trip_data=None) │ └ None └ TripSelectionRequest(trip_data=None) AttributeError: 'NoneType' object has no attribute 'route_id' 2025-06-19 10:17:03.560 | ERROR | 39b885c6a62d466998c6008ddf9bd0b8 | Invalid role for stop selection: pick_up 2025-06-19 10:17:03.894 | ERROR | a09f629008a346ec9fd8852d16b6b30e | Exception in ASGI application Traceback (most recent call last): File "", line 1, in File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\spawn.py", line 116, in spawn_main exitcode = _main(fd, parent_sentinel) │ │ └ 336 │ └ 3 └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\spawn.py", line 129, in _main return self._bootstrap(parent_sentinel) │ │ └ 336 │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\process.py", line 315, in _bootstrap self.run() │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\process.py", line 108, in run self._target(*self._args, **self._kwargs) │ │ │ │ │ └ {'config': , 'target': │ │ │ └ () │ │ └ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\_subprocess.py", line 80, in subprocess_started target(sockets=sockets) │ └ [] └ > File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\server.py", line 66, in run return asyncio.run(self.serve(sockets=sockets)) │ │ │ │ └ [] │ │ │ └ │ │ └ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\runners.py", line 44, in run return loop.run_until_complete(main) │ │ └ │ └ └ <_WindowsSelectorEventLoop running=True closed=False debug=False> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 633, in run_until_complete self.run_forever() │ └ └ <_WindowsSelectorEventLoop running=True closed=False debug=False> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 600, in run_forever self._run_once() │ └ └ <_WindowsSelectorEventLoop running=True closed=False debug=False> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 1896, in _run_once handle._run() │ └ >)> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\events.py", line 80, in _run self._context.run(self._callback, *self._args) │ │ │ │ │ └ │ │ │ │ └ >)> │ │ │ └ │ │ └ >)> │ └ >)> > File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\protocols\http\h11_impl.py", line 403, in run_asgi result = await app( # type: ignore[func-returns-value] └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\middleware\proxy_headers.py", line 60, in __call__ return await self.app(scope, receive, send) │ │ │ │ └ > │ │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\fastapi\applications.py", line 1054, in __call__ await super().__call__(scope, receive, send) │ │ └ > │ └ > │ │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\errors.py", line 187, in __call__ raise exc File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\errors.py", line 165, in __call__ await self.app(scope, receive, _send) │ │ │ │ └ ._send at 0x0000020F9772B2E0> │ │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\cors.py", line 85, in __call__ await self.app(scope, receive, send) │ │ │ │ └ ._send at 0x0000020F9772B2E0> │ │ │ └ , header_name='... └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\asgi_correlation_id\middleware.py", line 90, in __call__ await self.app(scope, receive, handle_outgoing_request) │ │ │ │ └ .handle_outgoing_request at 0x0000020F9772B010> │ │ │ └ └ CorrelationIdMiddleware(app=, header_name='... File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\exceptions.py", line 62, in __call__ await wrap_app_handling_exceptions(self.app, conn)(scope, receive, send) │ │ │ │ │ │ └ .handle_outgoing_request at 0x0000020F9772B010> │ │ │ │ │ └ │ │ └ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 53, in wrapped_app raise exc File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 42, in wrapped_app await app(scope, receive, sender) │ │ │ └ .wrapped_app..sender at 0x0000020F9772B9A0> │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 714, in __call__ await self.middleware_stack(scope, receive, send) │ │ │ │ └ .wrapped_app..sender at 0x0000020F9772B9A0> │ │ │ └ > └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 734, in app await route.handle(scope, receive, send) │ │ │ │ └ .wrapped_app..sender at 0x0000020F9772B9A0> │ │ │ └ └ APIRoute(path='/api/v1/trip/pick-up', name='pick_up_stop', methods=['POST']) File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 288, in handle await self.app(scope, receive, send) │ │ │ │ └ .wrapped_app..sender at 0x0000020F9772B9A0> │ │ │ └ .app at 0x0000020FEA5C4C10> └ APIRoute(path='/api/v1/trip/pick-up', name='pick_up_stop', methods=['POST']) File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 76, in app await wrap_app_handling_exceptions(app, request)(scope, receive, send) │ │ │ │ │ └ .wrapped_app..sender at 0x0000020F9772B9A0> │ │ │ │ └ │ └ .app..app at 0x0000020F9772B910> └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 53, in wrapped_app raise exc File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 42, in wrapped_app await app(scope, receive, sender) │ │ │ └ .wrapped_app..sender at 0x0000020F9772B1C0> │ │ └ .app..app at 0x0000020F9772B910> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 73, in app response = await f(request) │ └ .app at 0x0000020FEA5C4B80> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\fastapi\routing.py", line 301, in app raw_response = await run_endpoint_function( └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\fastapi\routing.py", line 212, in run_endpoint_function return await dependant.call(**values) │ │ └ {'service': , 'request': └ Dependant(path_params=[], query_params=[], header_params=[], cookie_params=[], body_params=[], dependencies=[Dependant(path_p... File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\dependency_injector\wiring.py", line 1072, in _patched return await fn(*args, **kwargs) │ │ └ {'service': , 'request': File "C:\University-HCMUTE\InternFuta\ApiDialogflowChatbot\app\api\v1\trip.py", line 165, in pick_up_stop route_id=data.trip_data.route_id, way_id=data.trip_data.way_id │ │ │ └ None │ │ └ TripSelectionRequest(trip_data=None) │ └ None └ TripSelectionRequest(trip_data=None) AttributeError: 'NoneType' object has no attribute 'route_id' 2025-06-19 10:17:04.375 | ERROR | 318d0d0d54ea4feda6fe6fe27ee32ab6 | Exception in ASGI application Traceback (most recent call last): File "", line 1, in File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\spawn.py", line 116, in spawn_main exitcode = _main(fd, parent_sentinel) │ │ └ 336 │ └ 3 └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\spawn.py", line 129, in _main return self._bootstrap(parent_sentinel) │ │ └ 336 │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\process.py", line 315, in _bootstrap self.run() │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\process.py", line 108, in run self._target(*self._args, **self._kwargs) │ │ │ │ │ └ {'config': , 'target': │ │ │ └ () │ │ └ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\_subprocess.py", line 80, in subprocess_started target(sockets=sockets) │ └ [] └ > File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\server.py", line 66, in run return asyncio.run(self.serve(sockets=sockets)) │ │ │ │ └ [] │ │ │ └ │ │ └ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\runners.py", line 44, in run return loop.run_until_complete(main) │ │ └ │ └ └ <_WindowsSelectorEventLoop running=True closed=False debug=False> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 633, in run_until_complete self.run_forever() │ └ └ <_WindowsSelectorEventLoop running=True closed=False debug=False> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 600, in run_forever self._run_once() │ └ └ <_WindowsSelectorEventLoop running=True closed=False debug=False> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 1896, in _run_once handle._run() │ └ >)> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\events.py", line 80, in _run self._context.run(self._callback, *self._args) │ │ │ │ │ └ │ │ │ │ └ >)> │ │ │ └ │ │ └ >)> │ └ >)> > File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\protocols\http\h11_impl.py", line 403, in run_asgi result = await app( # type: ignore[func-returns-value] └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\middleware\proxy_headers.py", line 60, in __call__ return await self.app(scope, receive, send) │ │ │ │ └ > │ │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\fastapi\applications.py", line 1054, in __call__ await super().__call__(scope, receive, send) │ │ └ > │ └ > │ │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\errors.py", line 187, in __call__ raise exc File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\errors.py", line 165, in __call__ await self.app(scope, receive, _send) │ │ │ │ └ ._send at 0x0000020F9772AEF0> │ │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\cors.py", line 85, in __call__ await self.app(scope, receive, send) │ │ │ │ └ ._send at 0x0000020F9772AEF0> │ │ │ └ , header_name='... └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\asgi_correlation_id\middleware.py", line 90, in __call__ await self.app(scope, receive, handle_outgoing_request) │ │ │ │ └ .handle_outgoing_request at 0x0000020F9772B130> │ │ │ └ └ CorrelationIdMiddleware(app=, header_name='... File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\exceptions.py", line 62, in __call__ await wrap_app_handling_exceptions(self.app, conn)(scope, receive, send) │ │ │ │ │ │ └ .handle_outgoing_request at 0x0000020F9772B130> │ │ │ │ │ └ │ │ └ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 53, in wrapped_app raise exc File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 42, in wrapped_app await app(scope, receive, sender) │ │ │ └ .wrapped_app..sender at 0x0000020F99486830> │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 714, in __call__ await self.middleware_stack(scope, receive, send) │ │ │ │ └ .wrapped_app..sender at 0x0000020F99486830> │ │ │ └ > └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 734, in app await route.handle(scope, receive, send) │ │ │ │ └ .wrapped_app..sender at 0x0000020F99486830> │ │ │ └ └ APIRoute(path='/api/v1/trip/pick-up', name='pick_up_stop', methods=['POST']) File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 288, in handle await self.app(scope, receive, send) │ │ │ │ └ .wrapped_app..sender at 0x0000020F99486830> │ │ │ └ .app at 0x0000020FEA5C4C10> └ APIRoute(path='/api/v1/trip/pick-up', name='pick_up_stop', methods=['POST']) File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 76, in app await wrap_app_handling_exceptions(app, request)(scope, receive, send) │ │ │ │ │ └ .wrapped_app..sender at 0x0000020F99486830> │ │ │ │ └ │ └ .app..app at 0x0000020F99486320> └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 53, in wrapped_app raise exc File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 42, in wrapped_app await app(scope, receive, sender) │ │ │ └ .wrapped_app..sender at 0x0000020F994869E0> │ │ └ .app..app at 0x0000020F99486320> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 73, in app response = await f(request) │ └ .app at 0x0000020FEA5C4B80> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\fastapi\routing.py", line 301, in app raw_response = await run_endpoint_function( └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\fastapi\routing.py", line 212, in run_endpoint_function return await dependant.call(**values) │ │ └ {'service': , 'request': └ Dependant(path_params=[], query_params=[], header_params=[], cookie_params=[], body_params=[], dependencies=[Dependant(path_p... File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\dependency_injector\wiring.py", line 1072, in _patched return await fn(*args, **kwargs) │ │ └ {'service': , 'request': File "C:\University-HCMUTE\InternFuta\ApiDialogflowChatbot\app\api\v1\trip.py", line 165, in pick_up_stop route_id=data.trip_data.route_id, way_id=data.trip_data.way_id │ │ │ └ None │ │ └ TripSelectionRequest(trip_data=None) │ └ None └ TripSelectionRequest(trip_data=None) AttributeError: 'NoneType' object has no attribute 'route_id' 2025-06-19 10:17:04.880 | ERROR | f19022a78bd84560b2d9ab8fb023d997 | Invalid role for stop selection: pick_up 2025-06-19 10:17:05.383 | ERROR | f185469a9b904d63b13800bc74303997 | Exception in ASGI application Traceback (most recent call last): File "", line 1, in File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\spawn.py", line 116, in spawn_main exitcode = _main(fd, parent_sentinel) │ │ └ 336 │ └ 3 └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\spawn.py", line 129, in _main return self._bootstrap(parent_sentinel) │ │ └ 336 │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\process.py", line 315, in _bootstrap self.run() │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\process.py", line 108, in run self._target(*self._args, **self._kwargs) │ │ │ │ │ └ {'config': , 'target': │ │ │ └ () │ │ └ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\_subprocess.py", line 80, in subprocess_started target(sockets=sockets) │ └ [] └ > File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\server.py", line 66, in run return asyncio.run(self.serve(sockets=sockets)) │ │ │ │ └ [] │ │ │ └ │ │ └ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\runners.py", line 44, in run return loop.run_until_complete(main) │ │ └ │ └ └ <_WindowsSelectorEventLoop running=True closed=False debug=False> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 633, in run_until_complete self.run_forever() │ └ └ <_WindowsSelectorEventLoop running=True closed=False debug=False> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 600, in run_forever self._run_once() │ └ └ <_WindowsSelectorEventLoop running=True closed=False debug=False> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 1896, in _run_once handle._run() │ └ >)> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\events.py", line 80, in _run self._context.run(self._callback, *self._args) │ │ │ │ │ └ │ │ │ │ └ >)> │ │ │ └ │ │ └ >)> │ └ >)> > File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\protocols\http\h11_impl.py", line 403, in run_asgi result = await app( # type: ignore[func-returns-value] └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\middleware\proxy_headers.py", line 60, in __call__ return await self.app(scope, receive, send) │ │ │ │ └ > │ │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\fastapi\applications.py", line 1054, in __call__ await super().__call__(scope, receive, send) │ │ └ > │ └ > │ │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\errors.py", line 187, in __call__ raise exc File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\errors.py", line 165, in __call__ await self.app(scope, receive, _send) │ │ │ │ └ ._send at 0x0000020F99485FC0> │ │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\cors.py", line 85, in __call__ await self.app(scope, receive, send) │ │ │ │ └ ._send at 0x0000020F99485FC0> │ │ │ └ , header_name='... └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\asgi_correlation_id\middleware.py", line 90, in __call__ await self.app(scope, receive, handle_outgoing_request) │ │ │ │ └ .handle_outgoing_request at 0x0000020F99486440> │ │ │ └ └ CorrelationIdMiddleware(app=, header_name='... File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\exceptions.py", line 62, in __call__ await wrap_app_handling_exceptions(self.app, conn)(scope, receive, send) │ │ │ │ │ │ └ .handle_outgoing_request at 0x0000020F99486440> │ │ │ │ │ └ │ │ └ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 53, in wrapped_app raise exc File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 42, in wrapped_app await app(scope, receive, sender) │ │ │ └ .wrapped_app..sender at 0x0000020F994872E0> │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 714, in __call__ await self.middleware_stack(scope, receive, send) │ │ │ │ └ .wrapped_app..sender at 0x0000020F994872E0> │ │ │ └ > └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 734, in app await route.handle(scope, receive, send) │ │ │ │ └ .wrapped_app..sender at 0x0000020F994872E0> │ │ │ └ └ APIRoute(path='/api/v1/trip/pick-up', name='pick_up_stop', methods=['POST']) File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 288, in handle await self.app(scope, receive, send) │ │ │ │ └ .wrapped_app..sender at 0x0000020F994872E0> │ │ │ └ .app at 0x0000020FEA5C4C10> └ APIRoute(path='/api/v1/trip/pick-up', name='pick_up_stop', methods=['POST']) File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 76, in app await wrap_app_handling_exceptions(app, request)(scope, receive, send) │ │ │ │ │ └ .wrapped_app..sender at 0x0000020F994872E0> │ │ │ │ └ │ └ .app..app at 0x0000020F994868C0> └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 53, in wrapped_app raise exc File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 42, in wrapped_app await app(scope, receive, sender) │ │ │ └ .wrapped_app..sender at 0x0000020F99487250> │ │ └ .app..app at 0x0000020F994868C0> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 73, in app response = await f(request) │ └ .app at 0x0000020FEA5C4B80> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\fastapi\routing.py", line 301, in app raw_response = await run_endpoint_function( └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\fastapi\routing.py", line 212, in run_endpoint_function return await dependant.call(**values) │ │ └ {'service': , 'request': └ Dependant(path_params=[], query_params=[], header_params=[], cookie_params=[], body_params=[], dependencies=[Dependant(path_p... File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\dependency_injector\wiring.py", line 1072, in _patched return await fn(*args, **kwargs) │ │ └ {'service': , 'request': File "C:\University-HCMUTE\InternFuta\ApiDialogflowChatbot\app\api\v1\trip.py", line 165, in pick_up_stop route_id=data.trip_data.route_id, way_id=data.trip_data.way_id │ │ │ └ None │ │ └ TripSelectionRequest(trip_data=None) │ └ None └ TripSelectionRequest(trip_data=None) AttributeError: 'NoneType' object has no attribute 'route_id' 2025-06-19 10:17:05.952 | ERROR | 218770e975f940d4a9643504a642084d | Exception in ASGI application Traceback (most recent call last): File "", line 1, in File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\spawn.py", line 116, in spawn_main exitcode = _main(fd, parent_sentinel) │ │ └ 336 │ └ 3 └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\spawn.py", line 129, in _main return self._bootstrap(parent_sentinel) │ │ └ 336 │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\process.py", line 315, in _bootstrap self.run() │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\process.py", line 108, in run self._target(*self._args, **self._kwargs) │ │ │ │ │ └ {'config': , 'target': │ │ │ └ () │ │ └ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\_subprocess.py", line 80, in subprocess_started target(sockets=sockets) │ └ [] └ > File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\server.py", line 66, in run return asyncio.run(self.serve(sockets=sockets)) │ │ │ │ └ [] │ │ │ └ │ │ └ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\runners.py", line 44, in run return loop.run_until_complete(main) │ │ └ │ └ └ <_WindowsSelectorEventLoop running=True closed=False debug=False> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 633, in run_until_complete self.run_forever() │ └ └ <_WindowsSelectorEventLoop running=True closed=False debug=False> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 600, in run_forever self._run_once() │ └ └ <_WindowsSelectorEventLoop running=True closed=False debug=False> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 1896, in _run_once handle._run() │ └ >)> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\events.py", line 80, in _run self._context.run(self._callback, *self._args) │ │ │ │ │ └ │ │ │ │ └ >)> │ │ │ └ │ │ └ >)> │ └ >)> > File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\protocols\http\h11_impl.py", line 403, in run_asgi result = await app( # type: ignore[func-returns-value] └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\middleware\proxy_headers.py", line 60, in __call__ return await self.app(scope, receive, send) │ │ │ │ └ > │ │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\fastapi\applications.py", line 1054, in __call__ await super().__call__(scope, receive, send) │ │ └ > │ └ > │ │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\errors.py", line 187, in __call__ raise exc File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\errors.py", line 165, in __call__ await self.app(scope, receive, _send) │ │ │ │ └ ._send at 0x0000020F99487130> │ │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\cors.py", line 85, in __call__ await self.app(scope, receive, send) │ │ │ │ └ ._send at 0x0000020F99487130> │ │ │ └ , header_name='... └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\asgi_correlation_id\middleware.py", line 90, in __call__ await self.app(scope, receive, handle_outgoing_request) │ │ │ │ └ .handle_outgoing_request at 0x0000020F99486290> │ │ │ └ └ CorrelationIdMiddleware(app=, header_name='... File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\exceptions.py", line 62, in __call__ await wrap_app_handling_exceptions(self.app, conn)(scope, receive, send) │ │ │ │ │ │ └ .handle_outgoing_request at 0x0000020F99486290> │ │ │ │ │ └ │ │ └ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 53, in wrapped_app raise exc File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 42, in wrapped_app await app(scope, receive, sender) │ │ │ └ .wrapped_app..sender at 0x0000020F994863B0> │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 714, in __call__ await self.middleware_stack(scope, receive, send) │ │ │ │ └ .wrapped_app..sender at 0x0000020F994863B0> │ │ │ └ > └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 734, in app await route.handle(scope, receive, send) │ │ │ │ └ .wrapped_app..sender at 0x0000020F994863B0> │ │ │ └ └ APIRoute(path='/api/v1/trip/pick-up', name='pick_up_stop', methods=['POST']) File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 288, in handle await self.app(scope, receive, send) │ │ │ │ └ .wrapped_app..sender at 0x0000020F994863B0> │ │ │ └ .app at 0x0000020FEA5C4C10> └ APIRoute(path='/api/v1/trip/pick-up', name='pick_up_stop', methods=['POST']) File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 76, in app await wrap_app_handling_exceptions(app, request)(scope, receive, send) │ │ │ │ │ └ .wrapped_app..sender at 0x0000020F994863B0> │ │ │ │ └ │ └ .app..app at 0x0000020F99485F30> └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 53, in wrapped_app raise exc File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 42, in wrapped_app await app(scope, receive, sender) │ │ │ └ .wrapped_app..sender at 0x0000020F99486B90> │ │ └ .app..app at 0x0000020F99485F30> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 73, in app response = await f(request) │ └ .app at 0x0000020FEA5C4B80> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\fastapi\routing.py", line 301, in app raw_response = await run_endpoint_function( └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\fastapi\routing.py", line 212, in run_endpoint_function return await dependant.call(**values) │ │ └ {'service': , 'request': └ Dependant(path_params=[], query_params=[], header_params=[], cookie_params=[], body_params=[], dependencies=[Dependant(path_p... File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\dependency_injector\wiring.py", line 1072, in _patched return await fn(*args, **kwargs) │ │ └ {'service': , 'request': File "C:\University-HCMUTE\InternFuta\ApiDialogflowChatbot\app\api\v1\trip.py", line 165, in pick_up_stop route_id=data.trip_data.route_id, way_id=data.trip_data.way_id │ │ │ └ None │ │ └ TripSelectionRequest(trip_data=None) │ └ None └ TripSelectionRequest(trip_data=None) AttributeError: 'NoneType' object has no attribute 'route_id' 2025-06-19 10:17:06.351 | ERROR | ea21087fcda240b49f6c23d8b2d3cfc9 | Invalid role for stop selection: pick_up 2025-06-19 10:17:06.868 | ERROR | b0c0c28786bd4ba189893cd6a98218bb | Exception in ASGI application Traceback (most recent call last): File "", line 1, in File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\spawn.py", line 116, in spawn_main exitcode = _main(fd, parent_sentinel) │ │ └ 336 │ └ 3 └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\spawn.py", line 129, in _main return self._bootstrap(parent_sentinel) │ │ └ 336 │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\process.py", line 315, in _bootstrap self.run() │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\process.py", line 108, in run self._target(*self._args, **self._kwargs) │ │ │ │ │ └ {'config': , 'target': │ │ │ └ () │ │ └ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\_subprocess.py", line 80, in subprocess_started target(sockets=sockets) │ └ [] └ > File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\server.py", line 66, in run return asyncio.run(self.serve(sockets=sockets)) │ │ │ │ └ [] │ │ │ └ │ │ └ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\runners.py", line 44, in run return loop.run_until_complete(main) │ │ └ │ └ └ <_WindowsSelectorEventLoop running=True closed=False debug=False> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 633, in run_until_complete self.run_forever() │ └ └ <_WindowsSelectorEventLoop running=True closed=False debug=False> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 600, in run_forever self._run_once() │ └ └ <_WindowsSelectorEventLoop running=True closed=False debug=False> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 1896, in _run_once handle._run() │ └ >)> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\events.py", line 80, in _run self._context.run(self._callback, *self._args) │ │ │ │ │ └ │ │ │ │ └ >)> │ │ │ └ │ │ └ >)> │ └ >)> > File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\protocols\http\h11_impl.py", line 403, in run_asgi result = await app( # type: ignore[func-returns-value] └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\middleware\proxy_headers.py", line 60, in __call__ return await self.app(scope, receive, send) │ │ │ │ └ > │ │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\fastapi\applications.py", line 1054, in __call__ await super().__call__(scope, receive, send) │ │ └ > │ └ > │ │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\errors.py", line 187, in __call__ raise exc File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\errors.py", line 165, in __call__ await self.app(scope, receive, _send) │ │ │ │ └ ._send at 0x0000020F9772AEF0> │ │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\cors.py", line 85, in __call__ await self.app(scope, receive, send) │ │ │ │ └ ._send at 0x0000020F9772AEF0> │ │ │ └ , header_name='... └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\asgi_correlation_id\middleware.py", line 90, in __call__ await self.app(scope, receive, handle_outgoing_request) │ │ │ │ └ .handle_outgoing_request at 0x0000020F9772ADD0> │ │ │ └ └ CorrelationIdMiddleware(app=, header_name='... File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\exceptions.py", line 62, in __call__ await wrap_app_handling_exceptions(self.app, conn)(scope, receive, send) │ │ │ │ │ │ └ .handle_outgoing_request at 0x0000020F9772ADD0> │ │ │ │ │ └ │ │ └ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 53, in wrapped_app raise exc File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 42, in wrapped_app await app(scope, receive, sender) │ │ │ └ .wrapped_app..sender at 0x0000020F9772B010> │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 714, in __call__ await self.middleware_stack(scope, receive, send) │ │ │ │ └ .wrapped_app..sender at 0x0000020F9772B010> │ │ │ └ > └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 734, in app await route.handle(scope, receive, send) │ │ │ │ └ .wrapped_app..sender at 0x0000020F9772B010> │ │ │ └ └ APIRoute(path='/api/v1/trip/pick-up', name='pick_up_stop', methods=['POST']) File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 288, in handle await self.app(scope, receive, send) │ │ │ │ └ .wrapped_app..sender at 0x0000020F9772B010> │ │ │ └ .app at 0x0000020FEA5C4C10> └ APIRoute(path='/api/v1/trip/pick-up', name='pick_up_stop', methods=['POST']) File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 76, in app await wrap_app_handling_exceptions(app, request)(scope, receive, send) │ │ │ │ │ └ .wrapped_app..sender at 0x0000020F9772B010> │ │ │ │ └ │ └ .app..app at 0x0000020F9772B9A0> └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 53, in wrapped_app raise exc File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 42, in wrapped_app await app(scope, receive, sender) │ │ │ └ .wrapped_app..sender at 0x0000020F9772B910> │ │ └ .app..app at 0x0000020F9772B9A0> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 73, in app response = await f(request) │ └ .app at 0x0000020FEA5C4B80> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\fastapi\routing.py", line 301, in app raw_response = await run_endpoint_function( └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\fastapi\routing.py", line 212, in run_endpoint_function return await dependant.call(**values) │ │ └ {'service': , 'request': └ Dependant(path_params=[], query_params=[], header_params=[], cookie_params=[], body_params=[], dependencies=[Dependant(path_p... File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\dependency_injector\wiring.py", line 1072, in _patched return await fn(*args, **kwargs) │ │ └ {'service': , 'request': File "C:\University-HCMUTE\InternFuta\ApiDialogflowChatbot\app\api\v1\trip.py", line 165, in pick_up_stop route_id=data.trip_data.route_id, way_id=data.trip_data.way_id │ │ │ └ None │ │ └ TripSelectionRequest(trip_data=None) │ └ None └ TripSelectionRequest(trip_data=None) AttributeError: 'NoneType' object has no attribute 'route_id' 2025-06-19 10:17:07.389 | ERROR | 36f1234c2b0e40ecaef5cb068a3d1eb6 | Exception in ASGI application Traceback (most recent call last): File "", line 1, in File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\spawn.py", line 116, in spawn_main exitcode = _main(fd, parent_sentinel) │ │ └ 336 │ └ 3 └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\spawn.py", line 129, in _main return self._bootstrap(parent_sentinel) │ │ └ 336 │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\process.py", line 315, in _bootstrap self.run() │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\process.py", line 108, in run self._target(*self._args, **self._kwargs) │ │ │ │ │ └ {'config': , 'target': │ │ │ └ () │ │ └ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\_subprocess.py", line 80, in subprocess_started target(sockets=sockets) │ └ [] └ > File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\server.py", line 66, in run return asyncio.run(self.serve(sockets=sockets)) │ │ │ │ └ [] │ │ │ └ │ │ └ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\runners.py", line 44, in run return loop.run_until_complete(main) │ │ └ │ └ └ <_WindowsSelectorEventLoop running=True closed=False debug=False> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 633, in run_until_complete self.run_forever() │ └ └ <_WindowsSelectorEventLoop running=True closed=False debug=False> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 600, in run_forever self._run_once() │ └ └ <_WindowsSelectorEventLoop running=True closed=False debug=False> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 1896, in _run_once handle._run() │ └ >)> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\events.py", line 80, in _run self._context.run(self._callback, *self._args) │ │ │ │ │ └ │ │ │ │ └ >)> │ │ │ └ │ │ └ >)> │ └ >)> > File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\protocols\http\h11_impl.py", line 403, in run_asgi result = await app( # type: ignore[func-returns-value] └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\middleware\proxy_headers.py", line 60, in __call__ return await self.app(scope, receive, send) │ │ │ │ └ > │ │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\fastapi\applications.py", line 1054, in __call__ await super().__call__(scope, receive, send) │ │ └ > │ └ > │ │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\errors.py", line 187, in __call__ raise exc File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\errors.py", line 165, in __call__ await self.app(scope, receive, _send) │ │ │ │ └ ._send at 0x0000020FEA5C5FC0> │ │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\cors.py", line 85, in __call__ await self.app(scope, receive, send) │ │ │ │ └ ._send at 0x0000020FEA5C5FC0> │ │ │ └ , header_name='... └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\asgi_correlation_id\middleware.py", line 90, in __call__ await self.app(scope, receive, handle_outgoing_request) │ │ │ │ └ .handle_outgoing_request at 0x0000020F99486D40> │ │ │ └ └ CorrelationIdMiddleware(app=, header_name='... File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\exceptions.py", line 62, in __call__ await wrap_app_handling_exceptions(self.app, conn)(scope, receive, send) │ │ │ │ │ │ └ .handle_outgoing_request at 0x0000020F99486D40> │ │ │ │ │ └ │ │ └ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 53, in wrapped_app raise exc File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 42, in wrapped_app await app(scope, receive, sender) │ │ │ └ .wrapped_app..sender at 0x0000020F99487370> │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 714, in __call__ await self.middleware_stack(scope, receive, send) │ │ │ │ └ .wrapped_app..sender at 0x0000020F99487370> │ │ │ └ > └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 734, in app await route.handle(scope, receive, send) │ │ │ │ └ .wrapped_app..sender at 0x0000020F99487370> │ │ │ └ └ APIRoute(path='/api/v1/trip/pick-up', name='pick_up_stop', methods=['POST']) File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 288, in handle await self.app(scope, receive, send) │ │ │ │ └ .wrapped_app..sender at 0x0000020F99487370> │ │ │ └ .app at 0x0000020FEA5C4C10> └ APIRoute(path='/api/v1/trip/pick-up', name='pick_up_stop', methods=['POST']) File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 76, in app await wrap_app_handling_exceptions(app, request)(scope, receive, send) │ │ │ │ │ └ .wrapped_app..sender at 0x0000020F99487370> │ │ │ │ └ │ └ .app..app at 0x0000020F994870A0> └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 53, in wrapped_app raise exc File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 42, in wrapped_app await app(scope, receive, sender) │ │ │ └ .wrapped_app..sender at 0x0000020F99485EA0> │ │ └ .app..app at 0x0000020F994870A0> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 73, in app response = await f(request) │ └ .app at 0x0000020FEA5C4B80> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\fastapi\routing.py", line 301, in app raw_response = await run_endpoint_function( └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\fastapi\routing.py", line 212, in run_endpoint_function return await dependant.call(**values) │ │ └ {'service': , 'request': └ Dependant(path_params=[], query_params=[], header_params=[], cookie_params=[], body_params=[], dependencies=[Dependant(path_p... File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\dependency_injector\wiring.py", line 1072, in _patched return await fn(*args, **kwargs) │ │ └ {'service': , 'request': File "C:\University-HCMUTE\InternFuta\ApiDialogflowChatbot\app\api\v1\trip.py", line 165, in pick_up_stop route_id=data.trip_data.route_id, way_id=data.trip_data.way_id │ │ │ └ None │ │ └ TripSelectionRequest(trip_data=None) │ └ None └ TripSelectionRequest(trip_data=None) AttributeError: 'NoneType' object has no attribute 'route_id' 2025-06-19 10:17:07.875 | ERROR | c480b46565c246febc7446ce36d467d4 | Invalid role for stop selection: pick_up 2025-06-19 10:17:08.435 | ERROR | 769053ce9c4a47eeba04cb1c3b338bf9 | Exception in ASGI application Traceback (most recent call last): File "", line 1, in File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\spawn.py", line 116, in spawn_main exitcode = _main(fd, parent_sentinel) │ │ └ 336 │ └ 3 └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\spawn.py", line 129, in _main return self._bootstrap(parent_sentinel) │ │ └ 336 │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\process.py", line 315, in _bootstrap self.run() │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\process.py", line 108, in run self._target(*self._args, **self._kwargs) │ │ │ │ │ └ {'config': , 'target': │ │ │ └ () │ │ └ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\_subprocess.py", line 80, in subprocess_started target(sockets=sockets) │ └ [] └ > File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\server.py", line 66, in run return asyncio.run(self.serve(sockets=sockets)) │ │ │ │ └ [] │ │ │ └ │ │ └ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\runners.py", line 44, in run return loop.run_until_complete(main) │ │ └ │ └ └ <_WindowsSelectorEventLoop running=True closed=False debug=False> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 633, in run_until_complete self.run_forever() │ └ └ <_WindowsSelectorEventLoop running=True closed=False debug=False> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 600, in run_forever self._run_once() │ └ └ <_WindowsSelectorEventLoop running=True closed=False debug=False> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 1896, in _run_once handle._run() │ └ >)> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\events.py", line 80, in _run self._context.run(self._callback, *self._args) │ │ │ │ │ └ │ │ │ │ └ >)> │ │ │ └ │ │ └ >)> │ └ >)> > File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\protocols\http\h11_impl.py", line 403, in run_asgi result = await app( # type: ignore[func-returns-value] └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\middleware\proxy_headers.py", line 60, in __call__ return await self.app(scope, receive, send) │ │ │ │ └ > │ │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\fastapi\applications.py", line 1054, in __call__ await super().__call__(scope, receive, send) │ │ └ > │ └ > │ │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\errors.py", line 187, in __call__ raise exc File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\errors.py", line 165, in __call__ await self.app(scope, receive, _send) │ │ │ │ └ ._send at 0x0000020F994871C0> │ │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\cors.py", line 85, in __call__ await self.app(scope, receive, send) │ │ │ │ └ ._send at 0x0000020F994871C0> │ │ │ └ , header_name='... └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\asgi_correlation_id\middleware.py", line 90, in __call__ await self.app(scope, receive, handle_outgoing_request) │ │ │ │ └ .handle_outgoing_request at 0x0000020F99486290> │ │ │ └ └ CorrelationIdMiddleware(app=, header_name='... File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\exceptions.py", line 62, in __call__ await wrap_app_handling_exceptions(self.app, conn)(scope, receive, send) │ │ │ │ │ │ └ .handle_outgoing_request at 0x0000020F99486290> │ │ │ │ │ └ │ │ └ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 53, in wrapped_app raise exc File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 42, in wrapped_app await app(scope, receive, sender) │ │ │ └ .wrapped_app..sender at 0x0000020F99486C20> │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 714, in __call__ await self.middleware_stack(scope, receive, send) │ │ │ │ └ .wrapped_app..sender at 0x0000020F99486C20> │ │ │ └ > └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 734, in app await route.handle(scope, receive, send) │ │ │ │ └ .wrapped_app..sender at 0x0000020F99486C20> │ │ │ └ └ APIRoute(path='/api/v1/trip/pick-up', name='pick_up_stop', methods=['POST']) File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 288, in handle await self.app(scope, receive, send) │ │ │ │ └ .wrapped_app..sender at 0x0000020F99486C20> │ │ │ └ .app at 0x0000020FEA5C4C10> └ APIRoute(path='/api/v1/trip/pick-up', name='pick_up_stop', methods=['POST']) File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 76, in app await wrap_app_handling_exceptions(app, request)(scope, receive, send) │ │ │ │ │ └ .wrapped_app..sender at 0x0000020F99486C20> │ │ │ │ └ │ └ .app..app at 0x0000020F99485F30> └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 53, in wrapped_app raise exc File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 42, in wrapped_app await app(scope, receive, sender) │ │ │ └ .wrapped_app..sender at 0x0000020F99486CB0> │ │ └ .app..app at 0x0000020F99485F30> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 73, in app response = await f(request) │ └ .app at 0x0000020FEA5C4B80> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\fastapi\routing.py", line 301, in app raw_response = await run_endpoint_function( └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\fastapi\routing.py", line 212, in run_endpoint_function return await dependant.call(**values) │ │ └ {'service': , 'request': └ Dependant(path_params=[], query_params=[], header_params=[], cookie_params=[], body_params=[], dependencies=[Dependant(path_p... File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\dependency_injector\wiring.py", line 1072, in _patched return await fn(*args, **kwargs) │ │ └ {'service': , 'request': File "C:\University-HCMUTE\InternFuta\ApiDialogflowChatbot\app\api\v1\trip.py", line 165, in pick_up_stop route_id=data.trip_data.route_id, way_id=data.trip_data.way_id │ │ │ └ None │ │ └ TripSelectionRequest(trip_data=None) │ └ None └ TripSelectionRequest(trip_data=None) AttributeError: 'NoneType' object has no attribute 'route_id' 2025-06-19 10:17:08.982 | ERROR | 8da5bfeb587c491597fa0e0c23b90d07 | Exception in ASGI application Traceback (most recent call last): File "", line 1, in File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\spawn.py", line 116, in spawn_main exitcode = _main(fd, parent_sentinel) │ │ └ 336 │ └ 3 └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\spawn.py", line 129, in _main return self._bootstrap(parent_sentinel) │ │ └ 336 │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\process.py", line 315, in _bootstrap self.run() │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\process.py", line 108, in run self._target(*self._args, **self._kwargs) │ │ │ │ │ └ {'config': , 'target': │ │ │ └ () │ │ └ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\_subprocess.py", line 80, in subprocess_started target(sockets=sockets) │ └ [] └ > File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\server.py", line 66, in run return asyncio.run(self.serve(sockets=sockets)) │ │ │ │ └ [] │ │ │ └ │ │ └ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\runners.py", line 44, in run return loop.run_until_complete(main) │ │ └ │ └ └ <_WindowsSelectorEventLoop running=True closed=False debug=False> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 633, in run_until_complete self.run_forever() │ └ └ <_WindowsSelectorEventLoop running=True closed=False debug=False> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 600, in run_forever self._run_once() │ └ └ <_WindowsSelectorEventLoop running=True closed=False debug=False> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 1896, in _run_once handle._run() │ └ >)> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\events.py", line 80, in _run self._context.run(self._callback, *self._args) │ │ │ │ │ └ │ │ │ │ └ >)> │ │ │ └ │ │ └ >)> │ └ >)> > File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\protocols\http\h11_impl.py", line 403, in run_asgi result = await app( # type: ignore[func-returns-value] └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\middleware\proxy_headers.py", line 60, in __call__ return await self.app(scope, receive, send) │ │ │ │ └ > │ │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\fastapi\applications.py", line 1054, in __call__ await super().__call__(scope, receive, send) │ │ └ > │ └ > │ │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\errors.py", line 187, in __call__ raise exc File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\errors.py", line 165, in __call__ await self.app(scope, receive, _send) │ │ │ │ └ ._send at 0x0000020F994863B0> │ │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\cors.py", line 85, in __call__ await self.app(scope, receive, send) │ │ │ │ └ ._send at 0x0000020F994863B0> │ │ │ └ , header_name='... └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\asgi_correlation_id\middleware.py", line 90, in __call__ await self.app(scope, receive, handle_outgoing_request) │ │ │ │ └ .handle_outgoing_request at 0x0000020F99486710> │ │ │ └ └ CorrelationIdMiddleware(app=, header_name='... File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\exceptions.py", line 62, in __call__ await wrap_app_handling_exceptions(self.app, conn)(scope, receive, send) │ │ │ │ │ │ └ .handle_outgoing_request at 0x0000020F99486710> │ │ │ │ │ └ │ │ └ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 53, in wrapped_app raise exc File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 42, in wrapped_app await app(scope, receive, sender) │ │ │ └ .wrapped_app..sender at 0x0000020F994868C0> │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 714, in __call__ await self.middleware_stack(scope, receive, send) │ │ │ │ └ .wrapped_app..sender at 0x0000020F994868C0> │ │ │ └ > └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 734, in app await route.handle(scope, receive, send) │ │ │ │ └ .wrapped_app..sender at 0x0000020F994868C0> │ │ │ └ └ APIRoute(path='/api/v1/trip/pick-up', name='pick_up_stop', methods=['POST']) File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 288, in handle await self.app(scope, receive, send) │ │ │ │ └ .wrapped_app..sender at 0x0000020F994868C0> │ │ │ └ .app at 0x0000020FEA5C4C10> └ APIRoute(path='/api/v1/trip/pick-up', name='pick_up_stop', methods=['POST']) File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 76, in app await wrap_app_handling_exceptions(app, request)(scope, receive, send) │ │ │ │ │ └ .wrapped_app..sender at 0x0000020F994868C0> │ │ │ │ └ │ └ .app..app at 0x0000020F99487250> └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 53, in wrapped_app raise exc File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 42, in wrapped_app await app(scope, receive, sender) │ │ │ └ .wrapped_app..sender at 0x0000020F994872E0> │ │ └ .app..app at 0x0000020F99487250> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 73, in app response = await f(request) │ └ .app at 0x0000020FEA5C4B80> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\fastapi\routing.py", line 301, in app raw_response = await run_endpoint_function( └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\fastapi\routing.py", line 212, in run_endpoint_function return await dependant.call(**values) │ │ └ {'service': , 'request': └ Dependant(path_params=[], query_params=[], header_params=[], cookie_params=[], body_params=[], dependencies=[Dependant(path_p... File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\dependency_injector\wiring.py", line 1072, in _patched return await fn(*args, **kwargs) │ │ └ {'service': , 'request': File "C:\University-HCMUTE\InternFuta\ApiDialogflowChatbot\app\api\v1\trip.py", line 165, in pick_up_stop route_id=data.trip_data.route_id, way_id=data.trip_data.way_id │ │ │ └ None │ │ └ TripSelectionRequest(trip_data=None) │ └ None └ TripSelectionRequest(trip_data=None) AttributeError: 'NoneType' object has no attribute 'route_id' 2025-06-19 10:17:09.266 | ERROR | 011152d9391c4f0888e01dfcbf99ca56 | Invalid role for stop selection: pick_up 2025-06-19 10:17:09.789 | ERROR | 3a0f9c6e1a3848f7b7808f0fdc18a104 | Exception in ASGI application Traceback (most recent call last): File "", line 1, in File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\spawn.py", line 116, in spawn_main exitcode = _main(fd, parent_sentinel) │ │ └ 336 │ └ 3 └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\spawn.py", line 129, in _main return self._bootstrap(parent_sentinel) │ │ └ 336 │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\process.py", line 315, in _bootstrap self.run() │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\process.py", line 108, in run self._target(*self._args, **self._kwargs) │ │ │ │ │ └ {'config': , 'target': │ │ │ └ () │ │ └ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\_subprocess.py", line 80, in subprocess_started target(sockets=sockets) │ └ [] └ > File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\server.py", line 66, in run return asyncio.run(self.serve(sockets=sockets)) │ │ │ │ └ [] │ │ │ └ │ │ └ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\runners.py", line 44, in run return loop.run_until_complete(main) │ │ └ │ └ └ <_WindowsSelectorEventLoop running=True closed=False debug=False> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 633, in run_until_complete self.run_forever() │ └ └ <_WindowsSelectorEventLoop running=True closed=False debug=False> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 600, in run_forever self._run_once() │ └ └ <_WindowsSelectorEventLoop running=True closed=False debug=False> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 1896, in _run_once handle._run() │ └ >)> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\events.py", line 80, in _run self._context.run(self._callback, *self._args) │ │ │ │ │ └ │ │ │ │ └ >)> │ │ │ └ │ │ └ >)> │ └ >)> > File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\protocols\http\h11_impl.py", line 403, in run_asgi result = await app( # type: ignore[func-returns-value] └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\middleware\proxy_headers.py", line 60, in __call__ return await self.app(scope, receive, send) │ │ │ │ └ > │ │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\fastapi\applications.py", line 1054, in __call__ await super().__call__(scope, receive, send) │ │ └ > │ └ > │ │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\errors.py", line 187, in __call__ raise exc File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\errors.py", line 165, in __call__ await self.app(scope, receive, _send) │ │ │ │ └ ._send at 0x0000020F9772ADD0> │ │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\cors.py", line 85, in __call__ await self.app(scope, receive, send) │ │ │ │ └ ._send at 0x0000020F9772ADD0> │ │ │ └ , header_name='... └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\asgi_correlation_id\middleware.py", line 90, in __call__ await self.app(scope, receive, handle_outgoing_request) │ │ │ │ └ .handle_outgoing_request at 0x0000020F9772AEF0> │ │ │ └ └ CorrelationIdMiddleware(app=, header_name='... File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\exceptions.py", line 62, in __call__ await wrap_app_handling_exceptions(self.app, conn)(scope, receive, send) │ │ │ │ │ │ └ .handle_outgoing_request at 0x0000020F9772AEF0> │ │ │ │ │ └ │ │ └ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 53, in wrapped_app raise exc File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 42, in wrapped_app await app(scope, receive, sender) │ │ │ └ .wrapped_app..sender at 0x0000020F9772B9A0> │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 714, in __call__ await self.middleware_stack(scope, receive, send) │ │ │ │ └ .wrapped_app..sender at 0x0000020F9772B9A0> │ │ │ └ > └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 734, in app await route.handle(scope, receive, send) │ │ │ │ └ .wrapped_app..sender at 0x0000020F9772B9A0> │ │ │ └ └ APIRoute(path='/api/v1/trip/pick-up', name='pick_up_stop', methods=['POST']) File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 288, in handle await self.app(scope, receive, send) │ │ │ │ └ .wrapped_app..sender at 0x0000020F9772B9A0> │ │ │ └ .app at 0x0000020FEA5C4C10> └ APIRoute(path='/api/v1/trip/pick-up', name='pick_up_stop', methods=['POST']) File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 76, in app await wrap_app_handling_exceptions(app, request)(scope, receive, send) │ │ │ │ │ └ .wrapped_app..sender at 0x0000020F9772B9A0> │ │ │ │ └ │ └ .app..app at 0x0000020F9772B910> └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 53, in wrapped_app raise exc File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 42, in wrapped_app await app(scope, receive, sender) │ │ │ └ .wrapped_app..sender at 0x0000020F9772B2E0> │ │ └ .app..app at 0x0000020F9772B910> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 73, in app response = await f(request) │ └ .app at 0x0000020FEA5C4B80> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\fastapi\routing.py", line 301, in app raw_response = await run_endpoint_function( └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\fastapi\routing.py", line 212, in run_endpoint_function return await dependant.call(**values) │ │ └ {'service': , 'request': └ Dependant(path_params=[], query_params=[], header_params=[], cookie_params=[], body_params=[], dependencies=[Dependant(path_p... File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\dependency_injector\wiring.py", line 1072, in _patched return await fn(*args, **kwargs) │ │ └ {'service': , 'request': File "C:\University-HCMUTE\InternFuta\ApiDialogflowChatbot\app\api\v1\trip.py", line 165, in pick_up_stop route_id=data.trip_data.route_id, way_id=data.trip_data.way_id │ │ │ └ None │ │ └ TripSelectionRequest(trip_data=None) │ └ None └ TripSelectionRequest(trip_data=None) AttributeError: 'NoneType' object has no attribute 'route_id' 2025-06-19 10:17:10.366 | ERROR | d942b7bcc651425daeed4cc5b138708c | Exception in ASGI application Traceback (most recent call last): File "", line 1, in File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\spawn.py", line 116, in spawn_main exitcode = _main(fd, parent_sentinel) │ │ └ 336 │ └ 3 └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\spawn.py", line 129, in _main return self._bootstrap(parent_sentinel) │ │ └ 336 │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\process.py", line 315, in _bootstrap self.run() │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\process.py", line 108, in run self._target(*self._args, **self._kwargs) │ │ │ │ │ └ {'config': , 'target': │ │ │ └ () │ │ └ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\_subprocess.py", line 80, in subprocess_started target(sockets=sockets) │ └ [] └ > File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\server.py", line 66, in run return asyncio.run(self.serve(sockets=sockets)) │ │ │ │ └ [] │ │ │ └ │ │ └ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\runners.py", line 44, in run return loop.run_until_complete(main) │ │ └ │ └ └ <_WindowsSelectorEventLoop running=True closed=False debug=False> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 633, in run_until_complete self.run_forever() │ └ └ <_WindowsSelectorEventLoop running=True closed=False debug=False> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 600, in run_forever self._run_once() │ └ └ <_WindowsSelectorEventLoop running=True closed=False debug=False> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 1896, in _run_once handle._run() │ └ >)> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\events.py", line 80, in _run self._context.run(self._callback, *self._args) │ │ │ │ │ └ │ │ │ │ └ >)> │ │ │ └ │ │ └ >)> │ └ >)> > File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\protocols\http\h11_impl.py", line 403, in run_asgi result = await app( # type: ignore[func-returns-value] └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\middleware\proxy_headers.py", line 60, in __call__ return await self.app(scope, receive, send) │ │ │ │ └ > │ │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\fastapi\applications.py", line 1054, in __call__ await super().__call__(scope, receive, send) │ │ └ > │ └ > │ │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\errors.py", line 187, in __call__ raise exc File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\errors.py", line 165, in __call__ await self.app(scope, receive, _send) │ │ │ │ └ ._send at 0x0000020F99486B00> │ │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\cors.py", line 85, in __call__ await self.app(scope, receive, send) │ │ │ │ └ ._send at 0x0000020F99486B00> │ │ │ └ , header_name='... └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\asgi_correlation_id\middleware.py", line 90, in __call__ await self.app(scope, receive, handle_outgoing_request) │ │ │ │ └ .handle_outgoing_request at 0x0000020F99486320> │ │ │ └ └ CorrelationIdMiddleware(app=, header_name='... File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\exceptions.py", line 62, in __call__ await wrap_app_handling_exceptions(self.app, conn)(scope, receive, send) │ │ │ │ │ │ └ .handle_outgoing_request at 0x0000020F99486320> │ │ │ │ │ └ │ │ └ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 53, in wrapped_app raise exc File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 42, in wrapped_app await app(scope, receive, sender) │ │ │ └ .wrapped_app..sender at 0x0000020F99486C20> │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 714, in __call__ await self.middleware_stack(scope, receive, send) │ │ │ │ └ .wrapped_app..sender at 0x0000020F99486C20> │ │ │ └ > └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 734, in app await route.handle(scope, receive, send) │ │ │ │ └ .wrapped_app..sender at 0x0000020F99486C20> │ │ │ └ └ APIRoute(path='/api/v1/trip/pick-up', name='pick_up_stop', methods=['POST']) File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 288, in handle await self.app(scope, receive, send) │ │ │ │ └ .wrapped_app..sender at 0x0000020F99486C20> │ │ │ └ .app at 0x0000020FEA5C4C10> └ APIRoute(path='/api/v1/trip/pick-up', name='pick_up_stop', methods=['POST']) File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 76, in app await wrap_app_handling_exceptions(app, request)(scope, receive, send) │ │ │ │ │ └ .wrapped_app..sender at 0x0000020F99486C20> │ │ │ │ └ │ └ .app..app at 0x0000020F994871C0> └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 53, in wrapped_app raise exc File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 42, in wrapped_app await app(scope, receive, sender) │ │ │ └ .wrapped_app..sender at 0x0000020F99487130> │ │ └ .app..app at 0x0000020F994871C0> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 73, in app response = await f(request) │ └ .app at 0x0000020FEA5C4B80> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\fastapi\routing.py", line 301, in app raw_response = await run_endpoint_function( └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\fastapi\routing.py", line 212, in run_endpoint_function return await dependant.call(**values) │ │ └ {'service': , 'request': └ Dependant(path_params=[], query_params=[], header_params=[], cookie_params=[], body_params=[], dependencies=[Dependant(path_p... File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\dependency_injector\wiring.py", line 1072, in _patched return await fn(*args, **kwargs) │ │ └ {'service': , 'request': File "C:\University-HCMUTE\InternFuta\ApiDialogflowChatbot\app\api\v1\trip.py", line 165, in pick_up_stop route_id=data.trip_data.route_id, way_id=data.trip_data.way_id │ │ │ └ None │ │ └ TripSelectionRequest(trip_data=None) │ └ None └ TripSelectionRequest(trip_data=None) AttributeError: 'NoneType' object has no attribute 'route_id' 2025-06-19 10:17:10.894 | ERROR | e4e954c6de0f4a84b08ed406d2c6f8dc | Invalid role for stop selection: pick_up 2025-06-19 10:17:11.217 | ERROR | 69dda6637f3547f59cecf84d9b20259c | Exception in ASGI application Traceback (most recent call last): File "", line 1, in File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\spawn.py", line 116, in spawn_main exitcode = _main(fd, parent_sentinel) │ │ └ 336 │ └ 3 └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\spawn.py", line 129, in _main return self._bootstrap(parent_sentinel) │ │ └ 336 │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\process.py", line 315, in _bootstrap self.run() │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\process.py", line 108, in run self._target(*self._args, **self._kwargs) │ │ │ │ │ └ {'config': , 'target': │ │ │ └ () │ │ └ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\_subprocess.py", line 80, in subprocess_started target(sockets=sockets) │ └ [] └ > File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\server.py", line 66, in run return asyncio.run(self.serve(sockets=sockets)) │ │ │ │ └ [] │ │ │ └ │ │ └ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\runners.py", line 44, in run return loop.run_until_complete(main) │ │ └ │ └ └ <_WindowsSelectorEventLoop running=True closed=False debug=False> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 633, in run_until_complete self.run_forever() │ └ └ <_WindowsSelectorEventLoop running=True closed=False debug=False> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 600, in run_forever self._run_once() │ └ └ <_WindowsSelectorEventLoop running=True closed=False debug=False> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 1896, in _run_once handle._run() │ └ >)> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\events.py", line 80, in _run self._context.run(self._callback, *self._args) │ │ │ │ │ └ │ │ │ │ └ >)> │ │ │ └ │ │ └ >)> │ └ >)> > File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\protocols\http\h11_impl.py", line 403, in run_asgi result = await app( # type: ignore[func-returns-value] └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\middleware\proxy_headers.py", line 60, in __call__ return await self.app(scope, receive, send) │ │ │ │ └ > │ │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\fastapi\applications.py", line 1054, in __call__ await super().__call__(scope, receive, send) │ │ └ > │ └ > │ │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\errors.py", line 187, in __call__ raise exc File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\errors.py", line 165, in __call__ await self.app(scope, receive, _send) │ │ │ │ └ ._send at 0x0000020F99487370> │ │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\cors.py", line 85, in __call__ await self.app(scope, receive, send) │ │ │ │ └ ._send at 0x0000020F99487370> │ │ │ └ , header_name='... └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\asgi_correlation_id\middleware.py", line 90, in __call__ await self.app(scope, receive, handle_outgoing_request) │ │ │ │ └ .handle_outgoing_request at 0x0000020F99485FC0> │ │ │ └ └ CorrelationIdMiddleware(app=, header_name='... File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\exceptions.py", line 62, in __call__ await wrap_app_handling_exceptions(self.app, conn)(scope, receive, send) │ │ │ │ │ │ └ .handle_outgoing_request at 0x0000020F99485FC0> │ │ │ │ │ └ │ │ └ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 53, in wrapped_app raise exc File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 42, in wrapped_app await app(scope, receive, sender) │ │ │ └ .wrapped_app..sender at 0x0000020F99486D40> │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 714, in __call__ await self.middleware_stack(scope, receive, send) │ │ │ │ └ .wrapped_app..sender at 0x0000020F99486D40> │ │ │ └ > └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 734, in app await route.handle(scope, receive, send) │ │ │ │ └ .wrapped_app..sender at 0x0000020F99486D40> │ │ │ └ └ APIRoute(path='/api/v1/trip/pick-up', name='pick_up_stop', methods=['POST']) File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 288, in handle await self.app(scope, receive, send) │ │ │ │ └ .wrapped_app..sender at 0x0000020F99486D40> │ │ │ └ .app at 0x0000020FEA5C4C10> └ APIRoute(path='/api/v1/trip/pick-up', name='pick_up_stop', methods=['POST']) File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 76, in app await wrap_app_handling_exceptions(app, request)(scope, receive, send) │ │ │ │ │ └ .wrapped_app..sender at 0x0000020F99486D40> │ │ │ │ └ │ └ .app..app at 0x0000020F99486290> └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 53, in wrapped_app raise exc File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 42, in wrapped_app await app(scope, receive, sender) │ │ │ └ .wrapped_app..sender at 0x0000020F99486440> │ │ └ .app..app at 0x0000020F99486290> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 73, in app response = await f(request) │ └ .app at 0x0000020FEA5C4B80> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\fastapi\routing.py", line 301, in app raw_response = await run_endpoint_function( └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\fastapi\routing.py", line 212, in run_endpoint_function return await dependant.call(**values) │ │ └ {'service': , 'request': └ Dependant(path_params=[], query_params=[], header_params=[], cookie_params=[], body_params=[], dependencies=[Dependant(path_p... File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\dependency_injector\wiring.py", line 1072, in _patched return await fn(*args, **kwargs) │ │ └ {'service': , 'request': File "C:\University-HCMUTE\InternFuta\ApiDialogflowChatbot\app\api\v1\trip.py", line 165, in pick_up_stop route_id=data.trip_data.route_id, way_id=data.trip_data.way_id │ │ │ └ None │ │ └ TripSelectionRequest(trip_data=None) │ └ None └ TripSelectionRequest(trip_data=None) AttributeError: 'NoneType' object has no attribute 'route_id' 2025-06-19 10:17:11.768 | ERROR | 33327f37385843bf82105787af36455a | Exception in ASGI application Traceback (most recent call last): File "", line 1, in File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\spawn.py", line 116, in spawn_main exitcode = _main(fd, parent_sentinel) │ │ └ 336 │ └ 3 └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\spawn.py", line 129, in _main return self._bootstrap(parent_sentinel) │ │ └ 336 │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\process.py", line 315, in _bootstrap self.run() │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\process.py", line 108, in run self._target(*self._args, **self._kwargs) │ │ │ │ │ └ {'config': , 'target': │ │ │ └ () │ │ └ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\_subprocess.py", line 80, in subprocess_started target(sockets=sockets) │ └ [] └ > File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\server.py", line 66, in run return asyncio.run(self.serve(sockets=sockets)) │ │ │ │ └ [] │ │ │ └ │ │ └ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\runners.py", line 44, in run return loop.run_until_complete(main) │ │ └ │ └ └ <_WindowsSelectorEventLoop running=True closed=False debug=False> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 633, in run_until_complete self.run_forever() │ └ └ <_WindowsSelectorEventLoop running=True closed=False debug=False> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 600, in run_forever self._run_once() │ └ └ <_WindowsSelectorEventLoop running=True closed=False debug=False> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 1896, in _run_once handle._run() │ └ >)> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\events.py", line 80, in _run self._context.run(self._callback, *self._args) │ │ │ │ │ └ │ │ │ │ └ >)> │ │ │ └ │ │ └ >)> │ └ >)> > File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\protocols\http\h11_impl.py", line 403, in run_asgi result = await app( # type: ignore[func-returns-value] └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\middleware\proxy_headers.py", line 60, in __call__ return await self.app(scope, receive, send) │ │ │ │ └ > │ │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\fastapi\applications.py", line 1054, in __call__ await super().__call__(scope, receive, send) │ │ └ > │ └ > │ │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\errors.py", line 187, in __call__ raise exc File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\errors.py", line 165, in __call__ await self.app(scope, receive, _send) │ │ │ │ └ ._send at 0x0000020F9772B130> │ │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\cors.py", line 85, in __call__ await self.app(scope, receive, send) │ │ │ │ └ ._send at 0x0000020F9772B130> │ │ │ └ , header_name='... └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\asgi_correlation_id\middleware.py", line 90, in __call__ await self.app(scope, receive, handle_outgoing_request) │ │ │ │ └ .handle_outgoing_request at 0x0000020F994870A0> │ │ │ └ └ CorrelationIdMiddleware(app=, header_name='... File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\exceptions.py", line 62, in __call__ await wrap_app_handling_exceptions(self.app, conn)(scope, receive, send) │ │ │ │ │ │ └ .handle_outgoing_request at 0x0000020F994870A0> │ │ │ │ │ └ │ │ └ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 53, in wrapped_app raise exc File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 42, in wrapped_app await app(scope, receive, sender) │ │ │ └ .wrapped_app..sender at 0x0000020F99486950> │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 714, in __call__ await self.middleware_stack(scope, receive, send) │ │ │ │ └ .wrapped_app..sender at 0x0000020F99486950> │ │ │ └ > └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 734, in app await route.handle(scope, receive, send) │ │ │ │ └ .wrapped_app..sender at 0x0000020F99486950> │ │ │ └ └ APIRoute(path='/api/v1/trip/pick-up', name='pick_up_stop', methods=['POST']) File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 288, in handle await self.app(scope, receive, send) │ │ │ │ └ .wrapped_app..sender at 0x0000020F99486950> │ │ │ └ .app at 0x0000020FEA5C4C10> └ APIRoute(path='/api/v1/trip/pick-up', name='pick_up_stop', methods=['POST']) File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 76, in app await wrap_app_handling_exceptions(app, request)(scope, receive, send) │ │ │ │ │ └ .wrapped_app..sender at 0x0000020F99486950> │ │ │ │ └ │ └ .app..app at 0x0000020F99485EA0> └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 53, in wrapped_app raise exc File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 42, in wrapped_app await app(scope, receive, sender) │ │ │ └ .wrapped_app..sender at 0x0000020F99486050> │ │ └ .app..app at 0x0000020F99485EA0> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 73, in app response = await f(request) │ └ .app at 0x0000020FEA5C4B80> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\fastapi\routing.py", line 301, in app raw_response = await run_endpoint_function( └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\fastapi\routing.py", line 212, in run_endpoint_function return await dependant.call(**values) │ │ └ {'service': , 'request': └ Dependant(path_params=[], query_params=[], header_params=[], cookie_params=[], body_params=[], dependencies=[Dependant(path_p... File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\dependency_injector\wiring.py", line 1072, in _patched return await fn(*args, **kwargs) │ │ └ {'service': , 'request': File "C:\University-HCMUTE\InternFuta\ApiDialogflowChatbot\app\api\v1\trip.py", line 165, in pick_up_stop route_id=data.trip_data.route_id, way_id=data.trip_data.way_id │ │ │ └ None │ │ └ TripSelectionRequest(trip_data=None) │ └ None └ TripSelectionRequest(trip_data=None) AttributeError: 'NoneType' object has no attribute 'route_id' 2025-06-19 10:17:12.408 | ERROR | b513631e8f0a42cbb6439e63e9411cc5 | Invalid role for stop selection: pick_up 2025-06-19 10:17:12.924 | ERROR | f3c1b53ea8834df8be0d67d1e4608b07 | Exception in ASGI application Traceback (most recent call last): File "", line 1, in File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\spawn.py", line 116, in spawn_main exitcode = _main(fd, parent_sentinel) │ │ └ 336 │ └ 3 └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\spawn.py", line 129, in _main return self._bootstrap(parent_sentinel) │ │ └ 336 │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\process.py", line 315, in _bootstrap self.run() │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\process.py", line 108, in run self._target(*self._args, **self._kwargs) │ │ │ │ │ └ {'config': , 'target': │ │ │ └ () │ │ └ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\_subprocess.py", line 80, in subprocess_started target(sockets=sockets) │ └ [] └ > File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\server.py", line 66, in run return asyncio.run(self.serve(sockets=sockets)) │ │ │ │ └ [] │ │ │ └ │ │ └ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\runners.py", line 44, in run return loop.run_until_complete(main) │ │ └ │ └ └ <_WindowsSelectorEventLoop running=True closed=False debug=False> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 633, in run_until_complete self.run_forever() │ └ └ <_WindowsSelectorEventLoop running=True closed=False debug=False> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 600, in run_forever self._run_once() │ └ └ <_WindowsSelectorEventLoop running=True closed=False debug=False> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 1896, in _run_once handle._run() │ └ >)> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\events.py", line 80, in _run self._context.run(self._callback, *self._args) │ │ │ │ │ └ │ │ │ │ └ >)> │ │ │ └ │ │ └ >)> │ └ >)> > File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\protocols\http\h11_impl.py", line 403, in run_asgi result = await app( # type: ignore[func-returns-value] └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\middleware\proxy_headers.py", line 60, in __call__ return await self.app(scope, receive, send) │ │ │ │ └ > │ │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\fastapi\applications.py", line 1054, in __call__ await super().__call__(scope, receive, send) │ │ └ > │ └ > │ │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\errors.py", line 187, in __call__ raise exc File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\errors.py", line 165, in __call__ await self.app(scope, receive, _send) │ │ │ │ └ ._send at 0x0000020F9772B130> │ │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\cors.py", line 85, in __call__ await self.app(scope, receive, send) │ │ │ │ └ ._send at 0x0000020F9772B130> │ │ │ └ , header_name='... └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\asgi_correlation_id\middleware.py", line 90, in __call__ await self.app(scope, receive, handle_outgoing_request) │ │ │ │ └ .handle_outgoing_request at 0x0000020F9772AEF0> │ │ │ └ └ CorrelationIdMiddleware(app=, header_name='... File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\exceptions.py", line 62, in __call__ await wrap_app_handling_exceptions(self.app, conn)(scope, receive, send) │ │ │ │ │ │ └ .handle_outgoing_request at 0x0000020F9772AEF0> │ │ │ │ │ └ │ │ └ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 53, in wrapped_app raise exc File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 42, in wrapped_app await app(scope, receive, sender) │ │ │ └ .wrapped_app..sender at 0x0000020F9772B910> │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 714, in __call__ await self.middleware_stack(scope, receive, send) │ │ │ │ └ .wrapped_app..sender at 0x0000020F9772B910> │ │ │ └ > └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 734, in app await route.handle(scope, receive, send) │ │ │ │ └ .wrapped_app..sender at 0x0000020F9772B910> │ │ │ └ └ APIRoute(path='/api/v1/trip/pick-up', name='pick_up_stop', methods=['POST']) File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 288, in handle await self.app(scope, receive, send) │ │ │ │ └ .wrapped_app..sender at 0x0000020F9772B910> │ │ │ └ .app at 0x0000020FEA5C4C10> └ APIRoute(path='/api/v1/trip/pick-up', name='pick_up_stop', methods=['POST']) File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 76, in app await wrap_app_handling_exceptions(app, request)(scope, receive, send) │ │ │ │ │ └ .wrapped_app..sender at 0x0000020F9772B910> │ │ │ │ └ │ └ .app..app at 0x0000020F9772B2E0> └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 53, in wrapped_app raise exc File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 42, in wrapped_app await app(scope, receive, sender) │ │ │ └ .wrapped_app..sender at 0x0000020F9772B010> │ │ └ .app..app at 0x0000020F9772B2E0> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 73, in app response = await f(request) │ └ .app at 0x0000020FEA5C4B80> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\fastapi\routing.py", line 301, in app raw_response = await run_endpoint_function( └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\fastapi\routing.py", line 212, in run_endpoint_function return await dependant.call(**values) │ │ └ {'service': , 'request': └ Dependant(path_params=[], query_params=[], header_params=[], cookie_params=[], body_params=[], dependencies=[Dependant(path_p... File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\dependency_injector\wiring.py", line 1072, in _patched return await fn(*args, **kwargs) │ │ └ {'service': , 'request': File "C:\University-HCMUTE\InternFuta\ApiDialogflowChatbot\app\api\v1\trip.py", line 165, in pick_up_stop route_id=data.trip_data.route_id, way_id=data.trip_data.way_id │ │ │ └ None │ │ └ TripSelectionRequest(trip_data=None) │ └ None └ TripSelectionRequest(trip_data=None) AttributeError: 'NoneType' object has no attribute 'route_id' 2025-06-19 10:17:13.481 | ERROR | 000a968185d648038b1375477375e54f | Exception in ASGI application Traceback (most recent call last): File "", line 1, in File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\spawn.py", line 116, in spawn_main exitcode = _main(fd, parent_sentinel) │ │ └ 336 │ └ 3 └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\spawn.py", line 129, in _main return self._bootstrap(parent_sentinel) │ │ └ 336 │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\process.py", line 315, in _bootstrap self.run() │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\process.py", line 108, in run self._target(*self._args, **self._kwargs) │ │ │ │ │ └ {'config': , 'target': │ │ │ └ () │ │ └ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\_subprocess.py", line 80, in subprocess_started target(sockets=sockets) │ └ [] └ > File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\server.py", line 66, in run return asyncio.run(self.serve(sockets=sockets)) │ │ │ │ └ [] │ │ │ └ │ │ └ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\runners.py", line 44, in run return loop.run_until_complete(main) │ │ └ │ └ └ <_WindowsSelectorEventLoop running=True closed=False debug=False> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 633, in run_until_complete self.run_forever() │ └ └ <_WindowsSelectorEventLoop running=True closed=False debug=False> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 600, in run_forever self._run_once() │ └ └ <_WindowsSelectorEventLoop running=True closed=False debug=False> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 1896, in _run_once handle._run() │ └ >)> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\events.py", line 80, in _run self._context.run(self._callback, *self._args) │ │ │ │ │ └ │ │ │ │ └ >)> │ │ │ └ │ │ └ >)> │ └ >)> > File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\protocols\http\h11_impl.py", line 403, in run_asgi result = await app( # type: ignore[func-returns-value] └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\middleware\proxy_headers.py", line 60, in __call__ return await self.app(scope, receive, send) │ │ │ │ └ > │ │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\fastapi\applications.py", line 1054, in __call__ await super().__call__(scope, receive, send) │ │ └ > │ └ > │ │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\errors.py", line 187, in __call__ raise exc File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\errors.py", line 165, in __call__ await self.app(scope, receive, _send) │ │ │ │ └ ._send at 0x0000020F994860E0> │ │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\cors.py", line 85, in __call__ await self.app(scope, receive, send) │ │ │ │ └ ._send at 0x0000020F994860E0> │ │ │ └ , header_name='... └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\asgi_correlation_id\middleware.py", line 90, in __call__ await self.app(scope, receive, handle_outgoing_request) │ │ │ │ └ .handle_outgoing_request at 0x0000020F99486680> │ │ │ └ └ CorrelationIdMiddleware(app=, header_name='... File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\exceptions.py", line 62, in __call__ await wrap_app_handling_exceptions(self.app, conn)(scope, receive, send) │ │ │ │ │ │ └ .handle_outgoing_request at 0x0000020F99486680> │ │ │ │ │ └ │ │ └ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 53, in wrapped_app raise exc File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 42, in wrapped_app await app(scope, receive, sender) │ │ │ └ .wrapped_app..sender at 0x0000020F99485F30> │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 714, in __call__ await self.middleware_stack(scope, receive, send) │ │ │ │ └ .wrapped_app..sender at 0x0000020F99485F30> │ │ │ └ > └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 734, in app await route.handle(scope, receive, send) │ │ │ │ └ .wrapped_app..sender at 0x0000020F99485F30> │ │ │ └ └ APIRoute(path='/api/v1/trip/pick-up', name='pick_up_stop', methods=['POST']) File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 288, in handle await self.app(scope, receive, send) │ │ │ │ └ .wrapped_app..sender at 0x0000020F99485F30> │ │ │ └ .app at 0x0000020FEA5C4C10> └ APIRoute(path='/api/v1/trip/pick-up', name='pick_up_stop', methods=['POST']) File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 76, in app await wrap_app_handling_exceptions(app, request)(scope, receive, send) │ │ │ │ │ └ .wrapped_app..sender at 0x0000020F99485F30> │ │ │ │ └ │ └ .app..app at 0x0000020F99486830> └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 53, in wrapped_app raise exc File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 42, in wrapped_app await app(scope, receive, sender) │ │ │ └ .wrapped_app..sender at 0x0000020F99486A70> │ │ └ .app..app at 0x0000020F99486830> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 73, in app response = await f(request) │ └ .app at 0x0000020FEA5C4B80> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\fastapi\routing.py", line 301, in app raw_response = await run_endpoint_function( └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\fastapi\routing.py", line 212, in run_endpoint_function return await dependant.call(**values) │ │ └ {'service': , 'request': └ Dependant(path_params=[], query_params=[], header_params=[], cookie_params=[], body_params=[], dependencies=[Dependant(path_p... File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\dependency_injector\wiring.py", line 1072, in _patched return await fn(*args, **kwargs) │ │ └ {'service': , 'request': File "C:\University-HCMUTE\InternFuta\ApiDialogflowChatbot\app\api\v1\trip.py", line 165, in pick_up_stop route_id=data.trip_data.route_id, way_id=data.trip_data.way_id │ │ │ └ None │ │ └ TripSelectionRequest(trip_data=None) │ └ None └ TripSelectionRequest(trip_data=None) AttributeError: 'NoneType' object has no attribute 'route_id' 2025-06-19 10:17:13.968 | ERROR | bf767d18dce14f708d3d086d0c4b5146 | Invalid role for stop selection: pick_up 2025-06-19 10:17:14.642 | ERROR | 82f82a5b590246baa4421155a15420fe | Exception in ASGI application Traceback (most recent call last): File "", line 1, in File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\spawn.py", line 116, in spawn_main exitcode = _main(fd, parent_sentinel) │ │ └ 336 │ └ 3 └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\spawn.py", line 129, in _main return self._bootstrap(parent_sentinel) │ │ └ 336 │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\process.py", line 315, in _bootstrap self.run() │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\process.py", line 108, in run self._target(*self._args, **self._kwargs) │ │ │ │ │ └ {'config': , 'target': │ │ │ └ () │ │ └ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\_subprocess.py", line 80, in subprocess_started target(sockets=sockets) │ └ [] └ > File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\server.py", line 66, in run return asyncio.run(self.serve(sockets=sockets)) │ │ │ │ └ [] │ │ │ └ │ │ └ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\runners.py", line 44, in run return loop.run_until_complete(main) │ │ └ │ └ └ <_WindowsSelectorEventLoop running=True closed=False debug=False> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 633, in run_until_complete self.run_forever() │ └ └ <_WindowsSelectorEventLoop running=True closed=False debug=False> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 600, in run_forever self._run_once() │ └ └ <_WindowsSelectorEventLoop running=True closed=False debug=False> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 1896, in _run_once handle._run() │ └ >)> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\events.py", line 80, in _run self._context.run(self._callback, *self._args) │ │ │ │ │ └ │ │ │ │ └ >)> │ │ │ └ │ │ └ >)> │ └ >)> > File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\protocols\http\h11_impl.py", line 403, in run_asgi result = await app( # type: ignore[func-returns-value] └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\middleware\proxy_headers.py", line 60, in __call__ return await self.app(scope, receive, send) │ │ │ │ └ > │ │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\fastapi\applications.py", line 1054, in __call__ await super().__call__(scope, receive, send) │ │ └ > │ └ > │ │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\errors.py", line 187, in __call__ raise exc File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\errors.py", line 165, in __call__ await self.app(scope, receive, _send) │ │ │ │ └ ._send at 0x0000020F9772B1C0> │ │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\cors.py", line 85, in __call__ await self.app(scope, receive, send) │ │ │ │ └ ._send at 0x0000020F9772B1C0> │ │ │ └ , header_name='... └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\asgi_correlation_id\middleware.py", line 90, in __call__ await self.app(scope, receive, handle_outgoing_request) │ │ │ │ └ .handle_outgoing_request at 0x0000020F99486050> │ │ │ └ └ CorrelationIdMiddleware(app=, header_name='... File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\exceptions.py", line 62, in __call__ await wrap_app_handling_exceptions(self.app, conn)(scope, receive, send) │ │ │ │ │ │ └ .handle_outgoing_request at 0x0000020F99486050> │ │ │ │ │ └ │ │ └ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 53, in wrapped_app raise exc File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 42, in wrapped_app await app(scope, receive, sender) │ │ │ └ .wrapped_app..sender at 0x0000020F994867A0> │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 714, in __call__ await self.middleware_stack(scope, receive, send) │ │ │ │ └ .wrapped_app..sender at 0x0000020F994867A0> │ │ │ └ > └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 734, in app await route.handle(scope, receive, send) │ │ │ │ └ .wrapped_app..sender at 0x0000020F994867A0> │ │ │ └ └ APIRoute(path='/api/v1/trip/pick-up', name='pick_up_stop', methods=['POST']) File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 288, in handle await self.app(scope, receive, send) │ │ │ │ └ .wrapped_app..sender at 0x0000020F994867A0> │ │ │ └ .app at 0x0000020FEA5C4C10> └ APIRoute(path='/api/v1/trip/pick-up', name='pick_up_stop', methods=['POST']) File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 76, in app await wrap_app_handling_exceptions(app, request)(scope, receive, send) │ │ │ │ │ └ .wrapped_app..sender at 0x0000020F994867A0> │ │ │ │ └ │ └ .app..app at 0x0000020F99486950> └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 53, in wrapped_app raise exc File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 42, in wrapped_app await app(scope, receive, sender) │ │ │ └ .wrapped_app..sender at 0x0000020F994870A0> │ │ └ .app..app at 0x0000020F99486950> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 73, in app response = await f(request) │ └ .app at 0x0000020FEA5C4B80> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\fastapi\routing.py", line 301, in app raw_response = await run_endpoint_function( └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\fastapi\routing.py", line 212, in run_endpoint_function return await dependant.call(**values) │ │ └ {'service': , 'request': └ Dependant(path_params=[], query_params=[], header_params=[], cookie_params=[], body_params=[], dependencies=[Dependant(path_p... File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\dependency_injector\wiring.py", line 1072, in _patched return await fn(*args, **kwargs) │ │ └ {'service': , 'request': File "C:\University-HCMUTE\InternFuta\ApiDialogflowChatbot\app\api\v1\trip.py", line 165, in pick_up_stop route_id=data.trip_data.route_id, way_id=data.trip_data.way_id │ │ │ └ None │ │ └ TripSelectionRequest(trip_data=None) │ └ None └ TripSelectionRequest(trip_data=None) AttributeError: 'NoneType' object has no attribute 'route_id' 2025-06-19 10:17:15.207 | ERROR | 92e39fa71d154d7c9bf778cd5a1b8c1d | Exception in ASGI application Traceback (most recent call last): File "", line 1, in File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\spawn.py", line 116, in spawn_main exitcode = _main(fd, parent_sentinel) │ │ └ 336 │ └ 3 └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\spawn.py", line 129, in _main return self._bootstrap(parent_sentinel) │ │ └ 336 │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\process.py", line 315, in _bootstrap self.run() │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\process.py", line 108, in run self._target(*self._args, **self._kwargs) │ │ │ │ │ └ {'config': , 'target': │ │ │ └ () │ │ └ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\_subprocess.py", line 80, in subprocess_started target(sockets=sockets) │ └ [] └ > File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\server.py", line 66, in run return asyncio.run(self.serve(sockets=sockets)) │ │ │ │ └ [] │ │ │ └ │ │ └ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\runners.py", line 44, in run return loop.run_until_complete(main) │ │ └ │ └ └ <_WindowsSelectorEventLoop running=True closed=False debug=False> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 633, in run_until_complete self.run_forever() │ └ └ <_WindowsSelectorEventLoop running=True closed=False debug=False> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 600, in run_forever self._run_once() │ └ └ <_WindowsSelectorEventLoop running=True closed=False debug=False> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 1896, in _run_once handle._run() │ └ >)> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\events.py", line 80, in _run self._context.run(self._callback, *self._args) │ │ │ │ │ └ │ │ │ │ └ >)> │ │ │ └ │ │ └ >)> │ └ >)> > File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\protocols\http\h11_impl.py", line 403, in run_asgi result = await app( # type: ignore[func-returns-value] └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\middleware\proxy_headers.py", line 60, in __call__ return await self.app(scope, receive, send) │ │ │ │ └ > │ │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\fastapi\applications.py", line 1054, in __call__ await super().__call__(scope, receive, send) │ │ └ > │ └ > │ │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\errors.py", line 187, in __call__ raise exc File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\errors.py", line 165, in __call__ await self.app(scope, receive, _send) │ │ │ │ └ ._send at 0x0000020F99486D40> │ │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\cors.py", line 85, in __call__ await self.app(scope, receive, send) │ │ │ │ └ ._send at 0x0000020F99486D40> │ │ │ └ , header_name='... └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\asgi_correlation_id\middleware.py", line 90, in __call__ await self.app(scope, receive, handle_outgoing_request) │ │ │ │ └ .handle_outgoing_request at 0x0000020F99486320> │ │ │ └ └ CorrelationIdMiddleware(app=, header_name='... File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\exceptions.py", line 62, in __call__ await wrap_app_handling_exceptions(self.app, conn)(scope, receive, send) │ │ │ │ │ │ └ .handle_outgoing_request at 0x0000020F99486320> │ │ │ │ │ └ │ │ └ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 53, in wrapped_app raise exc File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 42, in wrapped_app await app(scope, receive, sender) │ │ │ └ .wrapped_app..sender at 0x0000020F99486B90> │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 714, in __call__ await self.middleware_stack(scope, receive, send) │ │ │ │ └ .wrapped_app..sender at 0x0000020F99486B90> │ │ │ └ > └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 734, in app await route.handle(scope, receive, send) │ │ │ │ └ .wrapped_app..sender at 0x0000020F99486B90> │ │ │ └ └ APIRoute(path='/api/v1/trip/pick-up', name='pick_up_stop', methods=['POST']) File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 288, in handle await self.app(scope, receive, send) │ │ │ │ └ .wrapped_app..sender at 0x0000020F99486B90> │ │ │ └ .app at 0x0000020FEA5C4C10> └ APIRoute(path='/api/v1/trip/pick-up', name='pick_up_stop', methods=['POST']) File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 76, in app await wrap_app_handling_exceptions(app, request)(scope, receive, send) │ │ │ │ │ └ .wrapped_app..sender at 0x0000020F99486B90> │ │ │ │ └ │ └ .app..app at 0x0000020F99486B00> └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 53, in wrapped_app raise exc File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 42, in wrapped_app await app(scope, receive, sender) │ │ │ └ .wrapped_app..sender at 0x0000020F99486440> │ │ └ .app..app at 0x0000020F99486B00> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 73, in app response = await f(request) │ └ .app at 0x0000020FEA5C4B80> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\fastapi\routing.py", line 301, in app raw_response = await run_endpoint_function( └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\fastapi\routing.py", line 212, in run_endpoint_function return await dependant.call(**values) │ │ └ {'service': , 'request': └ Dependant(path_params=[], query_params=[], header_params=[], cookie_params=[], body_params=[], dependencies=[Dependant(path_p... File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\dependency_injector\wiring.py", line 1072, in _patched return await fn(*args, **kwargs) │ │ └ {'service': , 'request': File "C:\University-HCMUTE\InternFuta\ApiDialogflowChatbot\app\api\v1\trip.py", line 165, in pick_up_stop route_id=data.trip_data.route_id, way_id=data.trip_data.way_id │ │ │ └ None │ │ └ TripSelectionRequest(trip_data=None) │ └ None └ TripSelectionRequest(trip_data=None) AttributeError: 'NoneType' object has no attribute 'route_id' 2025-06-19 10:17:15.729 | ERROR | b94769c2e76d498598e3c384220e7320 | Invalid role for stop selection: pick_up 2025-06-19 10:17:16.424 | ERROR | 32a0b959a3824ad9bb17c11e1c95e864 | Exception in ASGI application Traceback (most recent call last): File "", line 1, in File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\spawn.py", line 116, in spawn_main exitcode = _main(fd, parent_sentinel) │ │ └ 336 │ └ 3 └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\spawn.py", line 129, in _main return self._bootstrap(parent_sentinel) │ │ └ 336 │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\process.py", line 315, in _bootstrap self.run() │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\process.py", line 108, in run self._target(*self._args, **self._kwargs) │ │ │ │ │ └ {'config': , 'target': │ │ │ └ () │ │ └ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\_subprocess.py", line 80, in subprocess_started target(sockets=sockets) │ └ [] └ > File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\server.py", line 66, in run return asyncio.run(self.serve(sockets=sockets)) │ │ │ │ └ [] │ │ │ └ │ │ └ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\runners.py", line 44, in run return loop.run_until_complete(main) │ │ └ │ └ └ <_WindowsSelectorEventLoop running=True closed=False debug=False> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 633, in run_until_complete self.run_forever() │ └ └ <_WindowsSelectorEventLoop running=True closed=False debug=False> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 600, in run_forever self._run_once() │ └ └ <_WindowsSelectorEventLoop running=True closed=False debug=False> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 1896, in _run_once handle._run() │ └ >)> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\events.py", line 80, in _run self._context.run(self._callback, *self._args) │ │ │ │ │ └ │ │ │ │ └ >)> │ │ │ └ │ │ └ >)> │ └ >)> > File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\protocols\http\h11_impl.py", line 403, in run_asgi result = await app( # type: ignore[func-returns-value] └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\middleware\proxy_headers.py", line 60, in __call__ return await self.app(scope, receive, send) │ │ │ │ └ > │ │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\fastapi\applications.py", line 1054, in __call__ await super().__call__(scope, receive, send) │ │ └ > │ └ > │ │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\errors.py", line 187, in __call__ raise exc File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\errors.py", line 165, in __call__ await self.app(scope, receive, _send) │ │ │ │ └ ._send at 0x0000020F9772AEF0> │ │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\cors.py", line 85, in __call__ await self.app(scope, receive, send) │ │ │ │ └ ._send at 0x0000020F9772AEF0> │ │ │ └ , header_name='... └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\asgi_correlation_id\middleware.py", line 90, in __call__ await self.app(scope, receive, handle_outgoing_request) │ │ │ │ └ .handle_outgoing_request at 0x0000020F9772B910> │ │ │ └ └ CorrelationIdMiddleware(app=, header_name='... File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\exceptions.py", line 62, in __call__ await wrap_app_handling_exceptions(self.app, conn)(scope, receive, send) │ │ │ │ │ │ └ .handle_outgoing_request at 0x0000020F9772B910> │ │ │ │ │ └ │ │ └ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 53, in wrapped_app raise exc File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 42, in wrapped_app await app(scope, receive, sender) │ │ │ └ .wrapped_app..sender at 0x0000020F9772B130> │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 714, in __call__ await self.middleware_stack(scope, receive, send) │ │ │ │ └ .wrapped_app..sender at 0x0000020F9772B130> │ │ │ └ > └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 734, in app await route.handle(scope, receive, send) │ │ │ │ └ .wrapped_app..sender at 0x0000020F9772B130> │ │ │ └ └ APIRoute(path='/api/v1/trip/pick-up', name='pick_up_stop', methods=['POST']) File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 288, in handle await self.app(scope, receive, send) │ │ │ │ └ .wrapped_app..sender at 0x0000020F9772B130> │ │ │ └ .app at 0x0000020FEA5C4C10> └ APIRoute(path='/api/v1/trip/pick-up', name='pick_up_stop', methods=['POST']) File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 76, in app await wrap_app_handling_exceptions(app, request)(scope, receive, send) │ │ │ │ │ └ .wrapped_app..sender at 0x0000020F9772B130> │ │ │ │ └ │ └ .app..app at 0x0000020F9772B010> └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 53, in wrapped_app raise exc File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 42, in wrapped_app await app(scope, receive, sender) │ │ │ └ .wrapped_app..sender at 0x0000020F99485FC0> │ │ └ .app..app at 0x0000020F9772B010> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 73, in app response = await f(request) │ └ .app at 0x0000020FEA5C4B80> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\fastapi\routing.py", line 301, in app raw_response = await run_endpoint_function( └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\fastapi\routing.py", line 212, in run_endpoint_function return await dependant.call(**values) │ │ └ {'service': , 'request': └ Dependant(path_params=[], query_params=[], header_params=[], cookie_params=[], body_params=[], dependencies=[Dependant(path_p... File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\dependency_injector\wiring.py", line 1072, in _patched return await fn(*args, **kwargs) │ │ └ {'service': , 'request': File "C:\University-HCMUTE\InternFuta\ApiDialogflowChatbot\app\api\v1\trip.py", line 165, in pick_up_stop route_id=data.trip_data.route_id, way_id=data.trip_data.way_id │ │ │ └ None │ │ └ TripSelectionRequest(trip_data=None) │ └ None └ TripSelectionRequest(trip_data=None) AttributeError: 'NoneType' object has no attribute 'route_id' 2025-06-19 10:17:17.035 | ERROR | 5be3b7cfe24048d8afb9a6de6bb7f367 | Exception in ASGI application Traceback (most recent call last): File "", line 1, in File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\spawn.py", line 116, in spawn_main exitcode = _main(fd, parent_sentinel) │ │ └ 336 │ └ 3 └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\spawn.py", line 129, in _main return self._bootstrap(parent_sentinel) │ │ └ 336 │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\process.py", line 315, in _bootstrap self.run() │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\process.py", line 108, in run self._target(*self._args, **self._kwargs) │ │ │ │ │ └ {'config': , 'target': │ │ │ └ () │ │ └ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\_subprocess.py", line 80, in subprocess_started target(sockets=sockets) │ └ [] └ > File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\server.py", line 66, in run return asyncio.run(self.serve(sockets=sockets)) │ │ │ │ └ [] │ │ │ └ │ │ └ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\runners.py", line 44, in run return loop.run_until_complete(main) │ │ └ │ └ └ <_WindowsSelectorEventLoop running=True closed=False debug=False> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 633, in run_until_complete self.run_forever() │ └ └ <_WindowsSelectorEventLoop running=True closed=False debug=False> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 600, in run_forever self._run_once() │ └ └ <_WindowsSelectorEventLoop running=True closed=False debug=False> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 1896, in _run_once handle._run() │ └ >)> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\events.py", line 80, in _run self._context.run(self._callback, *self._args) │ │ │ │ │ └ │ │ │ │ └ >)> │ │ │ └ │ │ └ >)> │ └ >)> > File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\protocols\http\h11_impl.py", line 403, in run_asgi result = await app( # type: ignore[func-returns-value] └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\middleware\proxy_headers.py", line 60, in __call__ return await self.app(scope, receive, send) │ │ │ │ └ > │ │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\fastapi\applications.py", line 1054, in __call__ await super().__call__(scope, receive, send) │ │ └ > │ └ > │ │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\errors.py", line 187, in __call__ raise exc File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\errors.py", line 165, in __call__ await self.app(scope, receive, _send) │ │ │ │ └ ._send at 0x0000020F99487130> │ │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\cors.py", line 85, in __call__ await self.app(scope, receive, send) │ │ │ │ └ ._send at 0x0000020F99487130> │ │ │ └ , header_name='... └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\asgi_correlation_id\middleware.py", line 90, in __call__ await self.app(scope, receive, handle_outgoing_request) │ │ │ │ └ .handle_outgoing_request at 0x0000020F994870A0> │ │ │ └ └ CorrelationIdMiddleware(app=, header_name='... File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\exceptions.py", line 62, in __call__ await wrap_app_handling_exceptions(self.app, conn)(scope, receive, send) │ │ │ │ │ │ └ .handle_outgoing_request at 0x0000020F994870A0> │ │ │ │ │ └ │ │ └ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 53, in wrapped_app raise exc File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 42, in wrapped_app await app(scope, receive, sender) │ │ │ └ .wrapped_app..sender at 0x0000020F99486050> │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 714, in __call__ await self.middleware_stack(scope, receive, send) │ │ │ │ └ .wrapped_app..sender at 0x0000020F99486050> │ │ │ └ > └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 734, in app await route.handle(scope, receive, send) │ │ │ │ └ .wrapped_app..sender at 0x0000020F99486050> │ │ │ └ └ APIRoute(path='/api/v1/trip/pick-up', name='pick_up_stop', methods=['POST']) File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 288, in handle await self.app(scope, receive, send) │ │ │ │ └ .wrapped_app..sender at 0x0000020F99486050> │ │ │ └ .app at 0x0000020FEA5C4C10> └ APIRoute(path='/api/v1/trip/pick-up', name='pick_up_stop', methods=['POST']) File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 76, in app await wrap_app_handling_exceptions(app, request)(scope, receive, send) │ │ │ │ │ └ .wrapped_app..sender at 0x0000020F99486050> │ │ │ │ └ │ └ .app..app at 0x0000020F99486950> └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 53, in wrapped_app raise exc File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 42, in wrapped_app await app(scope, receive, sender) │ │ │ └ .wrapped_app..sender at 0x0000020F99486C20> │ │ └ .app..app at 0x0000020F99486950> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 73, in app response = await f(request) │ └ .app at 0x0000020FEA5C4B80> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\fastapi\routing.py", line 301, in app raw_response = await run_endpoint_function( └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\fastapi\routing.py", line 212, in run_endpoint_function return await dependant.call(**values) │ │ └ {'service': , 'request': └ Dependant(path_params=[], query_params=[], header_params=[], cookie_params=[], body_params=[], dependencies=[Dependant(path_p... File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\dependency_injector\wiring.py", line 1072, in _patched return await fn(*args, **kwargs) │ │ └ {'service': , 'request': File "C:\University-HCMUTE\InternFuta\ApiDialogflowChatbot\app\api\v1\trip.py", line 165, in pick_up_stop route_id=data.trip_data.route_id, way_id=data.trip_data.way_id │ │ │ └ None │ │ └ TripSelectionRequest(trip_data=None) │ └ None └ TripSelectionRequest(trip_data=None) AttributeError: 'NoneType' object has no attribute 'route_id' 2025-06-19 10:17:17.358 | ERROR | ec51fe2ec9bc4b2d861bbad6e2d80d6e | Invalid role for stop selection: pick_up 2025-06-19 10:17:17.978 | ERROR | 63dd50852682470d8f5eb413b4a4bfa4 | Exception in ASGI application Traceback (most recent call last): File "", line 1, in File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\spawn.py", line 116, in spawn_main exitcode = _main(fd, parent_sentinel) │ │ └ 336 │ └ 3 └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\spawn.py", line 129, in _main return self._bootstrap(parent_sentinel) │ │ └ 336 │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\process.py", line 315, in _bootstrap self.run() │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\process.py", line 108, in run self._target(*self._args, **self._kwargs) │ │ │ │ │ └ {'config': , 'target': │ │ │ └ () │ │ └ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\_subprocess.py", line 80, in subprocess_started target(sockets=sockets) │ └ [] └ > File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\server.py", line 66, in run return asyncio.run(self.serve(sockets=sockets)) │ │ │ │ └ [] │ │ │ └ │ │ └ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\runners.py", line 44, in run return loop.run_until_complete(main) │ │ └ │ └ └ <_WindowsSelectorEventLoop running=True closed=False debug=False> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 633, in run_until_complete self.run_forever() │ └ └ <_WindowsSelectorEventLoop running=True closed=False debug=False> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 600, in run_forever self._run_once() │ └ └ <_WindowsSelectorEventLoop running=True closed=False debug=False> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 1896, in _run_once handle._run() │ └ >)> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\events.py", line 80, in _run self._context.run(self._callback, *self._args) │ │ │ │ │ └ │ │ │ │ └ >)> │ │ │ └ │ │ └ >)> │ └ >)> > File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\protocols\http\h11_impl.py", line 403, in run_asgi result = await app( # type: ignore[func-returns-value] └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\middleware\proxy_headers.py", line 60, in __call__ return await self.app(scope, receive, send) │ │ │ │ └ > │ │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\fastapi\applications.py", line 1054, in __call__ await super().__call__(scope, receive, send) │ │ └ > │ └ > │ │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\errors.py", line 187, in __call__ raise exc File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\errors.py", line 165, in __call__ await self.app(scope, receive, _send) │ │ │ │ └ ._send at 0x0000020F9772B9A0> │ │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\cors.py", line 85, in __call__ await self.app(scope, receive, send) │ │ │ │ └ ._send at 0x0000020F9772B9A0> │ │ │ └ , header_name='... └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\asgi_correlation_id\middleware.py", line 90, in __call__ await self.app(scope, receive, handle_outgoing_request) │ │ │ │ └ .handle_outgoing_request at 0x0000020F994871C0> │ │ │ └ └ CorrelationIdMiddleware(app=, header_name='... File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\exceptions.py", line 62, in __call__ await wrap_app_handling_exceptions(self.app, conn)(scope, receive, send) │ │ │ │ │ │ └ .handle_outgoing_request at 0x0000020F994871C0> │ │ │ │ │ └ │ │ └ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 53, in wrapped_app raise exc File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 42, in wrapped_app await app(scope, receive, sender) │ │ │ └ .wrapped_app..sender at 0x0000020F99486680> │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 714, in __call__ await self.middleware_stack(scope, receive, send) │ │ │ │ └ .wrapped_app..sender at 0x0000020F99486680> │ │ │ └ > └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 734, in app await route.handle(scope, receive, send) │ │ │ │ └ .wrapped_app..sender at 0x0000020F99486680> │ │ │ └ └ APIRoute(path='/api/v1/trip/pick-up', name='pick_up_stop', methods=['POST']) File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 288, in handle await self.app(scope, receive, send) │ │ │ │ └ .wrapped_app..sender at 0x0000020F99486680> │ │ │ └ .app at 0x0000020FEA5C4C10> └ APIRoute(path='/api/v1/trip/pick-up', name='pick_up_stop', methods=['POST']) File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 76, in app await wrap_app_handling_exceptions(app, request)(scope, receive, send) │ │ │ │ │ └ .wrapped_app..sender at 0x0000020F99486680> │ │ │ │ └ │ └ .app..app at 0x0000020F99485F30> └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 53, in wrapped_app raise exc File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 42, in wrapped_app await app(scope, receive, sender) │ │ │ └ .wrapped_app..sender at 0x0000020F99486290> │ │ └ .app..app at 0x0000020F99485F30> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 73, in app response = await f(request) │ └ .app at 0x0000020FEA5C4B80> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\fastapi\routing.py", line 301, in app raw_response = await run_endpoint_function( └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\fastapi\routing.py", line 212, in run_endpoint_function return await dependant.call(**values) │ │ └ {'service': , 'request': └ Dependant(path_params=[], query_params=[], header_params=[], cookie_params=[], body_params=[], dependencies=[Dependant(path_p... File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\dependency_injector\wiring.py", line 1072, in _patched return await fn(*args, **kwargs) │ │ └ {'service': , 'request': File "C:\University-HCMUTE\InternFuta\ApiDialogflowChatbot\app\api\v1\trip.py", line 165, in pick_up_stop route_id=data.trip_data.route_id, way_id=data.trip_data.way_id │ │ │ └ None │ │ └ TripSelectionRequest(trip_data=None) │ └ None └ TripSelectionRequest(trip_data=None) AttributeError: 'NoneType' object has no attribute 'route_id' 2025-06-19 10:17:18.545 | ERROR | 9babd5d42baa42b69157b6361b919c2d | Exception in ASGI application Traceback (most recent call last): File "", line 1, in File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\spawn.py", line 116, in spawn_main exitcode = _main(fd, parent_sentinel) │ │ └ 336 │ └ 3 └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\spawn.py", line 129, in _main return self._bootstrap(parent_sentinel) │ │ └ 336 │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\process.py", line 315, in _bootstrap self.run() │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\process.py", line 108, in run self._target(*self._args, **self._kwargs) │ │ │ │ │ └ {'config': , 'target': │ │ │ └ () │ │ └ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\_subprocess.py", line 80, in subprocess_started target(sockets=sockets) │ └ [] └ > File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\server.py", line 66, in run return asyncio.run(self.serve(sockets=sockets)) │ │ │ │ └ [] │ │ │ └ │ │ └ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\runners.py", line 44, in run return loop.run_until_complete(main) │ │ └ │ └ └ <_WindowsSelectorEventLoop running=True closed=False debug=False> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 633, in run_until_complete self.run_forever() │ └ └ <_WindowsSelectorEventLoop running=True closed=False debug=False> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 600, in run_forever self._run_once() │ └ └ <_WindowsSelectorEventLoop running=True closed=False debug=False> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 1896, in _run_once handle._run() │ └ >)> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\events.py", line 80, in _run self._context.run(self._callback, *self._args) │ │ │ │ │ └ │ │ │ │ └ >)> │ │ │ └ │ │ └ >)> │ └ >)> > File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\protocols\http\h11_impl.py", line 403, in run_asgi result = await app( # type: ignore[func-returns-value] └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\middleware\proxy_headers.py", line 60, in __call__ return await self.app(scope, receive, send) │ │ │ │ └ > │ │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\fastapi\applications.py", line 1054, in __call__ await super().__call__(scope, receive, send) │ │ └ > │ └ > │ │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\errors.py", line 187, in __call__ raise exc File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\errors.py", line 165, in __call__ await self.app(scope, receive, _send) │ │ │ │ └ ._send at 0x0000020F99486CB0> │ │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\cors.py", line 85, in __call__ await self.app(scope, receive, send) │ │ │ │ └ ._send at 0x0000020F99486CB0> │ │ │ └ , header_name='... └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\asgi_correlation_id\middleware.py", line 90, in __call__ await self.app(scope, receive, handle_outgoing_request) │ │ │ │ └ .handle_outgoing_request at 0x0000020F99486A70> │ │ │ └ └ CorrelationIdMiddleware(app=, header_name='... File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\exceptions.py", line 62, in __call__ await wrap_app_handling_exceptions(self.app, conn)(scope, receive, send) │ │ │ │ │ │ └ .handle_outgoing_request at 0x0000020F99486A70> │ │ │ │ │ └ │ │ └ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 53, in wrapped_app raise exc File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 42, in wrapped_app await app(scope, receive, sender) │ │ │ └ .wrapped_app..sender at 0x0000020F99486560> │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 714, in __call__ await self.middleware_stack(scope, receive, send) │ │ │ │ └ .wrapped_app..sender at 0x0000020F99486560> │ │ │ └ > └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 734, in app await route.handle(scope, receive, send) │ │ │ │ └ .wrapped_app..sender at 0x0000020F99486560> │ │ │ └ └ APIRoute(path='/api/v1/trip/pick-up', name='pick_up_stop', methods=['POST']) File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 288, in handle await self.app(scope, receive, send) │ │ │ │ └ .wrapped_app..sender at 0x0000020F99486560> │ │ │ └ .app at 0x0000020FEA5C4C10> └ APIRoute(path='/api/v1/trip/pick-up', name='pick_up_stop', methods=['POST']) File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 76, in app await wrap_app_handling_exceptions(app, request)(scope, receive, send) │ │ │ │ │ └ .wrapped_app..sender at 0x0000020F99486560> │ │ │ │ └ │ └ .app..app at 0x0000020F99487370> └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 53, in wrapped_app raise exc File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 42, in wrapped_app await app(scope, receive, sender) │ │ │ └ .wrapped_app..sender at 0x0000020F994867A0> │ │ └ .app..app at 0x0000020F99487370> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 73, in app response = await f(request) │ └ .app at 0x0000020FEA5C4B80> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\fastapi\routing.py", line 301, in app raw_response = await run_endpoint_function( └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\fastapi\routing.py", line 212, in run_endpoint_function return await dependant.call(**values) │ │ └ {'service': , 'request': └ Dependant(path_params=[], query_params=[], header_params=[], cookie_params=[], body_params=[], dependencies=[Dependant(path_p... File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\dependency_injector\wiring.py", line 1072, in _patched return await fn(*args, **kwargs) │ │ └ {'service': , 'request': File "C:\University-HCMUTE\InternFuta\ApiDialogflowChatbot\app\api\v1\trip.py", line 165, in pick_up_stop route_id=data.trip_data.route_id, way_id=data.trip_data.way_id │ │ │ └ None │ │ └ TripSelectionRequest(trip_data=None) │ └ None └ TripSelectionRequest(trip_data=None) AttributeError: 'NoneType' object has no attribute 'route_id' 2025-06-19 10:17:19.058 | ERROR | fa2d80e38be9480a9be39c377ad8ef2b | Invalid role for stop selection: pick_up 2025-06-19 10:17:19.408 | ERROR | 5c6a3c0fc5dd409f91581013cf8fd2fa | Exception in ASGI application Traceback (most recent call last): File "", line 1, in File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\spawn.py", line 116, in spawn_main exitcode = _main(fd, parent_sentinel) │ │ └ 336 │ └ 3 └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\spawn.py", line 129, in _main return self._bootstrap(parent_sentinel) │ │ └ 336 │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\process.py", line 315, in _bootstrap self.run() │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\process.py", line 108, in run self._target(*self._args, **self._kwargs) │ │ │ │ │ └ {'config': , 'target': │ │ │ └ () │ │ └ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\_subprocess.py", line 80, in subprocess_started target(sockets=sockets) │ └ [] └ > File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\server.py", line 66, in run return asyncio.run(self.serve(sockets=sockets)) │ │ │ │ └ [] │ │ │ └ │ │ └ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\runners.py", line 44, in run return loop.run_until_complete(main) │ │ └ │ └ └ <_WindowsSelectorEventLoop running=True closed=False debug=False> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 633, in run_until_complete self.run_forever() │ └ └ <_WindowsSelectorEventLoop running=True closed=False debug=False> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 600, in run_forever self._run_once() │ └ └ <_WindowsSelectorEventLoop running=True closed=False debug=False> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 1896, in _run_once handle._run() │ └ >)> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\events.py", line 80, in _run self._context.run(self._callback, *self._args) │ │ │ │ │ └ │ │ │ │ └ >)> │ │ │ └ │ │ └ >)> │ └ >)> > File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\protocols\http\h11_impl.py", line 403, in run_asgi result = await app( # type: ignore[func-returns-value] └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\middleware\proxy_headers.py", line 60, in __call__ return await self.app(scope, receive, send) │ │ │ │ └ > │ │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\fastapi\applications.py", line 1054, in __call__ await super().__call__(scope, receive, send) │ │ └ > │ └ > │ │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\errors.py", line 187, in __call__ raise exc File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\errors.py", line 165, in __call__ await self.app(scope, receive, _send) │ │ │ │ └ ._send at 0x0000020F9772B010> │ │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\cors.py", line 85, in __call__ await self.app(scope, receive, send) │ │ │ │ └ ._send at 0x0000020F9772B010> │ │ │ └ , header_name='... └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\asgi_correlation_id\middleware.py", line 90, in __call__ await self.app(scope, receive, handle_outgoing_request) │ │ │ │ └ .handle_outgoing_request at 0x0000020F9772AEF0> │ │ │ └ └ CorrelationIdMiddleware(app=, header_name='... File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\exceptions.py", line 62, in __call__ await wrap_app_handling_exceptions(self.app, conn)(scope, receive, send) │ │ │ │ │ │ └ .handle_outgoing_request at 0x0000020F9772AEF0> │ │ │ │ │ └ │ │ └ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 53, in wrapped_app raise exc File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 42, in wrapped_app await app(scope, receive, sender) │ │ │ └ .wrapped_app..sender at 0x0000020F9772B9A0> │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 714, in __call__ await self.middleware_stack(scope, receive, send) │ │ │ │ └ .wrapped_app..sender at 0x0000020F9772B9A0> │ │ │ └ > └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 734, in app await route.handle(scope, receive, send) │ │ │ │ └ .wrapped_app..sender at 0x0000020F9772B9A0> │ │ │ └ └ APIRoute(path='/api/v1/trip/pick-up', name='pick_up_stop', methods=['POST']) File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 288, in handle await self.app(scope, receive, send) │ │ │ │ └ .wrapped_app..sender at 0x0000020F9772B9A0> │ │ │ └ .app at 0x0000020FEA5C4C10> └ APIRoute(path='/api/v1/trip/pick-up', name='pick_up_stop', methods=['POST']) File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 76, in app await wrap_app_handling_exceptions(app, request)(scope, receive, send) │ │ │ │ │ └ .wrapped_app..sender at 0x0000020F9772B9A0> │ │ │ │ └ │ └ .app..app at 0x0000020F9772B130> └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 53, in wrapped_app raise exc File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 42, in wrapped_app await app(scope, receive, sender) │ │ │ └ .wrapped_app..sender at 0x0000020F9772ADD0> │ │ └ .app..app at 0x0000020F9772B130> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 73, in app response = await f(request) │ └ .app at 0x0000020FEA5C4B80> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\fastapi\routing.py", line 301, in app raw_response = await run_endpoint_function( └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\fastapi\routing.py", line 212, in run_endpoint_function return await dependant.call(**values) │ │ └ {'service': , 'request': └ Dependant(path_params=[], query_params=[], header_params=[], cookie_params=[], body_params=[], dependencies=[Dependant(path_p... File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\dependency_injector\wiring.py", line 1072, in _patched return await fn(*args, **kwargs) │ │ └ {'service': , 'request': File "C:\University-HCMUTE\InternFuta\ApiDialogflowChatbot\app\api\v1\trip.py", line 165, in pick_up_stop route_id=data.trip_data.route_id, way_id=data.trip_data.way_id │ │ │ └ None │ │ └ TripSelectionRequest(trip_data=None) │ └ None └ TripSelectionRequest(trip_data=None) AttributeError: 'NoneType' object has no attribute 'route_id' 2025-06-19 10:17:19.894 | ERROR | b9a741928c4c48d0856ae270f5849c07 | Exception in ASGI application Traceback (most recent call last): File "", line 1, in File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\spawn.py", line 116, in spawn_main exitcode = _main(fd, parent_sentinel) │ │ └ 336 │ └ 3 └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\spawn.py", line 129, in _main return self._bootstrap(parent_sentinel) │ │ └ 336 │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\process.py", line 315, in _bootstrap self.run() │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\process.py", line 108, in run self._target(*self._args, **self._kwargs) │ │ │ │ │ └ {'config': , 'target': │ │ │ └ () │ │ └ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\_subprocess.py", line 80, in subprocess_started target(sockets=sockets) │ └ [] └ > File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\server.py", line 66, in run return asyncio.run(self.serve(sockets=sockets)) │ │ │ │ └ [] │ │ │ └ │ │ └ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\runners.py", line 44, in run return loop.run_until_complete(main) │ │ └ │ └ └ <_WindowsSelectorEventLoop running=True closed=False debug=False> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 633, in run_until_complete self.run_forever() │ └ └ <_WindowsSelectorEventLoop running=True closed=False debug=False> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 600, in run_forever self._run_once() │ └ └ <_WindowsSelectorEventLoop running=True closed=False debug=False> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 1896, in _run_once handle._run() │ └ >)> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\events.py", line 80, in _run self._context.run(self._callback, *self._args) │ │ │ │ │ └ │ │ │ │ └ >)> │ │ │ └ │ │ └ >)> │ └ >)> > File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\protocols\http\h11_impl.py", line 403, in run_asgi result = await app( # type: ignore[func-returns-value] └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\middleware\proxy_headers.py", line 60, in __call__ return await self.app(scope, receive, send) │ │ │ │ └ > │ │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\fastapi\applications.py", line 1054, in __call__ await super().__call__(scope, receive, send) │ │ └ > │ └ > │ │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\errors.py", line 187, in __call__ raise exc File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\errors.py", line 165, in __call__ await self.app(scope, receive, _send) │ │ │ │ └ ._send at 0x0000020F994871C0> │ │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\cors.py", line 85, in __call__ await self.app(scope, receive, send) │ │ │ │ └ ._send at 0x0000020F994871C0> │ │ │ └ , header_name='... └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\asgi_correlation_id\middleware.py", line 90, in __call__ await self.app(scope, receive, handle_outgoing_request) │ │ │ │ └ .handle_outgoing_request at 0x0000020F99486830> │ │ │ └ └ CorrelationIdMiddleware(app=, header_name='... File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\exceptions.py", line 62, in __call__ await wrap_app_handling_exceptions(self.app, conn)(scope, receive, send) │ │ │ │ │ │ └ .handle_outgoing_request at 0x0000020F99486830> │ │ │ │ │ └ │ │ └ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 53, in wrapped_app raise exc File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 42, in wrapped_app await app(scope, receive, sender) │ │ │ └ .wrapped_app..sender at 0x0000020F99486680> │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 714, in __call__ await self.middleware_stack(scope, receive, send) │ │ │ │ └ .wrapped_app..sender at 0x0000020F99486680> │ │ │ └ > └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 734, in app await route.handle(scope, receive, send) │ │ │ │ └ .wrapped_app..sender at 0x0000020F99486680> │ │ │ └ └ APIRoute(path='/api/v1/trip/pick-up', name='pick_up_stop', methods=['POST']) File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 288, in handle await self.app(scope, receive, send) │ │ │ │ └ .wrapped_app..sender at 0x0000020F99486680> │ │ │ └ .app at 0x0000020FEA5C4C10> └ APIRoute(path='/api/v1/trip/pick-up', name='pick_up_stop', methods=['POST']) File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 76, in app await wrap_app_handling_exceptions(app, request)(scope, receive, send) │ │ │ │ │ └ .wrapped_app..sender at 0x0000020F99486680> │ │ │ │ └ │ └ .app..app at 0x0000020F99485F30> └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 53, in wrapped_app raise exc File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 42, in wrapped_app await app(scope, receive, sender) │ │ │ └ .wrapped_app..sender at 0x0000020F994869E0> │ │ └ .app..app at 0x0000020F99485F30> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 73, in app response = await f(request) │ └ .app at 0x0000020FEA5C4B80> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\fastapi\routing.py", line 301, in app raw_response = await run_endpoint_function( └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\fastapi\routing.py", line 212, in run_endpoint_function return await dependant.call(**values) │ │ └ {'service': , 'request': └ Dependant(path_params=[], query_params=[], header_params=[], cookie_params=[], body_params=[], dependencies=[Dependant(path_p... File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\dependency_injector\wiring.py", line 1072, in _patched return await fn(*args, **kwargs) │ │ └ {'service': , 'request': File "C:\University-HCMUTE\InternFuta\ApiDialogflowChatbot\app\api\v1\trip.py", line 165, in pick_up_stop route_id=data.trip_data.route_id, way_id=data.trip_data.way_id │ │ │ └ None │ │ └ TripSelectionRequest(trip_data=None) │ └ None └ TripSelectionRequest(trip_data=None) AttributeError: 'NoneType' object has no attribute 'route_id' 2025-06-19 10:17:20.543 | ERROR | 7eef2c123db44367be0df9ab7c1003f1 | Invalid role for stop selection: pick_up 2025-06-19 10:17:21.149 | ERROR | 49e542d1a4ca4f379dcaf18b66992af7 | Exception in ASGI application Traceback (most recent call last): File "", line 1, in File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\spawn.py", line 116, in spawn_main exitcode = _main(fd, parent_sentinel) │ │ └ 336 │ └ 3 └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\spawn.py", line 129, in _main return self._bootstrap(parent_sentinel) │ │ └ 336 │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\process.py", line 315, in _bootstrap self.run() │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\process.py", line 108, in run self._target(*self._args, **self._kwargs) │ │ │ │ │ └ {'config': , 'target': │ │ │ └ () │ │ └ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\_subprocess.py", line 80, in subprocess_started target(sockets=sockets) │ └ [] └ > File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\server.py", line 66, in run return asyncio.run(self.serve(sockets=sockets)) │ │ │ │ └ [] │ │ │ └ │ │ └ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\runners.py", line 44, in run return loop.run_until_complete(main) │ │ └ │ └ └ <_WindowsSelectorEventLoop running=True closed=False debug=False> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 633, in run_until_complete self.run_forever() │ └ └ <_WindowsSelectorEventLoop running=True closed=False debug=False> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 600, in run_forever self._run_once() │ └ └ <_WindowsSelectorEventLoop running=True closed=False debug=False> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 1896, in _run_once handle._run() │ └ >)> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\events.py", line 80, in _run self._context.run(self._callback, *self._args) │ │ │ │ │ └ │ │ │ │ └ >)> │ │ │ └ │ │ └ >)> │ └ >)> > File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\protocols\http\h11_impl.py", line 403, in run_asgi result = await app( # type: ignore[func-returns-value] └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\middleware\proxy_headers.py", line 60, in __call__ return await self.app(scope, receive, send) │ │ │ │ └ > │ │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\fastapi\applications.py", line 1054, in __call__ await super().__call__(scope, receive, send) │ │ └ > │ └ > │ │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\errors.py", line 187, in __call__ raise exc File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\errors.py", line 165, in __call__ await self.app(scope, receive, _send) │ │ │ │ └ ._send at 0x0000020F99486C20> │ │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\cors.py", line 85, in __call__ await self.app(scope, receive, send) │ │ │ │ └ ._send at 0x0000020F99486C20> │ │ │ └ , header_name='... └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\asgi_correlation_id\middleware.py", line 90, in __call__ await self.app(scope, receive, handle_outgoing_request) │ │ │ │ └ .handle_outgoing_request at 0x0000020F994870A0> │ │ │ └ └ CorrelationIdMiddleware(app=, header_name='... File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\exceptions.py", line 62, in __call__ await wrap_app_handling_exceptions(self.app, conn)(scope, receive, send) │ │ │ │ │ │ └ .handle_outgoing_request at 0x0000020F994870A0> │ │ │ │ │ └ │ │ └ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 53, in wrapped_app raise exc File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 42, in wrapped_app await app(scope, receive, sender) │ │ │ └ .wrapped_app..sender at 0x0000020F99486050> │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 714, in __call__ await self.middleware_stack(scope, receive, send) │ │ │ │ └ .wrapped_app..sender at 0x0000020F99486050> │ │ │ └ > └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 734, in app await route.handle(scope, receive, send) │ │ │ │ └ .wrapped_app..sender at 0x0000020F99486050> │ │ │ └ └ APIRoute(path='/api/v1/trip/pick-up', name='pick_up_stop', methods=['POST']) File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 288, in handle await self.app(scope, receive, send) │ │ │ │ └ .wrapped_app..sender at 0x0000020F99486050> │ │ │ └ .app at 0x0000020FEA5C4C10> └ APIRoute(path='/api/v1/trip/pick-up', name='pick_up_stop', methods=['POST']) File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 76, in app await wrap_app_handling_exceptions(app, request)(scope, receive, send) │ │ │ │ │ └ .wrapped_app..sender at 0x0000020F99486050> │ │ │ │ └ │ └ .app..app at 0x0000020F99485EA0> └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 53, in wrapped_app raise exc File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 42, in wrapped_app await app(scope, receive, sender) │ │ │ └ .wrapped_app..sender at 0x0000020F994860E0> │ │ └ .app..app at 0x0000020F99485EA0> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 73, in app response = await f(request) │ └ .app at 0x0000020FEA5C4B80> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\fastapi\routing.py", line 301, in app raw_response = await run_endpoint_function( └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\fastapi\routing.py", line 212, in run_endpoint_function return await dependant.call(**values) │ │ └ {'service': , 'request': └ Dependant(path_params=[], query_params=[], header_params=[], cookie_params=[], body_params=[], dependencies=[Dependant(path_p... File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\dependency_injector\wiring.py", line 1072, in _patched return await fn(*args, **kwargs) │ │ └ {'service': , 'request': File "C:\University-HCMUTE\InternFuta\ApiDialogflowChatbot\app\api\v1\trip.py", line 165, in pick_up_stop route_id=data.trip_data.route_id, way_id=data.trip_data.way_id │ │ │ └ None │ │ └ TripSelectionRequest(trip_data=None) │ └ None └ TripSelectionRequest(trip_data=None) AttributeError: 'NoneType' object has no attribute 'route_id' 2025-06-19 10:17:21.633 | ERROR | e1bb07be74a243b0af6f6f0f29bc82e0 | Exception in ASGI application Traceback (most recent call last): File "", line 1, in File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\spawn.py", line 116, in spawn_main exitcode = _main(fd, parent_sentinel) │ │ └ 336 │ └ 3 └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\spawn.py", line 129, in _main return self._bootstrap(parent_sentinel) │ │ └ 336 │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\process.py", line 315, in _bootstrap self.run() │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\process.py", line 108, in run self._target(*self._args, **self._kwargs) │ │ │ │ │ └ {'config': , 'target': │ │ │ └ () │ │ └ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\_subprocess.py", line 80, in subprocess_started target(sockets=sockets) │ └ [] └ > File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\server.py", line 66, in run return asyncio.run(self.serve(sockets=sockets)) │ │ │ │ └ [] │ │ │ └ │ │ └ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\runners.py", line 44, in run return loop.run_until_complete(main) │ │ └ │ └ └ <_WindowsSelectorEventLoop running=True closed=False debug=False> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 633, in run_until_complete self.run_forever() │ └ └ <_WindowsSelectorEventLoop running=True closed=False debug=False> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 600, in run_forever self._run_once() │ └ └ <_WindowsSelectorEventLoop running=True closed=False debug=False> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 1896, in _run_once handle._run() │ └ >)> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\events.py", line 80, in _run self._context.run(self._callback, *self._args) │ │ │ │ │ └ │ │ │ │ └ >)> │ │ │ └ │ │ └ >)> │ └ >)> > File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\protocols\http\h11_impl.py", line 403, in run_asgi result = await app( # type: ignore[func-returns-value] └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\middleware\proxy_headers.py", line 60, in __call__ return await self.app(scope, receive, send) │ │ │ │ └ > │ │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\fastapi\applications.py", line 1054, in __call__ await super().__call__(scope, receive, send) │ │ └ > │ └ > │ │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\errors.py", line 187, in __call__ raise exc File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\errors.py", line 165, in __call__ await self.app(scope, receive, _send) │ │ │ │ └ ._send at 0x0000020F99486290> │ │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\cors.py", line 85, in __call__ await self.app(scope, receive, send) │ │ │ │ └ ._send at 0x0000020F99486290> │ │ │ └ , header_name='... └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\asgi_correlation_id\middleware.py", line 90, in __call__ await self.app(scope, receive, handle_outgoing_request) │ │ │ │ └ .handle_outgoing_request at 0x0000020F99485E10> │ │ │ └ └ CorrelationIdMiddleware(app=, header_name='... File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\exceptions.py", line 62, in __call__ await wrap_app_handling_exceptions(self.app, conn)(scope, receive, send) │ │ │ │ │ │ └ .handle_outgoing_request at 0x0000020F99485E10> │ │ │ │ │ └ │ │ └ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 53, in wrapped_app raise exc File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 42, in wrapped_app await app(scope, receive, sender) │ │ │ └ .wrapped_app..sender at 0x0000020F99486200> │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 714, in __call__ await self.middleware_stack(scope, receive, send) │ │ │ │ └ .wrapped_app..sender at 0x0000020F99486200> │ │ │ └ > └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 734, in app await route.handle(scope, receive, send) │ │ │ │ └ .wrapped_app..sender at 0x0000020F99486200> │ │ │ └ └ APIRoute(path='/api/v1/trip/pick-up', name='pick_up_stop', methods=['POST']) File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 288, in handle await self.app(scope, receive, send) │ │ │ │ └ .wrapped_app..sender at 0x0000020F99486200> │ │ │ └ .app at 0x0000020FEA5C4C10> └ APIRoute(path='/api/v1/trip/pick-up', name='pick_up_stop', methods=['POST']) File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 76, in app await wrap_app_handling_exceptions(app, request)(scope, receive, send) │ │ │ │ │ └ .wrapped_app..sender at 0x0000020F99486200> │ │ │ │ └ │ └ .app..app at 0x0000020F99487130> └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 53, in wrapped_app raise exc File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 42, in wrapped_app await app(scope, receive, sender) │ │ │ └ .wrapped_app..sender at 0x0000020F99487400> │ │ └ .app..app at 0x0000020F99487130> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 73, in app response = await f(request) │ └ .app at 0x0000020FEA5C4B80> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\fastapi\routing.py", line 301, in app raw_response = await run_endpoint_function( └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\fastapi\routing.py", line 212, in run_endpoint_function return await dependant.call(**values) │ │ └ {'service': , 'request': └ Dependant(path_params=[], query_params=[], header_params=[], cookie_params=[], body_params=[], dependencies=[Dependant(path_p... File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\dependency_injector\wiring.py", line 1072, in _patched return await fn(*args, **kwargs) │ │ └ {'service': , 'request': File "C:\University-HCMUTE\InternFuta\ApiDialogflowChatbot\app\api\v1\trip.py", line 165, in pick_up_stop route_id=data.trip_data.route_id, way_id=data.trip_data.way_id │ │ │ └ None │ │ └ TripSelectionRequest(trip_data=None) │ └ None └ TripSelectionRequest(trip_data=None) AttributeError: 'NoneType' object has no attribute 'route_id' 2025-06-19 10:17:22.142 | ERROR | a31d738e9479482cafe15f788f8973d7 | Invalid role for stop selection: pick_up 2025-06-19 10:17:22.799 | ERROR | f21d697698ba4641a2eea2af9ead7946 | Exception in ASGI application Traceback (most recent call last): File "", line 1, in File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\spawn.py", line 116, in spawn_main exitcode = _main(fd, parent_sentinel) │ │ └ 336 │ └ 3 └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\spawn.py", line 129, in _main return self._bootstrap(parent_sentinel) │ │ └ 336 │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\process.py", line 315, in _bootstrap self.run() │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\process.py", line 108, in run self._target(*self._args, **self._kwargs) │ │ │ │ │ └ {'config': , 'target': │ │ │ └ () │ │ └ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\_subprocess.py", line 80, in subprocess_started target(sockets=sockets) │ └ [] └ > File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\server.py", line 66, in run return asyncio.run(self.serve(sockets=sockets)) │ │ │ │ └ [] │ │ │ └ │ │ └ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\runners.py", line 44, in run return loop.run_until_complete(main) │ │ └ │ └ └ <_WindowsSelectorEventLoop running=True closed=False debug=False> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 633, in run_until_complete self.run_forever() │ └ └ <_WindowsSelectorEventLoop running=True closed=False debug=False> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 600, in run_forever self._run_once() │ └ └ <_WindowsSelectorEventLoop running=True closed=False debug=False> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 1896, in _run_once handle._run() │ └ >)> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\events.py", line 80, in _run self._context.run(self._callback, *self._args) │ │ │ │ │ └ │ │ │ │ └ >)> │ │ │ └ │ │ └ >)> │ └ >)> > File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\protocols\http\h11_impl.py", line 403, in run_asgi result = await app( # type: ignore[func-returns-value] └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\middleware\proxy_headers.py", line 60, in __call__ return await self.app(scope, receive, send) │ │ │ │ └ > │ │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\fastapi\applications.py", line 1054, in __call__ await super().__call__(scope, receive, send) │ │ └ > │ └ > │ │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\errors.py", line 187, in __call__ raise exc File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\errors.py", line 165, in __call__ await self.app(scope, receive, _send) │ │ │ │ └ ._send at 0x0000020F9772B9A0> │ │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\cors.py", line 85, in __call__ await self.app(scope, receive, send) │ │ │ │ └ ._send at 0x0000020F9772B9A0> │ │ │ └ , header_name='... └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\asgi_correlation_id\middleware.py", line 90, in __call__ await self.app(scope, receive, handle_outgoing_request) │ │ │ │ └ .handle_outgoing_request at 0x0000020F9772B130> │ │ │ └ └ CorrelationIdMiddleware(app=, header_name='... File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\exceptions.py", line 62, in __call__ await wrap_app_handling_exceptions(self.app, conn)(scope, receive, send) │ │ │ │ │ │ └ .handle_outgoing_request at 0x0000020F9772B130> │ │ │ │ │ └ │ │ └ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 53, in wrapped_app raise exc File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 42, in wrapped_app await app(scope, receive, sender) │ │ │ └ .wrapped_app..sender at 0x0000020F9772B010> │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 714, in __call__ await self.middleware_stack(scope, receive, send) │ │ │ │ └ .wrapped_app..sender at 0x0000020F9772B010> │ │ │ └ > └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 734, in app await route.handle(scope, receive, send) │ │ │ │ └ .wrapped_app..sender at 0x0000020F9772B010> │ │ │ └ └ APIRoute(path='/api/v1/trip/pick-up', name='pick_up_stop', methods=['POST']) File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 288, in handle await self.app(scope, receive, send) │ │ │ │ └ .wrapped_app..sender at 0x0000020F9772B010> │ │ │ └ .app at 0x0000020FEA5C4C10> └ APIRoute(path='/api/v1/trip/pick-up', name='pick_up_stop', methods=['POST']) File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 76, in app await wrap_app_handling_exceptions(app, request)(scope, receive, send) │ │ │ │ │ └ .wrapped_app..sender at 0x0000020F9772B010> │ │ │ │ └ │ └ .app..app at 0x0000020F99487640> └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 53, in wrapped_app raise exc File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 42, in wrapped_app await app(scope, receive, sender) │ │ │ └ .wrapped_app..sender at 0x0000020F99487520> │ │ └ .app..app at 0x0000020F99487640> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 73, in app response = await f(request) │ └ .app at 0x0000020FEA5C4B80> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\fastapi\routing.py", line 301, in app raw_response = await run_endpoint_function( └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\fastapi\routing.py", line 212, in run_endpoint_function return await dependant.call(**values) │ │ └ {'service': , 'request': └ Dependant(path_params=[], query_params=[], header_params=[], cookie_params=[], body_params=[], dependencies=[Dependant(path_p... File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\dependency_injector\wiring.py", line 1072, in _patched return await fn(*args, **kwargs) │ │ └ {'service': , 'request': File "C:\University-HCMUTE\InternFuta\ApiDialogflowChatbot\app\api\v1\trip.py", line 165, in pick_up_stop route_id=data.trip_data.route_id, way_id=data.trip_data.way_id │ │ │ └ None │ │ └ TripSelectionRequest(trip_data=None) │ └ None └ TripSelectionRequest(trip_data=None) AttributeError: 'NoneType' object has no attribute 'route_id' 2025-06-19 10:17:23.360 | ERROR | c2e772d44d8845b8a10123a8c8e5426e | Exception in ASGI application Traceback (most recent call last): File "", line 1, in File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\spawn.py", line 116, in spawn_main exitcode = _main(fd, parent_sentinel) │ │ └ 336 │ └ 3 └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\spawn.py", line 129, in _main return self._bootstrap(parent_sentinel) │ │ └ 336 │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\process.py", line 315, in _bootstrap self.run() │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\process.py", line 108, in run self._target(*self._args, **self._kwargs) │ │ │ │ │ └ {'config': , 'target': │ │ │ └ () │ │ └ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\_subprocess.py", line 80, in subprocess_started target(sockets=sockets) │ └ [] └ > File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\server.py", line 66, in run return asyncio.run(self.serve(sockets=sockets)) │ │ │ │ └ [] │ │ │ └ │ │ └ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\runners.py", line 44, in run return loop.run_until_complete(main) │ │ └ │ └ └ <_WindowsSelectorEventLoop running=True closed=False debug=False> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 633, in run_until_complete self.run_forever() │ └ └ <_WindowsSelectorEventLoop running=True closed=False debug=False> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 600, in run_forever self._run_once() │ └ └ <_WindowsSelectorEventLoop running=True closed=False debug=False> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 1896, in _run_once handle._run() │ └ >)> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\events.py", line 80, in _run self._context.run(self._callback, *self._args) │ │ │ │ │ └ │ │ │ │ └ >)> │ │ │ └ │ │ └ >)> │ └ >)> > File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\protocols\http\h11_impl.py", line 403, in run_asgi result = await app( # type: ignore[func-returns-value] └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\middleware\proxy_headers.py", line 60, in __call__ return await self.app(scope, receive, send) │ │ │ │ └ > │ │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\fastapi\applications.py", line 1054, in __call__ await super().__call__(scope, receive, send) │ │ └ > │ └ > │ │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\errors.py", line 187, in __call__ raise exc File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\errors.py", line 165, in __call__ await self.app(scope, receive, _send) │ │ │ │ └ ._send at 0x0000020F994870A0> │ │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\cors.py", line 85, in __call__ await self.app(scope, receive, send) │ │ │ │ └ ._send at 0x0000020F994870A0> │ │ │ └ , header_name='... └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\asgi_correlation_id\middleware.py", line 90, in __call__ await self.app(scope, receive, handle_outgoing_request) │ │ │ │ └ .handle_outgoing_request at 0x0000020F99486950> │ │ │ └ └ CorrelationIdMiddleware(app=, header_name='... File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\exceptions.py", line 62, in __call__ await wrap_app_handling_exceptions(self.app, conn)(scope, receive, send) │ │ │ │ │ │ └ .handle_outgoing_request at 0x0000020F99486950> │ │ │ │ │ └ │ │ └ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 53, in wrapped_app raise exc File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 42, in wrapped_app await app(scope, receive, sender) │ │ │ └ .wrapped_app..sender at 0x0000020F99486050> │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 714, in __call__ await self.middleware_stack(scope, receive, send) │ │ │ │ └ .wrapped_app..sender at 0x0000020F99486050> │ │ │ └ > └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 734, in app await route.handle(scope, receive, send) │ │ │ │ └ .wrapped_app..sender at 0x0000020F99486050> │ │ │ └ └ APIRoute(path='/api/v1/trip/pick-up', name='pick_up_stop', methods=['POST']) File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 288, in handle await self.app(scope, receive, send) │ │ │ │ └ .wrapped_app..sender at 0x0000020F99486050> │ │ │ └ .app at 0x0000020FEA5C4C10> └ APIRoute(path='/api/v1/trip/pick-up', name='pick_up_stop', methods=['POST']) File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 76, in app await wrap_app_handling_exceptions(app, request)(scope, receive, send) │ │ │ │ │ └ .wrapped_app..sender at 0x0000020F99486050> │ │ │ │ └ │ └ .app..app at 0x0000020F994860E0> └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 53, in wrapped_app raise exc File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 42, in wrapped_app await app(scope, receive, sender) │ │ │ └ .wrapped_app..sender at 0x0000020F99485FC0> │ │ └ .app..app at 0x0000020F994860E0> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 73, in app response = await f(request) │ └ .app at 0x0000020FEA5C4B80> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\fastapi\routing.py", line 301, in app raw_response = await run_endpoint_function( └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\fastapi\routing.py", line 212, in run_endpoint_function return await dependant.call(**values) │ │ └ {'service': , 'request': └ Dependant(path_params=[], query_params=[], header_params=[], cookie_params=[], body_params=[], dependencies=[Dependant(path_p... File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\dependency_injector\wiring.py", line 1072, in _patched return await fn(*args, **kwargs) │ │ └ {'service': , 'request': File "C:\University-HCMUTE\InternFuta\ApiDialogflowChatbot\app\api\v1\trip.py", line 165, in pick_up_stop route_id=data.trip_data.route_id, way_id=data.trip_data.way_id │ │ │ └ None │ │ └ TripSelectionRequest(trip_data=None) │ └ None └ TripSelectionRequest(trip_data=None) AttributeError: 'NoneType' object has no attribute 'route_id' 2025-06-19 10:17:23.845 | ERROR | bf9f2b9680b74314948094dcbeba52f2 | Invalid role for stop selection: pick_up 2025-06-19 10:17:24.126 | ERROR | c13d598eabae4bbdb33fd9d88551f155 | Exception in ASGI application Traceback (most recent call last): File "", line 1, in File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\spawn.py", line 116, in spawn_main exitcode = _main(fd, parent_sentinel) │ │ └ 336 │ └ 3 └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\spawn.py", line 129, in _main return self._bootstrap(parent_sentinel) │ │ └ 336 │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\process.py", line 315, in _bootstrap self.run() │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\process.py", line 108, in run self._target(*self._args, **self._kwargs) │ │ │ │ │ └ {'config': , 'target': │ │ │ └ () │ │ └ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\_subprocess.py", line 80, in subprocess_started target(sockets=sockets) │ └ [] └ > File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\server.py", line 66, in run return asyncio.run(self.serve(sockets=sockets)) │ │ │ │ └ [] │ │ │ └ │ │ └ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\runners.py", line 44, in run return loop.run_until_complete(main) │ │ └ │ └ └ <_WindowsSelectorEventLoop running=True closed=False debug=False> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 633, in run_until_complete self.run_forever() │ └ └ <_WindowsSelectorEventLoop running=True closed=False debug=False> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 600, in run_forever self._run_once() │ └ └ <_WindowsSelectorEventLoop running=True closed=False debug=False> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 1896, in _run_once handle._run() │ └ >)> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\events.py", line 80, in _run self._context.run(self._callback, *self._args) │ │ │ │ │ └ │ │ │ │ └ >)> │ │ │ └ │ │ └ >)> │ └ >)> > File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\protocols\http\h11_impl.py", line 403, in run_asgi result = await app( # type: ignore[func-returns-value] └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\middleware\proxy_headers.py", line 60, in __call__ return await self.app(scope, receive, send) │ │ │ │ └ > │ │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\fastapi\applications.py", line 1054, in __call__ await super().__call__(scope, receive, send) │ │ └ > │ └ > │ │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\errors.py", line 187, in __call__ raise exc File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\errors.py", line 165, in __call__ await self.app(scope, receive, _send) │ │ │ │ └ ._send at 0x0000020F994869E0> │ │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\cors.py", line 85, in __call__ await self.app(scope, receive, send) │ │ │ │ └ ._send at 0x0000020F994869E0> │ │ │ └ , header_name='... └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\asgi_correlation_id\middleware.py", line 90, in __call__ await self.app(scope, receive, handle_outgoing_request) │ │ │ │ └ .handle_outgoing_request at 0x0000020F99486170> │ │ │ └ └ CorrelationIdMiddleware(app=, header_name='... File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\exceptions.py", line 62, in __call__ await wrap_app_handling_exceptions(self.app, conn)(scope, receive, send) │ │ │ │ │ │ └ .handle_outgoing_request at 0x0000020F99486170> │ │ │ │ │ └ │ │ └ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 53, in wrapped_app raise exc File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 42, in wrapped_app await app(scope, receive, sender) │ │ │ └ .wrapped_app..sender at 0x0000020F99486680> │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 714, in __call__ await self.middleware_stack(scope, receive, send) │ │ │ │ └ .wrapped_app..sender at 0x0000020F99486680> │ │ │ └ > └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 734, in app await route.handle(scope, receive, send) │ │ │ │ └ .wrapped_app..sender at 0x0000020F99486680> │ │ │ └ └ APIRoute(path='/api/v1/trip/pick-up', name='pick_up_stop', methods=['POST']) File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 288, in handle await self.app(scope, receive, send) │ │ │ │ └ .wrapped_app..sender at 0x0000020F99486680> │ │ │ └ .app at 0x0000020FEA5C4C10> └ APIRoute(path='/api/v1/trip/pick-up', name='pick_up_stop', methods=['POST']) File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 76, in app await wrap_app_handling_exceptions(app, request)(scope, receive, send) │ │ │ │ │ └ .wrapped_app..sender at 0x0000020F99486680> │ │ │ │ └ │ └ .app..app at 0x0000020F99485F30> └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 53, in wrapped_app raise exc File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 42, in wrapped_app await app(scope, receive, sender) │ │ │ └ .wrapped_app..sender at 0x0000020F994871C0> │ │ └ .app..app at 0x0000020F99485F30> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 73, in app response = await f(request) │ └ .app at 0x0000020FEA5C4B80> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\fastapi\routing.py", line 301, in app raw_response = await run_endpoint_function( └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\fastapi\routing.py", line 212, in run_endpoint_function return await dependant.call(**values) │ │ └ {'service': , 'request': └ Dependant(path_params=[], query_params=[], header_params=[], cookie_params=[], body_params=[], dependencies=[Dependant(path_p... File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\dependency_injector\wiring.py", line 1072, in _patched return await fn(*args, **kwargs) │ │ └ {'service': , 'request': File "C:\University-HCMUTE\InternFuta\ApiDialogflowChatbot\app\api\v1\trip.py", line 165, in pick_up_stop route_id=data.trip_data.route_id, way_id=data.trip_data.way_id │ │ │ └ None │ │ └ TripSelectionRequest(trip_data=None) │ └ None └ TripSelectionRequest(trip_data=None) AttributeError: 'NoneType' object has no attribute 'route_id' 2025-06-19 10:17:24.400 | ERROR | 61f1b2437a1d40d8bd00c37a7648b262 | Exception in ASGI application Traceback (most recent call last): File "", line 1, in File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\spawn.py", line 116, in spawn_main exitcode = _main(fd, parent_sentinel) │ │ └ 336 │ └ 3 └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\spawn.py", line 129, in _main return self._bootstrap(parent_sentinel) │ │ └ 336 │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\process.py", line 315, in _bootstrap self.run() │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\process.py", line 108, in run self._target(*self._args, **self._kwargs) │ │ │ │ │ └ {'config': , 'target': │ │ │ └ () │ │ └ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\_subprocess.py", line 80, in subprocess_started target(sockets=sockets) │ └ [] └ > File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\server.py", line 66, in run return asyncio.run(self.serve(sockets=sockets)) │ │ │ │ └ [] │ │ │ └ │ │ └ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\runners.py", line 44, in run return loop.run_until_complete(main) │ │ └ │ └ └ <_WindowsSelectorEventLoop running=True closed=False debug=False> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 633, in run_until_complete self.run_forever() │ └ └ <_WindowsSelectorEventLoop running=True closed=False debug=False> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 600, in run_forever self._run_once() │ └ └ <_WindowsSelectorEventLoop running=True closed=False debug=False> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 1896, in _run_once handle._run() │ └ >)> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\events.py", line 80, in _run self._context.run(self._callback, *self._args) │ │ │ │ │ └ │ │ │ │ └ >)> │ │ │ └ │ │ └ >)> │ └ >)> > File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\protocols\http\h11_impl.py", line 403, in run_asgi result = await app( # type: ignore[func-returns-value] └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\middleware\proxy_headers.py", line 60, in __call__ return await self.app(scope, receive, send) │ │ │ │ └ > │ │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\fastapi\applications.py", line 1054, in __call__ await super().__call__(scope, receive, send) │ │ └ > │ └ > │ │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\errors.py", line 187, in __call__ raise exc File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\errors.py", line 165, in __call__ await self.app(scope, receive, _send) │ │ │ │ └ ._send at 0x0000020F9772ADD0> │ │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\cors.py", line 85, in __call__ await self.app(scope, receive, send) │ │ │ │ └ ._send at 0x0000020F9772ADD0> │ │ │ └ , header_name='... └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\asgi_correlation_id\middleware.py", line 90, in __call__ await self.app(scope, receive, handle_outgoing_request) │ │ │ │ └ .handle_outgoing_request at 0x0000020F99485EA0> │ │ │ └ └ CorrelationIdMiddleware(app=, header_name='... File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\exceptions.py", line 62, in __call__ await wrap_app_handling_exceptions(self.app, conn)(scope, receive, send) │ │ │ │ │ │ └ .handle_outgoing_request at 0x0000020F99485EA0> │ │ │ │ │ └ │ │ └ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 53, in wrapped_app raise exc File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 42, in wrapped_app await app(scope, receive, sender) │ │ │ └ .wrapped_app..sender at 0x0000020F994877F0> │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 714, in __call__ await self.middleware_stack(scope, receive, send) │ │ │ │ └ .wrapped_app..sender at 0x0000020F994877F0> │ │ │ └ > └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 734, in app await route.handle(scope, receive, send) │ │ │ │ └ .wrapped_app..sender at 0x0000020F994877F0> │ │ │ └ └ APIRoute(path='/api/v1/trip/pick-up', name='pick_up_stop', methods=['POST']) File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 288, in handle await self.app(scope, receive, send) │ │ │ │ └ .wrapped_app..sender at 0x0000020F994877F0> │ │ │ └ .app at 0x0000020FEA5C4C10> └ APIRoute(path='/api/v1/trip/pick-up', name='pick_up_stop', methods=['POST']) File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 76, in app await wrap_app_handling_exceptions(app, request)(scope, receive, send) │ │ │ │ │ └ .wrapped_app..sender at 0x0000020F994877F0> │ │ │ │ └ │ └ .app..app at 0x0000020F99487010> └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 53, in wrapped_app raise exc File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 42, in wrapped_app await app(scope, receive, sender) │ │ │ └ .wrapped_app..sender at 0x0000020F99487760> │ │ └ .app..app at 0x0000020F99487010> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 73, in app response = await f(request) │ └ .app at 0x0000020FEA5C4B80> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\fastapi\routing.py", line 301, in app raw_response = await run_endpoint_function( └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\fastapi\routing.py", line 212, in run_endpoint_function return await dependant.call(**values) │ │ └ {'service': , 'request': └ Dependant(path_params=[], query_params=[], header_params=[], cookie_params=[], body_params=[], dependencies=[Dependant(path_p... File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\dependency_injector\wiring.py", line 1072, in _patched return await fn(*args, **kwargs) │ │ └ {'service': , 'request': File "C:\University-HCMUTE\InternFuta\ApiDialogflowChatbot\app\api\v1\trip.py", line 165, in pick_up_stop route_id=data.trip_data.route_id, way_id=data.trip_data.way_id │ │ │ └ None │ │ └ TripSelectionRequest(trip_data=None) │ └ None └ TripSelectionRequest(trip_data=None) AttributeError: 'NoneType' object has no attribute 'route_id' 2025-06-19 10:17:24.971 | ERROR | f6b63f649e0048968900a6180c603eda | Invalid role for stop selection: pick_up 2025-06-19 10:17:25.257 | ERROR | daf2d9bb6ee342afb503333a0657d3cf | Exception in ASGI application Traceback (most recent call last): File "", line 1, in File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\spawn.py", line 116, in spawn_main exitcode = _main(fd, parent_sentinel) │ │ └ 336 │ └ 3 └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\spawn.py", line 129, in _main return self._bootstrap(parent_sentinel) │ │ └ 336 │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\process.py", line 315, in _bootstrap self.run() │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\process.py", line 108, in run self._target(*self._args, **self._kwargs) │ │ │ │ │ └ {'config': , 'target': │ │ │ └ () │ │ └ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\_subprocess.py", line 80, in subprocess_started target(sockets=sockets) │ └ [] └ > File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\server.py", line 66, in run return asyncio.run(self.serve(sockets=sockets)) │ │ │ │ └ [] │ │ │ └ │ │ └ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\runners.py", line 44, in run return loop.run_until_complete(main) │ │ └ │ └ └ <_WindowsSelectorEventLoop running=True closed=False debug=False> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 633, in run_until_complete self.run_forever() │ └ └ <_WindowsSelectorEventLoop running=True closed=False debug=False> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 600, in run_forever self._run_once() │ └ └ <_WindowsSelectorEventLoop running=True closed=False debug=False> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 1896, in _run_once handle._run() │ └ >)> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\events.py", line 80, in _run self._context.run(self._callback, *self._args) │ │ │ │ │ └ │ │ │ │ └ >)> │ │ │ └ │ │ └ >)> │ └ >)> > File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\protocols\http\h11_impl.py", line 403, in run_asgi result = await app( # type: ignore[func-returns-value] └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\middleware\proxy_headers.py", line 60, in __call__ return await self.app(scope, receive, send) │ │ │ │ └ > │ │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\fastapi\applications.py", line 1054, in __call__ await super().__call__(scope, receive, send) │ │ └ > │ └ > │ │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\errors.py", line 187, in __call__ raise exc File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\errors.py", line 165, in __call__ await self.app(scope, receive, _send) │ │ │ │ └ ._send at 0x0000020F9772B2E0> │ │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\cors.py", line 85, in __call__ await self.app(scope, receive, send) │ │ │ │ └ ._send at 0x0000020F9772B2E0> │ │ │ └ , header_name='... └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\asgi_correlation_id\middleware.py", line 90, in __call__ await self.app(scope, receive, handle_outgoing_request) │ │ │ │ └ .handle_outgoing_request at 0x0000020F99487880> │ │ │ └ └ CorrelationIdMiddleware(app=, header_name='... File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\exceptions.py", line 62, in __call__ await wrap_app_handling_exceptions(self.app, conn)(scope, receive, send) │ │ │ │ │ │ └ .handle_outgoing_request at 0x0000020F99487880> │ │ │ │ │ └ │ │ └ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 53, in wrapped_app raise exc File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 42, in wrapped_app await app(scope, receive, sender) │ │ │ └ .wrapped_app..sender at 0x0000020F994869E0> │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 714, in __call__ await self.middleware_stack(scope, receive, send) │ │ │ │ └ .wrapped_app..sender at 0x0000020F994869E0> │ │ │ └ > └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 734, in app await route.handle(scope, receive, send) │ │ │ │ └ .wrapped_app..sender at 0x0000020F994869E0> │ │ │ └ └ APIRoute(path='/api/v1/trip/pick-up', name='pick_up_stop', methods=['POST']) File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 288, in handle await self.app(scope, receive, send) │ │ │ │ └ .wrapped_app..sender at 0x0000020F994869E0> │ │ │ └ .app at 0x0000020FEA5C4C10> └ APIRoute(path='/api/v1/trip/pick-up', name='pick_up_stop', methods=['POST']) File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 76, in app await wrap_app_handling_exceptions(app, request)(scope, receive, send) │ │ │ │ │ └ .wrapped_app..sender at 0x0000020F994869E0> │ │ │ │ └ │ └ .app..app at 0x0000020F99486170> └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 53, in wrapped_app raise exc File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 42, in wrapped_app await app(scope, receive, sender) │ │ │ └ .wrapped_app..sender at 0x0000020F99486F80> │ │ └ .app..app at 0x0000020F99486170> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 73, in app response = await f(request) │ └ .app at 0x0000020FEA5C4B80> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\fastapi\routing.py", line 301, in app raw_response = await run_endpoint_function( └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\fastapi\routing.py", line 212, in run_endpoint_function return await dependant.call(**values) │ │ └ {'service': , 'request': └ Dependant(path_params=[], query_params=[], header_params=[], cookie_params=[], body_params=[], dependencies=[Dependant(path_p... File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\dependency_injector\wiring.py", line 1072, in _patched return await fn(*args, **kwargs) │ │ └ {'service': , 'request': File "C:\University-HCMUTE\InternFuta\ApiDialogflowChatbot\app\api\v1\trip.py", line 165, in pick_up_stop route_id=data.trip_data.route_id, way_id=data.trip_data.way_id │ │ │ └ None │ │ └ TripSelectionRequest(trip_data=None) │ └ None └ TripSelectionRequest(trip_data=None) AttributeError: 'NoneType' object has no attribute 'route_id' 2025-06-19 10:17:25.745 | ERROR | 2945cf9715d14324b34eecc6163f923a | Exception in ASGI application Traceback (most recent call last): File "", line 1, in File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\spawn.py", line 116, in spawn_main exitcode = _main(fd, parent_sentinel) │ │ └ 336 │ └ 3 └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\spawn.py", line 129, in _main return self._bootstrap(parent_sentinel) │ │ └ 336 │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\process.py", line 315, in _bootstrap self.run() │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\process.py", line 108, in run self._target(*self._args, **self._kwargs) │ │ │ │ │ └ {'config': , 'target': │ │ │ └ () │ │ └ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\_subprocess.py", line 80, in subprocess_started target(sockets=sockets) │ └ [] └ > File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\server.py", line 66, in run return asyncio.run(self.serve(sockets=sockets)) │ │ │ │ └ [] │ │ │ └ │ │ └ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\runners.py", line 44, in run return loop.run_until_complete(main) │ │ └ │ └ └ <_WindowsSelectorEventLoop running=True closed=False debug=False> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 633, in run_until_complete self.run_forever() │ └ └ <_WindowsSelectorEventLoop running=True closed=False debug=False> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 600, in run_forever self._run_once() │ └ └ <_WindowsSelectorEventLoop running=True closed=False debug=False> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 1896, in _run_once handle._run() │ └ >)> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\events.py", line 80, in _run self._context.run(self._callback, *self._args) │ │ │ │ │ └ │ │ │ │ └ >)> │ │ │ └ │ │ └ >)> │ └ >)> > File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\protocols\http\h11_impl.py", line 403, in run_asgi result = await app( # type: ignore[func-returns-value] └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\middleware\proxy_headers.py", line 60, in __call__ return await self.app(scope, receive, send) │ │ │ │ └ > │ │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\fastapi\applications.py", line 1054, in __call__ await super().__call__(scope, receive, send) │ │ └ > │ └ > │ │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\errors.py", line 187, in __call__ raise exc File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\errors.py", line 165, in __call__ await self.app(scope, receive, _send) │ │ │ │ └ ._send at 0x0000020F99485F30> │ │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\cors.py", line 85, in __call__ await self.app(scope, receive, send) │ │ │ │ └ ._send at 0x0000020F99485F30> │ │ │ └ , header_name='... └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\asgi_correlation_id\middleware.py", line 90, in __call__ await self.app(scope, receive, handle_outgoing_request) │ │ │ │ └ .handle_outgoing_request at 0x0000020F99486050> │ │ │ └ └ CorrelationIdMiddleware(app=, header_name='... File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\exceptions.py", line 62, in __call__ await wrap_app_handling_exceptions(self.app, conn)(scope, receive, send) │ │ │ │ │ │ └ .handle_outgoing_request at 0x0000020F99486050> │ │ │ │ │ └ │ │ └ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 53, in wrapped_app raise exc File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 42, in wrapped_app await app(scope, receive, sender) │ │ │ └ .wrapped_app..sender at 0x0000020F994870A0> │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 714, in __call__ await self.middleware_stack(scope, receive, send) │ │ │ │ └ .wrapped_app..sender at 0x0000020F994870A0> │ │ │ └ > └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 734, in app await route.handle(scope, receive, send) │ │ │ │ └ .wrapped_app..sender at 0x0000020F994870A0> │ │ │ └ └ APIRoute(path='/api/v1/trip/pick-up', name='pick_up_stop', methods=['POST']) File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 288, in handle await self.app(scope, receive, send) │ │ │ │ └ .wrapped_app..sender at 0x0000020F994870A0> │ │ │ └ .app at 0x0000020FEA5C4C10> └ APIRoute(path='/api/v1/trip/pick-up', name='pick_up_stop', methods=['POST']) File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 76, in app await wrap_app_handling_exceptions(app, request)(scope, receive, send) │ │ │ │ │ └ .wrapped_app..sender at 0x0000020F994870A0> │ │ │ │ └ │ └ .app..app at 0x0000020F99486950> └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 53, in wrapped_app raise exc File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 42, in wrapped_app await app(scope, receive, sender) │ │ │ └ .wrapped_app..sender at 0x0000020F994875B0> │ │ └ .app..app at 0x0000020F99486950> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 73, in app response = await f(request) │ └ .app at 0x0000020FEA5C4B80> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\fastapi\routing.py", line 301, in app raw_response = await run_endpoint_function( └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\fastapi\routing.py", line 212, in run_endpoint_function return await dependant.call(**values) │ │ └ {'service': , 'request': └ Dependant(path_params=[], query_params=[], header_params=[], cookie_params=[], body_params=[], dependencies=[Dependant(path_p... File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\dependency_injector\wiring.py", line 1072, in _patched return await fn(*args, **kwargs) │ │ └ {'service': , 'request': File "C:\University-HCMUTE\InternFuta\ApiDialogflowChatbot\app\api\v1\trip.py", line 165, in pick_up_stop route_id=data.trip_data.route_id, way_id=data.trip_data.way_id │ │ │ └ None │ │ └ TripSelectionRequest(trip_data=None) │ └ None └ TripSelectionRequest(trip_data=None) AttributeError: 'NoneType' object has no attribute 'route_id' 2025-06-19 10:17:26.239 | ERROR | 11a32e96af284de0ba31f9094f55abbf | Invalid role for stop selection: pick_up 2025-06-19 10:18:48.374 | ERROR | ccad14959f0b4beb92676f3f7668991c | Invalid role for stop selection: pick_up 2025-06-19 10:18:48.877 | ERROR | 872995da50914fb596a892eac8504359 | Exception in ASGI application Traceback (most recent call last): File "", line 1, in File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\spawn.py", line 116, in spawn_main exitcode = _main(fd, parent_sentinel) │ │ └ 336 │ └ 3 └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\spawn.py", line 129, in _main return self._bootstrap(parent_sentinel) │ │ └ 336 │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\process.py", line 315, in _bootstrap self.run() │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\process.py", line 108, in run self._target(*self._args, **self._kwargs) │ │ │ │ │ └ {'config': , 'target': │ │ │ └ () │ │ └ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\_subprocess.py", line 80, in subprocess_started target(sockets=sockets) │ └ [] └ > File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\server.py", line 66, in run return asyncio.run(self.serve(sockets=sockets)) │ │ │ │ └ [] │ │ │ └ │ │ └ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\runners.py", line 44, in run return loop.run_until_complete(main) │ │ └ │ └ └ <_WindowsSelectorEventLoop running=True closed=False debug=False> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 633, in run_until_complete self.run_forever() │ └ └ <_WindowsSelectorEventLoop running=True closed=False debug=False> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 600, in run_forever self._run_once() │ └ └ <_WindowsSelectorEventLoop running=True closed=False debug=False> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 1896, in _run_once handle._run() │ └ >)> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\events.py", line 80, in _run self._context.run(self._callback, *self._args) │ │ │ │ │ └ │ │ │ │ └ >)> │ │ │ └ │ │ └ >)> │ └ >)> > File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\protocols\http\h11_impl.py", line 403, in run_asgi result = await app( # type: ignore[func-returns-value] └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\middleware\proxy_headers.py", line 60, in __call__ return await self.app(scope, receive, send) │ │ │ │ └ > │ │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\fastapi\applications.py", line 1054, in __call__ await super().__call__(scope, receive, send) │ │ └ > │ └ > │ │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\errors.py", line 187, in __call__ raise exc File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\errors.py", line 165, in __call__ await self.app(scope, receive, _send) │ │ │ │ └ ._send at 0x0000020F99486680> │ │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\cors.py", line 85, in __call__ await self.app(scope, receive, send) │ │ │ │ └ ._send at 0x0000020F99486680> │ │ │ └ , header_name='... └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\asgi_correlation_id\middleware.py", line 90, in __call__ await self.app(scope, receive, handle_outgoing_request) │ │ │ │ └ .handle_outgoing_request at 0x0000020F99487520> │ │ │ └ └ CorrelationIdMiddleware(app=, header_name='... File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\exceptions.py", line 62, in __call__ await wrap_app_handling_exceptions(self.app, conn)(scope, receive, send) │ │ │ │ │ │ └ .handle_outgoing_request at 0x0000020F99487520> │ │ │ │ │ └ │ │ └ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 53, in wrapped_app raise exc File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 42, in wrapped_app await app(scope, receive, sender) │ │ │ └ .wrapped_app..sender at 0x0000020F994876D0> │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 714, in __call__ await self.middleware_stack(scope, receive, send) │ │ │ │ └ .wrapped_app..sender at 0x0000020F994876D0> │ │ │ └ > └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 734, in app await route.handle(scope, receive, send) │ │ │ │ └ .wrapped_app..sender at 0x0000020F994876D0> │ │ │ └ └ APIRoute(path='/api/v1/trip/pick-up', name='pick_up_stop', methods=['POST']) File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 288, in handle await self.app(scope, receive, send) │ │ │ │ └ .wrapped_app..sender at 0x0000020F994876D0> │ │ │ └ .app at 0x0000020FEA5C4C10> └ APIRoute(path='/api/v1/trip/pick-up', name='pick_up_stop', methods=['POST']) File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 76, in app await wrap_app_handling_exceptions(app, request)(scope, receive, send) │ │ │ │ │ └ .wrapped_app..sender at 0x0000020F994876D0> │ │ │ │ └ │ └ .app..app at 0x0000020F99487490> └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 53, in wrapped_app raise exc File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 42, in wrapped_app await app(scope, receive, sender) │ │ │ └ .wrapped_app..sender at 0x0000020F99487640> │ │ └ .app..app at 0x0000020F99487490> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 73, in app response = await f(request) │ └ .app at 0x0000020FEA5C4B80> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\fastapi\routing.py", line 301, in app raw_response = await run_endpoint_function( └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\fastapi\routing.py", line 212, in run_endpoint_function return await dependant.call(**values) │ │ └ {'service': , 'request': └ Dependant(path_params=[], query_params=[], header_params=[], cookie_params=[], body_params=[], dependencies=[Dependant(path_p... File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\dependency_injector\wiring.py", line 1072, in _patched return await fn(*args, **kwargs) │ │ └ {'service': , 'request': File "C:\University-HCMUTE\InternFuta\ApiDialogflowChatbot\app\api\v1\trip.py", line 165, in pick_up_stop route_id=data.trip_data.route_id, way_id=data.trip_data.way_id │ │ │ └ None │ │ └ TripSelectionRequest(trip_data=None) │ └ None └ TripSelectionRequest(trip_data=None) AttributeError: 'NoneType' object has no attribute 'route_id' 2025-06-19 10:18:49.395 | ERROR | 87b28a578b0b49798e9fb171a657939f | Exception in ASGI application Traceback (most recent call last): File "", line 1, in File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\spawn.py", line 116, in spawn_main exitcode = _main(fd, parent_sentinel) │ │ └ 336 │ └ 3 └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\spawn.py", line 129, in _main return self._bootstrap(parent_sentinel) │ │ └ 336 │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\process.py", line 315, in _bootstrap self.run() │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\process.py", line 108, in run self._target(*self._args, **self._kwargs) │ │ │ │ │ └ {'config': , 'target': │ │ │ └ () │ │ └ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\_subprocess.py", line 80, in subprocess_started target(sockets=sockets) │ └ [] └ > File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\server.py", line 66, in run return asyncio.run(self.serve(sockets=sockets)) │ │ │ │ └ [] │ │ │ └ │ │ └ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\runners.py", line 44, in run return loop.run_until_complete(main) │ │ └ │ └ └ <_WindowsSelectorEventLoop running=True closed=False debug=False> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 633, in run_until_complete self.run_forever() │ └ └ <_WindowsSelectorEventLoop running=True closed=False debug=False> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 600, in run_forever self._run_once() │ └ └ <_WindowsSelectorEventLoop running=True closed=False debug=False> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 1896, in _run_once handle._run() │ └ >)> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\events.py", line 80, in _run self._context.run(self._callback, *self._args) │ │ │ │ │ └ │ │ │ │ └ >)> │ │ │ └ │ │ └ >)> │ └ >)> > File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\protocols\http\h11_impl.py", line 403, in run_asgi result = await app( # type: ignore[func-returns-value] └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\middleware\proxy_headers.py", line 60, in __call__ return await self.app(scope, receive, send) │ │ │ │ └ > │ │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\fastapi\applications.py", line 1054, in __call__ await super().__call__(scope, receive, send) │ │ └ > │ └ > │ │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\errors.py", line 187, in __call__ raise exc File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\errors.py", line 165, in __call__ await self.app(scope, receive, _send) │ │ │ │ └ ._send at 0x0000020F99487910> │ │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\cors.py", line 85, in __call__ await self.app(scope, receive, send) │ │ │ │ └ ._send at 0x0000020F99487910> │ │ │ └ , header_name='... └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\asgi_correlation_id\middleware.py", line 90, in __call__ await self.app(scope, receive, handle_outgoing_request) │ │ │ │ └ .handle_outgoing_request at 0x0000020F99486830> │ │ │ └ └ CorrelationIdMiddleware(app=, header_name='... File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\exceptions.py", line 62, in __call__ await wrap_app_handling_exceptions(self.app, conn)(scope, receive, send) │ │ │ │ │ │ └ .handle_outgoing_request at 0x0000020F99486830> │ │ │ │ │ └ │ │ └ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 53, in wrapped_app raise exc File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 42, in wrapped_app await app(scope, receive, sender) │ │ │ └ .wrapped_app..sender at 0x0000020F994879A0> │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 714, in __call__ await self.middleware_stack(scope, receive, send) │ │ │ │ └ .wrapped_app..sender at 0x0000020F994879A0> │ │ │ └ > └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 734, in app await route.handle(scope, receive, send) │ │ │ │ └ .wrapped_app..sender at 0x0000020F994879A0> │ │ │ └ └ APIRoute(path='/api/v1/trip/pick-up', name='pick_up_stop', methods=['POST']) File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 288, in handle await self.app(scope, receive, send) │ │ │ │ └ .wrapped_app..sender at 0x0000020F994879A0> │ │ │ └ .app at 0x0000020FEA5C4C10> └ APIRoute(path='/api/v1/trip/pick-up', name='pick_up_stop', methods=['POST']) File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 76, in app await wrap_app_handling_exceptions(app, request)(scope, receive, send) │ │ │ │ │ └ .wrapped_app..sender at 0x0000020F994879A0> │ │ │ │ └ │ └ .app..app at 0x0000020F99487A30> └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 53, in wrapped_app raise exc File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 42, in wrapped_app await app(scope, receive, sender) │ │ │ └ .wrapped_app..sender at 0x0000020F99485FC0> │ │ └ .app..app at 0x0000020F99487A30> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 73, in app response = await f(request) │ └ .app at 0x0000020FEA5C4B80> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\fastapi\routing.py", line 301, in app raw_response = await run_endpoint_function( └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\fastapi\routing.py", line 212, in run_endpoint_function return await dependant.call(**values) │ │ └ {'service': , 'request': └ Dependant(path_params=[], query_params=[], header_params=[], cookie_params=[], body_params=[], dependencies=[Dependant(path_p... File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\dependency_injector\wiring.py", line 1072, in _patched return await fn(*args, **kwargs) │ │ └ {'service': , 'request': File "C:\University-HCMUTE\InternFuta\ApiDialogflowChatbot\app\api\v1\trip.py", line 165, in pick_up_stop route_id=data.trip_data.route_id, way_id=data.trip_data.way_id │ │ │ └ None │ │ └ TripSelectionRequest(trip_data=None) │ └ None └ TripSelectionRequest(trip_data=None) AttributeError: 'NoneType' object has no attribute 'route_id' 2025-06-19 10:20:07.260 | ERROR | 7670854d10b84084a26df2b2880f1700 | Invalid role for stop selection: pick_up 2025-06-19 10:22:48.160 | ERROR | e90c5fab8b2f4b819dfaabe66a8e6c42 | Exception in ASGI application Traceback (most recent call last): File "", line 1, in File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\spawn.py", line 116, in spawn_main exitcode = _main(fd, parent_sentinel) │ │ └ 364 │ └ 3 └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\spawn.py", line 129, in _main return self._bootstrap(parent_sentinel) │ │ └ 364 │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\process.py", line 315, in _bootstrap self.run() │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\process.py", line 108, in run self._target(*self._args, **self._kwargs) │ │ │ │ │ └ {'config': , 'target': │ │ │ └ () │ │ └ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\_subprocess.py", line 80, in subprocess_started target(sockets=sockets) │ └ [] └ > File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\server.py", line 66, in run return asyncio.run(self.serve(sockets=sockets)) │ │ │ │ └ [] │ │ │ └ │ │ └ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\runners.py", line 44, in run return loop.run_until_complete(main) │ │ └ │ └ └ <_WindowsSelectorEventLoop running=True closed=False debug=False> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 633, in run_until_complete self.run_forever() │ └ └ <_WindowsSelectorEventLoop running=True closed=False debug=False> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 600, in run_forever self._run_once() │ └ └ <_WindowsSelectorEventLoop running=True closed=False debug=False> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 1896, in _run_once handle._run() │ └ )> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\events.py", line 80, in _run self._context.run(self._callback, *self._args) │ │ │ │ │ └ │ │ │ │ └ )> │ │ │ └ │ │ └ )> │ └ )> > File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\protocols\http\h11_impl.py", line 403, in run_asgi result = await app( # type: ignore[func-returns-value] └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\middleware\proxy_headers.py", line 60, in __call__ return await self.app(scope, receive, send) │ │ │ │ └ > │ │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\fastapi\applications.py", line 1054, in __call__ await super().__call__(scope, receive, send) │ │ └ > │ └ > │ │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\errors.py", line 187, in __call__ raise exc File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\errors.py", line 165, in __call__ await self.app(scope, receive, _send) │ │ │ │ └ ._send at 0x000001F64FAC1FC0> │ │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\cors.py", line 85, in __call__ await self.app(scope, receive, send) │ │ │ │ └ ._send at 0x000001F64FAC1FC0> │ │ │ └ , header_name='... └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\asgi_correlation_id\middleware.py", line 90, in __call__ await self.app(scope, receive, handle_outgoing_request) │ │ │ │ └ .handle_outgoing_request at 0x000001F67C99B910> │ │ │ └ └ CorrelationIdMiddleware(app=, header_name='... File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\exceptions.py", line 62, in __call__ await wrap_app_handling_exceptions(self.app, conn)(scope, receive, send) │ │ │ │ │ │ └ .handle_outgoing_request at 0x000001F67C99B910> │ │ │ │ │ └ │ │ └ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 53, in wrapped_app raise exc File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 42, in wrapped_app await app(scope, receive, sender) │ │ │ └ .wrapped_app..sender at 0x000001F67C99ADD0> │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 714, in __call__ await self.middleware_stack(scope, receive, send) │ │ │ │ └ .wrapped_app..sender at 0x000001F67C99ADD0> │ │ │ └ > └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 734, in app await route.handle(scope, receive, send) │ │ │ │ └ .wrapped_app..sender at 0x000001F67C99ADD0> │ │ │ └ └ APIRoute(path='/api/v1/trip/drop-off/validate-selection', name='validate_drop_off_selection', methods=['POST']) File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 288, in handle await self.app(scope, receive, send) │ │ │ │ └ .wrapped_app..sender at 0x000001F67C99ADD0> │ │ │ └ .app at 0x000001F64FAC0F70> └ APIRoute(path='/api/v1/trip/drop-off/validate-selection', name='validate_drop_off_selection', methods=['POST']) File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 76, in app await wrap_app_handling_exceptions(app, request)(scope, receive, send) │ │ │ │ │ └ .wrapped_app..sender at 0x000001F67C99ADD0> │ │ │ │ └ │ └ .app..app at 0x000001F67C99B130> └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 53, in wrapped_app raise exc File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 42, in wrapped_app await app(scope, receive, sender) │ │ │ └ .wrapped_app..sender at 0x000001F67C99B1C0> │ │ └ .app..app at 0x000001F67C99B130> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 73, in app response = await f(request) │ └ .app at 0x000001F64FAC0EE0> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\fastapi\routing.py", line 301, in app raw_response = await run_endpoint_function( └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\fastapi\routing.py", line 212, in run_endpoint_function return await dependant.call(**values) │ │ └ {'service': , 'request': └ Dependant(path_params=[], query_params=[], header_params=[], cookie_params=[], body_params=[], dependencies=[Dependant(path_p... File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\dependency_injector\wiring.py", line 1072, in _patched return await fn(*args, **kwargs) │ │ └ {'service': , 'request': File "C:\University-HCMUTE\InternFuta\ApiDialogflowChatbot\app\api\v1\trip.py", line 250, in validate_drop_off_selection rs: DialogServiceResult = await service.validate_stop_selection( │ └ TypeError: TripService.validate_stop_selection() got an unexpected keyword argument 'selected' 2025-06-19 10:22:48.918 | ERROR | d6b4b69e0ec1469b9c23a07c342690fa | Exception in ASGI application Traceback (most recent call last): File "", line 1, in File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\spawn.py", line 116, in spawn_main exitcode = _main(fd, parent_sentinel) │ │ └ 364 │ └ 3 └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\spawn.py", line 129, in _main return self._bootstrap(parent_sentinel) │ │ └ 364 │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\process.py", line 315, in _bootstrap self.run() │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\process.py", line 108, in run self._target(*self._args, **self._kwargs) │ │ │ │ │ └ {'config': , 'target': │ │ │ └ () │ │ └ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\_subprocess.py", line 80, in subprocess_started target(sockets=sockets) │ └ [] └ > File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\server.py", line 66, in run return asyncio.run(self.serve(sockets=sockets)) │ │ │ │ └ [] │ │ │ └ │ │ └ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\runners.py", line 44, in run return loop.run_until_complete(main) │ │ └ │ └ └ <_WindowsSelectorEventLoop running=True closed=False debug=False> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 633, in run_until_complete self.run_forever() │ └ └ <_WindowsSelectorEventLoop running=True closed=False debug=False> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 600, in run_forever self._run_once() │ └ └ <_WindowsSelectorEventLoop running=True closed=False debug=False> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 1896, in _run_once handle._run() │ └ )> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\events.py", line 80, in _run self._context.run(self._callback, *self._args) │ │ │ │ │ └ │ │ │ │ └ )> │ │ │ └ │ │ └ )> │ └ )> > File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\protocols\http\h11_impl.py", line 403, in run_asgi result = await app( # type: ignore[func-returns-value] └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\middleware\proxy_headers.py", line 60, in __call__ return await self.app(scope, receive, send) │ │ │ │ └ > │ │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\fastapi\applications.py", line 1054, in __call__ await super().__call__(scope, receive, send) │ │ └ > │ └ > │ │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\errors.py", line 187, in __call__ raise exc File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\errors.py", line 165, in __call__ await self.app(scope, receive, _send) │ │ │ │ └ ._send at 0x000001F600BD12D0> │ │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\cors.py", line 85, in __call__ await self.app(scope, receive, send) │ │ │ │ └ ._send at 0x000001F600BD12D0> │ │ │ └ , header_name='... └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\asgi_correlation_id\middleware.py", line 90, in __call__ await self.app(scope, receive, handle_outgoing_request) │ │ │ │ └ .handle_outgoing_request at 0x000001F600BD13F0> │ │ │ └ └ CorrelationIdMiddleware(app=, header_name='... File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\exceptions.py", line 62, in __call__ await wrap_app_handling_exceptions(self.app, conn)(scope, receive, send) │ │ │ │ │ │ └ .handle_outgoing_request at 0x000001F600BD13F0> │ │ │ │ │ └ │ │ └ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 53, in wrapped_app raise exc File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 42, in wrapped_app await app(scope, receive, sender) │ │ │ └ .wrapped_app..sender at 0x000001F600BD1480> │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 714, in __call__ await self.middleware_stack(scope, receive, send) │ │ │ │ └ .wrapped_app..sender at 0x000001F600BD1480> │ │ │ └ > └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 734, in app await route.handle(scope, receive, send) │ │ │ │ └ .wrapped_app..sender at 0x000001F600BD1480> │ │ │ └ └ APIRoute(path='/api/v1/trip/drop-off/validate-selection', name='validate_drop_off_selection', methods=['POST']) File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 288, in handle await self.app(scope, receive, send) │ │ │ │ └ .wrapped_app..sender at 0x000001F600BD1480> │ │ │ └ .app at 0x000001F64FAC0F70> └ APIRoute(path='/api/v1/trip/drop-off/validate-selection', name='validate_drop_off_selection', methods=['POST']) File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 76, in app await wrap_app_handling_exceptions(app, request)(scope, receive, send) │ │ │ │ │ └ .wrapped_app..sender at 0x000001F600BD1480> │ │ │ │ └ │ └ .app..app at 0x000001F600BD1360> └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 53, in wrapped_app raise exc File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 42, in wrapped_app await app(scope, receive, sender) │ │ │ └ .wrapped_app..sender at 0x000001F600BD1510> │ │ └ .app..app at 0x000001F600BD1360> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 73, in app response = await f(request) │ └ .app at 0x000001F64FAC0EE0> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\fastapi\routing.py", line 301, in app raw_response = await run_endpoint_function( └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\fastapi\routing.py", line 212, in run_endpoint_function return await dependant.call(**values) │ │ └ {'service': , 'request': └ Dependant(path_params=[], query_params=[], header_params=[], cookie_params=[], body_params=[], dependencies=[Dependant(path_p... File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\dependency_injector\wiring.py", line 1072, in _patched return await fn(*args, **kwargs) │ │ └ {'service': , 'request': File "C:\University-HCMUTE\InternFuta\ApiDialogflowChatbot\app\api\v1\trip.py", line 250, in validate_drop_off_selection rs: DialogServiceResult = await service.validate_stop_selection( │ └ TypeError: TripService.validate_stop_selection() got an unexpected keyword argument 'selected' 2025-06-19 10:22:49.633 | ERROR | e2accb90ddfd43ca910bd9221dd87ebd | Exception in ASGI application Traceback (most recent call last): File "", line 1, in File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\spawn.py", line 116, in spawn_main exitcode = _main(fd, parent_sentinel) │ │ └ 364 │ └ 3 └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\spawn.py", line 129, in _main return self._bootstrap(parent_sentinel) │ │ └ 364 │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\process.py", line 315, in _bootstrap self.run() │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\process.py", line 108, in run self._target(*self._args, **self._kwargs) │ │ │ │ │ └ {'config': , 'target': │ │ │ └ () │ │ └ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\_subprocess.py", line 80, in subprocess_started target(sockets=sockets) │ └ [] └ > File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\server.py", line 66, in run return asyncio.run(self.serve(sockets=sockets)) │ │ │ │ └ [] │ │ │ └ │ │ └ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\runners.py", line 44, in run return loop.run_until_complete(main) │ │ └ │ └ └ <_WindowsSelectorEventLoop running=True closed=False debug=False> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 633, in run_until_complete self.run_forever() │ └ └ <_WindowsSelectorEventLoop running=True closed=False debug=False> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 600, in run_forever self._run_once() │ └ └ <_WindowsSelectorEventLoop running=True closed=False debug=False> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 1896, in _run_once handle._run() │ └ )> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\events.py", line 80, in _run self._context.run(self._callback, *self._args) │ │ │ │ │ └ │ │ │ │ └ )> │ │ │ └ │ │ └ )> │ └ )> > File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\protocols\http\h11_impl.py", line 403, in run_asgi result = await app( # type: ignore[func-returns-value] └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\middleware\proxy_headers.py", line 60, in __call__ return await self.app(scope, receive, send) │ │ │ │ └ > │ │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\fastapi\applications.py", line 1054, in __call__ await super().__call__(scope, receive, send) │ │ └ > │ └ > │ │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\errors.py", line 187, in __call__ raise exc File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\errors.py", line 165, in __call__ await self.app(scope, receive, _send) │ │ │ │ └ ._send at 0x000001F600BD17E0> │ │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\cors.py", line 85, in __call__ await self.app(scope, receive, send) │ │ │ │ └ ._send at 0x000001F600BD17E0> │ │ │ └ , header_name='... └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\asgi_correlation_id\middleware.py", line 90, in __call__ await self.app(scope, receive, handle_outgoing_request) │ │ │ │ └ .handle_outgoing_request at 0x000001F600BD1900> │ │ │ └ └ CorrelationIdMiddleware(app=, header_name='... File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\exceptions.py", line 62, in __call__ await wrap_app_handling_exceptions(self.app, conn)(scope, receive, send) │ │ │ │ │ │ └ .handle_outgoing_request at 0x000001F600BD1900> │ │ │ │ │ └ │ │ └ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 53, in wrapped_app raise exc File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 42, in wrapped_app await app(scope, receive, sender) │ │ │ └ .wrapped_app..sender at 0x000001F64FAC1FC0> │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 714, in __call__ await self.middleware_stack(scope, receive, send) │ │ │ │ └ .wrapped_app..sender at 0x000001F64FAC1FC0> │ │ │ └ > └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 734, in app await route.handle(scope, receive, send) │ │ │ │ └ .wrapped_app..sender at 0x000001F64FAC1FC0> │ │ │ └ └ APIRoute(path='/api/v1/trip/ticket', name='show_ticket', methods=['POST']) File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 288, in handle await self.app(scope, receive, send) │ │ │ │ └ .wrapped_app..sender at 0x000001F64FAC1FC0> │ │ │ └ .app at 0x000001F64FAC1090> └ APIRoute(path='/api/v1/trip/ticket', name='show_ticket', methods=['POST']) File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 76, in app await wrap_app_handling_exceptions(app, request)(scope, receive, send) │ │ │ │ │ └ .wrapped_app..sender at 0x000001F64FAC1FC0> │ │ │ │ └ │ └ .app..app at 0x000001F67C99B910> └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 53, in wrapped_app raise exc File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 42, in wrapped_app await app(scope, receive, sender) │ │ │ └ .wrapped_app..sender at 0x000001F67C99ADD0> │ │ └ .app..app at 0x000001F67C99B910> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 73, in app response = await f(request) │ └ .app at 0x000001F64FAC1000> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\fastapi\routing.py", line 301, in app raw_response = await run_endpoint_function( └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\fastapi\routing.py", line 212, in run_endpoint_function return await dependant.call(**values) │ │ └ {'service': , 'request': └ Dependant(path_params=[], query_params=[], header_params=[], cookie_params=[], body_params=[], dependencies=[Dependant(path_p... File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\dependency_injector\wiring.py", line 1072, in _patched return await fn(*args, **kwargs) │ │ └ {'service': , 'request': File "C:\University-HCMUTE\InternFuta\ApiDialogflowChatbot\app\api\v1\trip.py", line 278, in show_ticket rs: DialogServiceResult = await service.make_ticket_summary(data) │ │ └ TicketRequest(user_name='Đại', phone_number='0987654321', email='vdai234@gmail.com', seat='A04', pickup='DUC TRONG', dropoff=... │ └ )> └ File "C:\University-HCMUTE\InternFuta\ApiDialogflowChatbot\app\dialogflow\services\trip_service.py", line 527, in make_ticket_summary if not ticket or not ticket.trip: │ └ TicketRequest(user_name='Đại', phone_number='0987654321', email='vdai234@gmail.com', seat='A04', pickup='DUC TRONG', dropoff=... └ TicketRequest(user_name='Đại', phone_number='0987654321', email='vdai234@gmail.com', seat='A04', pickup='DUC TRONG', dropoff=... File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\pydantic\main.py", line 994, in __getattr__ raise AttributeError(f'{type(self).__name__!r} object has no attribute {item!r}') AttributeError: 'TicketRequest' object has no attribute 'trip' 2025-06-19 10:22:50.323 | ERROR | 3a73833d16ae436187ac969252a04fe1 | Exception in ASGI application Traceback (most recent call last): File "", line 1, in File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\spawn.py", line 116, in spawn_main exitcode = _main(fd, parent_sentinel) │ │ └ 364 │ └ 3 └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\spawn.py", line 129, in _main return self._bootstrap(parent_sentinel) │ │ └ 364 │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\process.py", line 315, in _bootstrap self.run() │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\process.py", line 108, in run self._target(*self._args, **self._kwargs) │ │ │ │ │ └ {'config': , 'target': │ │ │ └ () │ │ └ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\_subprocess.py", line 80, in subprocess_started target(sockets=sockets) │ └ [] └ > File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\server.py", line 66, in run return asyncio.run(self.serve(sockets=sockets)) │ │ │ │ └ [] │ │ │ └ │ │ └ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\runners.py", line 44, in run return loop.run_until_complete(main) │ │ └ │ └ └ <_WindowsSelectorEventLoop running=True closed=False debug=False> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 633, in run_until_complete self.run_forever() │ └ └ <_WindowsSelectorEventLoop running=True closed=False debug=False> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 600, in run_forever self._run_once() │ └ └ <_WindowsSelectorEventLoop running=True closed=False debug=False> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 1896, in _run_once handle._run() │ └ )> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\events.py", line 80, in _run self._context.run(self._callback, *self._args) │ │ │ │ │ └ │ │ │ │ └ )> │ │ │ └ │ │ └ )> │ └ )> > File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\protocols\http\h11_impl.py", line 403, in run_asgi result = await app( # type: ignore[func-returns-value] └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\middleware\proxy_headers.py", line 60, in __call__ return await self.app(scope, receive, send) │ │ │ │ └ > │ │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\fastapi\applications.py", line 1054, in __call__ await super().__call__(scope, receive, send) │ │ └ > │ └ > │ │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\errors.py", line 187, in __call__ raise exc File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\errors.py", line 165, in __call__ await self.app(scope, receive, _send) │ │ │ │ └ ._send at 0x000001F67CA9F910> │ │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\cors.py", line 85, in __call__ await self.app(scope, receive, send) │ │ │ │ └ ._send at 0x000001F67CA9F910> │ │ │ └ , header_name='... └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\asgi_correlation_id\middleware.py", line 90, in __call__ await self.app(scope, receive, handle_outgoing_request) │ │ │ │ └ .handle_outgoing_request at 0x000001F67CA9FA30> │ │ │ └ └ CorrelationIdMiddleware(app=, header_name='... File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\exceptions.py", line 62, in __call__ await wrap_app_handling_exceptions(self.app, conn)(scope, receive, send) │ │ │ │ │ │ └ .handle_outgoing_request at 0x000001F67CA9FA30> │ │ │ │ │ └ │ │ └ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 53, in wrapped_app raise exc File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 42, in wrapped_app await app(scope, receive, sender) │ │ │ └ .wrapped_app..sender at 0x000001F600C1B490> │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 714, in __call__ await self.middleware_stack(scope, receive, send) │ │ │ │ └ .wrapped_app..sender at 0x000001F600C1B490> │ │ │ └ > └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 734, in app await route.handle(scope, receive, send) │ │ │ │ └ .wrapped_app..sender at 0x000001F600C1B490> │ │ │ └ └ APIRoute(path='/api/v1/trip/ticket', name='show_ticket', methods=['POST']) File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 288, in handle await self.app(scope, receive, send) │ │ │ │ └ .wrapped_app..sender at 0x000001F600C1B490> │ │ │ └ .app at 0x000001F64FAC1090> └ APIRoute(path='/api/v1/trip/ticket', name='show_ticket', methods=['POST']) File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 76, in app await wrap_app_handling_exceptions(app, request)(scope, receive, send) │ │ │ │ │ └ .wrapped_app..sender at 0x000001F600C1B490> │ │ │ │ └ │ └ .app..app at 0x000001F600C1B760> └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 53, in wrapped_app raise exc File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 42, in wrapped_app await app(scope, receive, sender) │ │ │ └ .wrapped_app..sender at 0x000001F600C1B640> │ │ └ .app..app at 0x000001F600C1B760> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 73, in app response = await f(request) │ └ .app at 0x000001F64FAC1000> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\fastapi\routing.py", line 301, in app raw_response = await run_endpoint_function( └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\fastapi\routing.py", line 212, in run_endpoint_function return await dependant.call(**values) │ │ └ {'service': , 'request': └ Dependant(path_params=[], query_params=[], header_params=[], cookie_params=[], body_params=[], dependencies=[Dependant(path_p... File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\dependency_injector\wiring.py", line 1072, in _patched return await fn(*args, **kwargs) │ │ └ {'service': , 'request': File "C:\University-HCMUTE\InternFuta\ApiDialogflowChatbot\app\api\v1\trip.py", line 278, in show_ticket rs: DialogServiceResult = await service.make_ticket_summary(data) │ │ └ TicketRequest(user_name='Đại', phone_number='0987654321', email='vdai234@gmail.com', seat='A04', pickup='DUC TRONG', dropoff=... │ └ )> └ File "C:\University-HCMUTE\InternFuta\ApiDialogflowChatbot\app\dialogflow\services\trip_service.py", line 527, in make_ticket_summary if not ticket or not ticket.trip: │ └ TicketRequest(user_name='Đại', phone_number='0987654321', email='vdai234@gmail.com', seat='A04', pickup='DUC TRONG', dropoff=... └ TicketRequest(user_name='Đại', phone_number='0987654321', email='vdai234@gmail.com', seat='A04', pickup='DUC TRONG', dropoff=... File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\pydantic\main.py", line 994, in __getattr__ raise AttributeError(f'{type(self).__name__!r} object has no attribute {item!r}') AttributeError: 'TicketRequest' object has no attribute 'trip' 2025-06-19 10:24:34.950 | ERROR | 8fedbb52ccd04525812b6080e76a3056 | Exception in ASGI application Traceback (most recent call last): File "", line 1, in File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\spawn.py", line 116, in spawn_main exitcode = _main(fd, parent_sentinel) │ │ └ 340 │ └ 3 └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\spawn.py", line 129, in _main return self._bootstrap(parent_sentinel) │ │ └ 340 │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\process.py", line 315, in _bootstrap self.run() │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\process.py", line 108, in run self._target(*self._args, **self._kwargs) │ │ │ │ │ └ {'config': , 'target': │ │ │ └ () │ │ └ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\_subprocess.py", line 80, in subprocess_started target(sockets=sockets) │ └ [] └ > File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\server.py", line 66, in run return asyncio.run(self.serve(sockets=sockets)) │ │ │ │ └ [] │ │ │ └ │ │ └ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\runners.py", line 44, in run return loop.run_until_complete(main) │ │ └ │ └ └ <_WindowsSelectorEventLoop running=True closed=False debug=False> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 633, in run_until_complete self.run_forever() │ └ └ <_WindowsSelectorEventLoop running=True closed=False debug=False> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 600, in run_forever self._run_once() │ └ └ <_WindowsSelectorEventLoop running=True closed=False debug=False> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 1896, in _run_once handle._run() │ └ )> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\events.py", line 80, in _run self._context.run(self._callback, *self._args) │ │ │ │ │ └ │ │ │ │ └ )> │ │ │ └ │ │ └ )> │ └ )> > File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\protocols\http\h11_impl.py", line 403, in run_asgi result = await app( # type: ignore[func-returns-value] └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\middleware\proxy_headers.py", line 60, in __call__ return await self.app(scope, receive, send) │ │ │ │ └ > │ │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\fastapi\applications.py", line 1054, in __call__ await super().__call__(scope, receive, send) │ │ └ > │ └ > │ │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\errors.py", line 187, in __call__ raise exc File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\errors.py", line 165, in __call__ await self.app(scope, receive, _send) │ │ │ │ └ ._send at 0x000001E3C17C5FC0> │ │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\cors.py", line 85, in __call__ await self.app(scope, receive, send) │ │ │ │ └ ._send at 0x000001E3C17C5FC0> │ │ │ └ , header_name='... └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\asgi_correlation_id\middleware.py", line 90, in __call__ await self.app(scope, receive, handle_outgoing_request) │ │ │ │ └ .handle_outgoing_request at 0x000001E3EE7A3E20> │ │ │ └ └ CorrelationIdMiddleware(app=, header_name='... File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\exceptions.py", line 62, in __call__ await wrap_app_handling_exceptions(self.app, conn)(scope, receive, send) │ │ │ │ │ │ └ .handle_outgoing_request at 0x000001E3EE7A3E20> │ │ │ │ │ └ │ │ └ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 53, in wrapped_app raise exc File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 42, in wrapped_app await app(scope, receive, sender) │ │ │ └ .wrapped_app..sender at 0x000001E3EE7A3C70> │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 714, in __call__ await self.middleware_stack(scope, receive, send) │ │ │ │ └ .wrapped_app..sender at 0x000001E3EE7A3C70> │ │ │ └ > └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 734, in app await route.handle(scope, receive, send) │ │ │ │ └ .wrapped_app..sender at 0x000001E3EE7A3C70> │ │ │ └ └ APIRoute(path='/api/v1/trip/drop-off/validate-selection', name='validate_drop_off_selection', methods=['POST']) File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 288, in handle await self.app(scope, receive, send) │ │ │ │ └ .wrapped_app..sender at 0x000001E3EE7A3C70> │ │ │ └ .app at 0x000001E3C17C4F70> └ APIRoute(path='/api/v1/trip/drop-off/validate-selection', name='validate_drop_off_selection', methods=['POST']) File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 76, in app await wrap_app_handling_exceptions(app, request)(scope, receive, send) │ │ │ │ │ └ .wrapped_app..sender at 0x000001E3EE7A3C70> │ │ │ │ └ │ └ .app..app at 0x000001E3EE7A3EB0> └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 53, in wrapped_app raise exc File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 42, in wrapped_app await app(scope, receive, sender) │ │ │ └ .wrapped_app..sender at 0x000001E3EE7A3AC0> │ │ └ .app..app at 0x000001E3EE7A3EB0> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 73, in app response = await f(request) │ └ .app at 0x000001E3C17C4EE0> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\fastapi\routing.py", line 301, in app raw_response = await run_endpoint_function( └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\fastapi\routing.py", line 212, in run_endpoint_function return await dependant.call(**values) │ │ └ {'service': , 'request': └ Dependant(path_params=[], query_params=[], header_params=[], cookie_params=[], body_params=[], dependencies=[Dependant(path_p... File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\dependency_injector\wiring.py", line 1072, in _patched return await fn(*args, **kwargs) │ │ └ {'service': , 'request': File "C:\University-HCMUTE\InternFuta\ApiDialogflowChatbot\app\api\v1\trip.py", line 250, in validate_drop_off_selection rs: DialogServiceResult = await service.validate_stop_selection( │ └ TypeError: TripService.validate_stop_selection() got an unexpected keyword argument 'selected' 2025-06-19 10:24:35.650 | ERROR | b6095301f7344d34bdfce2e327d549d1 | Exception in ASGI application Traceback (most recent call last): File "", line 1, in File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\spawn.py", line 116, in spawn_main exitcode = _main(fd, parent_sentinel) │ │ └ 340 │ └ 3 └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\spawn.py", line 129, in _main return self._bootstrap(parent_sentinel) │ │ └ 340 │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\process.py", line 315, in _bootstrap self.run() │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\process.py", line 108, in run self._target(*self._args, **self._kwargs) │ │ │ │ │ └ {'config': , 'target': │ │ │ └ () │ │ └ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\_subprocess.py", line 80, in subprocess_started target(sockets=sockets) │ └ [] └ > File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\server.py", line 66, in run return asyncio.run(self.serve(sockets=sockets)) │ │ │ │ └ [] │ │ │ └ │ │ └ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\runners.py", line 44, in run return loop.run_until_complete(main) │ │ └ │ └ └ <_WindowsSelectorEventLoop running=True closed=False debug=False> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 633, in run_until_complete self.run_forever() │ └ └ <_WindowsSelectorEventLoop running=True closed=False debug=False> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 600, in run_forever self._run_once() │ └ └ <_WindowsSelectorEventLoop running=True closed=False debug=False> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 1896, in _run_once handle._run() │ └ )> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\events.py", line 80, in _run self._context.run(self._callback, *self._args) │ │ │ │ │ └ │ │ │ │ └ )> │ │ │ └ │ │ └ )> │ └ )> > File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\protocols\http\h11_impl.py", line 403, in run_asgi result = await app( # type: ignore[func-returns-value] └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\middleware\proxy_headers.py", line 60, in __call__ return await self.app(scope, receive, send) │ │ │ │ └ > │ │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\fastapi\applications.py", line 1054, in __call__ await super().__call__(scope, receive, send) │ │ └ > │ └ > │ │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\errors.py", line 187, in __call__ raise exc File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\errors.py", line 165, in __call__ await self.app(scope, receive, _send) │ │ │ │ └ ._send at 0x000001E380C513F0> │ │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\cors.py", line 85, in __call__ await self.app(scope, receive, send) │ │ │ │ └ ._send at 0x000001E380C513F0> │ │ │ └ , header_name='... └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\asgi_correlation_id\middleware.py", line 90, in __call__ await self.app(scope, receive, handle_outgoing_request) │ │ │ │ └ .handle_outgoing_request at 0x000001E380C51510> │ │ │ └ └ CorrelationIdMiddleware(app=, header_name='... File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\exceptions.py", line 62, in __call__ await wrap_app_handling_exceptions(self.app, conn)(scope, receive, send) │ │ │ │ │ │ └ .handle_outgoing_request at 0x000001E380C51510> │ │ │ │ │ └ │ │ └ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 53, in wrapped_app raise exc File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 42, in wrapped_app await app(scope, receive, sender) │ │ │ └ .wrapped_app..sender at 0x000001E380C515A0> │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 714, in __call__ await self.middleware_stack(scope, receive, send) │ │ │ │ └ .wrapped_app..sender at 0x000001E380C515A0> │ │ │ └ > └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 734, in app await route.handle(scope, receive, send) │ │ │ │ └ .wrapped_app..sender at 0x000001E380C515A0> │ │ │ └ └ APIRoute(path='/api/v1/trip/drop-off/validate-selection', name='validate_drop_off_selection', methods=['POST']) File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 288, in handle await self.app(scope, receive, send) │ │ │ │ └ .wrapped_app..sender at 0x000001E380C515A0> │ │ │ └ .app at 0x000001E3C17C4F70> └ APIRoute(path='/api/v1/trip/drop-off/validate-selection', name='validate_drop_off_selection', methods=['POST']) File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 76, in app await wrap_app_handling_exceptions(app, request)(scope, receive, send) │ │ │ │ │ └ .wrapped_app..sender at 0x000001E380C515A0> │ │ │ │ └ │ └ .app..app at 0x000001E380C51480> └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 53, in wrapped_app raise exc File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 42, in wrapped_app await app(scope, receive, sender) │ │ │ └ .wrapped_app..sender at 0x000001E380C51630> │ │ └ .app..app at 0x000001E380C51480> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 73, in app response = await f(request) │ └ .app at 0x000001E3C17C4EE0> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\fastapi\routing.py", line 301, in app raw_response = await run_endpoint_function( └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\fastapi\routing.py", line 212, in run_endpoint_function return await dependant.call(**values) │ │ └ {'service': , 'request': └ Dependant(path_params=[], query_params=[], header_params=[], cookie_params=[], body_params=[], dependencies=[Dependant(path_p... File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\dependency_injector\wiring.py", line 1072, in _patched return await fn(*args, **kwargs) │ │ └ {'service': , 'request': File "C:\University-HCMUTE\InternFuta\ApiDialogflowChatbot\app\api\v1\trip.py", line 250, in validate_drop_off_selection rs: DialogServiceResult = await service.validate_stop_selection( │ └ TypeError: TripService.validate_stop_selection() got an unexpected keyword argument 'selected' 2025-06-19 10:24:36.501 | ERROR | 1175511dd0344146aea9437f7446f049 | Exception in ASGI application Traceback (most recent call last): File "", line 1, in File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\spawn.py", line 116, in spawn_main exitcode = _main(fd, parent_sentinel) │ │ └ 340 │ └ 3 └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\spawn.py", line 129, in _main return self._bootstrap(parent_sentinel) │ │ └ 340 │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\process.py", line 315, in _bootstrap self.run() │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\process.py", line 108, in run self._target(*self._args, **self._kwargs) │ │ │ │ │ └ {'config': , 'target': │ │ │ └ () │ │ └ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\_subprocess.py", line 80, in subprocess_started target(sockets=sockets) │ └ [] └ > File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\server.py", line 66, in run return asyncio.run(self.serve(sockets=sockets)) │ │ │ │ └ [] │ │ │ └ │ │ └ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\runners.py", line 44, in run return loop.run_until_complete(main) │ │ └ │ └ └ <_WindowsSelectorEventLoop running=True closed=False debug=False> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 633, in run_until_complete self.run_forever() │ └ └ <_WindowsSelectorEventLoop running=True closed=False debug=False> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 600, in run_forever self._run_once() │ └ └ <_WindowsSelectorEventLoop running=True closed=False debug=False> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 1896, in _run_once handle._run() │ └ )> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\events.py", line 80, in _run self._context.run(self._callback, *self._args) │ │ │ │ │ └ │ │ │ │ └ )> │ │ │ └ │ │ └ )> │ └ )> > File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\protocols\http\h11_impl.py", line 403, in run_asgi result = await app( # type: ignore[func-returns-value] └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\middleware\proxy_headers.py", line 60, in __call__ return await self.app(scope, receive, send) │ │ │ │ └ > │ │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\fastapi\applications.py", line 1054, in __call__ await super().__call__(scope, receive, send) │ │ └ > │ └ > │ │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\errors.py", line 187, in __call__ raise exc File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\errors.py", line 165, in __call__ await self.app(scope, receive, _send) │ │ │ │ └ ._send at 0x000001E3EE69B910> │ │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\cors.py", line 85, in __call__ await self.app(scope, receive, send) │ │ │ │ └ ._send at 0x000001E3EE69B910> │ │ │ └ , header_name='... └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\asgi_correlation_id\middleware.py", line 90, in __call__ await self.app(scope, receive, handle_outgoing_request) │ │ │ │ └ .handle_outgoing_request at 0x000001E380C51900> │ │ │ └ └ CorrelationIdMiddleware(app=, header_name='... File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\exceptions.py", line 62, in __call__ await wrap_app_handling_exceptions(self.app, conn)(scope, receive, send) │ │ │ │ │ │ └ .handle_outgoing_request at 0x000001E380C51900> │ │ │ │ │ └ │ │ └ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 53, in wrapped_app raise exc File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 42, in wrapped_app await app(scope, receive, sender) │ │ │ └ .wrapped_app..sender at 0x000001E380C51A20> │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 714, in __call__ await self.middleware_stack(scope, receive, send) │ │ │ │ └ .wrapped_app..sender at 0x000001E380C51A20> │ │ │ └ > └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 734, in app await route.handle(scope, receive, send) │ │ │ │ └ .wrapped_app..sender at 0x000001E380C51A20> │ │ │ └ └ APIRoute(path='/api/v1/trip/ticket', name='show_ticket', methods=['POST']) File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 288, in handle await self.app(scope, receive, send) │ │ │ │ └ .wrapped_app..sender at 0x000001E380C51A20> │ │ │ └ .app at 0x000001E3C17C5090> └ APIRoute(path='/api/v1/trip/ticket', name='show_ticket', methods=['POST']) File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 76, in app await wrap_app_handling_exceptions(app, request)(scope, receive, send) │ │ │ │ │ └ .wrapped_app..sender at 0x000001E380C51A20> │ │ │ │ └ │ └ .app..app at 0x000001E380C51C60> └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 53, in wrapped_app raise exc File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 42, in wrapped_app await app(scope, receive, sender) │ │ │ └ .wrapped_app..sender at 0x000001E380C51B40> │ │ └ .app..app at 0x000001E380C51C60> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 73, in app response = await f(request) │ └ .app at 0x000001E3C17C5000> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\fastapi\routing.py", line 301, in app raw_response = await run_endpoint_function( └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\fastapi\routing.py", line 212, in run_endpoint_function return await dependant.call(**values) │ │ └ {'service': , 'request': └ Dependant(path_params=[], query_params=[], header_params=[], cookie_params=[], body_params=[], dependencies=[Dependant(path_p... File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\dependency_injector\wiring.py", line 1072, in _patched return await fn(*args, **kwargs) │ │ └ {'service': , 'request': File "C:\University-HCMUTE\InternFuta\ApiDialogflowChatbot\app\api\v1\trip.py", line 278, in show_ticket rs: DialogServiceResult = await service.make_ticket_summary(data) │ │ └ TicketRequest(user_name='Đại', phone_number='0987654321', email='vdai234@gmail.com', seat='A04', pickup='DUC TRONG', dropoff=... │ └ )> └ File "C:\University-HCMUTE\InternFuta\ApiDialogflowChatbot\app\dialogflow\services\trip_service.py", line 537, in make_ticket_summary **Tuyến xe** {ticket.trip.route.name} \n\ └ TicketRequest(user_name='Đại', phone_number='0987654321', email='vdai234@gmail.com', seat='A04', pickup='DUC TRONG', dropoff=... File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\pydantic\main.py", line 994, in __getattr__ raise AttributeError(f'{type(self).__name__!r} object has no attribute {item!r}') AttributeError: 'TicketRequest' object has no attribute 'trip' 2025-06-19 10:24:37.278 | ERROR | 596efc72117c44de97da177096856f3a | Exception in ASGI application Traceback (most recent call last): File "", line 1, in File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\spawn.py", line 116, in spawn_main exitcode = _main(fd, parent_sentinel) │ │ └ 340 │ └ 3 └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\spawn.py", line 129, in _main return self._bootstrap(parent_sentinel) │ │ └ 340 │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\process.py", line 315, in _bootstrap self.run() │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\process.py", line 108, in run self._target(*self._args, **self._kwargs) │ │ │ │ │ └ {'config': , 'target': │ │ │ └ () │ │ └ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\_subprocess.py", line 80, in subprocess_started target(sockets=sockets) │ └ [] └ > File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\server.py", line 66, in run return asyncio.run(self.serve(sockets=sockets)) │ │ │ │ └ [] │ │ │ └ │ │ └ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\runners.py", line 44, in run return loop.run_until_complete(main) │ │ └ │ └ └ <_WindowsSelectorEventLoop running=True closed=False debug=False> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 633, in run_until_complete self.run_forever() │ └ └ <_WindowsSelectorEventLoop running=True closed=False debug=False> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 600, in run_forever self._run_once() │ └ └ <_WindowsSelectorEventLoop running=True closed=False debug=False> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 1896, in _run_once handle._run() │ └ )> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\events.py", line 80, in _run self._context.run(self._callback, *self._args) │ │ │ │ │ └ │ │ │ │ └ )> │ │ │ └ │ │ └ )> │ └ )> > File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\protocols\http\h11_impl.py", line 403, in run_asgi result = await app( # type: ignore[func-returns-value] └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\middleware\proxy_headers.py", line 60, in __call__ return await self.app(scope, receive, send) │ │ │ │ └ > │ │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\fastapi\applications.py", line 1054, in __call__ await super().__call__(scope, receive, send) │ │ └ > │ └ > │ │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\errors.py", line 187, in __call__ raise exc File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\errors.py", line 165, in __call__ await self.app(scope, receive, _send) │ │ │ │ └ ._send at 0x000001E380C51E10> │ │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\cors.py", line 85, in __call__ await self.app(scope, receive, send) │ │ │ │ └ ._send at 0x000001E380C51E10> │ │ │ └ , header_name='... └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\asgi_correlation_id\middleware.py", line 90, in __call__ await self.app(scope, receive, handle_outgoing_request) │ │ │ │ └ .handle_outgoing_request at 0x000001E380C51EA0> │ │ │ └ └ CorrelationIdMiddleware(app=, header_name='... File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\exceptions.py", line 62, in __call__ await wrap_app_handling_exceptions(self.app, conn)(scope, receive, send) │ │ │ │ │ │ └ .handle_outgoing_request at 0x000001E380C51EA0> │ │ │ │ │ └ │ │ └ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 53, in wrapped_app raise exc File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 42, in wrapped_app await app(scope, receive, sender) │ │ │ └ .wrapped_app..sender at 0x000001E380C480D0> │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 714, in __call__ await self.middleware_stack(scope, receive, send) │ │ │ │ └ .wrapped_app..sender at 0x000001E380C480D0> │ │ │ └ > └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 734, in app await route.handle(scope, receive, send) │ │ │ │ └ .wrapped_app..sender at 0x000001E380C480D0> │ │ │ └ └ APIRoute(path='/api/v1/trip/ticket', name='show_ticket', methods=['POST']) File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 288, in handle await self.app(scope, receive, send) │ │ │ │ └ .wrapped_app..sender at 0x000001E380C480D0> │ │ │ └ .app at 0x000001E3C17C5090> └ APIRoute(path='/api/v1/trip/ticket', name='show_ticket', methods=['POST']) File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 76, in app await wrap_app_handling_exceptions(app, request)(scope, receive, send) │ │ │ │ │ └ .wrapped_app..sender at 0x000001E380C480D0> │ │ │ │ └ │ └ .app..app at 0x000001E380C483A0> └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 53, in wrapped_app raise exc File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 42, in wrapped_app await app(scope, receive, sender) │ │ │ └ .wrapped_app..sender at 0x000001E380C48280> │ │ └ .app..app at 0x000001E380C483A0> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 73, in app response = await f(request) │ └ .app at 0x000001E3C17C5000> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\fastapi\routing.py", line 301, in app raw_response = await run_endpoint_function( └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\fastapi\routing.py", line 212, in run_endpoint_function return await dependant.call(**values) │ │ └ {'service': , 'request': └ Dependant(path_params=[], query_params=[], header_params=[], cookie_params=[], body_params=[], dependencies=[Dependant(path_p... File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\dependency_injector\wiring.py", line 1072, in _patched return await fn(*args, **kwargs) │ │ └ {'service': , 'request': File "C:\University-HCMUTE\InternFuta\ApiDialogflowChatbot\app\api\v1\trip.py", line 278, in show_ticket rs: DialogServiceResult = await service.make_ticket_summary(data) │ │ └ TicketRequest(user_name='Đại', phone_number='0987654321', email='vdai234@gmail.com', seat='A04', pickup='DUC TRONG', dropoff=... │ └ )> └ File "C:\University-HCMUTE\InternFuta\ApiDialogflowChatbot\app\dialogflow\services\trip_service.py", line 537, in make_ticket_summary **Tuyến xe** {ticket.trip.route.name} \n\ └ TicketRequest(user_name='Đại', phone_number='0987654321', email='vdai234@gmail.com', seat='A04', pickup='DUC TRONG', dropoff=... File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\pydantic\main.py", line 994, in __getattr__ raise AttributeError(f'{type(self).__name__!r} object has no attribute {item!r}') AttributeError: 'TicketRequest' object has no attribute 'trip' 2025-06-19 10:26:20.928 | ERROR | 0915f39d06c94a6cacf42ea4483ad73b | Exception in ASGI application Traceback (most recent call last): File "", line 1, in File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\spawn.py", line 116, in spawn_main exitcode = _main(fd, parent_sentinel) │ │ └ 352 │ └ 3 └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\spawn.py", line 129, in _main return self._bootstrap(parent_sentinel) │ │ └ 352 │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\process.py", line 315, in _bootstrap self.run() │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\process.py", line 108, in run self._target(*self._args, **self._kwargs) │ │ │ │ │ └ {'config': , 'target': │ │ │ └ () │ │ └ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\_subprocess.py", line 80, in subprocess_started target(sockets=sockets) │ └ [] └ > File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\server.py", line 66, in run return asyncio.run(self.serve(sockets=sockets)) │ │ │ │ └ [] │ │ │ └ │ │ └ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\runners.py", line 44, in run return loop.run_until_complete(main) │ │ └ │ └ └ <_WindowsSelectorEventLoop running=True closed=False debug=False> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 633, in run_until_complete self.run_forever() │ └ └ <_WindowsSelectorEventLoop running=True closed=False debug=False> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 600, in run_forever self._run_once() │ └ └ <_WindowsSelectorEventLoop running=True closed=False debug=False> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 1896, in _run_once handle._run() │ └ )> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\events.py", line 80, in _run self._context.run(self._callback, *self._args) │ │ │ │ │ └ │ │ │ │ └ )> │ │ │ └ │ │ └ )> │ └ )> > File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\protocols\http\h11_impl.py", line 403, in run_asgi result = await app( # type: ignore[func-returns-value] └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\middleware\proxy_headers.py", line 60, in __call__ return await self.app(scope, receive, send) │ │ │ │ └ > │ │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\fastapi\applications.py", line 1054, in __call__ await super().__call__(scope, receive, send) │ │ └ > │ └ > │ │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\errors.py", line 187, in __call__ raise exc File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\errors.py", line 165, in __call__ await self.app(scope, receive, _send) │ │ │ │ └ ._send at 0x000002A5DF0544C0> │ │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\cors.py", line 85, in __call__ await self.app(scope, receive, send) │ │ │ │ └ ._send at 0x000002A5DF0544C0> │ │ │ └ , header_name='... └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\asgi_correlation_id\middleware.py", line 90, in __call__ await self.app(scope, receive, handle_outgoing_request) │ │ │ │ └ .handle_outgoing_request at 0x000002A5B20E5FC0> │ │ │ └ └ CorrelationIdMiddleware(app=, header_name='... File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\exceptions.py", line 62, in __call__ await wrap_app_handling_exceptions(self.app, conn)(scope, receive, send) │ │ │ │ │ │ └ .handle_outgoing_request at 0x000002A5B20E5FC0> │ │ │ │ │ └ │ │ └ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 53, in wrapped_app raise exc File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 42, in wrapped_app await app(scope, receive, sender) │ │ │ └ .wrapped_app..sender at 0x000002A5DEFBB1C0> │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 714, in __call__ await self.middleware_stack(scope, receive, send) │ │ │ │ └ .wrapped_app..sender at 0x000002A5DEFBB1C0> │ │ │ └ > └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 734, in app await route.handle(scope, receive, send) │ │ │ │ └ .wrapped_app..sender at 0x000002A5DEFBB1C0> │ │ │ └ └ APIRoute(path='/api/v1/trip/drop-off/validate-selection', name='validate_drop_off_selection', methods=['POST']) File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 288, in handle await self.app(scope, receive, send) │ │ │ │ └ .wrapped_app..sender at 0x000002A5DEFBB1C0> │ │ │ └ .app at 0x000002A5B20E4F70> └ APIRoute(path='/api/v1/trip/drop-off/validate-selection', name='validate_drop_off_selection', methods=['POST']) File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 76, in app await wrap_app_handling_exceptions(app, request)(scope, receive, send) │ │ │ │ │ └ .wrapped_app..sender at 0x000002A5DEFBB1C0> │ │ │ │ └ │ └ .app..app at 0x000002A5DEFBB130> └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 53, in wrapped_app raise exc File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 42, in wrapped_app await app(scope, receive, sender) │ │ │ └ .wrapped_app..sender at 0x000002A5DEFBB010> │ │ └ .app..app at 0x000002A5DEFBB130> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 73, in app response = await f(request) │ └ .app at 0x000002A5B20E4EE0> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\fastapi\routing.py", line 301, in app raw_response = await run_endpoint_function( └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\fastapi\routing.py", line 212, in run_endpoint_function return await dependant.call(**values) │ │ └ {'service': , 'request': └ Dependant(path_params=[], query_params=[], header_params=[], cookie_params=[], body_params=[], dependencies=[Dependant(path_p... File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\dependency_injector\wiring.py", line 1072, in _patched return await fn(*args, **kwargs) │ │ └ {'service': , 'request': File "C:\University-HCMUTE\InternFuta\ApiDialogflowChatbot\app\api\v1\trip.py", line 250, in validate_drop_off_selection rs: DialogServiceResult = await service.validate_stop_selection( │ └ TypeError: TripService.validate_stop_selection() got an unexpected keyword argument 'selected' 2025-06-19 10:26:21.654 | ERROR | 7f7a4e9d7af1413295e4582a7865bd4b | Exception in ASGI application Traceback (most recent call last): File "", line 1, in File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\spawn.py", line 116, in spawn_main exitcode = _main(fd, parent_sentinel) │ │ └ 352 │ └ 3 └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\spawn.py", line 129, in _main return self._bootstrap(parent_sentinel) │ │ └ 352 │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\process.py", line 315, in _bootstrap self.run() │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\process.py", line 108, in run self._target(*self._args, **self._kwargs) │ │ │ │ │ └ {'config': , 'target': │ │ │ └ () │ │ └ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\_subprocess.py", line 80, in subprocess_started target(sockets=sockets) │ └ [] └ > File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\server.py", line 66, in run return asyncio.run(self.serve(sockets=sockets)) │ │ │ │ └ [] │ │ │ └ │ │ └ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\runners.py", line 44, in run return loop.run_until_complete(main) │ │ └ │ └ └ <_WindowsSelectorEventLoop running=True closed=False debug=False> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 633, in run_until_complete self.run_forever() │ └ └ <_WindowsSelectorEventLoop running=True closed=False debug=False> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 600, in run_forever self._run_once() │ └ └ <_WindowsSelectorEventLoop running=True closed=False debug=False> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 1896, in _run_once handle._run() │ └ )> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\events.py", line 80, in _run self._context.run(self._callback, *self._args) │ │ │ │ │ └ │ │ │ │ └ )> │ │ │ └ │ │ └ )> │ └ )> > File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\protocols\http\h11_impl.py", line 403, in run_asgi result = await app( # type: ignore[func-returns-value] └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\middleware\proxy_headers.py", line 60, in __call__ return await self.app(scope, receive, send) │ │ │ │ └ > │ │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\fastapi\applications.py", line 1054, in __call__ await super().__call__(scope, receive, send) │ │ └ > │ └ > │ │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\errors.py", line 187, in __call__ raise exc File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\errors.py", line 165, in __call__ await self.app(scope, receive, _send) │ │ │ │ └ ._send at 0x000002A5F69712D0> │ │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\cors.py", line 85, in __call__ await self.app(scope, receive, send) │ │ │ │ └ ._send at 0x000002A5F69712D0> │ │ │ └ , header_name='... └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\asgi_correlation_id\middleware.py", line 90, in __call__ await self.app(scope, receive, handle_outgoing_request) │ │ │ │ └ .handle_outgoing_request at 0x000002A5F69713F0> │ │ │ └ └ CorrelationIdMiddleware(app=, header_name='... File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\exceptions.py", line 62, in __call__ await wrap_app_handling_exceptions(self.app, conn)(scope, receive, send) │ │ │ │ │ │ └ .handle_outgoing_request at 0x000002A5F69713F0> │ │ │ │ │ └ │ │ └ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 53, in wrapped_app raise exc File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 42, in wrapped_app await app(scope, receive, sender) │ │ │ └ .wrapped_app..sender at 0x000002A5F6971480> │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 714, in __call__ await self.middleware_stack(scope, receive, send) │ │ │ │ └ .wrapped_app..sender at 0x000002A5F6971480> │ │ │ └ > └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 734, in app await route.handle(scope, receive, send) │ │ │ │ └ .wrapped_app..sender at 0x000002A5F6971480> │ │ │ └ └ APIRoute(path='/api/v1/trip/drop-off/validate-selection', name='validate_drop_off_selection', methods=['POST']) File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 288, in handle await self.app(scope, receive, send) │ │ │ │ └ .wrapped_app..sender at 0x000002A5F6971480> │ │ │ └ .app at 0x000002A5B20E4F70> └ APIRoute(path='/api/v1/trip/drop-off/validate-selection', name='validate_drop_off_selection', methods=['POST']) File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 76, in app await wrap_app_handling_exceptions(app, request)(scope, receive, send) │ │ │ │ │ └ .wrapped_app..sender at 0x000002A5F6971480> │ │ │ │ └ │ └ .app..app at 0x000002A5F6971360> └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 53, in wrapped_app raise exc File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 42, in wrapped_app await app(scope, receive, sender) │ │ │ └ .wrapped_app..sender at 0x000002A5F6971510> │ │ └ .app..app at 0x000002A5F6971360> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 73, in app response = await f(request) │ └ .app at 0x000002A5B20E4EE0> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\fastapi\routing.py", line 301, in app raw_response = await run_endpoint_function( └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\fastapi\routing.py", line 212, in run_endpoint_function return await dependant.call(**values) │ │ └ {'service': , 'request': └ Dependant(path_params=[], query_params=[], header_params=[], cookie_params=[], body_params=[], dependencies=[Dependant(path_p... File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\dependency_injector\wiring.py", line 1072, in _patched return await fn(*args, **kwargs) │ │ └ {'service': , 'request': File "C:\University-HCMUTE\InternFuta\ApiDialogflowChatbot\app\api\v1\trip.py", line 250, in validate_drop_off_selection rs: DialogServiceResult = await service.validate_stop_selection( │ └ TypeError: TripService.validate_stop_selection() got an unexpected keyword argument 'selected' 2025-06-19 10:29:24.511 | ERROR | - | Traceback (most recent call last): File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\runners.py", line 44, in run return loop.run_until_complete(main) File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 633, in run_until_complete self.run_forever() File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 600, in run_forever self._run_once() File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 1896, in _run_once handle._run() File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\events.py", line 80, in _run self._context.run(self._callback, *self._args) File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\server.py", line 69, in serve with self.capture_signals(): File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\contextlib.py", line 142, in __exit__ next(self.gen) File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\server.py", line 330, in capture_signals signal.raise_signal(captured_signal) KeyboardInterrupt During handling of the above exception, another exception occurred: Traceback (most recent call last): File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 699, in lifespan await receive() File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\lifespan\on.py", line 137, in receive return await self.receive_queue.get() File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\queues.py", line 159, in get await getter asyncio.exceptions.CancelledError 2025-06-19 10:32:15.664 | ERROR | 85884f8e65194366aaf9bb6be285c330 | Invalid role for stop selection: drop_off 2025-06-19 11:29:08.777 | ERROR | 2355fe79b0af4a82af78c33cf981585f | Exception in ASGI application Traceback (most recent call last): File "", line 1, in File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\spawn.py", line 116, in spawn_main exitcode = _main(fd, parent_sentinel) │ │ └ 344 │ └ 3 └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\spawn.py", line 129, in _main return self._bootstrap(parent_sentinel) │ │ └ 344 │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\process.py", line 315, in _bootstrap self.run() │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\process.py", line 108, in run self._target(*self._args, **self._kwargs) │ │ │ │ │ └ {'config': , 'target': │ │ │ └ () │ │ └ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\_subprocess.py", line 80, in subprocess_started target(sockets=sockets) │ └ [] └ > File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\server.py", line 66, in run return asyncio.run(self.serve(sockets=sockets)) │ │ │ │ └ [] │ │ │ └ │ │ └ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\runners.py", line 44, in run return loop.run_until_complete(main) │ │ └ │ └ └ <_WindowsSelectorEventLoop running=True closed=False debug=False> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 633, in run_until_complete self.run_forever() │ └ └ <_WindowsSelectorEventLoop running=True closed=False debug=False> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 600, in run_forever self._run_once() │ └ └ <_WindowsSelectorEventLoop running=True closed=False debug=False> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 1896, in _run_once handle._run() │ └ >)> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\events.py", line 80, in _run self._context.run(self._callback, *self._args) │ │ │ │ │ └ │ │ │ │ └ >)> │ │ │ └ │ │ └ >)> │ └ >)> > File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\protocols\http\h11_impl.py", line 403, in run_asgi result = await app( # type: ignore[func-returns-value] └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\middleware\proxy_headers.py", line 60, in __call__ return await self.app(scope, receive, send) │ │ │ │ └ > │ │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\fastapi\applications.py", line 1054, in __call__ await super().__call__(scope, receive, send) │ │ └ > │ └ > │ │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\errors.py", line 187, in __call__ raise exc File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\errors.py", line 165, in __call__ await self.app(scope, receive, _send) │ │ │ │ └ ._send at 0x000002504515EF80> │ │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\cors.py", line 85, in __call__ await self.app(scope, receive, send) │ │ │ │ └ ._send at 0x000002504515EF80> │ │ │ └ , header_name='... └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\asgi_correlation_id\middleware.py", line 90, in __call__ await self.app(scope, receive, handle_outgoing_request) │ │ │ │ └ .handle_outgoing_request at 0x000002504515EEF0> │ │ │ └ └ CorrelationIdMiddleware(app=, header_name='... File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\exceptions.py", line 62, in __call__ await wrap_app_handling_exceptions(self.app, conn)(scope, receive, send) │ │ │ │ │ │ └ .handle_outgoing_request at 0x000002504515EEF0> │ │ │ │ │ └ │ │ └ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 53, in wrapped_app raise exc File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 42, in wrapped_app await app(scope, receive, sender) │ │ │ └ .wrapped_app..sender at 0x000002504515F010> │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 714, in __call__ await self.middleware_stack(scope, receive, send) │ │ │ │ └ .wrapped_app..sender at 0x000002504515F010> │ │ │ └ > └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 734, in app await route.handle(scope, receive, send) │ │ │ │ └ .wrapped_app..sender at 0x000002504515F010> │ │ │ └ └ APIRoute(path='/api/v1/time/check-ambiguity', name='check_time_ambiguity', methods=['POST']) File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 288, in handle await self.app(scope, receive, send) │ │ │ │ └ .wrapped_app..sender at 0x000002504515F010> │ │ │ └ .app at 0x000002501827D3F0> └ APIRoute(path='/api/v1/time/check-ambiguity', name='check_time_ambiguity', methods=['POST']) File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 76, in app await wrap_app_handling_exceptions(app, request)(scope, receive, send) │ │ │ │ │ └ .wrapped_app..sender at 0x000002504515F010> │ │ │ │ └ │ └ .app..app at 0x000002504515EE60> └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 53, in wrapped_app raise exc File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 42, in wrapped_app await app(scope, receive, sender) │ │ │ └ .wrapped_app..sender at 0x000002504515EC20> │ │ └ .app..app at 0x000002504515EE60> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 73, in app response = await f(request) │ └ .app at 0x000002501827D360> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\fastapi\routing.py", line 301, in app raw_response = await run_endpoint_function( └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\fastapi\routing.py", line 212, in run_endpoint_function return await dependant.call(**values) │ │ └ {'service': , 'request': └ Dependant(path_params=[], query_params=[], header_params=[], cookie_params=[], body_params=[], dependencies=[Dependant(path_p... File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\dependency_injector\wiring.py", line 1072, in _patched return await fn(*args, **kwargs) │ │ └ {'service': , 'request': File "C:\University-HCMUTE\InternFuta\ApiDialogflowChatbot\app\api\v1\time.py", line 25, in check_time_ambiguity body = await request.json() │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\requests.py", line 248, in json body = await self.body() │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\requests.py", line 241, in body async for chunk in self.stream(): │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\requests.py", line 235, in stream raise ClientDisconnect() └ starlette.requests.ClientDisconnect 2025-06-19 11:32:48.488 | ERROR | d523f0e58633499abd76fc8a161f9ca0 | Exception in ASGI application Traceback (most recent call last): File "", line 1, in File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\spawn.py", line 116, in spawn_main exitcode = _main(fd, parent_sentinel) │ │ └ 336 │ └ 3 └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\spawn.py", line 129, in _main return self._bootstrap(parent_sentinel) │ │ └ 336 │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\process.py", line 315, in _bootstrap self.run() │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\process.py", line 108, in run self._target(*self._args, **self._kwargs) │ │ │ │ │ └ {'config': , 'target': │ │ │ └ () │ │ └ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\_subprocess.py", line 80, in subprocess_started target(sockets=sockets) │ └ [] └ > File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\server.py", line 66, in run return asyncio.run(self.serve(sockets=sockets)) │ │ │ │ └ [] │ │ │ └ │ │ └ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\runners.py", line 44, in run return loop.run_until_complete(main) │ │ └ │ └ └ <_WindowsSelectorEventLoop running=True closed=False debug=False> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 633, in run_until_complete self.run_forever() │ └ └ <_WindowsSelectorEventLoop running=True closed=False debug=False> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 600, in run_forever self._run_once() │ └ └ <_WindowsSelectorEventLoop running=True closed=False debug=False> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 1896, in _run_once handle._run() │ └ >)> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\events.py", line 80, in _run self._context.run(self._callback, *self._args) │ │ │ │ │ └ │ │ │ │ └ >)> │ │ │ └ │ │ └ >)> │ └ >)> > File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\protocols\http\h11_impl.py", line 403, in run_asgi result = await app( # type: ignore[func-returns-value] └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\middleware\proxy_headers.py", line 60, in __call__ return await self.app(scope, receive, send) │ │ │ │ └ > │ │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\fastapi\applications.py", line 1054, in __call__ await super().__call__(scope, receive, send) │ │ └ > │ └ > │ │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\errors.py", line 187, in __call__ raise exc File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\errors.py", line 165, in __call__ await self.app(scope, receive, _send) │ │ │ │ └ ._send at 0x0000012D5727D630> │ │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\cors.py", line 85, in __call__ await self.app(scope, receive, send) │ │ │ │ └ ._send at 0x0000012D5727D630> │ │ │ └ , header_name='... └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\asgi_correlation_id\middleware.py", line 90, in __call__ await self.app(scope, receive, handle_outgoing_request) │ │ │ │ └ .handle_outgoing_request at 0x0000012D041CE0E0> │ │ │ └ └ CorrelationIdMiddleware(app=, header_name='... File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\exceptions.py", line 62, in __call__ await wrap_app_handling_exceptions(self.app, conn)(scope, receive, send) │ │ │ │ │ │ └ .handle_outgoing_request at 0x0000012D041CE0E0> │ │ │ │ │ └ │ │ └ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 53, in wrapped_app raise exc File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 42, in wrapped_app await app(scope, receive, sender) │ │ │ └ .wrapped_app..sender at 0x0000012D041CE200> │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 714, in __call__ await self.middleware_stack(scope, receive, send) │ │ │ │ └ .wrapped_app..sender at 0x0000012D041CE200> │ │ │ └ > └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 734, in app await route.handle(scope, receive, send) │ │ │ │ └ .wrapped_app..sender at 0x0000012D041CE200> │ │ │ └ └ APIRoute(path='/api/v1/trip/validate-trip-selection', name='validate_trip_selection', methods=['POST']) File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 288, in handle await self.app(scope, receive, send) │ │ │ │ └ .wrapped_app..sender at 0x0000012D041CE200> │ │ │ └ .app at 0x0000012D5724BEB0> └ APIRoute(path='/api/v1/trip/validate-trip-selection', name='validate_trip_selection', methods=['POST']) File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 76, in app await wrap_app_handling_exceptions(app, request)(scope, receive, send) │ │ │ │ │ └ .wrapped_app..sender at 0x0000012D041CE200> │ │ │ │ └ │ └ .app..app at 0x0000012D041CDFC0> └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 53, in wrapped_app raise exc File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 42, in wrapped_app await app(scope, receive, sender) │ │ │ └ .wrapped_app..sender at 0x0000012D041CEB90> │ │ └ .app..app at 0x0000012D041CDFC0> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 73, in app response = await f(request) │ └ .app at 0x0000012D5724BE20> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\fastapi\routing.py", line 301, in app raw_response = await run_endpoint_function( └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\fastapi\routing.py", line 212, in run_endpoint_function return await dependant.call(**values) │ │ └ {'service': , 'request': └ Dependant(path_params=[], query_params=[], header_params=[], cookie_params=[], body_params=[], dependencies=[Dependant(path_p... File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\dependency_injector\wiring.py", line 1072, in _patched return await fn(*args, **kwargs) │ │ └ {'service': , 'request': File "C:\University-HCMUTE\InternFuta\ApiDialogflowChatbot\app\api\v1\trip.py", line 84, in validate_trip_selection rs: DialogServiceResult = await service.validate_trip_selection( │ └ TypeError: TripService.validate_trip_selection() missing 1 required positional argument: 'trips_options' 2025-06-19 11:32:49.032 | ERROR | 0f10394d55254403b462186efbaa13a4 | Exception in ASGI application Traceback (most recent call last): File "", line 1, in File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\spawn.py", line 116, in spawn_main exitcode = _main(fd, parent_sentinel) │ │ └ 336 │ └ 3 └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\spawn.py", line 129, in _main return self._bootstrap(parent_sentinel) │ │ └ 336 │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\process.py", line 315, in _bootstrap self.run() │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\process.py", line 108, in run self._target(*self._args, **self._kwargs) │ │ │ │ │ └ {'config': , 'target': │ │ │ └ () │ │ └ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\_subprocess.py", line 80, in subprocess_started target(sockets=sockets) │ └ [] └ > File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\server.py", line 66, in run return asyncio.run(self.serve(sockets=sockets)) │ │ │ │ └ [] │ │ │ └ │ │ └ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\runners.py", line 44, in run return loop.run_until_complete(main) │ │ └ │ └ └ <_WindowsSelectorEventLoop running=True closed=False debug=False> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 633, in run_until_complete self.run_forever() │ └ └ <_WindowsSelectorEventLoop running=True closed=False debug=False> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 600, in run_forever self._run_once() │ └ └ <_WindowsSelectorEventLoop running=True closed=False debug=False> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 1896, in _run_once handle._run() │ └ >)> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\events.py", line 80, in _run self._context.run(self._callback, *self._args) │ │ │ │ │ └ │ │ │ │ └ >)> │ │ │ └ │ │ └ >)> │ └ >)> > File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\protocols\http\h11_impl.py", line 403, in run_asgi result = await app( # type: ignore[func-returns-value] └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\middleware\proxy_headers.py", line 60, in __call__ return await self.app(scope, receive, send) │ │ │ │ └ > │ │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\fastapi\applications.py", line 1054, in __call__ await super().__call__(scope, receive, send) │ │ └ > │ └ > │ │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\errors.py", line 187, in __call__ raise exc File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\errors.py", line 165, in __call__ await self.app(scope, receive, _send) │ │ │ │ └ ._send at 0x0000012D05FE8430> │ │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\cors.py", line 85, in __call__ await self.app(scope, receive, send) │ │ │ │ └ ._send at 0x0000012D05FE8430> │ │ │ └ , header_name='... └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\asgi_correlation_id\middleware.py", line 90, in __call__ await self.app(scope, receive, handle_outgoing_request) │ │ │ │ └ .handle_outgoing_request at 0x0000012D05FE8310> │ │ │ └ └ CorrelationIdMiddleware(app=, header_name='... File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\exceptions.py", line 62, in __call__ await wrap_app_handling_exceptions(self.app, conn)(scope, receive, send) │ │ │ │ │ │ └ .handle_outgoing_request at 0x0000012D05FE8310> │ │ │ │ │ └ │ │ └ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 53, in wrapped_app raise exc File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 42, in wrapped_app await app(scope, receive, sender) │ │ │ └ .wrapped_app..sender at 0x0000012D05FE83A0> │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 714, in __call__ await self.middleware_stack(scope, receive, send) │ │ │ │ └ .wrapped_app..sender at 0x0000012D05FE83A0> │ │ │ └ > └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 734, in app await route.handle(scope, receive, send) │ │ │ │ └ .wrapped_app..sender at 0x0000012D05FE83A0> │ │ │ └ └ APIRoute(path='/api/v1/trip/validate-trip-selection', name='validate_trip_selection', methods=['POST']) File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 288, in handle await self.app(scope, receive, send) │ │ │ │ └ .wrapped_app..sender at 0x0000012D05FE83A0> │ │ │ └ .app at 0x0000012D5724BEB0> └ APIRoute(path='/api/v1/trip/validate-trip-selection', name='validate_trip_selection', methods=['POST']) File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 76, in app await wrap_app_handling_exceptions(app, request)(scope, receive, send) │ │ │ │ │ └ .wrapped_app..sender at 0x0000012D05FE83A0> │ │ │ │ └ │ └ .app..app at 0x0000012D05FE84C0> └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 53, in wrapped_app raise exc File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 42, in wrapped_app await app(scope, receive, sender) │ │ │ └ .wrapped_app..sender at 0x0000012D05FE8550> │ │ └ .app..app at 0x0000012D05FE84C0> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 73, in app response = await f(request) │ └ .app at 0x0000012D5724BE20> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\fastapi\routing.py", line 301, in app raw_response = await run_endpoint_function( └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\fastapi\routing.py", line 212, in run_endpoint_function return await dependant.call(**values) │ │ └ {'service': , 'request': └ Dependant(path_params=[], query_params=[], header_params=[], cookie_params=[], body_params=[], dependencies=[Dependant(path_p... File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\dependency_injector\wiring.py", line 1072, in _patched return await fn(*args, **kwargs) │ │ └ {'service': , 'request': File "C:\University-HCMUTE\InternFuta\ApiDialogflowChatbot\app\api\v1\trip.py", line 84, in validate_trip_selection rs: DialogServiceResult = await service.validate_trip_selection( │ └ TypeError: TripService.validate_trip_selection() missing 1 required positional argument: 'trips_options' 2025-06-19 11:36:59.722 | ERROR | d170ffbe427a4737a1c2561bf269d535 | Error parsing trip parameters 1 validation error for TripQueryRequest destination_city Input should be a valid string [type=string_type, input_value=[31.0, 'TPHCM', 'TP. Hồ Chí Minh'], input_type=list] For further information visit https://errors.pydantic.dev/2.11/v/string_type 2025-06-19 13:14:35.659 | ERROR | ebc810f9023c4937974ee5d33ad4d61f | Error parsing trip parameters 1 validation error for TripQueryRequest destination_city Input should be a valid string [type=string_type, input_value=[None, None, None], input_type=list] For further information visit https://errors.pydantic.dev/2.11/v/string_type 2025-06-19 13:14:42.422 | ERROR | 28815cc60f6e4108bb7ec89ff9d94bd0 | Exception in ASGI application Traceback (most recent call last): File "", line 1, in File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\spawn.py", line 116, in spawn_main exitcode = _main(fd, parent_sentinel) │ │ └ 384 │ └ 3 └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\spawn.py", line 129, in _main return self._bootstrap(parent_sentinel) │ │ └ 384 │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\process.py", line 315, in _bootstrap self.run() │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\process.py", line 108, in run self._target(*self._args, **self._kwargs) │ │ │ │ │ └ {'config': , 'target': │ │ │ └ () │ │ └ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\_subprocess.py", line 80, in subprocess_started target(sockets=sockets) │ └ [] └ > File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\server.py", line 66, in run return asyncio.run(self.serve(sockets=sockets)) │ │ │ │ └ [] │ │ │ └ │ │ └ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\runners.py", line 44, in run return loop.run_until_complete(main) │ │ └ │ └ └ <_WindowsSelectorEventLoop running=True closed=False debug=False> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 633, in run_until_complete self.run_forever() │ └ └ <_WindowsSelectorEventLoop running=True closed=False debug=False> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 600, in run_forever self._run_once() │ └ └ <_WindowsSelectorEventLoop running=True closed=False debug=False> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 1896, in _run_once handle._run() │ └ ()> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\events.py", line 80, in _run self._context.run(self._callback, *self._args) │ │ │ │ │ └ │ │ │ │ └ ()> │ │ │ └ │ │ └ ()> │ └ ()> > File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\protocols\http\h11_impl.py", line 403, in run_asgi result = await app( # type: ignore[func-returns-value] └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\middleware\proxy_headers.py", line 60, in __call__ return await self.app(scope, receive, send) │ │ │ │ └ > │ │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\fastapi\applications.py", line 1054, in __call__ await super().__call__(scope, receive, send) │ │ └ > │ └ > │ │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\errors.py", line 187, in __call__ raise exc File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\errors.py", line 165, in __call__ await self.app(scope, receive, _send) │ │ │ │ └ ._send at 0x00000202DDC01480> │ │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\cors.py", line 85, in __call__ await self.app(scope, receive, send) │ │ │ │ └ ._send at 0x00000202DDC01480> │ │ │ └ , header_name='... └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\asgi_correlation_id\middleware.py", line 90, in __call__ await self.app(scope, receive, handle_outgoing_request) │ │ │ │ └ .handle_outgoing_request at 0x000002028AB99F30> │ │ │ └ └ CorrelationIdMiddleware(app=, header_name='... File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\exceptions.py", line 62, in __call__ await wrap_app_handling_exceptions(self.app, conn)(scope, receive, send) │ │ │ │ │ │ └ .handle_outgoing_request at 0x000002028AB99F30> │ │ │ │ │ └ │ │ └ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 53, in wrapped_app raise exc File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 42, in wrapped_app await app(scope, receive, sender) │ │ │ └ .wrapped_app..sender at 0x000002028AB99E10> │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 714, in __call__ await self.middleware_stack(scope, receive, send) │ │ │ │ └ .wrapped_app..sender at 0x000002028AB99E10> │ │ │ └ > └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 734, in app await route.handle(scope, receive, send) │ │ │ │ └ .wrapped_app..sender at 0x000002028AB99E10> │ │ │ └ └ APIRoute(path='/api/v1/trip/option', name='trips_option', methods=['POST']) File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 288, in handle await self.app(scope, receive, send) │ │ │ │ └ .wrapped_app..sender at 0x000002028AB99E10> │ │ │ └ .app at 0x00000202DDBCB910> └ APIRoute(path='/api/v1/trip/option', name='trips_option', methods=['POST']) File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 76, in app await wrap_app_handling_exceptions(app, request)(scope, receive, send) │ │ │ │ │ └ .wrapped_app..sender at 0x000002028AB99E10> │ │ │ │ └ │ └ .app..app at 0x000002028AB9A320> └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 53, in wrapped_app raise exc File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 42, in wrapped_app await app(scope, receive, sender) │ │ │ └ .wrapped_app..sender at 0x000002028AB9A170> │ │ └ .app..app at 0x000002028AB9A320> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 73, in app response = await f(request) │ └ .app at 0x00000202DDBA3010> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\fastapi\routing.py", line 301, in app raw_response = await run_endpoint_function( └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\fastapi\routing.py", line 212, in run_endpoint_function return await dependant.call(**values) │ │ └ {'service': , 'request': └ Dependant(path_params=[], query_params=[], header_params=[], cookie_params=[], body_params=[], dependencies=[Dependant(path_p... File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\dependency_injector\wiring.py", line 1072, in _patched return await fn(*args, **kwargs) │ │ └ {'service': , 'request': File "C:\University-HCMUTE\InternFuta\ApiDialogflowChatbot\app\api\v1\trip.py", line 36, in trips_option rs: DialogServiceResult = await service.get_trips_option(data) │ │ └ TripQueryRequest(departure_city='TP. Hồ Chí Minh', destination_city='Quy Nhơn', origin_office='Bến xe An Sương', dest_office=... │ └ File "C:\University-HCMUTE\InternFuta\ApiDialogflowChatbot\app\dialogflow\services\trip_service.py", line 209, in get_trips_option trips = await self.get_all_trip_data(data=data) │ │ └ TripQueryRequest(departure_city='TP. Hồ Chí Minh', destination_city='Quy Nhơn', origin_office='Bến xe An Sương', dest_office=... │ └ File "C:\University-HCMUTE\InternFuta\ApiDialogflowChatbot\app\dialogflow\services\trip_service.py", line 151, in get_all_trip_data route_ids = await self.trip_repository.get_all_route_ids( │ │ └ │ └ File "C:\University-HCMUTE\InternFuta\ApiDialogflowChatbot\app\dialogflow\repositories\trip_repository.py", line 38, in get_all_route_ids route_ids = await self.client.get_route_ids_by_code( │ │ └ )> │ └ TypeError: FutabusClient.get_route_ids_by_code() got an unexpected keyword argument 'origin' 2025-06-19 13:14:46.179 | ERROR | f3aff523c50241408d06a6ff15a07e36 | Exception in ASGI application Traceback (most recent call last): File "", line 1, in File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\spawn.py", line 116, in spawn_main exitcode = _main(fd, parent_sentinel) │ │ └ 384 │ └ 3 └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\spawn.py", line 129, in _main return self._bootstrap(parent_sentinel) │ │ └ 384 │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\process.py", line 315, in _bootstrap self.run() │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\multiprocessing\process.py", line 108, in run self._target(*self._args, **self._kwargs) │ │ │ │ │ └ {'config': , 'target': │ │ │ └ () │ │ └ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\_subprocess.py", line 80, in subprocess_started target(sockets=sockets) │ └ [] └ > File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\server.py", line 66, in run return asyncio.run(self.serve(sockets=sockets)) │ │ │ │ └ [] │ │ │ └ │ │ └ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\runners.py", line 44, in run return loop.run_until_complete(main) │ │ └ │ └ └ <_WindowsSelectorEventLoop running=True closed=False debug=False> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 633, in run_until_complete self.run_forever() │ └ └ <_WindowsSelectorEventLoop running=True closed=False debug=False> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 600, in run_forever self._run_once() │ └ └ <_WindowsSelectorEventLoop running=True closed=False debug=False> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\base_events.py", line 1896, in _run_once handle._run() │ └ ()> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\asyncio\events.py", line 80, in _run self._context.run(self._callback, *self._args) │ │ │ │ │ └ │ │ │ │ └ ()> │ │ │ └ │ │ └ ()> │ └ ()> > File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\protocols\http\h11_impl.py", line 403, in run_asgi result = await app( # type: ignore[func-returns-value] └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\uvicorn\middleware\proxy_headers.py", line 60, in __call__ return await self.app(scope, receive, send) │ │ │ │ └ > │ │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\fastapi\applications.py", line 1054, in __call__ await super().__call__(scope, receive, send) │ │ └ > │ └ > │ │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\errors.py", line 187, in __call__ raise exc File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\errors.py", line 165, in __call__ await self.app(scope, receive, _send) │ │ │ │ └ ._send at 0x000002028AB9A050> │ │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\cors.py", line 85, in __call__ await self.app(scope, receive, send) │ │ │ │ └ ._send at 0x000002028AB9A050> │ │ │ └ , header_name='... └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\asgi_correlation_id\middleware.py", line 90, in __call__ await self.app(scope, receive, handle_outgoing_request) │ │ │ │ └ .handle_outgoing_request at 0x000002028E8AD240> │ │ │ └ └ CorrelationIdMiddleware(app=, header_name='... File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\middleware\exceptions.py", line 62, in __call__ await wrap_app_handling_exceptions(self.app, conn)(scope, receive, send) │ │ │ │ │ │ └ .handle_outgoing_request at 0x000002028E8AD240> │ │ │ │ │ └ │ │ └ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 53, in wrapped_app raise exc File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 42, in wrapped_app await app(scope, receive, sender) │ │ │ └ .wrapped_app..sender at 0x000002028E8AD3F0> │ │ └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 714, in __call__ await self.middleware_stack(scope, receive, send) │ │ │ │ └ .wrapped_app..sender at 0x000002028E8AD3F0> │ │ │ └ > └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 734, in app await route.handle(scope, receive, send) │ │ │ │ └ .wrapped_app..sender at 0x000002028E8AD3F0> │ │ │ └ └ APIRoute(path='/api/v1/trip/option', name='trips_option', methods=['POST']) File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 288, in handle await self.app(scope, receive, send) │ │ │ │ └ .wrapped_app..sender at 0x000002028E8AD3F0> │ │ │ └ .app at 0x00000202DDBCB910> └ APIRoute(path='/api/v1/trip/option', name='trips_option', methods=['POST']) File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 76, in app await wrap_app_handling_exceptions(app, request)(scope, receive, send) │ │ │ │ │ └ .wrapped_app..sender at 0x000002028E8AD3F0> │ │ │ │ └ │ └ .app..app at 0x000002028E8AD5A0> └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 53, in wrapped_app raise exc File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\_exception_handler.py", line 42, in wrapped_app await app(scope, receive, sender) │ │ │ └ .wrapped_app..sender at 0x000002028E8AD360> │ │ └ .app..app at 0x000002028E8AD5A0> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\starlette\routing.py", line 73, in app response = await f(request) │ └ .app at 0x00000202DDBA3010> File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\fastapi\routing.py", line 301, in app raw_response = await run_endpoint_function( └ File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\fastapi\routing.py", line 212, in run_endpoint_function return await dependant.call(**values) │ │ └ {'service': , 'request': └ Dependant(path_params=[], query_params=[], header_params=[], cookie_params=[], body_params=[], dependencies=[Dependant(path_p... File "C:\Users\tuf\miniconda3\envs\chatbot-deploy\lib\site-packages\dependency_injector\wiring.py", line 1072, in _patched return await fn(*args, **kwargs) │ │ └ {'service': , 'request': File "C:\University-HCMUTE\InternFuta\ApiDialogflowChatbot\app\api\v1\trip.py", line 36, in trips_option rs: DialogServiceResult = await service.get_trips_option(data) │ │ └ TripQueryRequest(departure_city='TP. Hồ Chí Minh', destination_city='Quy Nhơn', origin_office='Bến xe An Sương', dest_office=... │ └ File "C:\University-HCMUTE\InternFuta\ApiDialogflowChatbot\app\dialogflow\services\trip_service.py", line 209, in get_trips_option trips = await self.get_all_trip_data(data=data) │ │ └ TripQueryRequest(departure_city='TP. Hồ Chí Minh', destination_city='Quy Nhơn', origin_office='Bến xe An Sương', dest_office=... │ └ File "C:\University-HCMUTE\InternFuta\ApiDialogflowChatbot\app\dialogflow\services\trip_service.py", line 151, in get_all_trip_data route_ids = await self.trip_repository.get_all_route_ids( │ │ └ │ └ File "C:\University-HCMUTE\InternFuta\ApiDialogflowChatbot\app\dialogflow\repositories\trip_repository.py", line 38, in get_all_route_ids route_ids = await self.client.get_route_ids_by_code( │ │ └ )> │ └ TypeError: FutabusClient.get_route_ids_by_code() got an unexpected keyword argument 'origin'