Confluence spaceId is missing from useProductContext

We faced exactly the same problem. This thread Release of new endpoints for Confluence REST API v2 is closed, but maybe @SimonKliewer could help us here about what is the best way to work with above issue?