Significant-Gravitas/AutoGPT · error · HTTPException
Ayrshare integration is not configured
Error message
Ayrshare integration is not configured
What it means
Error "Ayrshare integration is not configured" thrown in Significant-Gravitas/AutoGPT.
Source
Thrown at autogpt_platform/backend/backend/api/features/integrations/router.py:1378
redirect_uri=f"{frontend_base_url}/auth/integrations/oauth_callback",
)
@router.get("/ayrshare/sso_url")
async def get_ayrshare_sso_url(
user_id: Annotated[str, Security(get_user_id)],
) -> AyrshareSSOResponse:
"""Generate a JWT SSO URL so the user can link their social accounts.
The per-user Ayrshare profile key is provisioned and persisted as a
standard ``is_managed=True`` credential by
:class:`~backend.integrations.managed_providers.ayrshare.AyrshareManagedProvider`.
This endpoint only signs a short-lived JWT pointing at the Ayrshare-
hosted social-linking page; all profile lifecycle logic lives with the
managed provider.
"""
if not ayrshare_settings_available():
raise HTTPException(
status_code=HTTP_500_INTERNAL_SERVER_ERROR,
detail="Ayrshare integration is not configured",
)
try:
client = AyrshareClient()
except MissingConfigError:
raise HTTPException(
status_code=HTTP_500_INTERNAL_SERVER_ERROR,
detail="Ayrshare integration is not configured",
)
# On-demand provisioning: AyrshareManagedProvider opts out of the
# credentials sweep (profile quota is per-user subscription-bound). This
# endpoint is the only trigger that provisions a profile — one Ayrshare
# profile per user who actually opens the connect flow, not one per
# every authenticated user.
provisioned = await ensure_managed_credential(View on GitHub (pinned to 9c8bb5550f)
Solutions
- Set the Ayrshare API key in the server configuration/environment.
- Contact the deployment administrator to enable the Ayrshare integration.
When it happens
Trigger: Thrown at autogpt_platform/backend/backend/api/features/integrations/router.py:1378 when the library encounters an invalid state.
Common situations: See trigger scenarios.
AI-assisted analysis of Significant-Gravitas/AutoGPT@9c8bb5550f (2026-08-14).
Data as JSON: /api/errors/c8c73d09537d8fe1.
Report an issue: GitHub.