I went back to the previous CloudKit container and my app works properly, however, I do not know what caused the above issue.
Topic:
App & System Services
SubTopic:
iCloud & Data
Tags: