Hello, when I’m doing a get, my code breaks with a...
# ktor
c
Hello, when I’m doing a get, my code breaks with a 403. I tried to add:
Copy code
HttpClient{
        expectSuccess = false
        HttpResponseValidator {
            validateResponse { response ->
                println("RESP: $response")
            }
            handleResponseException { cause ->
                println("CAUSE: $cause")
            }}
        }
But my code doesnt even reach any of those, either the
validateResponse
nor the
handleResponseException
. With my other api calls, i can see them entering the
validateResponse
, but not the one that gives me a 403. Anyone can help?
👀 1
e
Hi @Christian Sousa, could you file an issue? I’ll try to reproduce it first.