Make Google Docs: Missing value of required parameter 'oldText' in Replace a Text
说明与用途
在 Make 中,Replace a Text 模块的 Old text 字段输入 {{Name}} 会被转换为空映射芯片,导致 BundleValidationError。解决方案是运行时转义大括号或使用带标签的 Create a Document from a Template。
问题
When using Make’s Google Docs Replace a Text module, typing a placeholder like {{Name}} in the Old text field causes Make to convert it into an empty mapping chip, resulting in a BundleValidationError: Missing value of required parameter 'oldText'.
结果
By escaping braces at runtime or switching to Create a Document from a Template, the user avoids the BundleValidationError and successfully replaces placeholders in Google Docs via Make.
工作流
- 1. Identify the placeholder (e.g., {{Name}}) in the Google Doc.
- 2. In Make’s Replace a Text module, enter the placeholder in Old text; if it becomes an empty chip, proceed to step 3.
- 3. Build the literal {{Name}} at runtime using a replace function: replace(replace("[[Name]]"; "[["; "{{"); "]]"; "}}") or insert a splitter like {{emptystring}} to prevent tokenization.
- 4. Map New text to the form field answer.
- 5. Run the scenario on a copy of the document to avoid data loss.
- 6. Alternatively, use Create a Document from a Template: place {{full_name}} in the template, enter full_name (without braces) in Tags, and map the form answer.
- 7. Test the scenario to confirm the placeholder is replaced correctly.
证据
Typing {{Name}} in the module field makes Make turn the braces into an empty mapping chip, so the required parameter is missing and you get BundleValidationError: Missing value of required parameter 'oldText'.
Build the literal {{tag}} at run time: {{replace(replace("[[Name]]"; "[["; "{{"); "]]"; "}}")}}
If you are filling a Doc from a form, Make's Create a Document from a Template module uses Tags / replaced values instead of Replace a Text.
- 记录日期: 2026-10-15T16:41:01.327Z