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:- 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:
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, rather than a disconnected WABA. Check the request filters and retry once; reconnecting cannot make an unsupported Graph edge available.
400 is not the same as the 401 or 403 authorization failures that
produce this 422 error. Include the upstream status, Orbit request ID, and
time of the failed attempt when asking support to investigate.
See also
- WhatsApp — connect a WABA and manage templates.
- 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.