Study FAQ
How do I troubleshoot a delayed or missing file in Snowpipe?
Also asked as 2
- What should I check when an uploaded file never reaches my Snowpipe target?
- How do I trace a missing Snowpipe file from its stage path to the load result?
Answer
Trace the exact file through stage visibility, notification or REST delivery, pipe status, and Snowflake load history. A cloud upload confirms that the file reached storage. Snowpipe still needs a matching path and a delivered event or accepted submission before it can process the file.
- Verify the file and prefix with
LISTand compare them with the pipe definition, storage integration access, and pattern. For auto-ingest, verify the cloud notification filter and routing. For REST, verify that the expected file list was submitted to the correct pipe with an authorized identity using supported key-pair or workload identity authentication. - Inspect
SYSTEM$PIPE_STATUSfor execution state, pending files, and relevant notification timestamps, then look for the filename and its outcome inCOPY_HISTORY. For a failed conversion, inspect load error details and validate the source format against the target. Avoid changing the pipe or error policy before you have this evidence. - A pipe records processed paths and names for 14 days, including failed files. Re-uploading a corrected file under the same name within that window can be ignored even if the contents changed. Use the documented correction or backfill procedure and reconcile any rows that already loaded.
ALTER PIPE ... REFRESHis a short recent-file recovery tool limited to files staged within the last seven days, subject to the command's conditions.
Verify the recovered file's row count and the target's freshness before closing the incident.
Troubleshooting Snowpipe · SYSTEM$PIPE_STATUS · Load metadata and pipe limitations · Manage Snowpipe · Snowpipe REST endpoints
Full explanation
Loading Data with Stages, File Formats, COPY INTO, and Snowpipe
Study guide · COF-C03
Read the full explanation