Avoid exposing messages - use the er_repository_download interface.