Activity Feed
- Posted Re: Have Observer Calendar/To Do Match Student's on Canvas Ideas. 03-08-2022 08:58 AM
- Liked [Modules] Publish / Unpublish ALL Option for jmk50. 09-17-2019 07:37 AM
- Posted Re: Code Issue with Sub - Account Terms on K12 Canvas Users. 01-23-2018 12:53 PM
- Liked Re: Code Issue with Sub - Account Terms for kona. 01-23-2018 12:34 PM
- Got a Like for Code Issue with Sub - Account Terms. 01-13-2018 01:17 AM
- Posted Code Issue with Sub - Account Terms on K12 Canvas Users. 01-10-2018 04:44 AM
- Posted API Pull Issue on K12 Canvas Users. 10-16-2017 12:04 PM
- Tagged API Pull Issue on K12 Canvas Users. 10-16-2017 12:04 PM
- Tagged API Pull Issue on K12 Canvas Users. 10-16-2017 12:04 PM
- Liked Admin: Grades Export w/ Multiple Grading Periods for jjordan1. 11-03-2015 12:52 PM
- Got a Like for Senior Systems Integration. 06-15-2015 10:48 PM
- Got a Like for Senior Systems Integration. 06-15-2015 02:48 PM
- Got a Like for Re: Senior Systems Integration. 06-15-2015 02:48 PM
- Posted Re: Senior Systems Integration on K12 Canvas Users. 05-22-2015 08:45 PM
- Posted Senior Systems Integration on K12 Canvas Users. 05-22-2015 06:57 AM
- Tagged Senior Systems Integration on K12 Canvas Users. 05-22-2015 06:57 AM
- Tagged Senior Systems Integration on K12 Canvas Users. 05-22-2015 06:57 AM
- Tagged Senior Systems Integration on K12 Canvas Users. 05-22-2015 06:57 AM
- Tagged Senior Systems Integration on K12 Canvas Users. 05-22-2015 06:57 AM
- Tagged Senior Systems Integration on K12 Canvas Users. 05-22-2015 06:57 AM
My Posts
Post Details | Date Published | Views | Likes |
---|---|---|---|
Code Issue with Sub - Account Terms I'm having a little trouble running some 3rd party grade pull code on our system and getting this error: C:/Ruby23-x64/lib/ruby/gems/2.3.0/bundler/gems/canvas-api-2e114163f7af/lib/canvas-api.rb:11... |
01-10-2018 |
849 |
1 |
We run some 3rd party code that I maintain, and I'm getting an odd issue that I'm not sure I understand. The error reads: "Terms only belong to root_accounts. <Canvas : : ApiError>" ... |
10-16-2017 |
421 |
0 |
Our 6-12 school is going to be starting with Canvas this August. One thing we haven't figured out yet is how to best integrate Canvas with our SIS - Senior Systems. Specifically, we are c... |
05-22-2015 |
1230 |
2 |
03-08-2022
08:58 AM
Indeed - I've started to get more and more notes about this as parents check on their students' work more regularly.
... View more
01-23-2018
12:53 PM
Thanks, Rob. My workaround was to delete the entire Athletics Sub - Account. It's still not clear to me why having a sub - account with the terms that we do would break this particular section of code. Essentially, we're making our athletics teams as if they were classes in our SIS, without much of a difference and syncing them. The question isn't so much about "terms" I think but about the existence of this particular sub account hanging the code. Is there any code that I could get a hand with that would ignore all sub - accounts and only pull data from the root account? @kona - my apologies - I thought I was in the Canvas Developers section, and would still appreciate a bit of help if someone is still liked / tagged on this issue.
... View more
01-10-2018
04:44 AM
1 Like
I'm having a little trouble running some 3rd party grade pull code on our system and getting this error: C:/Ruby23-x64/lib/ruby/gems/2.3.0/bundler/gems/canvas-api-2e114163f7af/lib/canvas-api.rb:119:in `retrieve_response': Terms only belong to root_accounts. (Canvas::ApiError) From what I can tell (I'm not terribly experienced with this sort of thing), it seems to be having an issue with a Sub - Account that we created for our Athletics department. We have all of those courses assigned to their own year - round term. My workaround was to remove the Sub - Account entirely, but that is not optimal, as we would like to use Sub - Accounts in Canvas. Here is the relevant piece of code: def get_current_enrollment_term_ids(account_id) enrollment_terms = @canvas.get("/api/v1/accounts/#{@account_id}/terms")['enrollment_terms'] sorted_terms = enrollment_terms.select{|term| term['start_at'] != nil && (Date.today - Date.parse(term['start_at'])) > 30 }.sort_by!{|term| Date.parse(term['start_at'])} current_term_id = sorted_terms.select{|term| !term['name'].include?('Full Year')}.last['id'] current_year_term_id = sorted_terms.select{|term| term['name'].include?('Full Year')}.last['id'] [current_year_term_id, current_term_id] end I'm thinking perhaps we can't assign Terms to Sub - Accounts? Does anyone do anything like this? Any help or insight would be greatly appreciated.
... View more
10-16-2017
12:04 PM
We run some 3rd party code that I maintain, and I'm getting an odd issue that I'm not sure I understand. The error reads: "Terms only belong to root_accounts. <Canvas : : ApiError>" Followed by the GET expressions' line were we're looking for the current_enrollment_term_ids. It's a fairly preliminary point in the code, so I thought I'd reach out to see if anyone who runs Ruby on Rails on their Canvas instance has encountered this before. Thanks in advance, Jason Marsall
... View more
- Tags:
- api calls
- courses api
05-22-2015
06:57 AM
2 Likes
Our 6-12 school is going to be starting with Canvas this August. One thing we haven't figured out yet is how to best integrate Canvas with our SIS - Senior Systems. Specifically, we are concerned with figuring out how to get teachers grading in Canvas and have those grades transferred to Senior Systems for report card and transcript purposes. We have a custom - generated report card from Senior Systems that incorporates attendance into the report card that we don't want ti give up. Do any other schools that use Canvas handle grades differently? Are any other schools importing grades into Senior Systems? If so, how? Are there any other schools that are still looking for a solution / improvements to their system? We've been offered some (expensive) solutions from Canvas to this problem, and it seems very difficult to resolve Canvas grade exports with Senior's grade import functionality. Any input at all would be appreciated - what are we missing? Jason Marshall Database Coordinator Trinity Preparatory School Winter Park, Florida
... View more