Try to get an Automation but get fault code

If you want someone to help you, please format your code properly