com.sforce.ws.ConnectionException

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


Solutions on the web14

Solution icon of github
Unexpected element. Parser was expecting element 'urn:partner.soap.sforce.com:orgDisallowHtmlAttachments' but found 'urn:partner.soap.sforce.com:orgDefaultCurrencyLocale'

Solution icon of stackexchange-salesforce
Unexpected element. Parser was expecting element 'urn:tooling.soap.sforce.com:returnType' but found 'urn:tooling.soap.sforce.com:visibility'

Solution icon of github
via GitHub by sfell
, 1 year ago
Unexpected element. Parser was expecting element 'urn:enterprise.soap.sforce.com:compactLayoutable' but found 'urn:enterprise.soap.sforce.com:createable'

Solution icon of github
via GitHub by dwfallin
, 1 year ago
Unexpected element. Parser was expecting element 'urn:enterprise.soap.sforce.com:height' but found 'urn:enterprise.soap.sforce.com:theme'

Solution icon of stackexchange-salesforce
via Salesforce by amcep123
, 8 months ago
Unexpected element. Parser was expecting element 'urn:enterprise.soap.sforce.com:orgDefaultCurrencyLocale' but found 'urn:enterprise.soap.sforce.com:orgDisallowHtmlAttachments'

Solution icon of googlegroups
Unexpected element. Parser was expecting element 'urn:partner.soap.sforce.com:permissionable' but found 'urn:partner.soap.sforce.com:precision'

Solution icon of web
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'

Solution icon of github
via GitHub by earlofrose
, 1 year ago
Unexpected element. Parser was expecting element 'urn:enterprise.soap.sforce.com:iconUrl' but found 'urn:enterprise.soap.sforce.com:label'

Solution icon of github
Unexpected element. Parser was expecting element 'urn:enterprise.soap.sforce.com:compactLayoutable' but found 'urn:enterprise.soap.sforce.com:createable'

Solution icon of web
via blogspot.com by Unknown author, 1 year ago
Unexpected element. Parser was expecting element 'urn:partner.soap.sforce.com:precision' but found 'urn:partner.soap.sforce.com:permissionable'

Stack trace

  • 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.ws.bind.TypeMapper.verifyElement(TypeMapper.java:446) 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.ws.bind.TypeMapper.readObject(TypeMapper.java:537) at com.sforce.soap.partner.LoginResult.loadFields(LoginResult.java:236) at com.sforce.soap.partner.LoginResult.load(LoginResult.java:204) at com.sforce.ws.bind.TypeMapper.readSingle(TypeMapper.java:664) at com.sforce.ws.bind.TypeMapper.readObject(TypeMapper.java:537) 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.ws.transport.SoapConnection.send(SoapConnection.java:99) at com.sforce.soap.partner.PartnerConnection.login(PartnerConnection.java:1349) at com.sforce.soap.partner.PartnerConnection.<init>(PartnerConnection.java:405) at com.sforce.soap.partner.Connector.newConnection(Connector.java:27) 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)

Write tip

You have a different solution? A short tip here would help you and many other users who saw this issue last week.

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.