I am writing a script that uses the following mutation to update my translations
mutation translationsRegister($resourceId: ID!, $translations: [TranslationInput!]!) {
translationsRegister(resourceId: $resourceId, translations: $translations) {
userErrors {
message
}
translations {
key
value
}
}
}
The mutation works fine for metaobjects but when the gid points to a prodeuct I get this error messages:
"message": "Key descriptionHtml is not a valid translatable field",
"message": "Key scent_description is not a valid translatable field",
I can manually update the translations using the admin dashboard.
Any idea what I’m doing wrong?