All tools / Debug tools / Status codes
HTTP 307 Temporary Redirect
Like 302, but the client must repeat the request with the same method and body.
This page runs in your browser and makes no requests.
307 Temporary Redirect
Like 302, but the client must repeat the request with the same method and body.
Common causes
Temporary maintenance redirects, HSTS internal redirects shown in browser dev tools.
What to do
Use this instead of 302 when a POST must stay a POST.
Class: 3xx Redirection · Defined in RFC 9110 §15.4.8
How to use it
- Look at the response in your browser's Network tab, or run
curl -i URLto see the status line and headers. - Read the response body: many servers explain the exact reason there.
- Fix the cause above and send the request again.
Questions
Is 307 an error?
Not exactly. 307 is a redirect or cache response, a normal part of how the web works. It only becomes a problem if it loops or goes to the wrong place.
Should I retry a 307?
Follow the redirect (browsers and most HTTP libraries do this automatically).
Where can I see the 307 in my browser?
Open the developer tools (F12 or Cmd+Option+I), go to the Network tab, reload, and look at the Status column. Click the request and open the Response and Headers tabs for the details.
