RaaS Returns a Login Page Instead of Report Data
The error Expected XML/JSON response but received: <!DOCTYPE html><html><head><title>Workday Sign In</title>...
What it means
The caller wasn't authenticated, so Workday returned the sign-in page instead of report data. The consuming system then fails trying to parse HTML as XML or JSON. The problem is auth, not the report.
Troubleshooting
- Check the auth on the request - Basic auth needs user@tenant formatting, and a missing or malformed header silently falls back to the login page.
- Confirm the ISU isn't locked out and its password hasn't expired.
- Verify the ISU has access to the report - it must be shared with the ISU or its group and enabled for web service access.
- Test the URL directly with curl or Postman using the integration's credentials to reproduce outside the consuming system.
⚡ Quick fix
Fix the credential format (username@tenant), unlock or reset the ISU if needed, and re-test the URL until raw XML or JSON comes back.
✓ Permanent fix
Switch RaaS consumers to OAuth. Monitor for HTML content-type in responses - it always means auth fell through. Document the report-sharing and web-service-enablement steps as part of publishing any new RaaS report.
Was this helpful?