cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Community Member

API Rate Limits

Jump to solution

I need an recommendation / solution.

 

When making Canvas API calls for one partner/customer, if the partner has 20K students (or more), we make 20K API calls to get each student’s LMS record.  Randomly, but often, we get “Unauthorized” and “Forbidden” response messages from the API calls.  And based on my research, it is because of API Rate Limiting that Canvas enforces (https://community.canvaslms.com/docs/DOC-8381-api-rate-limiting).

 

What is the best way to call the APIs if I want to get the LMS record for every student, for a given partner, in our database?

The end-game is to be able to successfully make a Canvas API call for every student in our database, for a given partner, in one thread.

1 Solution

Accepted Solutions
Highlighted
Navigator

kenneth.robinson@academicpartnerships.com 

You asked this same question in the Canvas Developer's group, which is where it should go. I responded there: API Rate Limiting 

In the current Community software, you only have to ask a question once and then you can share it with other groups. I'm not sure how that will work later in July when we switch to new software.

The Community Managers will probably do something so that the question only lives and gets answers in one place. It makes it easier for people to track and follow that way.

View solution in original post

0 Kudos
2 Replies
Highlighted
Navigator

kenneth.robinson@academicpartnerships.com 

You asked this same question in the Canvas Developer's group, which is where it should go. I responded there: API Rate Limiting 

In the current Community software, you only have to ask a question once and then you can share it with other groups. I'm not sure how that will work later in July when we switch to new software.

The Community Managers will probably do something so that the question only lives and gets answers in one place. It makes it easier for people to track and follow that way.

View solution in original post

0 Kudos
Highlighted
Community Team
Community Team

Thanks for pointing out the duplication, james@richland.edu‌. kenneth.robinson@academicpartnerships.com‌, James has explained it perfectly; we've locked this question to keep the conversation unified at API Rate Limiting and to eliminate the potential for parallel threads.

Labels