com.sforce.ws.ConnectionException: Unexpected element. Parser was expecting element 'urn:partner.soap.sforce.com:orgDisallowHtmlAttachments' but found 'urn:partner.soap.sforce.com:orgDefaultCurrencyLocale'

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via GitHub by kapil9186
, 11 months ago
Unexpected element. Parser was expecting element 'urn:partner.soap.sforce.com:orgDisallowHtmlAttachments' but found 'urn:partner.soap.sforce.com:orgDefaultCurrencyLocale'
via blogspot.com by Unknown author, 2 years ago
Unexpected element. Parser was expecting element 'urn:partner.soap.sforce.com:precision' but found 'urn:partner.soap.sforce.com:permissionable'
via GitHub by earlofrose
, 2 years ago
Unexpected element. Parser was expecting element 'urn:enterprise.soap.sforce.com:iconUrl' but found 'urn:enterprise.soap.sforce.com:label'
via Salesforce by podhornyi96
, 1 year ago
Unexpected element. Parser was expecting element 'urn:tooling.soap.sforce.com:returnType' but found 'urn:tooling.soap.sforce.com:visibility'
via Google Groups by Alex Thieme, 11 months ago
Unexpected element. Parser was expecting element 'urn:partner.soap.sforce.com:permissionable' but found 'urn:partner.soap.sforce.com:precision'
via blogspot.com by Unknown author, 1 year ago
Unexpected element. Parser was expecting element 'urn:partner.soap.sforce.com:searchable' but found 'urn:partner.soap.sforce.com:searchLayoutable'
com.sforce.ws.ConnectionException: Unexpected element. Parser was expecting element 'urn:partner.soap.sforce.com:orgDisallowHtmlAttachments' but found 'urn:partner.soap.sforce.com:orgDefaultCurrencyLocale'
at com.sforce.ws.bind.TypeMapper.verifyTag(TypeMapper.java:417)
at com.sforce.soap.partner.GetUserInfoResult.loadFields(GetUserInfoResult.java:582)
at com.sforce.soap.partner.GetUserInfoResult.load(GetUserInfoResult.java:559)
at com.sforce.ws.bind.TypeMapper.readSingle(TypeMapper.java:664)
at com.sforce.soap.partner.LoginResult.loadFields(LoginResult.java:236)
at com.sforce.ws.bind.TypeMapper.readSingle(TypeMapper.java:664)
at com.sforce.soap.partner.LoginResponse_element.loadFields(LoginResponse_element.java:64)
at com.sforce.soap.partner.LoginResponse_element.load(LoginResponse_element.java:56)
at com.sforce.ws.bind.TypeMapper.readSingle(TypeMapper.java:664)
at com.sforce.ws.bind.TypeMapper.readObject(TypeMapper.java:537)
at com.sforce.ws.transport.SoapConnection.bind(SoapConnection.java:174)
at com.sforce.ws.transport.SoapConnection.receive(SoapConnection.java:148)
at com.sforce.soap.partner.PartnerConnection.login(PartnerConnection.java:1349)
at com.sforce.soap.partner.PartnerConnection.(PartnerConnection.java:405)
at co.datadudes.sf2hadoop.SalesforceService$.apply(SalesforceService.scala:54)
at co.datadudes.sf2hadoop.SFImportCLIRunner$.handleCommand(SFImportCLIRunner.scala:49)
at co.datadudes.sf2hadoop.SFImportCLIRunner$.delayedEndpoint$co$datadudes$sf2hadoop$SFImportCLIRunner$1(SFImportCLIRunner.scala:39)
at co.datadudes.sf2hadoop.SFImportCLIRunner$delayedInit$body.apply(SFImportCLIRunner.scala:10)
at scala.Function0$class.apply$mcV$sp(Function0.scala:40)
at scala.runtime.AbstractFunction0.apply$mcV$sp(AbstractFunction0.scala:12)
at scala.App$$anonfun$main$1.apply(App.scala:76)
at scala.App$$anonfun$main$1.apply(App.scala:76)
at scala.collection.immutable.List.foreach(List.scala:381)
at scala.collection.generic.TraversableForwarder$class.foreach(TraversableForwarder.scala:35)
at scala.App$class.main(App.scala:76)
at co.datadudes.sf2hadoop.SFImportCLIRunner$.main(SFImportCLIRunner.scala:10)
at co.datadudes.sf2hadoop.SFImportCLIRunner.main(SFImportCLIRunner.scala)

Users with the same issue

You are the first who have seen this exception.

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.