Issue
When running a document package that is querying specific Salesforce fields, the following error might occur:
A field specified for ordering or filtering a Relationship does not exist or is not visible:<Field Name>
A field specified for ordering or filtering a Relationship does not exist or is not visible:<Field Name>
Resolution
- Ensure the field exists.
- Ensure the user has access / permission to the field.
Error Code
A field specified for ordering or filtering a Relationship does not exist or is not visible: