When trying to add a MAINTAINER or MEMBER to the team in GHE 2.16.1 org.kohsuke.github.HttpException: {"message":"Invalid request.\n\nMEMBER is not a member of ["member", "maintainer"].","documentation_url":"https://developer.github.com/enterprise/2.16/v3/teams/members/#add-or-update-team-membership"} is thrown. It appears to be capitalization problem.
When trying to add a MAINTAINER or MEMBER to the team in GHE 2.16.1 org.kohsuke.github.HttpException: {"message":"Invalid request.\n\nMEMBER is not a member of ["member", "maintainer"].","documentation_url":"https://developer.github.com/enterprise/2.16/v3/teams/members/#add-or-update-team-membership"} is thrown. It appears to be capitalization problem.