Parentwindow reference error

Parentwindow reference error

Hello,
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('https://desk.zoho.com/api/v1/contacts'
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

                      Zoho Pagesense Resources

                        Zoho SalesIQ Resources



                              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

                                                            Design. Discuss. Deliver.

                                                            Create visually engaging stories with Zoho Show.

                                                            Get Started Now