Skip to main content
Question

Zoho Books error: Cannot read properties of undefined (reading 'contact_id')


nzer1
Forum|alt.badge.img

I got an error in a zap and I also attach the available fields in my trigger how do I satisfy my action step?

A I recommended I upgrade to paid plan to accomplish a working zap I want to avoid this because I'm doing a trial

Did this topic help you find an answer to your question?

4 replies

Troy Tessalone
Forum|alt.badge.img+14

Hi ​@nzer1 

We would need to see how your Zap steps are configured in the CONFIGURE tab while in EDIT mode with the field mappings visible, along with the encountered error for the step.

 


nzer1
Forum|alt.badge.img
  • Author
  • Beginner
  • 13 replies
  • January 31, 2025

Thanks Troy I can always rely on you providing intelligent answers before we move on to your question why are not all fields in the trigger visible or available for the action step?


Troy Tessalone
Forum|alt.badge.img+14

@nzer1 

Screenshots don’t show which fields are returned from the Zap trigger step in the TEST tab for us to have context.

 

 


SamB
Community Manager
Forum|alt.badge.img+11
  • Community Manager
  • 7304 replies
  • February 13, 2025

Hi ​there, @nzer1! 👋

why are not all fields in the trigger visible or available for the action step?

Sometimes if a field doesn’t contain a value then the app won’t include it in the data that it sends to the Zap. But looking at your screenshots it looks like the error is more due to the wrong value being mapped to the Customer Name field:

5cd76c0dc36fe611bca6c1e1adaed270.png
Even though the field is called “Customer Name”, if you’ve using the Custom value option, it will expect to receive the ID number for the contact, not their name. You can learn more about this here: Add custom values to modal fields in Zaps

I’d suggest adding a Find Contact (Zoho Books) action ahead of the Create Sales Invoice action to obtain the ID for the contact, then select that for the Customer Name field instead?

Can you give that a try and let us know if that does the trick?