im having the same problem but im using the correct format.
mutation newClient(
$name:String!
){
createCliente( data:{
name:$name
}){
data{
attributes{
name
}
}
}
}
It works locally but when is deploys i get this error:
message": "Unknown argument \"data\" on field \"Mutation.createCliente\".",