Integration: Querying Salesforce Native Fields Fails
Summary:
We are trying to query the Salesforce Opportunity Field Territory2, which is a lookup field to the Territory object. However, it’s failing with this error when I do the Preview Query Result:
- INVALID_FIELD: No such relation 'Territory2' on entity 'Opportunity'. If you are attempting to use a custom field, be sure to append the '__c' after the custom field name. Please reference your WSDL or the describe call for the appropriate names.
It’s not a custom field so the __c that is suggested also errors.
If I try to append __r to reference the relationship I get this error:
0