We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
When a request fails due to permissions, use the header properties to give a informative error.
x-accepted-github-permissions = GitHub App permissions, 'members=write' x-accepted-oauth-scopes = OAuthApp permissions, 'admin:org, repo'
Current error message:
Invoke-GitHubAPI: ---------------------------------- Invoke-GitHubAPI: Error details: Invoke-GitHubAPI: Invoke-GitHubAPI: Message Validation Failed Invoke-GitHubAPI: Information https://docs.github.com/rest/teams/teams#create-a-team Invoke-GitHubAPI: Status Response status code does not indicate success: 422 (Unprocessable Entity). Invoke-GitHubAPI: StatusCode 422 Invoke-GitHubAPI: Invoke-GitHubAPI: ----------------------------------
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Description
When a request fails due to permissions, use the header properties to give a informative error.
x-accepted-github-permissions = GitHub App permissions, 'members=write'
x-accepted-oauth-scopes = OAuthApp permissions, 'admin:org, repo'
Current error message:
The text was updated successfully, but these errors were encountered: