throw error if translationUrl not set