vaultSharp error



I’m getting this error from vaultsharp
{“errors”:[“no handler for route ‘kv/data/notifications-service/settings’”]}
can anyone help?

I’m using vaultSharp version “0.11.1002” below is my vaultSharp settings:-
“vault”: {
“enabled”: true,
“url”: “http://localhost:8200”,
“key”: “notifications-service/settings”,
“authType”: “token”,
“token”: “tpsy@z09!”,
“username”: “user”,
“password”: “secret”

Thanks in advance.



I got the same issue recently, if you’re using the latest version of Vault (e.g. via Docker), make sure to enable KeyValue storage (instead of using the default “secrets” enabled by default), and add the settings here - it should help.


thanks problem solved.


Happy to hear that :slight_smile:.


I too am having a similar error when trying to progress with Episode 9.
I get the error while following the steps in the video

Unhandled Exception: DShop.Common.Vault.VaultException: Getting Vault secret for key: ‘discounts-service/settings’ caused an error. {“errors”:[“no handler for route ‘kv/data/discounts-service/settings’”]}

What I tried to do differently after getting the error initially:

  • In the GUI, I Enabled a new engine, selected KV and named the path discounts-service
  • Then I created a new secret and named the path settings

Error still persists.

Please what steps am I missing as I assume this is what the answer advised .

Thank you


Hi, your “Path for this secret” field should be “discounts-service/settings”, the same as it is in the appsettings.json.

You’ve written that you named the path as “settings” - it wont work.
Just double-check it.