Python SDK ZohoCrm error at .in domain but not on .com domain (different accounts)

Python SDK ZohoCrm error at .in domain but not on .com domain (different accounts)

I am logged in at zoho.in not on zoho.com

When I did

import json
import zcrmsdk
from zcrmsdk import ZCRMModule, ZCRMException, ZohoOAuth, ZCRMRecord
config_dict = {
    'sandbox': 'False',
    'applicationLogFilePath': './log',
    'client_id': '<my_client_id>',
    'client_secret': '<my_client_secret>',
    'redirect_uri': " http://localhost:8000/a",
    'accounts_uri': ' https://accounts.zoho.in',
    'token_persistence_path': '.',
    'currentUserEmail': '<some_email>'
}
client = zcrmsdk.ZCRMRestClient
client.initialize(config_dict=config_dict)
oauth_client = ZohoOAuth.get_client_instance()
grant_token = "<my grant token after doing self client>"
oauth_tokens = oauth_client.generate_access_token(grant_token)
print(oauth_tokens)

IT does not work, it says invalid Client.

At zoho.com it worked perfectly fine
Although I was having different account where account_uri was having '.com' instead of '.in' in accounts_uri(accounts.zoho.in) worked perfectly fine


Is there any problem when accounts_uri has Indian domain i.e accounts.zoho.in