Why does an error about view definition not being found occur, for a custom job definition?

This error occurs because the custom job definition was created by a user whose user name contains spaces.

Create the list of values source and the custom job definition using a user name that doesn’t contain any spaces.