AlexanderJohnRobertson / Dissertation-Smart-Home-Weather-Dashboard

0 stars 1 forks source link

Weatherlink API key not working #12

Open AlexanderJohnRobertson opened 2 weeks ago

AlexanderJohnRobertson commented 2 weeks ago

I am unable to access the weather station ID by putting the V2 API key into the browser as instructed to do by step 2 of the tutorial (https://api.weatherlink.com/v2/stations?api-key=e9acjapvjih3rpbcnjnj8c8kfsnyivkb) and I am getting an error about an incorrect time stamp compared to the server's internal clock with error code 401.

code "401"

message | API call timestamp parameter "t" is stale. The timestamp you provide must be within a range that is plus or minus 300 seconds of the API server's internal clock.

Screenshot of the error: Screenshot 2024-11-08 203658

I am supposed to get something like this: Screenshot 2024-11-08 203740

I cannot get past step 2 of the tutorial and cannot proceed.  Please can you fix this problem as soon as possible as I cannot proceed with the tutorial or coding the API until this is fixed at your end.

https://cumulus.hosiene.co.uk/viewtopic.php?t=21750 It could be that the time on the weather station is wrong.

AlexanderJohnRobertson commented 2 weeks ago

I have tried using Postman and I am still getting the same error.

Screenshot 2024-11-13 002430