# 502 Request error coming up

**URL:** <https://community.localwp.com/t/502-request-error-coming-up/37665>\
**Category:** Support\
**Created:** [June 22, 2023, 10:01am UTC](https://community.localwp.com/t/502-request-error-coming-up/37665 "2023-06-22T10:01:05Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![purechiqi](https://sea1.discourse-cdn.com/flex019/user_avatar/community.localwp.com/purechiqi/32/15451_2.png) [@purechiqi](https://community.localwp.com/u/purechiqi)\
**Post date:** [June 22, 2023, 10:01am UTC](https://community.localwp.com/t/502-request-error-coming-up/37665/1 "2023-06-22T10:01:05Z")

</div>

Hi guys,

When I clicked WP Admin or Open Site from Local it produced a %02 request error. I read a past topic that said to change the web server from nginx to Apache. Then it just produced a 404 Not Found  
so I reverted back to Nginx but I’m getting a 403 Forbidden  
error message now. Can anyone help me get back in. I’m lost as what to do next. Thank you!

---

<div class="post-metadata">

**Author:** ![Nick-B](https://sea1.discourse-cdn.com/flex019/user_avatar/community.localwp.com/nick-b/32/16140_2.png) [@Nick-B](https://community.localwp.com/u/Nick-B)\
**Post date:** [June 22, 2023, 1:16pm UTC](https://community.localwp.com/t/502-request-error-coming-up/37665/2 "2023-06-22T13:16:39Z")

</div>

Hi @purechiqi

We would be happy to assist with your Local troubleshooting! Could you provide some more details to help us take a further look?

- What is your OS?

- What version of Local are you on?

- Please attach a copy of your [Local Logs](https://localwp.com/help-docs/troubleshooting/retrieving-locals-log-file/#download-local-logs)

Keep us posted and we’d be happy to help further!

---

<div class="post-metadata">

**Author:** ![purechiqi](https://sea1.discourse-cdn.com/flex019/user_avatar/community.localwp.com/purechiqi/32/15451_2.png) [@purechiqi](https://community.localwp.com/u/purechiqi)\
**Post date:** [June 22, 2023, 1:30pm UTC](https://community.localwp.com/t/502-request-error-coming-up/37665/3 "2023-06-22T13:30:08Z")

</div>

Hi Nick thanks for your help:

Windows 64-bit operating system,  
Local 7.0.1  
[local-lightning.log](https://community.localwp.com/uploads/short-url/5HBJpcydhnjGTyL1lqdwWNtn04W.log) (61.1 KB)

kind regards

Niamh

---

<div class="post-metadata">

**Author:** ![Nick-B](https://sea1.discourse-cdn.com/flex019/user_avatar/community.localwp.com/nick-b/32/16140_2.png) [@Nick-B](https://community.localwp.com/u/Nick-B)\
**Post date:** [June 22, 2023, 2:11pm UTC](https://community.localwp.com/t/502-request-error-coming-up/37665/4 "2023-06-22T14:11:23Z")

</div>

Hi @purechiqi

The errors in your log are similar to the ones mentioned in Ben’s comment below. Could you try his troubleshooting steps to see if they resolve the issue?

> [@Unable to provision site under Windows](http://community.localwp.com/t/unable-to-provision-site-under-windows/27362/4):
>
> I’m seeing a few errors in the log that look like this: {"thread":"main","class":"Process","process":"nginx","level":"warn","message":"nginx: [alert] could not open error log file: CreateFile() \"%%userDataPath%%\\run\\BVvPH4pnw\\nginx/logs/error.log\" failed (3: The system cannot find the path specified)","timestamp":"2021-08-20T09:20:21.771Z"} {"thread":"main","class":"Process","process":"nginx","level":"warn","message":"2021/08/20 11:20:21 [emerg] 544#3200: CreateFile() \"%%userDataPath%%\\r…

---

<div class="post-metadata">

**Author:** ![purechiqi](https://sea1.discourse-cdn.com/flex019/user_avatar/community.localwp.com/purechiqi/32/15451_2.png) [@purechiqi](https://community.localwp.com/u/purechiqi)\
**Post date:** [June 22, 2023, 5:31pm UTC](https://community.localwp.com/t/502-request-error-coming-up/37665/5 "2023-06-22T17:31:43Z")

</div>

I’ll give them a go Nick hopefully it does the trick! Thanks again for your help.

---

<div class="post-metadata">

**Author:** ![sambrockway](https://sea1.discourse-cdn.com/flex019/user_avatar/community.localwp.com/sambrockway/32/18726_2.png) [@sambrockway](https://community.localwp.com/u/sambrockway)\
**Post date:** [June 23, 2023, 4:23pm UTC](https://community.localwp.com/t/502-request-error-coming-up/37665/6 "2023-06-23T16:23:40Z")

</div>

Hi @purechiqi -

Let us know if this works!

Sam

---

<div class="post-metadata">

**Author:** ![system](https://sea1.discourse-cdn.com/flex019/user_avatar/community.localwp.com/system/32/1_2.png) [@system](https://community.localwp.com/u/system)\
**Post date:** [September 21, 2023, 4:24pm UTC](https://community.localwp.com/t/502-request-error-coming-up/37665/7 "2023-09-21T16:24:39Z")

</div>

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.
