Closed
Description
API method broken: /api/case/artifact/_search (Bug)
Request Type
Bug
Work Environment
Question | Answer |
---|---|
OS version (server) | Ubuntu |
TheHive version / git hash | 4.0.1 |
Package Type | DEB |
Problem Description
Any calls to the API method /api/case/artifact/_search return "failed with ''org.thp.thehive.models.Case$$anon$28$$anon$29 cannot be cast to org.thp.thehive.models.Observable'. This happens also from TheHive4py.
Steps to Reproduce
- Make a POST call to /api/case/artifact/_search
- An error is returned