web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Pagination Error with ...
Power Automate
Unanswered

Pagination Error with Zendesk API

(0) ShareShare
ReportReport
Posted on by 186

Hi All,

 

I am using the Zendesk API to get a list of users in Zendesk - Zendesk developers - API docs.

 

The maximum number of records returned per page is 100.

 

When I issue a GET request without pagination turned on, it only fetches the first 100 records

lkaspar_0-1617849651721.png

 

If I turn on Pagination and set the threshold to 100 

 

lkaspar_1-1617849764283.png

 

I get this error:

 

The response is not a valid paginated response. The paginated response is missing a property 'value' of type array.

 

 

The schema of the response looks like this:

 

 

{
 "type": "object",
 "properties": {
 "users": {
 "type": "array",
 "items": {
 }
 },
 "next_page": {
 "type": "string"
 },
 "previous_page": {},
 "count": {
 "type": "integer"
 }
 }
}

 

 

It looks like Flow is complaining about the property being called users and not value.

 

Any help would be appreciated.

 

Categories:
I have the same question (0)
  • ChristianAbata Profile Picture
    8,951 Most Valuable Professional on at

    hi @LKS  if the error is on compose , what you need to do is change the inside compose formula, because if you active the pagination the schema could be different. And the expressions are not updated automatically

  • lukas.schauffele Profile Picture
    186 on at

    Hi @ChristianAbata  - the error is on GetUsers

    lkaspar_1-1617851116296.png

     

     

    I am using the Compose to see how many records are actually returned.

     

  • ChristianAbata Profile Picture
    8,951 Most Valuable Professional on at

    @LKS  could you try adding this to your schema {"body":{"value":[]}}

  • lukas.schauffele Profile Picture
    186 on at

    @ChristianAbata - I am afraid I don't know where you want me to modify the schema. I am not able to issue the GET request or receive a response which I could parse if I turn on pagination. Flow just fails with this error

    lkaspar_0-1617851646551.png

     

     

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 522 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 364 Moderator

#3
abm abm Profile Picture

abm abm 243 Most Valuable Professional

Last 30 days Overall leaderboard