Workday Error: Page 1 must be requested first.

Document created by Joe_Remolona Employee on May 15, 2017Last modified by Adam Arrowsmith on May 15, 2017
Version 2Show Document
  • View in full screen mode


If you add looping logic to your process to retrieve multiple pages of data from Workday, you receive the following error from Workday:


Page 1 must be requested first.



The request for Page 2+ must be identical to the request for Page 1, except for the Page value.


A common example of this error could occur when using the Get Current Date map function to supply a value to the request (such as to the As Of Effective Date or As Of Entry DateTime fields). When the process loops back around to query for the second page, this function will calculate a different DateTime, resulting in a different request. Workday will think the first page has not been requested yet and trigger a validation error.



A simple solution for the above example is to store the Current DateTime in a Dynamic Document Property before the paging loop begins.