Zoho Expense Report API CORS problem

Zoho Expense Report API CORS problem

Hello,

In my project where I use Angular 16, I want to use the Zoho Expense APIs, specifically the expense report API. Since I am using Angular, I created a client-based application and obtained my Client ID, from which I generated an access token. Using this documentation (https://www.zoho.com/crm/developer/docs/api/v6/get-users.html), I successfully retrieved the users in my Angular app.

However, I am unable to retrieve expense reports using this documentation (https://www.zoho.com/expense/api/v1/expense-reports/#overview). I am encountering a CORS error. I have checked the headers and I am sending "X-com-zoho-expense-organizationid", content type, and authorization as my access token. My scope also includes "ZohoExpense.fullaccess.ALL". While the API works correctly when I make the request from Postman, it gives an error in my Angular app.

Do you have a possible solution for this?



    Zoho Desk Resources

    • Desk Community Learning Series


    • Digest


    • Functions


    • Meetups


    • Kbase


    • Resources


    • Glossary


    • Desk Marketplace


    • MVP Corner


    • Word of the Day


      Zoho CRM Plus Resources

        Zoho Books Resources


          Zoho Subscriptions Resources

            Zoho Projects Resources


              Zoho Sprints Resources


                Zoho Orchestly 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




                          Zoho Writer Writer

                          Get Started. Write Away!

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

                            Zoho CRM コンテンツ




                              ご検討中の方