This happens when our Facet URL Components contain special characters (e.g. *, ~, space ).
for that, we can fix it by
Navigate to Commerce > Marketing > URL Components for Facets
Ensure that the URL Component includes characters that are not valid.
Note: Only dashes (-), underscores (_), and alphanumeric values are supported.