Solved

Box: Get folder contents collection limit?

  • 13 April 2020
  • 3 replies
  • 20 views

Badge +3

Hello all!

 

I'm trying to use the Box action: "Get Folder Contents."

  • I have 700 files in the folder
  • The collection count (using Count Item in Collection) is only 200. 

 

Is this limitation documented somewhere? Is there a way to interate through to get them all (possibly by buiding mutiple collections)?

 

Thank you.

icon

Best answer by butlerj 14 April 2020, 16:56

View original

3 replies

Userlevel 5
Badge +19

@mikeboggs23 I'm seeing the same thing when I test. Doing some additional investigation to understand if this is an API limitation on the Box API that we're calling, or if this is something that we need to update on our side. 


 


Will update when I know more.

Userlevel 5
Badge +19

@mikeboggs23 this looks like it's an issue on the NWC action side where it does not paginate the response from the box folder. There is an open feature request for this (https://nintex.uservoice.com/forums/430063-5-nintex-workflow-cloud/suggestions/40062262-add-support-for-paginated-responses-from-connector) and the development team is aware of the issue and investigating potential solutions/workarounds.

Badge +3

Thank you. I'll add my votes to that request. 


 


That being said, the actual Box API allows for each page to go up to 1000. I'm assuming it defaults to 200. So without having to support full pagination, you could easly up the return to 1000 and solve at least some peoples issues. https://developer.box.com/reference/get-folders-id-items/


 


That might be a quick win, while they work on full pagination support. 

Reply