Skip to content

Vertex AI - Error: APIs that require a project ID cannot use an API key #2570

Discussion options

You must be logged in to vote

Are you using docker? If so, you need to also mount the volume in docker-compose.override.yml

version: '3.4'

services:
  api:
    volumes:
    - type: bind
      source: ./api/data/auth.json
      target: /app/api/data/auth.json

Basically, if you at least have the auth.json file, you don't need to define GOOGLE_KEY and it will show

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@Niqnil
Comment options

@Niqnil
Comment options

@danny-avila
Comment options

Answer selected by Niqnil
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants