https://support.plex.tv/articles/204059436-finding-an-authentication-token-x-plex-token/
If you’ve changed your Plex password recently, due to Important notice of a potential data breach 24th of August 2022
you will need to fetch the token anew, as the password reset procedure will have made the previously used token invalid.