Can't edit or trim multisport file. "Something went wrong on our end. Please try saving your activity again."

"code": 500,
"content": "An unexpected error occurred while processing the file."

I've tried several different things, trimming, editing legs, deleting legs. Saving the edits always fail with the same result.