AnsweredAssumed Answered

Cant get avatar_url with the API

Question asked by Raúl Álvarez on Jan 29, 2020
Latest reply on Jan 31, 2020 by Colin Murtaugh



I'm having a problem with the API. I'm trying to fetch all the users for a given course, but I want their avatar_url. In the documentation it's stated that including the "include[]" parameter with "avatar_url" as value will do the job but it doesn't always work.


More specifically, if I use an access_token what was manually generated for testing it gives the users with the avatar_url, but if I use an access_token generated by Oauth flow it gets the user without the avatar_url. The courses are ones in which the user that logged in is an instructor, so I doubt it's a permission issue. 


I've read the documentation but I've found nothing. Does someone know what the problem may be?