could not connect this morning at 8:15 am

hanzo2
i was having connection issues this morning. at about 8:15 am.

the error i got was repeatedly was:

connection was closed uncleanly (WebSocket connection upgrade failed (403 - Forbidden))

my api key and access token both are correct i checked.

please tell me what happened.
Tagged:
  • rakeshr
    @hanzo2
    Connection was closed uncleanly (WebSocket connection upgrade failed (403 - Forbidden))
    Forbidden error status, means either your API key or access token is wrong. You can recheck the same by making another API query.
  • hanzo2
    as i mentioned in my comment i have checked my api key and access token.

    the access token was generated at 8:15 am.

    this is the same code i run every day without issues. though normally i run it at about 8:45 am.
  • hanzo2
    can you check if my access token is still valid??
  • rakeshr
    @hanzo2
    As i mentioned in my comment i have checked my api key and access token.
    How did you check if API key and access_token is correct?
    Are all API requests working fine except Websocket Streaming? Can you use same API key and access_token and make other API call(position fetch,order_placement,etc) to inspect?
Sign In or Register to comment.