Return correct error if endpoint file not found