Error: there was a problem casting a vote. Returned status: error, error: Bad Request

When using the confluence-survey-plugin as below in a space themed with Theme Press I get the error in the summary above.

<ac:structured-macro ac:name="vote">
  <ac:parameter ac:name="title">New Snack in Bistro</ac:parameter>
  <ac:plain-text-body><![CDATA[Snickers
Milky Way
Rice Cakes
Sushi
Pickled Okra]]></ac:plain-text-body>
</ac:structured-macro>

Using the exact same code in a regular themed space works as expected.

Using the macro in Confluence 5.4.4 with Theme Press 1.1.2

Anyone seen this and resolved it?

1 answer

1 accepted

this problem can only occur when using the latest survey plugin (2.8+) as that is solely dependent that the wiki page can be parsed for macros. If the theme plugin interferes with parsing a wiki page i dont think i can help you much except using an older version (until survey plugin 2.7) of the survey plugin. That time it was possible to vote via post backs. Without looking at how the theme works my current suggestion would be:

* Using survey plugin 2.7 or older

* Ask the people behind the theme to get the page parseable again.

Adjusting my answer. I have just installed a version of the theme press, probably you mean the Brikit one. It still works, maybe it interferes with the customization you did with the theme?

Thanks Frank. I opened an issue with Brikit. They were able to reproduce the issue. I'll update here with the resolution.

Any resolution? I get the same issue on one page using Survey Macro but not using Vote Macro.

Suggest an answer

Log in or Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Kesha Thillainayagam
Posted Apr 13, 2018 in Confluence

We want to hear how your non-technical teams are using Confluence!

Hi Community! Kesha (kay-sha) from the Confluence marketing team here! Can you share stories with us on how your non-technical (think Marketing, Sales, HR, legal, etc.) teams are using Confluen...

1,777 views 25 10
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you