dependabot-script icon indicating copy to clipboard operation
dependabot-script copied to clipboard

Dependabot error with Bitbucket server Clients::Bitbucket::NotFound

Open rsaiprashanth opened this issue 4 years ago • 1 comments

I have tried dependabot-script with Azure devops and had no big hurdles (I noticed Dependabot throws error repo not found when the I used user access token rather than system access token in ADO using private artifact feeds), but now trying with enterprise Bitbucket server I only see this error.

Could you please guide me here?

docker run --rm -v "$(pwd):/home/dependabot/dependabot-script" -w /home/dependabot/dependabot-script -e BITBUCKET_ACCESS_TOKEN=$BITBUCKET_ACCESS_TOKEN -e GITHUB_ACCESS_TOKEN=$GITHUB_ACCESS_TOKEN -e PACKAGE_MANAGER=npm_and_yarn -e PROJECT_PATH=projects/project_name/repos/repo_name bundle exec ruby ./generic-update-script.rb

Error /home/dependabot/dependabot-script/vendor/ruby/2.7.0/gems/dependabot-common-0.142.0/lib/dependabot/clients/bitbucket.rb:170:in `Clients::Bitbucket::NotFound)

rsaiprashanth avatar Aug 27 '21 18:08 rsaiprashanth

Me too have the same issue. Will there be any fix for the error?

ghost avatar Feb 17 '22 04:02 ghost

I am having the same issue, any updates?

aperkaz avatar Sep 01 '22 13:09 aperkaz

I think this is a dupe of #664 since you're trying to auth via an access token but the script was passing the wrong username. That was fixed in #859

jeffwidman avatar Sep 16 '22 22:09 jeffwidman