My add-on ChartExpo can be installed from Get Add-ons inside of google sheet. In add-on i have added functionality to Export selected Chart image from the sidebar into a google sheet. To get click behavior on chart image I have dynamically assigned script method to it. When i will click on the image, my Add-on need to be loaded in the sidebar. It was working fine during my development and even after publishing working as required from publisher account only.
My add-on can be opened in sidebar from two places, one is from the "Add-ons" menu and other is by clicking on "exported chart image". My problem is that when I click on a generated chart image inside of google sheet, it is not opened in the sidebar and users keeps getting following error message
"You do not have access to perform that action. Please ask the owner of this item to grant access to you."
Please help me out, how can I resolve this issue.
Following error occurred only on images generated by ChartExpo add-on from non publisher account, but If I click on the "chart image" from my publisher account then error not occurred. Please check the screenshot for more detail of the error.
I shall be very thankful to you.
Regards,