Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Enabling Pipeline in Bitbucket Cloud using REST API doesn't work suddenly

I have been enabling the Bitbucket Pipeline using REST API.


It was working fine for more than a year. But for the last couple of days, I am not able to enable the pipeline. It gives me the below error:


{"type": "error", "error": {"message": "Resource not found"}}


curl --url "{organization_name}/{repo_slug}/pipelines_config" --user XXXX:ZZZZ --request PUT --header "Content-Type: application/json" --data "{\"enabled\": true}"

Is there any change in the API?

1 answer

0 votes
Caroline R Atlassian Team Nov 15, 2021

Hi, @Akshay b

Thank you for reaching out to Atlassian Community!

I was able to enable Pipelines in a repository using the API you mentioned. By the error message you shared with us, the problem seems to be in the repository. If, for example, I change the repository name for some repo that doesn’t exist, I get the same error message:

{"type": "error", "error": {"message": "Resource not found"}}

With that said, could you please check if the workspace/repository name is correct? If it is, would you mind sharing the workspace/repository name here, so I can check if there is a problem with this repo? You can mask the name with ***. 

Looking forward to hearing from you. 

Kind regards,

Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Bitbucket

📣 Calling Bitbucket Data Center customers to participate in research

Hi everyone, Are you Bitbucket DC customer? If so, we'd love to talk to you! Our team wants to dive deep to understand your long-term plans regarding Bitbucket DC and Atlassian Cloud. Do you plan...

239 views 2 5
Read article

Community Events

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

Find an event

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

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you