MIM 2016 SP2 Portal Warning SP.Web.GetContextWebThemeData sharepoint Microsoft.ResourceManagement.PortalHealthSource Event 1
Hi,
I've a sp 2019 on-prem with an upgrade installation of MIM 2016 SP2.
All is working well but each request or search in portal causes a warning log.
"The portal was unable to complete a request and showed a user the default error page.
An unhandled exception was caught."
This is annoying but not a real problem.
Anyway looking for network call from browser I find:
http://mim/IdentityManagement/_api/SP.Web.GetContextWebThemeData?lcid=1033 http response 302
and then this call go (behind the scene) to Error page /_layouts/15/MSILM2/ErrorPage.aspx
In IIS Log:
GET /IdentityManagement/default.aspx - 443 http response 200
GET /_vti_bin/client.svc/SP.Web.GetContextWebThemeData lcid=1033 443 httpresponse 302
GET /_layouts/15/MSILM2/ErrorPage.aspx - 443 http response 200
In any case all page of portal are working properly.
My question is: why portal is calling this api async and log warning on portal?
How can be disabled this.
thank you.
Best regards.