Due to changed result format, line 22 now needs to be: `elseif not string.match(res,'"status":1') then` Thanks for sharing!