You need to sign in to do that
Don't have an account?
Salvatore Mignogna
UNKNOWN_EXCEPTION Inserting a new lead in a site VF page
Hi,
I have a VF page in a site that inserts a new lead (among other things).
When trying to create a Lead, I get this error:
EXCEPTION_THROWN|[432]|System.DmlException: Insert failed. First exception on row 0; first error: UNKNOWN_EXCEPTION, invalid parameter value: []
It works fine inserting a contact.
In my code simply insert a new lead user:
Lead newLead = new Lead(LastName = 'TestLead',Email = 'test@prova.it', Company = 'Test Company');
insert newLead;
I've seen the post http://boards.developerforce.com/t5/Visualforce-Development/BUG-Summer-08-Large-controller-leads-to-quot-UNKNOWN-EXCEPTION/m-p/75538. The problem looks like the same but I'm working on salesforce site.
some one can help me?
Nobody can help me?
I have the same problem. I found that it was a problem with a workflow that I had just activated. I haven't found a solution yet except to deactivate the workflow.