{"record":{"id":"108b3aa1dda5ed84","repo":"pinpoint-apm/pinpoint","slug":"failed-to-send-agentinfo-request-unsuccessful-re","errorCode":null,"errorMessage":"Failed to send agentInfo. request unsuccessful, response={}","messagePattern":"Failed to send agentInfo\\. request unsuccessful, response=(.+?)","errorType":"console","errorClass":null,"httpStatus":null,"severity":"warning","filePath":"agent-module/profiler/src/main/java/com/navercorp/pinpoint/profiler/AgentInfoSender.java","lineNumber":193,"sourceCode":"            try {\n                agentInfo = agentInfoFactory.createAgentInfo();\n\n                logger.info(\"Sending AgentInfo={}\", agentInfo);\n                CompletableFuture<ResultResponse> future = dataSender.request(agentInfo);\n                ResultResponse result = future.get(3000, TimeUnit.MILLISECONDS);\n                if (result == null) {\n                    if (agentInfo != null && agentInfo.getAgentInformation() != null) {\n                        logger.warn(\"Failed to send agentInfo={}. result not set\", agentInfo.getAgentInformation());\n                    } else {\n                        logger.warn(\"Failed to send agentInfo. result not set\");\n                    }\n                    return false;\n                }\n                if (!result.isSuccess()) {\n                    if (agentInfo != null && agentInfo.getAgentInformation() != null) {\n                        logger.warn(\"Failed to send agentInfo={}. request unsuccessful, response={}\", agentInfo.getAgentInformation(), result.getMessage());\n                    } else {\n                        logger.warn(\"Failed to send agentInfo. request unsuccessful, response={}\", result.getMessage());\n                    }\n                }\n                return result.isSuccess();\n            } catch (ExecutionException ex) {\n                logError(agentInfo, ex.getCause());\n            } catch (InterruptedException ex) {\n                Thread.currentThread().interrupt();\n                logError(agentInfo, ex);\n            } catch (TimeoutException ex) {\n                logError(agentInfo, ex);\n            }\n            return false;\n        }\n\n        private void logError(AgentInfo agentInfo, Throwable cause) {\n            if (agentInfo != null && agentInfo.getAgentInformation() != null) {\n                logger.warn(\"Failed to send agentInfo={}\", agentInfo.getAgentInformation(), cause);\n            } else {","sourceCodeStart":175,"sourceCodeEnd":211,"githubUrl":"https://github.com/pinpoint-apm/pinpoint/blob/744c3d3075e595656abb1ae331ad2c0e4c9eb996/agent-module/profiler/src/main/java/com/navercorp/pinpoint/profiler/AgentInfoSender.java#L175-L211","documentation":"Same unsuccessful-result path as error 586, logged in the fallback branch where agentInfo or getAgentInformation() is null, so only the collector's response message is included. Send returns false and is retried.","triggerScenarios":"ResultResponse.isSuccess() == false returned while agentInfo or its AgentInformation is null — a combination of a collector-side rejection and missing agent metadata.","commonSituations":"Programmatic/builder misuse where AgentInfo lacks AgentInformation combined with collector rejecting the request; extremely early startup where agent info is not yet populated.","solutions":["Fix the missing AgentInformation first (see configuration checks for error 585)","Inspect the collector response message in the log for the rejection cause","Check collector logs/storage health around the same timestamp","Ensure agent/collector protocol versions match"],"exampleFix":null,"handlingStrategy":"retry","validationCode":"if (agentInfo == null || agentInfo.getAgentInformation() == null)\n    throw new IllegalStateException(\"AgentInformation missing\");","typeGuard":null,"tryCatchPattern":"if (!result.isSuccess()) { logger.warn(\"Failed to send agentInfo. request unsuccessful, response={}\", result.getMessage()); return false; }","preventionTips":["Populate AgentInformation before registration","Fix collector-side rejection causes surfaced in response message","Confirm agent/collector version alignment"],"tags":["agent-registration","rpc","null-value"],"backgroundTag":"api-error-response","analyzedSha":"744c3d3075e595656abb1ae331ad2c0e4c9eb996","analyzedAt":"2026-09-07T18:48:45.289Z","contentChangedAt":"2026-09-07T18:48:45.289Z","schemaVersion":2},"datasetVersion":"2026-09-14T05:17:10.506Z"}