How to resolve INVALID_USER_LIST error

117 views
Skip to first unread message

stephen.wat...@gmail.com

unread,
Jul 19, 2017, 11:11:51 AM7/19/17
to AdWords API Forum
Hi,

I have a python script to upload some crm based lists.
It was working but now produces the following error

Server raised fault: '[MutateMembersError.INVALID_USER_LIST_ID @ operations[0].o
perand.userListId; trigger:'UserListId: listid']'

^listid is 9 chars long and all numbers.

the mutate members operation looks like:

  mutate_members_operation = {
      'operand': {
          'userListId': user_list_id,
          #'dataType': 'EMAIL_SHA256',
          'membersList': hashed_emails
      },
      'operator': addremove
  }

where addremove either equals 'ADD' or 'REMOVE', hashed_emails is what it sounds like, as is user_list_id. I am using v201705. Is there anything I am obviously doing wrong?

Thanks

Stephen

Sreelakshmi Sasidharan (AdWords API Team)

unread,
Jul 19, 2017, 2:13:15 PM7/19/17
to AdWords API Forum
Hi Stephen, 

Your code snippet looks fine to me. Here is a sample in our client library if you want to check. May be the user list id in your request is not a valid id in that account. Can you enable logging and share the complete SOAP logs along with your client customer id with me?

Thanks,
Sreelakshmi, AdWords API Team
Reply all
Reply to author
Forward
0 new messages