ZohoDesk : whiteListedDomains - not recognised
Code
- var data = "";
- var requestURL = "https://www.zohoapis.eu/crm/v2/accounts/" + "<ID REPLACED>";
- var requestType = "GET";
- var connection = "crm";
-
var reqObj = {
- url: requestURL,
-
headers: {'Content-Type' : 'application/json'},
- type: 'GET',
- connectionLinkName: connection
-
};
ZOHODESK.request(reqObj).then(function(response){
- console.log(response);
- }).catch(function(err){
- console.log("Errors");
- console.log(JSON.stringify(err));
}
- );
Error message
{"errMessage":"No entry found in plugin-manifest whiteListedDomains for requested URL"}
widget.html?serviceOrigin=https%3A%2F%2Fmydomain.com&isDevMode=true&frameorigin=https://mydomain.com:45
Whitelisted Domains (in plugin-manifest.json)
"whiteListedDomains": [
"https://127.0.0.1:5000",
"https://mydomain.com"
],
How can I tell what domain is being blocked? Or, have I formatted something incorrectly?