Domino & Notes error

You don't have any of the specified encryption keys

Often seen in code as 'NotesException: Notes error: You don't have any of the specified encryption keys'.

What it means

A document is being encrypted with named secret encryption keys, but the ID doing the work holds none of those keys.

Common causes

  • The secret key was never shared with or merged into this user or server ID
  • Code running on a server uses the server ID, which lacks the key
  • The key name in EncryptionKeys or the form's default encryption keys is misspelt

Quick fixes

  1. Check which ID runs the code (user, server or agent signer) and which keys it holds in User Security
  2. Export the secret key from an ID that has it and import it into the ID that needs it
  3. Check the exact key names set on the document or form
  4. Back up ID files before importing keys

Need a hand with this?

Paste your exact message into What's That Error? for a plain-English explanation, or get in touch. I've been supporting Domino and Notes for 28 years.

Disclaimer

The errors, causes and fixes on this site are carefully researched, drawing on HCL documentation and 28 years of hands-on Domino and Notes experience. Every environment is different, though, and a solution that works in one may not be right for yours. Exact wording can also vary between Domino and Notes versions.

This information is general guidance only and is provided without warranty of any kind. Always back up your data and test changes on a non-production system first. To the extent permitted by law, Bruinsma Services Pty Ltd accepts no responsibility or liability for any loss, damage, downtime or other consequence arising from use of this information. For advice specific to your environment, please contact me.