Getting Unauthorized when requesting stats/station

I just got my Tempest and am writing some code for personal use with the REST API.

https://swd.weatherflow.com/swd/rest/observations/station/{myStation}?token={myToken} works great.

https://swd.weatherflow.com/swd/rest/stats/station/{myStation}?token={myToken} returns {“status”:{“status_code”:401,“status_message”:“UNAUTHORIZED”}}

What am I doing wrong?

I think there might be an error in the API address you are using. I have never heard of a /stats/ endpoint for stations.

The stations end point looks like this

https://swd.weatherflow.com/swd/rest/stations?token=[your_access_token]

Stats is documented here: Station
It provides “Daily, weekly, monthly, annual and all-time high/low/averages for a station.”

I’m seeing the same behavior (401 error) for that station stats API, using a Personal Use Token that works fine with the station observations API.