mutation {
bulkOperationRunMutation(
mutation: "mutation productCreate($input: ProductInput!) {
productCreate(input: $input) {
product {
id
handle
variants(first:10){edges{node{id sku }}}
metafields(first:10){edges{node{id key}}}
}
userErrors {
field
message
}
}
}",
stagedUploadPath:"%s") {
bulkOperation {
id
url
status
}
userErrors {
message
field
}
}
}
While running the above mutation I am getting following error:
‘userErrors’: [{‘message’: ‘Bulk mutations cannot contain more than 1 connection.’, ‘field’: [‘mutation’]}]
I got what error tries to explain but How can I resolve this issue so that I can get both metafields and variants id in response.