I’m encountering an issue when trying to attach components to an existing product using the new productBundleUpdate
mutation. This operation consistently fails with a generic error that provides no actionable information:
{
'code': 'GENERIC_ERROR',
'field': None,
'message': 'Validation failed: '
}
What I’ve Tried
- The empty validation message (
'Validation failed: '
) doesn’t provide any clues about what’s failing - I’ve confirmed my input data is correctly formatted according to the API documentation
- I’ve verified that all referenced product IDs exist and are valid
- Double-checked permissions to ensure I have the necessary access rights
Previous Method Worked
Interestingly, before the introduction of the new productBundleUpdate
mutation, I was able to add components to existing products without any issues using the previous method productVariantRelationshipBulkUpdate
.
Questions for the Community
- Has anyone else encountered this generic validation error when using
productBundleUpdate
? - Are there any common validation pitfalls that aren’t clearly documented?
- Is there a way to get more detailed error information to understand what’s failing?
- Are there any workarounds or alternative approaches that would allow me to attach components to existing products?
Any insights or suggestions would be greatly appreciated!