You're on your way to the next level! Join the Kudos program to earn points and save your progress.
Level 1: Seed
25 / 150 points
1 badge earned
Challenges come and go, but your rewards stay with you. Do more to earn more!
What goes around comes around! Share the love by gifting kudos to your peers.
Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!
Join now to unlock these features and more
I want to use Sphinx linkcheck to check the documentation of Python projects for dead links. Some links point to stuff on Bitbucket and I need to provide credentials to see if those links are still alive. The sphinx documentation explains how to add credentials but I am struggling to get them to work. The following minimal example always yields a response telling me that Bitbucket does not support account passwords anymore, although I am using an app password.
Welcome to Atlassian Community!
I'm not really sure about the python syntax for that library, but looking at the example you shared, it seems like you are using the e-mail address as the username, and this is likely the reason why you are facing the authentication error.
To use basic authentication in calls to Bitbucket API you need to provide :
So in this case, you can try replacing the e-mail address with your bitbucket username and try executing the script again.
Hope that helps! Let me know if you have any questions.
Thank you, @Felipe Peter .