Describe the bug
With release 20240508 Timesketch started to return a 404 error when calling the active analyzers API endpoint resulting in an error every few seconds.
The problem seems to be with the client requesting GET /api/v1/sketches/[object%20Object]/analyzer/sessions/active/ which does not exist. Before PR #3058 this returned an empty 200, but with the new release a wrong path will return 404 as expected.
To Reproduce
Steps to reproduce the behavior:
Start an analyzer on your timeline
Open the dev console
Wait a moment and see the error pop up
Expected behavior
The API call should not fail and should actually call the right sketch ID and not [object%20Object].
Describe the bug With release 20240508 Timesketch started to return a 404 error when calling the active analyzers API endpoint resulting in an error every few seconds.
The problem seems to be with the client requesting
GET /api/v1/sketches/[object%20Object]/analyzer/sessions/active/
which does not exist. Before PR #3058 this returned an empty 200, but with the new release a wrong path will return 404 as expected.To Reproduce Steps to reproduce the behavior:
Expected behavior The API call should not fail and should actually call the right sketch ID and not
[object%20Object]
.