Skip to content

How to rewrite or customize the default 404 response? #3192

Description

@Maples7

When a user requests a non-existent API, kong will return 404 with

{
    "message": "no API found with those values"
} 

Is there any way to rewrite the response body or customize 404 response? 🤔

Metadata

Metadata

Assignees

No one assigned

    Labels

    pending author feedbackWaiting for the issue author to get back to a maintainer with findings, more details, etc...

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions