Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

com.atlassian.confluence.api.service.exceptions.BadRequestException: Error parsing xhtml: Unexpected close tag </xml>; expected </p>. #7

Open
justinTM opened this issue Sep 16, 2021 · 0 comments

Comments

@justinTM
Copy link

Thank you for opening an issue. Please provide as much of the following information as relevant to help understand the problem.

Terraform Version

1.0

Affected Resource(s)

  • confluence_content

Terraform Configuration Files

// connect to Confluence API
provider "confluence" {
  site  = var.confluence_site
  user  = var.confluence_user
  token = var.confluence_token
}

// make a new wiki page
resource confluence_content "default" {
  body   = "<p>This page was built with Terraform<p>"
  parent = var.confluence_parent_id
  space  = var.confluence_space
  title  = "Example Page"
}

Debug Output

Error: 400 Bad Request

 POST /wiki/rest/api/content

com.atlassian.confluence.api.service.exceptions.BadRequestException: Error parsing xhtml: Unexpected close tag </xml>; expected </p>.
 at [row,col {unknown-source}]: [1,405]
 Authorized: false
 Valid: true
 Successful: false
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant