You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We are currently using EmmaPython to keep MyEmma in sync with our CRM for our various audiences. The basic process is that it retrieves the set of addresses for a given audience from our CRM, retrieves the contacts currently in the audience from MyEmma, compares the two lists then adds, removes, and creates contacts as needed.
I noticed that it seemed to be adding the same contacts to some of these groups every day. When I debugged my code, I found that the number of contacts in the larger audiences(low thousands) was less than the total number of active contacts MyEmma reported through the web interface. I checked the count using len(group.members) after doing a fetch_all on it. As an example, one group has 3532 active contacts according to MyEmma but a len(group.members) returns only 3452.
Is something off with fetch_all, perhaps causing it to stop fetching before it has retrieved all of the contacts?
The text was updated successfully, but these errors were encountered:
Yes, pagination still does not appear to be happening. I can retrieve single members using the sample code in the documentation, but trying to do a fetch_all() is just hanging forever. More documentation and examples could really help this repo shine.
We are currently using EmmaPython to keep MyEmma in sync with our CRM for our various audiences. The basic process is that it retrieves the set of addresses for a given audience from our CRM, retrieves the contacts currently in the audience from MyEmma, compares the two lists then adds, removes, and creates contacts as needed.
I noticed that it seemed to be adding the same contacts to some of these groups every day. When I debugged my code, I found that the number of contacts in the larger audiences(low thousands) was less than the total number of active contacts MyEmma reported through the web interface. I checked the count using len(group.members) after doing a fetch_all on it. As an example, one group has 3532 active contacts according to MyEmma but a len(group.members) returns only 3452.
Is something off with fetch_all, perhaps causing it to stop fetching before it has retrieved all of the contacts?
The text was updated successfully, but these errors were encountered: