“unable to discover what the limit for path length is in APFS; Internet rumour claims that could be as short as 1,024 UTF-8 characters, although other modern file systems have declared maxima of more than 32,000.”

Link. I wonder if that limit is Azure related; I think iCloud stores can be Azure.