Endpoint /opener/intercom throws 500

Applying the following command on the Nuki Web API returns a 500:

curl -X GET --header 'Accept: application/json' --header 'Authorization: Bearer TOKEN' 'https://api.nuki.io/opener/intercom'

Results in:

{"code":500,"description":"The server encountered an unexpected condition which prevented it from fulfilling the request","homeRef":"/","reasonPhrase":"Internal Server Error","uri":"http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html#sec10.5.1"}

See also https://github.com/Zefau/ioBroker.nuki2/issues/18#issuecomment-529869142

The endpoint /opener/brand works.

You have to provide a brand id, e.g.

curl -X GET --header 'Accept: application/json' 'https://api.nuki.io/opener/intercom?brandId=1'