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!
Here is the documentation: https://developer.atlassian.com/bitbucket/api/2/reference/resource/repositories/%7Busername%7D/%7Brepo_slug%7D/commit/%7Bnode%7D/statuses/build
Did you try "INPROGRESS" or "INPROGESS"?
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.