Skip to page contentSkip to chat
ServiceNow support
    • Community
      Ask questions, give advice, and connect with fellow ServiceNow professionals.
      Developer
      Build, test, and deploy applications
      Documentation
      Find detailed information about ServiceNow products, apps, features, and releases.
      Impact
      Accelerate ROI and amplify your expertise.
      Learning
      Build skills with instructor-led and online training.
      Partner
      Grow your business with promotions, news, and marketing tools
      ServiceNow
      Learn about ServiceNow products & solutions.
      Store
      Download certified apps and integrations that complement ServiceNow.
      Support
      Manage your instances, access self-help, and get technical support.
Encryption error message "Fields encrypted with 'XXXXXX' encryption context are unavailable" after upgrade - Support and Troubleshooting
  • >
  • Knowledge Base
  • >
  • Support and Troubleshooting (Knowledge Base)
  • >
  • Encryption error message "Fields encrypted with 'XXXXXX' encryption context are unavailable" after upgrade
KB0719974

Encryption error message "Fields encrypted with 'XXXXXX' encryption context are unavailable" after upgrade


5805 Views Last updated : Jul 24, 2025 public Copy Permalink
KB Summary by Now Assist

Issue

Loading the form/list with the encrypted text field throws below error,

Fields encrypted with 'XXXXXX' encryption context are unavailable

Looking into the node log revealed below exception,

2018-11-13 05:31:12 (286) Default-thread-8 2778DAB0DB356F004FFAF1061D9619EF txid=52495eb0db35 SEVERE *** ERROR *** Input length must be multiple of 16 when decrypting with padded cipher
javax.crypto.IllegalBlockSizeException: Input length must be multiple of 16 when decrypting with padded cipher
at com.sun.crypto.provider.CipherCore.doFinal(CipherCore.java:936)
at com.sun.crypto.provider.CipherCore.doFinal(CipherCore.java:847)
at com.sun.crypto.provider.AESCipher.engineDoFinal(AESCipher.java:446)
at javax.crypto.Cipher.doFinal(Cipher.java:2164)
at com.glide.encryption.PlatformEncrypterDecrypter.getDecryptedValue(PlatformEncrypterDecrypter.java:86)
...
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:748)

 

Cause

  • The error message occurs when the encrypted field is set with value null (Technical Support can verify this in the database).
  • Possibly the encrypted field was set to null by a scheduled cleanup job or any other processes.

Resolution

Review the custom clean up scripts / Scheduled job and modify it accordingly so that it doesn't set the encrypted fields to null after clone/upgrade.

Related Links

Encryption support


The world works with ServiceNow.

Sign in for more! There's more content available only to authenticated users Sign in for more!
Did this KB article help you?
Did this KB article help you?

How would you rate your Now Support digital experience?

*

Very unsatisfied

Unsatisfied

Neutral

Satisfied

Very satisfied

Very unsatisfied

Unsatisfied

Neutral

Satisfied

Very satisfied

What can we improve? Please select all that apply.

What are we doing well? Please select all that apply.

Tell us more

*

Do you expect a response from this feedback?

  • Terms and conditions
  • Privacy statement
  • GDPR
  • Cookie policy
  • © 2025 ServiceNow. All rights reserved.