[Solved] Error message- Salesforce integration related

0

I need help understanding the following error in my output results when submitting my form:

 

Output: {"errors":{"fields":"ContactReal__c","message":"ContactReal: id value of incorrect type: Test","statusCode":"MALFORMED_ID"},"id":null,"success":false,"soap_request_header":"POST \/services\/Soap\/u\/13.0\/00D61000000ZV4w HTTP\/1.1\r\nHost: na34.salesforce.com\r\nConnection: Keep-Alive\r\nUser-Agent: PHP-SOAP\/5.3.3\r\nAccept-Encoding: gzip, deflate\r\nContent-Type: text\/xml; charset=utf-8\r\nSOAPAction: \"\"\r\nContent-Length: 699\r\nCookie: \r\n\r\n","soap_request":"<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<SOAP-ENV:Envelope xmlns:SOAP-ENV=\"http:\/\/schemas.xmlsoap.org\/soap\/envelope\/\" xmlns:ns1=\"urn:sobject.partner.soap.sforce.com\" xmlns:xsi=\"http:\/\/www.w3.org\/2001\/XMLSchema-instance\" xmlns:ns2=\"urn:partner.soap.sforce.com\"><SOAP-ENV:Header><ns2:SessionHeader><ns2:sessionId>00D61000000ZV4w!AQYAQPEABxxb7SEMB7jvfA78ZpTqTeuSus1ZvKP3UVmZIm.4JOizil6jna_tSChyeCwrwTsrZ1aDgUcM5e4ONugE2gUqWywj<\/ns2:sessionId><\/ns2:SessionHeader><\/SOAP-ENV:Header><SOAP-ENV:Body><ns2:create><ns2:sObjects><ns1:type>Market_Research__c<\/ns1:type><ns1:Id xsi:nil=\"true\"\/><Name>Name<\/Name><ContactReal__c>Test<\/ContactReal__c><\/ns2:sObjects><\/ns2:create><\/SOAP-ENV:Body><\/SOAP-ENV:Envelope>\n","soap_response_header":"<?xml version=\"1.0\" encoding=\"UTF-8\"?><soapenv:Envelope xmlns:soapenv=\"http:\/\/schemas.xmlsoap.org\/soap\/envelope\/\" xmlns=\"urn:partner.soap.sforce.com\" xmlns:xsi=\"http:\/\/www.w3.org\/2001\/XMLSchema-instance\"><soapenv:Body><createResponse><result><errors><fields>ContactReal__c<\/fields><message>ContactReal: id value of incorrect type: Test<\/message><statusCode>MALFORMED_ID<\/statusCode><\/errors><id xsi:nil=\"true\"\/><success>false<\/success><\/result><\/createResponse><\/soapenv:Body><\/soapenv:Envelope>","soap_response":"HTTP\/1.1 200 OK\r\nDate: Fri, 09 Oct 2015 18:08:45 GMT\r\nSet-Cookie: BrowserId=CmoieAWGTWu6jtBGRsKgpA;Path=\/;Domain=.salesforce.com;Expires=Tue, 08-Dec-2015 18:08:45 GMT\r\nExpires: Thu, 01 Jan 1970 00:00:00 GMT\r\nContent-Type: text\/xml;charset=UTF-8\r\nContent-Encoding: gzip\r\nTransfer-Encoding: chunked\r\n"}

raquelorellana383521 asked

    Best answer

    0

    Hi Raquel,

    As you have contacted our Support Team about this issue directly I though I would follow up here as well in case the answer has any benefit to other Community Members.

    As we discovered, in this case the error message received was caused by what SalesForce deemed an unexpected value that was being passed from the survey into SalesForce, hence the “id value of incorrect type” message received in the output.

    David – Survey Explorer

    Admin - SurveyGizmo answered
      ×

      Login

      Question stats

      • Active
      • Views382 times
      • Answers1 answer
      • Followers0 followers