Attribute Error in handler.py

Attribute Error in handler.py

When i try to calling the .get_all_modules() it returns this error - ''AttributeError' object has no attribute 'message'`

Below is my code and config
CODE:

crmsdk.ZCRMRestClient.initialize(config)
resp = crmsdk.ZCRMRestClient.get_instance().get_all_modules()
modules = resp.status_code

Here is my config 


config = {
    "apiBaseUrl": "https://www.zohoapis.com",
    "apiVersion":"v2",
    "currentUserEmail":"my_mail",
    "sandbox":"True",
    "applicationLogFilePath":"",
    "client_id":"********",
    "client_secret":*****************",
    "redirect_uri":"https://www.abc.com",
    "accounts_url":"https://accounts.zoho.com",
    "token_persistence_path":"",
    "access_type":"online",

    "mysql_username":"",
    "mysql_password":"",
    "mysql_port":"3306",

    "persistence_handler_class" : "Custom",
    "persistence_handler_path": "/Users/Zoho/Desktop/PythonSDK/CustomPersistance.py"
}


      • Sticky Posts

      • Connect with Zoho users from your industry, virtually!

        A couple of years ago, we started setting up industry-wise channels for users with similar businesses to chat and discuss Zoho contextually. We started with Real Estate and E-commerce sectors, creating a chatroom and hosting regular meetups on niche areas
      • Feature update: Advanced security settings

        We've previously written about how using security policies could be beneficial for admins. To enable you to better protect your organization, we've come up with a few additional settings for security policies in Zoho One that can be used to regulate your users' web sessions. What are web sessions? A web session refers to the period of time you stay signed in to your Zoho One account. You create a new web session every time you sign in to Zoho One (or any of its included apps), and this session exists