verify app id and api key,
finish exception handler