I am trying to do an extract of users in my domain by accessing the Google Admin SDK API. I am however given a 401 unauthorized exception. The code below is my settings class th
try deleting .credential directory - which is created in your local machine. this works.