Fail better when app isn't valid