Troubleshooting: WhatsApp template library unavailable
Use this page when the Browse template library tab under Templates returns422 WHATSAPP_LIBRARY_UNAVAILABLE instead of showing Meta’s catalog.
The usual cause is a disconnected WhatsApp Business Account (WABA) or a Meta
access token that was revoked.
Symptom
The Browse template library tab fails to load and the API response includes:- HTTP status
422 - error code
WHATSAPP_LIBRARY_UNAVAILABLE - an optional
details.upstream_statusvalue identifying Meta’s response
Meaning
The tab proxies Meta’s Graph APImessage_template_library edge through your
connected WABA. Orbit uses the WABA connection and its Meta access token for
that request. When Meta rejects the request because the connection is no
longer authorized, Orbit returns WHATSAPP_LIBRARY_UNAVAILABLE rather than
exposing the upstream response or access token details.
A disconnected WABA, a revoked token, an expired token, or missing WhatsApp
Business permissions can all prevent Meta from authorizing the request.
Fix
Reconnect the WABA and confirm its permissions. See the WABA setup guide for the full end-to-end reconnect flow, including Meta Business Manager verification, phone number selection, and display-name approval steps.- Open Settings → Channels → WhatsApp.
- Select Reconnect (or Connect if the channel is shown as disconnected).
- Complete Meta’s authorization flow with the Business Manager that owns the WABA. Select the intended WABA and phone number when Meta asks you to choose assets.
- Confirm that the authorization flow grants the WhatsApp Business permissions requested for template management. If your organization manages Meta app permissions centrally, ask the Meta Business admin to approve the requested scopes before completing the flow.
- Return to Orbit and confirm that the WhatsApp channel shows as connected.
Verify
Return to Templates → Browse template library and retry the browse request. A successful request displays the available library templates. If the tab still fails, open the failed request’s response and note thedetails.upstream_status value before contacting support; do not retry a
revoked connection repeatedly.
When else this fires
Usedetails.upstream_status to distinguish an authorization problem from a
request that Meta does not support for the library edge. The upstream status is
the only detail included in the error body — there is no nested meta object,
no token payload, and no pagination paging token in the 422 response.
401— Meta rejected the access token. It may be expired, revoked, or no longer valid for the selected WABA. Reconnect the WABA and complete the authorization flow again.403— Meta recognized the request but denied access to the WABA or the requested WhatsApp Business permissions. Confirm that the selected Business Manager owns the WABA and that the required scopes were approved, then reconnect.400— Meta rejected the Graph request itself. This can indicate an unsupported or invalidmessage_template_librarybrowse request for the current Meta app configuration (for example, request filters your Meta app version does not support) rather than a disconnected WABA. A400raised by unsupported filters is a client-request error, not an auth failure — check the request filters and retry once before reconnecting. If the first-page browse fails with a400and a second identical request succeeds, the failure was transient; a reconnect is unnecessary.429— Meta rate-limited the browse request. The Meta Graph API enforces per-app and per-WABA rate limits on library browses, and exceeding them returns429with no permanent auth change. Use exponential backoff starting at the nearest round minute plus thenext_retry_atvalue if the Graph response surfaces one. Repeated manual retries are safe because the browse is a read-only operation — rate-limit exhaustion cannot lock the WABA. Do not reconnect for a429; reconnecting invalidates the stored token and adds a minute of downtime without affecting the rate-limit bucket.
400 and a 429 are not the same as the 401 or 403 authorization
failures that produce this 422 error. A 429 should never trigger a
reconnect. Include the upstream status, Orbit request ID, and time of the
failed attempt when asking support to investigate.
Rate limits and pagination
The Browse template library tab fetches from Meta’smessage_template_library edge, which is a paged Graph API resource. A
first-page browse failure and a mid-pagination failure produce the same
WHATSAPP_LIBRARY_UNAVAILABLE 422 response because Orbit surfaces only the
upstream HTTP status, not the paging cursor.
- First-page failures — look identical to an auth disconnect at the load
indicator (empty library, 422 error in the console). Check
upstream_statusbefore jumping to reconnect: a400likely means unsupported request filters, and a429means the rate-limit bucket is full for this app or WABA. - Mid-pagination failures — when a later page request returns
400or429after earlier pages succeeded, the connection is almost certainly still valid. Retry the page once; if it still fails, wait 30 seconds and retry the page again. Reconnecting does not help a mid-page fetch failure because the auth token is demonstrably still alive (the earlier pages succeeded with it). - Retry-before-reconnect rule for
400— retry the exact same request once. If the retry succeeds, the failure was transient and no reconnect is needed. If it fails again, check the request filters before reconnecting; unsupported filters produce a reproducible400that reconnecting cannot resolve.
See also
- WhatsApp — connect a WABA and manage templates.
- WhatsApp Meta Policy Cadence — Meta-side enforcement shifts such as template-category migration, per-user marketing caps, and regional pause experiments.
- WABA setup guide — the full end-to-end WABA reconnect flow.
- Troubleshoot the WhatsApp connection — recover from stale tokens, disconnected accounts, and other connection states.
- Troubleshoot WhatsApp templates — diagnose templates that are pending, rejected, paused, or blocked by the 24-hour window.