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:
Thanks a ton!
It looks like you're new here. Sign in or register to get started.