<!--
{
  "availability" : [
    "iOS: 17.0.0 -",
    "iPadOS: 17.0.0 -",
    "macCatalyst: 17.0.0 -",
    "macOS: 14.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "RealityKit",
  "identifier" : "/documentation/RealityKit/PhotogrammetrySession/Error/invalidOutput(_:)",
  "metadataVersion" : "0.1.0",
  "role" : "Case",
  "symbol" : {
    "kind" : "Case",
    "modules" : [
      "RealityKit"
    ],
    "preciseIdentifier" : "s:17RealityFoundation21PhotogrammetrySessionC5ErrorO13invalidOutputyAE0B03URLVcAEmF"
  },
  "title" : "PhotogrammetrySession.Error.invalidOutput(_:)"
}
-->

# PhotogrammetrySession.Error.invalidOutput(_:)

An error that represents an invalid output location.

```
case invalidOutput(URL)
```

## Discussion

This error occurs in two cases:

1. The URL points to a directory that is not empty.
2. The URL points to a file ending in ‘.usdz’ that already exists.

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)