Open
Description
Expected behaviour
Exceptions are sent to application insights and appear in AppExceptions
Actual behaviour
Warning appears in our kubernetes pod logs
2025-07-08 09:03:51.485+01:00 WARN c.a.m.o.a.i.p.TelemetryPipeline - Sending telemetry to the ingestion service: Received response code 206 (109: Field 'message' on type 'ExceptionDetails' is required but missing or empty. Expected: string) (future warnings will be aggregated and logged once every 5 minutes)
To Reproduce
See UserController.java in microsoft/ApplicationInsights-Java-Repros#15.
Any exception that doesn't have a message (e.g. new NullPointerException()
) is rejected by Application Insights.
System information
Please provide the following information:
- SDK Version: 2.6.4, Java Agent 3.7.3
- OS type and version: eclipse-temurin:21-jre-jammy
- Application Server type and version (if applicable): Spring Boot 3.5.3
- Using spring-boot? Yes
Metadata
Metadata
Assignees
Labels
No labels