Skip to Content
API ReferenceCommunity connections

List failed grant reasons

See why community access grants failed, how many failed for each reason, and what fixes it.

When a purchase cannot give a customer their Discord role or their place in a group, the grant fails with a reason. This list groups the store's failed grants by reason, across every platform, most frequent first, with the fix for each. Reasons such as rate_limited are retried automatically; others, such as hierarchy_issue or missing_permissions, need you to change something on the platform. After fixing it, retry the failed grants with verify a community connection.

GET
/v2/community-connections/failed-grant-reasons

Authorization

headerAuthorizationBearer <API Key>

Provide your SellApp API key as a bearer token.

Header Parameters

X-STORE?string

Store slug. Required for OAuth access tokens. API keys may omit it to use their current store, or the first accessible store when no current store is selected.

Response Body

Successful response.

application/json
  1. response
data*array<>
Example Request
curl -X GET 'https://sell.app/api/v2/community-connections/failed-grant-reasons' \  -H 'X-STORE: launch-lab'
{  "data": [    {      "reason": "hierarchy_issue",      "label": "Role Hierarchy Issue",      "count": 3,      "what_to_do": "The bot's role is positioned below the roles it needs to assign. Move the bot's role higher in the server settings."    },    {      "reason": "rate_limited",      "label": "Rate Limited",      "count": 1,      "what_to_do": "The request was rate limited. It will be automatically retried."    }  ]}