ERROR Application - 307:reportUnresolvedClass - This class is an internal synthetic class generated by the Kotlin compiler, such as an anonymous class for a lambda, a SAM wrapper, a callable reference, etc. It's not a Kotlin class or interface, so the reflection library has no idea what declarations does it have. Please use Java reflection to inspect this class: class com.wallscope.casebook.api.routes.patients.PatientsKt$patients$1$1$2