---
title: "PartCompositionFailure"
slug: "api/basket/types/partcompositionfailure"
sidebar:
  order: 250
---

<a id="ref-afab46feec30"></a>
<a id="ref-290f8134b59c"></a>
<a id="ref-b9ac5ca43f1b"></a>

## Synopsis

```text
PartCompositionFailure (
    string cause
    string itemId
)
```


Instances of PartCompositionFailure will be used in [BasketServiceFault](/pCon/configuratorOnline/specs/api/basket/faults/basketservicefault) if thrown by operations [`getGeneratedImage`](/pCon/configuratorOnline/specs/api/basket/operations/getgeneratedimage#ref-01360c8648c1) and [`getExportedGeometry`](/pCon/configuratorOnline/specs/api/basket/operations/getexportedgeometry#ref-0862014d3e84) if these operations were invoked to get an image or geometry for a set-article item and the geometry compositor failed  to obtain all set-article part geometries.

The field itemId holds the basket item ID of the set-article part whose geometry could not be obtained, and the array cause contains  the chain of exceptions that led to the failure. It contains at least one element. Each element represents one exception and consists of  the exception type, optionally followed by a colon, a space, and the exception message.
