Fixed bug the displayed API key if error code present