Can I Grant Pipedream the Correct Permissions to Use the Google People (Contacts) API?

This topic was automatically generated from Slack. You can find the original thread here.

I’m trying to use the Google People (Contacts) API to create contacts; however, when I connected “Google” in Pipedream it only requested access to google drive and google sheets. When I send the requests Google predictably replies that Pipedream doesn’t have the correct access permissions.

{"code":403,"message":"Request had insufficient authentication scopes.","status":"PERMISSION_DENIED","details":[{"@type":"[type.googleapis.com/google.rpc.ErrorInfo](http://type.googleapis.com/google.rpc.ErrorInfo)","reason":"ACCESS_TOKEN_SCOPE_INSUFFICIENT","domain":"[googleapis.com](http://googleapis.com)","metadata":{"service":"[people.googleapis.com](http://people.googleapis.com)","method":"google.people.v1.PeopleService.ListConnections"}}]}

How can I grant Pipedream the correct permissions?

Hello , checking Pipedream existing issues, I found that there’s an issue of Pipedream integration with Google People OAuth here.

As a workaround to use Google People API on Pipedream, I would suggest:

  1. On Google side, follow the steps to setup the prerequisites
  2. Then you can download the credentials, and put it into your workflow attachments
  3. After having the attachment in your workflow, you can create a Node.js/Python code step and use Google People API with the credentials in the attachment

You are the best, thank you for this info. I will try it out later tonight!

How do I download the credentials?