• DTSnyder
  • NEWBIE
  • 0 Points
  • Member since 2013

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 0
    Questions
  • 1
    Replies

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?