title: undefined:1 syntax error: unexpected token < in json at position 0
body: <p><a href="https://i.stack.imgur.com/N75sX.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/N75sX.png" alt="enter image description here" /></a></p>
  <pre><code>let options = {
                  'method': 'GET',
                  'url': `https://cdn-api.co-vin.in/api/v2/appointment/sessions/public/calendarByPin?pincode=${row.pincode}&amp;date=${day}`,
                  'headers': {
                      
                  }
                  
              };
  request(options, function (error, re) {
                      if (error) {
                          console.log('error in request',error)
                      }
                      else if(re) {
                          let data = JSON.parse(re.body);
                          console.log(data)
                      }
  })
  </code></pre>
  <p>It's working fine in localhost, but when I'm hosting it on digital ocean server, sometime the code executes sometimes it doesn't, it happens with the same code. Please help</p>