Hi,
I have created a pack to export a JSON field to Make.com.
The JSON field is built with a formula and currently contains 500 lines (JSON objects).
But when exporting this JSON, Coda always reduces my JSON length to 200 objects. I have tried using the folowing to contain my JSON :
- formula control
- text control
- cell inside a table
But everytime Coda shortens the JSON.
This is the code I use to send data :
execute: async function ([webhookUrl, jsonData], context) {
try{
const response = await context.fetcher.fetch({
method: "POST",
url: webhookUrl,
headers: {
"Content-Type": "application/json",
},
body: jsonData,
});
if (response.status == 200)
return "Accepted";
else
return "Error sending to Make webhook: " + response
} catch(error) {
return "Error in Make webhook send"
}
},
knowing that jsonData is defined as a coda.ParameterType.String
Any clue why Coda messes with my data ?