Error message
DescriptionImageValidationError: ["<img> tag #1 must define both 'width' and 'height' attributes."]
What does this error mean?
The product descriptions contain HTML image tags that do not specify both "width" and "height" attributes, which are mandatory for TikTok's API.
How to solve this error
- In the attribute "Description", locate the body_html field which contains <img> tags.
- Add "width" and "height" attributes to every <img> tag within the product descriptions.
- For example, change '<img src="image.jpg">' to '<img src="image.jpg" width="600" height="400">'.
- Update your data by launching a push product.