Activity Feed
- Liked Re: Generate admin token for robotcars. 11-23-2021 11:33 AM
- Posted Generate admin token on Canvas Developers Group. 11-23-2021 10:44 AM
- Posted Re: Internal server error when trying to create grade book column on Canvas Question Forum. 07-26-2021 06:30 PM
- Liked Re: Internal server error when trying to create grade book column for jerry_nguyen. 07-26-2021 06:28 PM
- Liked Re: Internal server error when trying to create grade book column for jerry_nguyen. 07-26-2021 04:54 PM
- Posted Re: Internal server error when trying to create grade book column on Canvas Question Forum. 07-24-2021 11:27 AM
- Got a Like for Re: Assignments API Call: List Assignments in descending order of creation/due date or most recent. 07-23-2021 08:47 AM
- Posted Re: Assignments API Call: List Assignments in descending order of creation/due date or most recent on Canvas Question Forum. 07-22-2021 02:51 PM
- Tagged Internal server error when trying to create grade book column on Canvas Question Forum. 07-22-2021 02:41 PM
- Posted Internal server error when trying to create grade book column on Canvas Question Forum. 07-22-2021 01:19 PM
My Posts
Post Details | Date Published | Views | Likes |
---|---|---|---|
Im an LTI developer working with the canvas dev site. One of the api calls Im trying to make tells me I dont have the authority to access the resource. How do I generate an admin api token that gives... |
11-23-2021 |
499 |
0 |
Internal server error when trying to create grade book column 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_se... |
07-22-2021 |
800 |
0 |
11-23-2021
10:44 AM
Im an LTI developer working with the canvas dev site. One of the api calls Im trying to make tells me I dont have the authority to access the resource. How do I generate an admin api token that gives me full access to all the api endpoints?
Ive tried generating a new token following this guide but the api still tells me I dont have permission.
... View more
Labels
- Labels:
-
Canvas
07-26-2021
06:30 PM
Using the CanvasAPI's create_custom_column method worked for me, thanks for bringing it to my attention!
... View more
07-24-2021
11:27 AM
boolean values in python have their first char capitalized (True, False). Changing them to lowercase will throw an undefined error. I got rid of ID but still no luck. Still getting an internal server error.
... View more
07-22-2021
02:51 PM
1 Like
While you wait for an answer, is it possible to reverse the list yourself?
... View more
07-22-2021
01:19 PM
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!
... View more
- Tags:
- api
Labels
- Labels:
-
Canvas