Add HasErrors
If exists, use first error

Don't overwrite the error with a "missing response hash" error
Remove unreachable code