I have Accounts and InteractionsReferences.
Trying to query something like this (formatted because I'm using GET query:
SELECT+Account.Name+,(SELECT+Interaction_References__r.Id+FROM+Interaction_References__r)+FROM+Account+ORDER+BY+CreatedDate+DESC+LIMIT+10
But I get the following error:
{
"message": "\nInteraction_References__r.Id FROM Interaction_References__r) FROM ERROR at Row:1:Column:64 Didn't understand relationship 'Interaction_References__r' in FROM part of query call. If you are attempting to use a custom relationship, be sure to append the '__r' after the custom relationship name. Please reference your WSDL or the describe call for the appropriate names.",
"errorCode": "INVALID_TYPE"
}
However, when looking at the field in Salesforce, I see this, which makes it seem like I am calling it the right way:
Any help is appreciated!