Even in above uri if I add pageSize param with values 50,75 and 100 there is no change in response and size of data returned. Still nextPageKey is null.
How to make pagination working so that we get nextPageKey so that we can navigate using nextPageKey.
As you can read in the documentation, the nextPageKey attribute is deprecated and only included in the JSON response for backwards compatibility purposes.
If the total payload you are extracting is too large, one suggestion is to break up the metric query into multiple queries (using the “from” and “to” query parameters to divide into smaller timeframes).