Here is what I have. (ApiVersion is v1.0)
private async Task GetUsersRoles(string accessToken, ClaimsIdentity identity, string userId)
I had a similar issue and it was just that my token had expired or became invalid.