For me this issue was that one of our developers changed our find and findOne controller code and replaced super.findOne with strapi.service("api:blabla").findOne(sanitizedQueryParams) and made a mistake by not passing the id into the findOne like so: await strapi.service("api::ticket.ticket").findOne(id, sanitizedQueryParams) . Silly mistake but luckily our tests caught it.
The error from strapi’s side needs to be improved.