[Bug] Google Workspace Node: "Error fetching options" on new OrgUnitPath parameter
Bug Description
n8n Version: 2.39.0+
Operation: User -> Create / Update
Description Since version 2.39.0, when trying to select the new OrgUnitPath parameter using the dynamic dropdown interface in the Google Workspace node, it fails to load the available Organization Units.
Error Message Error fetching options from Google Workspace Admin
Issues: - There was a problem loading the parameter options from server [object Object]
Additional Information / Workaround Workaround: Toggling the parameter input mode to Expression or Fixed and manually entering the path (e.g., / or /Sales) allows the node to execute successfully.
Credentials: The Service Account / OAuth credentials used have full access and work without issues when calling the Google Admin SDK directly via an HTTP Request node.
Probable Root Cause: The issue appears to be isolated to the loadOptions helper method for OrgUnitPath within the node's UI schema.
To Reproduce
Steps to Reproduce Add a Google Workspace node to a workflow.
Set the Resource to User and Operation to Create or Update.
Add the OrgUnitPath field under Additional Fields.
Keep the field in default dropdown mode (attempting to auto-fetch options).
Actual Behavior The node fails to fetch the options from the Google Admin SDK API and throws the [object Object] error modal.
Expected behavior
Expected Behavior, if I understood correctly The node should successfully list the existing Organization Units from the Workspace domain.
Debug Info
Error fetching options from Google Workspace Admin
Issues: - There was a problem loading the parameter options from server [object Object]
Operating System
Debian Linux 13.6 (trixie)
n8n Version
2.39.5
Node.js Version
22.22.3
Database
PostgreSQL
Execution mode
main (default)
Hosting
self hosted
Source: n8n-io/n8n