`DEBUG ktor.application - 401 Unauthorized: POST -...
# ktor
j
DEBUG ktor.application - 401 Unauthorized: POST - /match
What's a good way to figure out why I'm getting this? I'm using the Authentication feature and I have println and debugger in the basic validate callback, but it's never called and I just always get this response. I'm also using the StatusPages feature and have println and debugger in a
exception<Throwable> { call, internal ->
there, but that's not called either.
Found the issue. My client did send an invalid
Authorization
header. Was missing the
basic
prefix. But was hard to find this issue as the server couldn't give any information about what was wrong.
107 Views