“Unexpected error” thrown when using UrlFetch [duplicate]
问题 This question already has answers here : Unexpected error on UrlFetchApp.fetch in Google Apps Script using basic authentication (4 answers) Closed 11 days ago . I have been using App Scripts to Download and insert CM360 reports into Google Sheets for a while now, but since a couple of days back I get the following error when running the code: Exception: Unexpected error: https://www.googleapis.com/dfareporting/v3.4/reports/xxx/files/xxx?alt=media (Code:23:56) Example of the code I am running: