You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

Updating CustomField with GenericObjects

Received Response
19
Views
6
Comments
edited Jun 13, 2022 4:08AM in General Technical Discussions 6 comments

Content

I am trying to update CustomFields of a Contact object using GenericObjects, but I get an error from the server.

=================================================

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"&gt;
    <soapenv:Header></soapenv:Header>
    <soapenv:Body>
        <soapenv:Fault>
            <faultcode>soapenv:Sender</faultcode>
            <faultstring>Mismatched classes - GenericObject is declared as ContactCustomFields but is expected to be GenericObject
While trying to populate Contact.CustomFields of type GenericObject
While translating GenericObject to Contact processing GenericField at index 0
While trying to process GenericObject as Contact</faultstring>
            <detail>
                <n0:RequestErrorFault xmlns:n0="urn:faults.ws.rightnow.com/v1_2"
                    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"&gt

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!