High severityexecution
Power BI Refresh Error:
PUT_COMMAND_FAILED
What does this error mean?
A Snowflake PUT command that uploads a local file to an internal stage failed, typically due to a missing source file, permission issues, or an unsupported internal-stage operation from a client type.
Common causes
- 1The local file path does not exist or contains a space that was not escaped
- 2PUT is not supported for external stages (S3, Azure Blob, GCS) — only internal stages
- 3The Snowflake role lacks write privilege on the target stage
- 4The JDBC or ODBC driver version has a known bug with PUT for large files
How to fix it
- 1Step 1: Confirm the local file path exists and is accessible: use an absolute path and escape spaces with a backslash on Windows.
- 2Step 2: Ensure the target stage is an internal stage (@~, @%tablename, or a named internal stage) — PUT does not work with external stages.
- 3Step 3: Verify your role has WRITE privilege on the stage: SHOW GRANTS ON STAGE your_stage.
- 4Step 4: If using JDBC/ODBC, upgrade the driver to the latest version; check the Snowflake release notes for PUT-related fixes.
- 5Step 5: For large files, add PARALLEL = 4 (or higher) to improve reliability and throughput.