SO, my old checkout is working, I did a pull from master this morning and it's broken:
The old order that I was using was:
- Create priority
- Create Service
- Create Document
- Create Incident type
today it is not creating Document, it's erroring:
web_1 | INFO: 172.25.0.1:49720 - "GET /img/icons/favicon-16x16.png HTTP/1.1" 200 OK
web_1 | INFO: 172.25.0.1:49724 - "GET /api/v1/terms/ HTTP/1.1" 200 OK
web_1 | INFO: 172.25.0.1:49722 - "GET /api/v1/incident_priorities/ HTTP/1.1" 200 OK
web_1 | INFO: 172.25.0.1:49728 - "GET /api/v1/incident_types/?itemsPerPage=50&sortBy[]=name&descending[]=false HTTP/1.1" 500 Internal Server Error
web_1 | ERROR: Exception in ASGI application
web_1 | Traceback (most recent call last):
web_1 | File "/usr/local/lib/python3.8/site-packages/uvicorn/protocols/http/httptools_impl.py", line 385, in run_asgi
web_1 | result = await app(self.scope, self.receive, self.send)
web_1 | File "/usr/local/lib/python3.8/site-packages/uvicorn/middleware/proxy_headers.py", line 45, in __call__
web_1 | return await self.app(scope, receive, send)
web_1 | File "/usr/local/lib/python3.8/site-packages/starlette/applications.py", line 102, in __call__
web_1 | await self.middleware_stack(scope, receive, send)
web_1 | File "/usr/local/lib/python3.8/site-packages/starlette/middleware/errors.py", line 181, in __call__
web_1 | raise exc from None
web_1 | File "/usr/local/lib/python3.8/site-packages/starlette/middleware/errors.py", line 159, in __call__
web_1 | await self.app(scope, receive, _send)
web_1 | File "/usr/local/lib/python3.8/site-packages/starlette/middleware/base.py", line 26, in __call__
web_1 | await response(scope, receive, send)
web_1 | File "/usr/local/lib/python3.8/site-packages/starlette/responses.py", line 197, in __call__
web_1 | async for chunk in self.body_iterator:
web_1 | File "/usr/local/lib/python3.8/site-packages/starlette/middleware/base.py", line 56, in body_stream
web_1 | task.result()
web_1 | File "/usr/local/lib/python3.8/site-packages/starlette/middleware/base.py", line 38, in coro
web_1 | await self.app(scope, receive, send)
web_1 | File "/usr/local/lib/python3.8/site-packages/sentry_asgi/middleware.py", line 22, in __call__
web_1 | raise exc from None
web_1 | File "/usr/local/lib/python3.8/site-packages/sentry_asgi/middleware.py", line 19, in __call__
web_1 | await self.app(scope, receive, send)
web_1 | File "/usr/local/lib/python3.8/site-packages/starlette/middleware/base.py", line 26, in __call__
web_1 | await response(scope, receive, send)
web_1 | File "/usr/local/lib/python3.8/site-packages/starlette/responses.py", line 197, in __call__
web_1 | async for chunk in self.body_iterator:
web_1 | File "/usr/local/lib/python3.8/site-packages/starlette/middleware/base.py", line 56, in body_stream
web_1 | task.result()
web_1 | File "/usr/local/lib/python3.8/site-packages/starlette/middleware/base.py", line 38, in coro
web_1 | await self.app(scope, receive, send)
web_1 | File "/usr/local/lib/python3.8/site-packages/starlette/middleware/base.py", line 26, in __call__
web_1 | await response(scope, receive, send)
web_1 | File "/usr/local/lib/python3.8/site-packages/starlette/responses.py", line 197, in __call__
web_1 | async for chunk in self.body_iterator:
web_1 | File "/usr/local/lib/python3.8/site-packages/starlette/middleware/base.py", line 56, in body_stream
web_1 | task.result()
web_1 | File "/usr/local/lib/python3.8/site-packages/starlette/middleware/base.py", line 38, in coro
web_1 | await self.app(scope, receive, send)
web_1 | File "/usr/local/lib/python3.8/site-packages/starlette/exceptions.py", line 82, in __call__
web_1 | raise exc from None
web_1 | File "/usr/local/lib/python3.8/site-packages/starlette/exceptions.py", line 71, in __call__
web_1 | await self.app(scope, receive, sender)
web_1 | File "/usr/local/lib/python3.8/site-packages/starlette/routing.py", line 550, in __call__
web_1 | await route.handle(scope, receive, send)
web_1 | File "/usr/local/lib/python3.8/site-packages/starlette/routing.py", line 376, in handle
web_1 | await self.app(scope, receive, send)
web_1 | File "/usr/local/lib/python3.8/site-packages/fastapi/applications.py", line 146, in __call__
web_1 | await super().__call__(scope, receive, send)
web_1 | File "/usr/local/lib/python3.8/site-packages/starlette/applications.py", line 102, in __call__
web_1 | await self.middleware_stack(scope, receive, send)
web_1 | File "/usr/local/lib/python3.8/site-packages/starlette/middleware/errors.py", line 181, in __call__
web_1 | raise exc from None
web_1 | File "/usr/local/lib/python3.8/site-packages/starlette/middleware/errors.py", line 159, in __call__
web_1 | await self.app(scope, receive, _send)
web_1 | File "/usr/local/lib/python3.8/site-packages/starlette/exceptions.py", line 82, in __call__
web_1 | raise exc from None
web_1 | File "/usr/local/lib/python3.8/site-packages/starlette/exceptions.py", line 71, in __call__
web_1 | await self.app(scope, receive, sender)
web_1 | File "/usr/local/lib/python3.8/site-packages/starlette/routing.py", line 550, in __call__
web_1 | await route.handle(scope, receive, send)
web_1 | File "/usr/local/lib/python3.8/site-packages/starlette/routing.py", line 227, in handle
web_1 | await self.app(scope, receive, send)
web_1 | File "/usr/local/lib/python3.8/site-packages/starlette/routing.py", line 41, in app
web_1 | response = await func(request)
web_1 | File "/usr/local/lib/python3.8/site-packages/fastapi/routing.py", line 204, in app
web_1 | response_data = await serialize_response(
web_1 | File "/usr/local/lib/python3.8/site-packages/fastapi/routing.py", line 126, in serialize_response
web_1 | raise ValidationError(errors, field.type_)
web_1 | pydantic.error_wrappers.ValidationError: 4 validation errors for IncidentTypePagination
web_1 | response -> items -> 0 -> template_document -> weblink
web_1 | none is not an allowed value (type=type_error.none.not_allowed)
web_1 | response -> items -> 0 -> template_document -> name
web_1 | none is not an allowed value (type=type_error.none.not_allowed)
web_1 | response -> items -> 1 -> template_document -> weblink
web_1 | none is not an allowed value (type=type_error.none.not_allowed)
web_1 | response -> items -> 1 -> template_document -> name
web_1 | none is not an allowed value (type=type_error.none.not_allowed)
web_1 | INFO: 172.25.0.1:49720 - "GET /api/v1/documents/?q=&page=1&itemsPerPage=10&sortBy[]=name&descending[]=false HTTP/1.1" 500 Internal Server Error
web_1 | ERROR: Exception in ASGI application
web_1 | Traceback (most recent call last):
web_1 | File "/usr/local/lib/python3.8/site-packages/uvicorn/protocols/http/httptools_impl.py", line 385, in run_asgi
web_1 | result = await app(self.scope, self.receive, self.send)
web_1 | File "/usr/local/lib/python3.8/site-packages/uvicorn/middleware/proxy_headers.py", line 45, in __call__
web_1 | return await self.app(scope, receive, send)
web_1 | File "/usr/local/lib/python3.8/site-packages/starlette/applications.py", line 102, in __call__
web_1 | await self.middleware_stack(scope, receive, send)
web_1 | File "/usr/local/lib/python3.8/site-packages/starlette/middleware/errors.py", line 181, in __call__
web_1 | raise exc from None
web_1 | File "/usr/local/lib/python3.8/site-packages/starlette/middleware/errors.py", line 159, in __call__
web_1 | await self.app(scope, receive, _send)
web_1 | File "/usr/local/lib/python3.8/site-packages/starlette/middleware/base.py", line 26, in __call__
web_1 | await response(scope, receive, send)
web_1 | File "/usr/local/lib/python3.8/site-packages/starlette/responses.py", line 197, in __call__
web_1 | async for chunk in self.body_iterator:
web_1 | File "/usr/local/lib/python3.8/site-packages/starlette/middleware/base.py", line 56, in body_stream
web_1 | task.result()
web_1 | File "/usr/local/lib/python3.8/site-packages/starlette/middleware/base.py", line 38, in coro
web_1 | await self.app(scope, receive, send)
web_1 | File "/usr/local/lib/python3.8/site-packages/sentry_asgi/middleware.py", line 22, in __call__
web_1 | raise exc from None
web_1 | File "/usr/local/lib/python3.8/site-packages/sentry_asgi/middleware.py", line 19, in __call__
web_1 | await self.app(scope, receive, send)
web_1 | File "/usr/local/lib/python3.8/site-packages/starlette/middleware/base.py", line 26, in __call__
web_1 | await response(scope, receive, send)
web_1 | File "/usr/local/lib/python3.8/site-packages/starlette/responses.py", line 197, in __call__
web_1 | async for chunk in self.body_iterator:
web_1 | File "/usr/local/lib/python3.8/site-packages/starlette/middleware/base.py", line 56, in body_stream
web_1 | task.result()
web_1 | File "/usr/local/lib/python3.8/site-packages/starlette/middleware/base.py", line 38, in coro
web_1 | await self.app(scope, receive, send)
web_1 | File "/usr/local/lib/python3.8/site-packages/starlette/middleware/base.py", line 26, in __call__
web_1 | await response(scope, receive, send)
web_1 | File "/usr/local/lib/python3.8/site-packages/starlette/responses.py", line 197, in __call__
web_1 | async for chunk in self.body_iterator:
web_1 | File "/usr/local/lib/python3.8/site-packages/starlette/middleware/base.py", line 56, in body_stream
web_1 | task.result()
web_1 | File "/usr/local/lib/python3.8/site-packages/starlette/middleware/base.py", line 38, in coro
web_1 | await self.app(scope, receive, send)
web_1 | File "/usr/local/lib/python3.8/site-packages/starlette/exceptions.py", line 82, in __call__
web_1 | raise exc from None
web_1 | File "/usr/local/lib/python3.8/site-packages/starlette/exceptions.py", line 71, in __call__
web_1 | await self.app(scope, receive, sender)
web_1 | File "/usr/local/lib/python3.8/site-packages/starlette/routing.py", line 550, in __call__
web_1 | await route.handle(scope, receive, send)
web_1 | File "/usr/local/lib/python3.8/site-packages/starlette/routing.py", line 376, in handle
web_1 | await self.app(scope, receive, send)
web_1 | File "/usr/local/lib/python3.8/site-packages/fastapi/applications.py", line 146, in __call__
web_1 | await super().__call__(scope, receive, send)
web_1 | File "/usr/local/lib/python3.8/site-packages/starlette/applications.py", line 102, in __call__
web_1 | await self.middleware_stack(scope, receive, send)
web_1 | File "/usr/local/lib/python3.8/site-packages/starlette/middleware/errors.py", line 181, in __call__
web_1 | raise exc from None
web_1 | File "/usr/local/lib/python3.8/site-packages/starlette/middleware/errors.py", line 159, in __call__
web_1 | await self.app(scope, receive, _send)
web_1 | File "/usr/local/lib/python3.8/site-packages/starlette/exceptions.py", line 82, in __call__
web_1 | raise exc from None
web_1 | File "/usr/local/lib/python3.8/site-packages/starlette/exceptions.py", line 71, in __call__
web_1 | await self.app(scope, receive, sender)
web_1 | File "/usr/local/lib/python3.8/site-packages/starlette/routing.py", line 550, in __call__
web_1 | await route.handle(scope, receive, send)
web_1 | File "/usr/local/lib/python3.8/site-packages/starlette/routing.py", line 227, in handle
web_1 | await self.app(scope, receive, send)
web_1 | File "/usr/local/lib/python3.8/site-packages/starlette/routing.py", line 41, in app
web_1 | response = await func(request)
web_1 | File "/usr/local/lib/python3.8/site-packages/fastapi/routing.py", line 204, in app
web_1 | response_data = await serialize_response(
web_1 | File "/usr/local/lib/python3.8/site-packages/fastapi/routing.py", line 126, in serialize_response
web_1 | raise ValidationError(errors, field.type_)
web_1 | pydantic.error_wrappers.ValidationError: 4 validation errors for DocumentPagination
web_1 | response -> items -> 4 -> weblink
web_1 | none is not an allowed value (type=type_error.none.not_allowed)
web_1 | response -> items -> 4 -> name
web_1 | none is not an allowed value (type=type_error.none.not_allowed)
web_1 | response -> items -> 5 -> weblink
web_1 | none is not an allowed value (type=type_error.none.not_allowed)
web_1 | response -> items -> 5 -> name
web_1 | none is not an allowed value (type=type_error.none.not_allowed)
web_1 | INFO: 172.25.0.1:49722 - "GET /api/v1/terms/ HTTP/1.1" 200 OK
web_1 | INFO: 172.25.0.1:49722 - "GET /service-worker.js HTTP/1.1" 304 Not Modified
web_1 | INFO: 172.25.0.1:49722 - "GET /precache-manifest.0e22feb0b50332dfd9fe9adf70d545f9.js HTTP/1.1" 304 Not Modified