# Has ~~package~~ party management service been removed?

**URL:** <https://forum.canton.network/t/has-package-party-management-service-been-removed/6051>\
**Category:** App Development\
**Tags:** ledger-api\
**Created:** [February 1, 2023, 9:36am UTC](https://forum.canton.network/t/has-package-party-management-service-been-removed/6051 "2023-02-01T09:36:07Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Luciano](https://yyz2.discourse-cdn.com/flex034/user_avatar/forum.canton.network/luciano/32/319_2.png) [@Luciano](https://forum.canton.network/u/Luciano)\
**Post date:** [February 1, 2023, 9:36am UTC](https://forum.canton.network/t/has-package-party-management-service-been-removed/6051/1 "2023-02-01T09:36:07Z")

</div>

Calling the bare GRPC endpoint on 2.5.0 sandbox, I see:

```shell
java.lang.Exception: NonEmptyList(grpc-status: 12)
[error] NonEmptyList(grpc-message: Method not found: com.daml.ledger.api.v1.PartyManagementService/GetParties)

```

Has it been removed, or is this a bug in my code? If the former, why are the protobuf definitions still in the SDK?

---

<div class="post-metadata">

**Author:** ![cocreature](https://yyz2.discourse-cdn.com/flex034/user_avatar/forum.canton.network/cocreature/32/36_2.png) [@cocreature](https://forum.canton.network/u/cocreature)\
**Post date:** [February 1, 2023, 9:41am UTC](https://forum.canton.network/t/has-package-party-management-service-been-removed/6051/2 "2023-02-01T09:41:05Z")

</div>

You’re mixing up endpoints here. Your title and the linked post are about the package service. The error message shows that you’re actually trying to query the party management service. That’s an admin service under `com.daml.ledger.api.v1.admin.PartyManagementService/GetParties`.

I personally like using `grpcurl` to discover endpoints, e.g.,

```haskell
moritz@moritz-p5570 ~ [2]> grpcurl -plaintext localhost:6865 list
com.daml.ledger.api.v1.ActiveContractsService
com.daml.ledger.api.v1.CommandCompletionService
com.daml.ledger.api.v1.CommandService
com.daml.ledger.api.v1.CommandSubmissionService
com.daml.ledger.api.v1.LedgerConfigurationService
com.daml.ledger.api.v1.LedgerIdentityService
com.daml.ledger.api.v1.PackageService
com.daml.ledger.api.v1.TransactionService
com.daml.ledger.api.v1.VersionService
com.daml.ledger.api.v1.admin.ConfigManagementService
com.daml.ledger.api.v1.admin.IdentityProviderConfigService
com.daml.ledger.api.v1.admin.MeteringReportService
com.daml.ledger.api.v1.admin.PackageManagementService
com.daml.ledger.api.v1.admin.ParticipantPruningService
com.daml.ledger.api.v1.admin.PartyManagementService
com.daml.ledger.api.v1.admin.UserManagementService
grpc.health.v1.Health
grpc.reflection.v1alpha.ServerReflection

```

---

<div class="post-metadata">

**Author:** ![Luciano](https://yyz2.discourse-cdn.com/flex034/user_avatar/forum.canton.network/luciano/32/319_2.png) [@Luciano](https://forum.canton.network/u/Luciano)\
**Post date:** [February 1, 2023, 9:41am UTC](https://forum.canton.network/t/has-package-party-management-service-been-removed/6051/3 "2023-02-01T09:41:49Z")

</div>

You’re right. I just noticed I’m missing the `admin` from the URI.
