Skip to main content

Scripting Error using remoteFetchAsync (not valid JSON error message)

  • May 1, 2023
  • 0 replies
  • 9 views

Forum|alt.badge.img+12

Hello. I had been running this script via a Button for many months... until today, when it stopped working. I am now getting an error message. Any debugging help would be appreciated. Thanks!

let oob = '{"task": "IL"}'; let response = await remoteFetchAsync('https://hooks.airtable.com/workflows/v1/genericWebhook/appjM4uZHzs1Cbg3f/wfl3DsIZym7Q43Qw1/wtr9v3u61f4huzcgQ', { method: 'POST', body: oob, headers: { 'Content-Type': 'application/json', }, }); console.log(await response.json());