Hey guys, I am starting with GraphiQL and trying to create a query for inviteMembers for an organization, however, I am not being able to identify what is wrong here. Could you please clarify?
mutation {
inviteMembers(input: {
emails: {"teste@teste.com"},
organization_id: "124779",
message: "please join my organization"
}) {
clientMutationId
}
}
---- Error
{
"errors": [
{
"locations": [
{
"column": 14,
"line": 19
}
],
"message": "extraneous input '\"teste@teste.com\"' expecting {'}', 'fragment', 'query', 'mutation', 'subscription', 'schema', 'scalar', 'go_type', 'interface', 'implements', 'enum', 'union', 'input', 'extend', 'directive', NAME}"
}
]
}
Thanks
Best answer by Roberto Chavarria
View original