Skip to main content

valid-directory-path

Overview

This rule belongs to the input-file-validation ruleset and states that:

The path provided to a directory must be an absolute path and the specified directory must exist at that path.

PropertyValue
EnabledYes
Maximum SeverityBlocking
MessageDirectory does not exist at the specified path.
CodeINPUTFILE_V001
TypeValidation
Rule SystemSemantic
Broad CategoryFile I/O Accessibility
Tagsapi specification api file validation directory read

Suggested Fixes

  • Make sure that the path is valid.
  • Make sure that the directory name matches exactly with the name specified in the directory path.
  • Make sure that the directory exists at the path specified.
  • Make sure that you have read access to the directory.
  • Make sure that the directory path is not empty or null.