Happy Business Starts Here

Highlighted
Zuora Support

Invalid element in com.sforce.soap.partner.Field - encrypted.

Receiving the below error when trying to generate Quote Pdf

 

com.zuora.sync.sfdc.quote.exceptions.QuoteDocumentException: com.zuora.sync.sfdc.quote.exceptions.SfdcRemoteException: ; nested exception is: 
org.xml.sax.SAXException: Invalid element in com.sforce.soap.partner.Field - encrypted.






If you found my answer helpful, please give me a kudo ↑
Help others find answers faster by accepting my post as a solution √

1 REPLY 1
Zuora Support

Re: Invalid element in com.sforce.soap.partner.Field - encrypted.

On further investigation, it has been observed that Shield Platform Encryption has been enabled in the salesforce org

Salesforce article for reference - https://trailhead.salesforce.com/en/content/learn/modules/spe_admins/spe_admins_set_up

The fields on Account object which were used in the Quote template have been encrypted accordingly in this particular scenario

In order to find which fields are encrypted - 

 

  1. From Setup, use the Quick Find box to find the Platform Encryption setup page.
  2. Click Encrypt Fields

The issue is resolved once the fields are no longer encrypted or alternatively in the Quote template, these encrypted fields were not used






If you found my answer helpful, please give me a kudo ↑
Help others find answers faster by accepting my post as a solution √