You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For all authenticated endpoints I am getting "data slice too short for position: []interface {}{}". I checked with the breakpoints and I am getting 200 response but during json unmarshal its giving len range 0. I am using localhost to access those api
Steps to reproduce
Create a client c
then write snap, err := c.Positions.All()
snap comes nil and err is data slice too short for position: []interface {}{}
Additional Notes:
Quick thing is the request is send to /api-pub.bitfinex.com instead of /api.bitfinex.com as mentioned in the document
The text was updated successfully, but these errors were encountered:
Hi @shuvofifty. Thank you for reporting the issue and sorry for delayed response. Have you tired checking your API Keys permissions? You might need to tick Get position and margin info and Claim a position checkboxes ON.
Issue type
Brief description
For all authenticated endpoints I am getting "data slice too short for position: []interface {}{}". I checked with the breakpoints and I am getting 200 response but during json unmarshal its giving len range 0. I am using localhost to access those api
Steps to reproduce
Additional Notes:
The text was updated successfully, but these errors were encountered: