Post not yet marked as solved
Post marked as unsolved with 4 replies, 818 views
Hi, I am getting and invalidJWTResponse when using WeatherKit Swift API, I have setup everything correctly including enabling WeatherKit in both Capabilities and App Services, Added WeatherKit" to Xcode Capabilities, and waited for more than one day!
But still it's not working!
invalidJWTResponse(Optional(<NSHTTPURLResponse: 0x6000008d8300> { URL: https://weather-data.apple.com/v2/token } { Status Code: 401, Headers {
Connection = (
close
);
"Content-Length" = (
0
);
Date = (
"Thu, 09 Jun 2022 18:24:24 GMT"
);
Server = (
"AppleHttpServer/5712591c84160e0cbbf19c8f434c32ab02f2a7f4"
);
"Strict-Transport-Security" = (
"max-age=31536000"
);
"X-Apple-Origin" = (
"01ca7adc-14e8-31f5-9654-4375b40868e2"
);
"X-B3-TraceId" = (
795fbfea426330d9
);
"X-Cache" = (
"TCP_MISS from a88-221-161-85.deploy.akamaitechnologies.com (AkamaiGHost/10.8.2-41841244) (-)"
);
"X-REQUEST-ID" = (
"3e6d21c8-ffa0-4c56-aa91-8466619a4993"
);
} }))