Skip to content

Internal server error on production site #126

Description

@ianhinder
web_1  | KeyError: 'controlledName'
web_1  | [2025-09-30 08:35:33,261] INFO in _internal: 130.88.96.147 - - [30/Sep/2025 08:35:33] "GET / HTTP/1.0" 500 -
web_1  | Traceback (most recent call last):
web_1  |   File "/usr/local/lib/python3.8/dist-packages/flask/app.py", line 2213, in __call__
web_1  |     return self.wsgi_app(environ, start_response)
web_1  |   File "/usr/local/lib/python3.8/dist-packages/werkzeug/middleware/proxy_fix.py", line 183, in __call__
web_1  |     return self.app(environ, start_response)
web_1  |   File "/usr/local/lib/python3.8/dist-packages/flask/app.py", line 2193, in wsgi_app
web_1  |     response = self.handle_exception(e)
web_1  |   File "/usr/local/lib/python3.8/dist-packages/flask/app.py", line 2190, in wsgi_app
web_1  |     response = self.full_dispatch_request()
web_1  |   File "/usr/local/lib/python3.8/dist-packages/flask/app.py", line 1486, in full_dispatch_request
web_1  |     rv = self.handle_user_exception(e)
web_1  |   File "/usr/local/lib/python3.8/dist-packages/flask/app.py", line 1484, in full_dispatch_request
web_1  |     rv = self.dispatch_request()
web_1  |   File "/usr/local/lib/python3.8/dist-packages/flask/app.py", line 1469, in dispatch_request
web_1  |     return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args)
web_1  |   File "/app/application.py", line 253, in index
web_1  |     people = get_people()
web_1  |   File "/app/application.py", line 73, in get_people
web_1  |     "interests": [skill["controlledName"] for skill in persondata["skills"]]
web_1  |   File "/app/application.py", line 73, in <listcomp>
web_1  |     "interests": [skill["controlledName"] for skill in persondata["skills"]]

My suspicion is that a CapX update has changed the API. @aharwood2 ?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions