<p>At random times local sites don't allow me to login to admin with certain browsers. Currently I cannot login to a site using Chrome, but can using Firefox. I have had sites that won't login with Firefox, but do with Chrome.</p>
<p>The error is a browser console error, not a Craft/Twig error:
<code>Failed to load resource: the server responded with a status of 400 (Bad Request)</code></p>
<p>I've renamed and deleted cpresources (as another post had mentioned to try), but this didn't work.</p>
<p>It happens at random points too. I can login fine then come away from my PC for a few minutes to return to a login screen and not able to login.</p>

CC BY-SA 4.0
2021-02-08T17:08:10.983Z
What are you using to localhost your site?
CraftQuest
CC BY-SA 4.0
2021-04-21T09:24:05.213Z
@CraftQuest - currently using MAMP for Windows. A colleague of mine has had a similar issue on their Mac, also using MAMP. One site in particular (that is live) also gives the same issue, that's running on a Linux based server
Jaytrix
<error-message><admin><login>
Browser limited 400 error when logging in
# Browser limited 400 error when logging in

(Asked by: username_0 on 2021-02-04)

At random times local sites don't allow me to login to admin with certain browsers. Currently I cannot login to a site using Chrome, but can using Firefox. I have had sites that won't login with Firefox, but do with Chrome.

The error is a browser console error, not a Craft/Twig error:
`Failed to load resource: the server responded with a status of 400 (Bad Request)`

I've renamed and deleted cpresources (as another post had mentioned to try), but this didn't work.

It happens at random points too. I can login fine then come away from my PC for a few minutes to return to a login screen and not able to login.

**Tags:** error-message, admin, login
> **Comments:**
> **username_1**: What are you using to localhost your site?  
> **username_0**: @CraftQuest - currently using MAMP for Windows. A colleague of mine has had a similar issue on their Mac, also using MAMP. One site in particular (that is live) also gives the same issue, that's running on a Linux based server  

---

## 0 answers

