Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

thomasjb's avatar

All of a sudden "Invalid environment key"

Hi all,

lately Envoyer complains about "invalid environment key" when we feed the correct key into the "manage environment" input field.

This has changed from one day to the other without us having changed anything on the server.

Has anyone experienced this before and can help us out?

Thanks, Thomas

0 likes
1 reply
NOMGUY's avatar

@ovthomas I guess if I am right, then you should try the following command in your terminal or command line:

php artisan key:generate

Please or to participate in this conversation.