Add to api NotFoundException.