Unable to DELETE access Policy

What is the name of the domain?

What is the error message?

Access api error conflict: policy is being used by at least one app

What is the issue you’re encountering

I’ve deleted all my Cloudflare Access Applications and attempted to do the same with Policies. In total I had three policies and 1 application. I deleted the application and 2 of the policies without incident. The issue was when deleting the last policy. When I inspected, it said that there are 2 applications associated with it. But I never 2 applications in the first place and all of them are deleted. The most weird part is that it says 2 applications, yet the applications list is empty. How to deal with this situation as my endpoints are returning 403 right now?

What steps have you taken to resolve the issue?

I created 2 other apps and linked the policy in question to them. But the application count rose to 4. Then I deleted the 2 apps, the application count came to 2. I tried converting to reusable policy through api, again no luck.