The specified segment is invalid: Segment 'dimension1' is not a supported segment

We do have licensed Cloud instance running and do use matomo “pages” as environments,
for example: so page id = 1 is dev, page id = 2 is prod
Therefore all segments we want to share across all pages/environments.

When I change the visibility of a segment to “all”, it will throw error message:
The specified segment is invalid: Segment ‘dimension1’ is not a supported segment.

I checked all definitions of custom dimensions and they are synced across all pages.

For us this is essential, do you have any idea what is going on?