Print this page

Error: 'Object' is not a valid child relationship name for entity 'object'

Knowledge Article Number 000004556

This error can occur on a VisualForce page when a related list is being referenced but isn't available on the user's page. An example of this error would be:

'OpenActivities' is not a valid child relationship name for entity Opportunity.

The problem can appear confusing when the related list is actually added to the page layout by the system administrator. However the related list has been removed by the individual user (the error is user-specific).


The related list can be added back in by going to:

Setup | My Personal Information | Change My Display | Customize My Pages | Select the (custom/standard object) from the list | Customize My Pages.

Add the related list that is referenced at the start of the error message into the selected list and click save. This should resolve the error message.

promote demote