You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If you use the ifModifiedSince argument with the xero.payrollAUApi.getLeaveApplicationsV2 method you'll get a 500 error back.
To Reproduce
Steps to reproduce the behavior:
Set-up a client and connect it to a Xero tenant that's using AU payroll.
Try to retrieve the leave applications using the getLeaveApplicationsV2 method by passing both a xeroTenantId argument and any date for a ifModifiedSince argument.
Alternatively, you can see the underlying issue by doing a cURL request with the If-Modified-Since header included:
{"Title":"An error occurred","Detail":"An error occurred in Xero. Check the API Status page http://status.developer.xero.com for current service status.","Status":500,"Instance":"c1ba9d6b-f0c7-4109-9364-ffdb6744909e"}
Expected behavior
It should accept the header and return only the leave applications modified since the given date as documented here:
SDK:
Describe the bug
If you use the
ifModifiedSince
argument with thexero.payrollAUApi.getLeaveApplicationsV2
method you'll get a 500 error back.To Reproduce
Steps to reproduce the behavior:
getLeaveApplicationsV2
method by passing both axeroTenantId
argument and any date for aifModifiedSince
argument.Alternatively, you can see the underlying issue by doing a cURL request with the
If-Modified-Since
header included:You'll get this response back:
Expected behavior
It should accept the header and return only the leave applications modified since the given date as documented here:
https://developer.xero.com/documentation/api/payrollau/leaveapplications#optional-parameters
Screenshots
N/A
Additional context
N/A
The text was updated successfully, but these errors were encountered: