Incomplete redirect

I have the following redirect in my netlify.toml:

[[redirects]]
  from = "/docs"
  to = "/docs/getting-started/setup"
  status = 200
  force = true

The result is inconsistent:
the correct page is served (/docs/getting-started/setup) but the url remains /docs
For some reason it creates a javascript error and breaks the navigation. This is obviously not a Netlify error, but I think it has to do with the inconsistent state of the redirect.

Do you see anything I could change in the redirect configuration?

Hi, @nzylbersztejn, and welcome to our Netlify community site.

Would you please test making the status 301 instead of 200?

[[redirects]]
  from = "/docs"
  to = "/docs/getting-started/setup"
  status = 301
  force = true

​Please let us know if this doesn’t resolve the issue and/or if there are other questions.