Handle failing realtime-requests when ToS are not accepted

After https://gitlab.com/gitlab-org/gitlab-ce/issues/44798, realtime requests will start failing for users that are logged in but haven't accepted the ToS yet.

We need to handle these failures.

One of the suggestions for this is adding an error type to the payload of the response, then using that to display an appropriate flash message directing the users to the terms page.

Edited Jun 30, 2025 by 🤖 GitLab Bot 🤖
Assignee Loading
Time tracking Loading