WeatherKit always returns 401 NOT_ENABLED despite correct setup

Hi everyone,

I’m trying to use WeatherKit REST API in my iOS app, but for several days now I always get the same response:

  • WeatherKit capability is enabled in my App ID
  • WeatherKit is enabled in App Services (in Certificates, Identifiers & Profiles)
  • WeatherKit REST API is enabled in my developer account
  • JWT is correctly signed with private key from AuthKey_XXXXX.p8
  • Token contains correct iss, kid, sub, exp, and scope
  • Request is sent to https://weatherkit.apple.com/api/v1/weather/en/50.45/30.52 with Authorization: Bearer <token>

Still, the response is always 401 NOT_ENABLED.

This is not a temporary issue — I’ve been testing this for over 5 days, regenerating keys, JWTs, and checking the setup. Everything seems correct — but WeatherKit just won’t respond with actual data.

Has anyone experienced something similar? Is there something missing in the setup not documented?

Thanks in advance!

WeatherKit always returns 401 NOT_ENABLED despite correct setup
 
 
Q