Add exception handling for CSRF token Failure in XB AI

Created on 7 July 2025, about 22 hours ago

Overview

XbBuilder::getCsrfToken currently lacks error handling. If refreshing the CSRF token fails, there is no user-visible error message; instead, the message

Loading Experience Builder AI...

remains displayed indefinitely.

Proposed resolution

  • Enhance error handling so that, if the CSRF token fails to load, a custom event is fired
  • This event can be listened for elsewhere to display an appropriate error message or trigger additional recovery logic.

User interface changes

📌 Task
Status

Active

Version

0.0

Component

AI

Created by

🇮🇳India narendraR Jaipur, India

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024