Forums

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

Confluence API returns error on a particular request

Maksim
December 7, 2023

The request: GET https://...//rest/api/content?expand=childTypes.all

The response:

{
"statusCode": 500,
"message": "java.lang.IllegalStateException: Cannot call entrySet() on collapsed object, ensure the property was included in the expansions on the original service request"
}

That's pretty much it. I'm aware this API is deprecated but there's no warning on the dev doc site not to use this particular query parameter value. Other "expand" values work fine AFAIK. Any help appreciated.

1 answer

1 accepted

1 vote
Answer accepted
Marc -Devoteam-
Community Champion
December 7, 2023

Hi @Maksim 

Welcome to the community.

I can reproduce your issue, I suggest to raise this at Atlassian Support.

Maksim
December 7, 2023

Could you tell me how to do that? I went through some kind of "choose your issue" menu when looking for help in Confluence UI and that's how I got here. I thought there's no support for non-paying users.

Marc -Devoteam-
Community Champion
December 7, 2023

Hi @Maksim 

If you are using a free plan you are not eligible for support.

This is stated in the terms, you can do a work around. Start a 14 trail and then submit a request.

https://support.atlassian.com/contact/# 

Then switch you plan back to the free plan.

See the document on how-to

Maksim
December 7, 2023

Hi @Marc -Devoteam- 

Thank you, the procedure you outlined worked for me. I created a ticket with the support. Hopefully they will have something for me. I'll come back here and post an update when there's a definitive resolution one way or another.

Like Marc -Devoteam- likes this
Maksim
December 12, 2023

@Marc -Devoteam-the issue was resolved. Apparently it was some internal incident. I will mark this as the answer since it helped me.

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
FREE
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events