You need to sign in to do that
Don't have an account?
Rajesh Nk
lightning container - static resource throws "403 Forbidden" error in container.js - test html iframe works!
Issue: Lightning Container loading a jquery fileupload widget as a static resource - throws "403 Forbidden" error in container.js
Plain iframe works
<iframe src="/resource/jqfileupload/fileupload/index.html"></iframe>
Same static resource fails in lightning container with 403
<lightning:container src="{!$Resource.jqfileupload + '/fileupload/index.html'}"/>
Any help is greatly appreciated. Thanks!
Plain iframe works
<iframe src="/resource/jqfileupload/fileupload/index.html"></iframe>
Same static resource fails in lightning container with 403
<lightning:container src="{!$Resource.jqfileupload + '/fileupload/index.html'}"/>
Any help is greatly appreciated. Thanks!
This is the Ligntning container failing url - 403 forbidden
https://xxx-dev-ed--c.container.lightning.com/lcc/1518827337000/jqfileupload2/fileupload/index.html?sfdcIFrameOrigin=https%3A%2F%2Fxxx-dev-ed.lightning.force.com
Also if using sandbox it appears that the sandbox name must be in lower case.
Had the same issue. by default lightning:container looks for index.html and should be present on the first level of your directory structure. If you want to customize please include a manifest.json file.
https://releasenotes.docs.salesforce.com/en-us/summer17/release-notes/rn_lightning_container.htm
I was getting same 403 issue while I was using chrome.
But I tried on another browser, it was working fine, I think its caching issue from sales forces, it keeps expired token or something.