bulkOperationRunMutation Bulk mutations cannot contain more than 1 connection.

GrantDB
Explorer
57 2 10

I am using productCreate with bulkOperationRunMutation 

I am sending my graphql like this

mutation
		{
			bulkOperationRunMutation(
				mutation: "mutation call($input: ProductInput!) { productCreate(input: $input) { product {id handle tags variants {
                        edges {
                            node {
                              id
                              sku
                              inventoryManagement
                              metafields {
                              edges {
                                node {
                                    description
                                    id
                                    key
                                    legacyResourceId
                                    namespace
                                    value
                                    valueType
                                }
                              }
                         }
                              
                              
                              
                            }                    
                        }
                    }} userErrors { message field } } }",
    stagedUploadPath: "%s") {
			bulkOperation
		{
			id
		url
		status
		}
		userErrors
		{
			message
		field
		}
		}
		}

 

 However, I get this error: Bulk mutations cannot contain more than 1 connection.

I have narrowed that down to the metafields {} part.  I use that so that I can store some of the data, to use again

Is there any way around that, to return metadata field data, in the response file

Thanks

Grant

Replies 0 (0)