-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Stats: The message "An error occurred" shows on the Insights tab #12945
Comments
@frosty can someone from your team look at both the iOS and Android issues? It might be that the site is taking a bit to sync so we may want to display a better message here. |
Sure, we can take a look at this 👍 |
UpdateI could reproduce the issue. "An error occurred" on some cards appears because we receive data successfully but it's in the wrong format than the parser implemented in For example, we get
and we try creating Based on this, I don't see a direct connection with a Jetpack installation and these errors. I can reproduce the same issue after creating a fresh .com site. Potential SolutionBased on this finding, we could consider: It's also suggested to show "a welcome screen instead" if all the Stats are empty, however, showing the possible selection of cards and correctly displaying that they don't have data yet may be a better solution. Priority
Priority: Low |
I also see "An error occurred" on some parts of the screen on established sites (not fresh sites) when loading the Months or Years tabs. |
@guarani, thanks for reporting. The error is quite generic, so there can theoretically be different types of failures. For empty sites, it happens because parsing fails due to an expected field missing. However, maybe the same thing is happening for established sites as well. Update: The issue is reproducible with the en.blog.wordpress.com site |
Thanks for reporting! 👍 |
More information from @guarani:
|
Steps to reproduce:
The text was updated successfully, but these errors were encountered: