i'm use ktor version 1.6.1 on KMM, for first time ...
# ktor
m
i'm use ktor version 1.6.1 on KMM, for first time call API to Backend its ok, but for the second time is fail and error.
Copy code
failed with exception: kotlinx.coroutines.JobCancellationException: Parent job is Completed; job=JobImpl{Completed}
a
Do you reuse a request builder object? If not, please share a code sample to reproduce your problem or create a YT issue.
t
Can a request builder not be reused?
a
It can be but it has
executionContext
Job that could be completed (not active).
👍 1