You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{
"message": "Validation Failed",
"errors": [
{
"resource": "OrganizationInvitation",
"code": "unprocessable",
"field": "data",
"message": "A user with this email addresss is already a part of this organization"
}
],
"documentation_url": "https://docs.github.com/rest/orgs/members#create-an-organization-invitation",
"status": "422"
}
There are two many /s/ in the word addresss.
Expected
{
"message": "Validation Failed",
"errors": [
{
"resource": "OrganizationInvitation",
"code": "unprocessable",
"field": "data",
"message": "A user with this email address is already a part of this organization"
}
],
"documentation_url": "https://docs.github.com/rest/orgs/members#create-an-organization-invitation",
"status": "422"
}
Reproduction Steps
Invite a user to a github organization.
Complete the invitation process as the user.
Invite the user again using the gh cli or api
Schema Inaccuracy
Noticed an issue with the return response from the API
When inviting an existing member to an organization, github returns an error message with a spelling mistake.
I thought I would flag this to the API team, but i dont think they have a public github repo.
When i run this command
The return response is
There are two many /s/ in the word addresss.
Expected
Reproduction Steps
Invite a user to a github organization.
Complete the invitation process as the user.
Invite the user again using the gh cli or api
and/or
The text was updated successfully, but these errors were encountered: