listenKey error 401 y 400

I want to implement a user data stream with my websocket class for spot and margin, but it marks an error 400 and 401 for the two queries, which, even though I already analyze, I cannot find where the error is and the postman executes it without problems Can you tell me where I’m failing


It really puts me in a bad mood spending hours looking for the error for something as simple as this

did you set the API key into request header? :slight_smile:

1 Like

Wow, I didn’t know what header was wearing, as I said something so simple that it brought me stressed all afternoon, thanks