The problem is related to the 'View data about your private activities' checkbox on the application authorization page.
I don't understand why, but I seem to need to require the users to have the 'View data about your private activities' checkbox to be checked. If they check it, I'm able to fetch their activities fine. If they uncheck it, when I hit the activities endpoint:
I always get this error:
{"message":"Authorization Error","errors":[{"resource":"AccessToken","field":"activity:read_permission","code":"missing"}]}
Why is it expecting the code? I thought the code was only needed one time to exchange for a refresh token.
Again, when I require the user to check the "View data about your private activities" checkbox, I never seem to receive that error.
I'm 90% sure I don't need to require my users to click that box, but for the last 5 months I've been requiring just to work around this issue. Any help would be appreciated.