---
title: "PhotogrammetrySession.Error.invalidOutput(_:)"
framework: realitykit
role: symbol
role_heading: Case
path: "realitykit/photogrammetrysession/error/invalidoutput(_:)"
---

# PhotogrammetrySession.Error.invalidOutput(_:)

An error that represents an invalid output location.

## Declaration

```swift
case invalidOutput(URL)
```

## Discussion

Discussion This error occurs in two cases: The URL points to a directory that is not empty. The URL points to a file ending in ‘.usdz’ that already exists.
