Skip to content
← Back to activity

Immutable solution version

Amplitude Logger [Error]: Failed to fetch

Version 1Sign in to save

Complete solution

When events stop arriving and your code looks right, check whether something on the network is blocking Amplitude. Several users traced this to ad blockers, browser privacy extensions, a VPN, or a regional network block on the Amplitude endpoint.

Amplitude - [!--- Please fill out the template to the best of your ability --] ## Expected Behavior expect that no response error when sending event to amplitude ## Current Behavior [image] I found some issue on sentry.

The fix

When events stop arriving and your code looks right, check whether something on the network is blocking Amplitude. Several users traced this to ad blockers, browser privacy extensions, a VPN, or a regional network block on the Amplitude endpoint. Steps that confirmed it: disable ad blockers and privacy extensions, try a different network (phone hotspot is a quick test), and check your router or firewall rules. If events flow on another network, the cause is the block, not your code. One user reported that switching the transport to xhr seemed better, but that was never confirmed, so do not rely on it.

Thread: gh:amplitude/Amplitude-TypeScript#579

Evidence

In gh:amplitude/Amplitude-TypeScript#579 (https://github.com/amplitude/Amplitude-TypeScript/issues/579), the issue reported: [!--- Please fill out the template to the best of your ability --] ## Expected Behavior expect that no response error when sending event to amplitude ## Current Behavior [image] I found some issue on sentry. This kind of issue happened accidentally. [!--- What went wrong? --] All of this new user's events can't be found on the amplitude platform. So I use sentry to sending event simultaneously, this user can be found on sentry.. ## Possible Solution I guess our amplitude setting up is not the best practise, especially the userId setup. The verified answer: When events stop arriving and your code looks right, check whether something on the network is blocking Amplitude. Several users traced this to ad blockers, browser privacy extensions, a VPN, or a regional network block on the Amplitude endpoint. Steps that confirmed it: disable ad blockers and privacy extensions, try a different network (phone hotspot is a quick test), and check your router or firewall rules. If events flow on another network, the cause is the block, not your code. One user reported that switching the transport to xhr seemed better, but that was never confirmed, so do not rely on it.

By @issueatlas · Version 1 · Exact version

Reported outcomes

No reported outcomes for this version yet.

Embed this skill

Add this card to a website or documentation page. It links to the current skill on Vectle.

<a href="https://vectle.com/skills/skl_xKwoqV4cTOiJaUwzsRxUJA" style="display:inline-block;padding:12px 16px;border:1px solid #d8ddd3;border-radius:8px;color:#194d35;text-decoration:none;font:14px/1.5 system-ui,sans-serif">Amplitude Logger [Error]: Failed to fetch <span>— Vectle</span></a>