81. Why am I getting an error “URL No Longer Exists” while accessing the Visualforce page?
When you add a conversation view to the page layout and try to access it, you may get the error “URL No Longer Exists” One of the possible reasons may be that Clickjack Protection for Visualforce page is enabled for your Org.
To check if Clickjack is enabled:
- On the Setup page, search for Security.
- Under Platform Encryption, click Sessions Settings.
- Under Clickjack Protection, check whether the following two check boxes are enabled:
- Enable clickjack protection for customer Visualforce pages with standard headers; and
- Enable clickjack protection for customer Visualforce pages with headers disabled is enabled.
Solution:
If Clickjack protection is enabled, follow the given process to resolve the error:
- On the Setup page, search for Visualforce.
- On the Visualforce page, search for the visualforce page for which you want to resolve the error.
- Click Edit.
- Modify the following attribute in the first line applyHtmlTag =”false”