---
title: "getCatalogPath"
slug: "api/catalog/operations/getcatalogpath"
sidebar:
  order: 218
---

<a id="ref-c0e4064853da"></a>
<a id="ref-26bc911ef721"></a>
<a id="ref-469926f00104"></a>

## Synopsis

```text
String[] getCatalogPath(SessionId sessionId,                                                  string catalogId,                                                      string catNodeKey)                  throws CatalogServiceFault;
```

See also: [`SessionId`](/pCon/configuratorOnline/specs/api/session/types/sessionid#ref-02e397c8fdb4), [`CatalogServiceFault`](/pCon/configuratorOnline/specs/api/catalog/faults/catalogservicefault#ref-f8dbfd6fd5d6)

Get the catalog path for a pair of catalog ID and node key.

The operation returns an empty path if the specified catalog does not contain a structure item with the specified node key. This may happen for node keys returned by the catalog search for non-folder items as such items may or may not be referenced from the catalog structure (tree).

The operation fails with a [CatalogServiceFault](/pCon/configuratorOnline/specs/api/catalog/faults/catalogservicefault) if

- If the session ID is not a valid UUID, there is no session with the given UUID or the session is currently suspended and could not be resumed.

- The catalog ID is not a syntactically correct catalog ID or there is no catalog with the given ID.

- The catalog node key is not syntactically correct.

- There was an error accessing the catalog database.
