Error publishing web request. Response HTTP status:
400
Error response HTTP body:
{"statusCode":400,"data":{"authorized":true,"valid":true,"errors":[],"successful":true},"message":"com.atlassian.confluence.api.service.exceptions.BadRequestException: Invalid status 'null'. The status must be one of [current,draft]."}
Invalid Name/Color, non-existent id of content state, or type of state desired is not allowed. Name must be less than or exactly 20 characters. Color must be a valid hex string. Status must be in [draft,current].
For those wondering what is wrong, Atlassian's documentation for setting content state of a Confluence page is missing /state?status=current in the web request URL. As displayed in RED in the screenshot below:
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.