detect_errors function

Detect errors in parsed json response