# Bitbucket - responded with not authorized

**URL:** <https://community.jenkins.io/t/bitbucket-responded-with-not-authorized/13285>\
**Category:** Ask a question\
**Tags:** question, pipeline\
**Created:** [March 13, 2024, 7:57am UTC](https://community.jenkins.io/t/bitbucket-responded-with-not-authorized/13285 "2024-03-13T07:57:24Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Tcncunha](https://dub1.discourse-cdn.com/flex013/user_avatar/community.jenkins.io/tcncunha/32/8912_2.png) [@Tcncunha](https://community.jenkins.io/u/Tcncunha)\
**Post date:** [March 13, 2024, 7:57am UTC](https://community.jenkins.io/t/bitbucket-responded-with-not-authorized/13285/1 "2024-03-13T07:57:24Z")

</div>

Hello Everyone

I have a Jenkins configured with Bitbucket which works fine, but sometimes without any reason I get messages like this:

> Mar 11, 2024 11:21:42 AM INFO com.atlassian.bitbucket.jenkins.internal.http.HttpRequestExecutorImpl handleError  
> Bitbucket - responded with not authorized  
> Mar 11, 2024 11:21:42 AM INFO com.atlassian.bitbucket.jenkins.internal.status.BuildStatusPoster postBuildStatus  
> Failed to post build status, additional information: Provided credentials cannot access the resource  
> Mar 11, 2024 11:21:48 AM INFO com.atlassian.bitbucket.jenkins.internal.http.HttpRequestExecutorImpl handleError  
> Bitbucket - responded with not authorized  
> Mar 11, 2024 11:21:48 AM INFO com.atlassian.bitbucket.jenkins.internal.status.BuildStatusPoster postBuildStatus  
> Failed to post build status, additional information: Provided credentials cannot access the resource

It’s strange because we never changed anything on the user account (it’s a service account) and this happens occasionally, some random days. Has anyone seen something like this before?  
And because of that I had to do a Manual scan of the pipeline every time, wich started to become annoying.
