Parentwindow reference error

Parentwindow reference error

As we cannot directly upload our extension to the Zoho desk. Firstly, we have to make a node app and upload the zip file. So, I load my third-party application in an iframe within the widget.html file. 
Now I want the contacts from the Zoho Desk portal through Zoho API(''
within my third-party application which is currently loaded in an iframe. So, the issue I am facing is that  I get the instance of the Zoho desk within my third-party app but cannot get the response of the contact API and get the parentWindow reference error.
Please guide me through the process of how can I resolve this error.

                        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 Desk 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


                                                                • Functions


                                                                • Meetups


                                                                • Kbase


                                                                • Resources


                                                                • Digest


                                                                • CRM Marketplace

                                                                  CRM Marketplace

                                                                • MVP Corner

                                                                  MVP Corner

                                                                • Word of the Day

                                                                  Word of the Day

                                                                        Design. Discuss. Deliver.

                                                                        Create visually engaging stories with Zoho Show.

                                                                        Get Started Now