error handling for downloading keys