Oh no! Woke up to a bunch of {"code":1038,"message":"JSON is not well formed"} error messages in Zoho Books API

Oh no! Woke up to a bunch of {"code":1038,"message":"JSON is not well formed"} error messages in Zoho Books API

Looks like something changed on the backend of Zoho Books' date format, had a bunch of clients that ran into this error : {"code":1038,"message":"JSON is not well formed"}.

Looking at the logs, I couldn't see any error in the JSON format, everything was there, customer_id, line_items, ... that's when my colleague told me : "Maybe you should check the date format".

So I decided to update my code from this : zoho.currentdate to zoho.currentdate.toString("yyyy-MM-dd")

And the error was gone!

Question to Zoho : is this going to be permanent, or is it just a hiccup that will soon go away? We used to be able to create transaction using zoho.currentdate as the date.

      Zoho Developer Community









                                Zoho Desk Resources

                                • Desk Community Learning Series


                                • Digest


                                • Functions


                                • Meetups


                                • Kbase


                                • Resources


                                • Glossary


                                • Desk Marketplace


                                • MVP Corner


                                • Word of the Day



                                    Zoho Marketing Automation


                                            Manage your brands on social media



                                                  Zoho TeamInbox Resources

                                                    Zoho DataPrep Resources



                                                      Zoho CRM Plus Resources

                                                        Zoho Books Resources


                                                          Zoho Subscriptions Resources

                                                            Zoho Projects Resources


                                                              Zoho Sprints Resources


                                                                Qntrl Resources


                                                                  Zoho Creator Resources


                                                                    Zoho WorkDrive Resources



                                                                      Zoho Campaigns Resources


                                                                        Zoho CRM Resources

                                                                        • CRM Community Learning Series

                                                                          CRM Community Learning Series


                                                                        • Tips

                                                                          Tips

                                                                        • Functions

                                                                          Functions

                                                                        • Meetups

                                                                          Meetups

                                                                        • Kbase

                                                                          Kbase

                                                                        • Resources

                                                                          Resources

                                                                        • Digest

                                                                          Digest

                                                                        • CRM Marketplace

                                                                          CRM Marketplace

                                                                        • MVP Corner

                                                                          MVP Corner





                                                                            Design. Discuss. Deliver.

                                                                            Create visually engaging stories with Zoho Show.

                                                                            Get Started Now