Skip to main content
Solved

ManyChat API Inconsistency: Contact Exists but Not Found

  • September 24, 2024
  • 11 replies
  • 201 views

felipestoker

Hello ManyChat Community!

I'm encountering a peculiar issue with the ManyChat API and I'm wondering if anyone else has experienced this or has any ideas on how to resolve it.

Scenario:

  1. When trying to create a new contact via API, I receive the error: 'This WhatsApp ID already exists: 5554999999999'
  2. However, when using the API Swagger to search for this contact (using the /fb/subscriber/findBySystemField endpoint), I receive:
    {
    "status": "success",
    "data": []
    }

     

This creates an impossible loop: I can't create the contact because it already exists, but I can't update it because the API says it doesn't exist!

Additional details:

  • The contact was originally imported into ManyChat.
  • I've tried searching using both email and phone number, with the same result.
  • I've checked the API token permissions, and they appear to be correct.

Questions:

  1. Has anyone faced a similar issue?
  2. Is there any known difference in how imported contacts are handled versus natively created ones?
  3. Is there an alternative method for finding or updating contacts that aren't being found by the standard API methods?

Any insights or suggestions would be greatly appreciated. Thank you in advance for your help!

Best answer by Gustavo Boregio

@felipestoker when you use findBySystemField you’re searching by phone number.

This searches for SMS subscribers, not Whatsapp subscribers.

So when you search it fails, because it does not find an SMS subscriber with that number. And when you try to create a Whatsapp subscriber, there’s already a user with the Whatsapp number (and there’s no way to search by Whatsapp number).

 

My solution to this:

I either make sure both phone and whatsapp_number are always set with the same number and synced. That way I can use the findBySystemField endpoint.

Or I create a mirror User Field, and sync the Whatsapp number to the User Field. In this scenario, I use the findByCustomField endpoint.

It’s a workaround, but it works perfect.

If you need help setting this up feel free to ping me.

11 replies

Gustavo Boregio
Forum|alt.badge.img+6
  • Manychat Community Moderator
  • 2811 replies
  • Answer
  • September 24, 2024

@felipestoker when you use findBySystemField you’re searching by phone number.

This searches for SMS subscribers, not Whatsapp subscribers.

So when you search it fails, because it does not find an SMS subscriber with that number. And when you try to create a Whatsapp subscriber, there’s already a user with the Whatsapp number (and there’s no way to search by Whatsapp number).

 

My solution to this:

I either make sure both phone and whatsapp_number are always set with the same number and synced. That way I can use the findBySystemField endpoint.

Or I create a mirror User Field, and sync the Whatsapp number to the User Field. In this scenario, I use the findByCustomField endpoint.

It’s a workaround, but it works perfect.

If you need help setting this up feel free to ping me.


felipestoker
  • Author
  • Up-and-Comer
  • 2 replies
  • September 25, 2024

Hello, @Gustavo Boregio.

Thank you very much for your help. It worked!

I spent a long time not knowing what to do until I saw your answer.

Congratulations on your expertise.


Gustavo Boregio
Forum|alt.badge.img+6
  • Manychat Community Moderator
  • 2811 replies
  • September 25, 2024

Happy to help! 


MiriamBmby
  • Up-and-Comer
  • 6 replies
  • January 14, 2025

Hello, How I can sync the Whatsapp number to my User Field?


Gustavo Boregio
Forum|alt.badge.img+6
  • Manychat Community Moderator
  • 2811 replies
  • January 14, 2025

@MiriamBmby I use a rule that triggers whenever I have a new Whahtsapp contact, and it triggers the Action to set the User Field with the Whatsapp field.

 

Something like this:

 


MiriamBmby
  • Up-and-Comer
  • 6 replies
  • January 15, 2025

Thank you very much for your help. It worked!


daniel2702
  • Up-and-Comer
  • 3 replies
  • July 29, 2025

@felipestoker when you use findBySystemField you’re searching by phone number.

This searches for SMS subscribers, not Whatsapp subscribers.

So when you search it fails, because it does not find an SMS subscriber with that number. And when you try to create a Whatsapp subscriber, there’s already a user with the Whatsapp number (and there’s no way to search by Whatsapp number).

 

My solution to this:

I either make sure both phone and whatsapp_number are always set with the same number and synced. That way I can use the findBySystemField endpoint.

Or I create a mirror User Field, and sync the Whatsapp number to the User Field. In this scenario, I use the findByCustomField endpoint.

It’s a workaround, but it works perfect.

If you need help setting this up feel free to ping me.

@Gustavo Boregio Hello Gustavo! How exactly do you do that? Try the ruler thing but it doesn't work for me. Is it well configured?

 


daniel2702
  • Up-and-Comer
  • 3 replies
  • July 29, 2025

@MiriamBmby I use a rule that triggers whenever I have a new Whahtsapp contact, and it triggers the Action to set the User Field with the Whatsapp field.

 

Something like this:

Hello ​@Gustavo Boregio ! How exactly do you do that? Try the ruler thing but it doesn't work for me. Is it well configured?

 


Gustavo Boregio
Forum|alt.badge.img+6
  • Manychat Community Moderator
  • 2811 replies
  • July 29, 2025

@daniel2702 did you set the trigger correctly? I don’t see a trigger on your flow.


daniel2702
  • Up-and-Comer
  • 3 replies
  • July 29, 2025

@Gustavo Boregio  Would it be like this?

 


Gustavo Boregio
Forum|alt.badge.img+6
  • Manychat Community Moderator
  • 2811 replies
  • July 29, 2025

@daniel2702 yeap that looks right ;)