connect=0ms service=5865ms status=500 bytes=193 protocol=https 2022-09-04T13:32:00.366166+00:00 app[web.1]: 220.150.172.73:0 - "POST /api/v1/get/csv/ HTTP/1.1" 500 2022-09-04T13:32:00.368886+00:00 app[web.1]: [2022-09-04 13:32:00 +0000] [26] [ERROR] Exception in ASGI application 2022-09-04T13:32:00.368886+00:00 app[web.1]: Traceback (most recent call last): 2022-09-04T13:32:00.368887+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.10/site-packages/uvicorn/protocols/http/h11_impl.py", line 403, in run_asgi 2022-09-04T13:32:00.368888+00:00 app[web.1]: result = await app(self.scope, self.receive, self.send) 2022-09-04T13:32:00.368888+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.10/site-packages/uvicorn/middleware/proxy_headers.py", line 78, in __call__ 2022-09-04T13:32:00.368888+00:00 app[web.1]: return await self.app(scope, receive, send) 2022-09-04T13:32:00.368889+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.10/site-packages/fastapi/applications.py", line 269, in __call__ 2022-09-04T13:32:00.368889+00:00 app[web.1]: await super().__call__(scope, receive, send) 2022-09-04T13:32:00.368889+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.10/site-packages/starlette/applications.py", line 124, in __call__ 2022-09-04T13:32:00.368890+00:00 app[web.1]: await self.middleware_stack(scope, receive, send) 2022-09-04T13:32:00.368890+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.10/site-packages/starlette/middleware/errors.py", line 184, in __call__ 2022-09-04T13:32:00.368890+00:00 app[web.1]: raise exc 2022-09-04T13:32:00.368891+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.10/site-packages/starlette/middleware/errors.py", line 162, in __call__ 2022-09-04T13:32:00.368891+00:00 app[web.1]: await self.app(scope, receive, _send) 2022-09-04T13:32:00.368891+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.10/site-packages/starlette/exceptions.py", line 93, in __call__ 2022-09-04T13:32:00.368892+00:00 app[web.1]: raise exc 2022-09-04T13:32:00.368892+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.10/site-packages/starlette/exceptions.py", line 82, in __call__ 2022-09-04T13:32:00.368892+00:00 app[web.1]: await self.app(scope, receive, sender) 2022-09-04T13:32:00.368892+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.10/site-packages/fastapi/middleware/asyncexitstack.py", line 21, in __call__ 2022-09-04T13:32:00.368893+00:00 app[web.1]: raise e 2022-09-04T13:32:00.368893+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.10/site-packages/fastapi/middleware/asyncexitstack.py", line 18, in __call__ 2022-09-04T13:32:00.368893+00:00 app[web.1]: await self.app(scope, receive, send) 2022-09-04T13:32:00.368893+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.10/site-packages/starlette/routing.py", line 670, in __call__ 2022-09-04T13:32:00.368893+00:00 app[web.1]: await route.handle(scope, receive, send) 2022-09-04T13:32:00.368893+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.10/site-packages/starlette/routing.py", line 266, in handle 2022-09-04T13:32:00.368894+00:00 app[web.1]: await self.app(scope, receive, send) 2022-09-04T13:32:00.368894+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.10/site-packages/starlette/routing.py", line 65, in app 2022-09-04T13:32:00.368894+00:00 app[web.1]: response = await func(request) 2022-09-04T13:32:00.368895+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.10/site-packages/fastapi/routing.py", line 227, in app 2022-09-04T13:32:00.368895+00:00 app[web.1]: raw_response = await run_endpoint_function( 2022-09-04T13:32:00.368895+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.10/site-packages/fastapi/routing.py", line 160, in run_endpoint_function 2022-09-04T13:32:00.368895+00:00 app[web.1]: return await dependant.call(**values) 2022-09-04T13:32:00.368896+00:00 app[web.1]: File "/app/main.py", line 48, in timetable