Pamac authorization error

Please share output here using the </> button to format it.

This guide has tips for that and more:

This tells me you were likely building AUR packages.

Have you refreshed plasma as prescribed?
https://wiki.archlinux.org/title/KDE#Configuration_related

Show us.