[//]: # (werk v2)
# REST-API: error 500 on service discovery when disabling active or custom checks
key | value
---------- | ---
date | 2024-08-26T07:59:27+00:00
version | 2.4.0b1
class | fix
edition | cre
component | rest-api
level | 1
compatible | yes
When disabling an active or custom check and running the service discovery via
the REST-API, for example with the
```
/domain-types/service_discovery_run/actions/start/invoke
```
endpoint, this would cause an error 500 to be returned.
Now, the service discovery via the REST-API works as expected.