Google Docs: Create a document from template error: "Invalid JSON payload received. Unknown name "replaceText" at 'requests[6].replace_all_text': Proto field is not repeating, cannot start list."

Hello Makers, my scenario creates an invoice from a Google Docs template using Airtable data. It has started throwing an error, which I don’t understand and am unable to identify the cause. Could anyone point me in the right rection?

Error:

RuntimeError

[400] Invalid JSON payload received. Unknown name “replaceText” at ‘requests[6].replace_all_text’: Proto field is not repeating, cannot start list.

Scenario:

Module:

This is an existing scenario that has worked before. I’m wondering if a field might have changed that could cause this? Thanks!

This post was flagged by the community and is temporarily hidden.

‘requests[6].replace_all_text’

The 6 indicates the count of the variable, so the sixth one from the top.

Airtable data was stored as an array as indicated in curly brackets [ ].

To solve the issue, I added to the Airtable formula a &“” to turn it into a text string.

Heya @Zbulo :wave:

Awesome work figuring this out and thanks so much for stepping back in here and sharing your solution with the community :clap: Much much appreciated :pray:

PS: I’m gonna go ahead and mark your reply as a solution since it certainly deserves that :white_check_mark:

1 Like