LPS-34588 Add message for invalid api key, and do source formatting.