Capijobrequestuserstats Server Response Failed 2 Extra Quality May 2026
Follow this diagnostic workflow when encountering the error.
Create a minimal test payload that requests user stats for a single, known-good user. If that works, the issue is with data volume or specific user records. Follow this diagnostic workflow when encountering the error
Example API call (using curl):
curl -X POST https://your-api.com/v2/capi/jobrequest/userstats \
-H "Content-Type: application/json" \
-H "Authorization: Bearer $TOKEN" \
-d '"user_id": "test_1", "quality_extra": true'
If the root cause is a slow backend:
Example Python (requests with retry):
from requests.adapters import HTTPAdapter from urllib3.util.retry import Retry
retry_strategy = Retry( total=3, backoff_factor=2, status_forcelist=[500, 502, 503, 504], ) adapter = HTTPAdapter(max_retries=retry_strategy) session.mount("https://", adapter)If the root cause is a slow backend:
