The DeleteAsync method in the Moralis class will always throw an exception. It seems to missing an "else"  Like this : 