• samantha.logic
  • NEWBIE
  • 0 Points
  • Member since 2013

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 0
    Questions
  • 1
    Replies

Hello - Not quite sure if the title is most applicable, but here is the issue my team is having.

 

Our iOS app uses Core Location to identify a street address. It then searches for that street address in Salesforce, under both the Leads and the Accounts. Data can be input on the device, and then the information is uploaded back to Salesforce.

 

We normally don't get issues with the app, however, and this is the real kicker - it refuses to work in our main office.

 

Does anyone have any pointers as to what may be causing the error? I've included the Console output below. Sorry if it is more than what is required. 

 

Mar  5 15:19:27 Redacted-Name-iPad Sequoia[9181] <Warning>: (
	    "<SFAccount: 0x1e034c10> (entity: SFAccount; id: 0x1e07f900 <x-coredata&colon;//B05E5782-65F4-4EBB-9E68-F4E8D2C173FA/SFAccount/p5> ; data&colon; <fault>)"
	)
Mar  5 15:19:29 Redacted-Name-iPad Sequoia[9181] <Warning>: is connected: 1
Mar  5 15:19:29 Redacted-Name-iPad Sequoia[9181] <Warning>: SFRestAPI::send: <SFRestRequest 0x1e0506d0 
	endpoint: /services/data 
	method: GET 
	path: /v23.0/query 
	queryParams: {
	  "q" : "SELECT ID, Company, Name, Street, City, State, PostalCode, Phone FROM Lead WHERE PostalCode = '15238' AND Street LIKE '90 Beta_%' AND City = 'O'Hara Township' AND State = 'PA'"
	} 
	>
Mar  5 15:19:29 Redacted-Name-iPad Sequoia[9181] <Warning>: error: Error Domain=com.salesforce.RestAPI.ErrorDomain Code=999 "The operation couldn’t be completed. (com.salesforce.RestAPI.ErrorDomain error 999.)" UserInfo=0x1e0ac010 {message=
	'O'Hara Township' AND State = 'PA'
	                                 ^
	ERROR at Row:1:Column:175
	line 1:175 mismatched character '<EOF>' expecting ''', errorCode=MALFORMED_QUERY}
Mar  5 15:19:29 Redacted-Name-iPad Sequoia[9181] <Warning>: request:didFailLoadWithError: Error Domain=com.salesforce.RestAPI.ErrorDomain Code=999 "The operation couldn’t be completed. (com.salesforce.RestAPI.ErrorDomain error 999.)" UserInfo=0x1e0ac010 {message=
	'O'Hara Township' AND State = 'PA'
	                                 ^
	ERROR at Row:1:Column:175
	line 1:175 mismatched character '<EOF>' expecting ''', errorCode=MALFORMED_QUERY}
Sequoia[9181] <Warning>: (
	)
Mar  5 15:26:47 Redacted-Name-iPad locationd[46] <Notice>: received EBUSY, try kScanTypeChannel, channel, 153, rssi -60, delayed 0.000s
Mar  5 15:26:51 Redacted-Name-iPad Sequoia[9181] <Warning>: (
	    "<SFAccount: 0x1e034c10> (entity: SFAccount; id: 0x1e07f900 <x-coredata&colon;//B05E5782-65F4-4EBB-9E68-F4E8D2C173FA/SFAccount/p5> ; data&colon; {\n    accountType = Prospect;\n    autoRenewTerm = nil;\n    billingCity = nil;\n    billingState = nil;\n    billingStreetAddress = nil;\n    billingZIP = nil;\n    businessName = \"Brock's Account\";\n    contact = \"0x1cde1c30 <x-coredata&colon;//B05E5782-65F4-4EBB-9E68-F4E8D2C173FA/Contact/p5>\";\n    contractDate = \"2013-01-18 05:00:00 +0000\";\n    contractSignatureImageURL = nil;\n    contractTerm = nil;\n    createdContactID = nil;\n    createdContractURL = nil;\n    currentHauler = nil;\n    dateCreated = \"2013-03-05 19:40:22 +0000\";\n    dateModified = nil;\n    latitude = 0;\n    longitude = 0;\n    opportunity = \"0x1cd99420 <x-coredata&colon;//B05E5782-65F4-4EBB-9E68-F4E8D2C173FA/Opportunity/p5>\";\n    sfID = 001U000000Vm4LAIAZ;\n    shippingCity = \"O'Hara Township\";\n    shippingState = PA;\n    shippingStreetAddress = \"90 Beta Dr\";\n    shippingZIP = 15238;\n})"
	)

 

 

  • March 05, 2013
  • Like
  • 0