0

401 when trying to get historical forecasts

Hi,

We recently enabled the $150 a month Historical Forecast Data Add on in our account.

But when trying to get these historical forecasts from the timeline API we get a 401 response.

The request we are making is this:

https://weather.visualcrossing.com/VisualCrossingWebServices/rest/services/timeline/51.5017413,-0.1204226/2024-07-01/2024-07-29/?unitGroup=uk&contentType=csv&include=days%2ClocationNames&key=<API-KEY>&forecastBasisDate=2024-07-01

The response we get is this:
<Response [401]>
'We could not find a primary plan on your account.'

 

1 comment

Please sign in to leave a comment.