Im trying to make a custom grade book column, however, when trying to do so I get this error:
{
"errors":
[{
"message":"An error occurred.",
"error_code":"internal_server_error"}
],
"error_report_id":519
}
The request is done in python and here is my code, most of it is taken from the custom gradebook column documentation
def post(self, request_url):
total_url = self._api_url + request_url
test_data = {
"column": {
"id": 2,
"teacher_notes": False,
"title": "Stuff",
"position": 1,
"hidden": False,
"read_only": True,
},
"access_token": self._access_token
}
r = requests.post(total_url, data = test_data)
print(r.text)
Im using pythons requests library to handle the http stuff.
total_url looks something like https://my-university.com/api/v1/courses/134/custom_gradebook_columns
Any help would be appreciated, thanks!
This discussion post is outdated and has been archived. Please use the Community question forums and official documentation for the most current and accurate information.