Unable to Edit Google Connector

Hi all,

I had set up a Nylas project using Hosted Authentication, but now I want to add a realtime Pub/Sub topic. However, I am unable to edit the connector through the Nylas dashboard.

I have created a project on the Google Cloud console and set up OAuth and added Nylas as an owner. I ran the script here, and it is still greyed out. I tried even creating the connector manually with the API and got this response:
{
“request_id”: “7326327052-ba9d5d97-7367-40fb-8cbd-8d9ef349019d”,
“error”: {
“type”: “connector.already_exists”,
“message”: “Connector of provider type ‘google’ already exists under ID ‘226fa39d-6b49-4233-8782-efed18a4b8b0’”
}

Is this an issue for anyone else? Is there a known workaround? Thanks in advance

Hey Zak,

It looks like you’re trying to edit a Google connector on a Nylas Sandbox application. This isn’t allowed - you can’t create your own service connectors or change scopes on a Nylas Sandbox application.

The error message you received confirms that a Google connector already exists for your application. Since you want to add your own GCP app with Pub/Sub capabilities to the Google connector, I recommend creating a new Nylas application where you’ll have full control over the connector configuration.

Here’s what you need to do:

  1. Create a new Nylas application in the Nylas Dashboard

  2. Set up Pub/Sub for your Google application following the process you’ve already started (feel free to reuse the one you already created)

  3. Create a new Google connector for your new Nylas application that includes your Pub/Sub topic name

When creating the connector, you’ll include your GCP client ID, client secret, and the Pub/Sub topic name in the connector settings

I hope this helps, please let us know if you run into any issues!