• Instructions to Ask a Question

    For any assistance, please click the "Ask a Question" button and select the Pabbly product for which you require support.

    We offer seven comprehensive applications designed to help you efficiently manage and grow your business:

    Our support team endeavors to respond within 24 business hours (Monday to Friday, 10:00 AM to 6:00 PM IST). We appreciate your understanding and patience.

    🚀 Exclusive Lifetime Offers 🚀

    We invite you to take advantage of our special one-time payment plans, providing lifetime access to select applications:

    • 🔥 Pabbly Connect — Lifetime Access for $249View Offer
    • 🔥 Pabbly Subscription Billing — Lifetime Access for $249View Offer
    • 🔥 Pabbly Chatflow — Lifetime Access for $249View Offer

    Make a one-time investment and enjoy the advantages of robust business management tools for years to come.

1308 JSON is not well formed

GSG

Member
Trying to update a customer in Zoho Books using router function. Getting error message as above. Kindly advise. Thanks
 
P

Pabblymember11

Guest
Hey @GSG

Kindly share the screenshot of the Update Customer action step in which you are getting the error, so that we can check and guide you correctly.
 

GSG

Member
Please see attached sequence of images (in chronological order) showing that with an existing contact already in Books, there is a failure to update that contact.

The workflow uses a router. Where the Contact ID does not already exist, the router employs 'Create a New Contact in Books', and this part of the router works (with a few anomalies - see below)

The main problem is with the other part of the router - where the Contact ID already exists in Books. When we try to Update the contact in Books, there is a json 1308 error.

I think the field for "Contact Name (Required)" is the problem. I am not sure why we have to add this field as the contact ID for the customer is already mapped above it in this step, so surely if the contact ID is populated, the update should go to the correct customer ID and the extra "Contact Name (Required)" field is redundant?

There are some other issues we have noticed. For example, where a Zoho Books customer does not exist and a new contact is created (the side of the router which does work), the fields for Books Custom Fields (final 2 screenshots) do not map correctly to the approriate fields in Zoho Books. For example the field for "Territory" is actually mapped by the field for "Code", and the field for "Customer Category" is actually mapped to "Shipping email"

Hope you can help out with this. It has me scratching my head!
 

Attachments

  • Screenshot 2023-07-09 at 11.00.10.png
    Screenshot 2023-07-09 at 11.00.10.png
    141.2 KB · Views: 96
  • Screenshot 2023-07-09 at 11.01.58.png
    Screenshot 2023-07-09 at 11.01.58.png
    64.5 KB · Views: 88
  • Screenshot 2023-07-09 at 11.04.26.png
    Screenshot 2023-07-09 at 11.04.26.png
    288.1 KB · Views: 106
  • Screenshot 2023-07-09 at 11.04.40.png
    Screenshot 2023-07-09 at 11.04.40.png
    255.8 KB · Views: 91
  • Screenshot 2023-07-09 at 11.04.50.png
    Screenshot 2023-07-09 at 11.04.50.png
    128.9 KB · Views: 100
  • Screenshot 2023-07-09 at 11.15.28.png
    Screenshot 2023-07-09 at 11.15.28.png
    92.8 KB · Views: 107
  • Screenshot 2023-07-09 at 11.15.42.png
    Screenshot 2023-07-09 at 11.15.42.png
    278.5 KB · Views: 99
P

Pabblymember11

Guest
Hey @GSG

We have made a slight change in the Update Contact action step and it should work now. So, kindly give it a try now apart from that the contact which you are trying to update does not exist in your Zoho CRM we have checked it with the help of the "Get Contact" action step. So kindly try updating the contact with a new one.

1688967337727.png
 
Top