all error messages should always go into $response->{error} to avoid having to check for multiple places.