The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

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

Getting ApiValueError: No space or no content type, or setup a wrong version type s

Vishal Dongre
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
February 22, 2022

When I tried to update confluence page with HTML using Jinja2 template I am getting "atlassian.errors.ApiValueError: No space or no content type, or setup a wrong version type set to content, or status param is not draft and status content is current" error. 

I searched on internet but unable to find any solution. I think I need to escape some charater but not sure. Please guide me here.


image.png

Below is the error:
image.png

1 answer

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

0 votes
is_manojsurelia
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
April 6, 2023

Hi @Vishal Dongre 

You need to provide closing tag for h2, it should work fine then.

Regards,

Manoj

TAGS
AUG Leaders

Atlassian Community Events