I upgraded an instance from Sitecore 9.1.1 to 10.0 after the upgrade when I enter the experience analytics the graphs don't show and I got those errors
The TopTenCampaignsByValue graph cannot be displayed due to a server error. Contact your system administrator.
The OnlineInteractionsByVisitsAndValuePerVisit graph cannot be displayed due to a server error. Contact you system administrator.
The ChannelsByVisits graph cannot be displayed due to a server error. Contact you system administrator.
The TopTenPatternsByValuePerVisit graph cannot be displayed due to a server error. Contact you system administrator.
The OnlineInteractions graph cannot be displayed due to a server error. Contact you system administrator.
The TopTenGoalsByConversions graph cannot be displayed due to a server error. Contact you system administrator.
and the API response is (500)
the error:
{
"message":
"An error has occurred.",
"exceptionMessage":"The required anti-forgery form field \"__RequestVerificationToken\"
is not present.",
"exceptionType":"System.Web.Mvc.HttpAntiForgeryException",
"stackTrace":"
at System.Web.Helpers.AntiXsrf.TokenValidator.ValidateTokens(HttpContextBase httpContext, IIdentity identity, AntiForgeryToken sessionToken,
AntiForgeryToken fieldToken)\r\n
at System.Web.Helpers.AntiXsrf.AntiForgeryWorker.Validate(HttpContextBase httpContext)\r\n
at Sitecore.Web.Http.Filters.ValidateHttpAntiForgeryTokenAttribute.OnAuthorization(HttpActionContext actionContext)"}
I checked the connection strings, the app settings for the xConnect instance and I also checked the certifications. Any idea why this is happening?