How to enable Pages Collaboration on Mac? I am well connected with my iCloud Drive on my Mac but when I try to collaborate with a friend in a Shared document I receive the following error:

We have tried it both way:

me sharing a document and sending her permission
she sending me a document and sending me permission

When I log into www.icloud.com, I can collaborate there.
It also tells me that I am offline:

But thats not true because I can create Folder, add files to our Shared folder from my Mac and it gets uploaded and is visible.
I am currently using Pages version 10.0.
What am I missing here?
This might not be a full-fledged solution, rather a step in the right direction- have you tried restarting your computer in Safe Mode? If there is a rogue app/or extension causing the issue then Pages will function correctly and you can start investigating the apps/extensions you have installed that might be the culprit.
Apple Support- Safe Mode