Standard error envelope
Error responses use top-levelcode and a human-readable string in error (and/or message), alongside an appropriate HTTP status code:
Some gateway-level 401 auth rejections return
{ "message": "Authentication required" } or { "message": "Invalid API key" }. Always check both response.ok / HTTP status and payload.code || payload.error || payload.message.HTTP status codes
| Status | Meaning | Typical cause |
|---|---|---|
200 OK | Success | Request succeeded. |
201 Created | Created | New link, QR code, or campaign created. |
400 Bad Request | Bad Request / Validation | Invalid JSON body, failed field validation (VALIDATION_ERROR), invalid URL (INVALID_URL), or missing parameters. |
401 Unauthorized | Auth Failed | Missing, invalid, or expired API key / Bearer token (AUTHENTICATION_REQUIRED, INVALID_API_KEY). |
403 Forbidden | Access Denied | Plan restriction (FEATURE_DISABLED, PLAN_LIMIT_EXCEEDED), or Team Workspace RBAC (CAPABILITY_DENIED, ACTION_PERMISSION_DENIED, SCOPE_ACCESS_DENIED). |
404 Not Found | Not Found | Target short URL, QR code ID, or campaign does not exist in your workspace. |
409 Conflict | Conflict | Custom alias (ALIAS_EXISTS) or domain/subdomain is already taken. |
422 Unprocessable | Security / Policy Block | Payload rejected by anti-phishing, malware security screening, or reserved/brand protection policy (SECURITY_RISK, BRAND_PROTECTION_BLOCKED, RESERVED_WORD_BLOCKED). |
429 Too Many Requests | Rate Limited | Exceeded hourly or daily quota for your plan tier (RATE_LIMIT_EXCEEDED). |
500 Server Error | Internal Error | Unexpected exception on our end (INTERNAL_ERROR). Check status.connextify.com. |
Error code reference
1. Authentication & permission errors
Cause: The
Authorization / x-mcp-key header is missing, malformed, or lacks valid credentials (some endpoints also return AUTH_REQUIRED or { "message": "Authentication required" }).Fix: Ensure your request includes Authorization: Bearer <your_api_key>.Cause: The API key does not exist, expired, or was revoked from your dashboard.Fix: Check for typos in your environment variable, or generate a fresh key in API Key Settings.
Cause: Your current plan tier does not include the requested feature (e.g., Webhooks require Business or Enterprise), you hit a plan quota limit, or access to the resource is restricted.Fix: Upgrade your plan or verify active workspace entitlements in Dashboard settings.
Cause: Acting inside a Team Workspace without a required capability flag such as
api_access, mcp_access, analytics_access, can_manage_team, can_manage_groups, or can_manage_subscription.Fix: Ask the workspace administrator to grant the missing capability on your group or member permissions.Cause: Your workspace role does not permit the requested CRUD action (
view, create, edit, or delete) for the target tool (url, qr, bio, landing_page, form, pixel, utm, conversion, domain, campaign, or webhook).Fix: Check the tool and action fields in the response and update role permissions in Team Management.Cause: Your workspace role uses asset visibility
scope: "own", and you attempted to view, edit, delete, or query analytics/tests/webhooks for an asset created by another team member.Fix: Only target resources you created, or request scope: "all" visibility from a workspace admin.Cause: You sent an
X-Workspace-Id header referencing a different workspace than the one bound to your API key or OAuth token.Fix: Remove the mismatched X-Workspace-Id header or use a credential issued for the target workspace.Cause: A workspace-bound API key or OAuth connection was used after team membership was removed or the workspace owner’s team plan expired.Fix: Re-join the workspace and generate a fresh key or reconnect OAuth in your target workspace.
Cause: Returned during OAuth authorization if you select a Team Workspace where you are no longer an active member.
Cause: Returned during OAuth authorization if the target workspace owner’s plan no longer includes Team Workspace collaboration.
2. Validation, security & input errors
Cause: One or more fields in the JSON body failed schema validation.
Cause: The destination target is not a reachable URL, or uses an unsupported protocol (e.g.
javascript:, data:).Fix: Ensure destination URLs start with http:// or https://.Cause: Destination URL or requested alias/subdomain triggered malware/phishing security checks, brand protection, or system reserved words.
3. Resource conflicts
Cause: The requested custom alias is already active on the chosen domain context. Note that aliases are unique per domain:
cnfy.link/promo and link.yourbrand.com/promo can coexist, but two links cannot share cnfy.link/promo.Fix: Call GET /short-urls/check-alias to verify availability beforehand, or choose another alias.Cause: The requested short link code, campaign UUID, or QR code does not exist or belongs to another workspace.
4. Quotas & rate limits
Cause: You sent more requests than allowed in your current tier window.Fix: Inspect
details.reset_at or read the X-RateLimit-Reset header and sleep your worker until the window resets.