unified error code for no api key