handle case where access_token is empty