In the Contacts class, removeAutomation function : '/api/3/contactAutomation/' should be '/api/3/contactAutomations/'