Skip to main content
Feb 20, 2013 6:28 PM UTC
Solved

SOAP API importToList can't find list

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.
Accepted solution
Feb 21, 2013 1:06 AM UTC
Try making your static list as a local asset. I seem to recall the new list calls only supporting lists within programs.

6 replies

Feb 20, 2013 7:42 PM UTC
Hi,

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

.  Topher
Translate
Accepted solution
Feb 21, 2013 1:06 AM UTC
Try making your static list as a local asset. I seem to recall the new list calls only supporting lists within programs.
Translate
Feb 21, 2013 7:07 PM UTC
Ah, yes.  That was it.  Thanks.

.  Topher
Translate
Feb 21, 2013 7:18 PM UTC
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
Translate
Feb 21, 2013 8:20 PM UTC
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.
Translate
Feb 21, 2013 8:34 PM UTC
I can test that... yes, that does work.  Excellent.

.  Topher
Translate