[FIX] API different response for missing api 3116

Implements [ticket 3116](https://www.openproject.org/work_packages/3116)