List Contacts In Mailing List API appears to be temperamental | XM Community
Solved

List Contacts In Mailing List API appears to be temperamental

  • 12 April 2019
  • 2 replies
  • 19 views

Userlevel 1
Hi all,

I am working in R and I have used the 'List Contacts In Mailing List' API to retrieve customers from a mailing list. The list is pretty big, circa 400k which means I have to use pagination. My code works and I can successfully pull data into R. However, I have found the API to be very buggy and quite often returns a '500 Internal Error' responses. To combat this I have had to create a while loop, which continually calls the API until it returns a '200-Ok' response.

I was wondering whether anyone else has used this particular API and whether they have run into similar problems?

Many thanks

Anthony
icon

Best answer by Subu 16 April 2019, 12:26

View original

2 replies

Userlevel 4
Badge +5
Hi @Anthony_R_CX
We use postman for API to upload bulk data and we also get same error. It is like 500 uploaded but 10-15 error. We find it usual. Not every time but sometime happens. I think the counter measure you have taken is a good solution for you.
Userlevel 1
Thanks Subu.
I have since changed to using the List Contacts API which seems to be less buggy and completes much faster as the while loop isn't required.

Leave a Reply