Why am I receiving a "410 Gone" console error when trying to connect Todoist and Habitify via automation?

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