Throw correct exception when access token is invalid
Removed unnecessary parameter