Update variant mediaId

I wont update a variant with price and image id ( image already loaded in product gallery)

Here is code:

"query": "mutation productVariantsBulkUpdate($productId: ID!, $variants: [ProductVariantsBulkInput!]!) { productVariantsBulkUpdate(productId: $productId, variants: $variants) { productVariants { id } }  }",
"variables": {
	"productId": "gid://shopify/Product/9890566734164", 
	"variants": [
		{
			"id": "gid://shopify/ProductVariant/50683742978388",
			"price": "150.00",
			"mediaId":"gid://shopify/MediaImage/51685742968398"
		}
	]
}	

Response is:

"data":{
	"productVariantsBulkUpdate":{
		"productVariants":{
			"productVariants":null
		}
	}
}

But if I remove the mediaID update, work fine and change price.

What am I doing wrong? Thanks for the reply.

Roberta

Solution: id 51685742968398 is ImageId ( id image associated to product) instead must use MediaImage ( absolute id for image in gallery)