WeatherKit REST API: Fixed token validity?

Hi, although i generate a token with a multi day validity, it seems your Rest-API has a fixed validity (expiration) set, because whenever i try to reuse a token after 2 or more days, i get a 4XX-Error, when querying the API.

Is there a fixed limit on the token exp set on your end? Any other limitations on the validity?

After a bit of testing I have found that the tokens expire 4 hours after the issued-at claim key (iat). I am not sure why this is, when you can enter an expiration time claim key, but this is currently how it works. Other than this time expiration, I haven't seen any other limitations on validity.

The REST API does not have any limit on iat or exp. The only rule enforced is that exp cannot be in the past.

Can you provide example valid and invalid JWT tokens so we can help try to diagnose the issue?

Hi, thanks, but I guess I’d better not post my token on a public forum, so I am unsure how to proceed.

Thank you for your report. We have identified an issue and are investigating.

Hi, has this issue been resolved?

WeatherKit REST API: Fixed token validity?
 
 
Q