All GET requests to OSCaR are currently failing (see run here) with 500 errors. I'm hoping to get on a call with Rotati tonight to discuss, but when reviewing I noticed that the lastQueryDate is being set to 2020-6-8 which seems wrong/ not today's date.
All GET requests to OSCaR are currently failing (see run here) with 500 errors. I'm hoping to get on a call with Rotati tonight to discuss, but when reviewing I noticed that the
lastQueryDate
is being set to2020-6-8
which seems wrong/ not today's date.Are we setting
lastQueryDate
correctly? Or what do I need to understand about the logic/ assumptions? https://github.com/OpenFn/unicef-cambodia/blob/03d8b20ce306fa9670c486031d4c5b33b3983091/jobs/f2-j1-getOscarCases.js#L33-L52