Are both the 401 and 402 versions compatible with the same cables?

ZB40X-401-IPCV-675-AFC2 and ZB40X-402-IPCV-347-AFC2 share the same accessories

Yes, the IP-JIG and Flex Foil Cable (FFC) are compatible with both versions of the camera.