user23506502
user23506502

Reputation: 11

Why am I receiving "PermissionDenied: 403 The caller does not have permission"?

I am trying to run python samples from GoogleCloudPlatform/python-docs-samples using Video Intelligence API. Specifically, I am receiving Permission Denied 403 when I am running the command "python3 beta_snippets.py streaming-labels resources/cat.mp4"

  1. Supplying Google Application Credentials with 'gcloud auth application-default login'
  2. Supplying Google Application Credentials with downloaded .json key
  3. Creating another service account

export GOOGLE_APPLICATION_CREDENTIALS=/home/[REDACTED]/[REDACTED].json

cd /home/[REDACTED]/python-docs-samples/videointelligence/samples/analyze

python3 beta_snippets.py streaming-labels resources/cat.mp4

Upvotes: 1

Views: 42

Answers (0)

Related Questions