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 Summit 2018

Meet the community IRL

Atlassian Summit is an excellent opportunity for in-person support, training, and networking.

Learn more
Community showcase
Published Jul 25, 2018 in Marketplace Apps

Jira Cloud and Bitbucket Cloud Integration with Microsoft Teams

One of the newest products in the Microsoft family - Microsoft Teams,  is a chat-based hub for teamwork that integrates all the people, content, and tools your team needs to be more engaged and ...

733 views 0 3
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