# Received an error deleting a site

**URL:** https://community.kinsta.com/t/received-an-error-deleting-a-site/2305
**Category:** Application Support
**Created:** [June 15, 2023, 7:39pm UTC](https://community.kinsta.com/t/received-an-error-deleting-a-site/2305 "2023-06-15T19:39:59Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![motorsportprospects](https://sea2.discourse-cdn.com/flex020/user_avatar/community.kinsta.com/motorsportprospects/32/169_2.png) [@motorsportprospects](https://community.kinsta.com/u/motorsportprospects)
#### Post date: [June 15, 2023, 7:39pm UTC](https://community.kinsta.com/t/received-an-error-deleting-a-site/2305/1 "2023-06-15T19:39:59Z")

</div>

I had two old sites on my DevKinsta installation. I wanted to delete both. One deleted no problem and one I get an error.

Is there an alternative way to delete the site. I am on Mac OS.

![Screen Shot 2023-06-15 at 3.36.04 PM](https://us1.discourse-cdn.com/flex020/uploads/kinsta/original/2X/7/7bda73a403569cf28921159847b3c6a157edb491.png)

---

<div class="post-metadata">

### Author: ![ZachE](https://sea2.discourse-cdn.com/flex020/user_avatar/community.kinsta.com/zache/32/1683_2.png) [@ZachE](https://community.kinsta.com/u/ZachE)
#### Post date: [June 15, 2023, 11:51pm UTC](https://community.kinsta.com/t/received-an-error-deleting-a-site/2305/2 "2023-06-15T23:51:27Z")

</div>

Hi Mark!

What was the error? Can you provide a screenshot of the error, and the following file via DM to me - ./Library/Logs/DevKinsta/main.log

Best regards,  
Zach

---

<div class="post-metadata">

### Author: ![motorsportprospects](https://sea2.discourse-cdn.com/flex020/user_avatar/community.kinsta.com/motorsportprospects/32/169_2.png) [@motorsportprospects](https://community.kinsta.com/u/motorsportprospects)
#### Post date: [June 16, 2023, 1:21am UTC](https://community.kinsta.com/t/received-an-error-deleting-a-site/2305/3 "2023-06-16T01:21:28Z")

</div>

It said “Something bad has happened” and stopped at 16%. For some reason the screenprint will not show even though I uploaded it.  
 ![Screen Shot 2023-06-15 at 3.36.04 PM](https://us1.discourse-cdn.com/flex020/uploads/kinsta/original/2X/7/7bda73a403569cf28921159847b3c6a157edb491.png)

---

<div class="post-metadata">

### Author: ![Agus](https://sea2.discourse-cdn.com/flex020/user_avatar/community.kinsta.com/agus/32/1515_2.png) [@Agus](https://community.kinsta.com/u/Agus)
#### Post date: [June 16, 2023, 5:31am UTC](https://community.kinsta.com/t/received-an-error-deleting-a-site/2305/4 "2023-06-16T05:31:52Z")

</div>

Heya Mark,

Thank you for your reply!  
Yeah, we can’t really tell much what has happened, and that’s only a generic error message ( “Something bad has happened” and not much information from it ). Did it show any specific error code (e.g.: like DKxxxx ) on your DevKinsta screen?

If you got the screenshot of the error, and but for some reason that screenshot couldn’t uploaded here. Perhaps you can try to upload it somewhere else and share the link here, so we can see it?

Also, as requested by Zach before, please kindly provide us with the recent `main.log` - as that might tell more information of the reason why you got that “Something bad has happened” message (and that it didn’t complete the process/just stopped). Please check this [knowledge base](https://kinsta.com/knowledgebase/devkinsta/error-codes/#viewing-the-application-log-file) on how to get that `main.log` file - and please do share it via DM to @ZachE (and so he may check and review it when he’s available, and to assist you further).

Regards,  
Agus

---

<div class="post-metadata">

### Author: ![motorsportprospects](https://sea2.discourse-cdn.com/flex020/user_avatar/community.kinsta.com/motorsportprospects/32/169_2.png) [@motorsportprospects](https://community.kinsta.com/u/motorsportprospects)
#### Post date: [July 5, 2023, 8:00pm UTC](https://community.kinsta.com/t/received-an-error-deleting-a-site/2305/6 "2023-07-05T20:00:50Z")

</div>

@ZachE  
Here you go. I tried again.

crt: ‘/Users/markboudreau/DevKinsta/ssl/motorsportprospects.local.crt’  
}  
[2023-07-05 15:54:23.868] [warn] [darwin/utils] Warning while uninstalling trusted-cert: Encountered an error: Error: Command failed: security remove-trusted-cert -d “/Users/markboudreau/DevKinsta/ssl/motorsportprospects.local.crt”  
SecTrustSettingsRemoveTrustSettings: The specified item could not be found in the keychain.

[2023-07-05 15:54:23.937] [error] [darwin/utils] delete certificate failed. Encountered an error: Error: Command failed: security delete-certificate -c motorsportprospects.local -t  
security: “motorsportprospects.local” is ambiguous, matches more than one certificate  
Unable to delete certificate matching “motorsportprospects.local”  
[2023-07-05 15:54:23.938] [error] [uninstallPlatformDarwin] Error while uninstalling cert: Encountered an error: Error: Command failed: security delete-certificate -c motorsportprospects.local -t  
security: “motorsportprospects.local” is ambiguous, matches more than one certificate  
Unable to delete certificate matching “motorsportprospects.local”  
[2023-07-05 15:54:23.939] [error] [ipcMainStep] Error in operation DELETE\_SITE, step removeCertification: Error: Encountered an error: Error: Command failed: security delete-certificate -c motorsportprospects.local -t  
security: “motorsportprospects.local” is ambiguous, matches more than one certificate  
Unable to delete certificate matching “motorsportprospects.local”  
at /Applications/DevKinsta.app/Contents/Resources/app.asar/main.prod.js:2:731180  
at ChildProcess.exithandler (node:child\_process:430:5)  
at ChildProcess.emit (node:events:513:28)  
at ChildProcess.emit (node:domain:489:12)  
at maybeClose (node:internal/child\_process:1091:16)  
at Socket. (node:internal/child\_process:449:11)  
at Socket.emit (node:events:513:28)  
at Socket.emit (node:domain:489:12)  
at Pipe. (node:net:313:12)

---

<div class="post-metadata">

### Author: ![motorsportprospects](https://sea2.discourse-cdn.com/flex020/user_avatar/community.kinsta.com/motorsportprospects/32/169_2.png) [@motorsportprospects](https://community.kinsta.com/u/motorsportprospects)
#### Post date: [July 5, 2023, 8:01pm UTC](https://community.kinsta.com/t/received-an-error-deleting-a-site/2305/7 "2023-07-05T20:01:14Z")

</div>

Now I did have two dev sites on here but I deleted one of them.
