get: return an error on non-200 responses