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
Community Members
Community Events
Community Groups

"Unexpected response body" in API call to /pipelines/{uuid}/steps

GET Calls to the API method /2.0/repositories/{workspace}/{repo_slug}/pipelines/{pipeline_uuid}/steps/ fail with a 400 for the following reason: 

{"error": {"message": "Bad request", "detail": "Unexpected response body", "data": {"key": "unexpected.response.body", "arguments": {}}}}

I have verified that my workspace, repo_slug, and pipeline_id are correct, twice. 

The message of this error also doesn't seem to refer to anything you'd use in a GET call. 

Please let me know what you can.

1 answer

1 accepted

0 votes
Answer accepted
Syahrul Atlassian Team Nov 23, 2021

Hi @Adam Leppek

Just to confirm did you use the bracket for the pipelines UUID? It needs the bracket to works otherwise you'll receive the error.

An example call:<workspacek>/<reponame>pipelines/{53d53b0c-9a68-4fbb-b6b5-81bd5e2946a0}/steps/

Let me know if it's still failing after you added the bracket for the pipeline UUID.


Hi @Syahrul! Yes, I did use brackets around the UUID.

Syahrul Atlassian Team Nov 24, 2021

Hi @Adam Leppek

Noted, I am leaning towards the URL encoding. Can you try removing the bracket in the URL and replacing it with the following encoding:

{ = %7B
} = %7D

As an example below:

curl --request GET --url

 I hope this helps.


Like Hari Sekhon likes this

@Syahrul I replaced the brackets with the encoded version, and everything now works. Thanks a lot for helping out with this. 

Like Syahrul likes this

Suggest an answer

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

Git push size limits are coming to Bitbucket Cloud starting April 4th, 2022

Beginning on April 4th, we will be implementing push limits. This means that your push cannot be completed if it is over 3.5 GB. If you do attempt to complete a push that is over 3.5 GB, it will fail...

2,255 views 2 9
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