Hi there,
Sorry that you're getting an error message while using the Creative Cloud Library in Photoshop 21.2.
What exactly is the error message you're getting and when do you get it? What is the operating system and its version you're working with? A screenshot showing the error message might be helpful in understanding the exact issue.
Please checkout the steps mentioned in this article https://helpx.adobe.com/creative-cloud/kb/libraries-panel-not-working.html and let us know if that helps.
Thanks,
Akash