Home Docs Error help

The encryption mode is not valid

Error code bad_cipher
Encryption and recipients

The encryption mode is not valid

bad_cipher

The paste asked for an encryption method pastebin.ca does not support for that option.

HTTP 400·Encryption and recipients

What it means

What happened

The paste asked for an encryption method pastebin.ca does not support for that option.

Why

Why it might have happened

  • A stale page or app may have sent an old encryption value.
  • Recipient delivery and secret-link encryption use different modes.
Next steps

What you can try

  1. Refresh the page and choose the encrypted option again.
  2. For recipient delivery, choose a recipient from the composer.
  3. If using an app, update it and retry.
Related
Still stuck?

Get help

If the error keeps happening, send feedback or contact us and include bad_cipher plus what you were trying to do.

Contact and feedback options