Problem with linking to the Bnet account

I linked my wow logs account by removing permission to access
when I try to import characters from my account but I get an error message: The character import failed or the link failed. If you have not authorized Warcraft Logs to display your character profile, you must unlink, revoke CMT authorization on, and re-establish the link. When reconnecting, check all possible boxes this time
But I dont know how…

On your account pages, under Security and Privacy, there is an Authorized Applications section. Go there and remove WCL from the list.