techie55

Results 5 comments of techie55

Thanks @MunifTanjim for the quick response. I tried using your suggestion and getting the same error: `stack:"HTTPError: network timeout at: https://api.bitbucket.org/2.0/repositories/****/******/refs/branches?page=1&pagelen=100\n at fetch.then.then.catch.error (..\node_modules\bitbucket\src\request\fetch.js:67:13)\n at \n at process._tickCallback (internal/process/next_tick.js:189:7)"`

Hi MunifTanjim, The console output is given below: Requesting page 1 of roofstock.Databases branches bitbucket REQUEST: { timeout: 10, method: 'GET', url: ' https://api.bitbucket.org/2.0/repositories/****/*******/refs/branches?page=1&pagelen=100 ', headers: { accept: 'application/json', 'user-agent':...

Yes, I have verified by directly calling the API using a sample app. So its nothing to do with permissions. On Sat, Aug 10, 2019 at 12:37 PM Munif Tanjim...

Given below is the sample code snippet of the direct API call. These are the links I referred: https://confluence.atlassian.com/bitbucket/rest-apis-222724129.html https://confluence.atlassian.com/bitbucket/oauth-on-bitbucket-cloud-238027431.html const getToken = async () => { try { Request.post(...

Thanks MunifTanjim/node-bitbucket, I think I might have gone wrong at .listBranches({ *username: 'MunifTanjim'*, I was passing the UUID for the userName since I thought bitbucket had retired the username. Anyway,...