Skip to main content
Best answer

Xero: find/create contact from woocommerce order info failing. Input names mismatch?

  • April 23, 2025
  • 2 replies
  • 59 views

I'm trying to find/create a contact in Xero, using data from a woocommerce order. The error says:

“Failed to find or create a contact in Xero A contact person must have at least one of: FirstName, LastName, or EmailAddress”

But the available required fields as inputs are named first_name, last_name, email_address

So it seems it's sending the wrong data to xero and failing because of that.  Am I missing something obvious?

 

This post has been edited by a moderator to remove personally identifiable information (PII). Please remember that this is a public forum and avoid sharing sensitive details.

Best answer by SamB

Hey ​@AustenBolle 👋

Just came across this and saw you reached out to our Support team and they were able to help get things sorted! 🎉

Sharing the solution they provided here in case its helpful to others that might be running into that same error:

It seems the issue is caused by selecting an option in the "Include secondary person in emails sent to contact?" field, which then requires the Secondary Person fields to be filled out as well.
 
To resolve this, please follow these steps:
 
1. Clear the selection in the "Include secondary person in emails sent to contact?" field.
2. Ensure that any data entered in the Secondary Person fields is also cleared.
 
Here is a screenshot to guide you through the process: https://cdn.zappy.app/ef2012341b9365d4aa5458f845cafdb2.png
ef2012341b9365d4aa5458f845cafdb2.png
 

 

I’ll mark this as the best answer for now, but please do reach back out if you need help with anything else.

In the meantime, happy Zapping! ⚡

This post has been closed for comments. Please create a new post if you need help or have a question about this topic.

2 replies

Troy Tessalone
Zapier Orchestrator & Solution Partner
Forum|alt.badge.img+14
  • Zapier Orchestrator & Solution Partner
  • 34072 replies
  • April 23, 2025

Hi ​@AustenBolle 

For us to have more context about the error, post screenshots showing how the CONFIGURE tab is configured in EDIT mode.

 

Perhaps try this other Zap action: Xero - Create/Update Contact

 


SamB
Community Manager
Forum|alt.badge.img+11
  • Community Manager
  • 9751 replies
  • Answer
  • May 8, 2025

Hey ​@AustenBolle 👋

Just came across this and saw you reached out to our Support team and they were able to help get things sorted! 🎉

Sharing the solution they provided here in case its helpful to others that might be running into that same error:

It seems the issue is caused by selecting an option in the "Include secondary person in emails sent to contact?" field, which then requires the Secondary Person fields to be filled out as well.
 
To resolve this, please follow these steps:
 
1. Clear the selection in the "Include secondary person in emails sent to contact?" field.
2. Ensure that any data entered in the Secondary Person fields is also cleared.
 
Here is a screenshot to guide you through the process: https://cdn.zappy.app/ef2012341b9365d4aa5458f845cafdb2.png
ef2012341b9365d4aa5458f845cafdb2.png
 

 

I’ll mark this as the best answer for now, but please do reach back out if you need help with anything else.

In the meantime, happy Zapping! ⚡