catch exceptions when no access tokens in cfg file