User Avatar API Endpoint 404 on POST, 200 on GET

I am trying to update a users avatar using the REST API. I am getting a 200 when using a GET request, and retirving the users current Avatar. When I try to update the Avatar with a PUT or POST, I get a 404 error. Am I doing something wrong or need to configure something?

Parents Reply
  • You are correct, there is a check in the code that cannot be bypassed when using the REST API.   There is no workaround (other than enabling remote avatars while performing the update) and it will require a bug fix to address the issue in the API.

    A bug has been filed to have this looked at.

    TE-17671: UserAvatarService blocks all Urls from being used to update Avatars if RemoteAvatars are disabled. Selectable AvatarUrls should still be valid

    Completed for 12.1.3

Children