Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GCS - "Invalid Credentials" error when debugging locally #1744

Closed
jakeam opened this issue Mar 13, 2017 · 1 comment
Closed

GCS - "Invalid Credentials" error when debugging locally #1744

jakeam opened this issue Mar 13, 2017 · 1 comment
Assignees

Comments

@jakeam
Copy link

jakeam commented Mar 13, 2017

When trying to upload a file to GCS I get the following error.

{
 "error": {
  "errors": [
   {
    "domain": "global",
    "reason": "backendError",
    "message": "com.google.cloud.storage.StorageException: Invalid Credentials"
   }
  ],
  "code": 503,
  "message": "com.google.cloud.storage.StorageException: Invalid Credentials"
 }
}

I have authenticated using the CLI and am able to list all buckets using 'gsutil ls', however any code that interacts with GCS returns this error when debugging locally.

Please let me know if you require any more details.

@lesv
Copy link
Contributor

lesv commented Mar 14, 2017

See #1500 You may need to add 1.9.50 or better of the api to your classpath.

@jakeam jakeam closed this as completed Mar 16, 2017
suztomo pushed a commit that referenced this issue Feb 1, 2023
fix(java): handle empty modules

Fixes googleapis/synthtool#1743
Source-Link: googleapis/synthtool@482d649
Post-Processor: gcr.io/cloud-devrel-public-resources/owlbot-java:latest@sha256:bd5071596a47614d1fe15eb766c4255bae330f823b606e1196a3b0c8d2e96fd1

Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
suztomo pushed a commit that referenced this issue Feb 1, 2023
fix(java): handle empty modules

Fixes googleapis/synthtool#1743
Source-Link: googleapis/synthtool@482d649
Post-Processor: gcr.io/cloud-devrel-public-resources/owlbot-java:latest@sha256:bd5071596a47614d1fe15eb766c4255bae330f823b606e1196a3b0c8d2e96fd1

Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
Co-authored-by: Alice <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants