SAP Knowledge Base Article - Preview

3541717 - Handling Interrupted XHR Requests Across Browsers

Symptom

Inconsistent behaviour is observed across different browsers when performing operations in the application, such as login and session checks. Specifically:

  • In Safari: When a request (e.g., accounts.verifyLogin) is interrupted due to a page reload, the WebSDK returns an undefined error response. The console logs display "Request for accounts.verifyLogin failed" with the errorCode set to undefined.
  • In Chrome: An interrupted request during a page reload completes before the transition, and the WebSDK logs an error response with the errorCode set to 0.


Read more...

Environment

  • SAP Customer Data Cloud
  • Browser-Specific XHR Behaviour

Product

SAP Customer Data Cloud all versions

Keywords

Inconsistent browser behaviour, cross-browser issues, login discrepancies, session check issues, Safari vs Chrome, XMLHttpRequest interruption, XHR request cancellation, page reload effects, accounts.verifyLogin failed , KBA , CEC-PRO-API , Core REST API & Server SDKs (JWT / PHP / Java) , Known Error

About this page

This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP for Me (Login required).

Search for additional results

Visit SAP Support Portal's SAP Notes and KBA Search.