add server side/backend input validation [RTFACT-18289]
external_document