elastic/elasticsearch

Add resource ID to 404 response body

Open

#82,675 opened on Jan 17, 2022

View on GitHub
 (14 comments) (0 reactions) (0 assignees)Java (76,700 stars) (25,882 forks)batch import
:Core/Infra/Core>enhancementTeam:Core/Infrahelp wanted

Description

It would be very useful to be able to easily extract the id of the resource thats not found from the body of a 404 request. I believe this would involve adding the ID to ResourceNotFoundException.

Contributor guide