Object events error 500

I am trying to send request to this endpoint http://localhost/api/v4/objects/documents/documentsearchresult/126/events/
However it gives me 500 Error: Internal Server Error. I inputed non existing document_id it gives me 404 so 126 must not be a non-existing because it does not give me 404.

The reason is that this is an invalid request. The console will show the reason:

django.core.exceptions.ImproperlyConfigured: The model DocumentSearchResult is not registered. Please use actstream.registry to register it.

The correct request is:

http://localhost/api/v4/objects/documents/document/126/events/

This topic was automatically closed 8 hours after the last reply. New replies are no longer allowed.