问题
The request actually succeeds now, but AI says failed request. It took about 6 hours to get this working, i.e. creating the directory and putting data into the database. Not sure what AI's problem is.
回答1:
the codelens indicator there does a query for requests the last 24 hours (or if not "configured" it is watching requests that went by while debugging).
if you click on it, it should have more information, and clicking the search link inside the popup will take you to a search window that has whatever failed request occurred. (but in general, see my comment above, need more info to accurately answer)
来源:https://stackoverflow.com/questions/40954702/why-is-application-insights-saying-i-have-a-failed-request-but-successful