Handle possible WP_Error for $response.