<@U04S8PLJWMT> got this error while setting up the...
# ask-ai
r
@kapa.ai got this error while setting up the Google sheet connector Config validation error: 'Service' was expected
k
The error message
Config validation error: 'Service' was expected
typically indicates that the connector is expecting a specific value for the authentication type or a related configuration field, but received something else. For the Google Sheets source connector in Airbyte, when using Service Account authentication, you need to select the correct authentication method in the UI or configuration file. For Airbyte Open Source, the recommended method is Service Account Key Authentication. Make sure you select this option and provide the service account key in JSON format, as shown below:
Copy code
json {   "type": "service_account",   "project_id": "YOUR_PROJECT_ID",   "private_key_id": "YOUR_PRIVATE_KEY",   ... }
If you are using OAuth, ensure you select Authenticate via Google (OAuth) and provide the required fields: client ID, client secret, and refresh token. This error can occur if, for example, you select the wrong authentication type or the configuration does not match the expected schema. Double-check that you have selected "Service Account Key Authentication" (not "OAuth" or any other value) and that your JSON is correctly formatted and complete. If you are using the UI, ensure the dropdown is set to the correct value before pasting your credentials. For more details, see the setup guide for the Google Sheets source connector: [Google Sheets Source Setup Guide](https://docs.airbyte.com/integrations/sources/google-sheets#for-airbyte-open-source). If you continue to see this error, please provide the exact configuration you are using (redacting any sensitive information), so we can help further.