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

Mark returns "400 Bad Request: com.atlassian.confluence.api.service.exceptions.BadRequestException: Content body cannot be converted to new editor format" #358

Open
AX-LLaidley opened this issue Sep 12, 2023 · 2 comments
Labels

Comments

@AX-LLaidley
Copy link

What happened?
I have several files that fail to sync to Confluence, returning the following error:

{"statusCode":400,"data":{"authorized":true,"valid":true,"errors":[],"successful":true},"message":"com.atlassian.confluence.api.service.exceptions.BadRequestException: Content body cannot be converted to new editor format"}
2023-09-12 16:14:15.283 FATAL Confluence API returned unexpected status: 400 Bad Request, output: "{\"statusCode\":400,\"data\":{\"authorized\":true,\"valid\":true,\"errors\":[],\"successful\":true},\"message\":\"com.atlassian.confluence.api.service.exceptions.BadRequestException: Content body cannot be converted to new editor format\"}"

What did you expect to happen?
I expected all the files in the GHA job to be properly synced to Confluence, in their specified locations.

** Information (please complete the following information):**

  • Mark Version (mark --version): 9.9.0
  • Mark Parameters: --trace
  • Confluence Version: Cloud
  • Environment specific Information: Running in GHA

** Logs or other output**
Example log files with the bearer token stripped out:
Device-Details-Errorlog.txt
RC-Caveats-ErrorLog.txt
RC-FAQ-ErrorLog.txt

Additional context
Add any other context about the problem here.

@jimmcslim
Copy link

jimmcslim commented Dec 12, 2023

I am also experiencing this issue, I wonder if it is related to #364 ?

@AX-LLaidley
Copy link
Author

Entirely possible. This error is a bane to my sanity. Not sure what the cause is though. I have several docs that cannot be synced to Confluence due to this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants