C# SDK CRM API - 401 - Empty Response

C# SDK CRM API - 401 - Empty Response

Hi,

Just exploring the Zoho CRM API possibilities using the C# SDK and running into an issue that I could do with some help on.

I can successfully authenticate and generate an access token and the authorization header is added to the request correctly, I am currently using the scope below for my grant token:

aaaserver.profile.READ,ZohoCRM.modules.ALL,ZohoCRM.users.ALL,ZohoCRM.settings.ALL,ZohoCRM.org.ALL,ZohoCRM.bulk.ALL





  1. public void GetOrganizationDetails()
  2.         {
  3.             try
  4.             {
  5.                 ZCRMRestClient restClient = ZCRMRestClient.GetInstance();
  6.                 APIResponse response = restClient.GetOrganizationDetails(); //Exception thrown here
  7.                 ZCRMOrganization organization = (ZCRMOrganization)response.Data;
  8.             }
  9.             catch (Exception ex)
  10.             {
  11.                 Debug.Print(ex.Message);
  12.             }

  13.         }