Hello!
I’m trying to prolong listenKey but always getting response with status code 400 (update delay 30 min). Where I’m wrong?
creating (returns 200):
curl ‘https://api.binance.com/api/v3/userDataStream’
-X POST
-H ‘X-MBX-APIKEY: <API_KEY>’
{“listenKey”:"<LISTEN_KEY>"}
updating (returns 400):
curl ‘https://api.binance.com/api/v3/userDataStream’
-X PUT
-H ‘X-MBX-APIKEY: <API_KEY>’
-d ‘{“listenKey”:"<LISTEN_KEY>"}’
{“code”:-1102,“msg”:“Mandatory parameter ‘listenKey’ was not sent, was empty/null, or malformed.”}