Sorry something went wrong with adding the app.click to retry

Sorry something went wrong with adding the app.click to retry
We tried to  install an access app and that installation has failed,we are unable to remove the apps in SharePoint through GUI  we got this error "Sorry something went wrong with adding the app.click to retry",The app cannot be removed or uninstalled from GUI,Remove option is also not available.
Navigating to the Site Contents,while seeing the "Access App" corrupted list its not looking good to see.

Finally we tried there is an option using the power shell we can uninstall the corrupted app as shown in the below.


$geturl = Get-SPAppInstance -Web <Your URL Name>

$getapp = $geturl  | where {$_.Title -eq '<app title Name>'}

Uninstall-SPAppInstance -Identity $getapp 


Once the Power Shell ran's completed successfully,go and verify the list is deleted successfully.