Get stream key by token

can u give ur discord, i will show u my dedicated server

where are u taking a token?

I don’t understand the question

i mean where do you get the token?

My custom code for token generation.

The token isn’t at fault here.
A 404 is not a “token error”

whenever i am trying to get stream key on other platforms, 2 first requests is ok, the last one send to me a 404.

Your code does two validate requests
And a request to get stream key

Your log indicates the API call is failing not the token validation steps

why it can take a failure?

To quote myself

I’m unable to find a fault in yoru code as presented.

i am using your code that you send to me

Then as I already stated

As to what that is no idea. As I’m not in your environment.