Skip to content

Full file uploads fails with an error about GOOGLE_CLOUD_STORAGE_CREDENTIAL #5101

@Stono

Description

@Stono

Describe the bug

I've enabled "Full File Uploads" for my chatflow, which my understanding is that should be passed through to the model (Gemini, vertex).

However the prediction fails with a 500 error, if i check the logs I see Error: predictionsServices.buildChatflow - GOOGLE_CLOUD_STORAGE_CREDENTIAL env variable is required.

I don't see why Google cloud storage credentials are required here, and even if they were - it should use the Application Default credentials of the pod (this is running on kubernetes).

To Reproduce

  1. Create an agentflow using Vertex
  2. Enable full file uploads
  3. Attempt to upload a file using the API eg uploads: [{data:...}]]

Expected behavior

Not to need GCS credentials here, or if GCS credentials are required, use the Application Default Credentials (ADC).

Screenshots

No response

Flow

No response

Use Method

None

Flowise Version

No response

Operating System

None

Browser

None

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions