If you're talking about this landsatxplore package, it is no longer maintained and notably the new way to login to the API via token is not supported, so the package broke in February 2025:
landsatxplore
https://github.com/yannforget/landsatxplore/issues/126