🔮 Sanity Create is here. Writing is reinvented. Try now, no developer setup

Studio Hard Refresh Causing a 404 Response Hosted on Netlify

4 replies
Last updated: Dec 31, 2021
Howdy, having issues with Studio hard refresh causing a 404 response hosted on Netlify. I’ve tried the suggested solutions via
Nothing seems to make a difference. Frontend using NextJS. Thanks in advance for any suggestions.
  from = "/*"
  to = "/"
  status = 200

_redirect in root
 /studio/* /studio 200
Dec 25, 2021, 7:49 PM
Did you install gatsby-plugin-netlify ?
Dec 26, 2021, 9:31 PM
Hi Kevin. Does the URL change when you refresh?
Dec 27, 2021, 6:59 PM
no gatsby-plugin-netlify installed. Using Netlify and NextJS, and from what I understood those plugins aren’t necessary anymore, unless I’m mistaken?
Refresh doesn’t not change the URL, however opening Studio at
it routes/loads
as the base URL
Dec 30, 2021, 9:12 PM
I sorted it out, thanks all for the help. Issue was another eng set the base path which I wasn’t aware of to include
I mistaken assumed that was part of Sanity “Studio”
Dec 31, 2021, 5:39 PM

Sanity– build remarkable experiences at scale

Sanity is a modern headless CMS that treats content as data to power your digital business. Free to get started, and pay-as-you-go on all plans.

Was this answer helpful?