I'm getting the following error message:
System.QueryException: Didn't understand relationship 'AccountContactRelation' 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.
Select Email, Id, (Select ContactId, AccountId From AccountContactRelation) From Contact
In AccountContactRelation object there are two lookup fields for Account and for Contact.
Please advise how to avoid such error message?