Access error when running invokeurl
Hi,
I'm running the following code:
string standalone.test_api()
{
LoroToken=zoho.crm.getOrgVariable("LoroToken");
info "LoroToken:"+ LoroToken;
headersMap = Map();
headersMap.put("Authorization", "Bearer "+LoroToken );
headersMap.put("Content-Type", "application/json");
response = invokeurl
[
type :GET
headers : headersMap
];
info "StatesResponse:"+ response;
return response;
}
In the response I'm getting the following error from Zoho:
Access control configuration prevents your request from being allowed at this time. Please contact your service provider if you feel this is incorrect.
when running same request from Postman it runs with no issues.
Any idea how to resolve this?