401 Access Denied when connecting to the web socket

I’ve been trying to connect to the websocket for the user-sync-request.

When connecting to either the demo or live wss://live.tradovateapi.com/v1/websocket I get a 401 Access Denied response from the server. This is on the actual authorize message that is sent after o so i can’t even get to the user sync request. I’m not using 2FA. I’m able to use all of the REST API just fine. I don’t have market data subscription, but I’m not connected to the md endpoint.

I am pretty sure I was able to do this in the past so I’m not sure what’s changed. Note that I have a primary account with plenty of money in it, but a secondary account that only has $800 so i wonder if that’s a problem.

This is an example of what I’m following:

Don’t know if this matters or not, but I can’t even get the demo endpoint to work, let alone the live endpoint.

sounds like rest auth is fine, but the websocket authorize step is failing.
not related to account balance or market data, especially since demo fails too.
usually this happens when the access token is missing, expired, or not passed correctly in the ws authorize message (or using the wrong token type).