2

We are working on a managed package and having a VF page that can be added as an inline page. While testing it in the installed org, that inline page is not rendering sometimes and it's showing the error as "login.salesforce.com refused to connect".

In browser console we are getting below error messages:

Refused to display 'https://login.salesforce.com/?ec=302&startURL=%2Fapex%2FWEInlineLead%3Finline%3D1%26id%3D00Q1U0000061Y8I' in a frame because it set 'X-Frame-Options' to 'deny'.

Refused to display 'https://login.salesforce.com/?ec=302&startURL=%2Fapex%2FWEScoreAndRateForLead%3Finline%3D1%26id%3D00Q1U0000061Y8I' in a frame because it set 'X-Frame-Options' to 'deny'.

But if I try to run the same VF page by passing the corresponding recordId in a separate tab the page works fine.

Weirdly, the Inline VF page works sometimes after a few hours.

enter image description here

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.