Plugins development - error installing simple modification on template

#1

Does anybody have a clue about this error:

$ curl http://localhost:8001/plugins -d name=kong-plugin-myplugin

{“message”:“schema violation (name: plugin ‘kong-plugin-myplugin’ not enabled; add it to the ‘plugins’ configuration property)”,“name”:“schema violation”,“fields”:{“name”:“plugin ‘kong-plugin-myplugin’ not enabled; add it to the ‘plugins’ configuration property”},“code”:2}

Context: running Kong from Docker.

0 Likes

#2

Please add your plugin to the plugins property in kong.conf or set the KONG_PLUGINS environment variable:

KONG_PLUGINS=bundled,my-plugin
1 Like