Our team has gotten the same error a few times over the last week or so.
Personally the way I avoided it was to just go into Segments and create
there and Publish and save and then update components in the dashboard,
currently open in another tab. Though it was intermittent, it seemed to
occur over and over at certain times. Thinking the issue was with the
monthly update. Haven't see this for a few days now.