everything is working on the main account. As soon as I switch to the subaccount (all the APIs are configured correctly), it is not authorized. Mistake:
binance.error.WebsocketError: <bound method ClientResponse.text of <ClientResponse(https://fapi.binance.com/fapi/v1/listenKey) [401 Unauthorized]>
<CIMultiDictProxy('Content-Type': 'application/json', 'Content-Length': '69', 'Connection': 'keep-alive', 'Date': 'Tue, 04 Feb 2025 03:39:35 GMT', 'Access-Control-Allow-Methods': 'GET, POST, PUT, DELETE, OPTIONS', 'Server': 'Tengine', 'x-mbx-used-weight-1m': '1', 'x-response-time': '1ms', 'Access-Control-Allow-Origin': '*', 'X-Cache': 'Error from cloudfront', 'Via': '1.1 9a7496b5f0b6d31edb066cb3c25b8a36.cloudfront.net (CloudFront)', 'X-Amz-Cf-Pop': 'HEL51-P5', 'X-Amz-Cf-Id': 'PwHO71UXwJIKLfXrbmnm42kaVnGuATX7RmEG34An77U3BoRbTE_y7w==')>
>