# How to recover from "site not found" error with Netlify Dev

**URL:** <https://answers.netlify.com/t/how-to-recover-from-site-not-found-error-with-netlify-dev/2629>\
**Category:** Support\
**Tags:** netlify-dev-open-beta\
**Created:** [August 9, 2019, 1:15am UTC](https://answers.netlify.com/t/how-to-recover-from-site-not-found-error-with-netlify-dev/2629 "2019-08-09T01:15:36Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![witcradg](https://sea1.discourse-cdn.com/netlify/user_avatar/answers.netlify.com/witcradg/32/1586_2.png) [@witcradg](https://answers.netlify.com/u/witcradg)\
**Post date:** [August 9, 2019, 1:15am UTC](https://answers.netlify.com/t/how-to-recover-from-site-not-found-error-with-netlify-dev/2629/1 "2019-08-09T01:15:36Z")

</div>

$ netlify dev  
◈ Netlify Dev ◈  
{ JSONHTTPError: Not Found  
at NetlifyAPI.getSite (/usr/local/lib/node\_modules/netlify-cli/node\_modules/netlify/src/open-api/index.js:162:15)  
at processTicksAndRejections (internal/process/next\_tick.js:81:5)  
name: ‘JSONHTTPError’,  
status: 404,  
json: { code: 404, message: ‘Not Found’ } }  
◈ Error retrieving site data for site 9ab7…snip…b1b5fa. Double-check your login status with ‘netlify status’ or contact support with details of your error.

(netlify status returns valid info)

It appears that I have screwed this up at some point in the past; most likely when I deleted the project on [netlify.com](http://netlify.com) and started over. The site referenced in the error message is not the site ID for the current incarnation of the project on [netlify.com](http://netlify.com). I do not consider this a bug but it does pose the problem: “how to recover and start over” with Netlify Dev.

I am successfully using Netlify Dev on other projects.

---

<div class="post-metadata">

**Author:** ![witcradg](https://sea1.discourse-cdn.com/netlify/user_avatar/answers.netlify.com/witcradg/32/1586_2.png) [@witcradg](https://answers.netlify.com/u/witcradg)\
**Post date:** [August 9, 2019, 5:25pm UTC](https://answers.netlify.com/t/how-to-recover-from-site-not-found-error-with-netlify-dev/2629/2 "2019-08-09T17:25:25Z")

</div>

After I posted this I realized I had not looked at `netlify --help`. A couple of commands looked like they might be promising so I tried  
`netlify unlink`  
`netlify link`  
I’m not sure the unlink actually did anything but I was able to recover so that I have  
`netlify dev --live` working now.  
Perhaps my embarrassment over “less-than-sufficient” pre-posting research will at least help someone who is having the same issue.

---

<div class="post-metadata">

**Author:** ![perry](https://sea1.discourse-cdn.com/netlify/user_avatar/answers.netlify.com/perry/32/16_2.png) [@perry](https://answers.netlify.com/u/perry)\
**Post date:** [August 9, 2019, 6:32pm UTC](https://answers.netlify.com/t/how-to-recover-from-site-not-found-error-with-netlify-dev/2629/3 "2019-08-09T18:32:27Z")

</div>

thanks for posting what you tried! This definitely helps other users. 💪
