# Site Health Status - The REST API encountered an error

**URL:** <https://community.localwp.com/t/site-health-status-the-rest-api-encountered-an-error/28009>\
**Category:** Support\
**Tags:** windows-10, access-denied\
**Created:** [October 1, 2021, 3:00pm UTC](https://community.localwp.com/t/site-health-status-the-rest-api-encountered-an-error/28009 "2021-10-01T15:00:12Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![ben.turner](https://sea1.discourse-cdn.com/flex019/user_avatar/community.localwp.com/ben.turner/32/5366_2.png) [@ben.turner](https://community.localwp.com/u/ben.turner)\
**Post date:** [October 1, 2021, 3:46pm UTC](https://community.localwp.com/t/site-health-status-the-rest-api-encountered-an-error/28009/2 "2021-10-01T15:46:05Z")

</div>

Hey @Ahmed1, Welcome to the Local Community Forums!

I’m seeing this line in the Local log:

```auto
{"thread":"main","level":"error","stack":"Error: Access denied.\n at TLSSocket.<anonymous> (%%appPath%%\\node_modules\\@getflywheel\\localtunnel\\lib\\TunnelConnectionCluster.js:59:28)\n at Object.onceWrapper (events.js:422:26)\n at TLSSocket.emit (events.js:327:22)\n at TLSSocket.EventEmitter.emit (domain.js:467:12)\n at addChunk (internal/streams/readable.js:309:12)\n at readableAddChunk (internal/streams/readable.js:284:9)\n at TLSSocket.Readable.push (internal/streams/readable.js:223:10)\n at TLSWrap.onStreamRead (internal/stream_base_commons.js:188:23)","message":"Access denied.","timestamp":"2021-09-28T15:54:48.987Z"}

```

Usually with that `Error: Access denied` error, there’s something preventing Local from doing something.

Since the site is having issues making requests to the WP REST API, there’s likely something like a new security setting (maybe Windows Defender updated something?) or a change in the Antivirus software’s settings.

You might take a look in either of those places to see if settings changed. Another thing you might try is making a backup of your sites in Local, and then re-installing Local to re-register everything with Windows.

---

_[View the full topic](https://community.localwp.com/t/site-health-status-the-rest-api-encountered-an-error/28009)._
