Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

occur error for extend listen key #35

Open
xavier66 opened this issue Nov 16, 2023 · 0 comments
Open

occur error for extend listen key #35

xavier66 opened this issue Nov 16, 2023 · 0 comments

Comments

@xavier66
Copy link

xavier66 commented Nov 16, 2023

when i create a listen key ;
i extend it every 10 second ; and return 730708 error code .
what happen and how do i fix it ?

Map<String, String> params = Map.of("listenKey", listenKey, "recvWindow", "60000");
        timer.schedule(new TimerTask() {
            @Override
            public void run() {
                Map<String, String> refreshResultMap = UserDataClient.put("/api/v3/userDataStream", params, new TypeReference<>() {});
                logger.info("extend listenKey for mexc , return result : {}", JSONObject.toJSONString(refreshResultMap));
            }
        }, 10 * 1000, 10 * 1000);

{"code":"730708","msg":"listen key information error"}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant