Returning no reference, might be error with JSON parsing?
karmayoga-online opened this issue · comments
karmayoga-online commented
Hi there, I'm trying to use this and it's returning errors. I made a separate .gs file and used URLFetchApp to pull in JSON data successfully using basic auth, but the same process did not work here. I couldn't find the error in the code exactly.
karmayoga-online commented
karmayoga-online commented
karmayoga-online commented
Fixed! I mistook query for the "?month=2021-04" parameter, this fixed it below:
=ImportJSONBasicAuth("https://acuityscheduling.com/api/v1/availability/classes?day=2021-03-21", USER_ID,API_KEY, "", "noInherit, noTruncate, rawHeaders")