We tried to deploy a custom profile from one dev org to another org using changeset. It fails on validation on the destination org and we get an error message invalid parameter type. Would any body know where to get started on debugging the error message? Thanks Buyan
The reason is this: When you simply deploy a new Profile, the API auto-clones the Standard User or Standard Platform Profile (depending on license associated with Profile being deployed) before overlaying the security settings with the Profile metadata that you are deploying. But, not all permissions are overwritten as negative values are denoted by absences in the Profile XML. So, there are conflicts.
This is solved by you executing your own Profile clone and then deploying.
@Mohith Kumar Thanks for your answer. The problem was that we tried to deploy new profiles in our changeset which did not exist in our destination org. These new profiles were created by our development team and did not exist in our refreshed sandbox org from production. Salesforce just reports this as an invalid parameter type error instead of specific error message. During deployment, please make sure the profiles exist in the source and destination org.