Spaces:
Running
Running
API key trouble
Browse files- .github/README.md +4 -1
- README.md +3 -0
.github/README.md
CHANGED
|
@@ -60,4 +60,7 @@ Build and run the Docker Space image locally:
|
|
| 60 |
```bash
|
| 61 |
docker build -t aileen3-core .
|
| 62 |
docker run -it -p 7860:7860 aileen3-core
|
| 63 |
-
```
|
|
|
|
|
|
|
|
|
|
|
|
| 60 |
```bash
|
| 61 |
docker build -t aileen3-core .
|
| 62 |
docker run -it -p 7860:7860 aileen3-core
|
| 63 |
+
```
|
| 64 |
+
|
| 65 |
+
## Troubleshooting
|
| 66 |
+
- Error message: "google.genai.errors.ClientError: 401 UNAUTHENTICATED. {'error': {'code': 401, 'message': 'API keys are not supported by this API. Expected OAuth2 access token or other authentication credentials that assert a principal. ...". This may be a catch-all error message and the underlying problem may be something different. We solved this by using an older Gemini API key from Gemini Studio (Nov 10 vs. Nov 23; same project). The newer API keys may have been generated by Vertex AI, but we did not investigate this further.
|
README.md
CHANGED
|
@@ -75,3 +75,6 @@ Build and run the Docker Space image locally:
|
|
| 75 |
docker build -t aileen3-core .
|
| 76 |
docker run -it -p 7860:7860 aileen3-core
|
| 77 |
```
|
|
|
|
|
|
|
|
|
|
|
|
| 75 |
docker build -t aileen3-core .
|
| 76 |
docker run -it -p 7860:7860 aileen3-core
|
| 77 |
```
|
| 78 |
+
|
| 79 |
+
## Troubleshooting
|
| 80 |
+
- Error message: "google.genai.errors.ClientError: 401 UNAUTHENTICATED. {'error': {'code': 401, 'message': 'API keys are not supported by this API. Expected OAuth2 access token or other authentication credentials that assert a principal. ...". This may be a catch-all error message and the underlying problem may be something different. We solved this by using an older Gemini API key from Gemini Studio (Nov 10 vs. Nov 23; same project). The newer API keys may have been generated by Vertex AI, but we did not investigate this further.
|