Skip to main content
Question

Increasing the Json_index in a json fragmenter

  • October 13, 2026
  • 6 replies
  • 47 views

waltonej
Contributor
Forum|alt.badge.img+1

I have a HTTP caller that brings back over 9000 records but the json fragmenter only seems to handle 1000 records.

6 replies

ebygomm
Evangelist
Forum|alt.badge.img+54
  • Evangelist
  • October 13, 2026

I’m not aware of a limitation

What version of FME are you using? Are you able to share the json response?


waltonej
Contributor
Forum|alt.badge.img+1
  • Author
  • Contributor
  • October 13, 2026

HI, I’m using work bench 2024.2 

 


david_r
Celebrity
  • October 13, 2026

Could it be that your endpoint is paging the results in groups of 1000? The tag “totalRecords” leads me to believe that you might be dealing with paging here.

Open the _response_body in your editor of choice and count the number of elements in the raw data. Also look for a URL for the second page, in particular in the “_links” tag.


ebygomm
Evangelist
Forum|alt.badge.img+54
  • Evangelist
  • October 13, 2026

That looks to me that there are 1988 records to return total, but it’s typical that only 1000 are returned in a call and it’s necessary to make multiple calls with pagination to return all records.


waltonej
Contributor
Forum|alt.badge.img+1
  • Author
  • Contributor
  • October 13, 2026

Its is a paging problem, the api defaults the amount of records to 1000


daveatsafe
Safer
Forum|alt.badge.img+24

Hi ​@waltonej,

Since the API provides the total number of records fulfilling the query in the response, you could extract this with a JSONExtractor, then use a Cloner to create a feature for each of the offset queries needed to return the entire amount of records. Send these through a second HTTPCaller. So the first feature through that HTTPCaller would request records 1-1000, while second would request records 1001-2000. This is more efficient than looping, since you can set the HTTPCaller to use concurrent requests to minimize the waiting time.

I am attaching an example illustrating how to do this that requests album information from Spotify, with 20 records per page.