-
Notifications
You must be signed in to change notification settings - Fork 38
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Amplitude Logger [Error]: Failed to fetch #579
Comments
Hi @Decolo , thanks for using Amplitude. |
Hi, @yuhao900914, thx for replying. This is the codes in our nextjs project, I checked the existence of window object firstly (server-side no window object) to ensure amplitude.init() in client-side.
Now I change some options when amplitude.init(), seems no more
And I want to find the root cause of this, maybe it's a response error? But the message of error is a little unclear. |
We have an example app in GitHub here. It's working fine. Did you try to enable the debug mode and check if there is any valuable info there? Do you have a website link/example app where we can test it out? |
@yuhao900914 thx, Alyssa.
|
@yuhao900914 Plus: |
any update, pls @yuhao900914 |
Do we have any updates on this? |
same problem for me |
Expected Behavior
expect that no response error when sending event to amplitude
Current Behavior
I found some issue on sentry. This kind of issue happened accidentally.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.
I have posted a topic before https://community.amplitude.com/data-instrumentation-57/amplitude-logger-error-load-failed-2765. And then I follow the example of nextjs to adjust:
The previous error is: Amplitude Logger [Error]: Load failed
The current error is: Amplitude Logger [Error]: Failed to fetch
Steps to Reproduce
Environment
The text was updated successfully, but these errors were encountered: