Error 21132

Message

Possible error messages:

Without Resource Bundle (default)
  • Encryption key must be at least 16 bytes
With Resource Bundle
  • encryption key must be at least 16 bytes
Domain Persistence.PersistenceException
Number 21132
Label ENCRYPTION_KEY_LESS_THAN_16_BYTES
Applicable Platform(s) iOS, BlackBerry

Cause

Encryption key length (a string) is smaller than 16 characters.

Action

Use ConnectionProfile.setEncryptionKey(key) to provide an encryption key that is more than 16 characters.