Cloud Event Management custom filters with spaces in their values do not work

Symptoms

Whenever you apply Cloud Event Management custom filters that contain one or more spaces in their values, then an error is displayed.

Resolving the problem

To work around this issue, replace the spaces in the filter values with %20.
For example,
Filter%20value