WeatherKit REST API Suddenly Returning 401 {"reason": "NOT_ENABLED"}

System status shows WeatherKit as available, but currently all calls returns status 401 with the response body containing {"reason": "NOT_ENABLED"}.

We have been running the exact same code in production since March 2023. Nothing changed. The system just started returning errors.

Is that happening for anyone else?

Add a Comment

Replies

I'm receiving the same response. I've been running the same code in production since November 2022. Every WeatherKit REST API call is now returning the 401 error as above.

We are seeing it too

Yes, this just started happening for me as well.

Add a Comment

I started seeing this around 5:30 PM Pacific Time as well. Submitted feedback, ID FB13081982

  • Tried increasing JWT validity length to 30 minutes, creating a new key and service ID, verified WeatherKit is enabled for the key, etc. Still receiving this. Seems like the issue is happening on Apple's side, which is concerning because the system status shows that WeatherKit is fine even though the entire system has been down for hours.

Add a Comment

Yes, happening for me as well. It was working yesterday, but nothing has gone through today.

This started happening for me as well, started approximately 2.5 hours ago.

Happening to me as well.

I'm experiencing the same issue too, 100% fault rate since roughly 5:42pm PST.

me too

The issue appears resolved now. Still, no report of any maintenance or downtime on the service status page. Pretty alarming if you are depending on this API for a production system.

The issue was resolved after about 8 hours for me as well. No code changed on our side, this seems to have been a WeatherKit issue.

During this whole time the Apple System Status page continued to be green: https://www.apple.com/support/systemstatus/

I'm not sure this status page can be trusted. How come a service issue that affected multiple customers didn't cause the dashboard to be yellow or red during the time it was broken?

  • Totally agreed. This is unacceptable especially coming from a company like Apple. It’s not like they don’t have the resources to properly communicate issues when they happen. Googling around reveals this has also happened in the past, with similar radio silence from Apple.

Add a Comment