Hello,
I created OAUTH 2.0 credentials in Creatio, But Now when I am trying to delete them I am getting error as below:
I checked if there is any dependency on this credentials by clicking on "View Details" as below:
Can anyone guide me what might be issue here?
Thanks !!
Like
Hi,
The behavior seems a bit odd, and I wasn’t able to reproduce it. I recommend trying the following steps:
-
Add the "Errors of multi deleting" lookup and check the logs from the moment you attempted the deletion. Most likely, there’s a foreign key constraint error in the database. Check which table the record is referencing.
There may be a case where the object was deleted from the system, but a reference to the record remained in the DB. In such a case, you’ll need to either manually delete the related record from the referencing table or nullify the relationship.
- Another possible scenario is that the related object was deleted, but the source code generation was not performed. As a result, the system is trying to resolve a link to a deleted object. To analyze this, open the Network tab in Developer Tools before clicking the "View details" button and check if there are any errors in the requests — especially the
"GetDependentEntities"
request.
In any case, it's best to start with the "Errors of multi deleting" logs and then proceed with analysis based on the result — checking whether the issue lies in a constraint, which object it refers to, whether it still exists, and whether it’s a system object, etc.
Hope this helps!
If these steps don’t help identify the root cause, please contact our support team at support@creatio.com.