Hi all,
I’m trying to add/update privateMetafield in Product/Collection following docs (https://shopify.dev/apps/metafields/private) but unfortunately I’m getting “Internal Error”:
[GraphQL error]: Message: Internal error. Looks like something went wrong on our end.
Request ID: 2b568498-35e9-4d2e-b735-b90ca8f40701 (include this in support requests)., Location: undefined, Path: undefined
gql
mutation ($input: CollectionInput!){
collectionUpdate(input: $input) {
collection {
privateMetafields(first:10) {
edges {
node {
namespace
key
value
}
}
}
}
}
}
Input data
{
input: {
id: collectionId,
privateMetafields: [{
namespace: "myNameSpace",
key: "myKey",
valueInput: {
value: "myData",
valueType: "STRING"
}
}]
}
}