# Errors while deleting a deleted object log entry

**URL:** https://community.datagerry.com/t/errors-while-deleting-a-deleted-object-log-entry/324
**Category:** Report a Bug
**Created:** [April 21, 2021, 11:19am UTC](https://community.datagerry.com/t/errors-while-deleting-a-deleted-object-log-entry/324 "2021-04-21T11:19:10Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![anon60115798](https://avatars.discourse-cdn.com/v4/letter/a/bc8723/32.png) [@anon60115798](https://community.datagerry.com/u/anon60115798)
#### Post date: [April 21, 2021, 11:19am UTC](https://community.datagerry.com/t/errors-while-deleting-a-deleted-object-log-entry/324/1 "2021-04-21T11:19:10Z")

</div>

Hello everybody,

Scenario:

- I am on the “Settings \> Object Logs” page.
- I navigate to the tab “deleted objects logs”
- I click on the “delete log” button for a deleted object log
- I confirm the security question “are you sure you want to delete this log?”

I would expect the entry to be deleted.

In fact I get two errors in the developer console:

```
"DELETE https://jrag-cmdb.wjp.de/rest/log/123 404"
"Backend returned code 404, body was: [object Object]".

```

The REST ressource returned:

```
{
 description: "The server could not verify that you are authorized to access the URL requested. You either supplied the wrong credentials (e.g. a bad password), or your browser doesn't understand how to supply the credentials required.",
 joke: "Even a blind squirrel finds a nut once in a while.",
 message: "",
 response: "Unauthorized: http://jrag-cmdb.wjp.de/rest/log/197",
 status: 401
}

```

The same problem occurs accordingly with the “Cleanup” button, as the same REST resource is accessed.

Thank you in advance!

Best regards

---

<div class="post-metadata">

### Author: ![adnan.smajic](https://dub1.discourse-cdn.com/flex013/user_avatar/community.datagerry.com/adnan.smajic/32/754_2.png) [@adnan.smajic](https://community.datagerry.com/u/adnan.smajic)
#### Post date: [June 22, 2023, 1:13pm UTC](https://community.datagerry.com/t/errors-while-deleting-a-deleted-object-log-entry/324/2 "2023-06-22T13:13:15Z")

</div>

Hi Jennifer,  
thanks for sharing this error with us. We were able to reproduce the wrong behaviour and will fix this issue.

Link to issue:  
[https://becon88.atlassian.net/browse/DAT-439](https://becon88.atlassian.net/browse/DAT-439)

BR Adnan

---

<div class="post-metadata">

### Author: ![adnan.smajic](https://dub1.discourse-cdn.com/flex013/user_avatar/community.datagerry.com/adnan.smajic/32/754_2.png) [@adnan.smajic](https://community.datagerry.com/u/adnan.smajic)
#### Post date: [February 29, 2024, 10:10am UTC](https://community.datagerry.com/t/errors-while-deleting-a-deleted-object-log-entry/324/3 "2024-02-29T10:10:49Z")

</div>

The issue has been found and fixed. It will be part of the next release 🙂

BR Adnan
