"Route entry is tainted" while disabling secrets engine using Terraform

I m trying to delete a particular secret engine, but unable to do so. Getting following errors.

while disabling
vault secrets disable secret/
Error disabling secrets engine at secret/: context deadline exceeded

when i tries to delete

vault delete secret
Error deleting secret: Error making API request.

Code: 404. Errors:

  • no handler for route “secret/”. route entry is tainted.