I am trying to use the Zoho CRM SDK c# for accessing the Zoho API from our application.
I have passed the configuration details as shown below and receive a error message stating that Given User not found in configuration, Please assist in providing a response.
Note - that i have masked the values in the below configuration. The actual values are entered correctly as they have been setup as part of client id creation.
Dictionary<string, string> config = new Dictionary<string, string>()
{
{"client_id","1000.ZZZZZZYYYYYYYYYYYYXXXXXXXXXXXXXX"},
{"client_secret","1111111111110000000000000000000000000000000"},
{"access_type","offline"},
{"persistence_handler_class","ZCRMSDK.OAuth.ClientApp.ZohoOAuthInMemoryPersistence, ZCRMSDK" },
{"photoUrl","{photo_url}"},
{"apiVersion","v2"},
{"timeout",""},
{"minLogLevel","INFO"},
{"domainSuffix","com"},
};
ZCRMRestClient.Initialize(config);
ZCRMRestClient restClient = ZCRMRestClient.GetInstance();
// ZCRMModule module = ZCRMModule.GetInstance("Leads");
APIResponse response = restClient.GetModule("Leads");