Hi everyone,
I'm trying to add some error handling to our scripts for when a policy violation error occurs. I want to trigger such an error so that I can find out how to pull out the various elements of the error message.
I've tried to trigger the error by adding a reserved keyword to a test account using the test API token. However, in the test account it doesn't throw an error - it duly adds the banned keyword.
Is there a guaranteed way I can get the API to throw the error while using the test token?
Cheers,
Tom