Error uploading a configuration profile

This error may occur when another configuration profile exists with the same PayloadUUID or PayloadIdentifier.

Solution: Remove the existing configuration profile before uploading a new one. Alternatively, open the configuration profile in a text editor and change all PayloadUUID or PayloadIdentifier values to unique values.

If the configuration profile is in a signed format, convert it to XML using the following command:
/usr/bin/security cmd -D -i signed_profile_path -o unsigned_profile_path