The Meraki Community
Register or Sign in
cancel
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
Showing results for 
Show  only  | Search instead for 
Did you mean: 
  • About capt_stab
capt_stab

capt_stab

Comes here often

Member since Jul 17, 2019

‎02-09-2023

Community Record

1
Post
0
Kudos
0
Solutions

Badges

ECMS1
ECMS2 View All
Latest Contributions by capt_stab
  • Topics capt_stab has Participated In
  • Latest Contributions by capt_stab

Tutorial error - Meraki Dashboard Alerts with Google Sheets

by capt_stab in Developers & APIs
‎02-22-2022 03:43 PM
‎02-22-2022 03:43 PM
Hi Guys,   Just following the below link to capture alerts via Webhooks and put into a Google Sheet.     https://developer.cisco.com/meraki/build/meraki-dashboard-alerts-with-google-sheets/     Completed all the steps, however getting the below error when testing sending an alert to the script:   TypeError: Cannot read property 'postData' of undefined at do Post(Code:120:33)     I've tried to solve myself, put a little lost. Triple checked code is exact copy to the one supplied by Meraki in tutorial.   Has there been a change to the API v0 vs V1 that might have broken this tutorial?  Any help would be greatly appreciated.    Cheers CS       // Webhook GET request. Simply verifies that server is reachable. function doGet(e) { return HtmlService.createHtmlOutput("Meraki Webhook Google Sheets"); } // Webhook Receiver - triggered with post to pusblished App URL. function doPost(e) { var params = JSON.stringify(e.postData.contents); params = JSON.parse(params); var postData = JSON.parse(params); display(postData); // HTTP Response return HtmlService.createHtmlOutput("post request received"); }           ... View more
Powered by Khoros
custom.footer.
  • Community Guidelines
  • Cisco Privacy
  • Khoros Privacy
  • Cookies
  • Terms of Use
© 2023 Meraki