BusinessObjects Board

encrypt_aes fails due to error "Buffer too small"

Hallo everyone,

at the moment we are facing the following error in one of our real time jobs - only in production of course:

“Function call <encrypt_aes ( blablabla, ****, 256 ) > failed, due to error <305014>: <encrypt_aes(): Failed with error <Buffer too small. Buffer:Base-64 encoder output Required: 44 Actual: 43>.>”

Does anyone have experience with that kind of errors? How can we increase the buffer?

Thanks in advance and best regards!

EDIT: I found out that this error occurs if the string to be encrypted contains german umlauts, i.e., ä, ö, ü, ß. I think I will have to create a ticket for this.


AgentLie (BOB member since 2018-01-03)