function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Salvatore MignognaSalvatore 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?

Salvatore MignognaSalvatore Mignogna

Nobody can help me?

DTSnyderDTSnyder

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. 

AppeltAppelt
I am having exactly the same problem. Any help would be greatly appreciated.