Hi! I created a Github APP which is responsable to create a review request or add assignees when a PR is opened.
In my personal repository (public) everything is working. On the other side, I have a private repository inside an organization, with “team members” instead of collaborators (it might be a problem using github API).
I’m able to list and check assignees but not to add assignees.
List assignees & check: OK
GET /repos/:owner/:repo/assignees GET /repos/:owner/:repo/assignees/:assignee
Add assignee: 404 not found
To create a review request, I’m using this endpoint, but I recieve “422 Validation Error”. And as it says in the docs, it is because user to be reviewer is not a collaborator.
What can I do?