SOAP API importToList can't find list | Community
Skip to main content
February 20, 2013
Solved

SOAP API importToList can't find list

  • February 20, 2013
  • 6 replies
  • 1377 views
Hi,

I'm having trouble getting a simple importToList call to work. 

I created a list called "TestList" in the Lead Database under "My Lists" (as described in the Managing Static Lists article), and used the exact same name in the importToList call.  However the response I get is always "List with name 'TestList' not found. (20114)". 

Is there some magic I need to do in addition to creating the list?  Or maybe did I create it in the wrong place?  Or use the wrong name?  Any ideas?

.  Topher
This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by
Try making your static list as a local asset. I seem to recall the new list calls only supporting lists within programs.

6 replies

February 20, 2013
Hi,

Also, just to note: I am able to use the listOperation call successfully with the same list.

.  Topher
Accepted solution
February 21, 2013
Try making your static list as a local asset. I seem to recall the new list calls only supporting lists within programs.
February 21, 2013
Ah, yes.  That was it.  Thanks.

.  Topher
February 21, 2013
Hrm.  As a point of interest: I cannot add a lead to a local asset list through the listOperation call.  So it seems the static list defined under the Lead Database tab and the static list defined under a Program are completely different beasts.

.  Topher
February 21, 2013
I think listOperation might work if you used the full name "program.list", but I'm not certain. That call was built well before Programs if I recall correctly.
February 21, 2013
I can test that... yes, that does work.  Excellent.

.  Topher