Event recording does not upload

Occasionally, an event would fail to upload with a “Failed to upload event.” What is the solution for this?