Account Created via CRM Not Found (for 20-40 seconds)

Account Created via CRM Not Found (for 20-40 seconds)

When I create an account object via the CRM, I receive the JSON object with the proper Zoho ID.

However, this newly created object IS NOT in my zoho accounts (I have to keep hitting Search/Refresh) for about 20-40 seconds, and then the new object appears.

More troubling is the following code (pseud code):

record = crm.find(some_id)
if (record == null) record = crm.create(...)
console.log(record);    /* some_id is shown here */

If I re-execute the code, the "crm.find(some_id)" will return null (again) and a new object is created.  IF I WAIT 20-40 SECONDS, the find() will return NOT-NULL and everything works after that.

It seems that account created via the CRM is not immediately available.  

I have no idea how to even write code that corrects for this????

    Access your files securely from anywhere









                          Zoho Developer Community




                                                • Desk Community Learning Series


                                                • Digest


                                                • Functions


                                                • Meetups


                                                • Kbase


                                                • Resources


                                                • Glossary


                                                • Desk Marketplace


                                                • MVP Corner


                                                • Word of the Day


                                                • Ask the Experts





                                                          Manage your brands on social media



                                                                Zoho TeamInbox Resources



                                                                    Zoho CRM Plus Resources

                                                                      Zoho Books Resources


                                                                        Zoho Subscriptions Resources

                                                                          Zoho Projects Resources


                                                                            Zoho Sprints Resources


                                                                              Qntrl Resources


                                                                                Zoho Creator Resources



                                                                                    Zoho CRM Resources

                                                                                    • CRM Community Learning Series

                                                                                      CRM Community Learning Series


                                                                                    • Kaizen

                                                                                      Kaizen

                                                                                    • 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


                                                                                          Zoho Show Resources

                                                                                            Zoho Writer

                                                                                            Get Started. Write Away!

                                                                                            Writer is a powerful online word processor, designed for collaborative work.

                                                                                              Zoho CRM コンテンツ






                                                                                                Nederlandse Hulpbronnen


                                                                                                    ご検討中の方