syncCustomObject returns error "Unexpected Error"
I am able to create an object and fields but I cannot add cases to the custom object. Below are the request and response. In this example I am trying to UPSERT the product ID (key) and marketing ID (Link to Lead object). Both fields are integers in the custom object. I am able to make other calls using the same header. Any help or suggestions to try would be appreciated.
Request:
<ns2:paramsSyncCustomObjects xmlns:ns2="http://www.marketo.com/mktows/">
<objTypeName>testProduct_c</objTypeName>
<customObjList>
<customObj>
<customObjKeyList>
<attribute>
<attrName>productID</attrName>
<attrValue>999999</attrValue>
</attribute>
</customObjKeyList>
<customObjAttributeList>
<attribute>
<attrName>marketingID</attrName>
<attrValue>112617</attrValue>
</attribute>
</customObjAttributeList>
</customObj>
</customObjList>
<operation>UPSERT</operation>
</ns2:paramsSyncCustomObjects>
Response:
<ns2:successSyncCustomObjects xmlns:ns2="http://www.marketo.com/mktows/">
<result>
<syncCustomObjStatusList>
<syncCustomObjStatus>
<objTypeName>testProduct_c</objTypeName>
<customObjKeyList>
<attribute>
<attrName>productID</attrName>
<attrType xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:nil="true"/>
<attrValue>999999</attrValue>
</attribute>
</customObjKeyList>
<status>FAILED</status>
<error>Unexpected error</error>
</syncCustomObjStatus>
</syncCustomObjStatusList>
</result>
</ns2:successSyncCustomObjects>