All tools / Debug tools / Status codes
HTTP 308 Permanent Redirect
Like 301, but the client must repeat the request with the same method and body.
This page runs in your browser and makes no requests.
308 Permanent Redirect
Like 301, but the client must repeat the request with the same method and body.
Common causes
Permanent API moves where POST must stay POST.
What to do
Use this instead of 301 for non-GET requests.
Class: 3xx Redirection · Defined in RFC 9110 §15.4.9
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 308 an error?
Not exactly. 308 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 308?
Follow the redirect (browsers and most HTTP libraries do this automatically).
Where can I see the 308 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.
