new parameters and message update

New parameters and message update for document error loading