Canvas API to import gradebook into Google Sheets

Community Member

I have been trying to find a way to import all the information that is generated into the csv file when we "export the entire gradebook". I want to import it into a google sheets spreadsheets in a way that it is automatic. 

I found this online:

Which is exactly what I need, however I do not seem to be able to make it work for me. 

I get this error message:

Request failed for returned code 404. Truncated server response: {"errors":[{"message":"The specified resource does not exist."}]} (use muteHttpExceptions option to examine full response)

Any help will be greatly appreciated.