I've been using the new WeatherKit service (iOS16) in a production app since Nov 2022. Last night for no apparent reason the service call has started failing with the following error.
``responseFailed(<NSHTTPURLResponse: 0x28004cea0> { URL: https://weather-data.apple.com/v3/weather/en-IE/50.717/-1.983?timezone=Europe/London&dataSets=forecastHourly&hourlyStart=2023-02-16T00:00:00Z&hourlyEnd=2023-02-27T00:00:00Z&country=GB } { Status Code: 400, Headers {
"Access-Control-Allow-Origin" = (
"*"
);
"Cache-Control" = (
"max-age=0, no-cache, no-store"
);
Connection = (
"keep-alive"
);
"Content-Length" = (
0
);
"Content-Security-Policy" = (
"default-src 'self';"
);
"Content-Type" = (
"application/json"
);
Date = (
"Thu, 16 Feb 2023 05:59:40 GMT"
);
Expires = (
"Thu, 16 Feb 2023 05:59:40 GMT"
);
Pragma = (
"no-cache"
);
Server = (
Apple
);
"Strict-Transport-Security" = (
"max-age=31536000; includeSubdomains"
);
"X-Apple-Origin" = (
"8961098f-b238-3714-ba44-5b569c861456"
);
"X-Cache" = (
"TCP_MISS from a23-73-3-206.deploy.akamaitechnologies.com (AkamaiGHost/11.0.0-46340752) (-)"
);
"X-Content-Type-Options" = (
nosniff
);
"X-Frame-Options" = (
SAMEORIGIN
);
"X-REQUEST-ID" = (
"70643dbf-67ad-4f75-8a65-a0d90bc76d73"
);
"X-XSS-Protection" = (
"1; mode=block"
);``
I am also using the WeatherKit REST API for devices running iOS15 - and this service is still working in the app.
I've logged a support request with Apple but no response yet (FB11992323).
Has anyone else seen this problem?