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

List Contacts In Mailing List API appears to be temperamental


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

Best answer by Subu

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.
View original

2 replies

Subu
Level 2 ●●
Forum|alt.badge.img+5
  • Level 2 ●●
  • 53 replies
  • Answer
  • April 16, 2019
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.

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