Based on another thread, wrapping the modelContext.insert and modelContext.save in DispatchQueue.main.async fixed the issue.
Post
Replies
Boosts
Views
Activity
@ShaySal219 Did you get this figured out? Got a similar message this morning.
@Help_Developer Did you figure out why account was flagged for compliance screening? Did it get resolved?