B/fix nonjson errors

Expose response errors