I have setup the gmail api as per the instructions from the official site. Now when I am trying to call the API, I am getting a refresh error. This is code that I have used :
RefreshError: ('unauthorized_client: Unauthorized', {'error': 'unauthorized_client', 'error_description': 'Unauthorized'})
In the above code, the credentails_file is the path to the required credentials in a json format.