Thank you for supporting the Cloud Customer Connect Community in 2024. It's a gift to work with you!

Look back
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

Configure PUT request to Eloqua error: ML Statements must have a Contact root.

Facing the issue on Eloqua Configure PUT request, (create happening fine as per the documentation)

While configuring and sending payload with custom objects selected and sending  the PUT request with the foll. details

URL with instance id same as when received from create process:
PUT /api/cloud/1.0/actions/instances/< xxxxx-xxxx-xxxx-****-**** >

payload sent:

{'recordDefinition': {'ContactID': '{{Contact.Id}}', 'BusinessPhone': '{{Contact.Field(C_MobilePhone)}}', 'EmailAddress': '{{Contact.Field(C_EmailAddress)}}', 'C_FirstName': '{{Contact.Field(C_FirstName)}}', 'CustomObject57Field508': '{{CustomObject[57].Field[508]}}', 'CustomObject57Field512': '{{CustomObject[57].Field[512]}}'}, 'requiresConfiguration': False}

{"failures": [{"field": "CustomObject57Field508", "stackTrace": [{"field": "recordDefinition"}], "value": "{{CustomObject[57].Field[508]}}", "constraint": "ML Statements must have a Contact root."}, {"field": "CustomObject57Field512", "stackTrace": [{"field": "recordDefinition"}], "value": "{{CustomObject[57].Field[512]}}", "constraint": "

Tagged:

Howdy, Stranger!

Log In

To view full details, sign in.

Register

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