Keegan Campbell
Keegan Campbell
@reza-ebrahimi I'd like to bring this up again. Do you have the inclination to make the fix in gr2m/universal-github-app-jwt?
Can you please describe your local testing process for this?
The github_repository_collaborators (plural) resource is intended to be authoritative. Perhaps using [github_repository_collaborator](https://registry.terraform.io/providers/integrations/github/latest/docs/resources/repository_collaborator) (singular), which does additive permissions, would work for your use case?
@YElyousfi in general, URL errors such as the one you're seeing are due to incorrect authentication. What form of auth are you using and how are you setting it up?
It's likely your App doesn't have the correct permissions for this operation. The URL is different because the provider begins with a GET request to the repo itself before performing...
I agree; that's confusing. The [documentation](https://docs.github.com/en/rest/apps/apps?apiVersion=2022-11-28#get-the-authenticated-app) doesn't specify required permissions. Perhaps trial and error or logging an issue with the API are the best approaches here.