Error fetching options from Google Cloud Firestore

Describe the problem/error/question

My Firestore node is unable to fetch the project name. I am using a service account to access the db.

I have another service account with the same access which is showing the drop down with correct project name.

What is the error message (if any)?

image

image

Please share your workflow

Information on your n8n setup

  • n8n version: 1.118.2
  • Database (default: SQLite): Postgres
  • n8n EXECUTIONS_PROCESS setting (default: own, main): own
  • Running n8n via (Docker, npm, n8n cloud, desktop app): docker self host
  • Operating system: Linux VM

Hi @Punosie

The error:

“Error fetching options from Google Cloud Firestore”
“There was a problem loading the parameter options from server: [object Object]”

occurs when n8n cannot list Firestore projects using the provided service account.

According to n8n and Google Cloud documentation, the Firestore node only populates the Project dropdown if the service account can list projects via the Google Cloud Resource Manager API.

How to fix (recommended)

  1. Go to Google Cloud IAM
  2. Select the project
  3. Add one of the following roles to the service account:
  • Viewer (recommended)
  • or Project Viewer
  1. Save changes
  2. Restart n8n (Docker container)
  3. Reload the Firestore node

Important note (from n8n docs)

The Project Name / ID dropdown is optional.
As a workaround, you can manually enter the Project ID instead of relying on the dropdown.


Key takeaway

  • This is not a bug
  • It is a permissions issue
  • Firestore access ≠ Project listing permission
  • Granting Viewer/Project Viewer resolves the issue
1 Like

Thanks, I’ll try looking up these specific permissions.

1 Like

I hope everything goes well :green_heart: