in src/wagtail_localize_smartling/api/serializers.py [0:0]
def validate(self, attrs: dict[str, Any]):
if "data" in attrs and "errors" in attrs:
raise serializers.ValidationError("data and errors cannot both be present")
return attrs