I'm using the StravaSharp Library for .NET. I've created an API test account on my Strava account. Using the Authorization Code, I'm able to information about the current athlete (me), but each time I try to return activities (GetAthleteActivities or GetAthleteActivitiesAfter) I get a 401 - Unauthorized error. It appears my auth token is working to access my account, but I can't figure out why I can't return any activities. Any help?
DateTime start = new DateTime(2021, 1, 1);
DateTime end = new DateTime(2021, 6, 1);
TestAuthenticator auth = new TestAuthenticator("MY-AUTH-CODE-GOES-HERE");
Client client = new Client(auth);
var athlete = await client.Athletes.GetCurrent();
String fname = athlete.FirstName;
String lname = athlete.LastName;
textBox1.Text = fname + " " + lname + " " + athlete.FriendCount.ToString() + " " + athlete.Weight.ToString();
// This above works fine and returns info about me.
//THIS NEXT LINE THROWS A 401 ERRROR
var activities = await client.Activities.GetAthleteActivities(start,end);