DistinctError.DUPLICATE_ELEMENT

260 views
Skip to first unread message

Eshwar Chettri

unread,
Aug 19, 2016, 4:32:56 AM8/19/16
to AdWords API Forum
hi..
I'am getting this exception.. How to resole it

com.google.api.ads.adwords.lib.client.AdWordsServiceClient.requestInfoLogger
logRequest [http-bio-80-exec-6] INFO : Request made: Service: "AdGroupServiceInterfacePort" Method: "mutate" URL: "https://adwords.google.com/api/adwords/cm/v201603/AdGroupService" Request ID: "00053a6768d924e90a624e545c0e9c85" AxisFault faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server faultSubcode: faultString: [DistinctError.DUPLICATE_ELEMENT @ operations[4]] faultActor: faultNode: faultDetail: {https://adwords.google.com/api/adwords/cm/v201603}ApiExceptionFault:<message>[DistinctError.DUPLICATE_ELEMENT @ operations[4]]</message><ApplicationException.Type>ApiException</ApplicationException.Type><errors xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="DistinctError"><fieldPath>operations[4]</fieldPath><trigger/><errorString>DistinctError.DUPLICATE_ELEMENT</errorString><ApiError.Type>DistinctError</ApiError.Type><reason>DUPLICATE_ELEMENT</reason></errors> [DistinctError.DUPLICATE_ELEMENT @ operations[4]]

Joyce Lava

unread,
Aug 19, 2016, 4:46:31 AM8/19/16
to AdWords API Forum
Hello Eshwar,

The DistinctError.DUPLICATE_ELEMENT error occurs because of duplicates (operations, parameters, list elements) in the request. Could you please reply privately to author the complete SOAP request and response?

Thanks,
Joyce, AdWords API Team
Reply all
Reply to author
Forward
0 new messages