You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When trying to authenticate with taking client-id reference from pyicloud, and passing in correct credentials, getting 421 error code from authentication.
This is happening while running the TestDriveService test.
Actual response from the test case:
Failed to log into iCloud: 1.0 java.lang.RuntimeException: Failed to log into iCloud: 1.0 at com.github.tmyroadctfig.icloud4j.ICloudService.authenticate(ICloudService.java:212) at com.github.tmyroadctfig.icloud4j.ICloudService.authenticate(ICloudService.java:186) at com.github.tmyroadctfig.icloud4j.ICloudTestUtils.getServiceFromSystemProperties(ICloudTestUtils.java:41) at com.github.tmyroadctfig.icloud4j.TestDriveService.testListItems(TestDriveService.java:45)
When trying to authenticate with taking client-id reference from
pyicloud
, and passing in correct credentials, getting 421 error code from authentication.This is happening while running the
TestDriveService
test.Actual response from the test case:
Failed to log into iCloud: 1.0 java.lang.RuntimeException: Failed to log into iCloud: 1.0 at com.github.tmyroadctfig.icloud4j.ICloudService.authenticate(ICloudService.java:212) at com.github.tmyroadctfig.icloud4j.ICloudService.authenticate(ICloudService.java:186) at com.github.tmyroadctfig.icloud4j.ICloudTestUtils.getServiceFromSystemProperties(ICloudTestUtils.java:41) at com.github.tmyroadctfig.icloud4j.TestDriveService.testListItems(TestDriveService.java:45)
Here's the response object - in debug mode:
HttpResponseProxy { HTTP/1.1 421 Misdirected Request [ Server: AppleHttpServer/d2dcc6a0a5e3, Date: Wed, 15 Jan 2025 03:13:24 GMT, Content-Type: application/json; charset=UTF-8, Content-Length: 27, Connection: keep-alive, X-Responding-Instance: setupservice:35600103:mr90p56ic-zteg05151101:8003:2429B1067:aee437a0d9a6, Cache-Control: no-cache, no-store, private, Access-Control-Allow-Origin: https://www.icloud.com, Access-Control-Allow-Credentials: true, Strict-Transport-Security: max-age=31536000; includeSubDomains;, x-apple-user-partition: 56, via: xrail:mr47p00ic-qujn02081502.me.com:8301:24R623:grp21,631194250daa17e24277dea86cf30319:a5de70b782c4585caed42917ef71df0e:inbom2, X-Apple-Request-UUID: 90a86233-1ac0-4237-9ae6-13f20765c559, access-control-expose-headers: X-Apple-Request-UUID,Via, X-Apple-Edge-Response-Time: 231 ] ResponseEntityProxy{ [ Content-Type: application/json; charset=UTF-8, Content-Length: 27, Chunked: false ] } }
The text was updated successfully, but these errors were encountered: