Details
Description
Right now, the staging version of the microservice is runing here:
and can be accessed also via: http://10.9.24.113:8000/api/v1/docs
At this moment, using the /bundle endpoint creates an internal server error.
INFO: 10.9.14.70:40412 - "GET /openapi.json HTTP/1.1" 200 OK INFO: 10.9.14.70:40414 - "POST /bundle?email=aseem.shakuntal%40qt.io&password=xxxxxxxxxxxxx HTTP/1.1" 500 Internal Server Error ERROR: Exception in ASGI application Traceback (most recent call last): File "/home/asshakun/microservice/venv/lib/python3.8/site-packages/uvicorn/protocols/http/h11_impl.py", line 403, in run_asgi result = await app(self.scope, self.receive, self.send) File "/home/asshakun/microservice/venv/lib/python3.8/site-packages/uvicorn/middleware/proxy_headers.py", line 78, in __call__ return await self.app(scope, receive, send) File "/home/asshakun/microservice/venv/lib/python3.8/site-packages/fastapi/applications.py", line 269, in __call__ await super().__call__(scope, receive, send) File "/home/asshakun/microservice/venv/lib/python3.8/site-packages/starlette/applications.py", line 124, in __call__ await self.middleware_stack(scope, receive, send) File "/home/asshakun/microservice/venv/lib/python3.8/site-packages/starlette/middleware/errors.py", line 184, in __call__ raise exc File "/home/asshakun/microservice/venv/lib/python3.8/site-packages/starlette/middleware/errors.py", line 162, in __call__ await self.app(scope, receive, _send) File "/home/asshakun/microservice/venv/lib/python3.8/site-packages/starlette/exceptions.py", line 93, in __call__ raise exc File "/home/asshakun/microservice/venv/lib/python3.8/site-packages/starlette/exceptions.py", line 82, in __call__ await self.app(scope, receive, sender) File "/home/asshakun/microservice/venv/lib/python3.8/site-packages/fastapi/middleware/asyncexitstack.py", line 21, in __call__ raise e File "/home/asshakun/microservice/venv/lib/python3.8/site-packages/fastapi/middleware/asyncexitstack.py", line 18, in __call__ await self.app(scope, receive, send) File "/home/asshakun/microservice/venv/lib/python3.8/site-packages/starlette/routing.py", line 670, in __call__ await route.handle(scope, receive, send) File "/home/asshakun/microservice/venv/lib/python3.8/site-packages/starlette/routing.py", line 418, in handle await self.app(scope, receive, send) File "/home/asshakun/microservice/venv/lib/python3.8/site-packages/fastapi/applications.py", line 269, in __call__ await super().__call__(scope, receive, send) File "/home/asshakun/microservice/venv/lib/python3.8/site-packages/starlette/applications.py", line 124, in __call__ await self.middleware_stack(scope, receive, send) File "/home/asshakun/microservice/venv/lib/python3.8/site-packages/starlette/middleware/errors.py", line 184, in __call__ raise exc File "/home/asshakun/microservice/venv/lib/python3.8/site-packages/starlette/middleware/errors.py", line 162, in __call__ await self.app(scope, receive, _send) File "/home/asshakun/microservice/venv/lib/python3.8/site-packages/starlette/exceptions.py", line 93, in __call__ raise exc File "/home/asshakun/microservice/venv/lib/python3.8/site-packages/starlette/exceptions.py", line 82, in __call__ await self.app(scope, receive, sender) File "/home/asshakun/microservice/venv/lib/python3.8/site-packages/fastapi/middleware/asyncexitstack.py", line 21, in __call__ raise e File "/home/asshakun/microservice/venv/lib/python3.8/site-packages/fastapi/middleware/asyncexitstack.py", line 18, in __call__ await self.app(scope, receive, send) File "/home/asshakun/microservice/venv/lib/python3.8/site-packages/starlette/routing.py", line 670, in __call__ await route.handle(scope, receive, send) File "/home/asshakun/microservice/venv/lib/python3.8/site-packages/starlette/routing.py", line 266, in handle await self.app(scope, receive, send) File "/home/asshakun/microservice/venv/lib/python3.8/site-packages/starlette/routing.py", line 65, in app response = await func(request) File "/home/asshakun/microservice/venv/lib/python3.8/site-packages/fastapi/routing.py", line 227, in app raw_response = await run_endpoint_function( File "/home/asshakun/microservice/venv/lib/python3.8/site-packages/fastapi/routing.py", line 160, in run_endpoint_function return await dependant.call(**values) File "/home/asshakun/microservice/src/apiVersions/apiV1.py", line 27, in bundle resp = loginClient.callBundle() File "/home/asshakun/microservice/src/apiVersions/internalLoginClient.py", line 103, in callBundle self.callLicense() File "/home/asshakun/microservice/src/apiVersions/internalLoginClient.py", line 71, in callLicense self.callLogin() File "/home/asshakun/microservice/src/apiVersions/internalLoginClient.py", line 67, in callLogin self.userJwt = respData["jwt"] KeyError: 'jwt'