# Oauth2 cannot delete an entry

**URL:** <https://www.dolibarr.org/forum/t/oauth2-cannot-delete-an-entry/24176>\
**Category:** Using my Dolibarr\
**Tags:** v17\
**Created:** [August 21, 2023, 3:49pm UTC](https://www.dolibarr.org/forum/t/oauth2-cannot-delete-an-entry/24176 "2023-08-21T15:49:29Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![nicolouts](https://www.dolibarr.org/forum/letter_avatar_proxy/v4/letter/n/49beb7/32.png) [@nicolouts](https://www.dolibarr.org/forum/u/nicolouts)\
**Post date:** [August 21, 2023, 3:49pm UTC](https://www.dolibarr.org/forum/t/oauth2-cannot-delete-an-entry/24176/1 "2023-08-21T15:49:29Z")

</div>

Good morning,  
I have a problem with the oauth2 module.  
I had started a configuration of the module without managing to make it work.  
In the meantime, I migrated my server to a new hosting platform using the backup and restore method.  
Unfortunately, now when I want to delete or modify my old entry, I systematically receive the same error.

localhost refused the connection.  
ERR\_CONNECTION\_REFUSED

On the other hand I can create and delete a new entry without problem with different ID and token.  
But if I put the same ID and token, I can no longer delete the new entry.

Can you help me remove blocking entries?

Thanks in advance and have a nice day everyone

Nicolouts
