Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Why endpoint "/rest/tinymce/1/wikixhtmlconverter" returns error BadRequest: 400

Kseniya January 17, 2022

Hi, all.

Endpoint "/rest/tinymce/1/wikixhtmlconverter" returns error BadRequest: 400 : [Could not find content with contentId: 0]

It worked for a long time, but some time ago it started to return "Bad Request". 

Approximately in this time ConfuenceServer was upgraded to newer version 7.13. May be it is the reason..

How to fix this trouble?

2 answers

1 accepted

0 votes
Answer accepted
Kseniya February 2, 2022

Could not make old endpoint work.
We migrated to new endpoint 

/rest/api/contentbody/convert/storage
0 votes
David at David Simpson Apps
Atlassian Partner
January 19, 2022

It looks like you’re not sending the content ID in the request.

Is this a GET or POST?

What are you sending in the request payload?

Kseniya January 19, 2022

It is a POST.
In payload we send text like:
"wiki" : "Some text to convert"

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events