So I have this weird issue.
I had a type created to handle SVG images which I later removed from code as it was not required. In the Admin I see that this type was showing up saying not available in code. When I tried to Delete that it says it has a reference to a SVG file which I cannot find anymore in my Media storage.
I am stuck with this type which I cannot delete. Not sure why but this is interfering with my content search API filter where I see an error saying invalid .NET class.
Any ideas on how to get this deleted from Database so it doesn't show up in Admin content types anymore
Does it have information about the SVG file referenced? You can then use the API to delete that SVG file instead of manually, then try again
If you have the contentlink of the file and you can just use IContentRepository to delete it