{"record":{"id":"77b418c11416471f","repo":"alibaba/nacos","slug":"400-77b418","errorCode":"400","errorMessage":"request id conflict","messagePattern":"request id conflict","errorType":"error_code","errorClass":"NacosException","httpStatus":400,"severity":"error","filePath":"core/src/main/java/com/alibaba/nacos/core/remote/RpcAckCallbackSynchronizer.java","lineNumber":106,"sourceCode":"     * @param requestId         requestId\n     * @param defaultPushFuture defaultPushFuture\n     * @throws NacosException NacosException\n     */\n    public static void syncCallback(String connectionId, String requestId,\n        DefaultRequestFuture defaultPushFuture)\n        throws NacosException {\n        \n        Map<String, DefaultRequestFuture> stringDefaultPushFutureMap =\n            initContextIfNecessary(connectionId);\n        \n        if (!stringDefaultPushFutureMap.containsKey(requestId)) {\n            DefaultRequestFuture pushCallBackPrev = stringDefaultPushFutureMap\n                .putIfAbsent(requestId, defaultPushFuture);\n            if (pushCallBackPrev == null) {\n                return;\n            }\n        }\n        throw new NacosException(NacosException.INVALID_PARAM, \"request id conflict\");\n        \n    }\n    \n    /**\n     * clear context of connectionId.\n     *\n     * @param connectionId connectionId\n     */\n    public static void clearContext(String connectionId) {\n        CALLBACK_CONTEXT.remove(connectionId);\n    }\n    \n    /**\n     * init context of connectionId if necessary.\n     *\n     * @param connectionId connectionId\n     */\n    public static Map<String, DefaultRequestFuture> initContextIfNecessary(String connectionId) {","sourceCodeStart":88,"sourceCodeEnd":124,"githubUrl":"https://github.com/alibaba/nacos/blob/9b989acdf181d00898f2e8839257bb2b2a3cefe3/core/src/main/java/com/alibaba/nacos/core/remote/RpcAckCallbackSynchronizer.java#L88-L124","documentation":"Error \"request id conflict\" thrown in alibaba/nacos.","triggerScenarios":"Thrown at core/src/main/java/com/alibaba/nacos/core/remote/RpcAckCallbackSynchronizer.java:106 when the library encounters an invalid state.","commonSituations":"Registering an RPC ack callback with an already-used request id.","solutions":["Re-read the latest state and retry the operation with the fresh version/md5."],"exampleFix":null,"handlingStrategy":null,"validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"9b989acdf181d00898f2e8839257bb2b2a3cefe3","analyzedAt":"2026-08-14T07:17:31.569Z","schemaVersion":2},"datasetVersion":"2026-08-14T10:17:34.591Z"}