"message": "unable to process your request. please verify whether you have entered proper method name, parameter and parameter values.",
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'
});