Showing results for 
Show  only  | Search instead for 
Did you mean: 

Folders API not returning certain folders when using some Pagination Params

Folders API not returning certain folders when using some Pagination Params

Canvas white logo

This behavior has been resolved and deployed to the production environment as of 6/23/22.



  • Sub-folders with the same name are not always returned in folders API results when paginating.

  • Since the module’s + button paginates when pulling the list of results, some folders are excluded from the results. This means that files within certain folders are unable to be added to Modules.

Expected Behavior


  • For all files and folders in the files repository to be returned in the API results.


No workaround exists at this time.

Steps to Reproduce


Prerequisite: Have a course with files that have folders of the same name. It’s best if you have more than 200 folders, but at least over 100 so you can paginate by 50.

Go to Modules

Click the + on a module

Select ‘Files’ from the drop-down

Note that not all of your files are available for selection and some folders are missing

Alternatively, manually check the contents of the folders api when using per_page=50 and verify that some of your folders don’t display.

Additional Info


Known issues indicate notable behaviors that has been escalated to the Canvas engineering team. Known issues are not a guarantee for an immediate resolution. This document is for informational purposes only and does not replace the Support process. If you are encountering the behavior outlined in this document, please ensure you have submitted a Support case (per your institution's escalation process) so Canvas Support can adequately gauge the overall customer impact and prioritize appropriately.

Labels (2)