mirror of
https://github.com/langgenius/dify-official-plugins.git
synced 2026-07-21 17:45:23 -04:00
[models] Error: 'Failed to create file. Upload URL did not returned from the create file request.'"},"error_type":"InvokeError","message":"[models] Error: 'Failed to create file. Upload URL did not returned from the create file request.'"} #923
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @gubinjie on GitHub (Jan 7, 2026).
Self Checks
Dify version
1.11.1
Cloud or Self Hosted
Self Hosted (Docker)
Steps to reproduce
When using the Gemini plugin to use this model in the workflow, gemini3-flash-preview, this workflow is used to make the model understand the content of the uploaded file, and throw an error when the API calls this workflow.
req_id: e8b4374cc1 PluginInvokeError: {"args":{"description":"[models] Error: 'Failed to create file. Upload URL did not returned from the create file request.'"},"error_type":"InvokeError","message":"[models] Error: 'Failed to create file. Upload URL did not returned from the create file request.'"}✔️ Expected Behavior
req_id: e8b4374cc1 PluginInvokeError: {"args":{"description":"[models] Error: 'Failed to create file. Upload URL did not returned from the create file request.'"},"error_type":"InvokeError","message":"[models] Error: 'Failed to create file. Upload URL did not returned from the create file request.'"}❌ Actual Behavior
No response
@dosubot[bot] commented on GitHub (Jan 7, 2026):
This error usually means the Gemini plugin couldn't get a valid upload URL for your file. In self-hosted Docker setups, this is often caused by a misconfigured or missing FILES_URL environment variable. The Gemini plugin's upload logic requires FILES_URL to be set so that file URLs start with http:// or https://—otherwise, the upload fails with a ValueError and no upload URL is returned. Double-check that your FILES_URL is set correctly in your Docker environment and points to a reachable file server URL. If the file upload process still fails, check your logs for any exceptions during the file fetch or upload steps, as issues like inaccessible file URLs or problems with the Google GenAI upload API can also cause this error. For more details, see the relevant code in the Gemini plugin's upload method (source).
To reply, just mention @dosu.
How did I do? Good | Irrelevant | Incorrect | Verbose | Hallucination | Report 🐛 | Other