Change failed message to: "There are no rewards available at this time, please check back later." This scenario happens when all rewards are claimed. Not sure if it can be encountered any other time.
npm install -g yarn
./watch.sh
yarn install