This is not really a pamac issue but is caused by the CDN url for the aur package database.
You are - most likely - only seing this because you have opted to update custom pkgbuilds in the same run and - for reasons that should be obvious - this is not recommended.
Always sync official repo first - restart if required - then you can rebuild the custom packages.