Getting 1007 error code | Community
Skip to main content
April 14, 2016
Question

Getting 1007 error code

  • April 14, 2016
  • 2 replies
  • 4300 views

Hi,

I am trying to create leads of 300 in marketo using Rest APIs with "createOnly" option. "Email" is the lookup criteria.

There are some leads having Null Email values.

For some leads we are getting error code as 1007 as response. But according to the documentation this error code should be returned when we try to update a record and if there are multiple matches with the given look up criteria.

So why am I getting this error code in case of "createOnly" request.

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.

2 replies

SanfordWhiteman
Level 10
April 14, 2016

Are you getting this error on the NULLs?  You seem to be mentioning a major clue but not tying the two together.

April 14, 2016

Tested further and found that, We are getting this error code when we put EMPTY value for email field. One such lead from that batch is getting created and rest all are getting 1007 error code.

When we do not pass email field at all then leads are getting created.

SanfordWhiteman
Level 10
April 14, 2016

Makes sense.  An empty value is not a NULL.  Depending on database design, multiple NULLs can be allowed but not multiple empty strings.

June 23, 2016

Hi,

Any Conclusion on this