Icloud unathorized on any modify's

Hi,

I’m using em client to connect to icloud calendar (among other things). Everything worked just fine. I have an app specific password configured, so no issues communicating.

But recently I started to get “unathorized” every time I attempt to modify any of the calendar entries (only on modify’s, it reads them fine otherwise). Below is the example of a debug log with error:

09:55:15.906|02A|   Request:
09:55:15.906|02A|   Method: PUT, RequestUri: 'https:  //p121-caldav.icloud.com/186005748/calendars/23e16ca6-9528-4009-aec5-f16b8ac2d37b/CA4FA31D-E603-4D19-9FD2-FEEA5D3BE760.ics', Version: 1.1, Content: System.Net.Http.StreamContent, Headers:
09:55:15.906|02A|   {
09:55:15.906|02A|     If-Match: "l43damxr"
09:55:15.906|02A|     User-Agent: eMClient/9.0.1708.0
09:55:15.906|02A|     Content-Type: text/calendar; charset=utf-8
09:55:15.906|02A|   }
09:55:15.907|03E|   BEGIN:VCALENDAR
09:55:15.907|03E|   VERSION:2.0
09:55:15.907|03E|   PRODID:-//MailClient.VObject/9.0.1708.0
09:55:15.907|03E|   CALSCALE:GREGORIAN
09:55:15.907|03E|   BEGIN:VEVENT
09:55:15.907|03E|   CREATED:20220606T233143Z
09:55:15.907|03E|   DESCRIPTION:Reservation Number: 4R542V
09:55:15.907|03E|   DTEND;TZID=GMT-0500:20220622T214000
09:55:15.907|03E|   DTSTAMP:20220622T135515Z
09:55:15.907|03E|   DTSTART;TZID=GMT-0400:20220622T193000
09:55:15.907|03E|   LAST-MODIFIED:20220622T135515Z
09:55:15.907|03E|   LOCATION:Fort Lauderdale-Hollywood International Airport\n100 Terminal Dr\,
09:55:15.907|03E|     Fort Lauderdale\, FL  33315\, United States
09:55:15.907|03E|   SUMMARY:Flight: WN 2183 from FLL to MDW
09:55:15.907|03E|   UID:CA4FA31D-E603-4D19-9FD2-FEEA5D3BE760
09:55:15.907|03E|   URL:message://%3CNM665913FF21057E761southwe_rt_prod2%40ifly.southwest.com%3
09:55:15.907|03E|    E?c=1654558024&k=%7CflightWN%5C%7CFLL%5C%7CMDW%5C%7CWN2183%5C%7C4R542V
09:55:15.907|03E|   X-APPLE-END-LOCATION;X-ADDRESS="5700 S Cicero Ave, Chicago, IL 60638, Unite
.....................
09:55:15.910|03E|   X-APPLE-SUGGESTION-INFO-CHANGED-FIELDS:0
09:55:15.910|03E|   X-APPLE-SUGGESTION-INFO-CHANGES-ACKNOWLEDGED:FALSE
09:55:15.910|03E|   X-APPLE-SUGGESTION-INFO-OPAQUE-KEY:|flightWN\\|FLL\\|MDW\\|WN2183\\|4R542V
09:55:15.910|03E|   X-APPLE-SUGGESTION-INFO-TIMESTAMP:20530606T192704
09:55:15.910|03E|   X-APPLE-SUGGESTION-INFO-UNIQUE-KEY:|2|\\|flightWN\\\\\\|FLL\\\\\\|MDW\\\\\\
09:55:15.910|03E|    |WN2183\\\\\\|4R542V|\\|5\\|\\\\\\|A0AD0B77-E3EA-42B9-97F0-60E09AE2E26E\\\
09:55:15.910|03E|    \\\|<NM665913FF21057E761southwe_rt_prod2@ifly.southwest.com>
09:55:15.910|03E|   TRANSP:OPAQUE
09:55:15.910|03E|   X-APPLE-TRAVEL-ADVISORY-BEHAVIOR:DISABLED
09:55:15.910|03E|   X-MICROSOFT-CDO-BUSYSTATUS:BUSY
09:55:15.910|03E|   END:VEVENT
09:55:15.910|03E|   BEGIN:VTIMEZONE
09:55:15.910|03E|   TZID:GMT-0400
09:55:15.910|03E|   X-LIC-LOCATION:GMT-0400
09:55:15.910|03E|   BEGIN:STANDARD
09:55:15.910|03E|   DTSTART:18000101T000000
09:55:15.910|03E|   RDATE:18000101T000000
09:55:15.910|03E|   TZNAME:-04
09:55:15.910|03E|   TZOFFSETFROM:-0400
09:55:15.910|03E|   TZOFFSETTO:-0400
09:55:15.910|03E|   END:STANDARD
09:55:15.910|03E|   END:VTIMEZONE
09:55:15.910|03E|   BEGIN:VTIMEZONE
09:55:15.910|03E|   TZID:GMT-0500
09:55:15.910|03E|   X-LIC-LOCATION:GMT-0500
09:55:15.910|03E|   BEGIN:STANDARD
09:55:15.910|03E|   DTSTART:18000101T000000
09:55:15.910|03E|   RDATE:18000101T000000
09:55:15.910|03E|   TZNAME:-05
09:55:15.910|03E|   TZOFFSETFROM:-0500
09:55:15.910|03E|   TZOFFSETTO:-0500
09:55:15.910|03E|   END:STANDARD
09:55:15.910|03E|   END:VTIMEZONE
09:55:15.910|03E|   END:VCALENDAR
09:55:15.910|03E|   
09:55:15.910|03E|   
09:55:15.910|03E|   Response:
09:55:16.158|040|   StatusCode: 401, ReasonPhrase: 'Unauthorized', Version: 1.1, Content: System.Net.Http.HttpConnectionResponseContent, Headers:
09:55:16.158|040|   {
09:55:16.158|040|     Server: AppleHttpServer/f6f00135a2e1
09:55:16.158|040|     Date: Wed, 22 Jun 2022 13:55:05 GMT
09:55:16.158|040|     Connection: keep-alive
09:55:16.158|040|     WWW-Authenticate: X-MobileMe-AuthToken realm="MMCalDav"
09:55:16.158|040|     WWW-Authenticate: Basic realm="MMCalDav"
09:55:16.158|040|     X-Apple-Filtered-At-Edge: true
09:55:16.158|040|     x-apple-user-partition: 25
09:55:16.158|040|     Via: 631194250daa17e24277dea86cf30319:c7cce90f8a7bdd2adda96348c62b835a:uschi7
09:55:16.158|040|     X-Apple-Request-UUID: 2db32662-d02d-41c2-9ccb-a0e3a8da0f56
09:55:16.158|040|     Access-Control-Expose-Headers: X-Apple-Request-UUID,Via
09:55:16.158|040|     X-Apple-Edge-Response-Time: 0
09:55:16.158|040|     Content-Length: 0
09:55:16.158|040|   }
09:55:16.158|040|   


em client version 9.0.1708 (2cfb4a5)