Zendesk Guide: Sections JSON file is incomplete
AnsweredI am building out a custom hierarchical menu for a Guide implementation. I use AJAX calls to pull the menu data from the Categories and Sections JSON files that Zendesk generates. For some reason, I am finding that the Categories JSON file is not complete: The file simply does not include all of the categories that are actually published in the Guide. The net result is that the menu also ends up being incomplete.
Does anyone know why the JSON file does not include ALL categories? Is there a setting or something that imposes a limit on the number of categories that get returned?
Thanks in advance for your feedback on this.
-
Hi Marco,
You may be running into pagination depending on the number of categories that you are pulling. You may find some answers in the pagination section of the Support API documentation on how to proceed.
-
Dan -- Thanks for the reply. THAT was the issue. I went ahead with the 'per_page' parameter in my URL call and just set it to the max (100). All of the categories are now showing up in a single JSON file.
Please sign in to leave a comment.
2 Comments