However, every time I try to request the product candles endpoint, I always get an Unauthorized 401 response.
I’ve read over the docs and tried numerous permutations. Changed the granularity to seconds, changed the start and end times to use iso8601 format - nothing works.
Fetching the product info itself via
works fine every time. So I know my request and signing mechanism work.
Is there a bug in the product candles endpoint? If so, can you please share when this will be fixed? I am writing a library for the Advanced Trade API and so I cannot use the old exchange/Pro endpoints.
Also, the api endpoint docs are ambiguous. For the start/end query parameters description is says
Timestamp for starting range of aggregations, in UNIX time.
But, there’s no example and there are no format types for the Advanced Trade endpoints. So, is it unix epoch seconds, millis, iso8601 format?
The same for the granularity - is it seconds or the actual value
Hopefully this can be fixed and cleared up soon. When something isn’t working, the documentation specifics matter. (Also, the response examples json don’t look correct either.)