I am developing an App which reads a List in HostWeb. I have granted Read permission to SiteCollection in AppManifest.
While deploying the app it throws a peculiar JavaScript error -
"JavaScript critical error at line 300 column 32 in "https://abc.sharepoint.com/xyz/_layouts/15/appInv.aspx?AppinstanceId=cvzjxh68-7fsd-f987-sdf70........"
This error occurs for all permissions be it list or web or site collection anything.
However, if I remove all permissions, then the app is successfully deployed. It is just that it is not able to access the list. Which is obvious, because it does not have the required permission.
Could anybody please advise, what is going wrong.
How can I assign 'Read' permission to sitecollection and then successfully deploy the app.