You need to sign in to do that
Don't have an account?

Deployment 'Invalid Parameter Value' to whatever Sandbox except production
Hi All,
We currently have a strange situation going on: when we try to deploy Profiles to, whichever, Sandbox, we receive an error saying: Invalid Parameter Value.
I know from the known issues lists that if your profile has a permission related to "View All Data", then this error message appears.
On the profiles (all of them currently) none has this permission or CRUD permission assigned. What the strange part is that we can deploy from Sandbox to Production. But we can't deploy from:
- Sandbox to sandbox
- Production to Sandbox
Anyone else had this issue before?
Thanks,
Robin
We currently have a strange situation going on: when we try to deploy Profiles to, whichever, Sandbox, we receive an error saying: Invalid Parameter Value.
I know from the known issues lists that if your profile has a permission related to "View All Data", then this error message appears.
On the profiles (all of them currently) none has this permission or CRUD permission assigned. What the strange part is that we can deploy from Sandbox to Production. But we can't deploy from:
- Sandbox to sandbox
- Production to Sandbox
Anyone else had this issue before?
Thanks,
Robin
We might have found the cause of this issue but we are not 100% sure. A colleague of mine found out that the 'Invalid Parameter value' is only appearing when you try to deploy a profile which has a Salesforce Platform license.
We noticed that when we where moving all the profiles, that the Salesforce licensed profiles showed an error about missing some page layouts. But all the Salesforce Platform profiles where failing to with the 'Invalid Parameter value'. When we fixed the issue on the Salesforce licensed profiles, the Salesforce Platform licensed profiles deployed succesfully.
So this could be a reason. I'm not 100% sure that this will be the case for everytime this issue appears, but this could be a reason.
All Answers
Thanks for your reply. We found in similar cases on other projects. For instance the Folder sharing options could cause this invalid parameter value as well. So it looks like discrepancies between different orgs. In our case this could be due to our Multi-org approach where localization might cause this to happen.
Might be better if we had a more usefull error message in stead of searching in the dark.
We are trying at the moment a new full deployment. Hopefully we can get it solved by this.
We might have found the cause of this issue but we are not 100% sure. A colleague of mine found out that the 'Invalid Parameter value' is only appearing when you try to deploy a profile which has a Salesforce Platform license.
We noticed that when we where moving all the profiles, that the Salesforce licensed profiles showed an error about missing some page layouts. But all the Salesforce Platform profiles where failing to with the 'Invalid Parameter value'. When we fixed the issue on the Salesforce licensed profiles, the Salesforce Platform licensed profiles deployed succesfully.
So this could be a reason. I'm not 100% sure that this will be the case for everytime this issue appears, but this could be a reason.
I faced the same issue, i resolved it by creating a empty profile with the same api name of a profile which you are getting error with.
I got this Answer from below referanced URL.
http://salesforce.stackexchange.com/questions/31668/invalid-parameter-type-error-while-deploying-custom-profile