You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Internal Server Error: /api/v2/incidents/34521/automatic-ticket/
Traceback (most recent call last):
File "/usr/local/lib/python3.10/site-packages/django/core/handlers/exception.py", line 47, in inner
response = get_response(request)
File "/usr/local/lib/python3.10/site-packages/django/core/handlers/base.py", line 181, in _get_response
response = wrapped_callback(request, *callback_args, **callback_kwargs)
File "/usr/local/lib/python3.10/site-packages/django/views/decorators/csrf.py", line 54, in wrapped_view
return view_func(*args, **kwargs)
File "/usr/local/lib/python3.10/site-packages/rest_framework/viewsets.py", line 125, in view
return self.dispatch(request, *args, **kwargs)
File "/usr/local/lib/python3.10/site-packages/rest_framework/views.py", line 509, in dispatch
response = self.handle_exception(exc)
File "/usr/local/lib/python3.10/site-packages/rest_framework/views.py", line 469, in handle_exception
self.raise_uncaught_exception(exc)
File "/usr/local/lib/python3.10/site-packages/rest_framework/views.py", line 480, in raise_uncaught_exception
raise exc
File "/usr/local/lib/python3.10/site-packages/rest_framework/views.py", line 506, in dispatch
response = handler(request, *args, **kwargs)
File "/app/Argus/src/argus/incident/views.py", line 329, in update
url = ticket_class.create_ticket(serialized_incident)
File "/usr/local/lib/python3.10/site-packages/argus_ticket_rt.py", line 138, in create_ticket
custom_fields = cls.get_custom_fields(
File "/usr/local/lib/python3.10/site-packages/argus_ticket_rt.py", line 67, in get_custom_fields
custom_fields[key] = incident_tags[field["tag"]]
KeyError: 'kundetjeneste'
It is unclear whether kundetjeneste is missing from "custom_fields" or "incident_tags" but missing keys in both ought to be handled.
The text was updated successfully, but these errors were encountered:
It is unclear whether kundetjeneste is missing from "custom_fields" or "incident_tags" but missing keys in both ought to be handled.
The text was updated successfully, but these errors were encountered: