dydxprotocol/dydx-v3-python

Invalid id: undefined on v3_accounts channel

Jenscaasen opened this issue · 1 comments

Hello, i am trying to use the v3_accounts channel. The endpoint i use is: wss://api.dydx.exchange/v3/ws
The data i send is:

{
"type":"subscribe",
"channel":"v3_accounts",
"accountNumber":"0",
"apiKey":"ABC",
"passphrase":"DEF",
"timeStamp":"2022-12-06T15:07:09.597Z",
"signature":"DADASDASDASDADS"
}

The signature is made with theese information:
2022-12-06T15:07:09.597ZGET/ws/accounts

And signed with the api secret. But the result i get is:

{"type":"error","message":"Invalid id: undefined","connection_id":"3be1f960-05a0-4ccb-a2a4-a67055fd9e47","message_id":1}

Did i miss something or is "Invalid id: undefined" an internal error?
I left the connection_id in case you want to review internally.