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.
Downloaded attachment with encrypted text redirects to page "Requested attachment does not exist" - Known Error
  • >
  • Knowledge Base
  • >
  • Known Error (Knowledge Base)
  • >
  • Downloaded attachment with encrypted text redirects to page "Requested attachment does not exist"
KB0686716

Downloaded attachment with encrypted text redirects to page "Requested attachment does not exist"


11496 Views Last updated : Jun 3, 2025 public Copy Permalink English (Original)
  • English (Original)
  • Japanese
KB Summary by Now Assist

Description

After impersonating from the admin to a user role, an attempt to export an attachment that has encryption text as xls/pdf for incident or any other table results in a successful download. However, when opening the downloaded file, the error "Requested attachment does not exist" occurs.

Steps to Reproduce

  1. Log in to an instance as an admin.

  2. Activate the Encryption plugins.

  3. Create an Encryption context and assign to the admin role.

    For more information, see the product documentation topic Encryption support.

  4. Go to the incident table configuration and make a file (for example, Description) an Encrypted Text field. 

  5. Impersonate a user who has an access to a table list such as the incident table.

  6. Go to incident-list.do.

  7. Right-click in the banner, then choose Export > Excel.

  8. After the download is complete, click Download to download the file.

  9. Check the sys_attachment table.

    Note that the attachment exists (the attachment is against the sys_poll table).

 

 

Workaround

You can choose from various workarounds:

  • Don't use impersonation when exporting data with encrypted-text column. Instead, log in as the user.

  • Set the glide.encryption.export_encrypted_data.allowed property to false

  • Create a special decrypt_attachment role that includes the Encrypted Export Attachment context, and add that role to the impersonating user.

    Note – In order to be able to see and add that context, disable the "Hide system contexts" business rule on sys_encryption_context first.


Related Problem: PRB1268370

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.