Trying to get a slackbot that I have set up (with full permissions on the associated slack) to correctly be triggered by new documents being added or being updated. I followed this tutorial and put in the appropriate credentials for ‘SLACK_TOKEN’ and ‘CHANNEL_ID’.
Looking at the logs, I get the same error: Logs: [“[object Promise]”] Error:
uncaught promise rejection: {“message”:“Cannot access member ‘content-type’ of undefined”,“name”:“TypeError”
Any help is greatly appreciated!
Cheers
J