login error in app store with apple id
I have a MacBook Pro 13(macOS catalina) and I'm facing an error. When I try to log in to the App Store with my Apple ID and password, I encounter an error message saying 'An unknown error occurred'.
I've tried some solutions like restarting the laptop, disconnecting WiFi, and deleting all keychain files, but none of them worked.
When I log in to the Apple website using my Apple ID and password through the browser, it logs in successfully, but in the 'All Devices' section, my MacBook appears as unverified.
Without logging in, I can't install any applications from the App Store or update any apps.
Please help me with this problem.
MacBook Pro 13″, macOS 10.15