title: salesforce: expecting a right parentheses, found 'GW1sAAG'" at Row:2:Column:15
body: <p>I have faced one error while requesting Salesforce Rest API iOS Platform.</p>
  
  <p>Please find below Query:</p>
  
  <p>SFRestRequest *request = [[SFRestAPI sharedInstance] requestForQuery:[NSString stringWithFormat:@"SELECT Id, Name, Total_Distance__c, AccountId, Account.Name,Account.Flag_Url__c FROM Contact WHERE Wants_Privacy__c = false AND Id IN %@ ORDER BY Total_Distance__c DESC LIMIT 200",arrayCompetitionEntities]];</p>
  
  <p>[[SFRestAPI sharedInstance] send:request delegate:self];</p>
  
  <p>here %@ will be replaced by an array "arrayCompetitionEntities" that is ( 00326000003GW1sAAG, 00326000003GW4NAAW )</p>
  
  <p>Now while requesting this query with salesforce rest API, I have found one issue could you please let me know the issue if possible?.</p>
  
  <p>Error:</p>
  
  <p>Error Domain=CSFNetworkErrorDomain Code=400 " 00326000003GW1sAAG, ^ ERROR at Row:2:Column:15 expecting a right parentheses, found 'GW1sAAG'" UserInfo={action=, NSLocalizedFailureReason=MALFORMED_QUERY, NSLocalizedDescription= 00326000003GW1sAAG, ^ ERROR at Row:2:Column:15 expecting a right parentheses, found 'GW1sAAG', isAuthenticationFailure=false}</p>