check status code on access token fetch