Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Failed to update build status

Jin Wu
Contributor
October 17, 2018

Hi Team,

i'm try to update build status in Bitbucket Cloud, while getting below error:

b'{"type": "error", "error": {"fields": {"state": ["\\"state\\" must be one of set([\'SUCCESSFUL\', \'FAILED\', \'INPROGRESS\', \'STOPPED\'])"]}, "message": "state: \\"state\\" must be one of set([\'SUCCESSFUL\', \'FAILED\', \'INPROGRESS\', \'STOPPED\'])"}}'

 

first, i get json dict by 2.0 REST API url like commit/9c6b706/statuses/build/2922406180584a718e4403c0b0ee95ae

then i put the same json without changing state, and get above error, could you help take a look? thanks!

2 answers

1 accepted

0 votes
Answer accepted
Tyler T
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
October 18, 2018
Jin Wu
Contributor
October 18, 2018

thanks Tyler. i used "INPROGRESS". the root cause i missed ApplicationType when sending request.

Like Oleksandr Tarabanovskyi likes this
0 votes
Jin Wu
Contributor
October 17, 2018

one more, i also changed state with different one like "INPROGESS", hit the same error.

Suggest an answer

Log in or Sign up to answer
TAGS
atlassian, mindful member, mindful member badge, atlassian community, community kudos, community giveaway, atlassian swag, community values, empathy and kindness, badge challenge, atlassian learning, community engagement, swag giveaway

Earn a Badge, Win a Prize 🎁

Earning the Mindful Member badge proves you know how to lead with kindness, plus it enters you into a giveaway for exclusive Atlassian swag. Take the quiz, grab the badge, and comment on our announcement article to spread the good vibes!

Start here
AUG Leaders

Atlassian Community Events