[BUG] Request Reviewer for team 422 Validation Failed

I have been reading the documentation for requested_reviewers linked below. When my body contains “reviewers”, it create a review correctly for the user. However, when I add a valid team name into the body “team_reviewers”, I get the error “422 Validation Failed” with no additional messages.

https://developer.github.com/v3/pulls/review_requests/#create-a-review-request

Hi @gu-kevin,

Thanks a lot for being here! I believe this might be caused by a bug that we are already investigating, to add your request and to verify this is what’s happening here would you please send us the full output of a curl -v request that demonstrates the problem?

http://curl.haxx.se/

That should help us investigate the issue. Also, please make sure you mask any sensitive information like OAuth tokens and Authorization headers in the output of the curl command. Please send the output to https://github.com/contact. And include a link to this thread to give support some background on the ticket.

I hope this helps!

Best,
Andrea

I have the same issue. I am also unable to use POST [https://api.github.com/repos/:owner/:repo/pulls/:number/requested\_reviewers](https://api.github.com/repos/:owner/:repo/pulls/:number/requested_reviewers) to request team\_reviewers, the field just gets ignored and the PR does not show a team requested for review.

Hi Andrea,

I have been using the go library to make the curl call which is linked below. Let me know if you require me to still send the curl out still.

https://github.com/google/go-github/blob/master/github/pulls_reviewers.go#L29

Thanks,

Kevin