AnsweredAssumed Answered

Salesforce: Executing SOQL using the http connector)

Question asked by skona254110 on Aug 22, 2017
Latest reply on Jan 6, 2018 by fabio_invernizzi044455

I am trying to execute a SOQL statement and get the results from Salesforce using HTTP connector?  In the HTTP connector, I have set the URL to https://cs23.salesforce.com/services/data/v21.0/query and in the run time I am passing the query .. so the URL at the runtime is looking like this 

https://cs23.salesforce.com/services/data/v21.0/query/?q=<SOQL query that I built> 

 

But I get the error saying 

Error message received from Http Server, Code 400: Unknown Version

Process terminating -- some documents reached an exception which is set to halt all documents: (400) - Error message received from Http Server, Code 400: Unknown Version; Caused by: Error message received from Http Server, Code 400: Unknown Version

 

Is this the problem with the version number in my URL? Any ideas?? Adam Arrowsmith

Outcomes