GCS integration: wrong links used to read audio fi...
# support
a
Hey, When GCS integration is set up the vapi dashboard tries to read audio files using the gcs link. But it seems VAPI adds an extra qualifier "eu." (my bucket is located in EU) in front of the url. The following error shows in the browser :
Copy code
Error>
<Code>InvalidBucketName</Code>
<Message>The specified bucket is not valid.</Message>
<Details>Bucket names must be at least 3 characters in length, got 2: 'eu'</Details>
</Error>
When removed, the file can be accessed correctly Meaning having https://storage.googleapis.com/ Instead of https://eu.storage.googleapis.com/
v
Thank you for sharing the error details and your observation about the "eu." prefix in the GCS URL. To help us investigate further, could you please confirm whether you manually specified the bucket region as "eu" during your Vapi GCS integration setup, or did you leave the region field blank/default? This will help determine if the region is being incorrectly appended by the dashboard or if it's a configuration issue. Source: - [GCP Cloud Storage Integration Documentation](https://docs.vapi.ai/providers/cloud/gcp)
a
I believe I've set eu explicitely in the dashboard
c
Hello, Can you kindly try looking at the GCP Cloud Storage configuration documentation? there's no indication that the region should be added as a prefix to the bucket URL. The issue you're seeing where Vapi is adding "eu." to the URL appears to be unexpected behavior. The correct GCS configuration should include: 1. Bucket Name 2. Bucket Region 3. HMAC credentials 4. Service account key The fact that Vapi is adding the "eu." prefix to your bucket URL, causing the InvalidBucketName error, appears to be a bug in how the region configuration is being handled. I recommend: 1. Double-check that your bucket region is correctly specified in the Vapi dashboard configuration 2. Report this as a bug since the automatic addition of "eu." to the bucket URL is not documented behavior 3. Include in your report: - Your bucket configuration - The exact error message - The URL that works vs the URL that doesn't work If this doesn’t resolve the issue, please let us know and we’ll be happy to step in and assist further.
a
where should i report it aas a bug if not here ?
c
You can report it directly here, and please also share a screenshot of the issue so we can review it more quickly. If there’s a different process or place for bug reporting, we’ll guide you from here — no need to worry.
3 Views