I am getting ERROR when trying to call UrlFetchApp.fetch(url,options) from Google App Script. var options = { 'method' : 'POST', 'headers': {'X-Cisco-Meraki-API-Key': xxxxxxxxx'}, 'contentType': 'application/json' }; option1=JSON.stringify(options); Logger.log(option1); var response = UrlFetchApp.fetch('https://api.meraki.com/api/v0/networks/L_xxxx84193406xxxxxx/cameras/xxxx-xxxx-xxxx/snapshot', options); I am getting the error at line "var response = UrlFetchApp.fetch()" Message details Request failed for https://api.meraki.com returned code 404. Truncated server response: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w... (use muteHttpExceptions option to examine full response) (line 52, file "Code") The log output from var option 1 is: {"method":"POST","headers":{"X-Cisco-Meraki-API-Key":"xxxxxxxxxxxx..xxxxxx"},"content-Type":"application/json"}
... View more