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.
This was helpful for me to identify the issue. Another way to solve the issue would be to use the “tostring” function in Make to turn the array into a string. I found this easier, as I didn’t have to go back and fiddle with the Airtable formula.
Thanks for this thread. I didn’t really understand at first, so just to adding a little more dialogue if someone else is still trying to troubleshoot:
Click download outputs from your module’s last run
Under “requests” find the item that is formatted as an array
As @Zbulo mentioned… the number in the error message represents the item in the requests array that is throwing the merge: ‘requests[6].replace_all_text’
Go back to the main variable input section of the module and find the variable in the that you need to fix and add toString() around the data.
I just wanted to quickly step in and say thank you for sharing these extra broken-down steps with us! I’m sure this will prove super helpful to someone in the future
So I’ve been having a similar issue, except the toString() solution does not seem to help. If I use that, it does create the template, but I get brackets around the value.
This wouldn’t be much of an issue, except part of my scenario involves sending out an email. The weirdest part is that it is almost an exact copy of another scenario that works fine. That one just allows me to select from an element of the array when selecting the input.
The original scenario:
@Caroline_Murphy the brackets in the Airtable module indicate the string/array formatting of the source date. You may manipulate this by adapting the format of that field on Airtable and then running the respective Make Airtable module with test data to update.
I’m having a similar issue and the format of the source is the same in the two scenarios but for a weird reason, Make does not treat the data in the same way. One works like a charm, the other simply doesn’t. This is frustrating …
Just to put my 2 cents, in case someone is using Baserow, I had the same issue with a Single Select field I called “Status” that includes some colors and values. Then I selected in the Google Docs Module the “Value” from the Array List.
It worked!