Google Chart within Confluence - Access denied


Charts which have been published from google sheets are not displaying on the wiki - an 'Access denied' error message displays instead of the published charts. This was working fine yesterday.
Other wiki pages have been affected by this issue.

Can anyone suggest a solution/workaround?

HTML code:

<script type="text/javascript" src="//"> {"dataSourceUrl":"//","options":{"titleTextStyle":{"bold":true,"color":"#000","fontSize":"12"},"legendTextStyle":{"color":"#222","fontSize":"10"},"animation":{"duration":0},"width":450,"hAxis":{"useFormatFromData":true,"minValue":null,"viewWindowMode":null,"viewWindow":null,"maxValue":null},"vAxes":[{"useFormatFromData":true,"title":"","minValue":null,"viewWindow":{"min":null,"max":null},"logScale":false,"maxValue":null},{"useFormatFromData":true,"minValue":null,"viewWindow":{"min":null,"max":null},"logScale":false,"maxValue":null}],"title":"TB System Testing - Defects Raised by Priority","booleanRole":"certainty","height":320,"domainAxis":{"direction":-1},"legend":"right","useFirstColumnAsDomain":true,"annotations":{"domain":{}},"isStacked":false,"tooltip":{}},"state":{},"view":{"columns":[{"calc":"stringify","type":"string","sourceColumn":0},1,2,3,4,5]},"isDefaultVisualization":true,"chartType":"ColumnChart","chartName":"Chart8"} </script>

View mode

Displaying pageView.png

Edit mode

Displaying pageEdit.png

Thanks for any help,

2 answers

1 accepted

0 votes
Accepted answer

In the data source url, I had to remove the "&pub=1" from the parameters. This fixed my issue.

Davin Studer Community Champion May 12, 2014

You should mark Bruna's answer as the answer if it answered your question.

It usually happens when the spreadsheets are not public. Is important to make sure that all of the pages of the sheet public and that they are published.

Hi Bruna,

All the sheets are public and have been published - still not working.

Do you have any other ideas?

Thanks for the quick reply and help.

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Oct 24, 2018 in Confluence

Atlassian Research opportunity with Confluence templates

Do you use templates with Confluence? Take part in a remote 1-hr workshop. You'll receive USD $100 for your time!   We're looking for people to participate in a   remote 1-hr workshop...

997 views 14 12
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