handle node capability not found exception with 404 not 500