[0] at end of XHR message in breadcrumbs

Sometimes in event breadcrumbs we see “[0]”. Here’s an example:

I think we usually see HTTP response codes in this spot. Does 0=200?

1 Like

It is worth noting that browsers report a status of 0 in case of XMLHttpRequest errors too.

For example, XMLHttpRequests that fail CORS can trigger a status code of 0:

This will also happen with a cancelled request.

Yeah @blocka, I think that’s the most common case it happens for us;
we have an app in Salesforce that’s loaded in an iFrame. Our customers open a page in salesforce and navigate away again before our app is fully loaded and this triggers quite some [0] logs.

I wonder if there’s a way not to log these entries.

Anyone has found a way to not log these entries ?