Add erro message when document is not created on '/doc/'