Customize the 404 error message

Configure the plugin to transform 404 responses and add a custom error message. See Transform a 404 response message for a full how-to guide with this example.

Prerequisites

  • untrusted_lua must be set to either on or sandbox in your kong.conf file for this plugin to work.

Set up the plugin

Something wrong?

Help us make these docs great!

Kong Developer docs are open source. If you find these useful and want to make them better, contribute today!