markmssd/bitbucket-server-nodejs

Can't connect

itsgoofer opened this issue · 2 comments

Hello, I'm building a simple NodeJS based CLI with some bitbucket features.

I'm trying to connect using basic auth but I'm struggling with the apis url:

var auth = {
"type": "basic",
"username": "username",
"password": "password"
}

var client = await new bitbucket('https://api.bitbucket.orgs/2.0', auth)

client.settings.get('omarfouad')

I'm getting a 'Resource not found' error.
Ideas?

@Omarfouad sorry for the long reply. We're you able to connect?

Feel free to re-open if still an issue.