You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
title: Google Drive source connectors cannot be created by using the API
3
+
---
4
+
5
+
## Issue
6
+
7
+
When you try to use the [Unstructured Workflow Endpoint](/api-reference/workflow/overview) to
8
+
[create a source connector](/api-reference/workflow/overview#create-a-source-connector)
9
+
that connects [Google Drive](/api-reference/workflow/sources/google-drive) to Unstructured,
10
+
an error similar to the following occurs, and the source connector is not created:
11
+
12
+
```text
13
+
API error occurred: Status 412. Body: {
14
+
"errors": [
15
+
{
16
+
"field": "access_config.service_account_key",
17
+
"message": "Field is sensitive and must be wrapped in as a secret reference or new secret value"
18
+
}
19
+
]
20
+
}
21
+
```
22
+
23
+
## Cause
24
+
25
+
This error occurs because the contents of the caller's Google Drive service account's `credentials.json` file (or its
26
+
equivalent JSON string representation) must be specially encrypted and formatted before these contents are sent to Unstructured, due to the contents' size.
27
+
However, the Unstructured Workflow Endpoint does not support this special encryption and formatting process.
28
+
29
+
## Solution
30
+
31
+
Use the [Unstructured user interface (UI)](/ui/overview) to [create a Google Drive source connector](/ui/sources/google-drive) instead, as
32
+
the Unstructured UI does support this special encryption and formatting process.
33
+
34
+
## Additional resources
35
+
36
+
To ask questions or get additional help with this issue, see [requesting support](/support/request).
0 commit comments