Unable to "publish/publish as" due to "Attempted to upload invalid content"

The past few days, when trying to publish to a place besides the one I’m currently editing, I get this error constantly:
RobloxStudioBeta_g3IIMfxDJq

Retry does not work, and gives this window each time:

The publishing process seems to hang for much longer than usual when this happens. I can’t get it to happen consistently outside of random windows of time throughout the day.

Expected behavior

I expect the game to publish normally, whether I’m using Publish or Publish As.