Refetch if HTTP returned error response

How do I tell Sentry to re-fetch the artifacts when it goes ‘There were 2 errors encountered while processing this event’