-
Notifications
You must be signed in to change notification settings - Fork 210
Open
Description
Expected behavior
The ResultCode is populated with the correct value from the remote dependency call.
Actual behavior
The ResultCode is always 0. Note that Success is true. It used to be set before we upgraded to Spring Boot 4.
To Reproduce
This issue only started happening after the upgrade to Spring Boot 4.
Please see microsoft/ApplicationInsights-Java-Repros#18 for an example and instructions to reproduce.
With console debug on I can see
{"ver":1,"name":"RemoteDependency","time":"2026-02-13T15:01:15.496Z",...,"resultCode":"0","data":"http://localhost:8080/rest-greeting","type":"Http","target":"localhost:8080","success":true,"properties":{"_MS.ProcessedByMetricExtractors":"True"}}}}
appearing in the logs.
System information
Please provide the following information:
- SDK Version: Agent 3.7.7
- OS type and version: MacOS, JDK 21 / 25
- Application Server type and version (if applicable): Spring Boot 4
- Using spring-boot? yes
- Additional relevant libraries (with version, if applicable):

Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels