ZOHO Python SDK not persisting OAuth token

ZOHO Python SDK not persisting OAuth token

Hello,

first of all, I contacted ZOHO Support 14 days ago. No answer. Kinda disappointing to be honest.

I am currently using the zohocrmsdk2-0 in version 4.0.0, installed through pip in a virtual env. with Python 3.9.7.

I can successfully run the method SDKInitializer.initialize() and can also invoke the Currencies.get_currency() method. It outputs the currency details in the console.
So I guess it is working.

However, file persistance is not working. When running the script, the "sdk_tokens.txt" is generated, but only with the column headers. No actual token data is persisted in this file.

The result of all this is, of course, that after 1 hour, the access token is not valid anymore and I get an OAuth error.

here is the Pastebin:


I just obscured the token details a little.

Is there a known issue with the SDK?