Why am I getting console errors when trying to connect Todoist and Habitify in my automation?

Posted thread to Discourse: Why am I receiving 410 status code and console errors when connecting Todoist and Habitify through automated script?