Skip to main content

HTTP 301 Moved Permanently

The resource has a new permanent URL given in the Location header. Clients should update their references.

3xx · Redirection✗ not retryable — fix the request instead

In AI APIs specifically

API base-URL typos (http vs https, trailing slash) often surface as 301s that drop POST bodies on redirect.

Fix checklist

  • Update to the URL in the Location header.
  • Use https and the exact documented base URL — redirects can downgrade POST to GET.

Spec: RFC reference