Get records from zoho CRM (Invalid Request)

Get records from zoho CRM (Invalid Request)

Hello guys, I have got the following response error when I try to post a request to the
https://www.zohoapis.eu/crm/v2/Subscriptions 400 (Bad Request)

  1. {
        "code": "INVALID_REQUEST",
        "details": {},
        "message": "unable to process your request. please verify whether you have entered proper method name, parameter and parameter values.",
        "status": "error"
    }
    Error fetching data from Zoho CRM: Error: HTTP error! Status: 400 at fetchCRMData (widget.html?serviceOrigin=https%3A%2F%2Fdesk.zoho.eu&isDevMode=true&frameorigin=https%3A%2F%2Fdesk.zoho.eu:89:19)
    async function fetchCRMData() {
            const authToken =
              "1000.cf978fbc6002fa5c8b83477b0049ff13.b27c21736a57b74eabffa479acbb28e3"; // Replace with your Zoho OAuth token

            const headers = {
                Authorization: 'Zoho-oauthtoken ' + authToken,
            };

            try {
              console.log("Fetching CRM data...");
              const response = await fetch(apiUrl, {
                method: "GET",
                headers: headers,
                throwHttpErrors : false,
                'contentType': 'application/json'
              });
    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 コンテンツ




                              ご検討中の方