Error resolved if file id is not present