('Unexpected credentials type', None, 'Expected', 'service_account') with oauth2client (Python) ('Unexpected credentials type', None, 'Expected', 'service_account') with oauth2client (Python) django django

('Unexpected credentials type', None, 'Expected', 'service_account') with oauth2client (Python)


I too was running in to this. The fix in my case was to use the correct json file. I needed to use the one that was saved when I created the service account key, not the one with the service account client:

developer console API key interface

Hope that helps!