Resolve the ‘Unexpected Error’ message when saving a Commerce Category record

Users may sometimes encounter the error message An unexpected error has occurred. when saving a Commerce Category page. This is commonly caused by the URL Fragment which contains invalid characters. URL Fragments like the ones below,

The URL Fragments are invalid as it uses invalid characters and spacing. When saving a Commerce Category with these invalid characters, users will get the error message. In order to resolve this, the URL Fragment must follow the following rules;

1. Alphanumeric characters (A-Z, a-z)

2. Numbers (0-9)

3. Dashes (-) or Underscores (_)

After all these are within the outlined rules, users should now be able to successfully save their Commerce Categories without encountering the Unexpected Error message

Leave a comment

Your email address will not be published. Required fields are marked *