There was an error attempting to load the requested page

We are using page include but for one user it’s throwing error as :
There was an error attempting to load the requested page.

Note: Btw same user able to see that page when i am opening the page using the URL.
So it’s that user have access to that skuid page.

Thanks,
Raj

Hi Raj

Are there any errors displayed in the console?

Anything unique about that user? Profile, permission set, sharing rules, etc…? Are you passing any URL parameters that may cause the page to load a record that user doesn’t have access to?

Hi Jannik,

Yes i am getting errors in console that the page include skuid page not found:


Failed to load resource: the server responded with a status of 404 (Not Found)
https://na33.salesforce.com/apex/include?id=00339000022Oi2cAAC&isinclude=true&page=ContactDe… Failed to load resource: the server responded with a status of 500 (Server Error)
https://na33.salesforce.com/apex/include?isinclude=true&page=PageIncludeWaitPage Failed to load resource: the server responded with a status of 500 (Server Error)

No there is no issue with user profile.

When i am accessing that same page direclty for same user then it’s working fine.

Like  i used  :https://skuid.na33.visual.force.com/apex/ui?page=PageIncludeWaitPage
page for that same user and it’s working fine.

Here are the errors i am getting in console:



@Jannik Gysi Can you please help with that issue?

Thanks,
Raj

Got that  solution for Skuid Support team regarding that issue:

  • Go to the profile of the user
  • Visualforce Page Access –> Edit
  • Add the VF page ‘Include’ to the enabled VF pages

This did the trick, thank you!