There was an error attempting to load the requested page

  • 2
  • Problem
  • Updated 5 months ago
  • Solved
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
Photo of Rajendra Rathore

Rajendra Rathore

  • 1,480 Points 1k badge 2x thumb

Posted 2 years ago

  • 2
Photo of Jannik Gysi

Jannik Gysi

  • 594 Points 500 badge 2x thumb
Hi Raj

Are there any errors displayed in the console?
Photo of Rajendra Rathore

Rajendra Rathore

  • 1,480 Points 1k badge 2x thumb
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)
Photo of Rajendra Rathore

Rajendra Rathore

  • 1,480 Points 1k badge 2x thumb
@Jannik Gysi Can you please help with that issue?

Thanks,
Raj
Photo of Skuidward Tentacles (Raymond)

Skuidward Tentacles (Raymond), Champion

  • 17,224 Points 10k badge 2x thumb
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?
Photo of Rajendra Rathore

Rajendra Rathore

  • 1,480 Points 1k badge 2x thumb
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:

Photo of Rajendra Rathore

Rajendra Rathore

  • 1,480 Points 1k badge 2x thumb
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
(Edited)
Photo of Robin

Robin

  • 894 Points 500 badge 2x thumb
This did the trick, thank you!