On https://help.swif.ai/en/articles/8714684-how-to-create-and-assign-a-custom-policy, we discussed creating or updating a custom policy (macOS only 01/2024).
If there is an error in the custom policy, this error information is an async process. The policy installation process does not give Swif the error directly. After a custom policy is installed on a device, it returns an error message to Swif. For example, if a requested field is missing in a profile, it will not be installed on the device.
You can view such custom policy execution reports on the Policy > Report tab.