401 Error when a specific user submits a commit Edited

A user is trying to commit a change into Bitbucket, the project has the Yet Another Commit Checker plugin enabled. The commit fails and the error points towards Jira rejecting the request. The Jira incident referenced is valid and the user has permission to the repository they are trying to commit to. 

Here is the error message

m-*****:loco-spark-ergc *****$ git push 
Counting objects: 11, done.
Delta compression using up to 8 threads.
Compressing objects: 100% (7/7), done.
Writing objects: 100% (11/11), 1.31 KiB | 0 bytes/s, done.
Total 11 (delta 4), reused 0 (delta 0)
remote: 
remote: (c).-.(c) (c).-.(c) (c).-.(c) (c).-.(c) (c).-.(c) 
remote: / ._. \ / ._. \ / ._. \ / ._. \ / ._. \ 
remote: __( Y )/__ __( Y )/__ __( Y )/__ __( Y )/__ __( Y )/__
remote: (_.-/'-'-._)(_.-/'-'-._)(_.-/'-'-._)(_.-/'-'-._)(_.-/'-'-._)
remote: || E || || R || || R || || O || || R ||
remote: _.' `-' '._ _.' `-' '._ _.' `-' '._ _.' `-' '._ _.' `-' '.
remote: (.-./`-'\.-.)(.-./`-`\.-.)(.-./`-`\.-.)(.-./`-'\.-.)(.-./`-`\.-.)
remote: `-' `-' `-' `-' `-' `-' `-' `-' `-' `-' 
remote: 
remote: 
remote: Push rejected.
remote: 
remote: refs/heads/feature/LOC-2113-remove-toseq-from-home-parcel-lookup: d862d8140f0bb10394fde395bff43b9f3a5628ea: Unable to validate JIRA issues due to an unexpected exception. Please see stack trace in logs.
remote: 
To https://bitbucket.*********.com/scm/loc/loco-spark-ergc.git\\ ! [remote rejected] feature/LOC-2113-remove-toseq-from-home-parcel-lookup -> feature/LOC-2113-remove-toseq-from-home-parcel-lookup (pre-receive hook declined)
error: failed to push some refs to 'https://*****@bitbucket.********.com/scm/loc/loco-spark-ergc.git'
m-*****:loco-spark-ergc *****$

According to Atlassian "Based on Stack Trace Analysis, the plugin is trying to call JIRA on a way that an unauthorized (401) error code is returned."

0 answers

Suggest an answer

Log in or Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Bridget Sauer
Published Apr 10, 2018 in Marketplace Apps

Learn about how Stefan K. built one of the *first ever* Marketplace apps

In this post you will discover more about the evolution of K15t software, some big topics they're currently focusing on in the app space, and a rare (not not funny!) photo of founders Mike Cannon-Bro...

12,831 views 11 24
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you