Boa tarde a todos.
Estou precisando atualizar mais de um campo de um card, porém estou recebendo um erro com a mutation abaixo:
mutation{
n1 : updateCardField(input:{card_id: 1111111 field_id: "ad_set_id" new_value: "22222" })
n2 : updateCardField(input:{card_id: 1111111 field_id: "ad_set_id" new_value: "22222" })
n3 : updateCardField(input:{card_id: 1111111 field_id: "ad_set_id" new_value: "22222" })
}
Erro apresentado:
{
"errors": a
{
"message": "Field must have selections (field 'updateCardField' returns UpdateCardFieldPayload but has no selections. Did you mean 'updateCardField { ... }'?)",
"locations":
{
"line": 1,
"column": 12
}
],
"path": c
"mutation",
"n1"
],
"extensions": {
"code": "selectionMismatch",
"nodeName": "field 'updateCardField'",
"typeName": "UpdateCardFieldPayload"
}
},
{
"message": "Field must have selections (field 'updateCardField' returns UpdateCardFieldPayload but has no selections. Did you mean 'updateCardField { ... }'?)",
"locations":
{
"line": 1,
"column": 122
}
],
"path": o
"mutation",
"n2"
],
"extensions": {
"code": "selectionMismatch",
"nodeName": "field 'updateCardField'",
"typeName": "UpdateCardFieldPayload"
}
},
{
"message": "Field must have selections (field 'updateCardField' returns UpdateCardFieldPayload but has no selections. Did you mean 'updateCardField { ... }'?)",
"locations":
{
"line": 1,
"column": 232
}
],
"path": o
"mutation",
"n3"
],
"extensions": {
"code": "selectionMismatch",
"nodeName": "field 'updateCardField'",
"typeName": "UpdateCardFieldPayload"
}
}
]
}
Alguém poderia me auxiliar?