pagination is haulted if response is not a TemplateResponse