How to assign data categories to articles using apex controller?
You might be getting this error based on DataCategoryName
, not DataCategoryGroupName
. Double-check that Latin America
is a valid category for the category group you selected based on results[0]
.