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

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
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Posted Jul 10, 2018 in Confluence

We want to see the templates you've created in Confluence!

Hi Community, Jessica here from the Confluence Product Marketing team!  July’s community challenge is all about sharing pictures  — and as an extension of our first post on what ...

631 views 21 11
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