Forum Discussion

hawkeye412's avatar
hawkeye412
New Contributor II
2 years ago
Solved

HTTP Client Pagination: Error evaluating a number property

This error is coming from the Total pages to fetch section. (I am getting the URL that I want)

My entry:

 

$url + "type=" + _type + "&limit=" + _request_size + "&skip=" + (snap.out.totalCount + 500)

 

 

"url": "https://api.gleap.io/projects/123456/tickets?"

 

 
The purpose is to just increment by 500 each loop.

 

  • For anyone who looks at this.  I made a mistake and had the information in the wrong field.  It should have been in the field Next URL.  This screen shot is wrong.

     

2 Replies

  • SpiroTaleski's avatar
    SpiroTaleski
    Valued Contributor

    hawkeye412 

    Given the details, my assumption is that some of the parameters that you are passing is not numeric type(that should be).

    Just a note, every parameter that is passed from a pipeline parameters will be with type String.  So, you will need to explicitly convert to a type that the API expect. 

    BR,

    Spiro Taleski

  • hawkeye412's avatar
    hawkeye412
    New Contributor II

    For anyone who looks at this.  I made a mistake and had the information in the wrong field.  It should have been in the field Next URL.  This screen shot is wrong.