Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- FATAL EXCEPTION: GetUsers
- Process: com.example.phonebook, PID: 6674
- io.ktor.client.call.NoTransformationFoundException: No transformation found: class io.ktor.utils.io.ByteBufferChannel (Kotlin reflection is not available) -> class com.example.phonebook.data.remote.dto.DataResponse (Kotlin reflection is not available)
- with response from https://randomuser.me/api/?inc=name,phone,picture:
- status: 404 Not Found
- response headers:
- Date: Fri, 26 May 2023 22:26:21 GMT,
- Content-Type: text/plain; charset=utf-8,
- Content-Length: 9,
- Connection: keep-alive,
- X-Powered-By: Express,
- Access-Control-Allow-Origin: *,
- ETag: W/"9-0gXL1ngzMqISxa6S1zx3F4wtLyg",
- Vary: Accept-Encoding
- , CF-Cache-Status: DYNAMIC
- , Report-To: {"endpoints":[{"url":"https:\/\/a.nel.cloudflare.com\/report\/v3?s=fQzS8zmrzz3eTOZGApRNDiMLsWQz0Vmjfzq7iL1ZKIKQ7bfkT0Jk5sY0cAeJW3njBbe74tR66dV4qrTl1IVGygpajCCnVAGluJTePq%2B5yPSXVoqMqi85SbIiQqf0fUrx"}],"group":"cf-nel","max_age":604800}
- , NEL: {"success_fraction":0,"report_to":"cf-nel","max_age":604800}
- , Server: cloudflare
- , CF-RAY: 7cd970753bb42bf8-FRA
- , alt-svc: h3=":443"; ma=86400
- at io.ktor.client.call.HttpClientCall.bodyNullable(HttpClientCall.kt:93)
- at com.example.phonebook.data.remote.dto.ClientApi.getNewClient(ClientApi.kt:33)
- at com.example.phonebook.data.remote.dto.ClientApi$getNewClient$1.invokeSuspend(Unknown Source:14)
- at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
- at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:106)
- at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:463)
- at java.util.concurrent.FutureTask.run(FutureTask.java:264)
- at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:307)
- at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1137)
- at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:637)
- at java.lang.Thread.run(Thread.java:1012)
- Suppressed: kotlinx.coroutines.DiagnosticCoroutineContextException: [StandaloneCoroutine{Cancelling}@b0fb8f7, java.util.concurrent.ScheduledThreadPoolExecutor@6173364[Running, pool size = 1, active threads = 1, queued tasks = 0, completed tasks = 5]]
Advertisement
Add Comment
Please, Sign In to add comment