java.lang.IllegalArgumentException: A project ID is required for this service but could not be determined from the builder or the environment. Please set a project ID using the builder.

GitHub | jsnowacki | 2 weeks ago
  1. 0

    Issues getting JSON credentials to work in JAR file

    GitHub | 2 weeks ago | jsnowacki
    java.lang.IllegalArgumentException: A project ID is required for this service but could not be determined from the builder or the environment. Please set a project ID using the builder.
  2. 0

    GCS provider ID must be specified even if not using GCS

    GitHub | 5 months ago | tomwhite
    java.lang.IllegalArgumentException: A project ID is required for this service but could not be determined from the builder or the environment. Please set a project ID using the builder. at shaded.cloud-nio.com.google.common.base.Preconditions.checkArgument(Preconditions.java:122)
  3. 0

    How to fix error: A project ID is required for this service but could not be determined

    Stack Overflow | 9 months ago | Gregory Was
    java.lang.IllegalArgumentException: A project ID is required for this service but could not be determined from the builder or the environment. Please set a project ID using the builder.
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    How do I authenticate my Java application with Google Cloud Storage?

    Stack Overflow | 11 months ago | dimo414
    java.lang.IllegalArgumentException: A project ID is required for this service but could not be determined from the builder or the environment. Please set a project ID using the builder.

  1. Handemelindo 1 times, last 1 month ago
  2. tfr 1 times, last 5 months ago
  3. brunosatriani 1 times, last 7 months ago
  4. ben.slama.jihed 1 times, last 7 months ago
  5. vega113 74 times, last 8 months ago
4 more registered users
10 unregistered visitors
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. java.lang.IllegalArgumentException

    A project ID is required for this service but could not be determined from the builder or the environment. Please set a project ID using the builder.

    at com.google.common.base.Preconditions.checkArgument()
  2. Guava
    Preconditions.checkArgument
    1. com.google.common.base.Preconditions.checkArgument(Preconditions.java:92)
    1 frame
  3. com.google.cloud
    StorageOptions$Builder.build
    1. com.google.cloud.ServiceOptions.<init>(ServiceOptions.java:283)
    2. com.google.cloud.HttpServiceOptions.<init>(HttpServiceOptions.java:179)
    3. com.google.cloud.storage.StorageOptions.<init>(StorageOptions.java:69)
    4. com.google.cloud.storage.StorageOptions.<init>(StorageOptions.java:27)
    5. com.google.cloud.storage.StorageOptions$Builder.build(StorageOptions.java:64)
    5 frames