#17261·vercel

docs: `vercel redirects upload` CSV/JSON examples use `status`, which the CLI ignores — all redirects silently become 307

Author: floriannicolasCreated Jul 28, 2026Updated Sep 26, 2026

Summary

The CSV and JSON examples documented at https://vercel.com/docs/cli/redirects for vercel redirects upload use a status field. The CLI never reads that field, so every redirect silently falls back to 307, with no error and no warning.

Documented format (from the docs page)

csv
source,destination,status,caseSensitive,preserveQueryParams
/old-path,/new-path,301,false,true

The JSON example on the same page has the same problem ("status": 301).

Why it fails

The actual schema field is statusCode, not status. See Bulk Redirects → Available fields, where statusCode is documented with a default of 307.

In the CLI:

So the documented format parses "successfully" and produces the wrong status code on every row.

Impact

I uploaded 111 redirects, every row 301, using the header exactly as documented. All 111 were created as 307. I noticed this in the dashboard's bulk CSV upload (same schema), where the review step proposed 307 for all of them.

A 307 where a 301 or 308 was intended is a silent SEO regression: search engines treat it as temporary and do not transfer ranking signals. Because nothing warns you, the mistake is only discoverable by inspecting the staged result row by row, and on a large migration nobody checks all of them.

Second issue on the same page

The example /legacy/* to /modern/:splat uses wildcard matching, but the Bulk Redirects docs state: "Bulk redirects do not support wildcard or header matching."

Suggested fixes

  1. Fix both examples on /docs/cli/redirects to use statusCode, and remove the wildcard example.
  2. Make validateCSVStructure warn (or fail) on unrecognised columns. The silent default to 307 is the dangerous part, since the wrong docs would have been harmless with a warning.
  3. Optionally accept status as an alias for statusCode, given that it has been published as the official format.