---
title: InvalidGroupIdError
framework: App Store Server API
role: symbol
role_heading: Object
platforms: [app store server api 1.22+]
path: appstoreserverapi/invalidgroupiderror
---

# InvalidGroupIdError

An error that indicates the group identifier is invalid.

## Declaration

```data
object InvalidGroupIdError
```

## Properties

errorCode: errorMessage:

## Mentioned in

App Store Server API changelog

## Discussion

Discussion A request returns this error if you call the Get Group Members endpoint with a groupId that isn’t well-formed. If the identifier is well-formed but doesn’t identify a group in your app, the request returns a GroupNotFoundError instead. Use a groupId that the Get Customer Groups endpoint returns.

## See Also

### Group membership errors

- [GroupNotFoundError](appstoreserverapi/groupnotfounderror.md)
- [InvalidLimitError](appstoreserverapi/invalidlimiterror.md)
