Service Event API issue

24 views
Skip to first unread message

Alex Bredikin

unread,
Apr 17, 2025, 2:51:26 PMApr 17
to QATrack+
Hi all,

I'm trying to figure out if my clinic would be able to programmatically create service events. When I go to the API address at http://[serverIP]/api/servicelog/serviceevents/, I get an error 500. When I check server-side, the error boils down to:

django.urls.exceptions.NoReverseMatch: Reverse for 'serviceeventtemplate-detail' not found. 'serviceeventtemplate-detail' is not a valid view function or pattern name.

During handling of the above exception, another exception occurred:

django.core.exceptions.ImproperlyConfigured: Could not resolve URL for hyperlinked relationship using view name "serviceeventtemplate-detail". You may have failed to include the related model in your API, or incorrectly configured the `lookup_field` attribute on this field.

I searched the Google Group but couldn't find any other reported issues like this. Is this an issue with my install of QAT+? Or does anyone else get this error too? I'm not a Django expert, so I'm open to any ideas on how to resolve!

Thank you,
Alex
Reply all
Reply to author
Forward
0 new messages