Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Celebration

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,457,384
Community Members
 
Community Events
176
Community Groups

API request failed with status 401. Check your account and app password and try again.

Edited
#Given below parameters correctly in the pipeline, but still getting errors

script
:
- pipe: atlassian/trigger-pipeline:5.0.0
variables:
BITBUCKET_USERNAME: 'sagarpawadi-admin'
BITBUCKET_APP_PASSWORD: $BITBUCKET_APP_PASSWORD
REPOSITORY: 'CICDDL.License'
ACCOUNT: 'LYZERCICD'
##Errors
0600a5d33135: Pull complete
2566fc56a1b4: Pull complete
839a8a969a56: Pull complete
Digest: sha256:029e80242186e4668d334622085a0519ebbced0df99a7d540d70870ff9daa15c
Status: Downloaded newer image for bitbucketpipelines/trigger-pipeline:5.0.0
✖ API request failed with status 401. Check your account and app password and try again. 
Note: BITBUCKET_APP_PASSWORD has been created in App password section with all privilege's.

2 answers

Was there a resolution to this? I've tried passing my user id and generated app password as variables and plaintext with the same results.

I found the answer here, Solved: ✖ API request failed with status 401. Check your u... (atlassian.com) I was using my users email not the explicit username associated with the user. 

Hi @SAGAR PAWADI 

Thank you for your question!

1. Check username.

2. Make sure that current user have rights to access this repository.

3. The next to check, permissions for BITBUCKET_APP_PASSWORD.

 

More detail you could find in the Readme of the trigger-pipeline pipe.

 

Best regards,
Oleksandr Kyrdan

Hi @o_kyrdan , 

All the above 3 points are taken care, But still same issue persists.

Also, you could re-set up Repository Variables, to make sure you copy-paste values without trail spaces or other symbols in the value.

It's a common issues during setup.

Hi @o_kyrdan Still it's the same ? Can you please come for screen share to troubleshoot it ?

Suggest an answer

Log in or Sign up to answer
TAGS

Atlassian Community Events