Databricks · Missing input

[PATH_NOT_FOUND] Path does not exist in a Databricks job

Spark tried to read a file or folder that is not there. In a scheduled job that usually means the data for this run has not arrived, an upstream task did not write it, or the path was built from the wrong date or parameter.

The error
[PATH_NOT_FOUND] Path does not exist: abfss://raw@salesdata.dfs.core.windows.net/orders/2026-11-12. SQLSTATE: 42K03

What this error means

The read fails while Spark resolves the path, before any data is processed. The message prints the full path it looked for, and that is the most useful part: compare it with what exists in storage, character by character.

When a read lists several paths, one missing path is enough to fail it.

Why it happens

  • The data for this run has not landed. The source delivered late, or had nothing to deliver for that day, and the job read the dated folder all the same.
  • An upstream task did not write it. The task that produces the folder failed or was skipped, or this task does not depend on it and started first.
  • The path is built from the wrong value. A date parameter is in another time zone or format, or a default was used because the job parameter was not passed.
  • The location moved. A container, folder, mount point or volume was renamed or reorganised, and the code still points at the old place.

How to fix it

  1. Copy the path from the error

    Use it exactly as printed, including the scheme at the start, such as abfss://, s3://, dbfs:/ or /Volumes/.

  2. List what is really there

    In a notebook, list the parent folder. You will see whether the folder is missing, has a different name, or has a different date.

    List the parent folder
    01display(dbutils.fs.ls("abfss://raw@salesdata.dfs.core.windows.net/orders/"))
  3. Check how the path was built

    Open the failed run, look at the task’s parameters, and compare the date or name with the folder that exists. A time zone is a common reason for being one day out.

  4. Fix the cause

    If the data is late, repair the run once it has arrived. If an upstream task writes the folder, add the dependency. If the parameter is wrong, correct the way it is computed.

  5. Decide what a missing input should mean

    If a day without data is normal, check for the folder first and skip the load with a clear log line. If it is not normal, let the task fail, as it does now.

How to stop it coming back

  • Make every task that reads a folder depend on the task that writes it.
  • Compute run dates in one place and pass them to every task as job parameters.
  • For files that arrive continuously, use Auto Loader, which processes new files as they arrive and does not expect one fixed folder per run.

With PipelineMender AI

The next failed run explains itself.

PipelineMender reads each failed task’s error and stack trace and the job settings: notebook paths, parameters and task dependencies. For this failure the report quotes the missing path, relates it to the parameters and to the task that should have written it, and gives the likely root cause with the change for you to review.

Is the error in front of you now? Start a trial, choose Report an incident and paste it in. No connection is needed for that.

  • Read-only access
  • You review every change
  • No model training

Questions

Common questions about this error.

The folder exists. Why does Spark say the path does not exist?

Compare the printed path with storage exactly: the scheme, the container or bucket, upper and lower case, and the date. Check also that you are looking at the same workspace and storage account as the job.

Should the job fail when there is no data for a day?

That is a design decision. If missing data is expected, test for the path and skip the load deliberately. If it means that something upstream broke, failing is the right behaviour.

How is this different from TABLE_OR_VIEW_NOT_FOUND?

PATH_NOT_FOUND is about files and folders in storage. TABLE_OR_VIEW_NOT_FOUND is about the name of a table or view in the catalog.

Checked against: Error conditions in Databricks (PATH_NOT_FOUND) Databricks Utilities (dbutils) reference Configure task dependencies What is Auto Loader? What are Unity Catalog volumes? Troubleshoot and repair job failures

Last reviewed 13 November 2026 against the Databricks documentation. PipelineMender AI is an independent product and is not affiliated with Microsoft or Databricks; product names are trademarks of their owners.