Attribute for facet that includes a comma

I have an attribute that includes a comma. Algolia is giving me this error message attributesForFaceting parameter should contain attribute names without ','

Is there any way around this, or do i need to rename my attribute?


This seems to be the case, you can possibly swap the comma character for another character (or a group of characters like __ ) before indexing the data and this should resolve your issue.