Error 400 on SERVER: The environment must be purely alphanumeric, not 'puppet-ca'

The root cause is that the puppet version on puppet master server is 3.8.1 However i install puppet 4.1.0 on puppet agent.

Puppet master version must be greater than or equal puppet agent version. The solution is that i uninstall puppet on puppet agent and reinstall puppet version 3.8.1 instead.

You may find previous release downloads at the following link: https://puppet.com/misc/pe-files/previous-releases