422 error instead of 401 error

why do I get a 422 error if a signature is wrong how can I get a 401 error?