With my original version of the code, if you have been using IFTTT with Google sheets, you will an error like this. I made some changes to avoid this. Copy the code of my published spreadsheet. Before You will also need to manually delete the rows in the Google sheet which IFTTT is updating.