Fixed the error with the request for the access token