---
title: "Gets the information about unplaced replica of the service."
method: GET
path: "/Services/{serviceId}/$/GetUnplacedReplicaInformation"
tags: ["Service"]
---

# Gets the information about unplaced replica of the service.

`GET /Services/{serviceId}/$/GetUnplacedReplicaInformation`

Returns the information about the unplaced replicas of the service.
If PartitionId is specified, then result will contain information only about unplaced replicas for that partition.
If PartitionId is not specified, then result will contain information about unplaced replicas for all partitions of that service.
If OnlyQueryPrimaries is set to true, then result will contain information only about primary replicas, and will ignore unplaced secondary replicas.

## Path parameters

- `serviceId` string, required

## Query parameters

- `api-version` '6.4', required
- `PartitionId` string, uuid
- `OnlyQueryPrimaries` boolean
- `timeout` integer

## Response `200`

Information about the specified service.

- UnplacedReplicaInformation — Contains information for an unplaced replica.
  - `ServiceName` string — The full name of the service with 'fabric:' URI scheme.
  - `PartitionId` string, uuid — An internal ID used by Service Fabric to uniquely identify a partition. This is a randomly generated GUID when the service was created. The partition ID is unique and does not change for the lifetime of the service. If the same service was deleted and recreated the IDs of its partitions would be different.
  - `UnplacedReplicaDetails` string[] — List of reasons due to which a replica cannot be placed.

## Other responses

- `default` — The detailed error response.

---

[API](https://skmtc.net/azure/apis/servicefabric-servicefabric.md) · [All operations](https://skmtc.net/azure/apis/servicefabric-servicefabric/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/azure/servicefabric-servicefabric/revisions/8fd479ce0f16/schema)
