Kibana: Failed to decrypt "apiKey" attribute: Unsupported state or unable to authenticate data

Hello everybody,

I am facing the error:

Kibana: Failed to decrypt "apiKey" attribute: Unsupported state or unable to authenticate data

After that I added the line below to Kibana configuration file:

xpack.encryptedSavedObjects.encryptionKey: "azertyuiopqsdfghjklmwxcvbn1234567890"

Could you tell me please how can resolve the problem

Thanks for your help.

Hi,

What steps did you do to get this error?
Which version are you on? For example, here is a bug that was fixed in 7.7.1

Best regards
Wolfram

thanks for your reply @Wolfram_Haussig

I got that error just when I added that line to kibana configuration
for the versions, I am trying kibana and Elasticsearch from code source, so it's version 8.0.0