The following error is returned by the Citrix Gateway to Citrix CWA app when application/desktop launch fails:
Failed to launch session <session_name>. Error code: 2520
This error indicates that the STA ticket received from CWA application has incorrect format.
No config change/user action is needed. Retrying to launch app/desktop may help. If the issue persists please contact Citrix Support.