# validate_file_path

> **Function** in `langchain_upstage`

📖 [View in docs](https://reference.langchain.com/python/langchain-upstage/document_parse/validate_file_path)

Validates if a file exists at the given file path.

## Signature

```python
validate_file_path(
    file_path: Union[str, Path, List[str], List[Path]],
) -> None
```

## Parameters

| Name | Type | Required | Description |
|------|------|----------|-------------|
| `file_path` | `Union[str, Path, List[str], List[Path]]` | Yes | The file path(s) to be validated. |

---

[View source on GitHub](https://github.com/langchain-ai/langchain-upstage/blob/3607d30592c4133af2a423efd425d894130df6fb/libs/upstage/langchain_upstage/document_parse.py#L24)