I think it's a bit confusing if you try to explain what actually happened. To the user's perspective they just asked for a key so why would there be a server error? This message will work though.